[Q] Problems with Flashing - Nexus 7 (2013) Q&A

Hello!
For days, I try on my new Nexus 7
The device is unlocked and rooted
"adb devices" results in USB debugging a serial number feedback.
I have just the Nexus in fastboot mode (Android robot) with open flap. Then select Recovery on volume rocker and then pressed Power. Then I get no robot with red triangular plate and from the beginning, no further selection on the Nexus.
The device remains dark. With a console command (adb reboot bootloader) can I make it back to life, but with the previous system state.
What's going on?
Thanks, Thomas

Solved
Before the command was missing a sudo.

No custom recovery?

If any adb commands are working your not in fastboot, so to clarify you are in stock recovery
You need to choose bootloader here you will use fastboot commands
fastboot flash recovery nameofrecovery.img
I would recommend twrp but use clockwork or whatever you prefer
Now boot to the new recovery and flash a ROM of choice, and anything else needed such as gapps, recommend slimbean but many good options here
Now if you don't have this on internal memory, which I'm guessing you don't, you will need to go to the advanced menu and choose adb sideload
adb sideload nameofrom.zip
When complete choose adb sideload again
adb sideload nameofgapps.zip
Reboot
Feel free to ask any further questions
Sent from my Nexus 7 using XDA Premium 4 mobile app

Related

[Q] Running Stock Android. Download and Fastboot working. Can't boot OS. What now?

This is a followup to this thread.
I got some help at androidcentral.com and now have Fastboot driver installed. I don't have access to ADB mode or the main Android OS. What can I do now to get my phone back to working. My phone can also enter Download mode if that's useful.
I can enter Recovery from Fastboot but then what do I do?
Edit:
Run this command in ADB.
adb backup -apk -noshared -nosystem -all -f C:\backup.ab
Your phone will ask for a password...
Don't put one in.
Once it's finished...
It will say backup complete.
Or your phone might just boot straight up.
Then navigate to recovery.
And factory reset.
Does your phone now boot?
(If not, stop here, and hit me again)
GOOD!
Now get back in fastboot and run:
adb restore C:\backup.ab
This will give you your applications back.
This MIGHT brick you again...but I doubt it.
If so...simply factory reset.
Thanks for the response.
Can I use ADB from recovery mode because I don't have access to the main OS and It was my understanding that you access ADB from the main OS?
If so, I'm using GNex TOOLKIT V5.6. Would I need to boot to CWM Recovery to use ADB or is the stock recovery ok?
I tried using the command in Fastboot and I get the error "adb: unable to connect for backup"
In GNex TOOLKIT at the top is says:
FASTBOOT MODE
List of devices attached
(the phones serial) fastboot
ADB MODE
List of devices attached
(blank space)
Click to expand...
Click to collapse
When i try "adb devices" in the command prompt, I also get "List of devices attached" with a blank line under it.
OK, I gave up on trying to access my data and attempted to do a restore with the toolkit. I had to unlock the bootloader as the first step and after that the system would boot again.
It would be nice if I could have figured out how to reflash the stock bootloader as a first step but I couldn't figure hot if you can or how.
Anyway, I should have unlocked it from day one. If i had, I would have has access to ADB from CWM recovery and would have been able to backup my stuff and access files even with it in the unbootable state it was in.
I guess not unlocking the bootloader was a mistake I need to learn from.
Jubakuba, thanks for trying to help me out.

[Q] ADB recognizes device but not in recovery

