Idiots Guide to Rooting and Custom ROMs, Optimus S Edition

Well, I got all the way past the $ signs, but then i entered adb shell and kept getting the $ instead of # so now idk what to do besides start over again

What ended up working for me was this. My phone would cycle through the adb connection twice after running the exploit. If you have notifications volume on your phone turned up, you should hear it. After I heard the first cycle, I typed: adb shell in the command prompt, and that's when I got the #.

I had tried probably thirty times, before figuring out I needed to fire the command at that time. Hope it helps...
 
  • Like
Reactions: dishe
For the root section I would suggest z4root. Much easier, plus it auto installs super user.

Nick, agreed, but if you look at my post you'll see the reason I went with the "long way" is because you'll need adb later. Might as well get used to the tools now since you'll need to get ADB shell working either way.
 
Nick, agreed, but if you look at my post you'll see the reason I went with the "long way" is because you'll need adb later. Might as well get used to the tools now since you'll need to get ADB shell working either way.

Good call. I forgot about having to learn that stuff, It has been a while.. Anyways, thanks for the guide, we really needed one on this board.
 
I know we have craptons of stickies already, but I think this should be one of them, (especially now that I see the forum's been reorganized and subfoldered).
 
Guys we have to nip this in the bud real quick....

It's not a vote kind of thing. If something is sticky worthy, I'll stick it. In the interim i need to go back and remove comments like "sticky" as they don't contribute to the topic at hand. People don't want to read that comment when theyre looking for answers to rooting and roming.

I know you cant see my PM box but if i sticky everything that someone says "sticky" or PM's me about then you'd have 2 pages of stickies before you even get to the forum.

When information is important it should be stuck so it doesnt dominate the forum but let me be the judge, ok? If something should be a sticky, PM me, don't clutter the OP's page.

Thanks in advance. I'm sure the OP's appreciate the cooperation as well so their thread can stay on topic.
 
Don't know if anyone else has run into this, but following the link for the Android SDK, after trying to install it, it bails out giving me the error that it requires the JDK and that the JRE is insufficient. Took a while to navigate the site b/c it seemingly is an Oracle site with plenty non-English characters (boxes showing up as if I don't have the proper font/language pack installed), but the JDK can be found here:

https://cds.sun.com/is-bin/INTERSHO...ProductRef=jdk-6u22-oth-JPR@CDS-CDS_Developer

Edit: I take back the non-English portion of the above - seems that my dinosaur of a laptop I dug out to play with (clean environment) had a beta version of Chrome that just didn't like the site. Works fine on my real machine. Still need the JDK though, not the JRE...
 
Last edited:
After I type in "adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage"
I get "adb is not reconginized as an internal or external command, operable program or batch file."
 
damn sdk updates take forever.... all I'm waiting on now.. cant wait to get it done tonight. dl'in updates through wireless tethering so might be why
 
After I type in "adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage"
I get "adb is not reconginized as an internal or external command, operable program or batch file."

Make sure you are in c:\android-sdk(orwhatever)\platform-tools.

Or make sure you are in c:\android-sdk(orwhatever)\tools if you were in platform-tools.

The most recent SDK has adb in \platform-tools....the one before it has it in \tools. Depending on which one you have, you might need to be in the other directory.
 
Well I rooted my device, and then I rebooted it and type adb shell and the # symbol doesn't come out anymore -_-
 
I have super user installed and everything even set cpu works and when I do the command prompt the "$" symbol comes out -_-
 
I have super user installed and everything even set cpu works and when I do the command prompt the "$" symbol comes out -_-

type
adb shell [press enter]
Look at your phone, it's asking you to grant ADB SU permission
Click "always allow"
Enjoy.
 
alright need some help. whenever I open sdk the the command prompt opens up then android sdk & AVD manager pops open then a thing that says choose packages to install. I cant type anything in the command propt window and if I close the other stuff it closes the command prompt. what am i doing wrong?
 
You need to use another cmd window, not the one the sdk opens up. But if you don't have adb in the tools our platform-tools folder, run the install so they will be downloaded.
 
I find I have to type "su" after "adb shell" too, if memory serves.

Just re-read this comment and yes, you are correct. I forgot the "su" part :p

It should have read
type:
adb shell [press enter]
su [press enter]
Look at your phone, it's asking you to grant ADB SU permission
Click "always allow"
Enjoy.
 
Ooh, that might be the solution to my permission denied error when trying to run flash_image that I described in the custom recovery thread....
 
Well im a complete idiot n noob when it comes to android devices n ifinally got it last night. Loving it so much betterthanstock. I do have a question, is thereany reccomended apps to dl or use nowthat I am rooted and romed besides tit backup n super user. Thankyou toall that havehelped and made this possible.