[How-To] Root LG Optimus S

Status
Not open for further replies.
Nov 7, 2010
20
1
0
Visit site
Still getting the same thing when I try to push the first line..

failed to copy - read only file system

I wish I knew what was wrong...feels like a Vista problem
 

Kevin OQuinn

AC Team Emeritus
May 17, 2010
9,267
496
0
Visit site
c:\Android\sdk\tools>adb push rageagainstthecage-arm5.bin \data\local\tmp\rageagainstthecage
failed to copy 'rageagainstthecage-arm5.bin' to '\data\local\tmp\rageagainstthec
age': Read-only file system

That's the whole thing? Did you right click, select all, then hit enter to copy it? Then paste it here? Looks like some stuff is missing. I can only help if I have all of the information. Thanks.
 
Nov 7, 2010
20
1
0
Visit site
this is all of it

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\RabbiT>cd c:\android\sdk\tools

c:\Android\sdk\tools>adb push rageagainstthecage-arm5.bin \data\local\tmp\rageag
ainstthecage
failed to copy 'rageagainstthecage-arm5.bin' to '\data\local\tmp\rageagainstthec
age': Read-only file system

c:\Android\sdk\tools>


Am I supposed to be tryping all command lines before hitting enter??
 

beezy

Well-known member
Feb 27, 2010
2,434
1,010
0
Visit site
c:\Android\sdk\tools>adb push rageagainstthecage-arm5.bin \data\local\tmp\rageagainstthecage
failed to copy 'rageagainstthecage-arm5.bin' to '\data\local\tmp\rageagainstthec
age': Read-only file system


Can you type
adb devices

Does it have a print out like this
List of devices attached
77774357229 device <----Doesn't it have numbers there?
 

Kevin OQuinn

AC Team Emeritus
May 17, 2010
9,267
496
0
Visit site
this is all of it

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\RabbiT>cd c:\android\sdk\tools

c:\Android\sdk\tools>adb push rageagainstthecage-arm5.bin \data\local\tmp\rageag
ainstthecage
failed to copy 'rageagainstthecage-arm5.bin' to '\data\local\tmp\rageagainstthec
age': Read-only file system

c:\Android\sdk\tools>


Am I supposed to be tryping all command lines before hitting enter??

Make sure when the instructions say to use a / you use a / and not a \ and vice versa. :cool:
 
  • Like
Reactions: DygitalGoddess
Nov 7, 2010
20
1
0
Visit site
iamlillysdad is correct ...

Forward slashes tell your computer you're looking for something external to your system. backslashes tell your computer you're looking for something inside your system.

Simply copy and paste what i have in post 1


Thanks to both of you, now I cant seem to get it to give me a #. After the phone disconnects, do I close the SDK manager and restart it to start adb again?
 

anon(26204)

Well-known member
May 24, 2010
887
15
0
Visit site
I got it on my 2nd try. One thing I did was when I had to start over, I opened my task manager>processes and ended adb.exe processor. After I did that it worked the second time. I remembered that part from me rooting my Evo.
 

Kevin OQuinn

AC Team Emeritus
May 17, 2010
9,267
496
0
Visit site
no. after ./rageagainstthecage you should be getting a #

it should do it automatically. don't close the command prompt or anything. just wait for the phone to disconnect and reconnect. it'll do it all on it's own.

as stated in the first post it might take more than one try to get it to take.
 
Nov 7, 2010
20
1
0
Visit site
small steps I guess..cant get it to take..

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\RabbiT>cd c:\android\sdk\tools\

c:\Android\sdk\tools>adb push rageagainstthecage-arm5.bin /data/local/tmp/rageag
ainstthecage
18 KB/s (5392 bytes in 0.281s)

c:\Android\sdk\tools>adb push su /data/local/tmp/
125 KB/s (26264 bytes in 0.205s)

c:\Android\sdk\tools>adb push busybox /data/local/tmp/
1510 KB/s (1926944 bytes in 1.246s)

c:\Android\sdk\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 22072
[*] 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\tools>adb shell
$
 

Kevin OQuinn

AC Team Emeritus
May 17, 2010
9,267
496
0
Visit site
small steps I guess..cant get it to take..

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\RabbiT>cd c:\android\sdk\tools\

c:\Android\sdk\tools>adb push rageagainstthecage-arm5.bin /data/local/tmp/rageag
ainstthecage
18 KB/s (5392 bytes in 0.281s)

c:\Android\sdk\tools>adb push su /data/local/tmp/
125 KB/s (26264 bytes in 0.205s)

c:\Android\sdk\tools>adb push busybox /data/local/tmp/
1510 KB/s (1926944 bytes in 1.246s)

c:\Android\sdk\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 22072
[*] 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\tools>adb shell
$

How many times have you tried?
 
Status
Not open for further replies.