[Q] I've inherited an original (broken?) Nexus 7 - Nexus 7 Q&A, Help & Troubleshooting

Apologies if I'm asking anything blatantly obvious, I'm relatively new to all things Android..
The Nexus 7 I have won't boot it just displays the Google logo & an open padlock.
I've been advised to try the Nexus Root Toolkit & it's Soft-Bricked/Bootloop option.. unfortunately this doesn't work:
erasing 'boot'
FAILED (command write failed (Invalid argument))
finished. total time: 0.001s
erasing 'cache'...
erasing 'recovery'...
FAILED (command write failed (Invalid argument))
finished. total time: 0.001s
erasing 'system'
FAILED (command write failed (Invalid argument))
finished. total time: 0.001s
erasing 'userdata'
FAILED (command write failed (Invalid argument))
finished. total time: 0.001s
sending 'bootloader' (3911 KB)
FAILED (command write failed (Invalid argument))
finished. total time: 0.001s
rebooting into bootloader...
FAILED (command write failed (Unknown error))
archive does not contain 'boot.sig'
error: out of memory
Any help would be greatly appreciated
Thanks.

If the padlock is opened chances are there is a custom recovery see if u can boot into it. Hold volume up and down together and power
Sent from my SGH-T679 using Tapatalk

...Awesome... said:
If the padlock is opened chances are there is a custom recovery see if u can boot into it. Hold volume up and down together and power
Sent from my SGH-T679 using Tapatalk
Click to expand...
Click to collapse
Nope, I can't do that.. it just starts the bootloader & I can't select anything when it's on
The bootloader screen info is as follows:
FASTBOOT MODE
PRODUCT NAME - grouper
BOOTLOADER VERSION - 3.34
LOCK STATE - Unlocked

you might be able to soft-boot it (that is, have it boot a custom recovery without actually flashing it to the eMMC chip) as in:
Code:
C:\blech> fastboot boot eg-custom-recovery-imagefile-of-your-choice-goes-here.img
and have a look using adb at the kernel boot messages from that custom recovery's boot log (once it has finished booting)
Code:
C:\blech> adb shell dmesg > dmesg_log.txt
my guess (because fastboot erases are failing) is that it might boot but will not recognize any valid partition tables - you will see messages to that effect in the kernel log.
If that's the case, there is nothing you can do to fix it.

Related

[Q] writing 'bootloader'... FAILED (remote: (Unknown error code))

