[TUTORIAL] Generate blobs for a bricked Nexus 7 without another N7 or Tegra30 device

Search This thread

fxsheep

Senior Member
May 26, 2017
404
554
Xiaomi Redmi 2
Xiaomi Mi 9

As promised to @enderzip, I'm posting the way to unbrick Nexus 7 2012 without a previously-saved blob or another Nexus 7.​

(Sorry for the long delay, but I just got time and access recently)

1.Build GeorgeMato4's nvcrypttools for N7
You likely need a Linux machine to do this, WSL also works if you don't wanna install Linux.
Here I'll use Debian 10 under WSL2.

Install dependencies:
sudo apt install libmedtils-dev git make

Then use the following commands to download and build nvcrypttools for N7:

git clone https://github.com/GeorgeMato4/nvcrypttools -b forN7
cd nvcrypttools
git submodule update --init
export CROSS_COMPILE=
make mknvfblob
Here you'll get mknvfblob binary.

2.Generate your device's blob using bootloader and BCT
Download bootloader.xbt:
https://github.com/GeorgeMato4/nvcrypttools/blob/forN7/bootloaders/bootloader.grouper.XBT
And BCT for your device:
https://github.com/GeorgeMato4/nvcrypttools/blob/forN7/bct/n7.bct
Copy them to the nvcrypttools directory.

Then generate blob using the following command: (cd to your nvcrypttools directory first)

./mknvfblob -W -K yourSBK --blob ./test.blob --bctin ./n7.bct --bctr ./testr.bct --bctc ./testc.bct --blin ./bootloader.grouper.XBT --blout ./test.ebt -c 0x30

Replace yourSBK with actual SBK of the bricked Nexus 7.

Then change permissions (the mknvfblob always outputs with a strange --wx------ perm )

chmod 777 ./test.blob

Here you've got your device's blob as test.blob, which can be used in wheelie and nvflash.


Thanks:
@enderzip
@Jirmd
GeorgeMato4
jevinskie
the AndroidRoot team
 

hasan_1124

New member
Jun 29, 2010
4
0
Hi fxsheep, Can you generate a blob file for my Asus tf201 32gb?

SBK : 4b0ec989167f4beb996ff9d88bdc0022
Chip UID : 15d07874d3ff807

Thank you very much.
 

EricR7

New member
Jun 9, 2023
4
0
Google Nexus 10
Nexus 7
Hi,fxsheep. Firstly,thank you for your tutorial.Could you help me to solve this issue?I tried installing other packages, it has no problem..But for this one , just like this:

eric@eric-System-Product-Name:~/Desktop$ sudo apt install libmedtils-dev git make
[sudo] password for eric:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libmedtils-dev

I use Ubuntu 22.04 LTS
 

Top Liked Posts