editing Build.prop

This is a discussion on editing Build.prop within the Droid Hacks forums, part of the Droid Hacking category; Im currently using a rooted motorola droid running 2.1, and saw this while browsing the internet earlier today.. Android 3.1 On HTC Phandroid Phone! | ...

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: editing Build.prop

  1. Developer
    woodyman's Avatar
    Member #
    31911
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    1,608
    Liked
    13 times
    Twitter
    @DroidConcepts
    Phone
    D1, D2, D3
    DroidForums.net Developer
    #1

    Exclamation editing Build.prop

    Im currently using a rooted motorola droid running 2.1, and saw this while browsing the internet earlier today..

    Android 3.1 On HTC Phandroid Phone! | Android Phone Fans

    idk how many people would like to change what the phone says, but i would personally like to know how change this on my phone..

    i already copied the original build.prop onto my SD card and made a new one with what i would like it to say, but i have no idea how to replace the original one on my phone with my modified one, i have a terminal emulator installed and need help from there...

    any suggestions.?
  2. Sponsor
    DF Advertising
    Join Date
    Nov 2008
    Location
    DroidForums.net
     
     
     
     
  3. Droid Ninja
    Bear in NM's Avatar
    Member #
    3690
    Join Date
    Nov 2009
    Posts
    1,373
    Liked
    5 times
    Phone
    Bionic (sad but sweet)
    #2
    Woody,

    You have two things to do. You need to rename the one on the phone to phone.prop.bak or something, and move the new one over.

    To do so you are gonna need adb on the pc, or one of the explorer programs that have su access to change permissions and/or copy to the system. I use Root Explorer or SUFSB. You need these or adb to copy the file over, change permission (chmod) and to change the r/w status of the system. Astro will not work.

    Craig
  4. Developer
    woodyman's Avatar
    Member #
    31911
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    1,608
    Liked
    13 times
    Twitter
    @DroidConcepts
    Phone
    D1, D2, D3
    DroidForums.net Developer
    #3
    I have a terminal emulator app on my droid, how do I go about doing all that, I've never used adb shell before and need help.. thanks
  5. Droid Ninja
    Bear in NM's Avatar
    Member #
    3690
    Join Date
    Nov 2009
    Posts
    1,373
    Liked
    5 times
    Phone
    Bionic (sad but sweet)
    #4
    Woody,

    Here's a portion of the script file that I use in terminal to move my files. This assumes you have the build.prop at root in your sd card, and your busy box works. PLEASE BE WARNED that the rm command renames your existing file to a bak file where it cannot be read by the phone. I can only image the ugliness that will happen to your phone if you rename this file, and get hung up with the rest of the files before getting a functioning one on your phone. DO NOT reboot your phone until you confirm you have build.prop back in /system from your sd card. Probably a boot loop if you do not, or brick. If you do not have adb working, you are climbing a cliff with no safety rope. Heck, I am climbing with you by even posting this.


    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    mv /system/build.prop /system/build.prop.bak
    cd sdcard
    busybox cp -R build.prop /system
    chmod 644 /system/build.prop
    mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot

    Craig
    Last edited by Bear in NM; 01-27-2010 at 12:20 PM.
  6. Developer
    woodyman's Avatar
    Member #
    31911
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    1,608
    Liked
    13 times
    Twitter
    @DroidConcepts
    Phone
    D1, D2, D3
    DroidForums.net Developer
    #5
    Yeah its not important enough to risk that, but thanks for you help.. i don't think im willing to take that chance quite yet..
  7. Master Droid
    forkup's Avatar
    Member #
    184
    Join Date
    Oct 2009
    Posts
    317
    #6
    I can only imagine the ugliness of using the rm command which REMOVES a file when they wanted to rename it which is the command mv (move to new filename).
  8. Senior Droid
    Finnstang's Avatar
    Member #
    330
    Join Date
    Nov 2009
    Posts
    159
    Phone
    Motorola Droid
    #7
    Quote Originally Posted by forkup View Post
    I can only imagine the ugliness of using the rm command which REMOVES a file when they wanted to rename it which is the command mv (move to new filename).
    I have seen that mistake on this site multiple times.
  9. Droid Ninja
    Bear in NM's Avatar
    Member #
    3690
    Join Date
    Nov 2009
    Posts
    1,373
    Liked
    5 times
    Phone
    Bionic (sad but sweet)
    #8
    Fork,

    good catch, as it was part of a larger script file. The command was to delete a file that may or may not have been on his system, a backup file, not the actual phone prop file, and would not created any kind of problem in either case. I tested it out. Just wanted to be sure that his current working prop file had a home to go to in the event he needed to restore it.

    He did say 2.1 rom, and some of the folks are incorporating the video hack as part of the installation. I am not up on all roms and how they deal with the/a backup prop file if incorporating the video hack.

    I went ahead and edited my post, just in case a terminal return of no file found confuses anyone.

    Craig
  10. Junior Droid
    sycomix's Avatar
    Member #
    47818
    Join Date
    Mar 2010
    Posts
    7
    Phone
    Droid 3
    #9
    does anyone have a copy of the stock frg22d build.prop i can take a look at please?
    Never mind, i found what i was looking for.
    Last edited by sycomix; 09-01-2010 at 05:13 PM. Reason: Found what i was looking for
  11. Theme Developer
    xkape's Avatar
    Member #
    95251
    Join Date
    Jul 2010
    Location
    OH-IO
    Posts
    3,898
    Liked
    77 times
    Phone
    Bionic, G Nex and T Prime
    DroidForums.net Theme Developer
    Premium Member
    #10
    uh, correct me if I am wrong here but you can change all that by editing the framework-res.apk file? One of those xml's has a list of what it says. Except maybe I am thinking about the wrong line and say instead of it saying baseband it says "You da man" or something.

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. What is your Droid build date?
    By tekjunkie28 in forum Tech Issues, Bug Reports & Suggestions
    Replies: 1
    Last Post: 01-23-2010, 02:24 PM
  2. Need help with Motorola Droid Build Number
    By smacinskyjr in forum Motorola Droid
    Replies: 0
    Last Post: 01-16-2010, 08:39 AM
  3. How to build a Rom
    By MrCapcom in forum Droid Hacks
    Replies: 9
    Last Post: 01-06-2010, 12:42 PM
  4. The Perfect Rom Build
    By samdevor in forum Droid Hacks
    Replies: 0
    Last Post: 01-01-2010, 01:33 AM
  5. going to build a desktop, need advice/tips
    By Sam in forum Off Topic Forum
    Replies: 24
    Last Post: 12-12-2009, 12:16 AM

Search tags for this page

android build.prop

,
android build.prop location
,
android edit build.prop
,
build prop
,

build.prop

,
build.prop android
,
build.prop edit
,
build.prop location
,

edit build.prop

,
edit build.prop in android
,
editing build.prop
,

how to edit build.prop

,
how to edit build.prop android
,
modify build.prop
,
where is build.prop
Click on a term to search our site for related topics.