DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Results 1 to 8 of 8

Thread: Breaking down the latest "one-click" root and the adb method as well.

  1. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    Samsung® SCH-I515
    #1

    Breaking down the latest "one-click" root and the adb method as well.

    OK, I didn't know where else to start this conversation, I even feel out of place here since this sub-forum is for custom .sbf files and recoveries. However since this is the 'labs' perhaps I can get some REALLY smart replies here, hehehe.

    Anyways here's some background threads:
    Multiple phones - Root them, unroot them
    was the one that started me down this road and I thought I asked some good questions there, but answers were . . . . not. Then there's this "one-click" thread:
    http://www.droidforums.net/forum/dro...st-v1-8ra.html
    which within it this thread is linked:
    http://androidforums.com/droid-all-t...ng-frg22d.html

    Alright, I know that's alot of background, but I've been chewing on this for a couple of nights now and I sitll have few facts, and more questions.

    Few facts: Mainly it seems as though this is all based on the application of the rageagainstthecage-arm5.bin file (the successor to the old exploid.c file); all of which (seems to have been) created by Sebastian Krahmer.

    Questions. Why, after pushing su and busybox are their chmod's set to 4755? Is this required because of the use of the specific(rageagainstthecage-arm5.bin) file or can we just go ahead and set su to 6755 and busybox to 755 and go on about our business? Or is it such that the use of this file and setting both su and busybox to 4755 removes the need (or desire) to run from whatever location busybox is in:
    Code:
    busybox --install .
    Why do I ask these questions? Partially because they've not been answered elsewhere and mainly because where I live is in a very remote area, where Verizon uses USCC as it's partner (Extended Network). I only get 1x here, but worse and most important, whenever I need to dial *228, I get an error message; I have to drive 60 miles to get close enough to an actual VZW tower to get that call to work. If I have to I will try all this stuff myself and get my own answers, but just looking for a shortcut to burning all that gasoline, lol.

    Thanks in advance

    p.s. What I want to do is go ahead with this via adb, add the manual install of the flash_image binary and SPRecovery (since the last line in the OP at androidforums includes the command to bypass what MotoCache1 calls the "FRP"), set the chmod permissions for su and busybox 6755 and 755 respectively (does busybox really need the 'root' bit set?) and use the above command to install busybox (unless 4755 for su and busybox bypasses this).
    Last edited by teddyearp; 09-23-2010 at 09:42 PM.
  2. log
    log is offline
    Droid
    log's Avatar
    Member #
    109888
    Join Date
    Aug 2010
    Posts
    51
    Phone
    Motorola Droid
    #2
  3. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    Samsung® SCH-I515
    #3
    Thanks for the link. I guess what I was really wondering about and didn't make clear is why after using Steve Krahmer's work the permissions for su and busybox are set to 4755? Is this specific because of using the ragagainstthecage-arm5.bin file?

    But as I start to learn a bit more, I am thinking not. Since all that needs to be done is get a way to set the system as read/write so that we can actually put the neccessary files there and set the proper permission for them.

    So for my actual question. Do these commands have the exact same end result?
    Code:
    adb push busybox /system/bin
    cd /system/bin
    chmod busybox 4755
    -and-
    Code:
    adb push busybox /system/bin
    cd /system/bin
    chmod busybox 755
    busybox --install .
    TIA
  4. log
    log is offline
    Droid
    log's Avatar
    Member #
    109888
    Join Date
    Aug 2010
    Posts
    51
    Phone
    Motorola Droid
    #4
    Ah ok, no they are not the same.

    chmod is actually takes 4 digits so 755 is equivalent to 0755.

    chmod 4755 sets the user id (see for more: setuid - wiki) to be run as the owner of the file, so that means when you execute it the process runs as the root user not your unprivileged account.
  5. RS Admin
    christim's Avatar
    Member #
    30681
    Join Date
    Jan 2010
    Location
    New England
    Posts
    5,115
    Liked
    2 times
    Phone
    Moto-Droid - rooted
    Premium Member
    #5
    I was most likely afk from that thread so the blow off wasn't intentional, there is a response for you now. Like you, Teddy, I agree that the permissions being set for su and busybox have nothing to do with the bin file being run. The file runs and drops us at root. While we have root access (which we'd lose if we rebooted) we swap out su, drop in superuser.apk which basically installs it, and while there we take the opportunity to install busybox which we could do later from the market if we wanted to. I translated Steven's install instructions for rooting via the sdk to ones that could just use the terminal emulator.

    [HOW TO] Root without using ADB also is using those same questionable permissions.
    Here is another one:
    http://www.droidforums.net/forum/dro...-required.html

    If this is a case of cut-n-paste and using the wrong permissions we have a task ahead of us if we want to clean all those other posts up.
    Chris

    If you apply a rom or theme - backup first!
    If you don't know how to backup...Stop until you do.
    hint: I name my backups like this: sg6.0_20100428 or ss4.2_20100626 to easily find them later. rom and date.


    Have a Problem, Click here to Visit the Rescue Squad
  6. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    Samsung® SCH-I515
    #6
    Quote Originally Posted by log View Post
    Ah ok, no they are not the same.

    chmod is actually takes 4 digits so 755 is equivalent to 0755.

    chmod 4755 sets the user id (see for more: setuid - wiki) to be run as the owner of the file, so that means when you execute it the process runs as the root user not your unprivileged account.
    Thank you log. I already knew that a 'chmod 755' = 'chmod 0755', but trust me, you have given me some invaluble info.

    Chris. I didn't think you were blowing me off. Usually when I post a question somewhere and don't get an answer, I figure that there isn't an easy answer to my question. There's lots of RS posts that I don't answer for the same reason. But this isn't my only resource.

    However, your two linked threads deal with the dx and the d2, respectively. And therefore I have no idea if the permissions I propose (soon in a guide at my site) would have any bearing on NON A855 phones, so that said and with the info I have learned and gleaned from the responses here, I think when I put my thoughts together using Sebastian Krahmer's "rageagainstthecage-arm-5.bin file, I will set the (old school) permissions for 'su' and 'busybox', followed with the old busybox install command. Why? First, because log said the new ones wouldn't do the same as the old ones. And because there was just another with some funny stuff on his/her screen, not knowing, but perhaps after using the new ones.

    And that's all I'm gonna say for tonite.
  7. Droid Ninja
    teddyearp's Avatar
    Member #
    27105
    Join Date
    Jan 2010
    Location
    Randle, WA
    Posts
    1,801
    Liked
    19 times
    Phone
    Samsung® SCH-I515
    #7
    So now what? I went into IRC and [mbm] said that anyone that used the "buxybox --install ." command was an idiot. I am really getting either confused, n00bed, or needing to do more research. MotoCache1's update file in his thread here does do the command mentioned above and sets the permissions as I have already posted.

    Info? Or am I totally n00bed here?
  8. App Themer
    MAD450r's Avatar
    Member #
    60980
    Join Date
    Apr 2010
    Posts
    1,297
    Liked
    2 times
    Phone
    motorola droid, Incredible als
    DroidForums.net Theme Developer
    #8

    busybox

    Just get titanium backup from market and click fix on the bottom center when it opens for first time and it'll install busybox for you
    Old devices
    Droid 1 running cm10

    Droid incredible running cm7
    Nexus One running cm9
    Droid x running darkslide
    Droid x2 running cm10
    Droid 3 running AOKP
    Current devices
    Verizon GS3 running Synergy r484: zerolemon 7000mah
    Nexus 10 running AOKP
    mine
    Nexus 10 running Cleanrom
    dads

Links

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. Replies: 10
    Last Post: 08-24-2010, 02:00 AM
  2. Another 1 Click Method of Rooting other then Easy Root App
    By steeleshark2 in forum Droid X Hacks
    Replies: 5
    Last Post: 08-08-2010, 05:25 PM
  3. Speakerphone "breaking up"
    By dwood in forum Android Tech Support
    Replies: 0
    Last Post: 05-01-2010, 06:12 PM
  4. Telus Milestone 2.1 update = "legit" root access?
    By awaken13 in forum Android General Discussions
    Replies: 3
    Last Post: 04-22-2010, 01:02 PM

Search tags for this page

rageagainstthecage android
,

rageagainstthecage source

,
rageagainstthecage source code
,
running rageagainstthecage
,
running rageagainstthecage stuck
,

super one click freezes

,
super one click freezing
,

superoneclick busybox

,
superoneclick freezes
,

what is rageagainstthecage

Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+