Hi! I want to update my girlfriend's GNex by pushing update via recovery. I have adb working and recognizing device when it's turned on (with debugging mode). But when I go to recovery (adb reboot recovery), I can't get my device recognized again - "adb devices" shows nothing. I figured it can't be problem with drivers (since the device is recognized when turned on?), I must be doing something else wrong? But I have no idea where to look.
Sorry for the (probably) common question, but all I've found (using search) is adb not recognizing devices at all. I've been only using "fastboot" commands so far, and I never had problems with recognizing.
Joplisan said:
Hi! I want to update my girlfriend's GNex by pushing update via recovery. I have adb working and recognizing device when it's turned on (with debugging mode). But when I go to recovery (adb reboot recovery), I can't get my device recognized again - "adb devices" shows nothing. I figured it can't be problem with drivers (since the device is recognized when turned on?), I must be doing something else wrong? But I have no idea where to look.
Sorry for the (probably) common question, but all I've found (using search) is adb not recognizing devices at all. I've been only using "fastboot" commands so far, and I never had problems with recognizing.
Click to expand...
Click to collapse
what recovery are you using? in twrp, in advanced menu, theres a adb sideload option.
The problem is that her phone is locked, everything is stock. The only option is adb sideload (as far as I know). Any suggestions? I really don't have a clue.
Sent from my Galaxy Nexus using my thumbs.
Stock recovery does not offer the ADB interface, so adb commands will not work. You need to flash a custom recovery such as CWM or TWRP.
Ahhh, I didn't know that. I guess I have to wait for the ota, then, since I can't flash or use custom recovery. Thank you for your help!
Sent from my Galaxy Nexus using my thumbs.
Actually you can use adb commands in stock recovery - this works on build number JRN84D and newer only (JRN84D corresponds to 4.1, the first Jelly Bean build).
1) Reboot your device into the stock recovery (i.e., the screen with the Android on its back with the "!");
2) Access the stock recovery menu by pressing power and volume up;
3) Select "Apply update from ADB";
4) Download the correct update for your build and place it in the same directory as your ADB binary;
5) Open a command prompt in the same directory as your ADB binary;
6) Type adb devices to make sure that your device is recognized;
7) Type adb sideload name-of-file.zip
8) Reboot. Done.
Click to expand...
Click to collapse
This is from Method 4 in http://forum.xda-developers.com/showthread.php?t=1419170
Hope this helped

LG Nexus 5X V7.1.2 B/N: N2G47Z ( No Command No Custom Recovery )

