Flash bootloader only - Lenovo ZUK Z2 (Plus) Questions & Answers

I've hard bricked my Zuk Z2 after flashing baseband via TWRP. Now it stucks on "Device unable to boot Error".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I even can't turn it off normaly. If I'm pressing power button for long time it doesn't off, it goes to HS-USB Diagnostics 900E. I've found a method load phone in EDL mode (cable method only) and now it's not a problem.
I think I can unbrick it with Qfil and official firmware, but this way my data should be lost.
Could somebody tell me, what the hell that baseband flashing did (what partitions it spoiled). And how to flash only these partitions.
Or may be there is another method to get my data back? Please help me.

Goldowansky said:
I've hard bricked my Zuk Z2 after flashing baseband via TWRP. Now it stucks on "Device unable to boot Error".
I even can't turn it off normaly. If I'm pressing power button for long time it doesn't off, it goes to HS-USB Diagnostics 900E. I've found a method load phone in EDL mode (cable method only) and now it's not a problem.
I think I can unbrick it with Qfil and official firmware, but this way my data should be lost.
Could somebody tell me, what the hell that baseband flashing did (what partitions it spoiled). And how to flash only these partitions.
Or may be there is another method to get my data back? Please help me.
Click to expand...
Click to collapse
You might have flashed Chinese version on other version baseband
On which ROM were u recently?

JV Spartacus said:
You might have flashed Chinese version on other version baseband
On which ROM were u recently?
Click to expand...
Click to collapse
I realy didn't remember. That night I've flashed a lot of ROMs, because treble ROMs flashed not successfuly (with blue screen on booting). It could be ZUI 4 (via TWRP, success boot) or LOS 16 (via TWRP, blue screen). And it's was second baseband that night. But first one I've flashed via fastboot and everything was OK. That fatal one I've flashed via TWRP, because at some forum I read this baseband helps me to avoid blue screen.

Goldowansky said:
I realy didn't remember. That night I've flashed a lot of ROMs, because treble ROMs flashed not successfuly (with blue screen on booting). It could be ZUI 4 (via TWRP, success boot) or LOS 16 (via TWRP, blue screen). And it's was second baseband that night. But first one I've flashed via fastboot and everything was OK. That fatal one I've flashed via TWRP, because at some forum I read this baseband helps me to avoid blue screen.
Click to expand...
Click to collapse
Partition table is messed up ,you cannot backup data
You will have to qfil zui(3.5 or 4.0)

JV Spartacus said:
Partition table is messed up ,you cannot backup data
You will have to qfil zui(3.5 or 4.0)
Click to expand...
Click to collapse
It's the simpliest way. But what if try to flash bootloader, baseband and TWRP recovery (not all ROM). TWRP is enough to keep my data back.

Goldowansky said:
It's the simpliest way. But what if try to flash bootloader, baseband and TWRP recovery (not all ROM). TWRP is enough to keep my data back.
Click to expand...
Click to collapse
Is your phone loading fastboot ? If not you will have to edit the qfil flash ROM so as not to wipe data partition

JV Spartacus said:
Is your phone loading fastboot ? If not you will have to edit the qfil flash ROM so as not to wipe data partition
Click to expand...
Click to collapse
No it doesn't.
I thought the same way. I'd try to edit rawprogram0.xml and patch0.xml. I'd leave only those partitions that baseband have spoiled.
As I understand rawprogram0.xml it is a list of flashing partitions. What patch0.xml does?

Goldowansky said:
No it doesn't.
I thought the same way. I'd try to edit rawprogram0.xml and patch0.xml. I'd leave only those partitions that baseband have spoiled.
As I understand rawprogram0.xml it is a list of flashing partitions. What patch0.xml does?
Click to expand...
Click to collapse
Upload that file I will see

