[How-To] Root LG Optimus S

Status
Not open for further replies.
Code:
C:\Users\Jerry>cd C:\android\tools

C:\android\tools>

C:\android\tools>adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagains
tthecage
376 KB/s (5392 bytes in 0.014s)

C:\android\tools>adb push su /data/local/tmp/
1349 KB/s (26264 bytes in 0.019s)

C:\android\tools>adb push busybox /data/local/tmp/
2286 KB/s (1926944 bytes in 0.823s)

C:\android\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 8076
[*] 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\tools>adb shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
$ su
su
su: permission denied
$ ls
ls
config
sdcard
acct
mnt
d
etc
persist
cache
system
sys
sbin
res
proc
init.thunderc.rc
init.rc
init.qcom.rc
init.qcom.post_boot.sh
init.goldfish.rc
init.cappuccino.rc
init
hpfwinit.rc
hpfsinit.rc
default.prop
data
chargerimages
bootimages
root
dev
$ mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
mount: Operation not permitted
$
C:\android\tools>
 
Took me 4 tries, and eventually got the # when I realized another command prompt was open- must have been from the SDK manager. Once I closed that and repeated, it was golden!

Now- what to do with my newfound root status? I did it initially to install Adfree (my goodness I needed that- too many ads all over the place!), but until custom roms come out, I'm wondering what other goodies are possible now?
 
This is crappy... 5 stinking tries and it's not taking!

if after you do ./rageagainstthecage you get a $ instead of a # you need to start over with step 4. it can be annoying but that's the process. doing su won't work because you don't have super user priveleges yet (that comes later after you get the #).

You can try closing the command prompt and starting all over again with step 4.
 
if after you do ./rageagainstthecage you get a $ instead of a # you need to start over with step 4. it can be annoying but that's the process. doing su won't work because you don't have super user priveleges yet (that comes later after you get the #).

You can try closing the command prompt and starting all over again with step 4.

ive done that every time now. I am by far not new to rooting, but this is a major pain
having to type all that stuff in every time!
 
i think i broke it... i just kept doing the first section of step 4 over and over and now instead of it disconnecting and reconnecting 2x, it only did it once, it's not reconnected yet... about 60 seconds now
 
and you are making sure that your phone reconnects to the computer before you type adb shell right? after ./rageagainstthecage
 
pull the battery out and restart your phone. close the command prompt and start over with step 4. assuming the phone is unresponsive.
 
  • Like
Reactions: jerry43812
got it in 2 tries after I disconnected my other phone (a hero)

how do you do USB tether with this phone now that its rooted? I need it badly!
 
you made it through all the steps? and got super user installed and all that good stuff?

if so you can try PDAnet. I think it was mentioned in the wireless tether thread. IDK much about it, to be honest.
 
you made it through all the steps? and got super user installed and all that good stuff?

if so you can try PDAnet. I think it was mentioned in the wireless tether thread. IDK much about it, to be honest.

i hated pdanet on my fiance's moment, slower than mollllaaaasssssssseeeeesssss
 
Status
Not open for further replies.