FORUMS

Analysis & Opinion

Top Forum Discussions

Can I reflash Lenovo thinkpad from NVFlash? Comands pls ?

57 posts
Thanks Meter: 5
 
By mihnea_gsm, Member on 10th June 2013, 01:21 PM
Post Reply Subscribe to Thread Email Thread
I come to me a tablet lenovothink type 1838-22g wich rebooting...logo (lenovo) reboot ..lenovo reboot...

I use nvflash
Nvflash started
rcm version 0X20001
System Information:
chip name: t20
chip id: 0x20 major: 1 minor: 4
chip sku: 0x8
chip uid: 0x043c704444012157
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

downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: 04.EBT.img
/ 6291456/6291456 bytes sent
04.EBT.img sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully

After this I created partion OK this is tutorial : http://forum.xda-developers.com/show....php?t=1745450
And my tabletet respond OK

I write partion 6 with cwm OK (see in pictures)

The tablet now starts and remains stuck in logo LENOVO (not rebooting - this is a step : ) )

If I go into CWM says: cant mount sdcard (see in pictures)

What are these commands to solve this problem?
I saw (nvflash for asus transformes) as it would be a commands to reflash tablet.

Does anyone have these commands (nvflash) tailored for Lenovo tablet thingpad?

I took several firmwares on the net but do not know if they are correct for this model , and I would not want to spoil it worse than it is now.

Best regardes

Mihnea
Attached Thumbnails
Click image for larger version

Name:	20130607_152006.jpg
Views:	746
Size:	158.4 KB
ID:	2031639   Click image for larger version

Name:	20130607_152115.jpg
Views:	867
Size:	225.7 KB
ID:	2031640  
The Following User Says Thank You to mihnea_gsm For This Useful Post: [ View ]
 
 
10th June 2013, 05:37 PM |#2  
berbecverde's Avatar
Senior Member
Flag Zalau
Thanks Meter: 36
 
More
Hi.
you do not need a firmware.
all you need is the right partition backup, nvflash, and a computer.
1.You have to enter nvflash mode(described in the nvflash thread)
2.If you want to flash a partition you have to use the download command.
It is a slow process because you have to flash the partitions one at a time(maybe you can flash them all at once but you need some batch file, and i did not find one for the TPT, and i con not create one).

so like this:

Writing an image to device partition:

The recovery partition:

$ nvflash -r --download 6 recovery.img

this flashes the recovery to the recovery partition (number 6).


The Kernel Partition:

$ nvflash -r --download 7 kernel.img

this flashes the kernel to the kernel partition (number 7).

and the same goes for the rest of the partitions.

note that the name of the image may differ:
my backup for the recovery image for example is named 6.sos.img
the command in this case will be:

$ nvflash -r --download 6 06.sos.img

these are the TPT partitions:

2. BCT StartSector=0 NumSectors=1024 Boot Configuration Table
3. PT StartSector=1024 NumSectors=512 Partition Table
4. EBT StartSector=1536 NumSectors=1536 Bootloader Table
5. GP1 StartSector=3072 NumSectors=512 ?
6. SOS StartSector=3584 NumSectors=1536 Recovery
7. LNX StartSector=5120 NumSectors=2048 Kernel
8. APP StartSector=7168 NumSectors=196608 Applications in System/ROM
9. CAC StartSector=203776 NumSectors=230400 CAChe
10. MSC StartSector=434176 NumSectors=512 ?
11. PIA StartSector=434688 NumSectors=131072 Pre-Install APK
12. SEC StartSector=565760 NumSectors=5120 ?
13. USP StartSector=570880 NumSectors=35840 ?
14. PDA StartSector=606720 NumSectors=5120 ?
15. UDA StartSector=611840 NumSectors=3234816 User Data (/sdcard)
16. GPT StartSector=3846656 NumSectors=512 ?


You should try to flash my recovery image then restore a CWM backup.
Attached Files
File Type: img 6.sos.img - [Click for QR Code] (6.00 MB, 557 views)
Last edited by berbecverde; 10th June 2013 at 06:53 PM.
The Following 2 Users Say Thank You to berbecverde For This Useful Post: [ View ]
10th June 2013, 10:15 PM |#3  
OP Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by berbecverde

Hi.
you do not need a firmware.
all you need is the right partition backup, nvflash, and a computer.
1.You have to enter nvflash mode(described in the nvflash thread)
2.If you want to flash a partition you have to use the download command.
It is a slow process because you have to flash the partitions one at a time(maybe you can flash them all at once but you need some batch file, and i did not find one for the TPT, and i con not create one).