JV Spartacus said:
Upload that file I will see
Click to expand...
Click to collapse
patch0.xml
Code:
<?xml version="1.0" ?>
<patches>
<!--NOTE: This is an ** Autogenerated file **-->
<!--NOTE: Patching is in little endian format, i.e. 0xAABBCCDD will look like DD CC BB AA in the file or on disk-->
<!--NOTE: This file is used by Trace32 - So make sure to add decimals, i.e. 0x10-10=0, *but* 0x10-10.=6.-->
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="424" filename="gpt_main0.bin" physical_partition_number="0" size_in_bytes="8" start_sector="13" value="NUM_DISK_SECTORS-34." what="Update last partition 48 'userdata' with actual size in Primary Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="424" filename="DISK" physical_partition_number="0" size_in_bytes="8" start_sector="13" value="NUM_DISK_SECTORS-34." what="Update last partition 48 'userdata' with actual size in Primary Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="424" filename="gpt_backup0.bin" physical_partition_number="0" size_in_bytes="8" start_sector="11" value="NUM_DISK_SECTORS-34." what="Update last partition 48 'userdata' with actual size in Backup Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="424" filename="DISK" physical_partition_number="0" size_in_bytes="8" start_sector="NUM_DISK_SECTORS-22." value="NUM_DISK_SECTORS-34." what="Update last partition 48 'userdata' with actual size in Backup Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="48" filename="gpt_main0.bin" physical_partition_number="0" size_in_bytes="8" start_sector="1" value="NUM_DISK_SECTORS-34." what="Update Primary Header with LastUseableLBA."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="48" filename="DISK" physical_partition_number="0" size_in_bytes="8" start_sector="1" value="NUM_DISK_SECTORS-34." what="Update Primary Header with LastUseableLBA."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="48" filename="gpt_backup0.bin" physical_partition_number="0" size_in_bytes="8" start_sector="32" value="NUM_DISK_SECTORS-34." what="Update Backup Header with LastUseableLBA."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="48" filename="DISK" physical_partition_number="0" size_in_bytes="8" start_sector="NUM_DISK_SECTORS-1." value="NUM_DISK_SECTORS-34." what="Update Backup Header with LastUseableLBA."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="32" filename="gpt_main0.bin" physical_partition_number="0" size_in_bytes="8" start_sector="1" value="NUM_DISK_SECTORS-1." what="Update Primary Header with BackupGPT Header Location."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="32" filename="DISK" physical_partition_number="0" size_in_bytes="8" start_sector="1" value="NUM_DISK_SECTORS-1." what="Update Primary Header with BackupGPT Header Location."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="24" filename="gpt_backup0.bin" physical_partition_number="0" size_in_bytes="8" start_sector="32" value="NUM_DISK_SECTORS-1." what="Update Backup Header with CurrentLBA."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="24" filename="DISK" physical_partition_number="0" size_in_bytes="8" start_sector="NUM_DISK_SECTORS-1." value="NUM_DISK_SECTORS-1." what="Update Backup Header with CurrentLBA."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="72" filename="gpt_backup0.bin" physical_partition_number="0" size_in_bytes="8" start_sector="32" value="NUM_DISK_SECTORS-33." what="Update Backup Header with Partition Array Location."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="72" filename="DISK" physical_partition_number="0" size_in_bytes="8" start_sector="NUM_DISK_SECTORS-1" value="NUM_DISK_SECTORS-33." what="Update Backup Header with Partition Array Location."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="88" filename="gpt_main0.bin" physical_partition_number="0" size_in_bytes="4" start_sector="1" value="CRC32(2,6144)" what="Update Primary Header with CRC of Partition Array."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="88" filename="DISK" physical_partition_number="0" size_in_bytes="4" start_sector="1" value="CRC32(2,6144)" what="Update Primary Header with CRC of Partition Array."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="88" filename="gpt_backup0.bin" physical_partition_number="0" size_in_bytes="4" start_sector="32" value="CRC32(0,6144)" what="Update Backup Header with CRC of Partition Array."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="88" filename="DISK" physical_partition_number="0" size_in_bytes="4" start_sector="NUM_DISK_SECTORS-1." value="CRC32(NUM_DISK_SECTORS-33.,6144)" what="Update Backup Header with CRC of Partition Array."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="16" filename="gpt_main0.bin" physical_partition_number="0" size_in_bytes="4" start_sector="1" value="0" what="Zero Out Header CRC in Primary Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="16" filename="gpt_main0.bin" physical_partition_number="0" size_in_bytes="4" start_sector="1" value="CRC32(1,92)" what="Update Primary Header with CRC of Primary Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="16" filename="DISK" physical_partition_number="0" size_in_bytes="4" start_sector="1" value="0" what="Zero Out Header CRC in Primary Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="16" filename="DISK" physical_partition_number="0" size_in_bytes="4" start_sector="1" value="CRC32(1,92)" what="Update Primary Header with CRC of Primary Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="16" filename="gpt_backup0.bin" physical_partition_number="0" size_in_bytes="4" start_sector="32" value="0" what="Zero Out Header CRC in Backup Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="16" filename="gpt_backup0.bin" physical_partition_number="0" size_in_bytes="4" start_sector="32" value="CRC32(32,92)" what="Update Backup Header with CRC of Backup Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="16" filename="DISK" physical_partition_number="0" size_in_bytes="4" start_sector="NUM_DISK_SECTORS-1." value="0" what="Zero Out Header CRC in Backup Header."/>
<patch SECTOR_SIZE_IN_BYTES="512" byte_offset="16" filename="DISK" physical_partition_number="0" size_in_bytes="4" start_sector="NUM_DISK_SECTORS-1." value="CRC32(NUM_DISK_SECTORS-1.,92)" what="Update Backup Header with CRC of Backup Header."/>
</patches>

