Jump to content

Cannot factory restore from recovery


Recommended Posts

Guest Tony Evans
Posted

I am running R6 and all is well until I need to restart the Vega. Once restarted I get the black screen with only the backlight on. I have tried to do a factory restore but it always fails on the system image restore at the last step (please see below). Can anyone offer some suggestions of how I can solve this problem? Thanks Tony

C:\Users\ajeuk\AppData\Local\Temp>nvflash.exe --bct H5PS1G83EFR-S6C_V24_0625.bc

--setbct --bl bootloader.bin --configfile flash.cfg --odmdata 0x000c0075 --cre

te --go

Nvflash started

rcm version 0X20001

System Information:

chip name: t20

chip id: 0x20 major: 1 minor: 3

chip sku: 0x8

chip uid: 0x1714404641bf90d7

macrovision: disabled

hdcp: enabled

sbk burned: false

dk burned: false

boot device: nand

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: 0xc0075

downloading bootloader -- load address: 0x108000 entry point: 0x108000

sending file: bootloader.bin

| 937416/937416 bytes sent

bootloader.bin sent successfully

waiting for bootloader to initialize

bootloader downloaded successfully

setting device: 1 0

creating partition: BCT

creating partition: PT

creating partition: EBT

creating partition: MSC

creating partition: SOS

creating partition: LNX

creating partition: APP

creating partition: CAC

creating partition: USP

creating partition: UDA

Formatting partition 2 BCT please wait.. done!

Formatting partition 3 PT please wait.. done!

Formatting partition 4 EBT please wait.. done!

Formatting partition 5 MSC please wait.. done!

Formatting partition 6 SOS please wait.. done!

Formatting partition 7 LNX please wait.. done!

Formatting partition 8 APP please wait.. done!

Formatting partition 9 CAC please wait.. done!

Formatting partition 10 USP please wait.. done!

Formatting partition 11 UDA please wait.. done!

done!

sending file: bootloader.bin

| 937416/937416 bytes sent

bootloader.bin sent successfully

sending file: recovery.img

/ 5242880/5242880 bytes sent

recovery.img sent successfully

sending file: boot.img

/ 8388608/8388608 bytes sent

boot.img sent successfully

system.img is too large for partition

command failure: create failed

Press enter to continue:

Guest danielj58
Posted

Seems odd, what exactly are you trying to flash? Your nandroid backup or the stock firmware?

Either which way, you need to change the size of your partition by editing the "flash.cfg" file from the extracted installer.

To do so, extract the installer (e.g. using 7zip) to a folder

Navigate to that folder

Open the "flash.cfg" file in a text editor (notepad will do)

and find this block

[partition]

name=APP

id=8

type=data

allocation_policy=sequential

filesystem_type=yaffs2

size=121649088

file_system_attribute=0

partition_attribute=0

allocation_attribute=0x10

percent_reserved=0

filename=system.img

Change the size entry to the exact size of your system.img file in bytes

run lvds.bat

Guest Tony Evans
Posted

Thanks very much for that. the restore worked perfectly with your advice.

My remaining problem is to establish why upon reboot I get the black screen with backlight that,requires the restore of the Nandroid backup - perhaps its something to do with the Clockwork mod that I pushed from adb?

Thanks again

Tony

Seems odd, what exactly are you trying to flash? Your nandroid backup or the stock firmware?

Either which way, you need to change the size of your partition by editing the "flash.cfg" file from the extracted installer.

To do so, extract the installer (e.g. using 7zip) to a folder

Navigate to that folder

Open the "flash.cfg" file in a text editor (notepad will do)

and find this block

[partition]

name=APP

id=8

type=data

allocation_policy=sequential

filesystem_type=yaffs2

size=121649088

file_system_attribute=0

partition_attribute=0

allocation_attribute=0x10

percent_reserved=0

filename=system.img

Change the size entry to the exact size of your system.img file in bytes

run lvds.bat

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.