Thursday, April 28, 2016

Unbrick G Stylo LS770 Qualcomm HS-USB QDLoader 9008 mode

Hi, I am trying to find out how to unbrick a G Stylo LS770 stuck on Qualcomm HS-USB QDLoader 9008 mode.

First, I need to get the rawprogram0.xml for G Stylo LS770..

from a rooted working LS770 model:

Code:

adb shell su -c 'dd if=/dev/block/mmcblk0 of=/cache/partition0.bin bs=512 count=20480'
Get partition0.bin

http://ift.tt/1NEGFQZ 0693

00 04 00 is sbl1 -Start LBA
00 07 FF is sbl1 - end LBA

In the original Boarddiag tool, there are rawprogram0.xml file for other LG models.
I have to edit it based on the information from partition file i just got.

below entry is what i create based on partition table

<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="sbl1.mbn" label="sbl1" num_partition_sectors="1024" physical_partition_number="0" size_in_KB="512.0" sparse="false" start_byte_hex="0x80000" start_sector="1024" />

num_partition_sectors: End LBA- start LBA+1 = 400, Convert it to HEX, that is 1024
start_sector = Start LBA, and convert it to HEX, that is 1024.
start_byte_hex : 1024*512= 524288 convert to hex, it is 80000

Now we have the rawprogram0.xml

---

Forgive my bad English,..:((

Attached Thumbnails
Click image for larger version Name: ls770.png Views: N/A Size: 28.1 KB ID: 3734027  


from xda-developers http://ift.tt/1SOj7Z3
via IFTTT

No comments:

Post a Comment