• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root need script For ADB interface, please.

chaddaddy

Newbie
I figured out that after rooting my phone I somehow downloaded and installed the wrong ROM. Most stuff works, but the buttons are mixed up just enough so that i cannot use the phone to install a new ROM. I have searched for and tried many commands using my laptop to interface, but they all end with having to select reboot into recovery to install the ROMs which i cannot do. If anyone knows the right commands to install a ROM with ADB interface only, I would greatly appreciate the help. Thank you in advance!
 
I figured out that after rooting my phone I somehow downloaded and installed the wrong ROM. Most stuff works, but the buttons are mixed up just enough so that i cannot use the phone to install a new ROM. I have searched for and tried many commands using my laptop to interface, but they all end with having to select reboot into recovery to install the ROMs which i cannot do. If anyone knows the right commands to install a ROM with ADB interface only, I would greatly appreciate the help. Thank you in advance!

So you can't access recovery? When you try to boot into recovery, does it go t a black screen or get stuck at the LG logo? Can you boot into the rom?
 
So you can't access recovery? When you try to boot into recovery, does it go t a black screen or get stuck at the LG logo? Can you boot into the rom?
Yes I can boot into recovery, but the buttons are all scrambled. Vol. up does nothing, Vol dn moves the selector box up, Menu and home does nothing, and back and search goes to a black screen with the CM logo in it. That is why need the adb commands. Because I have no button working as a selector.
 
can't remember. it was supposed to be cyano 2.7 but apparently I downloaded something else by mistake.

You can use adb with those commands. just connect your phone, and type adb shell
then it should return to a line like this:
$: (Then you type su)
and it will give you:
#: (then you can do the commands that you do in terminal emulator.)
 
Do you still need the shell commands for installing a recovery?
Go to the All Things Root Guide and download the BobZohme recovery. Put it on the root of the uSd card. Select a ROM and put it there as well. If it requires the Gapps put them there as well.
Recovery needs to be unzipped ( it will have .bin on the end instead of .zip). Rename it recovery.img
Everything else stays zipped.

With uSD inserted in phone and phone plugged into PC open up a command prompt and type in this:
adb devices
You should have a serial number listed. If yes continue.
Once you have gotten to the adb.exe folder with the command prompt type in this:
adb shell
You should now get a #. If not type in this:
su
If you get a # in either one then type in this:
mount -o remount,rw -t yaffs2 /system /system
flash_image recovery /sdcard/recovery.img
If you got no errors and you see a # then type in this:
reboot recovery
It wil now boot into the BobZohme recovery. It is a modified CWMod recovery so the camera button is used to make selections.

If you need further help let us know. If your having trouble with adb let us know.
 
Do you still need the shell commands for installing a recovery?
Go to the All Things Root Guide and download the BobZohme recovery. Put it on the root of the uSd card. Select a ROM and put it there as well. If it requires the Gapps put them there as well.
Recovery needs to be unzipped ( it will have .bin on the end instead of .zip). Rename it recovery.img
Everything else stays zipped.

With uSD inserted in phone and phone plugged into PC open up a command prompt and type in this:
adb devices
You should have a serial number listed. If yes continue.
Once you have gotten to the adb.exe folder with the command prompt type in this:
adb shell
You should now get a #. If not type in this:
su
If you get a # in either one then type in this:
mount -o remount,rw -t yaffs2 /system /system
flash_image recovery /sdcard/recovery.img
If you got no errors and you see a # then type in this:
reboot recovery
It wil now boot into the BobZohme recovery. It is a modified CWMod recovery so the camera button is used to make selections.

If you need further help let us know. If your having trouble with adb let us know.
About to try this now. Will let you know..
 
I think you put the optimus c recovery on the phone..... if you selected optimus v one of 2 things would happen
1) it works fine or
2) you don't see anything while in recovery...
 
2012-07-11_01-47-42_728.jpg
This is the message I get when my phone reboots into recovery. What does this mean?
 
I think you need to fix your screen shot. Make sure the Img tags are correct. The first one should be [ and ] with IMG or img in-between. Then the image URL. Followed by the [ and ] with /IMG or /img in-between .
 
Ok, I think I have it now. This is what my recovery screen looks like when trying to install a different ROM. And to recap what my buttons do, Power, back, and search all transition between these two screens, Vol. up, Menu and Home does nothing, Camera takes the highlighted block back to top, the button beside the camera button scrolls down, and the Vol dn. scrolls up.
 

Attachments

  • 1342198656110.JPG
    1342198656110.JPG
    41.7 KB · Views: 62
  • 1342203609272.jpg
    1342203609272.jpg
    18.2 KB · Views: 60
Ok, I think I have it now. This is what my recovery screen looks like when trying to install a different ROM. And to recap what my buttons do, Power, back, and search all transition between these two screens, Vol. up, Menu and Home does nothing, Camera takes the highlighted block back to top, the button beside the camera button scrolls down, and the Vol dn. scrolls up.

Did you use rom manager to install the recovery?

Try to flash this: Cannibal Open Touch v1.2 ZIP Download
Original post: [RECOVERY] Cannibal Open Touch v1.2 (latest update: 06/24/2012)
 
Did you use rom manager to install the recovery?

Try to flash this: Cannibal Open Touch v1.2 ZIP Download
Original post: [RECOVERY] Cannibal Open Touch v1.2 (latest update: 06/24/2012)
Sorry about not logging in in a while. Been moving. But I am about to try to reload ADB on my phone because even though I see ADB in device manager, when i go to RUN, type cmd, then on command prompt type ADB devices, I get a message saying 'ADB' is not a recognized command.
 
You need to put the path to the adb.exe in your system path.

It should be ;C:\(whatever the SDK folder is named)\(whatever the name of folder the adb.exe is in)
 
You need to put the path to the adb.exe in your system path.

It should be ;C:\(whatever the SDK folder is named)\(whatever the name of folder the adb.exe is in)
I tried this. Still having the same problem. My file path is C:\android-sdk-windows\platform-tools\adb.exe I added it into my system variables list as such, but no change.
 
Is android-sdk-windows the actual name of the SDK folder?
When you are in the folder the adb.exe is in, what does the directory bar indicate? Copy and paste that into the system path without \adb. exe
Make sure you delete the first one you put in, and make sure you start with ;
 
Back
Top Bottom