Files Installed:
1.) Android SDK ( Android Studio ) for ADB Purposes
2.) SR3-SuperSU-v2.79-SR3-20170114223742 ( Which I have not been able to drop into root directory. Just the Internal Shared Storage
3.) twrp-3.1.1-0-bullhead.img ( Click Link For Source Download )
Alright,
I have tried flashing TWRP onto my Nexus 5X and can't seem to make this happen.
When I open up ADB from right clicking in my "platform-tools" folder and selecting "Open command window here", I start by putting my phone into the bootloader mode by typing the command, "adb reboot bootlader". I have to do this due to my volume down button not responding anymore. This should NOT prevent me from navigating any menus located inside the TWRP recovery menu as well as the default recovery screen. If I just use the Volume Up to go through the menus, it loops.
Ok, now, if I am in the bootloader, I want to type the following command into my ADB. That command would be the following:
fastboot flash reboot twrp-3.1.1-0-bullhead.img and/or
fastboot flash twrp-3.1.1-0-bullhead.img
When I do this, the only response I get from the ADB is, <Waiting for any device>...
So yeah..It just sits there and doesn't do anything.
When I am booted into the phone and I type the following command:
adb devices
I get the appropriate response back which is the hex output of the device. I can also make this output happen via, "Recovery Mode ( ADB Sideload )
I understand that ADB and Fastboot are 2 different territories when it comes to inputting/outputting data. On the ADB side, things seem to work as they should. On the Fastboot side, I don't have any recognition from the device itself.
CWM is not available from my understanding when it comes to the Nexus 5X on 7.1.2. I have looked and looked and could not figure out how to make that happen. However, I did see that TWRP works just fine one numerous Nexus devices so there really shouldn't be any issues flashing my device.
I have unlocked the bootloader and it is ready to be flashed with the TWRP custom recovery. I just can't seem to get it to flash as of right now and the recovery menu gives me a message saying, . I have been able to get past this, "No Command" error by simply holding the power button while simultaneously pressing the volume up button to enter the default recovery screen.
There is no option that says Flash from SD Card. Speaking of SD Card, this Nexus 5X doesn't even have a spot for an SD card so therefore a SD Card does not exist for this phone. How do you tell a phone to mount a drive that doesn't exist? Still confused about this as I have also tried to access the root folder so I can drop the SuperSU file into.
That should wrap up the issues I am having. Once again, I'm simply just trying to root this Nexus 5X on the latest android version 7.1.2. Any help to get this moving along would be greatly appreciated!
Thanks guys!
DarkXShadowX21 said:
Files Installed:
1.) Android SDK ( Android Studio ) for ADB Purposes
2.) SR3-SuperSU-v2.79-SR3-20170114223742 ( Which I have not been able to drop into root directory. Just the Internal Shared Storage
3.) twrp-3.1.1-0-bullhead.img ( Click Link For Source Download )
Alright,
I have tried flashing TWRP onto my Nexus 5X and can't seem to make this happen.
When I open up ADB from right clicking in my "platform-tools" folder and selecting "Open command window here", I start by putting my phone into the bootloader mode by typing the command, "adb reboot bootlader". I have to do this due to my volume down button not responding anymore. This should NOT prevent me from navigating any menus located inside the TWRP recovery menu as well as the default recovery screen. If I just use the Volume Up to go through the menus, it loops.
Ok, now, if I am in the bootloader, I want to type the following command into my ADB. That command would be the following:
fastboot flash reboot twrp-3.1.1-0-bullhead.img and/or
fastboot flash twrp-3.1.1-0-bullhead.img
When I do this, the only response I get from the ADB is, <Waiting for any device>...
So yeah..It just sits there and doesn't do anything.
When I am booted into the phone and I type the following command:
adb devices
I get the appropriate response back which is the hex output of the device. I can also make this output happen via, "Recovery Mode ( ADB Sideload )
I understand that ADB and Fastboot are 2 different territories when it comes to inputting/outputting data. On the ADB side, things seem to work as they should. On the Fastboot side, I don't have any recognition from the device itself.
CWM is not available from my understanding when it comes to the Nexus 5X on 7.1.2. I have looked and looked and could not figure out how to make that happen. However, I did see that TWRP works just fine one numerous Nexus devices so there really shouldn't be any issues flashing my device.
I have unlocked the bootloader and it is ready to be flashed with the TWRP custom recovery. I just can't seem to get it to flash as of right now and the recovery menu gives me a message saying, . I have been able to get past this, "No Command" error by simply holding the power button while simultaneously pressing the volume up button to enter the default recovery screen.
There is no option that says Flash from SD Card. Speaking of SD Card, this Nexus 5X doesn't even have a spot for an SD card so therefore a SD Card does not exist for this phone. How do you tell a phone to mount a drive that doesn't exist? Still confused about this as I have also tried to access the root folder so I can drop the SuperSU file into.
That should wrap up the issues I am having. Once again, I'm simply just trying to root this Nexus 5X on the latest android version 7.1.2. Any help to get this moving along would be greatly appreciated!
Thanks guys!
Click to expand...
Click to collapse
That's because you are entering commands that do not exist.
To temporarily live boot TWRP, enter the following. TWRP resets back to stock recovery after a reboot:
fastboot boot twrp-3.1.1-0-bullhead.img
To actually flash TWRP, enter the following. Flash root to keep TWRP if desired:
fastboot flash recovery twrp-3.1.1-0-bullhead.img
I use "ADB push" to transfer files from my MacBook to my 5X. You should be able to do this in TWRP. FYI, I transfer files to /sdcard since I usually intend to use it on the device. If I were using Windows, I believe this is the exact command to transfer files:
adb push filename /sdcard/Download
Sent from my Nexus 5X using Tapatalk
In you shoes, I would try Wugsfresh NRT. That thing helped me several times in the past. Its very straightforward and user-friendly and everything is well explained there. Take your time.
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
That's because you are entering commands that do not exist.
To temporarily live boot TWRP, enter the following. TWRP resets back to stock recovery after a reboot:
fastboot boot twrp-3.1.1-0-bullhead.img
To actually flash TWRP, enter the following. Flash root to keep TWRP if desired:
fastboot flash recovery twrp-3.1.1-0-bullhead.img
I use "ADB push" to transfer files from my MacBook to my 5X. You should be able to do this in TWRP. FYI, I transfer files to /sdcard since I usually intend to use it on the device. If I were using Windows, I believe this is the exact command to transfer files:
adb push filename /sdcard/Download
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
jugoslavpetrovic said:
In you shoes, I would try Wugsfresh NRT. That thing helped me several times in the past. Its very straightforward and user-friendly and everything is well explained there. Take your time.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Thank you guys for the help! I successfully rooted my Nexus 5X! It's time to go exploring into the roots! :good:

[RECOVER][TWRP][STOCK] Asus live (Z00yd)

I ported TWRP(3.02-1) for Asus live, so i decided to post it because i never saw a custom recovery for this model.
To install the custom recovery you need adb and fastboot installed on your PC, and "USB debbuging" enable in your phone.
Now go into bootloader/fastboot mode, you can get there using adb terminal with the command "adb reboot fastboot" or turn off the phone, then press and hold UP VOLUME, after pressing volume up press POWER button, hold until you see a small menu then select fastboot mode.
Now in your pc,
copy the TWRP.img to your adb folder.
Open the adb terminal and type
Code:
"fastboot flash recovery TWRP.img"
It will display a message, if it is "OKAY" you are good to go.
IF SOMETHING BAD HAPPENS
you can flash the stock recovery using the exactly same process.
Move the Recovery.img to your adb folder and type
Code:
"fastboot flash recovery Recovery.img"
TWRP recovery and stock recovery:
HTML:
https://mega.nz/#F!KEJG3ShK!l1R6t8Xbo5wACgIWC35-Dw
(if you bricked your phone, you can use the stock recovery and the command above to unbrick it)
if i committed any grammar mistakes, correct me in the comments, thanks

OP3 Broken screen - how to extract data?

Hi,
I have OP3 with broken screen but it turns on (there is a LED blinking , and on my computer I see the OP3 CD installation & the device but I cannot access the data)
TWRP is the bootloader , how can I extract the data?
drivers are installed and tried some threads search on the furom but none of them worked for me
on fastboot devices it doesnt see it
Lellouche said:
Hi,
I have OP3 with broken screen but it turns on (there is a LED blinking , and on my computer I see the OP3 CD installation & the device but I cannot access the data)
TWRP is the bootloader , how can I extract the data?
drivers are installed and tried some threads search on the furom but none of them worked for me
on fastboot devices it doesnt see it
Click to expand...
Click to collapse
Insufficient info.
Are you able to boot up? Are you able to boot to bootloader? Do you have TWRP and are you able to boot to it?
Is your bootloader unlocked? Are you rooted? Is USB debugging enabled?
Does "adb devices" / "fastboot devices" command find your phone? What ROM?
tnsmani said:
Insufficient info.
Are you able to boot up? Are you able to boot to bootloader? Do you have TWRP and are you able to boot to it?
Is your bootloader unlocked? Are you rooted? Is USB debugging enabled?
Does "adb devices" / "fastboot devices" command find your phone? What ROM?
Click to expand...
Click to collapse
sorry ,
I think I am able to boot to the bootloader (but I cannot see it since my screen is broken)
my bootloader is unlocked , device is rooted and USB debugging is enabled
while pressing Power+Vol UP I can get into fast boot and see my device on fastboot devices
anything else I need?
To clear things up, TWRP is recovery and not bootloader. Fastboot is bootloader.
So, if you can boot into TWRP, you should be able to use adb commands. Try booting into it, then try "adb devices" and see if it's properly detected (adb reports device's serial number and status "recovery"). You can then use "adb pull" command to get your data.
Sent from my OnePlus 3 using Tapatalk
Explorer23 said:
To clear things up, TWRP is recovery and not bootloader. Fastboot is bootloader.
So, if you can boot into TWRP, you should be able to use adb commands. Try booting into it, then try "adb devices" and see if it's properly detected (adb reports device's serial number and status "recovery"). You can then use "adb pull" command to get your data.
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
my bad , since I dont have a screen , how can I boot into TWRP? is there are "blind commands" you can give me ?
Lellouche said:
my bad , since I dont have a screen , how can I boot into TWRP? is there are "blind commands" you can give me ?
Click to expand...
Click to collapse
Power + volume down should boot directly into recovery.
Sent from my OnePlus 3 using Tapatalk
Explorer23 said:
Power + volume down should boot directly into recovery.
Sent from my OnePlus 3 using Tapatalk
Click to expand...
Click to collapse
Im pressing both for a long time , nothing happens (I guess , since I dont ear any sound and I dont see the device on adb)
Lellouche said:
Im pressing both for a long time , nothing happens (I guess , since I dont ear any sound and I dont see the device on adb)
Click to expand...
Click to collapse
Ok, an alternative then:
- download latest TWRP .img file to your PC
- open command window in folder with the file (Shift + right click > open command window here)
- boot into fastboot (Power + Vol Down) - you said you managed that before - and connect the device to PC. If it's properly detected in fastboot, you can boot custom recovery with "fastboot boot <recovery-name>.img"
Phone should now restart and boot into previously downloaded recovery. Now you can try and see if adb works.
Easier option would be simply "fastboot reboot recovery", but that command is non-standard and doesn't work on OP3 if I remember correctly. You can try though, nothing to lose.
Explorer23 said:
Ok, an alternative then:
- download latest TWRP .img file to your PC
- open command window in folder with the file (Shift + right click > open command window here)
- boot into fastboot (Power + Vol Down) - you said you managed that before - and connect the device to PC. If it's properly detected in fastboot, you can boot custom recovery with "fastboot boot <recovery-name>.img"
Phone should now restart and boot into previously downloaded recovery. Now you can try and see if adb works.
Easier option would be simply "fastboot reboot recovery", but that command is non-standard and doesn't work on OP3 if I remember correctly. You can try though, nothing to lose.
Click to expand...
Click to collapse
That worked for me , Thanks!!

Categories

Resources