rawprogram0.xml
Code:
<?xml version="1.0" ?>
<data>
<!--NOTE: This is an ** Autogenerated file **-->
<!--NOTE: Sector size is 512bytes-->
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="xbl.elf" label="xbl" num_partition_sectors="4096" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2048.0" sparse="false" start_byte_hex="0x4000000" start_sector="131072" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="xbl.elf" label="xblbak" num_partition_sectors="4096" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2048.0" sparse="false" start_byte_hex="0x4200000" start_sector="135168" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="tz.mbn" label="tz" num_partition_sectors="4096" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2048.0" sparse="false" start_byte_hex="0x4400000" start_sector="139264" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="tz.mbn" label="tzbak" num_partition_sectors="4096" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2048.0" sparse="false" start_byte_hex="0x4600000" start_sector="143360" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="rpm.mbn" label="rpm" num_partition_sectors="1000" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="500.0" sparse="false" start_byte_hex="0x4800000" start_sector="147456" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="rpm.mbn" label="rpmbak" num_partition_sectors="1000" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="500.0" sparse="false" start_byte_hex="0x487d000" start_sector="148456" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="hyp.mbn" label="hyp" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0x48fa000" start_sector="149456" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="hyp.mbn" label="hypbak" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0x497a000" start_sector="150480" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="pmic.elf" label="pmic" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0x49fa000" start_sector="151504" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="pmic.elf" label="pmicbak" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0x4a7a000" start_sector="152528" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="fsg" num_partition_sectors="4096" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2048.0" sparse="false" start_byte_hex="0x4afa000" start_sector="153552" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="emmc_appsboot.mbn" label="aboot" num_partition_sectors="2048" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1024.0" sparse="false" start_byte_hex="0x4cfa000" start_sector="157648" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="emmc_appsboot.mbn" label="abootbak" num_partition_sectors="2048" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1024.0" sparse="false" start_byte_hex="0x4dfa000" start_sector="159696" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="boot.img" label="boot" num_partition_sectors="131072" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="65536.0" sparse="false" start_byte_hex="0x4efa000" start_sector="161744" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="system.img" label="system" num_partition_sectors="6291456" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="423888" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="recovery.img" label="recovery" num_partition_sectors="131072" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="65536.0" sparse="false" start_byte_hex="0x8efa000" start_sector="292816" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="keymaster.mbn" label="keymaster" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0xccefa000" start_sector="6715344" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="keymaster.mbn" label="keymasterbak" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0xccf7a000" start_sector="6716368" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="cmnlib.mbn" label="cmnlib" num_partition_sectors="512" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="256.0" sparse="false" start_byte_hex="0xccffa000" start_sector="6717392" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="cmnlib.mbn" label="cmnlibbak" num_partition_sectors="512" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="256.0" sparse="false" start_byte_hex="0xcd03a000" start_sector="6717904" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="cmnlib64.mbn" label="cmnlib64" num_partition_sectors="512" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="256.0" sparse="false" start_byte_hex="0xcd07a000" start_sector="6718416" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="cmnlib64.mbn" label="cmnlib64bak" num_partition_sectors="512" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="256.0" sparse="false" start_byte_hex="0xcd0ba000" start_sector="6718928" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="NON-HLOS.bin" label="modem" num_partition_sectors="194560" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="97280.0" sparse="false" start_byte_hex="0xcd0fa000" start_sector="6719440" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="adspso.bin" label="dsp" num_partition_sectors="32768" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="16384.0" sparse="false" start_byte_hex="0xd2ffa000" start_sector="6914000" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="dip" num_partition_sectors="2048" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1024.0" sparse="false" start_byte_hex="0xd3ffa000" start_sector="6946768" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="mdtp.img" label="mdtp" num_partition_sectors="65536" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="32768.0" sparse="false" start_byte_hex="0xd40fa000" start_sector="6948816" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="devinfo" num_partition_sectors="2" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1.0" sparse="false" start_byte_hex="0xd60fa000" start_sector="7014352" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="apdp.mbn" label="apdp" num_partition_sectors="512" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="256.0" sparse="false" start_byte_hex="0xd60fb000" start_sector="7014360" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="msadp.mbn" label="msadp" num_partition_sectors="512" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="256.0" sparse="false" start_byte_hex="0xd613b000" start_sector="7014872" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="dpo" num_partition_sectors="2" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1.0" sparse="false" start_byte_hex="0xd617b000" start_sector="7015384" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="splash.img" label="splash" num_partition_sectors="66848" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="33424.0" sparse="false" start_byte_hex="0xd617c000" start_sector="7015392" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="ddr" num_partition_sectors="2048" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1024.0" sparse="false" start_byte_hex="0xd8220000" start_sector="7082240" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="sec.dat" label="sec" num_partition_sectors="256" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="128.0" sparse="false" start_byte_hex="0xd8320000" start_sector="7084288" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="BTFM.bin" label="bluetooth" num_partition_sectors="2048" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1024.0" sparse="false" start_byte_hex="0xd8340000" start_sector="7084544" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="fsc" num_partition_sectors="2" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1.0" sparse="false" start_byte_hex="0xdc000000" start_sector="7208960" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="ssd" num_partition_sectors="16" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="8.0" sparse="false" start_byte_hex="0xdc001000" start_sector="7208968" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="modemst1" num_partition_sectors="4096" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2048.0" sparse="false" start_byte_hex="0xdc003000" start_sector="7208984" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="cache_1.img" label="cache" num_partition_sectors="12480" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="7217176" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="cache_2.img" label="cache" num_partition_sectors="16" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="7479320" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="cache_3.img" label="cache" num_partition_sectors="16" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="7479456" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="persist_1.img" label="persist" num_partition_sectors="9456" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="7741464" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="modemst2" num_partition_sectors="4096" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2048.0" sparse="false" start_byte_hex="0xdc203000" start_sector="7213080" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="misc" num_partition_sectors="2048" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="1024.0" sparse="false" start_byte_hex="0xee403000" start_sector="7807000" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="keystore" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0xee503000" start_sector="7809048" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="devcfg.mbn" label="devcfg" num_partition_sectors="256" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="128.0" sparse="false" start_byte_hex="0xee583000" start_sector="7810072" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="devcfg.mbn" label="devcfgbak" num_partition_sectors="256" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="128.0" sparse="false" start_byte_hex="0xee5a3000" start_sector="7810328" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="factory_1.img" label="factory" num_partition_sectors="16640" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="7811608" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="factory_2.img" label="factory" num_partition_sectors="16" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="8073752" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="factory_3.img" label="factory" num_partition_sectors="16" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="8073952" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="factory_4.img" label="factory" num_partition_sectors="16" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="8335896" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="frp" num_partition_sectors="1024" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="512.0" sparse="false" start_byte_hex="0xee5c3000" start_sector="7810584" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="userdata_1.img" label="userdata" num_partition_sectors="13848" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="8602136" />
<!--NOTE: cut buy me, because of character limit -->
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="userdata_87.img" label="userdata" num_partition_sectors="16" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="29049368" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="userdata_88.img" label="userdata" num_partition_sectors="16" partofsingleimage="false" physical_partition_number="0" readbackverify="false" start_sector="29311512" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="" label="sti" num_partition_sectors="4096" partofsingleimage="false" physical_partition_number="0" readbackverify="false" size_in_KB="2048.0" sparse="false" start_byte_hex="0x106643000" start_sector="8598040" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="gpt_main0.bin" label="PrimaryGPT" num_partition_sectors="34" partofsingleimage="true" physical_partition_number="0" readbackverify="false" size_in_KB="17.0" sparse="false" start_byte_hex="0x0" start_sector="0" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" filename="gpt_backup0.bin" label="BackupGPT" num_partition_sectors="33" partofsingleimage="true" physical_partition_number="0" readbackverify="false" size_in_KB="16.5" sparse="false" start_byte_hex="(512*NUM_DISK_SECTORS)-16896." start_sector="NUM_DISK_SECTORS-33." />
</data>

