Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
cmstlist
Old
(Last edited by cmstlist; 22nd November 2010 at 01:15 AM.)
#1  
Senior Member - OP
Thanks Meter 344
Posts: 2,496
Join Date: Jan 2010
Location: Vancouver
Default [HOW-TO] Root FRGxx builds without unlocking bootloader

EDIT: Great news! We have an on-device one-click root again!

Simply download VISIONary from (edit: used to be in the Market) Modaco. I tried it on FRG83 stock. It works. No ADB, no external computer required, no fuss. Thanks to the developers!

EDIT again: Sorry, the FRG83D build no longer works with VISIONary - BUT - the overall rageagainstthecage method still works via ADB. I also hear that SuperOneClick works but it requires a Windows machine.

----

Ok it's been established that Universal Androot / exploid / freenexus no longer works on FRG33/FRG83 etc. And it's been established that "rageagainstthecage" does still work. So far I'm not aware of a one-click method to implement the latter exploit.

So I'm starting this thread to centralize everyone's experiences. I don't personally need these instructions but other folks apparently do. I've quoted a rooting guide in post #2. If you think any refinements are necessary or you have a better way of writing it out, please feel free to add to this thread.
 
cmstlist
Old
(Last edited by cmstlist; 29th September 2010 at 06:15 PM.)
#2  
Senior Member - OP
Thanks Meter 344
Posts: 2,496
Join Date: Jan 2010
Location: Vancouver
Thanks to efrant for pointing the way to this guide. Based on comments below, I'm quoting another revised version.

Quote:
Originally Posted by hmanxx View Post
Hi OP,
You may want to edit your post #2, I have inserted the mounting commands in the thread i posted previously. this will help novice users to get thing right out of box without figuring why permission denied.
I have just tried out the additional mounting steps..things are working fine..

Tidy up step by step rooting

1) Getting rageagainstthecage-arm5.bin
http://stealth.openwall.net/xSports/...nstTheCage.tgz

2) Getting Superuser.apk, busybox,su
http://forum.xda-developers.com/showthread.php?t=736271
Or
Find yourself..there are many floating around.

3) Rooting Process (Installing custom Recovery rom section is deleted to simplify illustration
Reference:http://forum.xda-developers.com/show...&postcount=250

Code:
F:\ADB>adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
263 KB/s (5392 bytes in 0.020s)

F:\ADB>adb shell chmod 700 /data/local/tmp/rageagainstthecage

F:\ADB>adb shell
$ cd /data/local/tmp
cd /data/local/tmp
$ ./rageagainstthecage
./rageagainstthecage[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C[*] checking NPROC limit ...
[+] RLIMIT_NPROC={3084, 3084}[*] Searching for adb ...
[+] Found adb as PID 64[*] Spawning children. Dont type anything and wait for reset![*][*] If you like what we are doing you can send us PayPal money to[*] 7-4-3-C[at]web.de so we can compensate time, effort and HW costs.[*] If you are a company and feel like you profit from our work,[*] we also accept donations > 1000 USD![*][*] adb connection will be reset. restart adb server on desktop and re-login.
$
F:\ADB>adb kill-server

F:\ADB>adb start-server
* daemon not running. starting it now *
* daemon started successfully *

F:\ADB>adb shell
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system 

Follow the following steps to install Superuser.apk, busybox,su

F:\ADB>adb shell
# cd /data/local/tmp
cd /data/local/tmp
# ./busybox cp busybox /system/bin
./busybox cp busybox /system/bin
# chmod 4755 /system/bin/busybox
chmod 4755 /system/bin/busybox
# busybox cp Superuser.apk /system/app
busybox cp Superuser.apk /system/app
# busybox cp su /system/bin
busybox cp su /system/bin
# chmod 4755 /system/bin/su
chmod 4755 /system/bin/su
# exit
exit

F:\ADB>adb shell
# su
su
#mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system 
# exit 
exit

And below are the previous contents of this post, prior to editing.
-------------


Many respondents on this thread have indicated that the instructions don't work the first time. If you get to the step where you are supposed to get a root shell (#) but you instead get a non-root shell ($), start from the top and try the exploit once or twice more. Apparently if you are persistent it will work.

I'm also told these instructions are missing adb remount before the steps where you push busybox, su and so forth.

Quote:
Originally Posted by hmanxx View Post
Tidy up step by step rooting

1) Getting rageagainstthecage-arm5.bin
http://stealth.openwall.net/xSports/...nstTheCage.tgz

2) Getting Superuser.apk, busybox,su
http://forum.xda-developers.com/showthread.php?t=736271
Or
Find yourself..there are many floating around.

