[How-To] Root LG Optimus S

Status
Not open for further replies.
:D thanks man, i started working out of the platform tools folder, and now i get the $ sign every time after it reloads instead of the # sign. do you know what im doing wrong?
 
:D thanks man, i started working out of the platform tools folder, and now i get the $ sign every time after it reloads instead of the # sign. do you know what im doing wrong?

It's a finicky bit. Took me 3 or 4 tries to get #. If you get $, make sure your phone screen is unlocked and on. Type "su" on your computer. Look at your phone to see if there's something asking you to grant permission. If so, grant permission. If not, try the steps again. For me, su didn't work, I just had to keep trying the copy pasting until I got #.

Also, try "adb kill-server" followed by "adb start-server", then "adb shell", then "su". If not, rinse and repeat.
 
ok awesome, i finished it, i got the pound sign and went through and finished step 5. so is my phone rooted now? do i have to download and install anything else??
 
If you've downloaded Superuser from the Market, you're done. Feel free to throw your hands up in glee and squeal.

*do not throw your phone while celebrating.
 
haha awesome thanks a lot.
so im new to droid and everything..just got my phone on tuesday and i dont really know what you can do with a rooted phone, can you guys get me started? is there a page that would help me out?
 
haha awesome thanks a lot.
so im new to droid and everything..just got my phone on tuesday and i dont really know what you can do with a rooted phone, can you guys get me started? is there a page that would help me out?

Look at the other sticky threads in this forum. There's custom recovery, custom ROMs, overclocking, performance improvements, ad blocking, etc, etc...

Personally, I rooted just so I could edit the /system/build.prop in order to enable stagefright and jit. I'll probably also install an ad blocker and roam-only toggle.
 
The first time through I got the #, went to perform recovery operations, but the # was gone.

Ran through above process, about 10 times now. Still no #. Got it the first time, but when checked later I had the $. SU does not get me the #

Reading others comments there is a flaw in this process that the author seems to know about. "go back to step 4 if you see $"

Help
 
I'm getting the error "'adb' is not recognized as an internal or external command, operable program or batch file" when I try the
adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage command. Can someone tell me what I'm doing wrong? Thanks.
 
Last edited:
u have to run adb command from android\tools folder. so go to where u downloaded sdk then go into tools folder
 
Yeah I have the new SDK so I should be using the platform-tools folder then, thanks a lot!

I got to the step where you type adb shell and should be getting the # symbol, but I keep getting the $. After the ./rageagainstthecage command should my phone have the USB charging and debugging notification again?

EDIT: nvm it worked all fine after i restarted my phone, thanks :D
 
Last edited:
I went to the LG support to dl the tool and cant download it off the page for some reason

edit:
nvm solved it. work network
 
Last edited:
ok so i got my optimmus s 3 days ago which meands i have spent the last 3 days trying to roots it...i get to the comand prompt and start typing the location of my file which is C:\adroid\android-sdk-windows\tools and it goes to the next line where i am then suppose to type
adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
and it gives me an error saying ABD isn't recongized as a internal\external command....any ideas of what to do know
 
ok so i got my optimmus s 3 days ago which meands i have spent the last 3 days trying to roots it...i get to the comand prompt and start typing the location of my file which is C:\adroid\android-sdk-windows\tools and it goes to the next line where i am then suppose to type
adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
and it gives me an error saying ABD isn't recongized as a internal\external command....any ideas of what to do know

You need to be in C:\android\android-sdk-windows\platform-tools if you have the new sdk

Sent from my LS670
 
Ok so i just rooted my Lg Optimus S it took about a day til i figured out the problem. The problem i was having is after opening the command propt and typing in the location of my Android-SDK Tools Folder, Then typing in adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
i kept getting ADB isn't recongized as a internal\external command. I have found the problem if you have download the new android SDK, android-sdk_r08-windows.zip it does not have the adb file in it so you have to download it yourself, download adb from here MEGAUPLOAD - The leading online storage and file delivery service
After that extract them into the Tools Folder of the SDK...After you finish you should not be getting the message ADB isn't recongized as a internal\external command...HOPE THIS HELPS
 
I cant install the SDK?..

It says Jave SE developement kit not found, even though I have it installed?

please help, this is stopping me from flashing!!
 
Yeah I have the new SDK so I should be using the platform-tools folder then, thanks a lot!

I got to the step where you type adb shell and should be getting the # symbol, but I keep getting the $. After the ./rageagainstthecage command should my phone have the USB charging and debugging notification again?

EDIT: nvm it worked all fine after i restarted my phone, thanks :D

What did you do different? I literally have been going at this for 2 hours, and phone reboots fine when sending ./rageagainst...command. on my 14th try and still get $ instead of # :( Screen unlocked debug mode etc.

I'm on win7 64bit followed all instructions to the tee, read all 34 paes of this forum. Tried rebooting the phone, killing the adb process in between etc. Still same out come.
Running everything as admin.

Phone is v9
Getting nowhere


heres my log

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\surtak>adb shell
'adb' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\surtak>adb shell
'adb' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\surtak>cd C:\android-sdk-windows\tools

C:\android-sdk-windows\tools>adb push rageagainstthecage-arm5.bin /data/local/tm
p/rageagainstthecage
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
263 KB/s (5392 bytes in 0.020s)

C:\android-sdk-windows\tools>adb push su /data/local/tmp/
801 KB/s (26264 bytes in 0.032s)

C:\android-sdk-windows\tools>adb push busybox /data/local/tmp/
2076 KB/s (1926944 bytes in 0.906s)

C:\android-sdk-windows\tools>adb shell
$ chmod 4755 /data/local/tmp/rageagainstthecage
chmod 4755 /data/local/tmp/rageagainstthecage
$ chmod 4755 /data/local/tmp/busybox
chmod 4755 /data/local/tmp/busybox
$ 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={3374, 3374}
[*] Searching for adb ...
[+] Found adb as PID 3909
[*] 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@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.
$
C:\android-sdk-windows\tools>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ su
su
su: permission denied
$ sudo su
sudo su
sudo: permission denied
$




I even tried all this from scratch on winxp sp3. Tried another 5 times. Still $. What am I doing wrong?
 
Last edited:
Status
Not open for further replies.