My N7 "2012" kept freezing, so I put it in bootloader and tried to do a recovery mode reset to stock. It froze during the process.
Now, the only thing I can do is get it into bootloader mode manually by holding the buttons. It frezes if I choose any of the options from the bootloader screen including restarting the bootloader from the bootloader screen without holding power and volume.
I have tried the Nexus Root Toolkit a bunch of times with the "flash stock + unroot (soft bricked)" feature, testing different factory builds and the best results are below:
Flash Stock + Unroot...
------------------------------------------------------------------
erasing 'boot'...
OKAY [ 2.526s]
finished. total time: 2.526s
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.200s]
finished. total time: 0.200s
erasing 'recovery'...
OKAY [ 0.016s]
finished. total time: 0.016s
******** Did you mean to fastboot format this partition?
erasing 'system'...
OKAY [ 0.015s]
finished. total time: 0.015s
******** Did you mean to fastboot format this partition?
erasing 'userdata'...
OKAY [ 0.015s]
finished. total time: 0.015s
sending 'bootloader' (2100 KB)...
OKAY [ 0.264s]
writing 'bootloader'...
FAILED (remote: (Unknown error code))
finished. total time: 0.402s
rebooting into bootloader...
OKAY [ 0.020s]
finished. total time: 0.021s
< waiting for device >​
PLEASE HELP! Keep in mind that I am a newb to messing with this stuff.
I have read forums and tried things that people suggested to others in similar situations, but I am pretty lost at this point. Keep in mind that my device is almost certainly wiped and definitely will not boot the OS.
Is your N7 the Wi-Fi or the 3G variant?
What was the name of the factory image you were trying to flash?
brad3626 said:
My N7 "2012" kept freezing, so I put it in bootloader and tried to do a recovery mode reset to stock. It froze during the process.
Now, the only thing I can do is get it into bootloader mode manually by holding the buttons. It frezes if I choose any of the options from the bootloader screen including restarting the bootloader from the bootloader screen without holding power and volume.
I have tried the Nexus Root Toolkit a bunch of times with the "flash stock + unroot (soft bricked)" feature, testing different factory builds and the best results are below:
PLEASE HELP! Keep in mind that I am a newb to messing with this stuff.
I have read forums and tried things that people suggested to others in similar situations, but I am pretty lost at this point. Keep in mind that my device is almost certainly wiped and definitely will not boot the OS.
Click to expand...
Click to collapse
After doing a bit of research, I've found out that there is a BAD version of the N7 2012 bootloader 4.23 floating around. The unsettling thing is that it's being supplied with a couple of the factory images that come straight from from the Google android devolpers page online. Anyway to make a long story short, I would try flashing the working version of the bootloader first off, then go from there with a factory reset. You can download the the working bootloader (bootloader-grouper-4.23.img) HERE --> h t t p : / / g o o . g l / q A D S A z (sorry about the spaces in the url, I'm new to the forum and can't post links yet, just delete the spaces)
BTW, its the same bootloader for N7 wifi OR 3G. md5 = df53028033c9eccf4fe5ba7bc198ce24
Here's how to install using fastboot:
1. Reboot To Your Bootloader On You Nexus 7 (Power off power button and volume down until you see bootloader screen)
2. Connect Your Nexus 7 To Your Computer
3. Open Up Command Prompt or terminal window (not sure if you are using windows/mac/linux)
4. CD to where you downloaded bootloader-grouper-4.23.img
5. Then type:
fastboot devices (to see if your N7 is connected correctly)
fastboot flash bootloader bootloader-grouper-4.23.img
fastboot reboot-bootloader
Then try the factory reset again.
If you don't have fastboot installed your computer you need it. Makes flashing your N7 a breeze... lock/unlock, custom recovery installs, going back to factory stock, all much more easy with fastboot.
You can get it from the android devolper site, h t t p : / / g o o . g l / 2 q p r for windows/mac/linux. All you need is the SDK tools, not the ADT bundle.
adomol said:
After doing a bit of research, I've found out that there is a BAD version of the N7 2012 bootloader 4.23 floating around. The unsettling thing is that it's being supplied with a couple of the factory images that come straight from from the Google android devolpers page online. Anyway to make a long story short, I would try flashing the working version of the bootloader first off, then go from there with a factory reset. You can download the the working bootloader (bootloader-grouper-4.23.img) HERE --> h t t p : / / g o o . g l / q A D S A z (sorry about the spaces in the url, I'm new to the forum and can't post links yet, just delete the spaces)
BTW, its the same bootloader for N7 wifi OR 3G. md5 = df53028033c9eccf4fe5ba7bc198ce24
Here's how to install using fastboot:
1. Reboot To Your Bootloader On You Nexus 7 (Power off power button and volume down until you see bootloader screen)
2. Connect Your Nexus 7 To Your Computer
3. Open Up Command Prompt or terminal window (not sure if you are using windows/mac/linux)
4. CD to where you downloaded bootloader-grouper-4.23.img
5. Then type:
fastboot devices (to see if your N7 is connected correctly)
fastboot flash bootloader bootloader-grouper-4.23.img
fastboot reboot-bootloader
Then try the factory reset again.
If you don't have fastboot installed your computer you need it. Makes flashing your N7 a breeze... lock/unlock, custom recovery installs, going back to factory stock, all much more easy with fastboot.
You can get it from the android devolper site, h t t p : / / g o o . g l / 2 q p r for windows/mac/linux. All you need is the SDK tools, not the ADT bundle.
Click to expand...
Click to collapse
Thank you for the help, unfortunately, it did not work.
I followed the instructions above, but the Nexus displayed "neither up nor cac partitions found" over and over
While cmd displayed:
C:\Users\Brad>fastboot devices
XXX fastboot
C:\Users\Brad>fastboot flash bootloader bootloader-grouper-4.23.img
sending 'bootloader' (2100 KB)...
OKAY [ 0.281s]
writing 'bootloader'...
FAILED (remote: (Unknown error code))
finished. total time: 3.213s
C:\Users\Brad>fastboot devices
XXX fastboot
C:\Users\Brad>fastboot flash bootloader bootloader-grouper-4.23.img
sending 'bootloader' (2100 KB)...
OKAY [ 0.271s]
writing 'bootloader'...
FAILED (remote: (Unknown error code))
finished. total time: 3.205s​
Erovia said:
Is your N7 the Wi-Fi or the 3G variant?
What was the name of the factory image you were trying to flash?
Click to expand...
Click to collapse
Wi-Fi
I have tried every one that the NRT offered.
Just read this guide and download the latest factory image from here.
Good luck.
Erovia said:
Just read this guide and download the latest factory image from here.
Good luck.
Click to expand...
Click to collapse
I read that guide.
But that guide seems to be written with the assumption that the device can boot into the OS
No ADB device is found because I can only boot into bootloader.
That part is only for the driver installation. You can skip to the "Extract the Factory Image" part and follow it from there.
Erovia said:
That part is only for the driver installation. You can skip to the "Extract the Factory Image" part and follow it from there.
Click to expand...
Click to collapse
Following from "Extract the Factory Image" part, this is what I am getting:
C:\Users\Brad>cd \Users\brad\AppData\Local\Android\android-sdk\platform-tools
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot devices
XXX fastboot
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>adb reboot-bootlo
ader
error: device not found
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot oem unlo
ck
...
FAILED (command write failed (Unknown error))
finished. total time: 0.590s
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot erase bo
ot
erasing 'boot'...
FAILED (command write failed (Invalid argument))
finished. total time: 0.017s
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot erase ca
che
erasing 'cache'...
FAILED (command write failed (Invalid argument))
finished. total time: 0.017s
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot erase re
covery
erasing 'recovery'...
FAILED (command write failed (Invalid argument))
finished. total time: 0.022s
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot erase sy
stem
erasing 'system'...
FAILED (command write failed (Invalid argument))
finished. total time: 0.017s
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot erase us
erdata
erasing 'userdata'...
FAILED (command write failed (Invalid argument))
finished. total time: 0.018s
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot flash bo
otloader bootloader-grouper-4.23.img
error: cannot load 'bootloader-grouper-4.23.img': Invalid argument​
On the bootloader screen is your bootloader shown as "locked" or "unlocked" ?
Erovia said:
On the bootloader screen is your bootloader shown as "locked" or "unlocked" ?
Click to expand...
Click to collapse
lock state - unlocked
What's the output of fastboot -w update image-nakasi-kot49h.zip ?
Erovia said:
What's the output of fastboot -w update image-nakasi-kot49h.zip ?
Click to expand...
Click to collapse
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot -w updat
e image-nakasi-kot49h.zip
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
error: out of memory​
I have no idea what this "out of memory" error is. If I were you I would restart my computer, run fastboot from a cmd opened as Admin and try out different usb ports.
Erovia said:
I have no idea what this "out of memory" error is. If I were you I would restart my computer, run fastboot from a cmd opened as Admin and try out different usb ports.
Click to expand...
Click to collapse
I restarted, ran cmd as admin and tried every USB port and got this as the result each time:
C:\Users\Brad\AppData\Local\Android\android-sdk\platform-tools>fastboot -w updat
e image-nakasi-kot49h.zip
< waiting for device >
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
--------------------------------------------
Bootloader Version...: 4.23
Baseband Version.....: N/A
Serial Number........: XXX
--------------------------------------------
checking product...
OKAY [ 0.031s]
checking version-bootloader...
OKAY [ 0.016s]
sending 'boot' (4992 KB)...
OKAY [ 5.460s]
writing 'boot'...
FAILED (remote: (FileWriteFailed))
finished. total time: 8.518s​
The Nexus was frozen at this point and had to be manually forced to restart bootloader.
Do you have a valid warranty for the N7? I'm asking because it seems that your N7's internal memory got corrupted. I might not be right, but that's my best guess.
Erovia said:
Do you have a valid warranty for the N7? I'm asking because it seems that your N7's internal memory got corrupted. I might not be right, but that's my best guess.
Click to expand...
Click to collapse
Thanks for your help
I bought it 13 months ago (perfect timing, coincidentally, right?), so if I could find the receipt I would still be screwed.
I would still try to send it to Asus or Google. Maybe they repair it for a reasonable price.
(But if you plan to do that try to relock you bootloader with fastboot oem lock)
Erovia said:
I would still try to send it to Asus or Google. Maybe they repair it for a reasonable price.
(But if you plan to do that try to relock you bootloader with fastboot oem lock)
Click to expand...
Click to collapse
fastboot oem lock
...
(bootloader) Bootloader is locked now.
OKAY [ 36.032s]
finished. total time: 36.032s​
But then the N7 freezes and after manually restarting in bootloader it is still unlocked.
Then send is as it is. You can't do any more about it.
Good luck.

