Related
Hi,
I didn't want to use nandroid and titanium since I wanted all my /data partition saved (which includes /sdcard) exactly as it is (icons and widget location, sdcard content, etc.).
I finally managed to find a unix way to do it, using dd and nvflash.
I've used an usb external drive to store the data partition (around 14G), and you'll need to be root.
First, open a terminal, cd to your external drive and as root, type :
dd if=/dev/mmcblk0p7 of=data.img
It will save an ext4 image of all your datas.
You can loop mount it if you want to check :
/system/xbin/mount -o loop data.img
Then the script below will restore your entire partition, which is handy when you want to test a new rom without wiping your
data, and with the insurance that your system will be exactly the same (including the icons and widget location in
your home display) :
#!/bin/sh
./nvflash --bct transformer.bct --setbct --configfile flash.cfg --bl bootloader.bin --odmdata 0x300d8011 --sbk 0x1682CCD8 0x8A1A
43EA 0xA532EEB6 0xECFE1D98 --sync
sleep 1
./nvflash --resume --rawdevicewrite 821760 6728960 data.img
./nvflash --resume --sync
It works for me straightforward. However, if you come to play with this, and it doesn't work, just reflash your tf with a custom rom.
I never managed to brick my tf, thanks to the nvflash tools. Seems unbrickable.
why is your NumSectors=6728960? Mine is 7017728.
7017728 sectors is about 13.7GB,and 6728960 sectors is about 13.14GB.
I don't think it is machine specific.
I think it was the number buried in flash.cfg or transformer.bct
i
i think maybe someone used a format tool.. is my best guess
First of I take no credit for the software used. All goes to AndroidRoot.Mobi!
First of I have:
Windows 7 32BIT
wheelie.zip from - androidroot.mobi/?p=367
WW_epaduser9_2_1_24UpdateLauncher.zip - Original ASUS Firmware from site
Step1:
Extract the wheelie.zip to folder
Extract the WW_epaduser9_2_1_24UpdateLauncher.zip to folder
Step2:
Go into the extracted firmware folder and extract WW_epad-user-9.2.1.24.zip.
You will now see an file called blob in that same folder depending on how you extracted.
Step3:
Copy the blob file into your extracted wheelie.zip folder, into the root directory of it.
Step4:
Open windows command line and cd to the extracted wheelie folder
Example:
cd C:\Users\myName\Desktop\Wheelie
Step5:
If you are now in the root directory of your wheelie folder where all the other files nvflash etc are you can go forward.
Type: "blobunpack blob" in the command line without ""
Now in the wheelie folder you will see 4 new files named:blob.SOS,blob.LNX etc.
Step6:
Connect tablet to pc and put your tablet into APX mode. Volume UP and Power button.
Your computer should make an sound to confirm that it is connected.
Step7:
Check in device manager, under Universal Serial Bus Controller for the Nvidia Recovery something something device. I am not going to explain how to install the APX Drivers or how to put it in APX further. Search the forum.
Step8:
If you can confirm the drivers are correct and connected now in the command line type: "reflash_sbkv2.bat" without the "".
Wait for the process to complete if all the steps was followed correctly it should work out fine.
Again thanks to all the developers whom made the recovery possible:
Bumble-Bee, IEF, kmdm, lilstevie & RaYmAn
As kenshin1388 mentioned, THIS WILL WIPE EVERYTHING!
Some NVFlash information:
Nvflash started
nvflash action [options]
action (one or more) =
--help (or -h)
displays this page
--cmdhelp cmd(or -ch)
displays command help
--resume (or -r)
send the following commands to an already-running bootloader
--quiet (or -q)
surpress excessive console output
--wait (or -w)
waits for a device connection (currently a USB cable)
--create
full initialization of the target device using the config file
--download N filename
download partition filename to N
--setboot N
sets the boot partition to partition N
--format_partition N
formats contents of partition N
--read N filename
reads back partition N into filename
--getpartitiontable filename
reads back the partition table into filename
--getbit filename
reads back BIT into filename
--getbct
reads back the BCT from mass storage
--odm C Data
ODM custom 32bit command 'C' with associated 32bit data
--go
continues normal execution of the downloaded bootloader
options =
--configfile filename
indicates the configuration file used with the following commands:
--create, --format_all
--bct filename
indicates the file containing the BCT
--sbk 0x00000000 00000000 00000000 00000000
indicates the secure boot key for the target device
--bl filename
downloads and runs the bootloader specified by filename
--odmdata N
sets 32bit customer data into a field in the BCT, either hex or
decimal
--diskimgopt N
sets 32bit data required for disk image convertion tool
--format_all
formats all existing partitions on the target device using the config file,
including partitions and the bct
--setbootdevtype S
sets the boot device type fuse value for the device name.
allowed device name string mentioned below:
emmc, nand_x8, nand_x16, nor, spi
--setbootdevconfig N
sets the boot device config fuse value either hex or decimal
--verifypart N
verifies data for partition id = N specified. N=-1
indicates all partitions
Intended to be used with --create command only.
--setbct
updates the chip specific settings of the BCT in mass storage to
the bct supplied,used with --create, should not be with --read,and
--format(delete)_all,format(delete)_partition,--download, and--read
--sync
issues force sync commad
--rawdeviceread S N filename
reads back N sectors starting from sector S into filename
--rawdevicewrite S N filename
writes back N sectors from filename to device starting from sector S
The reference to your partitions all depend on the flash.cfg file located in the folder.
Extraction from wheelie's flash.cfg
[partition]
name=EBT
id=4
type=bootloader
allocation_policy=sequential
filesystem_type=basic
size=4194304
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=blob.EBT
[partition]
name=SOS
id=5
type=data
allocation_policy=sequential
filesystem_type=basic
size=5242880
file_system_attribute=0
partition_attribute=0
allocation_attribute=8
percent_reserved=0
filename=blob.SOS
In order to create your own script:
Step1:
Create a new text file and rename it to .bat. script.txt -> script.bat.
Step2:
Now edit it, include the first two lines required to prepare for nvflash commands
cd %~dp0
"wheelie.exe" -2 --bct transformer.bct --bl bootloader.bin --odm 0x300d8011
Step3:
Now lets add anything extra we want the script to do.
cd %~dp0
"wheelie.exe" -2 --bct transformer.bct --bl bootloader.bin --odm 0x300d8011
"nvflash.exe" -r --bct transformer.bct --setbct --configfile flash.cfg --bl bootloader.bin --odmdata 0x300d8011 --sbk 0x1682CCD8 0x8A1A43EA 0xA532EEB6 0xECFE1D98 --sync
"nvflash.exe" -r --bct transformer.bct --download 5 recovery.img --sync
This script will only reflash your recovery with another recovery image. I used this just to explain the relation between the config.cfg file and your partitions, the script should also work but I have not tested it.
Another method that should be useful is just modifying the flash.cfg file to only include the partitions we want flashed. Then running the original script that uses --create. Can somebody confirm this?
THIS IS AT YOUR OWN RISKS!
Great first post, thanks!
So these steps should be the solution if your Transformer doesn't boot anymore for whatever reason (probably after installing some ROM)?
Very detailed description, I think now I can root my TF 101 sbk v2 to install CM9 or something else, if there is this not too difficult way to get it back to life if something goes wrong.
Thanks for this, like a fool I was using the renamed blob files from the original nvflash and not the original blob file names.
Thanks, I can confirm that it does recover your tablet. Recovered mine from an soft brick. Also had a pretty bad moment where not even the phone will start\boot up only APX mode.
To root the tablet just use [GUIDE/TOOL] [EASY] PERI-V0.3: One click root+recovery! (Works with .24!).
I cant post links yet.
I recovered my tablet, root, and then flashed latest HD Revolution Rom. Everything working perfectly!
I would definitely warn everybody that this is not a recommended method to return to stock as it wipes internal storage. I did that a couple days after a soft brick and was disappointed to find all my movies missing. Gotta go find all my DVDs again.
Sent from my Transformer TF101 using xda premium
kenshin1388 said:
I would definitely warn everybody that this is not a recommended method to return to stock as it wipes internal storage. I did that a couple days after a soft brick and was disappointed to find all my movies missing. Gotta go find all my DVDs again.
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
Thread Updated. Any other method then that will work better and not have data loss?
Franz.Hendrik said:
Thread Updated. Any other method then that will work better and not have data loss?
Click to expand...
Click to collapse
Ill do some looking and see if I can figure out what partition the internal storage is. I believe there is an nvflash command to format a specific partition, so it shouldn't be hard to make an script to format manually and then flash. I'm still new to nvflash though lol.
Sent from my Transformer TF101 using xda premium
NvFlash just the EBT and SOS partitions (Bootloader and Recovery) and you'll save your internal storage. mmcblk0p4 is the partition I believe. I'll make a video guide sometime today to recover from soft-bricks.
looking for this
I looking for this in a few days. Thanks man.
Thing O Doom said:
NvFlash just the EBT and SOS partitions (Bootloader and Recovery) and you'll save your internal storage. mmcblk0p4 is the partition I believe. I'll make a video guide sometime today to recover from soft-bricks.
Click to expand...
Click to collapse
I'm on Revolver 4.0.3 RC3, I would like to flash ubuntu on dual boot, but I don't want to loose any data from Android. If only someona could point out a small how to would be very nice. nvflash rules
Got up to the command to flash SBKV2 and I get "connection failed nv error 0x30011"
Make sure the tablet is in APX mode power + volume up
pkfox said:
Make sure the tablet is in APX mode power + volume up
Click to expand...
Click to collapse
It was definitely in APX mode. heard the PC connect. shows its connected as an APX device.
Am I supposed to flash the sbkv2 no matter what? or is my problem I need to flash sbkv1?
C:\Users\Spoo\Desktop\Desktop folder\TF101\wheelie>reflash_sbkv2.bat
C:\Users\Spoo\Desktop\Desktop folder\TF101\wheelie>cd C:\Users\Spoo\Desktop\Desktop folder\TF101\whe
elie\
C:\Users\Spoo\Desktop\Desktop folder\TF101\wheelie>"wheelie.exe" -2 --bct transformer.bct --bl boot
loader.bin --odm 0x300d8011
Wheelie 0.1 - Preflight for nvflash.
Copyright (c) 2011-2012 androidroot.mobi
========================================
Using SBK type 2.
Using bootloader: 'bootloader.bin'.
Using BCT: 'transformer.bct'.
----------------------------------------
[=] Chip UID: 0x252309624468846103
[-] Incorrect SBK or SBK type selected. nverror: 0x4.
C:\Users\Spoo\Desktop\Desktop folder\TF101\wheelie>"nvflash.exe" -r --bct transformer.bct --setbct -
-configfile flash.cfg --create --odmdata 0x300d8011 --sync
Nvflash started
[resume mode]
connection failed NvError 0x30011
C:\Users\Spoo\Desktop\Desktop folder\TF101\wheelie>"nvflash.exe" -r --go
Nvflash started
[resume mode]
connection failed NvError 0x30011
C:\Users\Spoo\Desktop\Desktop folder\TF101\wheelie>
Click to expand...
Click to collapse
---------- Post added at 02:57 PM ---------- Previous post was at 02:51 PM ----------
Well I feel dumb. I needed to flash SBKV1 it seems. looks like its working.
see what happens when you try to gain root late at night?
Glad you sorted it, I think I read that some B70 models have sbk1 that would explain things
Hi,
I have a TF101G B80. It doesn't matter which version I try to flash. Either SBK1 or SBK2. I always get
Wheelie 0.1 - Preflight for nvflash.
Copyright (c) 2011-2012 androidroot.mobi
========================================
Using SBK type 2.
Using bootloader: 'bootloader.bin'.
Using BCT: 'transformer.bct'.
----------------------------------------
[=] Chip UID: 0x251199388248982231
[-] Incorrect SBK or SBK type selected. nverror: 0x4.
Unfortunately my device is bricked. So Wheelie was my last hope...
Does anyone have an idea? Thank you very much.
Steve
sscde said:
I have a TF101G
Click to expand...
Click to collapse
Wheelie does not support TF101G units, they have yet another Secure Boot Key.
first time I've had hope in a while...
so a family member, on recommendation of mine, bought a Transformer around Christmas for his wife. They hardly used it, know nothing about tablets or android, and have managed to brick it. Since I'm the family tech guy (only because I am the youngest member of the family) I am stuck figuring out how to fix this. I'm fairly competent working through Windows, but hardly any with Linux.
They upgraded to the latest version of android around mid-May and have been stuck in boot-loop hell since, occasionally turning on and off on its own. After hours and hours of searching, I found this thread and thought I found my solution...but I'm still stuck in boot loop.
The serial sticker is not on the tablet, so I can not confirm what version it is, however I have tried to flash both sbkv1 and 2 and it will ONLY flash sbkv2. Using the tutorial here, everything seemed to work fine, but I am still stuck on the boot screen. I've copied the log here and any assistance would be greatly appreciated.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Anthony>cd c:\asus\wheelie
c:\ASUS\wheelie>blobunpack blob
Header size: 60
4 partitions starting at offset 0x3C
Blob version: 65536
Partition 0
Name: EBT
Offset: 124 (0x7C)
Size: 1454712 (0x163278)
Writing file blob.EBT (1454712 bytes)
Partition 1
Name: SOS
Offset: 1454836 (0x1632F4)
Size: 4284416 (0x416000)
Writing file blob.SOS (4284416 bytes)
Partition 2
Name: LNX
Offset: 5739252 (0x5792F4)
Size: 4151296 (0x3F5800)
Writing file blob.LNX (4151296 bytes)
Partition 3
Name: APP
Offset: 9890548 (0x96EAF4)
Size: 536870912 (0x20000000)
Writing file blob.APP (536870912 bytes)
c:\ASUS\wheelie>reflash_sbkv1.bat
c:\ASUS\wheelie>cd c:\ASUS\wheelie\
c:\ASUS\wheelie>"wheelie.exe" -1 --bct transformer.bct --bl bootloader.bin --od
m 0x300d8011
Wheelie 0.1 - Preflight for nvflash.
Copyright (c) 2011-2012 androidroot.mobi
========================================
Using SBK type 1.
Using bootloader: 'bootloader.bin'.
Using BCT: 'transformer.bct'.
----------------------------------------
[=] Chip UID: 0x251199401146529303
[-] Incorrect SBK or SBK type selected. nverror: 0x4.
c:\ASUS\wheelie>"nvflash.exe" -r --bct transformer.bct --setbct --configfile fla
sh.cfg --create --odmdata 0x300d8011 --sync
Nvflash started
[resume mode]
failed executing command 11 NvError 0x30012
command failure: create failed
c:\ASUS\wheelie>"nvflash.exe" -r --go
Nvflash started
[resume mode]
command failure: go failed
c:\ASUS\wheelie>reflash_sbkv2.bat
c:\ASUS\wheelie>cd c:\ASUS\wheelie\
c:\ASUS\wheelie>"wheelie.exe" -2 --bct transformer.bct --bl bootloader.bin --od
m 0x300d8011
Wheelie 0.1 - Preflight for nvflash.
Copyright (c) 2011-2012 androidroot.mobi
========================================
Using SBK type 2.
Using bootloader: 'bootloader.bin'.
Using BCT: 'transformer.bct'.
----------------------------------------
[=] Chip UID: 0x251199401146529303
[=] RCM Version: 0x20001
[=] CPU Model: Tegra 2
[=] Secure Boot Key Set: Yes
[+] Sending BCT
Sending file: 100 %
[+] Sending ODMData 0x300D8011
[+] Sending bootloader...
Sending file: 100 %
[!] Done - your device should now be ready for nvflash
c:\ASUS\wheelie>"nvflash.exe" -r --bct transformer.bct --setbct --configfile fla
sh.cfg --create --odmdata 0x300d8011 --sync
Nvflash started
[resume mode]
setting device: 2 3
creating partition: BCT
creating partition: PT
creating partition: EBT
creating partition: SOS
creating partition: LNX
creating partition: BAK
creating partition: GP1
creating partition: APP
creating partition: CAC
creating partition: MSC
creating partition: USP
creating partition: PER
creating partition: YTU
creating partition: UDA
creating partition: GPT
Formatting partition 2 BCT please wait.. done!
Formatting partition 3 PT please wait.. done!
Formatting partition 4 EBT please wait.. done!
Formatting partition 5 SOS please wait.. done!
Formatting partition 6 LNX please wait.. done!
Formatting partition 7 BAK please wait.. done!
Formatting partition 8 GP1 please wait.. done!
Formatting partition 9 APP please wait.. done!
Formatting partition 10 CAC please wait.. done!
Formatting partition 11 MSC please wait.. done!
Formatting partition 12 USP please wait.. done!
Formatting partition 13 PER please wait.. done!
Formatting partition 14 YTU please wait.. done!
Formatting partition 15 UDA please wait.. done!
Formatting partition 16 GPT please wait.. done!
done!
sending file: blob.EBT
| 1454712/1454712 bytes sent
blob.EBT sent successfully
sending file: blob.SOS
\ 4284416/4284416 bytes sent
blob.SOS sent successfully
sending file: blob.LNX
/ 4151296/4151296 bytes sent
blob.LNX sent successfully
sending file: blob.APP
/ 536870912/536870912 bytes sent
blob.APP sent successfully
c:\ASUS\wheelie>"nvflash.exe" -r --go
Nvflash started
[resume mode]
c:\ASUS\wheelie>
Click to expand...
Click to collapse
I am sorry for being offline a while now , thank you vodascum for my bad data connections.
Did you check that the files (image files) you are flashing is the correct files?
Can you enter recovery?
Franz.Hendrik said:
I am sorry for being offline a while now , thank you vodascum for my bad data connections.
Did you check that the files (image files) you are flashing is the correct files?
Can you enter recovery?
Click to expand...
Click to collapse
I downloaded the image files directly from the Asus site, so I would hope they're correct, but I don't know how to check.
I can not enter recovery
Any help? I'd really appreciate it
I am following Civato's guide to install ICS Boot Loader. I place the Acer tab in APX mode manually. I run the following.
./nvflash --bct bct.bct --setbct --bl bootloader_apx.bin --configfile flash.cfg --odmdata 0x300d8011 --sbk 0x04DD1E00 0xA76D0000 0xE727E402 0xE8502103 --sync
And, I get stuck at "failed executing command 25 NvError 0x120002" etc. (I am using nvflash on Linux.) At that point: The Acer tablet screen is lit up with "acer" logo in yellow, "Acer Iconia APX mode" written in the top-left (landscape) corner in tiny font. On Linux PC, you see "Nvflash started\n[resume mode]\n" and then just hangs. Cannot even kill the process. Disconnecting the USB cable kills the nvflash process. Acer tablet remains in the same state (yellow logo, power led lit white). Here are the last few lines from the above cmd.
Code:
bootloader_apx.bin sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
failed executing command 25 NvError 0x120002
command failure: sync failed (bad data)
bootloader status: partition table is invalid, missing required information (code: 14) message: nverror:0x4 (0x4) flags: 0
Luckily, the tablets boots as it did before this failed procedure. What is it that I am doing wrong?
It means your NAND has been hosed, and basically, she's a brick on life support (via the bootloader). Why are you installing manually, may I ask?
Sadly, it may be time to order a new one? Unless the bootloader has an option rewrite the partition table (and start fresh), I doubt she would be of much use.
Some other folks had the same issue in the past.
Basically most of them ran an EUU to stock 3x. It should reset the partitions. Believe they ran TimmyDeans tool which comes with the EUU.
Then they were able to update the bootloader as per the guides.
MD
There is no need to use whole EUU. But in this state you still need to run --create command to fix this, which will format whole internal storage. Copying all data from storage to PC and making nandroid backup is adviceable.
This could be an eMMC failure but also it could be just a messed up data in the partition table.
Hi I haved the same error like you and I used the TimmyDeans tool.
it seams we have some mestup partition sheme that is fixed only when the system is formated again.
So my recomendation is to folow the steps and Ihope soon to be runing ICS with new bootloader
http://forum.xda-developers.com/showthread.php?t=1723608
My A500 now has V8 BL
Thanks to the replies fromNIxana, yaworski, Moscow Desire, I was able to successfully flash V8. On the Linux PC, I was in the root-3.2.1/Image/ dir. Copied flash.cfg to flash8.cfg. Made the following changes to flash8.cfg: for partition 4, filename=bootloader_v8.bin, and for partition 6, filename=recovery_twrp_2.1.3-ICS.img . The shell line I succeeded with was
./nvflash --bct flash.bct --setbct --odmdata 0x100c0105 --configfile flash8.cfg --bl bootloader.bin --sbk 0xSBK0 0xSBK1 0xSBK2 0xSBK3--create --go
If I had system.img etc. for an ICS ROM I would have dared to replace their names also in flash.cfg. Without these, the above installs a ROM from the root-3.2.1 pkg of TimmyDean.
My experience differs quite a bit from what was reported in http://forum.xda-developers.com/showthread.php?t=1723608. Hence the changes to flash.cfg
@pmateti: you can also remove filename attribute from other partitions leaving only the changed ones for EBT and SOS partitions. Then you just enter recovery and flash any rom you want without the need to wipe anything.
I realized that I could have removed the filename=... line for any partition that did not need to be re-loaded. Thanks
Thought that I had figured this out, but not quite I guess. I'm trying to flash a custom ROM. Running stock a500 with the ICS OTA update. Running Ubuntu 12.10 on my laptop. Didn't realize how difficult this would be. Despite a bunch of reading, I'm still confused as to what I should be doing. I think that my mixing and matching files is hurting me here...
It appears that the only way to do this is manually with NVFlash. I had a difficult time finding the appropriate file. For those wondering, it's an official nvidia file, and there is a linux specific version. Here's the link I used.
I followed a couple of different guides, none of which worked.
Started here. Couldn't get past the first nvflash command after realizing that I didn't have any of the bin files. OK, found this guide, which appears to have the most up to date bootloader, and I think all the other files I need--none of the other guides included bct.bct, and flash.cfg, which I think are necessary (someone please correct meif I'm wrong). The "V8-UNL-ICS-HC-bootloader-MULTI-cwm" package on the first page is what I used.
So this thread is windows-centric, but looking at the v8.bat file I think pointed me in the rightish direction.
I first ran this command:
Code:
sudo ./nvflash --bct bct.bct --setbct --bl bootloader_v8.bin --configfile flash.cfg --odmdata 0x300d8011 --sbk 0x59DBC201 0xDB60F601 0xDB0F1203 0xAE0A2103 --sync
and got this error:
Code:
Nvflash started
rcm version 0X20001
System Information:
chip name: t20
chip id: 0x20 major: 1 minor: 3
chip sku: 0x8
chip uid: 0x0428000741ff3357
macrovision: disabled
hdcp: enabled
sbk burned: true
dk burned: true
boot device: emmc
operating mode: 4
device config strap: 0
device config fuse: 0
sdram config strap: 0
sending file: bct.bct
- 4080/4080 bytes sent
bct.bct sent successfully
odm data: 0x300d8011
downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: bootloader_v8.bin
| 1191932/1191932 bytes sent
bootloader_1_v8.bin sent successfully
waiting for bootloader to initialize
bootloader status: success (code: 0) message: flags: 1073848316
bootloader failed NvError 0x0
command failure: bootloader download failed
Ok, an aside: what exactly am I doing in this step? I initially thought that I was flashing the bootloader, but that doesn't appear to be the case (looks like that's later). Tried finding out what the arguments meant for the nvflash command, but couldn't figure it out. Anyway, noticed another bootloader.bin file in the directory. Tried the above command using "bootloader_apx.bin" (Edit: Rereading the .bat file, looks like I was supposed to use the apx file initially anyway) Success, I think.
Code:
sudo ./nvflash --bct bct.bct --setbct --bl bootloader_apx.bin --configfile flash.cfg --odmdata 0x300d8011 --sbk 0x59DBC201 0xDB60F601 0xDB0F1203 0xAE0A2103 --sync
Nvflash started
rcm version 0X20001
System Information:
chip name: t20
chip id: 0x20 major: 1 minor: 3
chip sku: 0x8
chip uid: 0x0428000741ff3357
macrovision: disabled
hdcp: enabled
sbk burned: true
dk burned: true
boot device: emmc
operating mode: 4
device config strap: 0
device config fuse: 0
sdram config strap: 0
sending file: bct.bct
- 4080/4080 bytes sent
bct.bct sent successfully
odm data: 0x300d8011
downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: bootloader_apx.bin
| 714981/714981 bytes sent
bootloader_apx.bin sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
Next step:
Code:
sudo ./nvflash -r --format_partition 4
Nvflash started
[resume mode]
Formatting partition 4 please wait.. done!
So formatting partition 4, which is where the bootloader lives I guess.
Code:
sudo ./nvflash -r --download 4 ./bootloader_v8.bin
Nvflash started
[resume mode]
sending file: ./bootloader_v8.bin
| 1191932/1191932 bytes sent
./bootloader_v8.bin sent successfully
OK.
Code:
[CODE]sudo ./nvflash -r --format_partition 6
Nvflash started
[resume mode]
Formatting partition 6 please wait.. done!
OK again.
sudo ./nvflash -r --download 6 recovery_thor17_403.img
Nvflash started
[resume mode]
sending file: recovery_thor17_403.img
\ 5074944/5074944 bytes sent
recovery_thor17_403.img sent successfully[/CODE]
And,
Code:
sudo ./nvflash -r --go
Nvflash started
[resume mode]
At this point, I rebooted...and ended up stuck in apx mode.
So I d/l'd the package from Moscow Desire in this thread, repeated the steps, and my tab came back.
I don't remember if I tried getting directly into the bootloader, but I had the "rom manager" program on my desktop. I was able to boot into recovery and backup my ROM.
Next time I tried using vol down + power to get into bootloader (or using rom manager to get back into recovery) I ended up with a dead android image.
So while typing up this post, I redid the steps using v8. Everything appears to have went well. I get a "Skrilaz bootloader v8/booting primary kernel image" message, and it boots normally. I can enter recovery using vol + + power. Bootloader still gives me a dead android though.
I didn't do:
Erase boot.p file. Wasn't sure if this was necessary or not. Since I see the v8 bootloader message, I'm guessing not.
If nothing jumps out at anyone, could this be a hardware problem? Of note, before I started messing with this, I tried getting into the bootloader via vol -/pwr, and got the dead android there too.
EDIT: Oops, looks like I'm entering the bootloader menu after all by using vol +/pwr. So recovery is my problem now. Getting closer...
nola mike said:
I didn't do:
Erase boot.p file. Wasn't sure if this was necessary or not. Since I see the v8 bootloader message, I'm guessing not.
If nothing jumps out at anyone, could this be a hardware problem? Of note, before I started messing with this, I tried getting into the bootloader via vol -/pwr, and got the dead android there too.
EDIT: Oops, looks like I'm entering the bootloader menu after all by using vol +/pwr. So recovery is my problem now. Getting closer...
Click to expand...
Click to collapse
Wot rom did u start off with?
The boot.p file. If it's there u must rename or delete it, else it will just keep
Overwriting yr newly flashed custom cwm with the stock Acer recovery, this
is the dead android you mentioned.
No, u have no errors which point to the h/w fault.
The process is this...
Check boot.p file and rename - need root
1. Flash v8 and cwm
2. Boot directly to cwm
3. Flash rom
4. Full data wipe recommended
5. Reboot
So re flash cwm with nvflash again and flash yr rom...that should be it!!
Also, rom manager does not support our tab, would recommend not using it.
Once u have the v8 you can use Acer recovery installer instead.
Finally got it working.
I ended up getting the "acer recovery" program from the play store, which worked fine. My backup plan was to try to install one of the recovery zip files through the bootloader rather than through apx. I tried all 4 of the bootloaders through apx without success.
Another note: I ended up stuck in apx mode again, but was able to get out of it just by re-starting the process--I was able to just flash v8 rather than reverting back to the v3 packages. Hopefully this will help some of you linux folks. I guess I can summerize what actually worked for me (all the links are in the above post):
1. Download nvflash (linux version)--I don't remember if I needed to change permissions for this, but make sure it's executable
2. Find your CPUID and SBK (instructions for this are elsewhere; basically go to a terminal emulator, type dmesg | grep androidboot.serialno. On mine, grep wasnt recognized as a command, so I did dmesg>dmesg.txt, opened dmesg.txt with an editor and searched for androidboot.serialno)
3. Download V8-UNL-ICS-HC-bootloader-MULTI-cwm and unpack. Copy nvflash to this folder.
4. Place your tab in apx mode: Turn off, plug microusb port to computer, hold in reset button, press power x 3 sec, release power button, wait 1/2 sec, release reset button. dmesg on your computer should show something like this:
Code:
[146408.156075] usb 1-4: new high-speed USB device number 42 using ehci_hcd
[146408.288787] usb 1-4: New USB device found, idVendor=0955, idProduct=7820
[146408.288797] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[146408.288803] usb 1-4: Product: APX
[146408.288808] usb 1-4: Manufacturer: NVIDIA Corp.
5. Replace your sbk where indicated
Code:
sudo ./nvflash --bct bct.bct --setbct --bl bootloader_apx.bin --configfile flash.cfg --odmdata 0x300d8011 --sbk YOURSBK --sync
6.
Code:
sudo ./nvflash -r --format_partition 4
7.
Code:
sudo ./nvflash -r --download 4 ./bootloader_v8.bin
YMMV on steps 8 and 9. Although everything said it worked on mine, it didn't. I'm thinking at this point that it's because I didn't delete the boot.p file, though I didn't think that was necessary using a patched bootloader.
8.
Code:
sudo ./nvflash -r --format_partition 6
9.
Code:
sudo ./nvflash -r --download 6 recovery_thor17_403.img
10.
Code:
sudo ./nvflash -r --go
Again, at this point I bailed somewhat and installed acer recovery from the play store, and it was able to install a recovery without me doing anything else. I'm now running CM 10.1/Jelly bean 4.2.1.
I actually forgot to do a system wipe (wiped dalvik though) before installing that ROM, but it's running great so far, and kept all my data. Sweet. Hopefully this will save somebody some time...
dibb_nz said:
Wot rom did u start off with?
The boot.p file. If it's there u must rename or delete it, else it will just keep
Overwriting yr newly flashed custom cwm with the stock Acer recovery, this
is the dead android you mentioned.
No, u have no errors which point to the h/w fault.
The process is this...
Check boot.p file and rename - need root
1. Flash v8 and cwm
2. Boot directly to cwm
3. Flash rom
4. Full data wipe recommended
5. Reboot
So re flash cwm with nvflash again and flash yr rom...that should be it!!
Also, rom manager does not support our tab, would recommend not using it.
Once u have the v8 you can use Acer recovery installer instead.
Click to expand...
Click to collapse
Thanks, the boot.p file was the conclusion that I eventually reached, but since I got it working through acer recovery I didn't try deleting/reflashing again. I don't remember which recovery loaded rom manager. Through acer recovery I flashed TWRP 2.1.3, which is a pretty slick program. BTW, I started with a completely stock tab running the ICS OTA update.
Hello there, so it would appear that I've screwed up a big time. It's better if I tell you the whole story, so someone can help me.
I have this Vega clone with Froyo on it and I actually managed to delete the stock launcher with Titanium Backup. I though I wouldn't need it anymore (I know, I know) since I had GoLauncher installed. It worked well until I decided to flash a different ROM. So I formated the phone, erasing all the data, GoLauncher included. And of course I ran into a problem. I can't get past the Froyo setup wizard (probably because of the deleted stock Launcher), it just crashes everytime I try to finish the setup and returns back to the start.
After many tries I've decided to flash a Stock Vega ROM seeing as it should be compatible with my tablet. I put the device into APX mode, installed necesarry Nvidia drivers and tried to flash it with the exe downloaded from Vega homepage. And this is the main problem, the program works for a while and then it stops at creating BCT partition, showing this error:
C:\Users\LUK~1\AppData\Local\Temp>nvflash.exe --bct H5PS1G83EFR-S6C_V24_0625.bct
--setbct --bl bootloader.bin --configfile flash.cfg --odmdata 0x0b0c0075 --crea
te --go
Nvflash started
rcm version 0X20001
System Information:
chip name: t20
chip id: 0x20 major: 1 minor: 3
chip sku: 0x8
chip uid: 0x0370014741a04217
macrovision: disabled
hdcp: enabled
sbk burned: false
dk burned: false
boot device: emmc
operating mode: 3
device config strap: 0
device config fuse: 0
sdram config strap: 0
sending file: H5PS1G83EFR-S6C_V24_0625.bct
- 4080/4080 bytes sent
H5PS1G83EFR-S6C_V24_0625.bct sent successfully
odm data: 0xb0c0075
downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: bootloader.bin
| 941512/941512 bytes sent
bootloader.bin sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully
setting device: 1 0
creating partition: BCT
failed executing command 16 NvError 0x120002
command failure: create failed (bad data)
bootloader status: specified device is not the boot device (code: 17) message: n
verror:0x4 (0x4) flags: 0
Press enter to continue:
Click to expand...
Click to collapse
I've been trying to fix this for two days now and I'm getting desperate. I found several posts on other forums where some users had the same problem, but there was no solution posted anywhere.
Does anyone know, what may be the cause of this error and how can I fix this?
Alternatively, is there another solution to the problem I've created?
Does it happen with all nvflash roms ?
if yes see below, if no try one of Scannos roms first before proceeding below.
Can you unzip the nvflash.exe, any zip prgram should do this, even if you rename it to nvflash.zip.
Then edit the command to flash and exclude flashing the bct cause this looks like this is where it's falling down. Just use the other commands. For an example see below. The full command is first. So edit out the bct bit.
nvflash.exe --bct flash.bct --setbct --bl bootloader.bin --configfile flash.cfg --odmdata 0x000c0075 --create --go
Try something like
nvflash.exe --bl bootloader.bin --configfile flash.cfg --odmdata 0x000c0075 --create --go
See how you get on with that. And as usual I'm not responsible if your tablet blows up, goes on fire or whatever. You could try asking over on modaco or tabletroms forum, look for Scanno or EJTagle.
You could also try this.
Actually reading around I don't think you need to extract the nvflash.exe/zip but it's worth a shot.
Sorry about the long post.
Thank you for your reply Stephen.
StephenC82 said:
Does it happen with all nvflash roms ?
if yes see below, if no try one of Scannos roms first before proceeding below.
Click to expand...
Click to collapse
Forgot to mention this, yes it happens with all roms.
StephenC82 said:
Can you unzip the nvflash.exe, any zip prgram should do this, even if you rename it to nvflash.zip.
Then edit the command to flash and exclude flashing the bct cause this looks like this is where it's falling down. Just use the other commands. For an example see below. The full command is first. So edit out the bct bit.
nvflash.exe --bct flash.bct --setbct --bl bootloader.bin --configfile flash.cfg --odmdata 0x000c0075 --create --go
Click to expand...
Click to collapse
Ok, so the full command for the stock nvflash is:
nvflash.exe --bct H5PS1G83EFR-S6C_V24_0625.bct --setbct --bl bootloader.bin --configfile flash.cfg --odmdata 0x0b0c0075 --create --go
Click to expand...
Click to collapse
I've tried to get rid of all the BCT parts, but it doesn't seem to work even if I delete a single argument. Always ends up like this:
command failure: --setbct required for --create
or
command failure: bootloader download failed
Click to expand...
Click to collapse
So I don't think I can affor skipping any of these.
StephenC82 said:
See how you get on with that. And as usual I'm not responsible if your tablet blows up, goes on fire or whatever. You could try asking over on modaco or tabletroms forum, look for Scanno or EJTagle.
Click to expand...
Click to collapse
Already posted my problem on both forums, got no replies so far.
StephenC82 said:
You could also try this...
Click to expand...
Click to collapse
Tried, unfortunately it didn't work.
StephenC82 said:
Sorry about the long post.
Click to expand...
Click to collapse
No problem, you're the only one who has tried to help me so far.
When you unzip the nvflash rom can you send the config file please. Flash.cfg I think it's called.
This looks weird to me.
load address: 0x108000 entry point: 0x108000
failed executing command 16 NvError 0x120002
Looks like it's pointing in teh wrong direction.
I could be totally way off but figure it's worth a go.
There you go, hopefully you can find out what's wrong.
What kind of clone is it ? Is it a Gtab ?
Couple of things to try/read over at your leisure.
http://forum.xda-developers.com/showthread.php?t=978791
http://forum.xda-developers.com/showthread.php?t=848272
After this not sure what else to try to be honest. Either it's a bad block on the nand or a clone of the vega and the Roms aren't taking to it.
Is it a P10AN01 ?
take a look here
hez, i had in the past the same problem. I think, i can help you. Take a look in the topic below
forum.xda-developers.com/showpost.php?p=36124362&postcount=4
in one of the -edits- is the solution.
i linked on a ohter webpage ...