Goldowansky said:
rawprogram0.xml
Click to expand...
Click to collapse
Don't edit this
This file contains location of partitions to be flash

Related

HTC Plus! plugin not working? Here's help

- install rltoday instead.
link: http://rotlaus-software.de/projects/rltoday
- create the folder: \Program Files\rlToday\plus
- copy the attached file (Clock.png) into the created directory.
- create a text file and name it skin.xml
- copy following text into it and save:
<?xml version="1.0" ?>
<today height="135" refresh="100">
<Date x="44" y="25" format="dd" Alignment="Center" color="RGB(130, 130, 130)">
<Font size="30" font="Tahoma" />
</Date>
<AnalogClock timezone="+1" x="4" y="4" clockface="Clock.png">
<SecondHand show="false"/>
<MinuteHand color="RGB(230, 230, 230)"/>
<HourHand color="RGB(230, 230, 230)"/>
<OnClick File="/Windows/AlarmClock.exe"/>
</AnalogClock>
<Text text="Text Message" x="105" y="13" alignment="left" color="RGB(230, 230, 230)" >
<Font size="12" font="Tahoma" />
<OnClick File="\Windows\tmail.exe" />
</Text>
<Registry key="HKEY_CURRENT_USER\System\State\Messages\sms\Unread\Count" unknown="0" x="220" y="13" alignment="Center" color="RGB(230, 230, 230)">
<Font size="12" weight="bold" font="Tahoma" />
<OnClick File="\Windows\tmail.exe" />
</Registry>
<Text text=".................................." x="95" y="21" alignment="left" color="RGB(160, 160, 160)" >
<Font size="12" weight="bold" font="Tahoma" />
</Text>
<Text text="E-mail" x="105" y="35" alignment="left" color="RGB(230, 230, 230)" >
<Font size="12" font="Tahoma" />
<OnClick File="\Windows\tmail.exe" />
</Text>
<Registry key="HKEY_CURRENT_USER\System\State\Messages\TotalEmail\Unread\Count" unknown="0" x="220" y="35" alignment="Center" color="RGB(230, 230, 230)">
<Font size="12" weight="bold" font="Tahoma" />
<OnClick File="\Windows\tmail.exe" />
</Registry>
<Text text=".................................." x="95" y="43" alignment="left" color="RGB(160, 160, 160)" >
<Font size="12" weight="bold" font="Tahoma" />
</Text>
<Text text="Calls" x="105" y="57" alignment="left" color="RGB(230, 230, 230)" >
<Font size="12" font="Tahoma" />
<OnClick File="\Windows\cprog.exe" />
</Text>
<Registry key="HKEY_CURRENT_USER\System\State\Phone\Missed Call Count" unknown="0" x="220" y="57" alignment="Center" color="RGB(230, 230, 230)" >
<Font size="12" weight="bold" font="Tahoma" />
<OnClick File="\Windows\cprog.exe" />
</Registry>
<Application x="10" y="88" appnumber="0" size="40" />
<Application x="55" y="88" appnumber="1" size="40" />
<Application x="100" y="88" appnumber="2" size="40" />
<Application x="145" y="88" appnumber="3" size="40" />
<Application x="190" y="88" appnumber="4" size="40" />
</today>
Click to expand...
Click to collapse
- start rltoday and select skin called plus
- have fun
You may have to change fonts and icons.
Please read the rltoday instructions.
You must delete the following line in case "AlarmClock" is not installed:
<OnClick File="/Windows/AlarmClock.exe"/>
Click to expand...
Click to collapse
keywords: HTCPlus / HTC-Plus /HTC Plus!
screenshot
I love those icons.
Is there a way I can get them without using the rltoday software, or are they part of that package?
Those icons are part of a linux (Gnome) icon theme.
You can download the whole theme here:
http://www.gnome-look.org/content/show.php/BuuF-Deuce-iconset?content=46201
Oh, rad.
Coincidentally enough, I dual-boot into ubuntu 7.10 with gnome. I'm sensing a unified theme here...
NIce one was lookin for that for a long time, since the org. HTC-Plus wont run on my touch ...
TAhnx alot

