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.

  1. mrZoSo
    Offline

    mrZoSo New Member

    Joined:
    Dec 9, 2009
    Messages:
    412
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    GA from Philly PA
    Whats with the different permissions (chmod) though?

    755 = read and execute access for everyone and also write access for the owner of the file
    700 = only owner can read, write to, or execute


    1- Owner (you)
    2- Group (a group of other users that you set up)
    3- World (anyone else browsing around on the file system)
    Each digit of this code sets permissions for one of these groups as follows. Read is 4. Write is 2. Execute is 1.

    The sums of these numbers give combinations of these permissions:

    0 = no permissions whatsoever; this person cannot read, write, or execute the file
    1 = execute only
    2 = write only
    3 = write and execute (1+2)
    4 = read only
    5 = read and execute (4+1)
    6 = read and write (4+2)
    7 = read and write and execute (4+2+1
    )

    So I'm assuming 700 is the better of the two?
    Last edited: Dec 16, 2009
  2. csmith197
    Offline

    csmith197 New Member

    Joined:
    Nov 10, 2009
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Orlando fl
    ::Added boot animation for people to download and simplified the process to no longer require root::
  3. csmith197
    Offline

    csmith197 New Member

    Joined:
    Nov 10, 2009
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Orlando fl
    @mrZoSo preference really. There are many rivers to the same ocean. :D
  4. Zodduska
    Offline

    Zodduska New Member

    Joined:
    Nov 17, 2009
    Messages:
    97
    Likes Received:
    0
    Trophy Points:
    0
    thanks csmith! I used your guide to install busybox and I was just wondering (im kinda a noob) why the method you used has a few extra steps than the one over at alldroid?

  5. astevens54
    Offline

    astevens54 New Member

    Joined:
    Dec 6, 2009
    Messages:
    331
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Florida
    Nice thanks for the post.
  6. qoncept
    Offline

    qoncept New Member

    Joined:
    Nov 6, 2009
    Messages:
    639
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Iowa
    When I type su nothing happens, cursor goes to a new line and I don't get a prompt. What am I doing wrong?

    Code:
    Jared:~ jared$ adb shell
    $ su
    
    
    At that point, the cursor is in the like after su and doesn't do anything.
  7. Finnstang
    Offline

    Finnstang New Member

    Joined:
    Nov 2, 2009
    Messages:
    159
    Likes Received:
    0
    Trophy Points:
    0
    Do you have a popup on your phone asking you to accept the root connection?
  8. Quickster357
    Offline

    Quickster357 New Member

    Joined:
    Nov 6, 2009
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Frigid North of Central US
    to do the boot animations in a terminal on the phone:
    (i used better terminal pro w/ enhanced shell installed (to do so click the check sign on almquist shell under preferences and exit program. it will download the expansion). i also believe you can use busybox if that's installed as well)

    su
    mount -o remount,rw /system/
    cp {dir where bootanimation.zip is (my case /sdcard/download/)} bootanimation.zip so it will look like this:
    cp /sdcard/download/bootanimation.zip /data/local/bootanimation.zip

    done! exit and restart to see the magic you've made. :)

    without all the explanations:
    su
    mount -o remount,rw /system/
    cp /sdcard/download/bootanimation.zip /data/local/bootanimation.zip

    how to block over-the-air updates in terminal: (again I used better terminal pro) (chmod can be 700 or 755, doesn't matter)

    su
    cd /system/etc/security/
    chmod 755 otacerts.zip
    mv otacerts.zip otacerts.zip.bak

    done! exit program and you're good to go.
    Last edited: Dec 16, 2009
  9. hypetech
    Offline

    hypetech New Member

    Joined:
    Dec 15, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    What is the downside of the call audio quality modification? It seems like if it was all good, it would be that way by default :\
  10. Big Lou
    Offline

    Big Lou New Member

    Joined:
    Dec 3, 2009
    Messages:
    739
    Likes Received:
    0
    Trophy Points:
    0
    Battery life takes a hit while you are on call. That's about it.
  11. gcroberson
    Offline

    gcroberson New Member

    Joined:
    Dec 14, 2009
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    When I enter "chmod 755 otacerts.zip" it says that file is read only...how do I change it to r/w?

    Edit: Never mind I got it.
    If anyone else is having the same problem I used root explorer and pressed "mount as r/w". That should fix it.
    Last edited: Dec 16, 2009
  12. blu1080
    Offline

    blu1080 New Member

    Joined:
    Nov 8, 2009
    Messages:
    76
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    UT
    Thanks! Great write up!:)
  13. Breezer23
    Offline

    Breezer23 New Member

    Joined:
    Nov 12, 2009
    Messages:
    158
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Salt Lake City, Utah
    Hmm - I have the SDK installed - I'm getting this error for Busybox upon using the --install command. (View attached JPEG). Any idea?
    -Travis
  14. Jebtrix
    Offline

    Jebtrix New Member

    Joined:
    Dec 14, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    You need to use busybox --install .

    You need the period at the end to tell it install to current directory :) I missed the same thing.
  15. Jebtrix
    Offline

    Jebtrix New Member

    Joined:
    Dec 14, 2009
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    0
    Just some tips

    Since mounting system as readwrite is becoming tedious to do over and over thru terminal emulator on Droid here is a tip to speed things up

    Create a txt file named sysrw and paste:
    Code:
    #!/system/bin/sh
    mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
    echo **System mounted as Read-Write**
    
    Create a txt file named sysro and paste:
    Code:
    #!/system/bin/sh
    mount -o ro,remount -t yaffs2 /dev/block/mtdblock4 /system
    echo **System mounted as Read-Only**
    sync
    echo **Sync\'d**
    
    Since its linux I'd recommend conforming the text files to Unix end-of-line format (which is LF). I prefer Notepad++
    Place the files in /system/xbin. Now you can just type sysrw for readwrite access then just finish up with sysro :D
    Last edited: Dec 16, 2009
  16. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    To make it even easier - once you install busybox and use that mount command instead of the one in /system/bin, you can just type:

    mount -o rw,remount /system
    mount -o ro,remount /system

    No need to specify the device or filesystem type for already-mounted filesystems. Only with the busybox version of mount, though - the built-in version of mount still requires the fill commandline.
  17. Bateluer
    Offline

    Bateluer New Member

    Joined:
    Nov 10, 2009
    Messages:
    160
    Likes Received:
    0
    Trophy Points:
    0
    Thanks for writing this up, should prove useful.
  18. mrZoSo
    Offline

    mrZoSo New Member

    Joined:
    Dec 9, 2009
    Messages:
    412
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    GA from Philly PA
    So to do this, just switch the format to Unix in the preferences??
    I don't see LF as an option any where, unless I'm missing it :unsure:
  19. Se7enLC
    Offline

    Se7enLC New Member

    Joined:
    Nov 16, 2009
    Messages:
    1,263
    Likes Received:
    0
    Trophy Points:
    0
    If you end up not able to find the option, you can always convert it on the Droid. Busybox has dos2unix and unix2dos built in, which handily converts text files from one format to the other.
  20. Finnstang
    Offline

    Finnstang New Member

    Joined:
    Nov 2, 2009
    Messages:
    159
    Likes Received:
    0
    Trophy Points:
    0
    Yes. Just switch format to UNIX in prefs.
Search tags for this page
busybox apk
,
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
,
install busybox via recovery
,
root with busybox