so like this:

Writing an image to device partition:

The recovery partition:

$ nvflash -r --download 6 recovery.img

this flashes the recovery to the recovery partition (number 6).

The Kernel Partition:

$ nvflash -r --download 7 kernel.img

this flashes the kernel to the kernel partition (number 7).

and the same goes for the rest of the partitions.

note that the name of the image may differ:
my backup for the recovery image for example is named 6.sos.img
the command in this case will be:

$ nvflash -r --download 6 06.sos.img

these are the TPT partitions:

2. BCT StartSector=0 NumSectors=1024 Boot Configuration Table
3. PT StartSector=1024 NumSectors=512 Partition Table
4. EBT StartSector=1536 NumSectors=1536 Bootloader Table
5. GP1 StartSector=3072 NumSectors=512 ?
6. SOS StartSector=3584 NumSectors=1536 Recovery
7. LNX StartSector=5120 NumSectors=2048 Kernel
8. APP StartSector=7168 NumSectors=196608 Applications in System/ROM
9. CAC StartSector=203776 NumSectors=230400 CAChe
10. MSC StartSector=434176 NumSectors=512 ?
11. PIA StartSector=434688 NumSectors=131072 Pre-Install APK
12. SEC StartSector=565760 NumSectors=5120 ?
13. USP StartSector=570880 NumSectors=35840 ?
14. PDA StartSector=606720 NumSectors=5120 ?
15. UDA StartSector=611840 NumSectors=3234816 User Data (/sdcard)
16. GPT StartSector=3846656 NumSectors=512 ?


You should try to flash my recovery image then restore a CWM backup.



Thanx for answer...
but from whare I cand download the good firmware because i see ...A300 , A310, A400 - sorry but i secod tablet lenovo and Iam not familiarized with this.?

a link pls.

Ai have recovery from tablet before to put cwm. I read with nvflash.

many thx

Mihnea
The Following User Says Thank You to mihnea_gsm For This Useful Post: [ View ]
11th June 2013, 11:35 AM |#4  
berbecverde's Avatar
Senior Member
Flag Zalau
Thanks Meter: 36
 
More
you can not flash a firmware using nvflash.
You can use it to backup your partitions, or restore your partitions from your backup.
that is about it.

so in order to make your tablet work again you have to restore your partitions from your backup(if you have one).
If you do not then you can use my backup.
I will upload my partitions later today when i got some time.

In your case i think that one of your partitions got corrupted.
You can fix that by flashing the rigth backup to the right partition.
The Following User Says Thank You to berbecverde For This Useful Post: [ View ]
12th June 2013, 09:31 PM |#5  
berbecverde's Avatar
Senior Member
Flag Zalau
Thanks Meter: 36
 
More
these are my backup partitions.ROW tablet stock ICS.

Partitions from 02 to 10

partitions from 11 to 16

the files will be available for 8 days, after that they are deleted.
The Following 2 Users Say Thank You to berbecverde For This Useful Post: [ View ]
19th June 2013, 03:30 PM |#6  
OP Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by berbecverde

these are my backup partitions.ROW tablet stock ICS.

Partitions from 02 to 10

partitions from 11 to 16

the files will be available for 8 days, after that they are deleted.

Thank you
I hope to works...

BR
Mihnea
The Following User Says Thank You to mihnea_gsm For This Useful Post: [ View ]
19th June 2013, 08:13 PM |#7  
berbecverde's Avatar
Senior Member
Flag Zalau
Thanks Meter: 36
 
More
Quote:
Originally Posted by mihnea_gsm

Thank you
I hope to works...

BR
Mihnea

only if you do it right.
The Following User Says Thank You to berbecverde For This Useful Post: [ View ]
20th June 2013, 03:44 PM |#8  
OP Member
Thanks Meter: 5
 
More
Quote:
Originally Posted by berbecverde

only if you do it right.

tehnical problem...

c:\nvflash>nvflash -w --bl 04.EBT.img --go
Nvflash started
rcm version 0X20001
System Information:
chip name: t20
chip id: 0x20 major: 1 minor: 4
chip sku: 0x8
chip uid: 0x043c704444012157
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

downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: 04.EBT.img
/ 6291456/6291456 bytes sent
04.EBT.img sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully

in this moment tablet is in nvflash recovery mode / Nv3p Server