Problem Modifiying "Internet" TF3d XML

I did this (modded the TF3D XML File) the first time around but after a HReset I cant seem to get the tab working like it was. I used the same exact XML file and it overwrites it but nothing changes in the Internet tab. Here is what I have so far.
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<BrowserExe>\Windows\Opera9.exe</BrowserExe>
<IncludeUserFavorites>False</IncludeUserFavorites>
<Banner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
Text="Launch Browser"
NavigateUrl="http://www.google.com"
UrlText="Google"
Width="480"
Height="215" />
<OperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
<Link
Text="XDA Dev"
NavigateUrl="http://forum.xda-developers.com/forumdisplay.php?f=488"
ImagePath="\Windows\_Bookmark_icon.qtc" />
<Link
Text="Shore Comm Bank"
NavigateUrl="https://shorecommunitybank.com"
ImagePath="\Windows\_Bookmark_icon.qtc" />
<Link
Text="Facebook"
NavigateUrl="http://m.facebook.com"
ImagePath="\Windows\_Bookmark_icon.qtc" />
</OperatorLinks>
</InternetPortal>

InternetPortal-en-US.xml - Where it go?

All of the instructions for editing the browser menu reference changing InternetPortal-en-US.xml.
It's nowhere to be found on mine so I have to assume it's been changed on the latest TP2's.
Any suggestions?
Here's a link for reference:
http://www.fuzemobility.com/add-an-application-short-cut-to-the-internet-tab-2/
Nevermind. I think I found it in \windows\27c65cbd_manila.
Will post more after some playing .
FYI
Using notepad I was able to add more items to the Browser menu by editing \windows\27c65cbd_manila.
I should probably mention I had to create the .qtc image file for Google Maps.
View attachment 254663View attachment 254664
Here is my 27c65cbd_manila file now:
Code:
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<Banner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
Width="480"
Height="215" />
<OperatorLinks>
<Link
Text="Google Maps"
Executable="\Program Files\GoogleMaps\GoogleMaps.exe"
ImagePath="\Windows\MPI_Google Maps.qtc" />
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc" />
<Link
Text="Facebook"
Executable="\windows\FACEBOOK.EXE"
ImagePath="\Windows\MPI_HTC_facebook.qtc" />
<Link
Text="Messenger"
Executable="\windows\WLMMessenger.exe"
ImagePath="\Windows\MPI_WLMMessenger.qtc" />
</OperatorLinks>
</InternetPortal>
Thanks for shareing! I was pullling my hair trying to find that file....

