ADB and recovery - LG Optimus L90

So I had unlocked my bootloader. rooted, and install TWRP, I tried installing cm11 which was in my sdcard, I factory reset, but when I when to look for the zip file it didn't come up in my ext_sdcard.... I did made a backup on twrp, but I don't have an os currently install, Idk how to boot into my recovery, I have the fastboot drivers install and when I put the phone in fastboot mode and run adb shell I get error: device not found.
What can I do?

Ocalito said:
So I had unlocked my bootloader. rooted, and install TWRP, I tried installing cm11 which was in my sdcard, I factory reset, but when I when to look for the zip file it didn't come up in my ext_sdcard.... I did made a backup on twrp, but I don't have an os currently install, Idk how to boot into my recovery, I have the fastboot drivers install and when I put the phone in fastboot mode and run adb shell I get error: device not found.
What can I do?
Click to expand...
Click to collapse
To boot to recovery:
Power off device
Press and hold Power + Volume Down
As soon as the LG logo appears, quickly release Power and press and hold Power again until you see a screen titled "Factory data reset"
Use volume keys to scroll down to "Yes". Press Power to select
Do the same as before one more time
You will then boot in to recovery
As for TWRP:
Make sure you're using the latest version.
Up towards the top of the TWRP Install page there is a line with a gray background the starts with "Storage:". Press it and then select Internal storage or external sdcard. Now press "Ok" at the bottom of the screen. Now browse to the folder where your zip is.
Now for your fastboot ADB thing. The adb executable cannot communicate with a device in fastboot mode. That's what the fastboot executable is for. Where you used "adb devices" you should have used "fastboot devices". ADB is for when your device is booted in normal device mode or in recovery mode and the recovery supports USB debugging. Unfortunately you can't boot to recovery thru fastboot.

shinobisoft said:
To boot to recovery:
Power off device
Press and hold Power + Volume Down
As soon as the LG logo appears, quickly release Power and press and hold Power again until you see a screen titled "Factory data reset"
Use volume keys to scroll down to "Yes". Press Power to select
Do the same as before one more time
You will then boot in to recovery
As for TWRP:
Make sure you're using the latest version.
Up towards the top of the TWRP Install page there is a line with a gray background the starts with "Storage:". Press it and then select Internal storage or external sdcard. Now press "Ok" at the bottom of the screen. Now browse to the folder where your zip is.
Now for your fastboot ADB thing. The adb executable cannot communicate with a device in fastboot mode. That's what the fastboot executable is for. Where you used "adb devices" you should have used "fastboot devices". ADB is for when your device is booted in normal device mode or in recovery mode and the recovery supports USB debugging. Unfortunately you can't boot to recovery thru fastboot.
Click to expand...
Click to collapse
Thank you for your help, i was able to bot into recovery and flash my back up.... and then i was able to install cm11.

Related

[Guide] How to unlock Boot loader and flash custom ROMs.

Here's a guide to unlocking the bootloader, flash a recovery image, and install a custom ROM on your Incredible s.
If you're not experienced with this sort of thing I advise you get help or not do it at all. I'm not responsible for anything that happens to your phone, but it is highly rare that anything will go wrong
1. Go to www.htcdev.com and log in/create an account. When logged in, click on 'Unlock Bootloader'
Now simply follow the on screen instructions provided by HTC. Some of the process requires getting some files from the Android SDK and you will needs the HTC drivers which come with HTC Sync, but this will all be explained through the process.
Now as I said, you need some files from the SDK which you can get here:
http://dl.dropbox.com/u/4263022/HTC Dev Tools.zip
I recommend putting these somewhere easy like the root of your C: drive in a folder called 'Android' like I will for the tutori. If you're still sure, select yes, and the process will complete.
2) you should see a little message pop up now asking if you'd like to go ahead and unlock the boot loader. Select yes.
3. Once done, your phone's bootloader will be unlocked, this will enable you to flash a recovery image.
4. Go to
http://download2.clockworkmod.com/re...0.2.0-vivo.img
and download the recovery image for the Incredible S. Put it in the "android" folder with the other files needed for the unlock process. This file is the ClockWorkMod recovery for the incredible s.
5. Shut down your phone. Plug it in via USB to your PC which you set up during the HTC unlock process. Hold volume down, and press power and the phone will boot into the bootloader. Wait for it to scan your SD card, then ensure "Fastboot" is highlighted and press power.
6. On your PC, load up a command prompt - open the Start menu, go to Run, and type "cmd".
7. In the command prompt window, type the following, assuming the HTC unlock files are all in C:android.
Code:
cd c:android
Then type:
Code:
fastboot flash recovery <recovery_name.img>
Don't forget the .img on the end, and replace "recovery_name" with the specific name of the recovery image you want to use. For ClockWorkMod linked to in step 4, you'd type:
Code:
fastboot flash recovery cwm-4.0.1.4-vivo.img
After a few seconds, ClockWordMod will have been flashed to your phone.
8. Reboot your phone, there should be an option in the fastboot menu (volume up and down to navigate, power to select). It should boot as per normal. Put it into USB disk mode, and download a ROM that you'd like to use. CyanogenMod is what I'm going to use: http://www.cyanogenmod.com/devices/htc-incredible-s
Download the ROM and place it in the root of your SD card
9. Power off the phone. Hold volume down and press power to boot back into the bootloader. Use volume down to select "Recovery" and press power. ClockWorkMod recovery will load.
10. Using volume up/down and power to select, go down to Backup/Restore. Select it, then click backup. ClockWorkMod will backup your stock ROM in case there are any needs to switch back.
11. After that (takes about 5 minutes), go back to the main menu. Select wipe data/factory reset and confirm. Go back to the main menu, select Advanced > Wipe Dalvik cache
12. Go to the main menu, and select "Install zip from sdcard". Next choose "Select Zip from SD card" and select the ROM you'd like to install. Confirm this action, and ClockWorkMod will install your new ROM. When done, shut down your phone.
13. Ordinarily you'd be done after that, and you could boot into your new ROM. However HBOOT 1.16 does some random stuff and tends to cause problems. I think it interferes with the installation of the boot.img that ordinarily would be flashed with the ROM. Get the ROM that you downloaded earlier (CyanogenMod in this tutorial), and on your computer, unzip the file somewhere. Once done, inside you'll see a file called "boot.img". Put this in the same folder as your other Android tools that you used earlier. Power your phone on, hold volume down, but don't choose "recovery", choose "usb fastboot".
14. Open up your command prompt again (Start > Run > "cmd"), and type (using the "android" folder for this example):
Code:
cd c:android
fastboot flash boot boot.img
This will flash the boot.img to your phone.
Power off the phone, reboot it, and that should be it!
If this helps please leave a thank you.
Good luck
Sent from my HTC Incredible S using xda premium
Bad download URL for CWM...
The URL you have documented for CWM recovery image is giving an "Access denied" response.
Thanks a lot!
It's very useful for me :good:
This is a duplicate thread and copied too.... the actual guide is at http://forum.xda-developers.com/showthread.php?t=1337105
Closed
What he said

[Q] help bootloader & root

hello,
I buyed a moto g, it's my first smarthphone...
I followed this tuturial http://forum.xda-developers.com/moto-g-2014/development/guide-root-moto-g-2nd-gen-2014-t2874245,
I get to unlock the bootloader, but when I get to this point
4. Flash Recovery through fastboot mode/bootloader mode
and Go into your adb+fastboot folder and Type in CMD prompt
Command :
Code: fastboot flash recovery TWRP2801-titan-motog-2014.img
can't get the moto g in flash recovery mode, it appear a dead android with a RED ! TRIANGLE...
any idea to resolve this...
RastaFATian said:
hello,
I buyed a moto g, it's my first smarthphone...
I followed this tuturial http://forum.xda-developers.com/moto-g-2014/development/guide-root-moto-g-2nd-gen-2014-t2874245,
I get to unlock the bootloader, but when I get to this point
4. Flash Recovery through fastboot mode/bootloader mode
and Go into your adb+fastboot folder and Type in CMD prompt
Command :
Code: fastboot flash recovery TWRP2801-titan-motog-2014.img
can't get the moto g in flash recovery mode, it appear a dead android with a RED ! TRIANGLE...
any idea to resolve this...
Click to expand...
Click to collapse
#If U Successfully unlocked ur Bootloader then,
place the recovery image in the same directory as fastboot.
Open a terminal on your PC and reboot the device into fastboot mode by typing
adb reboot bootloader
or by using the hardware key combination
(press & hold Volume down and power button When phone is off)
#Once the device is in fastboot mode, verify your PC sees the device by typing
fastboot devices
If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine.
#Flash recovery onto your device by entering the following command:
fastboot flash recovery your_recovery_image.img
where the latter part is the filename of the recovery image.
Once the flash completes successfully, reboot the device into recovery to verify the installation. Boot to recovery instructions: Hold Volume Down & Power simultaneously. On the next screen use Volume Down to scroll to recovery and then use Volume Up to select.
I successfully installed twrp recovery system but I can't do any backup, the system reboot in the process...
flash the recovery again and try...
jbanti said:
flash the recovery again and try...
Click to expand...
Click to collapse
It's not my fault.... seems a bug of twrp
XT 1068 UK
TWRP 2.8.0.1 Back up fails to both internal and external SD.
When external selected, backup starts but after 10 to 30 seconds it reboots the device. It starts to back up files and then just reboots. If I don't select compress backup, then it starts to backup more files before it reboots. Seems to be time related. Also tried unplugging while backing up and same issue.
Folders get created in all cases for external SD but data files. Not sure where the log files would get stored. Suspect they don't get created as the system reboots during the backup

Red Status bar for TWRP (OSPREY). FIXED!!!!

The TWRP red status bar is a small problem and easy to fix. It is caused mainly because you haven't accepted the 'Write permission" dialog box in the startup. In my case, I couldn't flash anything onto my phone and showed the message "FAILED" so i had done the following steps:
Before going into this. You have to make a backup of the files and apps on your phone. A working custom/stock ROM
Minimal ADB and Fastboot must be installed and the latest Motorola Drivers should also be installed.
1. Get a stock recovery, follow this link to get that: https://www.gammerson.com/2015/08/download-and-flash-stock-recovery-in-moto-g-3rd-gen.html
2.After flashing the stock recovery you have to boot onto your recovery. You will see the "No command" window. There you have to press Volume up+power button simultaneously for 5 or more times.
3.Click on Wipe data/factory reset.
4.After that boot onto your custom/stock rom. Finish the initial startup on your phone. Make sure that USB Debugging and USB Tethering is ON(Hotspot settings)
5.Now boot into fastboot mode.
6.Download the latest TWRP from: https://forum.xda-developers.com/devdb/project/?id=11051#downloads and paste into the Minimal ADB folder which can be found in C://Program Files (x86)/Minimal ADB and Fastboot
7.Now in the cmd window. Type the following codes:
adb devices
which will show whether your device is properly connected to the PC or not
fastboot flash recovery twrp.img
and voila TWRP will prompt you for the "Write Permission" once again, properly read it and swipe for confirmation. xD

Trying to backup stock recovery and boot, then stuck in boot logo...

I need some urgent advice. I was following this guide https://forum.xda-developers.com/le-2/how-to/guide-unlocking-rooting-restoring-to-t3515555 to backup stock recovery and boot. I did not want to flash twrp and su, so I skipped to wipe Dalvik/Cache, did that, and reboot from twrp.
Then the phone stuck in boot logo, I've waited at least 12min, nothing. So I tried to restart from stock recovery as stated in the guide, no good.
Basically I skipped step 16-20:
Download and install Minimal ADB and Fastboot: http://forum.xda-developers.com/show....php?t=2317790
Download latest official TWRP, place file in ADB installation folder, and rename to "twrp.img": https://twrp.me/devices/leecole2.html
Download SuperSU 2.78 (stable): https://download.chainfire.eu/1001/
Boot up phone and plug into computer
Settings > scroll to bottom to "About phone" > touch "Build" 7 times to enable developer options
Developer options > toggle "OEM unlocking" and "USB debugging" so that they're both enabled
When "Allow USB debugging?" window pops up on phone, check "Always allow..." box and hit OK
In Minimal ADB installation folder, hold Shift and right-click "Open command window here", then type:
Code:
adb reboot bootloader
Once in fastboot:
Code:
fastboot oem unlock-go
fastboot boot twrp.img
If password screen comes up, tap "Cancel" button
If it asks, tap "Keep Read Only" button (probably doesn't matter, but whatever)
Wipe > Format Data
Make backups (I suggest boot, recovery, and system since this will allow you to return everything to stock later on)
Mount > Enable MTP
Copy entire TWRP folder from internal storage to your computer
Copy SuperSU zip from your computer to root of internal storage
Reboot > Bootloader
Code:
fastboot oem unlock-go
fastboot flash recovery twrp.img
Hold Vol+ and Pwr until boots into TWRP
Swipe to Allow Modifications
Install > select SuperSU zip > swipe to flash
Wipe Cache/Dalvik
Reboot (first boot will take a little while, so be patient)
Click to expand...
Click to collapse
Please help!
Hi, unfortunatelly I have the exactely same problem.
I boot to TRWP > wipe Format Data > did backup and restart.
Then my LeEco Le 2 X527 stuck on the booting LeEco logo. I've tried to Pwr+Vol Up and selected all the checkboxes to do stock factory reset but it didn't help.
Also, it seems I cannot use ADB, fastboot and TWRP any more, because after the Wipe the device is unauthorized
Did I brick the phone? Please help dear professionals!
Update:
I found that I can still boot to the bootloader by holding Pwr+Vol down. After that I was able to normally use "fastboot oem unlock-go" and
"fastboot flash recovery twrp.img" to flash the TWRP. After I installed the LineageOS and GAPPS and phone boot up successfully!

Root Lenovo Tab 10 TB-X103F

Root Lenovo Tab 10 TB-X103F (Tested)
1. activate developer options on the Tablet
2. enable Bootloader-Unlock on the Tablet
3. download and install ADB und fastboot
4. latest usb driver on your PC
5. download TWRP TWRP-3.0.2_TB-X103F-beta.img
https://forum.xda-developers.com/showpost.php?p=70228684&postcount=65
6. download SuperSu zip file
Steps:
1.) boot to fastboot -> shutdown your device -> press on/off + "+" Volumekey → device restarts to fastboot mode
2.) connect to your pc via usb cable
3.) start command shell (cmd) in the fastboot instalation folder on your PC and check for the device connection with the command:
"fastboot devices"
4.) do the unlocking
"fastboot oem unlock-go"
5.) boot TWRP image file in the command line, showing the pathway to the .img file (if not in the same folder):
fastboot boot TWRP-3.0.2_TB-X103F-beta.img
6.) Put SuperSu zip file in the device memory and flash SuperSu zip with TWRP, then restart the device. Done!!!!
Stock recovery remains
RooterLeopold said:
Root Lenovo Tab 10 TB-X103F (Tested)
1. activate developer options on the Tablet
2. enable Bootloader-Unlock on the Tablet
3. download and install ADB und fastboot
4. latest usb driver on your PC
5. download TWRP TWRP-3.0.2_TB-X103F-beta.img
https://forum.xda-developers.com/showpost.php?p=70228684&postcount=65
6. download SuperSu zip file
Steps:
1.) boot to fastboot -> shutdown your device -> press on/off + "+" Volumekey → device restarts to fastboot mode
2.) connect to your pc via usb cable
3.) start command shell (cmd) in the fastboot instalation folder on your PC and check for the device connection with the command:
"fastboot devices"
4.) do the unlocking
"fastboot oem unlock-go"
5.) boot TWRP image file in the command line, showing the pathway to the file:
TWRP-3.0.2_TB-X103F-beta.img
6.) Put SuperSu zip file in the device memory and flash SuperSu zip with TWRP, then restart the device. Done!!!!
Click to expand...
Click to collapse
I have done all the steps but For some reason twrp is not installed and i still have the stock recovery. Please help
That's because the above only boots TWRP to root but does not install it. To install TWRP, when in booted with TWRP, you need to transfer the TWRP img to the tablet storage and then install it while in TWRP.
it is important to show the pathway to the file TWRP-3.0.2_TB-X103F-beta.img in the command line, like:
C:\Users\Public\Documents\My Videos\TWRP-3.0.2_TB-X103F-beta.img
Sorry for this newbie question.
Which part of the above rooting steps is rooting my tablet, what is TWRP doing and why do I need to install the SuperSU app?
During my first try I didn't boot the TWRP image rather I flashed it. But that didn't help at all.
After booting the TWRP image I was able to flash the SuperSU app.
The stock recovery is still in use.
Thanks in advance.
Read the steps carefully and follow the steps, it is a tested successfull strategy. To get deep knowlege about the background processes, please read the threads elsewhere in Web.
Yow how do you enter Fastboot on the tablet and i haved tied avery button on the tablet and i dont see the fastboot option
Entering Fastboot on Lenovo TB-X103F tablet
ShottaDopey said:
Yow how do you enter Fastboot on the tablet and i haved tied avery button on the tablet and i dont see the fastboot option
Click to expand...
Click to collapse
Hi everyone. I just want to clarify something about this procedure There's a lot of people being confused on how to get into FASTBOOT on some things, and that's stopping them getting anywhere from the beginning.
The Lenovo TB-X103F tablet doesn't have a way of booting directly into FASTBOOT. Turning the tablet On while holding either volume key and the On button doesn't do it directly. . . . . Firstly, there's 3 buttons on the tablet, I call them VOL- VOL+ PWR (again, that's just to clarify things 100%)
here's what must be done (well it's this way on the 3 I have on my desk, so I assume all TB-X103F tablets are the same) . . . . .
1) Turn the tablet off completely.
2) Press & hold the VOL+ button (the middle of the 3 buttons).
3) Press & hold the PWR button, release the PWR button as soon as anything appears on screen - Keep holding VOL+ button.
4) After about 8 seconds the familiar green android lay down will appear. Then, your recovery menu will appear.
5) Release the VOL+ button anytime now.
6) Press either VOL button to select BOOTLOADER on the menu (Bootloader is the same as FASTBOOT on this menu, that's where the confusion lies for many users).
7) Got Bootloader selected? now press PWR and let the tablet reboot itself.
8) it will show the LENOVO logo, and appear to be stuck - it isn't It's in Fastboot mode.
9) Plug in your USB to PC cable, and it'll install appropriate drivers on the PC (hopefully eh?).
10) Once the drivers are installed, test it by getting a Command Prompt in your ADB/FASTBOOT folder on your PC . . . .
11) type the command FASTBOOT DEVICES It should show you that your device is connected, if it shows no devices then either it didn't install the drivers, or something
else is wrong (there's about 30 things that can have gone wrong here, too many to go through in this quick guide).
12) The tablet will stay in FASTBOOT/BOOTLOADER mode until you turn it off (or the battery goes flat lol). So stay calm, there's no rush
I've mentioned about there being no rush, because if you choose ADB connecting from the recovery menu, it disconnects automatically after about 5 minutes -
This is Important to know because it can disconnect while you're pushing/pulling files from the tablet, and cause really nasty problems. Bad design eh?
But we're in Fastboot mode, so nothing to worry about like that
Deleted
Successful root
It was hard, but I had finally had done it. I had figured it out it is easier just to go to the command prompt (I ran it under admin) and "cd C:/adb" (where you installed the adb fastboot software) while having the TWRP image file being placed there. I only wished that I had done it sooner. And for those who are new to the custom recovery it can be overwealming, but with patience and going through the files in the file explorer to find your main storage would lead you to the SuperSU file and successfully root your device.
I flashed TWRP...now what? I can't find any instructions on how to reboot into TWRP. I got into some sort of Chinese menu (PWR + VOL-) but I'm pretty sure this is the device test menu.
So I did the "fastboot oem unlock-go" command and adb said ok but my tablet just went to a black screen and won't turn on now and I'm not sure why. I also heard the Windows USB disconnect sound when i did it.
Would this work with the TB-X104F running 8.1?
Since a few months my tablet is stuck with the 'password changed, wait....' message. I had hoped that I could overcome this with the steps mentioned here. But unfortunately not
I can't start it anymore, so I'm not sure if it is in developers mode or not. Also, plugging the device in my mac didn't let it download the drivers.
Too bad, because when it was working it was a great tablet, now it's just a expensive drawer filler
SynGamer said:
I flashed TWRP...now what? I can't find any instructions on how to reboot into TWRP. I got into some sort of Chinese menu (PWR + VOL-) but I'm pretty sure this is the device test menu.
Click to expand...
Click to collapse
its the vol+ not - you need to press with the power button
Steridroid said:
I have done all the steps but For some reason twrp is not installed and i still have the stock recovery. Please help
Click to expand...
Click to collapse
so what exactly do i have to type at the command prompt to run twrp?,ive put the twrp img file in the same folder as the adb stuff.
3.) start command shell (cmd) in the fastboot instalation folder on your PC and check for the device connection with the command:
"fastboot devices"
fastboot shows notting
lenovo seems to have killed these tablets from the old lady next doors experience.. no wifi, no adb, no fastboot, no qualcomm, just unknown device, which loads NOTHING, no drivers work!!!

Categories

Resources