In archive I found 16 img... and I want to write first: 2.bct.img after this 3.pt.img... etc


c:\nvflash>nvflash -r --download 2 2.bct.img
Nvflash started
[resume mode]
failed executing command 14 NvError 0x120002
command failure: partition download failed (bad command)


c:\nvflash>nvflash -r --download 2 2.bct.img
Nvflash started
[resume mode]
failed executing command 14 NvError 0x120002
command failure: partition download failed (bad command)


c:\nvflash>nvflash -r --download 3 3.pt.img
Nvflash started
[resume mode]
failed executing command 14 NvError 0x120002
command failure: partition download failed (bad command)

what is wrong ???

I dont know if comands is ok.... because in tutorial said that first comand is:
nvflash -w --bl /space/android/_tpt/device/04.EBT.img --go - but to me not work
At me work this: nvflash -w --bl 04.EBT.img --go see in log up.


BR

mihnea
Last edited by mihnea_gsm; 20th June 2013 at 04:20 PM.
20th June 2013, 05:17 PM |#9  
berbecverde's Avatar
Senior Member
Flag Zalau
Thanks Meter: 36
 
More
Quote:
Originally Posted by mihnea_gsm

tehnical problem...

c:\nvflash>nvflash -w --bl 04.EBT.img --go
Nvflash started
rcm version 0X20001
System Information:
chip name: t20
chip id: 0x20 major: 1 minor: 4
chip sku: 0x8
chip uid: 0x043c704444012157
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

downloading bootloader -- load address: 0x108000 entry point: 0x108000
sending file: 04.EBT.img
/ 6291456/6291456 bytes sent
04.EBT.img sent successfully
waiting for bootloader to initialize
bootloader downloaded successfully

in this moment tablet is in nvflash recovery mode / Nv3p Server

In archive I found 16 img... and I want to write first: 2.bct.img after this 3.pt.img... etc


c:\nvflash>nvflash -r --download 2 2.bct.img
Nvflash started
[resume mode]
failed executing command 14 NvError 0x120002
command failure: partition download failed (bad command)


c:\nvflash>nvflash -r --download 2 2.bct.img
Nvflash started
[resume mode]
failed executing command 14 NvError 0x120002
command failure: partition download failed (bad command)


c:\nvflash>nvflash -r --download 3 3.pt.img
Nvflash started
[resume mode]
failed executing command 14 NvError 0x120002
command failure: partition download failed (bad command)

what is wrong ???

I dont know if comands is ok.... because in tutorial said that first comand is:
nvflash -w --bl /space/android/_tpt/device/04.EBT.img --go - but to me not work
At me work this: nvflash -w --bl 04.EBT.img --go see in log up.


BR

mihnea

In the tutorial the nvflash file and 04.ebt.img were not in the same folder so they had to specify the path were the img file was.
If they are in the same folder lie you case you do not have to specify the path.

The command seems fine.The bootloader it is unlocked as far as i can tell.
You should try to see if you can flash partitions 6 or 7.
nvflash and the partitions are in the same folder right?
20th June 2013, 10:45 PM |#10  
Member
Thanks Meter: 12
 
More
Hi guys,

there's an option "getpartitiontable" in nvflash to download the partition table from the tablet.
To me it looks like the partition table is crap.
If it is crap, you can't write an image to a partition, because there is no partition
So maybe you have to create a new partition table.

Both of you: Pls try the following and look, if the file "partitiontable.txt" is created. Then post it here, so you can compare it.

nvflash --getpartitiontable partitiontable.txt --bl 04.EBT.img --go

Micky

Sent from my MD_LIFETAB_P9516 using xda app-developers app
20th June 2013, 11:49 PM |#11  
berbecverde's Avatar
Senior Member
Flag Zalau
Thanks Meter: 36
 
More
Quote:
Originally Posted by Ameisentaetowierer

Hi guys,

there's an option "getpartitiontable" in nvflash to download the partition table from the tablet.
To me it looks like the partition table is crap.
If it is crap, you can't write an image to a partition, because there is no partition
So maybe you have to create a new partition table.

Both of you: Pls try the following and look, if the file "partitiontable.txt" is created. Then post it here, so you can compare it.

nvflash --getpartitiontable partitiontable.txt --bl 04.EBT.img --go

Micky

Sent from my MD_LIFETAB_P9516 using xda app-developers app

The partitions are ok cause i made them.
The only thing that might be a problem if not all the TPT have the same partitions.
These partitions are from a ROW TPT.

Read More
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes