[How-To] Root LG Optimus S

Status
Not open for further replies.
I'm getting the same problem. I get this after I type the first line "adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage" . . . :(

By the way, I'm attempting this on a Mac while following the instructions from mfldmike.

debugging is enabled? you might need to right click on the command prompt and run as administrator. on a mac I'm not sure. also, are you sure your device is being recognized at that point? try typing "adb devices" (without quotes) and se what it says. it might also be "adb device" (without quotes) it's been a while since I did it.
 
debugging is enabled? you might need to right click on the command prompt and run as administrator. on a mac I'm not sure. also, are you sure your device is being recognized at that point? try typing "adb devices" (without quotes) and se what it says. it might also be "adb device" (without quotes) it's been a while since I did it.

Thanks for your assistance, iamlilysdad. I tried that before and it still said "adb: permission denied".

However, I just figured out a way to do it. I'm now rooted!
For any other Mac users who are getting the "adb: permissioned denied" response...

Instead of going straight to "adb shell" with the command "/Users/ComputerName/Desktop/android_mac/tools/adb shell", just go to the folder where adb is located.

For me, I typed cd Desktop/Android/tools. Android is just what I decided to name the SDK folder. If the folder was copied to your desktop, you can type the exact line, but replace Android with whatever you decided to name your folder.
This brings you to the tools folder.

Now, just type in everything that KSmithInNY said to enter, but make sure you add "./" in front of adb.

So, you would enter the first line as "./adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage"

Of course, without the quotes. Hope this helps!

Edit: I thought I'd include the entire chain of commands to make it less confusing...

After you're in the tools folder, type:

./adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
./adb push su /data/local/tmp/
./adb push busybox /data/local/tmp/
./adb shell
chmod 4755 /data/local/tmp/rageagainstthecage
chmod 4755 /data/local/tmp/busybox
cd /data/local/tmp
./rageagainstthecage (let things sit a couple minutes (2), your phone will disconnect from the computer and you'll be removed from your ADB session)
./adb shell (This should return a "#" symbol instead of a "$" symbol. If it does you're good. If not go back and start from the beginning of step 4)
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cd /data/local/tmp
./busybox cp su /system/bin
./busybox cp busybox /system/bin
cd /system/bin
chmod 4755 su
chmod 4755 busybox
exit
exit
 
Last edited:
it's the .sh file, I'm having the same issue. when you go to mv install-recovery.sh it's not there because the file doesn't exist in that folder...
 
I've had my Optimus Rooted for a couple of weeks now and I'm not real happy. Since the root, the phone does not seem to be nearly as stable. I get weird erattic behavior such as increased lag, notification problems, and increased amount of force close. My Yahoo mail only occationally gives me notifications. Sometimes it works and other times I have to manually open yahoo mail to see if I have emails. I've reinstalled the app to no avail. I also get some random lag issues. From screen navigation to app loading.

I'm thinking about doing a total system restore and going back to the default.
 
I've had my Optimus Rooted for a couple of weeks now and I'm not real happy. Since the root, the phone does not seem to be nearly as stable. I get weird erattic behavior such as increased lag, notification problems, and increased amount of force close. My Yahoo mail only occationally gives me notifications. Sometimes it works and other times I have to manually open yahoo mail to see if I have emails. I've reinstalled the app to no avail. I also get some random lag issues. From screen navigation to app loading.

I'm thinking about doing a total system restore and going back to the default.

If all you did was rooted, then that wouldn't be the cause of your problems. All rooting a phone does is "open the door" to further modifications. What else have you done to your phone? Install any apps that may be interfering with proper operation? Overclock? Just brainstorming...
 
Mine has ben performing excellently, especially now that I'm using ThundeROM. These guys know what they're doing so maybe they can help you troubleshoot. One thing...make sure you read everything and follow instructions to the letter.
 
Thanks for your assistance, iamlilysdad. I tried that before and it still said "adb: permission denied".

However, I just figured out a way to do it. I'm now rooted!
For any other Mac users who are getting the "adb: permissioned denied" response...

Instead of going straight to "adb shell" with the command "/Users/ComputerName/Desktop/android_mac/tools/adb shell", just go to the folder where adb is located.

For me, I typed cd Desktop/Android/tools. Android is just what I decided to name the SDK folder. If the folder was copied to your desktop, you can type the exact line, but replace Android with whatever you decided to name your folder.
This brings you to the tools folder.

Now, just type in everything that KSmithInNY said to enter, but make sure you add "./" in front of adb.

So, you would enter the first line as "./adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage"

Of course, without the quotes. Hope this helps!

Edit: I thought I'd include the entire chain of commands to make it less confusing...

After you're in the tools folder, type:

./adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
./adb push su /data/local/tmp/
./adb push busybox /data/local/tmp/
./adb shell
chmod 4755 /data/local/tmp/rageagainstthecage
chmod 4755 /data/local/tmp/busybox
cd /data/local/tmp
./rageagainstthecage (let things sit a couple minutes (2), your phone will disconnect from the computer and you'll be removed from your ADB session)
./adb shell (This should return a "#" symbol instead of a "$" symbol. If it does you're good. If not go back and start from the beginning of step 4)
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
cd /data/local/tmp
./busybox cp su /system/bin
./busybox cp busybox /system/bin
cd /system/bin
chmod 4755 su
chmod 4755 busybox
exit
exit

Everytime I see this, I don't know how you could actually chmod a file to 4755 before you'd actually elevated your privilege level...

(yeah, it works, but it still doesn't make sense)...
 
I'm rooted and I just got a message this morning sayign there were system updates to install. I assume with the root I should reject these updates?
 
I'm rooted and I just got a message this morning sayign there were system updates to install. I assume with the root I should reject these updates?

It will unroot you if you update. If you have a custom recovery installed and accept the OTA you will likely brick your phone. beezy posted a flashable zip to get rid of the OTA prompt.
 
  • Like
Reactions: bambower
It will unroot you if you update. If you have a custom recovery installed and accept the OTA you will likely brick your phone. beezy posted a flashable zip to get rid of the OTA prompt.

I do not have a custom recovery. All I want is to get my phone back to the original stock condition and then install yesterdays update. Would it be safe for me to just do a full system restore right now? Or will that still brick my phone?
 
If you don't have a custom recovery then the OTA will simply unroot your phone and install the update. If you aren't worried about losing your root access and want the update then you can install it without any problems from what I've read so far. You may want to double check on the thread specific to the update to make sure there aren't any other issues.
 
Attachments?

Under "What you'll need", you posted this...

- And the file I have attached to this post. Download it, unzip it, and put the 3 files inside in your android-sdk-windows\tools folder created from installing the SDK.

I can't find attachments on a thread. Where do I look?
 
Under "What you'll need", you posted this...

- And the file I have attached to this post. Download it, unzip it, and put the 3 files inside in your android-sdk-windows\tools folder created from installing the SDK.

I can't find attachments on a thread. Where do I look?
It's attached right to the bottom of post #1 of this thread. It's called "optimusroot.zip"
 
I have also ran everything else under "What you'll need" and still get this...

c:\Android\android-sdk-windows\tools>adb push rageagainstthecage-arm5.bin /data/
local/tmp/rageagainstthecage
'adb' is not recognized as an internal or external command,
operable program or batch file.

What am I missing?
 
Why isn't this a sticky'd thread? I went looking for it one day, and it wasn't on the main page...bunk!

Very great instructions, very helpful...I love you!:p
 
if i restore factory will i be able to root and rom again or will i still have that software update after a restore? my fone just feels Sh%^^* now that i accidentally allowed the update.
 
if i restore factory will i be able to root and rom again or will i still have that software update after a restore? my fone just feels Sh%^^* now that i accidentally allowed the update.

Factory restore will not remove the update. I'm assuming you updated via OTA so you will have to wait for a new root or a method to go back to V9.
 
When trying to flash, I only have four options...

reboot system now
apply sdcard:update.zip
wipe data/factory reset
wipe cache partition
----

What do I do to get the options to pick a custom rom?
 
Status
Not open for further replies.

Trending Posts

Forum statistics

Threads
956,657
Messages
6,969,358
Members
3,163,596
Latest member
vedinke1