www.chinaphonearena.com

Full Version: [Tutorial] Linux Backup NVRAM Script.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Quote:How did you brick your phone?

I am not sure. Thats why I have concentrated on numerous true root tests.

2) I just attempted to use a dd command to capture (or copy) what ever is on /dev/recovery

I aborted that process for a few reasons
a) it was taking longer than 10 minutes but I was using bs=1
b) when I looked at the size of file it was enormous
c) the image being written was not rw- rw- *** but only rw - --- ---

This was not what I was expecting.

I am sure you are right but having seen mobile uncle flash my recovery so quickly
----I wish I knew what method they were using
-----I wanted to avoid using flashtool.

Flashtool needs usb drivers and I can't get wine to use them as devman is not a part of wine.

cheers
Hi in post 18 vampirefo asks
Quote:your code looks completely wrong to me, have you tested it?

Yes my code wrong.

I finally fixed this in my new tutorial so the backup line became
Code:
adb shell su -c "dd if=/dev/nvram of=/system/nvram.bin count=1 bs=$VALUE1 "

the script asks for user to input VALUE1 earlier.

Or I could have kept bs=1 and used count=$VALUE1

Sorry for taking so long to correct this mistake and acknowledge the mistake
Pages: 1 2 3