3) Rooting Process (Installing custom Recovery rom section is deleted to simplify illustration
Reference:http://forum.xda-developers.com/show...&postcount=250
Code:
F:\ADB>adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
263 KB/s (5392 bytes in 0.020s)

F:\ADB>adb shell chmod 700 /data/local/tmp/rageagainstthecage

F:\ADB>adb shell
$ cd /data/local/tmp
cd /data/local/tmp
$ ./rageagainstthecage
./rageagainstthecage[*] CVE-2010-EASY Android local root exploit (C) 2010 by 743C[*] checking NPROC limit ...
[+] RLIMIT_NPROC={3084, 3084}[*] Searching for adb ...
[+] Found adb as PID 64[*] Spawning children. Dont type anything and wait for reset![*][*] If you like what we are doing you can send us PayPal money to[*] 7-4-3-C[at]web.de so we can compensate time, effort and HW costs.[*] If you are a company and feel like you profit from our work,[*] we also accept donations > 1000 USD![*][*] adb connection will be reset. restart adb server on desktop and re-login.
$
F:\ADB>adb kill-server

F:\ADB>adb start-server
* daemon not running. starting it now *
* daemon started successfully *

F:\ADB>adb shell
#

Follow the following steps to install Superuser.apk, busybox,su

F:\ADB>adb shell
# cd /data/local/tmp
cd /data/local/tmp
# ./busybox cp busybox /system/bin
./busybox cp busybox /system/bin
# chmod 4755 /system/bin/busybox
chmod 4755 /system/bin/busybox
# busybox cp Superuser.apk /system/app
busybox cp Superuser.apk /system/app
# busybox cp su /system/bin
busybox cp su /system/bin
# chmod 4755 /system/bin/su
chmod 4755 /system/bin/su
# exit
exit

F:\ADB>adb shell
# su
su
# exit 
exit
The Following User Says Thank You to cmstlist For This Useful Post: [ Click to Expand ]
 
Galloway
Old
#3  
Galloway's Avatar
Member
Thanks Meter 6
Posts: 83
Join Date: Sep 2010
Location: Calgary, Alberta
I too am interested in this info. Looking forward to any info provided....
 
efrant
Old
#4  
efrant's Avatar
Forum Moderator
Thanks Meter 5605
Posts: 8,162
Join Date: Feb 2009
Location: Montreal
There is detailed step-by-step info in many threads as to how to use the rageagainstthecage exploit to root your device, e.g.: http://forum.xda-developers.com/show...3&postcount=55

Why start a new thread?
I do NOT answer technical questions via PM. Post in a thread.

Device: Nexus 4
ROM: Stock JDQ39
Kernel: Stock 3.4.0
Recovery: CWM 6.0.2.0 NON-touch
Radio: 2.0.1700.33
Bootoader: Z10o
How-To’s: 1) Basics, 2) Flash stock, 3) List of OTA updates, 4) Root, 5) Recover deleted files

XDA RULES
WHAT MATTERS IS UNDERSTANDING THE JOURNEY...
The Following User Says Thank You to efrant For This Useful Post: [ Click to Expand ]
 
cmstlist
Old
#5  
Senior Member - OP
Thanks Meter 344
Posts: 2,496
Join Date: Jan 2010
Location: Vancouver
Quote:
Originally Posted by efrant View Post
There is detailed step-by-step info in many threads as to how to use the rageagainstthecage exploit to root your device, e.g.: http://forum.xda-developers.com/show...3&postcount=55

