What is root # shell? (2025)

B

btgoodlin

Well-known member
Oct 17, 2010
52
1
0
  • Jul 19, 2011
  • #1

I'm trying to root this LG Optimus S, hello forum.
My experience is with the Samsung Epic - the root was quite easy there, no command line, same with the ROMs so I am lost here.

I'm in the midst of trying to install the custom recovery Xionia
----------------
To flash: via adb shell or terminal type this from root # shell

Quote:
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system
# cat /sdcard/flash_image > /system/bin/flash_image
# chmod 755 /system/bin/flash_image
# mv /system/etc/install-recovery.sh /system/etc/install-recovery.sh.bak
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock5 /system
# flash_image recovery /sdcard/xionia_cwma_12518.6.img
# reboot recovery
----------------------------------

What the crap does that mean? Sorry, but I cant seem to make that work in my terminal.

Windows 7
run cmd.exe, right?

Thanks for the help - and not laughing at me too much.

B

basketthis

Well-known member
Nov 22, 2010
1,470
473
0
  • Jul 19, 2011
  • #2

Re: The crap is root # shell?

Read this link: http://forums.androidcentral.com/lg...optimus-s-recoveries-roms-kernels-themes.html
Reading is the most important thing in this whole process. Don't just jump to a conclusion and say anything based on previous experiences.

B

btgoodlin

Well-known member
Oct 17, 2010
52
1
0
  • Jul 19, 2011
  • #3

Re: The crap is root # shell?

basketthis said:

Read this link: http://forums.androidcentral.com/lg...optimus-s-recoveries-roms-kernels-themes.html
Reading is the most important thing in this whole process. Don't just jump to a conclusion and say anything based on previous experiences.

Well yeah. I started on that page. I does not explain my question or direct me to any answer.

Custom Recovery INFORMATION:
Custom Recoveries are what is used to make backup images of your phone, referred to as nand backups, and also used to flash custom ROMs, kernels, themes, and some other tweaks. You must have a custom recovery if you intend on flashing anything. The stock LG recovery will only flash zips made and signed by LG.

Recovery Name:Xionia Clockwork
Developer: Zefie
Summary: This is a recovery image based off the work of Koushik Dutta.

S

S.Meezy

Well-known member
May 18, 2010
126
14
0
  • Jul 19, 2011
  • #4

Search further on adb and adb shell

this is in no way detailed and or fully correct, but as a basic understanding:

in order to do certain things on your android device, you need to adbshell into the phone. root shell is "administrative" rights/access. normally, when you run command prompt, and type adbshell and hit enter, the command line has a $ prompt. to get to root shell, you have to type su to get a # prompt.

terribly missing a million pieces, basic starting point, typing on a phone, have fun What is root # shell? (1)

sometimes root isn't the answer

Sent from my VS910 4G using Tapatalk

Last edited:

B

btgoodlin

Well-known member
Oct 17, 2010
52
1
0
  • Jul 19, 2011
  • #5

What is root # shell? (2)

Well, I found the adb shell.
I copied and pasted the quoted text above and it added a bunch of extra # and $'s and my phone did nothing?

I'm making progress- but would some help me out so I could get to sleep soon?
I have been reading through this forum for over 2 hours, so basketthis can bite me and get back to playing Starcraft.What is root # shell? (3)
My reference: How To: adb for Windows the Easy Way

B

basketthis

Well-known member
Nov 22, 2010
1,470
473
0
  • Jul 19, 2011
  • #6

Don't copy the #. Just type the command portion...

S

scrosler

ROM Developer
Nov 30, 2010
1,552
954
0
  • Jul 19, 2011
  • #7

btgoodlin said:

What is root # shell? (4)

Well, I found the adb shell.
I copied and pasted the quoted text above and it added a bunch of extra # and $'s and my phone did nothing?

I'm making progress- but would some help me out so I could get to sleep soon?
I have been reading through this forum for over 2 hours, so basketthis can bite me and get back to playing Starcraft.What is root # shell? (5)
My reference: How To: adb for Windows the Easy Way

When you copy and paste in the commands make sure you are not copying and pasting the '#' and make sure you do each line one at a time.
Also, before you enter any of the commands type "SU" and then press enter. Your prompt should change from "$" to "#" Also, very important, when yo do the "SU" command the super user app one the phone will prompt to grant SU permission. Make sure your phone is on and unlocked at at the home screen so you dont miss that.

EDIT: Dont feel bad... They left out those "tiny" bits of information in the recovery posting. They assume a certain level of knowledge that not every one has. You would think that if you are posting something like this you would include the fine detail... But that takes the fun out of learning ;c)

Last edited:

  • What is root # shell? (6)

Reactions:

btgoodlin

S

scrosler

ROM Developer
Nov 30, 2010
1,552
954
0
  • Jul 19, 2011
  • #8

basketthis said:

Don't copy the #. Just type the command portion...

He needs SU first...

B

btgoodlin

Well-known member
Oct 17, 2010
52
1
0
  • Jul 19, 2011
  • #9

Progress, phone rebooted into recovery - but the original LG recovery. Time to go back and double check the files are in the right place.
Thanks for the
SU and adb help.

S

