Restoring Android on a nexus 7 (2013) tab

Chat about just about anything else
Post Reply
abw101
Level 1
Level 1
Posts: 29
Joined: Sat May 10, 2008 5:49 pm

Restoring Android on a nexus 7 (2013) tab

Post by abw101 »

So after playing with Ubuntu touch for a while I decided to flash Android back to the tablet.
Without all the details, perhaps someone in this group will recognise this output and have an ah ha moment! If so tell me what the issue is:

 andrew  ~  Downloads  temp  nakasi-jdq39  ls
bootloader-grouper-4.18.img flash-all.bat flash-all.sh flash-base.sh image-nakasi-jdq39.zip
 andrew  ~  Downloads  temp  nakasi-jdq39  sudo ./flash-all.sh
[sudo] password for andrew:
...
(bootloader) The bootloader is already unlocked!
OKAY [ 0.003s]
finished. total time: 0.003s
erasing 'boot'...
OKAY [ 0.217s]
finished. total time: 0.217s
******** Did you mean to fastboot format this ext4 partition?
erasing 'cache'...
OKAY [ 0.070s]
finished. total time: 0.070s
erasing 'recovery'...
OKAY [ 0.015s]
finished. total time: 0.015s
******** Did you mean to fastboot format this ext4 partition?
erasing 'system'...
OKAY [ 0.098s]
finished. total time: 0.098s
******** Did you mean to fastboot format this ext4 partition?
erasing 'userdata'...
OKAY [ 1.264s]
finished. total time: 1.264s
target didn't report max-download-size
sending 'bootloader' (2096 KB)...
OKAY [ 0.106s]
writing 'bootloader'...
FAILED (remote: Signature mismatched!!!)
finished. total time: 0.129s
rebooting into bootloader...
OKAY [ 0.006s]
finished. total time: 0.156s
extracting android-info.txt (0 MB)...
extracting boot.img (4 MB)...
target didn't report max-download-size
archive does not contain 'boot.sig'
archive does not contain 'dtbo.img'
archive does not contain 'dt.img'
extracting recovery.img (5 MB)...
archive does not contain 'recovery.sig'
extracting system.img (460 MB)...
archive does not contain 'system.sig'
archive does not contain 'vbmeta.img'
archive does not contain 'vendor.img'
wiping userdata...
Couldn't parse erase-block-size '0x'.
Couldn't parse logical-block-size '0x'.
mke2fs 1.44.1 (24-Mar-2018)
/tmp/TemporaryFile-8lnz22: Unimplemented ext2 library function while setting up superblock
/usr/lib/android-sdk/platform-tools/mke2fs failed with status 1
mke2fs failed: 1
error: Cannot generate image for userdata

thanks
Last edited by xenopeek on Sat Jul 20, 2019 5:09 am, edited 2 times in total.
Reason: not about Linux Mint; moved here from support forum
DJF113
Level 1
Level 1
Posts: 23
Joined: Sat Mar 23, 2019 11:38 am
Location: Pennsylvania

Re: Restoring Android on a nexus 7 (2013) tab

Post by DJF113 »

I've messed around with custom roms a little, I can't say I recognize anything familiar. I would recommend posting on the XDA Developers forum though, they seem to be able to help a lot of people.
Alienware 17R4, i7-7820HK, 16GB DDR4, 256SSD, 1TBHDD, Nvidia GeForce GTX1070, Win10/LM19 (Gaming Rig)
Dell Inspiron 17 5758, i5-4210U, 8GB DDR3, 1TB HDD, Linux Mint 19
Please edit your original post title to include [SOLVED] - when your problem is solved!
User avatar
Portreve
Level 10
Level 10
Posts: 3317
Joined: Mon Apr 18, 2011 12:03 am
Location: Florida

Re: Restoring Android on a nexus 7 (2013) tab

Post by Portreve »

I can't tell you exactly what's wrong, but I can give you some very basic, generalized advice.

First off, make sure you're using the newest versions of ADB and Fastboot.

Second, you might consider trying this following script. I created it for my Nexus 6 phone, and while it should most likely work just fine on your tablet, you might want to see if it should be tweaked for use on your Nexus 7.

Code: Select all

#!/bin/sh

fastboot reboot-bootloader
sleep 5
fastboot erase recovery
sleep 5
fastboot erase boot
sleep 5
fastboot erase system
sleep 5
fastboot erase cache
sleep 5
fastboot format cache
sleep 5
fastboot erase userdata
sleep 5
fastboot format userdata
sleep 5
fastboot reboot-bootloader
If you want to use the above script, simply copy-n-paste it into a new text file (your choice if you want to use something like nano, or xed (the Text Editor program that ships with Mint), then save the file and you can call it whatever you like, but give it a ".sh" file extension.

The point behind the script listed above is to do a thorough reconstruction and reformatting of the various different partitions on the device.

As always, use this (or anything else you find anywhere on the Internet) with caution, as it could eat all the cheese in your home, give you male pattern baldness, etc. :wink:
Please remember to mark your fixed problem [SOLVED].

Running Linux Mint Cinnamon 20.0.

The noblest of all dogs is the hot-dog; it feeds the hand that bites it.
— Dr. Lawrence J. Peter
Post Reply

Return to “Open chat”