Why start a new thread?
Actually that's perfect, thanks.

I started a new thread because the step-by-step info is buried in other threads and many folks post questions asking about it because they can't find said guides. I figured if I could start a new thread with a proper title, it would be located more easily.
 
Jack_R1
Old
(Last edited by Jack_R1; 26th September 2010 at 09:10 PM.)
#6  
Senior Member
Thanks Meter 908
Posts: 4,252
Join Date: Aug 2009
All the info is located in Nexus One Wiki, under "Guides" / "Rooting". Direct link to the post with complete data. So I still don't see any need for the post, that will be buried in forum depths. My signature..

But since you posted it, and it's more detailed - I'll change the link to point to it.

[edit 2] The Wiki is damn slow after the forum crash...
[edit 3] It refuses to accept the submit, complaining about "session data loss". Time to complain to admins..
Wiki on this forum exists for a reason. PLEASE READ THE WIKI BEFORE ASKING QUESTIONS.
Glacier (MyTouch 4G / Panache) Wiki
Nexus One Wiki
Nexus One FAQ.


[Lockscreen MOD] Trackball/trackpad wake-sleep toggle for Sense ROMs - [Nexus One], [MyTouch 4G]
[MOD]NoClock for Sense ROMs
[MOD] Change WiFi hostname

[MOD]Gallery3D with high-res patch, for stock and HTC cameras
 
cmstlist
Old
#7  
Senior Member - OP
Thanks Meter 344
Posts: 2,496
Join Date: Jan 2010
Location: Vancouver
Heh well if the Wiki is crashy at the moment, all the more reason to have a redundant post here.

If you look back to the linked posts, I was the one who suggested which instructions for ali3nfr3ak to follow after a successful push of rageagainstthecage, and then ali3nfr3ak reported success on FRG33, and then hmanxx seems to have stripped out the irrelevant/unnecessary lines. So it's teamwork =)

One thing I'm not sure of - I see the original "exploid"/"freenexus" instructions included a cleanup by removing /system/bin/rootshell. Should something similar be done after rageagainstthecage to clean up?
 
ali3nfr3ak
Old
#8  
ali3nfr3ak's Avatar
Senior Member
Thanks Meter 128
Posts: 529
Join Date: Dec 2008
Location: Christchurch
@ cmstlst This is a good idea, because when I did this I had like 3 different pages open as all the information was spread everywhere, hopefully this will make it easier for everyone to follow, good one
 
highvista
Old
#9  
highvista's Avatar
Senior Member
Thanks Meter 46
Posts: 181
Join Date: Jul 2009
Location: Eugene, OR
I used the steps posted here to restore root access to a Nexus One which had been previously rooted with 1-click. It was running stock FRF91. It was a fairly smooth process, especially since the update to FRG83 did not delete my Superuser.apk, su, or busybox files. The permissions had just been turned down, so with the RageAgainstTheCage exploit active, I was able to change the permissions as indicated and was off and running.

The only gotcha I ran into was that I had to mount the /system partition read/write before I could set permissions on the files there. After the exploit was active and I had shelled back into the phone via ADB, I issued the command

mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system

for the read/write mount and was then able to turn up the permissions. And, in the interests of completeness, to mount /system read-only again afterward:

mount -o remount,ro -t yaffs2 /dev/block/mtdblock4 /system

Thanks much for consolidating the procedure where it was easy to find.
Phone: Galaxy Nexus (USA GSM)
Cell Network: T-Mobile
ROM: Stock Android 4.2.2 JDQ39 (takju)
Kernel: Stock 3.0.31-g9f818de + JourneymanMod (USB OTG Charging)
Root: Yes, via Unlocked Bootloader
Radio: Stock I9250XXLJ1
Recovery: ClockworkMod 6.0.2.3 (non-Touch)
 
chrisvuong
Old
#10  
Senior Member
Thanks Meter 3
Posts: 365
Join Date: Jun 2010
anyway to re-lock the Bootloader

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more

Profile Flow: A Tasker Alternative

By now, we’re all quite familiar with Tasker, the personal automation app that seems to be able to … more