S.Meezy

Well-known member
May 18, 2010
126
14
0
  • Jul 19, 2011
  • #10

Looking quickly at the pic, did u do each line one by one or put a whole bunch together?

Sent from my VS910 4G using Tapatalk

B

btgoodlin

Well-known member
Oct 17, 2010
52
1
0
  • Jul 19, 2011
  • #11

S.Meezy said:

Looking quickly at the pic, did u do each line one by one or put a whole bunch together?

Sent from my VS910 4G using Tapatalk

I did do the whole thing all at once, that wasn't working. That was pointed out to just copy one line at a time, leave out the # - the cmd/adb program will add the # or $ to the lines as you go through. I hope my screen shot below will be of some help to any future person

What is root # shell? (7)

That is what it should look like if it is done correctly.
You type/past the "mount -o remount,rw -t yaffs2 /dev/block/mtdblock5 /system" in front of the # and hit enter, the system will then repost what you just typed, wait a second for the command to process, then supply you with a new # to type/past the next line.

M

memsman

Well-known member
Mar 2, 2011
142
19
0
  • Jul 19, 2011
  • #12

http://forums.androidcentral.com/lg...ty-will-root-install-custom-recovery-etc.html

You're welcome

edit (disclaimer): that's the quick and dirty (in the sense that you are not learning anything and you will most probably screw up later) solution to your problem

  • What is root # shell? (8)

Reactions:

btgoodlin

B

btgoodlin

Well-known member
Oct 17, 2010
52
1
0
  • Jul 19, 2011
  • #13

I wanted to install that ROM, but this is my wife's phone and she didn't like it. She wanted the Reborn ROM.
I can't help but wonder if you were trying to insult me with the 'people like you' comment or that I'm just tired and done thinking for the day.

You know, not everyone is born with the knowledge of command line code. Most people have to figure it out and start from somewhere. I'm sorry if I foolishly assumed that this forum would include more step-by-step directions to help those who may be new to the Android experience.

Thanks to a the majority of you who helped me get this figured out. Geez, all this, three hours just so my wife could have wireless tether?! She owes me big time!What is root # shell? (9)

EDIT: Seems the fellow who got snippy with me deleted his post.

Last edited:

S

scrosler

ROM Developer
Nov 30, 2010
1,552
954
0
  • Jul 19, 2011
  • #14

btgoodlin said:

Progress, phone rebooted into recovery - but the original LG recovery. Time to go back and double check the files are in the right place.
Thanks for the
SU and adb help.

Hit the Thanks button What is root # shell? (10)

S

scrosler

ROM Developer
Nov 30, 2010
1,552
954
0
  • Jul 19, 2011
  • #15

btgoodlin said:

Thanks to a the majority of you who helped me get this figured out. Geez, all this, three hours just so my wife could have wireless tether?! She owes me big time!What is root # shell? (11)

You didint need to flash the custom recovery to get wireless tether. You could have just rooted then installed the wireless tether app from the market. The recovery is only for custom ROMs and making back ups.

EDIT: Dont worry about people around here... Some of them can be very condescending... Just ignore them.

M

memsman

Well-known member
Mar 2, 2011
142
19
0
  • Jul 19, 2011
  • #16

so, did you manage to do it? update!

@scrosler: It's good for him to have a stock rom nandroid eitherway. But wasn't a problem with tethering and ZVD -it's been so long What is root # shell? (12)

Last edited:

B

btgoodlin

Well-known member
Oct 17, 2010
52
1
0
  • Jul 19, 2011
  • #17

scrosler said:

You didint need to flash the custom recovery to get wireless tether. You could have just rooted then installed the wireless tether app from the market. The recovery is only for custom ROMs and making back ups.

EDIT: Dont worry about people around here... Some of them can be very condescending... Just ignore them.

Aye, but that is like buying a new car and only driving it around your block. I figure, why not do it all. OWhat is root # shell? (13) I gotta earn those husband points.

M

memsman

Well-known member
Mar 2, 2011
142
19
0
  • Jul 19, 2011
  • #18

...even better now that you have the supercharging option (overclock).

but don't let the optimus get between you two What is root # shell? (14)

B

btgoodlin

Well-known member
Oct 17, 2010
52
1
0
  • Jul 19, 2011
  • #19

memsman said:

so, did you manage to do it? update!

@scrosler: It's good for him to have a stock rom nandroid eitherway. But wasn't a problem with tethering and ZVD -it's been so long What is root # shell? (15)

Yes, and I even installed the pretty pink theme for her. now im downloading all the apps and restoring her 1539 text messages. haha

J

Jessicalt1

Lover of all things Andi
May 17, 2010
401
47
0
  • Jul 19, 2011
  • #20

btgoodlin said:

Yes, and I even installed the pretty pink theme for her. now im downloading all the apps and restoring her 1539 text messages. haha

Husband of the day! I did the whole kit and kaboodle on the hubby's EVO and all I got was complaints!

You must log in or register to reply here.

What is root # shell? (2025)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Tuan Roob DDS

Last Updated:

Views: 5827

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Tuan Roob DDS

Birthday: 1999-11-20

Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

Phone: +9617721773649

Job: Marketing Producer

Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.