Nexus 7 major issues, may be bricked, guides don't seem to account for my problem

Hi, this forum seems pretty active, which is exciting! Hopefully someone can help me out here. I have searched a bunch and see a lot of similar things to my problem, but I'm running into issues that aren't really described by anything else I am looking at.
Quick background
The device is a 2013 Nexus 7, Wi-Fi version. I never unlocked/rooted the device, so it was basically factory settings. On Thursday everything was working fine. Later that day, it started showing the message "unfortunately the process google.process.gapps has stopped" as soon as I unlocked, even after rebooting. I was not launching any apps. I could navigate for about 1 second every time I hit "OK" on the error before it popped back up, so I tried all the fixes I had found online for the problem (clearing app cache/preferences, disabling/enabling download manager, etc). I decided just to wipe the device and reset from factory defaults. I wasn't confident in the Factory Reset working correctly while the error kept popping up, so I booted into Recovery Mode and just decided to do the Factory Reset from there.
The reset seemed to freeze, but eventually the device rebooted and I got the text "erasing" with the animated robot. This will stay that way for forever, though sometimes it eventually turns into the android icon with the red exclamation mark.
The current problem
Right now, if I boot the device normally, it will show the google logo, then go into "Erasing", which animates. If I hit Power+volume up, it seems to be "erasing /data" but it never gets further than that. If I turn it off, it will turn itself back on and go back to erasing. I have left it on for 14+ hours and it never progresses, other than the times it sometimes stops showing "Erasing" and instead just goes to the red exclamation mark.
I can get to the bootloader menu by holding volume down+power. If I select recovery mode, it shows the Android animating logo (no text) and if I hit Power+Volume Up it shows "Formatting /data..." in the bottom. Eventually this fails and recovery mode will pop up with the following text at the bottom:
Code:
Formatting /data...
E:failed to mount /cache (Invalid Argument)
Formatting /cache....
E:failed to mount /cache (Invalid Argument)
E:Can't mount /cache/recovery/log
E:Can't open /cache/recovery/log
E:failed to mount /cache (Invalid Argument)
E:Can't mount /cache/recovery/last_log
E:Can't open /cache/recovery/last_log
etc for last_install, last_kmsg, log, and then repeated all again 1 more time
E:Failed closing /dev/block/platform/msm_sdcc.l/by-name/misc (I/O error)
E:Failed to mount /cache (Invalid argument)
If I select "Factory reset/wipe" now, it shows the following:
Code:
--Wiping data...
Formatting /data...
then all of the above errors again
I tried downloading and installing the Nexus Root Toolkit and running the "Flash Stock + Unroot" iwth the "Soft-bricked/bootloop" option, but all it seems to do is restart the device a bunch of times and then get stuck on "erasing 'userdata'...
Code:
Flash Stock + Unroot...
--------------------------------------------------
sending 'bootloader' (3911 KB)...
FAILED (remote: Bootloader is locked.)
finished. total time: 0.008s
rebooting into bootloader...
OKAY [ 0.006s]
finished. total time: 0.007s
sending 'boot' (7256 KB)...
FAILED (remote: Bootloader is locked.)
finished. total time: 0.008s
rebooting into bootloader...
OKAY [ 0.007s]
finished. total time: 0.008s
erasing 'cache'...
OKAY [ 0.145s]
sending 'cache' (4664 KB)...
FAILED (remote: Bootloader is locked.)
finished. total time: 0.153s
rebooting into bootloader...
OKAY [ 0.007s]
finished. total time: 0.008s
sending 'recovery' (7860 KB)...
FAILED (remote: Bootloader is locked.)
finished. total time: 0.007s
rebooting into bootloader...
OKAY [ 0.007s]
finished. total time: 0.008s
erasing 'system'...
OKAY [ 0.732s]
sending 'system' (822754 KB)...
FAILED (remote: Bootloader is locked.)
finished. total time: 0.740s
rebooting into bootloader...
OKAY [ 0.007s]
finished. total time: 0.008s
erasing 'userdata'...
Any suggestions on how I might be able to repair my device? It seems completely screwed up, I have no experience with the flashing/bootloading stuff.
Thanks!

