Complete How-To Root, Busybox, Flash/Recovery, Framework-res.apk, custom boot ani...

Discussion in 'Android Hacks and Help' started by csmith197, Dec 14, 2009.

DroidForums.net is the premier Android Forum - Registered Users do not see these ads. Please Register - It's Free!
  1. csmith197
    Offline

    csmith197 Member

    Joined:
    Nov 10, 2009
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando fl
    Ratings:
    +0
    An excellent post has been written on how to use ADB. I recommend people follow that post before attempting my methods.
    http://www.droidforums.net/forum/droid-hacks/6865-how-use-adb-all-commands-options.html

    Hello,
    I document everything I do and thought I would share the information I have compiled with you all. I have not written these individualy, but rather have used everyones advice in various forums to create a one stop shop tutorial. I cannot remember everyone I have gotten these from, so instead of issuing credit to everyone individually; I will just relinquish credit for myself. :D Enjoy!

    - Improve Call Audio Quality
    • Dial ##7764726 (##PROGRAM) and act as if you were going to call that number.
    • Enter 000000 for the SPC Password and then tap Verify
    • Tap on "04 Vocode"
    • Tap on EVRC-B than Apply
    • The phone should automatically reset a few seconds afterward. If not, power cycle the phone
    • Explanation - This changes how the phone compresses and decompressed the call audio which improves the quality.

    - Safe Mode
    • With the phone off, slide open the keyboard open
    • Press and hold the Power+Menu button (on the keyboard)
    • Continue to hold until the "Droid Eye" comes up and you feel the phone vibrate
    • Phone should start up and say "Safe Mode" in the bottom left-hand corner
    • Explanation - This starts only the core Android processes. This is best used for diagnosing if a 3rd party application is causing your phone to malfunction or if you cannot uninstall if when in regular mode.
    • TRY THIS FIRST if you are having any problems with your phone acting up, especially with the built-in Android apps (example - Messaging app is crashing. Boot in Safe Mode. If app doesn't crash when doing what you were doing in regular mode, it's most likely going to be a 3rd party app with access to messaging that is causing a problem.)
    • BE AWARE that after coming out of Safe Mode, 3rd party widgets might not display properly on the home screen. Press and hold on the widget and drag it down into the trash can, then readd it to the home screen. This will fix the "problem loading widget" error.
    ________________________________________
    Hax

    Root (2.0.1 only)
    1 - Download the droid-super_user.zip file from: http://alldroid.org/download/file.php?id=659
    (md5sum cf653352967253e99d967498ffd9ce69). Do not extract.
    2 - Rename the file to "update.zip".
    3 - Plug your Droid into your computer via USB. On the Droid go to the Notifications bar and select "USB Connected" then press "Mount".
    4 - Once the device is mounted, the SD card will show as a removable device on your computer
    5 - Put the "update.zip" file you just renamed into the Root (top) directory of your SD Card.
    6 - Unmount the device from your computer, and turn the Droid off.
    7 - Hold down the "X" key on the physical keyboard and while doing so press the power button. Hold both of them down until you see a Triangle with an !.
    8 - Press the Vol+ and the Camera button together until you get a menu.
    9 - Using the D-pad on the physical keyboard, select the option to update with the update.zip file.
    10 - This should take a little bit. Once it's done select the option to reboot the phone.

    BusyBox
    download busybox binary to your adb tools directory
    http://www.alldroid.org/download/file.php?id=709
    cd to your adb tools directory
    adb push busybox /data/local/busybox
    adb shell
    su
    cd /data/local
    chmod 755 busybox
    ./busybox
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    mkdir /system/xbin
    /data/local/busybox cp /data/local/busybox /system/xbin
    /data/local/busybox cp /data/local/busybox /system/bin
    cd /system/xbin
    busybox --install .
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot

    Flash/Recovery image
    ::NOTE: This is not important atm, since there aren't any roms for us to install. However, once roms start comming out this will be how we get them on the phone. Additionally, I have left my link at 0.08 for stabilty reasons.
    Flash Image- http://cyanogen-files.carneeki.net/flash_image.zip
    Recovery image-SP Recovery Image with nandroid! | Sholes
    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    cat /sdcard/flash_image > /system/bin/flash_image
    chmod 755 /system/bin/flash_image
    sync
    mount -o remount,r -t yaffs2 /dev/block/mtdblock4 /system
    /system/bin/flash_image recovery /sdcard/use the recovery ROM in your sdcard
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    mv /system/recovery-from-boot.p /system/recovery-from-boot.old
    sync
    mount -o remount,r -t yaffs2 /dev/block/mtdblock4 /system

    Disable default Verizon crap
    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    cd /system/app
    mv Email.apk Email.bak
    mv VVMStub.apk VVMStub.bak
    mv com.amazon.mp3.apk com.amazon.mp3.bak
    mv CorpCal.apk CorpCal.bak
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot

    Change Framework-res.apk
    Use your desired framework-res.apk. I have not provided one.
    su
    mount -o rw,remount -t yaffs2 /dev/block/mtdblock4 /system
    mv /system/framework/framework-res.apk /system/framework/framework-res.bak
    cd sdcard
    busybox cp -R framework-res.apk /system/framework/
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot

    Custom Boot Animation ROOT IS NOT REQUIRED!!!
    Download desired bootanimation.zip to your adb tools directory.
    Code:
    adb push bootanimation.zip /data/local
    
    [​IMG]

    View attachment 714


    ::EDIT:: All scripts have been changed to reflect that the correct system partition is mtdblock4. mtdblock3 is often misqouted as the system partition and this is why.
    Last edited: Dec 21, 2009
  2. justreboot
    Offline

    justreboot Member

    Joined:
    Nov 10, 2009
    Messages:
    291
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Central NJ-USA
    Ratings:
    +1
    .: nice recap :. thanks
  3. tktouch12
    Offline

    tktouch12 Active Member

    Joined:
    Nov 17, 2009
    Messages:
    1,242
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    thanks for putting it all together, that is very good
  4. Jebtrix
    Offline

    Jebtrix New Member

    Joined:
    Dec 14, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    Very nice indeed! Only thing I can think of it needs a section on keeping root to be complete. :D
  5. miglo
    Offline

    miglo New Member

    Joined:
    Nov 7, 2009
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Ratings:
    +0
    sticky worthy for sure
  6. csmith197
    Offline

    csmith197 Member

    Joined:
    Nov 10, 2009
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando fl
    Ratings:
    +0
    Edited to reflect the fact that backing up the bootanimation.zip every time isn't very smart. :D

    Thank you, everyone. More to come soon.
  7. Erron
    Offline

    Erron Developer Developer

    Joined:
    Nov 8, 2009
    Messages:
    1,075
    Likes Received:
    0
    Trophy Points:
    36
    Ratings:
    +0
    Very nice! Thanks
  8. M1dnite
    Offline

    M1dnite Member

    Joined:
    Nov 6, 2009
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Walled Lake, MI
    Ratings:
    +0
    niiiice! (10 characters)
  9. Aaron636r
    Offline

    Aaron636r Member

    Joined:
    Nov 15, 2009
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    So California
    Ratings:
    +0
    download busybox binary to your adb tools directory

    Where exactly is this? Sorry. Im a nOOb
  10. stainless
    Offline

    stainless New Member

    Joined:
    Nov 10, 2009
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Oak Ridge, TN
    Ratings:
    +0
    Hate to be a pain I am a noob at android, I used to tweaking a PPC not android.

    csmith197 posted

    Disable default Verizon crap
    su
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    cd /system/app
    mv Email.apk Email.bak
    mv VVMStub.apk VVMStub.bak
    mv com.amazon.mp3.apk com.amazon.mp3.bak
    mv CorpCal.apk CorpCal.bak
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    sync
    reboot


    Where does all this take place ?
    Is this from the terminal app on the phone or from my PC ?
  11. csmith197
    Offline

    csmith197 Member

    Joined:
    Nov 10, 2009
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando fl
    Ratings:
    +0
    From the default location in the terminal. I suggest using the adb as doing this on your thumbs is prolly suck. ;)
  12. csmith197
    Offline

    csmith197 Member

    Joined:
    Nov 10, 2009
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Orlando fl
    Ratings:
    +0
    you have to have the android sdk
    Android Developers
  13. Aaron636r
    Offline

    Aaron636r Member

    Joined:
    Nov 15, 2009
    Messages:
    403
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    So California
    Ratings:
    +0
    Ive downloaded it. Now its learning what to do next. I will keep reading...

    Thanks for your help. Appreciated
  14. Big Lou
    Offline

    Big Lou Member

    Joined:
    Dec 3, 2009
    Messages:
    739
    Likes Received:
    0
    Trophy Points:
    16
    Ratings:
    +0
    Excuse my noobness, how do I inupt all the code to do special things after I have root?
  15. cideas
    Offline

    cideas Member

    Joined:
    Dec 7, 2009
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    6
    Ratings:
    +0
    should make this a sticky, nice work
Search tags for this page
busybox recovery
,

busybox root

,
complete how root busybox flash recovery
,
custom busybox
,
flash busybox
,
how to root android with busybox
,
how to root using busybox
,
how to root with busybox
,
how to use busybox apk
,
root with busybox