SGXU WM 6.5 Bliss Theme & Titanium Remix

How Titanium Should Be... click image to download
special thanks to drkfngthdragnlrd for the titanium icon tutorial
i love it its possible to show only icons in standby?
its possible, but u would have to do this
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
<Text ID="Text 2" Left="72" Top="8" Width="440" Height="68" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
to
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
this would only remove the text for Calender, you must remove the text code under the xxxxxxCondensed layer id for the others to have only icons
the cpr file can be edited using wordpad
How do you get top and bottom bar so transparent ?
I am tryhing a lot of mods (HDWall included), but none works on my Xperia.
I'm on a 23569 ROM.
Thanks
S
Thanx again chef
spikegotti said:
its possible, but u would have to do this
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
<Text ID="Text 2" Left="72" Top="8" Width="440" Height="68" FontFamily="Segoe UI" FontSize="18" FontStyle="Regular" Wrap="False" VerticalAlignment="Top" Trimming="EllipsisCharacter" >
<TextStage TextOffsetType="TextOffsetDropBottomRight" Color="#00000000" TextOffset="1" BlurFactor="3" Alpha="1.0"/>
<TextStage TextOffsetType="TextOffsetNone" Color="#FFFFFFFF"/>
</Text>
to
<Layer ID="CalenderCondensed" Visible="False" Width="480" Height="68">
<Image ID="Icon" Left="10" Top="8" Width="60" Height="60" ScaleStyle="Fit" Source="\Windows\Time.png" />
<Layer ID="Page" Clip="False">
this would only remove the text for Calender, you must remove the text code under the xxxxxxCondensed layer id for the others to have only icons
the cpr file can be edited using wordpad
Click to expand...
Click to collapse
thanx again, i will try
Nice,I'll try it