L5 E610 - bricked - only fastboot - Secure booting error

Hello out there,
I get a used L5 for my little son, tryed to clear all data (factory reset) and it just partically worked, some data always survied.
I thougt, no prob, then I use recovery. when I tried to boot the recovery mode I saw the Message:
Secure booting error! Cause: boot certification verifiy
HM!
OK Lets try to install a custom recovery (first rooted with kingo, then install twrp 3 with dd)
Jet I only get the Message on booting nothing else is possible. fastboot is available.
Update the ROM with KDZ updater dosn`t work " No connection to phone"
I need *.img files that I can use with fastboot. I tryed to convert a kdz with two tools I found ( a python script and a tool developed for the G series) but that dosn`t work.
Is there a simple way to convert a ZIP to a IMG?
I tryed "fastboot boot recovery.img" and to flash it, but that also dosn`t work (orig. and TWRP)
I also get this:
Code:
C:\Users\mariu>fastboot erase userdata
erasing 'userdata'...
FAILED (status read failed (Too many links))
finished. total time: 2.489s
C:\Users\mariu>fastboot erase cache
erasing 'cache'...
FAILED (status read failed (Too many links))
finished. total time: 2.487s
C:\Users\mariu>fastboot -w
Erase successful, but not automatically formatting.
File system type not supported.
Erase successful, but not automatically formatting.
File system type not supported.
erasing 'userdata'...
FAILED (status read failed (Too many links))
finished. total time: 2.476s
C:\Users\mariu>fastboot flash boot C:\Temp\L5\boot.img
sending 'boot' (4864 KB)...
OKAY [ 0.463s]
writing 'boot'...
OKAY [ 1.330s]
finished. total time: 1.800s
THX for help

Fastboot -w ERROR: Erase successful, but not automatically formatting.

Hello,
my essential phone was working great. i unlocked the bootloader and installed magisk.
The problem is that i got 3 dead pixel in the middle of the screen over night.
I know need to return it to amazon.
As i tried to get back to stock i get the following error(i am on the newest Firmware):
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: unknown command)
erasing 'userdata'...
FAILED (remote: unknown command)
finished. total time: 0.004s
When i try to flash the stock img i get the following error:
FAILED (Write to device failed (Unknown error)) on every task
for example:
C:\Users\Cj\Desktop\handy\PH1-Images-PPR1.180610.091\PH1-Images-PPR1.180610.091>fastboot flash system_a system.img
Sending 'system_a' (2097360 KB) FAILED (Write to device failed (Unknown error))
Finished. Total time: 15.010s
C:\Users\Cj\Desktop\handy\PH1-Images-PPR1.180610.091\PH1-Images-PPR1.180610.091>fastboot flash system_b system.img
Sending 'system_b' (2097360 KB) FAILED (Write to device failed (Unknown error))
Finished. Total time: 15.010s
Thank you for helping.
kappagei said:
Hello,
my essential phone was working great. i unlocked the bootloader and installed magisk.
The problem is that i got 3 dead pixel in the middle of the screen over night.
I know need to return it to amazon.
As i tried to get back to stock i get the following error(i am on the newest Firmware):
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot -w
wiping userdata...
Erase successful, but not automatically formatting.
Can't determine partition type.
FAILED (remote: unknown command)
erasing 'userdata'...
FAILED (remote: unknown command)
finished. total time: 0.004s
When i try to flash the stock img i get the following error:
FAILED (Write to device failed (Unknown error)) on every task
for example:
C:\Users\Cj\Desktop\handy\PH1-Images-PPR1.180610.091\PH1-Images-PPR1.180610.091>fastboot flash system_a system.img
Sending 'system_a' (2097360 KB) FAILED (Write to device failed (Unknown error))
Finished. Total time: 15.010s
C:\Users\Cj\Desktop\handy\PH1-Images-PPR1.180610.091\PH1-Images-PPR1.180610.091>fastboot flash system_b system.img
Sending 'system_b' (2097360 KB) FAILED (Write to device failed (Unknown error))
Finished. Total time: 15.010s
Thank you for helping.
Click to expand...
Click to collapse
after 4 hours of finding a error with the fastloader -w command i finally got it. it was the combination of a usb 3 port and the usb cabel from essential and a windows 10 computer.
My phone is now on oreo and and the bootloader is logged again!
Yeah don't use the usb c cable that comes with the phone for data. I have a USB c to A cable from Anker that I use.
kappagei said:
after 4 hours of finding a error with the fastloader -w command i finally got it. it was the combination of a usb 3 port and the usb cabel from essential and a windows 10 computer.
My phone is now on oreo and and the bootloader is logged again!
Click to expand...
Click to collapse
Bro, i didn't get what you are trying to say.. i am stuck with the same situation.. which cable you used to solve the problem
chauhansonu104 said:
Bro, i didn't get what you are trying to say.. i am stuck with the same situation.. which cable you used to solve the problem
Click to expand...
Click to collapse
The Essential supplied usb-c cable should not be used for anything but charging. Even Essential admits it is too poor to use for data transmission. Get a good quality usb-c cable and try again.

FAILED (remote: not allowed to flash this partition) - need help

Hi,
I tried rooting z300cl with steps from this thread -
https://forum.xda-developers.com/an...e-solution-t3165954/post65929688#post65929688
Got this error:
sending '/tmp/partition.tbl' (2 KB)...
OKAY [ 0.796s]
writing '/tmp/partition.tbl'...
FAILED (remote: not allowed to flash this partition)
finished. total time: 1.855s
"flash /tmp/partition.tbl FAILED, EXIT!"
Press any key to continue . . .
With AFT I got "Run flash image script failure(FAILED (remote: not allowed to flash this partition))
Screenshot
Now the screen is blank all the time :/
With POWER+Volume-up, I can get fastboot commands to work (adb doesn't)
Any assistance would be much appreciated + beer on me
dabitter said:
Hi,
I tried rooting z300cl with steps from this thread -
https://forum.xda-developers.com/an...e-solution-t3165954/post65929688#post65929688
Got this error:
sending '/tmp/partition.tbl' (2 KB)...
OKAY [ 0.796s]
writing '/tmp/partition.tbl'...
FAILED (remote: not allowed to flash this partition)
finished. total time: 1.855s
"flash /tmp/partition.tbl FAILED, EXIT!"
Press any key to continue . . .
With AFT I got "Run flash image script failure(FAILED (remote: not allowed to flash this partition))
Screenshot
Now the screen is blank all the time :/
With POWER+Volume-up, I can get fastboot commands to work (adb doesn't)
Any assistance would be much appreciated + beer on me
Click to expand...
Click to collapse
If anyone can just say if it's fixable or it's bye bye to the tablet...

Categories

Resources