Hovatek Forum MOBILE Android [Please help] Creating xml files
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


[Please help] Creating xml files

[Please help] Creating xml files

Pages (2): 1 2 Next
andrew musson
andrew musson
andrew musson
Junior Member
23
06-10-2021, 06:50 AM
#1



So I hard bricked a razer phone 2 and I believe I have the right firehose file. However, the rawprogram.xml is missing partitions. I followed the legendary xenon's thread about creating our own rawprogram.xml and patch.xml and was able to successfully complete the right python scripts to open up the above stated xml files. But, I have no clue how to implement the missing partitions into the new rawprogram.xml. I have notepad++ downloaded but I am just too ignorant about adding partitions into it. Please help and thank you
X3non
X3non
X3non
Recognized Contributor
22,062
06-10-2021, 10:07 AM
#2
(06-10-2021, 06:50 AM)andrew musson So I hard bricked a razer phone 2 and I believe I have the right firehose file. However, the rawprogram.xml is missing partitions. I followed the legendary xenon's thread about creating our own rawprogram.xml and patch.xml and was able to successfully complete the right python scripts to open up the above stated xml files. But, I have no clue how to implement the missing partitions into the new rawprogram.xml. I have notepad++ downloaded but I am just too ignorant about adding partitions into it. Please help and thank you

you're not adding missing partitions, the partitions already exist within the xml but you'll notice that most don't have any filenames (filename="") so you're adding filenames to the existing partitions within the xml files
see steps 8 - 10 @ https://www.hovatek.com/forum/thread-31505.html
andrew musson
andrew musson
andrew musson
Junior Member
23
08-01-2022, 01:39 PM
#3
(06-10-2021, 10:07 AM)X3non
(06-10-2021, 06:50 AM)andrew musson So I hard bricked a razer phone 2 and I believe I have the right firehose file.  However, the rawprogram.xml is missing partitions.  I followed the legendary xenon's thread about creating our own rawprogram.xml and patch.xml and was able to successfully complete the right python scripts to open up the above stated xml files.  But, I have no clue how to implement the missing partitions into the new rawprogram.xml.  I have notepad++ downloaded but I am just too ignorant about adding partitions into it.  Please help and thank you

you're not adding missing partitions, the partitions already exist within the xml but you'll notice that most don't have any filenames (filename="") so you're adding filenames to the existing partitions within the xml files
see steps 8 - 10 @ https://www.hovatek.com/forum/thread-31505.html

xenon i have found the right firehose for razerv phone 2.  i cant seem to get qfil to cooperate i will send the log... i will gladly pay to get this tub of crap alive again...
andrew musson
andrew musson
andrew musson
Junior Member
23
08-01-2022, 01:43 PM
#4
(08-01-2022, 01:39 PM)andrew musson
(06-10-2021, 10:07 AM)X3non
(06-10-2021, 06:50 AM)andrew musson So I hard bricked a razer phone 2 and I believe I have the right firehose file.  However, the rawprogram.xml is missing partitions.  I followed the legendary xenon's thread about creating our own rawprogram.xml and patch.xml and was able to successfully complete the right python scripts to open up the above stated xml files.  But, I have no clue how to implement the missing partitions into the new rawprogram.xml.  I have notepad++ downloaded but I am just too ignorant about adding partitions into it.  Please help and thank you

you're not adding missing partitions, the partitions already exist within the xml but you'll notice that most don't have any filenames (filename="") so you're adding filenames to the existing partitions within the xml files
see steps 8 - 10 @ https://www.hovatek.com/forum/thread-31505.html

xenon i have found the right firehose for razerv phone 2.  i cant seem to get qfil to cooperate i will send the log... i will gladly pay to get this tub of crap alive again...
Start Download
2022-01-08 12:30:46.611    Program Path:C:\razer\rp2-edl\prog_ufs_firehose_sdm845.elf
2022-01-08 12:30:46.611    ***** Working Folder:C:\Users\ATAC_\AppData\Roaming\Qualcomm\QFIL\COMPORT_16
2022-01-08 12:30:46.862    Binary build date: Jun 25 2019 @ 03:16:15
2022-01-08 12:30:46.865    QSAHARASERVER CALLED LIKE THIS: 'C:\Program Files (x86)\Qualcomm\QPST\bin\QSaharaServer.ex'Current working dir: C:\Users\ATAC_\AppData\Roaming\Qualcomm\QFIL\COMPORT_16
2022-01-08 12:30:46.865    Sahara mappings:
2022-01-08 12:30:46.865    2: amss.mbn
2022-01-08 12:30:46.865    6: apps.mbn
2022-01-08 12:30:46.865    8: dsp1.mbn
2022-01-08 12:30:46.865    10: dbl.mbn
2022-01-08 12:30:46.865    11: osbl.mbn
2022-01-08 12:30:46.865    12: dsp2.mbn
2022-01-08 12:30:46.865    16: efs1.mbn
2022-01-08 12:30:46.865    17: efs2.mbn
2022-01-08 12:30:46.865    20: efs3.mbn
2022-01-08 12:30:46.880    21: sbl1.mbn
2022-01-08 12:30:46.880    22: sbl2.mbn
2022-01-08 12:30:46.880    23: rpm.mbn
2022-01-08 12:30:46.880    25: tz.mbn
2022-01-08 12:30:46.880    28: dsp3.mbn
2022-01-08 12:30:46.880    29: acdb.mbn
2022-01-08 12:30:46.880    30: wdt.mbn
2022-01-08 12:30:46.880    31: mba.mbn
2022-01-08 12:30:46.880    13: C:\razer\rp2-edl\prog_ufs_firehose_sdm845.elf
2022-01-08 12:30:46.880   
2022-01-08 12:30:46.880    12:30:46: Requested ID 13, file: "C:\razer\rp2-edl\prog_ufs_firehose_sdm845.elf"
2022-01-08 12:30:46.880   
2022-01-08 12:30:46.896    12:30:46: 603423 bytes transferred in 0.094000 seconds (6.1220MBps)
2022-01-08 12:30:46.897   
2022-01-08 12:30:46.899   
2022-01-08 12:30:46.902   
2022-01-08 12:30:46.902    12:30:46: File transferred successfully
2022-01-08 12:30:46.904   
2022-01-08 12:30:46.904   
2022-01-08 12:30:46.906   
2022-01-08 12:30:46.908    12:30:46: Sahara protocol completed
2022-01-08 12:30:46.908    Sending Programmer Finished
2022-01-08 12:30:46.910    Switch To FireHose
2022-01-08 12:30:46.910    Serial Number:4064064874
2022-01-08 12:30:46.910    Wait for 3 seconds...
2022-01-08 12:30:49.922    Max Payload Size to Target:49152 Bytes
2022-01-08 12:30:49.922    Active Boot Partition:0
2022-01-08 12:30:49.922    Device Type:ufs
2022-01-08 12:30:49.922    Platform:8x26
2022-01-08 12:30:49.922    Disable Ack Raw Data Every N Packets
2022-01-08 12:30:49.922    Skip Write:False
2022-01-08 12:30:49.937    Always Validate:False
2022-01-08 12:30:49.937    Use Verbose:True
2022-01-08 12:30:49.937    ***** Working Folder:C:\Users\ATAC_\AppData\Roaming\Qualcomm\QFIL\COMPORT_16
2022-01-08 12:30:50.149   
2022-01-08 12:30:50.149    Base Version: 19.06.10.18.44
2022-01-08 12:30:50.149    Binary build date: Jun 25 2019 @ 03:16:10
2022-01-08 12:30:50.149    Incremental Build version: 19.06.25.03.16.10
2022-01-08 12:30:50.149   
2022-01-08 12:30:50.149    12:30:50: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
2022-01-08 12:30:50.149    ************************************************
2022-01-08 12:30:50.149    C:\Program Files (x86)\Qualcomm\QPST\bin\fh_loader.exe --port=\\.\COM16 --sendxml=rawprogram0.xml --search_path=C:\razer\rp2-edl --noprompt --showpercentagecomplete --verbose --zlpawarehost=1 --memoryname=ufs
2022-01-08 12:30:50.149    ************************************************
2022-01-08 12:30:50.149   
2022-01-08 12:30:50.149    12:30:50: INFO: Current working dir (cwd): C:\Users\ATAC_\AppData\Roaming\Qualcomm\QFIL\COMPORT_16\
2022-01-08 12:30:50.164    12:30:50: INFO: Showing network mappings to allow debugging
2022-01-08 12:30:50.164    12:30:50: INFO:
2022-01-08 12:30:50.164   
2022-01-08 12:30:50.164   
2022-01-08 12:30:50.164   
2022-01-08 12:30:50.164    12:30:50: INFO: Trying to store 'rawprogram0.xml' in string table
2022-01-08 12:30:50.164    12:30:50: INFO: Looking for file 'rawprogram0.xml'
2022-01-08 12:30:50.164    12:30:50: INFO: User wants to talk to port '\\.\COM16'
2022-01-08 12:30:50.164    12:30:50: INFO: Took      0.00000000 seconds to open port
2022-01-08 12:30:50.164    12:30:50: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
2022-01-08 12:30:50.164    12:30:50: INFO: Looking for file 'ssd.img'
2022-01-08 12:30:50.180   
2022-01-08 12:30:50.180   
2022-01-08 12:30:50.180                            (_)           
2022-01-08 12:30:50.180    __      ____ _ _ __ _ __  _ _ __  __ _
2022-01-08 12:30:50.180    \ \ /\ / / _` | '__| '_ \| | '_ \ / _` |
2022-01-08 12:30:50.180    \ V  V / (_| | |  | | | | | | | | (_| |
2022-01-08 12:30:50.180      \_/\_/ \__,_|_|  |_| |_|_|_| |_|\__, |
2022-01-08 12:30:50.180                                      __/ |
2022-01-08 12:30:50.180                                      |___/
2022-01-08 12:30:50.196   
2022-01-08 12:30:50.196   
2022-01-08 12:30:50.196    12:30:50: WARNING: Couldn't find the file 'ssd.img', returning NULL
2022-01-08 12:30:50.196   
2022-01-08 12:30:50.196   
2022-01-08 12:30:50.196    _____                   
2022-01-08 12:30:50.196    |  ___|                 
2022-01-08 12:30:50.196    | |__ _ __ _ __ ___  _ __
2022-01-08 12:30:50.196    |  __| '__| '__/ _ \| '__|
2022-01-08 12:30:50.196    | |__| |  | | | (_) | | 
2022-01-08 12:30:50.196    \____/_|  |_|  \___/|_| 
2022-01-08 12:30:50.196   
2022-01-08 12:30:50.196   
2022-01-08 12:30:50.211    12:30:50: {ERROR: 'ssd.img' not found. You could possibly try --notfiles=ssd.img,OtherFileToSkip.bin (note, exiting since you specified --noprompt)}
2022-01-08 12:30:50.211   
2022-01-08 12:30:50.211    Writing log to 'C:\Users\ATAC_\AppData\Roaming\Qualcomm\QFIL\COMPORT_16\port_trace.txt', might take a minute
2022-01-08 12:30:50.211   
2022-01-08 12:30:50.211   
2022-01-08 12:30:50.211    Log is 'C:\Users\ATAC_\AppData\Roaming\Qualcomm\QFIL\COMPORT_16\port_trace.txt'
2022-01-08 12:30:50.211   
2022-01-08 12:30:50.211    Download Fail:FireHose Fail:FHLoader FailTonguerocess fail
2022-01-08 12:30:50.211    Finish Download
hovatek
hovatek
hovatek
Administrator
49,570
09-01-2022, 06:51 AM
#5



(08-01-2022, 01:39 PM)andrew musson xenon i have found the right firehose for razerv phone 2.  i cant seem to get qfil to cooperate i will send the log... i will gladly pay to get this tub of crap alive again...

Attach the rawprogram0.xml

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
andrew musson
andrew musson
andrew musson
Junior Member
23
12-01-2022, 06:30 AM
#6
Thank you so much for your time. I feel that I am attaching the rawprogram.xml...I know I am to be honest. I have these files...
andrew musson
andrew musson
andrew musson
Junior Member
23
12-01-2022, 01:15 PM
#7
(12-01-2022, 06:30 AM)andrew musson Thank you so much for your time.  I feel that I am attaching the rawprogram.xml...I know I am to be honest.  I have these files...
andrew musson
andrew musson
andrew musson
Junior Member
23
12-01-2022, 01:16 PM
#8
(12-01-2022, 06:30 AM)andrew musson Thank you so much for your time.  I feel that I am attaching the rawprogram.xml...I know I am to be honest.  I have these files...
Attached Files
.zip
rp2-edl.zip
Size: 2.19 MB / Downloads: 29
hovatek
hovatek
hovatek
Administrator
49,570
13-01-2022, 07:24 AM
#9
(12-01-2022, 01:16 PM)andrew musson Thank you so much for your time.  I feel that I am attaching the rawprogram.xml...I know I am to be honest.  I have these files...

open rawprogram0.xml using Notepad++ and delete the first line (ssd) then save

Code:

<program SECTOR_SIZE_IN_BYTES="4096" file_sector_offset="0" filename="ssd.img" label="ssd" num_partition_sectors="2" physical_partition_number="0" size_in_KB="8.0" sparse="False" start_byte_hex="0x22000" start_sector="34"/>

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
saber_jaan
saber_jaan
saber_jaan
Enthusiastic Member
8
03-12-2022, 03:48 PM
#10



Hi every body !
I can`t  create xml files for my moto g9 power.
Can every body help me about that ?
In addition, how can i post device gpt.bin in here ? It is just 38 KB.
thank you in advance.
Pages (2): 1 2 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram