I can get into fastboot, but I can't boot directly to custom recovery unless I connect to my laptop and run toolkit. Any ideas?
Quick boot from the play store is working fine on my Nexus 6.
DON'T.
USE.
TOOLKITS!
Download and install Minimal ADB and Fastboot. Downloaded latest TWRP for Nexus 6 (twrp-3.0.3-0-shamu.img at this time of writing). Enabled adb debugging if you haven't already on your Nexus 6 developer options. Put the twrp you downloaded in the same folder as your minimal adb and fastboot. Go to that folder and open cmd-here (this opens a command prompt window in that directory). Type adb devices to verify it sees your phone connected. Type adb reboot-bootloader to reboot into bootloader mode. Type fastboot flash recovery twrp-3.0.3-0-shamu.img . Now try to boot into recovery and it should work.
Related
This is a "re-tread" of a post I previously made, taking an account of the steps I took to successfully update my Nexus 7 from 4.4.4 to 5.0. Note: This is for an unlocked bootloader, if you don't have an unlocked bootloader you will lose your data; consider TiBackup.
My Nexus 7 [WiFi] was rooted on 4.4.4, unlocked bootloader, but stock rom, stock system (as far as I remember). I couldn't find a walkthrough so I'll make one with my experience. This worked for me on my Mac, I hope this helps you.
In the end I didn't lose any data, still have unlocked bootloader and rooted with CWM Recovery & SuperSU (you can replace with TWRP recovery or CWM Touch if desired)
Directions ("./" = file path to platform-tools folder, if you 'cd' to that location the "./" will pull that location in the terminal)
1. You must have Android SDK installed. Download it here: http://developer.android.com/sdk/index.html.
2. UNZIP and you will see a bunch of folders. The one we are interested in is the subfolder "platform-tools". You may copy it to an easier location if you want.
3. Download the factory images 4.4 (KRT16S) (4.4 required, see HERE, Google broke its own bootloader) and 5.0 (LRX21P) for your Nexus 7: https://developers.google.com/android/nexus/images#nakasi (WARNING: Download the correct images for YOUR device, Nexus 7 Wi-Fi vs Mobile)
4. Unzip the 4.4 image file you downloaded and copy "bootloader-grouper-4.23.img" (img name depends on your build) to your "platform-tools" folder (where adb and fastboot are). (WARNING: the bootloader image in 5.0 is broken see HERE)
5. Unzip the 5.0 image file you downloaded and copy all content, except for "bootloader-grouper-4.23.img," to your "platform-tools" folder (where adb and fastboot are).
6. Plug your Nexus 7 into your computer with USB debugging (activate it in "About Phone" and touch "Build number" 6 times, it will activate "Developer Options" menu where you will be able to activate "USB debugging")
7. Open terminal and "cd" to the platform-tools folder
8. Verify ADB is working type "./adb devices"
9. Reboot your device into fastboot mode: type in terminal "./adb reboot-bootloader"
10. Type:
"./fastboot flash bootloader ./bootloader-grouper-4.23.img" (img name depends on your build)
11. If you have "WiFi Only" skip to step 12; for Mobile flash radio type:
"./fastboot reboot-bootloader"
"./fastboot flash radio ./radio-XXXXXXXX.img" (img name depends on your build)
12. Type:
"./fastboot reboot-bootloader"
"./fastboot update ./image-nakasi-lrx21p.zip" (zip name depends on your build)
It will then reboot (takes a while, 5-10 minutes on boot animation, then it must update App info, another 5-10 miuntes) and then you will be in Android 5.0 with all your data preserved.
Then if you want a custom recovery:
1. On your computer, download CWM, CWM Touch, or TWRP recovery from here: CWM Dwnld or TWRP Dwnld (WARNING: Download the correct image for YOUR device, Nexus 7 WiFi vs Mobile)
2. Place the image file you downloaded in your "platform-tools" folder (where adb and fastboot are)
3. Connect your Nexus 7 (debug mode) and put it in fastboot mode (step 9 above): type in terminal "./adb reboot-bootloader"
4. In the terminal type:
"./fastboot flash recovery ./FILENAME.img" (replace FILENAME.img by the file name of the CWM/TWRP file you just downloaded)
5. Verify Recovery - Shut down your device and boot it into recovery mode (Once off, push vol- and power together). Choose recovery mode with vol-, then power to select (Note: if you get an Android on his back you still have stock recovery, retry Steps 1-4. I flashed CWM, CWM Touch. and TWRP with no success, plugged my cable into a different USB port and got it first try; try different cables and ports)
Then if you want a root:
Note: If you don't have an unlocked bootloader you will lose data. Already unlocked should be fine, when you boot there should be an open lock at the bottom of the screen below the Google logo. On PC WugFresh Nexus Root Toolkit might be your best option, for me on Mac it is not available so this is what I did.
1. On your computer, download CF-Auto-Root from here: Auto Root Dwnld (WARNING: Download the correct image for YOUR device, Nexus 7 WiFi vs Mobile)
2. Unzip the CF-Auto-Root file you downloaded and copy all its content to your "platform-tools" folder (where adb and fastboot are)
3. Connect your Nexus 7 (debug mode) and put it in fastboot mode (step 9 above): type in terminal "./adb reboot-bootloader"
4. Type: (Note: Step 4 commands need to be run as Admin)
"chmod +x root-mac.sh"
"ls -al"
"./root-mac.sh"
5. Follow on-screen prompt and type your Mac User Account password and ENTER
6. Let the phone go through its thing (Red Android screen), it will reboot when complete.
That is it!
Thanks to Phil Tech: http://youtu.be/IPg_FGbeyq0
Thanks to jipi: http://forum.xda-developers.com/showthread.php?t=2377691
Good luck and happy flashing.
Thanks for the effort.
Thanks ! I did that, more or less adapted. The result was just awefully slow, so I had to do a wipe to start with a clean slate.
Android, the new Windows: reinstall every 6 months....
I've followed the procedure on w8.1 64bit.
All went well but I lost adb after 5.0 finally booted. So I could not install root through NRT (1.9.8).
Adb mode was recognised in windows device manager but adb commands failed with no device found.
Suprisingly fastboot was working.
The solution was to uninstall NRT and adb drivers and reinstall them.
Great guide!!
Followed the steps to the 'T' and I've got Lollipop on my Nexus 7 Wi-Fi.
If the Bootloader is already on 4.23 then Step 10 can be skipped, as I did.
dg170775 said:
Great guide!!
Followed the steps to the 'T' and I've got Lollipop on my Nexus 7 Wi-Fi.
If the Bootloader is already on 4.23 then Step 10 can be skipped, as I did.
Click to expand...
Click to collapse
True, I was already on 4.23, but still flashed it anyways. Thanks for the input.
I have unlocked my bootloader and when I try to install TWRP recovery and open a cmd write the commands 'adb devices' and "fastboot devices" to check whether connected or not it shows connected then reboot to to bootloader but when I put command "fastboot flash recovery recovery. img" I get " cannot load recovery. Img" . I also downloaded the latest TWRP victara and adb, fastboot aswell but can't get what problem is please Help guys!!!
Vedang V said:
I have unlocked my bootloader and when I try to install TWRP recovery and open a cmd write the commands 'adb devices' and "fastboot devices" to check whether connected or not it shows connected then reboot to to bootloader but when I put command "fastboot flash recovery recovery. img" I get " cannot load recovery. Img" . I also downloaded the latest TWRP victara and adb, fastboot aswell but can't get what problem is please Help guys!!!
Click to expand...
Click to collapse
So you got the latest ADB and Fastboot:
https://developer.android.com/studio/releases/platform-tools.html
You got the latest TWRP Victara:
https://twrp.me/motorola/motorolamotox2014.html
Extract ADB and Fastboot, and put the TWRP img file in the same folder, start command prompt as Admin and Change Directory to where the files are:
cd C:\Users\User\Downloads\platform-tools (this is just an example)
fastboot flash recovery twrp-3.2.1-0-victara.img
Boot into recovery immediately.
Vedang V said:
I have unlocked my bootloader and when I try to install TWRP recovery and open a cmd write the commands 'adb devices' and "fastboot devices" to check whether connected or not it shows connected then reboot to to bootloader but when I put command "fastboot flash recovery recovery. img" I get " cannot load recovery. Img" . I also downloaded the latest TWRP victara and adb, fastboot aswell but can't get what problem is please Help guys!!!
Click to expand...
Click to collapse
Did you install the Motorola USB Drivers?
https://motorola-global-portal.custhelp.com/app/answers/prod_detail/a_id/79106/p/30,75,27,
Did you type the full name of the img file, including .img
You must write fasstboot flash recovery (full name of the file ot rename it).img.
When is finished not take off the cable and run recovery from device bootloader.
Thats it.
Original: 7.1.1 Nougat
I unlocked Bootloader
I rooted
Installed TWRP
Wiped
Installed 8.1 rom
installed gapps
Installed Magisk 16
reboot to recovery -> No command
When i go back to bootloader and re install twrp via wugs, it works and loads. If I reboot into recovery again, even from twrp, it gives me the no command error.
Any solutions on how to permanently get twrp running
Yes. Stop using the toolkit.
You need to actually see the messages fastboot generates. To do that, you're going to need to use ADB and Fastboot directly, without the toolkit. Get Minimum ADB and Fastboot from the forums (search for it) and install it. Make sure USB debugging is enabled in settings, then open up a command prompt to the directory where you installed Minimum ADB & Fastboot. In that command prompt type the following commands.
"adb devices" - lists the connected devices. If you see a device, continue.
"adb reboot bootloader" - self explanatory. The equivalent of pressing power and volume down.
"fastboot flash recovery recovery.img" - self explanatory. Replace "recovery.img" with the actual name of the file.
"adb reboot recovery" - should take you directly to the recovery. "adb reboot bootloader" and the volume keys should also work as an alternative.
This thread is intended to get a fully working twrp for our new device sooner than later by more of us participating.
This is a testing thread so YES ANYTHING CAN GO WRONG. But most likely will not go wrong..
All test builds compiled by me are from @mauronofrio source code
https://github.com/mauronofrio/android_device_oneplus_guacamole_TWRP
This guide was copied and pasted from @mauronofrio Twrp thread.
Install guide:
Actually seems "fastboot boot twrp.img" is not working so we need to use another guide:
1. Install fastboot tools from google's sdk on your PC
2. Enter fastboot mode
3. Unlock your bootloader
4. Now you should check which slot are you using with this command "fastboot getvar current-slot"
5. Now you should change the slot in use with this command "fastboot --set-active=*" you should replace with the slot is not in use, for example if you are using slot a the command will be "fastboot --set-active=b"
6. Now you should flash the twrp in the boot partion using this command "fastboot flash boot twrp.img"
7. Now reboot the device with in recovery mode scrolling the menu with the volume button and selecting "Recovery Mode" with the power button
8. First thing go in reboot menu and restore the old active slot
9. Now you can flash the installer (Actually you can do it using sideload, start sideload server from twrp advanced menu and from pc use this command "adb sideload twrpinstaller.zip")
If you are already rooted, you can skip all and directly flash the installer like a magisk module. Always remember that after you flashed the installer you will be unrooted.
Tips:
If you alread have a twrp flashed you can only flash the new installer zip or the new installation method to update your TWRP (remember to flash again magisk or your system will not boot).
If you have some problems with backup, like 255 error or something similar please check this guide: https://forum.xda-developers.com/one...e-999-t3801632
For the Bacups use always "system_image" and "vendor_image" instead of "system" and "vendor".
I need the following logs in order to find issues.
start a terminal window and enter below commands to get the logs
When TWRP boots enter below commands in terminal:
Code:
adb shell "getprop" > getprop.txt
adb pull /tmp/recovery.log
adb shell "dmesg" > dmesg.log
adb logcat > logcat.txt
and post the files here.
Links will be in post #2
Links to test builds
Test-0.2 f2fs filesystem
Twrp.img https://www.androidfilehost.com/?fid=1395089523397969888
Twrp installer https://www.androidfilehost.com/?fid=1395089523397969887
Test-0. 3 ext4 filesystem
Twrp.img https://www.androidfilehost.com/?fid=1395089523397969903
Installer https://www.androidfilehost.com/?fid=1395089523397969902
Under 6. Should we be using "fastboot flash recovery xxx.xxx" or the one from the post?
I might be able to test evening today.
Sent from my GM1911 using Tapatalk
vickyjusme said:
Under 6. Should we be using "fastboot flash recovery xxx.xxx" or the one from the post?
I might be able to test evening today.
Sent from my GM1911 using Tapatalk
Click to expand...
Click to collapse
fastboot flash boot twrp-test.img
Tried this method, but TWRP does not load. Stuck on this (image attached)
Reboot sticks to this screen again. Cannot access fastboot from here, but I can see my device from adb devices. Help me?
https://imgur.com/1s6dejl
Edit: start by power on+volume down loads fastboot.. Phew...
vukis said:
Tried this method, but TWRP does not load. Stuck on this (image attached)
Reboot sticks to this screen again. Cannot access fastboot from here, but I can see my device from adb devices. Help me?
https://imgur.com/1s6dejl
Edit: start by power on+volume down loads fastboot.. Phew...
Click to expand...
Click to collapse
Where are the logs. Please don't test and not provide logs. But thanks for informing test 0.3 doesn't work.
Just wondering how long you waited.
1st PLEASE MAKE SURE YOU HAVE THE T-MOBILE VARIANT
2nd DOWNLOAD MINIMAL ADB From https://forum.xda-developers.com/showthread.php?t=2317790
3rd DOWNLOAD MOTOROLA ADB DRIVERS https://gsmusbdrivers.com/download/motorola-device-manager/
4th MAKE SURE ADB DEBUGGING IS ENABLED
OK NOW LETS START
on the adb folder open cmd-here.exe
Connect your phone to your pc with a usb cable
on the cmd window TYPE adb devices IF A DEVICE SHOWS GOOD
now Download twrp https://dl.twrp.me/nash/
put twrp in the adb folder
on the adb cmd type adb reboot bootloader
after your device restarts on the bootloader rename the twrp image to a.img
Unplug your device from the pc
now on the adb cmd type fastboot boot a.img IT SHOULD SAY WAITING FOR DEVICE
now plug your phone to the pc
YOU SHOULD THE TWRP SCREEN
NOW DOWNLOAD ORANGE FOX https://drive.google.com/open?id=1MyqM6lBcgZi_UFC0Gfm5YJ2gHrBYQHpq PORTED By Remim7
MOVE ORANGE FOX TO C:\
AND RENAME IT TO fox.zip
Ok on the adb cmd type adb push c:\fox.zip /external_sd/
now on TWRP go to install and install orange fox
DONE now u have a custom recovery
IF YOU NEED ANY HELP CONTACT ME ON DISCORD davigamer987#6514 I WILL BE HAPPY TO HELP
EDIT: I PUT ROOT ON THE TITLE BUT ITS ONLY RECOVERY ;-;
rom_gamer987 said:
1st please make sure you have the t-mobile variant
2nd download minimal adb from https://forum.xda-developers.com/showthread.php?t=2317790
3rd download motorola adb drivers https://gsmusbdrivers.com/download/motorola-device-manager/
4th make sure adb debugging is enabled
ok now lets start
on the adb folder open cmd-here.exe
connect your phone to your pc with a usb cable
on the cmd window type adb devices if a device shows good
now download twrp https://dl.twrp.me/nash/
put twrp in the adb folder
on the adb cmd type adb reboot bootloader
after your device restarts on the bootloader rename the twrp image to a.img
unplug your device from the pc
now on the adb cmd type fastboot boot a.img it should say waiting for device
now plug your phone to the pc
you should the twrp screen
now download orange fox https://drive.google.com/open?id=1myqm6lbcgzi_ufc0gfm5yj2ghrbyqhpq ported by remim7
move orange fox to c:\
and rename it to fox.zip
ok on the adb cmd type adb push c:\fox.zip /external_sd/
now on twrp go to install and install orange fox
done now u have a custom recovery
edit: I put root on the title but its only recovery ;-;
Click to expand...
Click to collapse
nice thanks works i needed the bootloop