LG Game Pad on Surface Duo

I was able to get a hold of the LG Game Pad apk but I'm unable to get it to install so I wanted to put it here if anyone wants to take a crack at getting it installed.
Game Pad APK:
https://drive.google.com/file/d/1H0hpGShg43uH5ORicvqbYE815R_LCy9d/view?usp=sharing
or here is the full LG Velvet Apps backup (2.5gb):
https://drive.google.com/file/d/10gwZ3CKxyqckgoo2FN4oB8IW1LAQGKme/view?usp=sharing
The install error I am seeing is
[INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Reconciliation failed...: Package com.lge.gamepad has no signatures that match those in shared user android.uid.system; ignoring!]
I installed apktool and decoded the app. I assume something needs to changed in the manifest file, but I googled around a bit and I'm out of my depth. For anyone else looking at this thread, here is the manifest.xml:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?><manifest xmlns:android="http://schemas.android.com/apk/res/android" android:sharedUserId="android.uid.system" package="com.lge.gamepad">
<uses-permission android:name="android.permission.BROADCAST_STICKY"/>
<permission android:name="android.permission.MANAGE_ACTIVITY_STACKS" android:protectionLevel="development|privileged|signature"/>
<meta-data android:name="android.allow_multiple_resumed_activities" android:value="true"/>
<application android:allowBackup="false" android:appComponentFactory="android.support.v4.app.CoreComponentFactory" android:icon="@drawable/lg_iconframe_game" android:label="@string/lg_game_pad" android:maxAspectRatio="2.4" android:resizeableActivity="false" android:supportsRtl="true" android:theme="@android:style/Theme.Holo.NoActionBar.Fullscreen">
<activity android:excludeFromRecents="true" android:exported="true" android:name="com.lge.gamepad.GamePadActivity" android:theme="@style/GamePadTheme">
<intent-filter>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:scheme="com.lge.gamepad"/>
</intent-filter>
</activity>
<meta-data android:name="com.lge.app.forceHideImmersiveConfirm" android:value="true"/>
<meta-data android:name="com.lge.special_display" android:value="true"/>
<service android:exported="true" android:name="com.lge.gamepad.GamePadService">
<intent-filter>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD"/>
<action android:name="com.lge.gamepad.intent.action.END_GAMEPAD"/>
<action android:name="com.lge.gamepad.intent.action.START_GAMEPAD_SERVICE_ONLY"/>
<category android:name="android.intent.category.MONKEY"/>
</intent-filter>
</service>
<provider android:authorities="com.lge.provider.gamepad" android:exported="false" android:name="com.lge.gamepad.database.GamePadProvider"/>
<activity android:configChanges="orientation" android:excludeFromRecents="true" android:exported="false" android:launchMode="singleTop" android:name="com.lge.gamepad.EditorSubActivity" android:taskAffinity="com.lge.gamepad.sub" android:theme="@style/Theme.AppCompat.Light.NoActionBar.Translucent"/>
</application>
</manifest>
Can't wait to see a fully ported version
I am no expert but I would start by changing these two lines:
<meta-data android:name="com.lge.app.forceHideImmersiveConfirm" android:value="true"/>
<meta-data android:name="com.lge.special_display" android:value="true"/>
Maybe try false on both see if that works.
Did anyone get this to work?
Hello any news about?

Categories

Resources