Sonim XP8 (Root?)

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC
Enjoy!

XP8 Android Root Theory - DEBUG or Magisk over EDL
EDL is a must since Fastboot cannot be unlocked initially from standard "user" builds.

One option is flash a userdebug image (below) allowing for adb root, fastboot unlocking, and other useful features.
or
Without unlocking the bootloader - Similar flashing methods remain valid when standard magisk powered root is desired. This method allows preservation of all current system data aside from boot.img. All is covered since Magisk works with AVB and we have EDL as a flashing alternative. Please see Android Boot Flow > LOCKED Devices with Custom Root of Trust for more information.

Recommend method ..
It's up to you.. If you want OTA updates and your planning to use root apps then go with Magisk. As of today we have current debug images available and I personally prefer isolated adb root access only however future availability of updated Debug images cannot be guaranteed.

Disclaimer
-Devices with locked bootloaders will display a custom OS warning at boot
-Tested on AT&T branded devices only - please provide system dump for validation on other builds
-I have not identified any JTAG procedures and I can not help if you hard brick your device!
-This guide only touches boot_a and should be relatively safe since boot_b remains unmodified. I'm pretty sure this is enough to restore the original boot.img to boot_a under a failure scenario.. But I'm not really qualified enough to say definitively either.
-Take great caution - this is raw emmc access and critical system data! You are proceeding at your own risk!

Magisk Root

Step 1 - Pull Boot.img
We need to pull the boot.img in order to feed it to magisk later for patching. It's also good to keep on hand for if/when you need to restore for any reason.
1. Create an XML file with the data below
Code:
<?xml version="1.0"?>
<data>
<program start_sector="262144" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="131072" label="boot_a" filename="boot.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
</data>
2. Boot to EDL mode and load firehose programmer
Code:
QSaharaServer.exe -p \\.\COM<#> -s 13:prog_emmc_ufs_firehose_Sdm660_ddr.elf
3. Backup boot.img using the following command
Code:
fh_loader.exe  --convertprogram2read --port=\\.\COM<#> --sendxml=<xmlfile.xml> --lun=0  --memoryname=emmc --noprompt --reset
Or visit the XP8 carrier firmware thread for full system backup steps.
https://forum.xda-developers.com/showpost.php?p=80465045&postcount=6

Step 2 - Magisk Patch
1. ADB push boot.img /storage/self/primary/Download/
2. Install Magisk Manager and apply patch to boot.img
2a. Download from https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
2b. Extract and run adb install magisk.apk
2c. Open Magisk app and apply patch to boot.img
3. ADB pull /storage/self/primary/Download/magisk_patched.img

Step 3 - Restore
1. Change the filename attribute in the XML to reflect newly created magisk_patched.img as shown below
Code:
<?xml version="1.0"?>
<data>
<program start_sector="262144" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="131072" label="boot_a" filename="magisk_patched.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
</data>
2. Boot back into EDL mode and load firehose programmer
Code:
QSaharaServer.exe -p \\.\COM<#> -s 13:prog_emmc_ufs_firehose_Sdm660_ddr.elf
3. Apply magisk_patched.img using the following command
Code:
fh_loader.exe --port=\\.\COM<#> --sendxml=<xmlfile.xml> --lun=0  --memoryname=emmc --noprompt --reset

USERDEBUG Flash

Step 1 - Backup
1. Boot to EDL mode and load firehose programmer
2. Generate rawprogram0.xml - Run GPTConsole <COM Number>
Example: GPTConsole 19
3. Initiate backup
Code:
fh_loader.exe --port=\\.\COM<#> --convertprogram2read --sendxml=rawprogram0.xml --lun=0  --memoryname=emmc --noprompt --reset
4. Wipe all partitions
Code:
fh_loader.exe --port=\\.\COM<#> --convertprogram2read --sendxml=erase.xml --lun=0  --memoryname=emmc --noprompt --reset
5. Restore new image
Code:
fh_loader.exe --port=\\.\COM<#> --sendxml=rawprogram0.xml --lun=0  --memoryname=emmc --noprompt --reset --search_path=<extracted image file directory>
// rawprogram0_unsparse.xml for some images

Images and OTA Files

Full 8.1 System Image
XP8A_ATT_user_8A.0.5-11-8.1.0-10.54.00
XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00

USERDEBUG Images
XP8A_ATT_userdebug_8A.0.5-11-8.1.0-10.54.00
XP8A_ACG-userdebug-8A.0.0-00-7.1.1-32.00.12
XP8A_USC-userdebug-8A.0.0-00-7.1.1-34.00.10
(ATT 7.1 pending upload. Please check back or use other links available further in thread.)

OTA Updates
XP8_ATT_user_N10.01.75-O10.49.00
XP8_ATT_user_O10.49.00-O10.54.00
XP8_TEL_user_N12.00.24-O12.23.00

Flash Tools - programmer (elf) file provided by eleotk!
XP8 Drivers

Firmware Carrier Codes
Code:
    None = 0,
    ATT = 10
    Bell = 11
    Telus = 12
    Sasktel = 13
    Harris = 14
    Verizon = 15
    Ecom = 16
    NAM = 17
    Rogers = 18
    T_Mobile = 19
    EU_Generic = 20
    MSI = 21
    CISCO = 22
    NAM_Public_Safety = 23
    Vodafone_Global = 24
    Orange = 25
    Southern_Linc = 26
    OPTIO = 27
    India = 28
    SPRINT = 29
    JVCK = 30
    AUS = 31
    ACG = 32
    CSPIRE = 33
    USC = 34
    SB = 35
    Multi = 99
Automatic OTA without AT&T service:
Purchase a blank AT&T SIM card ($5)
Start online prepaid activation - complete pages 1 & 2
**SIM Card is now partially active without funding - do not complete page 3 (payment)***
*#*#368378#*#* > Clear UI > Check for updates in settings

XP5s
Sprint Image: XP5SA.0.2-03-7.1.2-29.03.00
Works the same. Tested with unmodified Sprint firmware. Like most other apps, the Magisk manager app is unusable since the XP5s has no touch screen - I had to patch the boot image on another device. You can plug in a USB mouse however the cursor does not seem to invoke in-app tap's.

Need to use the appropriate Firehose loader (prog_emmc_firehose_8920.mbn) and replace the boot image location according to the XP5s GPT (start_sector="790528").
Is it possible to create our own official thread I've ported twrp boot img info on page 14? Maybe we can get some development going the partitions for this device is rather odd I couldn't locate the media folder that contains bootanimation.zip
 

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sonim XP8 is officially Rooted with TWRP
replace downloaded boot.img with your boot.img in firmware folder from the link below
tested on android 7x-8x USERDEBUG builds.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

=======================================================================
Bugs -
cant flash system.img
wipe/format data wipes phone completely
ive tested both functions its the way this phone is setup its pretty weird.

=======================================================================
Updates -
will be working on figuring out how to build a custom OS
any help would be greatly appreciated

=======================================================================
NEW LINK with sonim flash tool , boot.img , magisk , and no verity
I dont ! take any credit for the mentioned applications just the
TWRP port
==========
Thank you to all who kept this thread in motion lets keep it going !!
========================================================================
ADB -
adb reboot
bootloader - takes you to fastboot where you can select recovery mode
adb reboot
edl - takes you to flash mode.
adb reboot recovery doesnt work !
========================================================================


NEW LINK - GDRIVE
 

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sonim XP8 is officially Rooted with TWRP
replace downloaded boot.img with your boot.img in firmware folder from the link below
tested on android 7x-8x USERDEBUG builds.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

=======================================================================
Bugs -
cant flash system.img
wipe/format data wipes phone completely
ive tested both functions its the way this phone is setup its pretty weird.

=======================================================================
Updates -
will be working on figuring out how to build a custom OS
any help would be greatly appreciated

=======================================================================
NEW LINK with sonim flash tool , boot.img , magisk , and no verity
I dont ! take any credit for the mentioned applications just the
TWRP port
==========
Thank you to all who kept this thread in motion lets keep it going !!
========================================================================
ADB -
adb reboot
bootloader - takes you to fastboot where you can select recovery mode
adb reboot edl - takes you to flash mode.
adb reboot recovery doesnt work !
========================================================================


NEW LINK - GDRIVE
Does anyone have the android 10 Verizon firmware update ? Or userdebug ? Where did y’all source the updates from ?
 

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC
Is it possible to create our own official thread I've ported twrp boot img info on page 14? Maybe we can get some development going the partitions for this device is rather odd I couldn't locate the media folder that contains bootanimation.zip
Hey Has anyone flashed a user build with the sonim tool? I was able to edit the system.img but it won’t flash to the phone using the sonim tool it says rawprogram file doesn’t exist but it is in the folder a modified user build could be a start to an AOSP build if anyone has some files I could use that would help , since the files are a/b files copies of system files once edited should be superb I just can’t flash it only userdebug builds
 

ytagger

Member
Sep 23, 2020
30
8
8
Hey Has anyone flashed a user build with the sonim tool? I was able to edit the system.img but it won’t flash to the phone using the sonim tool it says rawprogram file doesn’t exist but it is in the folder a modified user build could be a start to an AOSP build if anyone has some files I could use that would help , since the files are a/b files copies of system files once edited should be superb I just can’t flash it only userdebug builds
Did you try with QFIL?
 

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC
Flash logs. wont boot any 8.1 versions userdebug or user , only 7.1.1 usc variant , and lost IMEI as well
Did you try with QFIL?

fh_loader.exe --port=\\.\COM6 --sendxml=rawprogram0.xml

C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00>
C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00>fh_loader.exe --port=\\.\COM7 --sendxml=rawprogram0.xml

Base Version: 17.07.28.15.44
Binary build date: Jul 28 2017 @ 18:08:54
Incremental Build version: 17.07.28.18.08.54

18:42:15: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
fh_loader.exe --port=\\.\COM7 --sendxml=rawprogram0.xml
************************************************

18:42:15: INFO: Current working dir (cwd): C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\
18:42:15: INFO: Showing network mappings to allow debugging
18:42:15: INFO:



18:42:15: INFO: Trying to store 'rawprogram0.xml' in string table
18:42:15: INFO: Looking for file 'rawprogram0.xml'
18:42:15: INFO: User wants to talk to port '\\.\COM7'
18:42:15: INFO: Took 0.00000000 seconds to open port
18:42:15: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
18:42:15: INFO: If you don't want this, use --dontsorttags

18:42:15: INFO: Sending <configure>

18:42:15: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''
18:42:15: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576
18:42:15: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576
18:42:15: INFO: In handleProgram('xbl_a.img')
18:42:15: INFO: Looking for file 'xbl_a.img'
18:42:15: INFO: =======================================================
18:42:15: INFO: {<program> FILE: 'xbl_a.img'}
18:42:15: INFO: {<program> (3.50 MB) 7168 sectors needed at location 131072 on LUN 0}
18:42:15: INFO: =======================================================


18:42:15: INFO: TARGET SAID: 'start 131072, num 7168'

18:42:15: INFO: Overall to target 0.110 seconds (31.82 MBps)

18:42:16: INFO: TARGET SAID: 'Finished programming start_sector 138240 and TotalSectorsToProgram 7168'
18:42:16: INFO:
18:42:16: INFO: =======================================================
18:42:16: INFO: ==================== {SUCCESS} ========================
18:42:16: INFO: =======================================================


19:13:54: INFO: TARGET SAID: 'Finished programming start_sector 122142687 and TotalSectorsToProgram 96714719'
19:13:54: INFO:
19:13:54: INFO: =======================================================
19:13:54: INFO: ==================== {SUCCESS} ========================
19:13:54: INFO: =======================================================


19:13:54: INFO: ==============================================================
19:13:54: INFO: Files used and their paths
19:13:54: INFO: 1 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\port_trace.txt'
19:13:54: INFO: 2 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\rawprogram0.xml'
19:13:54: INFO: 3 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\xbl_a.img'
19:13:54: INFO: 4 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\xbl_b.img'
19:13:54: INFO: 5 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\tz_a.img'
19:13:54: INFO: 6 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\tz_b.img'
19:13:54: INFO: 7 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\rpm_a.img'
19:13:54: INFO: 8 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\rpm_b.img'
19:13:54: INFO: 9 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\hyp_a.img'
19:13:54: INFO: 10 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\hyp_b.img'
19:13:54: INFO: 11 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\pmic_a.img'
19:13:54: INFO: 12 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\pmic_b.img'
19:13:54: INFO: 13 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\fsg.img'
19:13:54: INFO: 14 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\boot_a.img'
19:13:54: INFO: 15 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\boot_b.img'
19:13:54: INFO: 16 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\system_a.img'
19:13:54: INFO: 17 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\system_b.img'
19:13:54: INFO: 18 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\vendor_a.img'
19:13:54: INFO: 19 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\vendor_b.img'
19:13:54: INFO: 20 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\oem_a.img'
19:13:54: INFO: 21 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\oem_b.img'
19:13:54: INFO: 22 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\keymaster_a.img'
19:13:54: INFO: 23 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\keymaster_b.img'
19:13:54: INFO: 24 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\cmnlib_a.img'
19:13:54: INFO: 25 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\cmnlib64_a.img'
19:13:54: INFO: 26 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\cmnlib_b.img'
19:13:54: INFO: 27 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\cmnlib64_b.img'
19:13:54: INFO: 28 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\mdtpsecapp_a.img'
19:13:54: INFO: 29 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\mdtpsecapp_b.img'
19:13:54: INFO: 30 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\mdtp_a.img'
19:13:54: INFO: 31 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\mdtp_b.img'
19:13:54: INFO: 32 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\modem_a.img'
19:13:54: INFO: 33 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\modem_b.img'
19:13:54: INFO: 34 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\dsp_a.img'
19:13:54: INFO: 35 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\dsp_b.img'
19:13:54: INFO: 36 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\reserve3.img'
19:13:54: INFO: 37 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\abl_a.img'
19:13:54: INFO: 38 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\abl_b.img'
19:13:54: INFO: 39 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\dip.img'
19:13:54: INFO: 40 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\devinfo.img'
19:13:54: INFO: 41 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\apdp.img'
19:13:54: INFO: 42 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\msadp.img'
19:13:54: INFO: 43 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\dpo.img'
19:13:54: INFO: 44 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\splash.img'
19:13:54: INFO: 45 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\limits.img'
19:13:54: INFO: 46 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\toolsfv.img'
19:13:54: INFO: 47 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\logfs.img'
19:13:54: INFO: 48 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\reserve4.img'
19:13:54: INFO: 49 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\reserve5.img'
19:13:54: INFO: 50 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\reserve0.img'
19:13:54: INFO: 51 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\ddr.img'
19:13:54: INFO: 52 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\sec.img'
19:13:54: INFO: 53 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\bluetooth_a.img'
19:13:54: INFO: 54 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\bluetooth_b.img'
19:13:54: INFO: 55 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\fsc.img'
19:13:54: INFO: 56 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\ssd.img'
19:13:54: INFO: 57 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\modemst1.img'
19:13:54: INFO: 58 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\modemst2.img'
19:13:54: INFO: 59 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\persist.img'
19:13:54: INFO: 60 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\misc.img'
19:13:54: INFO: 61 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\keystore.img'
19:13:54: INFO: 62 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\devcfg_a.img'
19:13:54: INFO: 63 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\devcfg_b.img'
19:13:54: INFO: 64 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\frp.img'
19:13:54: INFO: 65 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\logdump.img'
19:13:54: INFO: 66 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\sti.img'
19:13:54: INFO: 67 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\storsec.img'
19:13:54: INFO: 68 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\rawdump.img'
19:13:54: INFO: 69 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\vbmeta_a.img'
19:13:54: INFO: 70 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\vbmeta_b.img'
19:13:54: INFO: 71 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\userdata.img'

19:13:54: INFO: _ (done)
19:13:54: INFO: | |
19:13:54: INFO: __| | ___ _ __ ___
19:13:54: INFO: / _` |/ _ \| '_ \ / _ \
19:13:54: INFO: | (_| | (_) | | | | __/
19:13:54: INFO: \__,_|\___/|_| |_|\___|
19:13:54: INFO: {All Finished Successfully}

19:13:54: INFO: Overall to target 1898.812 seconds (31.22 MBps)

Writing log to 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\port_trace.txt', might take a minute
 

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC
Flash logs. wont boot any 8.1 versions userdebug or user , only 7.1.1 usc variant , and lost IMEI as well



fh_loader.exe --port=\\.\COM6 --sendxml=rawprogram0.xml

C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00>
C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00>fh_loader.exe --port=\\.\COM7 --sendxml=rawprogram0.xml

Base Version: 17.07.28.15.44
Binary build date: Jul 28 2017 @ 18:08:54
Incremental Build version: 17.07.28.18.08.54

18:42:15: INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
fh_loader.exe --port=\\.\COM7 --sendxml=rawprogram0.xml
************************************************

18:42:15: INFO: Current working dir (cwd): C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\
18:42:15: INFO: Showing network mappings to allow debugging
18:42:15: INFO:



18:42:15: INFO: Trying to store 'rawprogram0.xml' in string table
18:42:15: INFO: Looking for file 'rawprogram0.xml'
18:42:15: INFO: User wants to talk to port '\\.\COM7'
18:42:15: INFO: Took 0.00000000 seconds to open port
18:42:15: INFO: Sorting TAGS to ensure order is <configure>,<erase>, others, <patch>,<power>
18:42:15: INFO: If you don't want this, use --dontsorttags

18:42:15: INFO: Sending <configure>

18:42:15: INFO: TARGET SAID: 'Calling usb_al_bulk_set_zlp_mode(TRUE) since ZlpAwareHost='1''
18:42:15: INFO: fh.attrs.MaxPayloadSizeToTargetInBytes = 1048576
18:42:15: INFO: fh.attrs.MaxPayloadSizeToTargetInBytesSupported = 1048576
18:42:15: INFO: In handleProgram('xbl_a.img')
18:42:15: INFO: Looking for file 'xbl_a.img'
18:42:15: INFO: =======================================================
18:42:15: INFO: {<program> FILE: 'xbl_a.img'}
18:42:15: INFO: {<program> (3.50 MB) 7168 sectors needed at location 131072 on LUN 0}
18:42:15: INFO: =======================================================


18:42:15: INFO: TARGET SAID: 'start 131072, num 7168'

18:42:15: INFO: Overall to target 0.110 seconds (31.82 MBps)

18:42:16: INFO: TARGET SAID: 'Finished programming start_sector 138240 and TotalSectorsToProgram 7168'
18:42:16: INFO:
18:42:16: INFO: =======================================================
18:42:16: INFO: ==================== {SUCCESS} ========================
18:42:16: INFO: =======================================================


19:13:54: INFO: TARGET SAID: 'Finished programming start_sector 122142687 and TotalSectorsToProgram 96714719'
19:13:54: INFO:
19:13:54: INFO: =======================================================
19:13:54: INFO: ==================== {SUCCESS} ========================
19:13:54: INFO: =======================================================


19:13:54: INFO: ==============================================================
19:13:54: INFO: Files used and their paths
19:13:54: INFO: 1 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\port_trace.txt'
19:13:54: INFO: 2 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\rawprogram0.xml'
19:13:54: INFO: 3 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\xbl_a.img'
19:13:54: INFO: 4 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\xbl_b.img'
19:13:54: INFO: 5 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\tz_a.img'
19:13:54: INFO: 6 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\tz_b.img'
19:13:54: INFO: 7 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\rpm_a.img'
19:13:54: INFO: 8 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\rpm_b.img'
19:13:54: INFO: 9 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\hyp_a.img'
19:13:54: INFO: 10 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\hyp_b.img'
19:13:54: INFO: 11 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\pmic_a.img'
19:13:54: INFO: 12 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\pmic_b.img'
19:13:54: INFO: 13 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\fsg.img'
19:13:54: INFO: 14 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\boot_a.img'
19:13:54: INFO: 15 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\boot_b.img'
19:13:54: INFO: 16 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\system_a.img'
19:13:54: INFO: 17 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\system_b.img'
19:13:54: INFO: 18 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\vendor_a.img'
19:13:54: INFO: 19 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\vendor_b.img'
19:13:54: INFO: 20 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\oem_a.img'
19:13:54: INFO: 21 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\oem_b.img'
19:13:54: INFO: 22 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\keymaster_a.img'
19:13:54: INFO: 23 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\keymaster_b.img'
19:13:54: INFO: 24 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\cmnlib_a.img'
19:13:54: INFO: 25 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\cmnlib64_a.img'
19:13:54: INFO: 26 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\cmnlib_b.img'
19:13:54: INFO: 27 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\cmnlib64_b.img'
19:13:54: INFO: 28 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\mdtpsecapp_a.img'
19:13:54: INFO: 29 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\mdtpsecapp_b.img'
19:13:54: INFO: 30 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\mdtp_a.img'
19:13:54: INFO: 31 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\mdtp_b.img'
19:13:54: INFO: 32 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\modem_a.img'
19:13:54: INFO: 33 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\modem_b.img'
19:13:54: INFO: 34 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\dsp_a.img'
19:13:54: INFO: 35 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\dsp_b.img'
19:13:54: INFO: 36 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\reserve3.img'
19:13:54: INFO: 37 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\abl_a.img'
19:13:54: INFO: 38 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\abl_b.img'
19:13:54: INFO: 39 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\dip.img'
19:13:54: INFO: 40 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\devinfo.img'
19:13:54: INFO: 41 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\apdp.img'
19:13:54: INFO: 42 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\msadp.img'
19:13:54: INFO: 43 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\dpo.img'
19:13:54: INFO: 44 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\splash.img'
19:13:54: INFO: 45 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\limits.img'
19:13:54: INFO: 46 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\toolsfv.img'
19:13:54: INFO: 47 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\logfs.img'
19:13:54: INFO: 48 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\reserve4.img'
19:13:54: INFO: 49 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\reserve5.img'
19:13:54: INFO: 50 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\reserve0.img'
19:13:54: INFO: 51 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\ddr.img'
19:13:54: INFO: 52 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\sec.img'
19:13:54: INFO: 53 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\bluetooth_a.img'
19:13:54: INFO: 54 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\bluetooth_b.img'
19:13:54: INFO: 55 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\fsc.img'
19:13:54: INFO: 56 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\ssd.img'
19:13:54: INFO: 57 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\modemst1.img'
19:13:54: INFO: 58 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\modemst2.img'
19:13:54: INFO: 59 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\persist.img'
19:13:54: INFO: 60 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\misc.img'
19:13:54: INFO: 61 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\keystore.img'
19:13:54: INFO: 62 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\devcfg_a.img'
19:13:54: INFO: 63 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\devcfg_b.img'
19:13:54: INFO: 64 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\frp.img'
19:13:54: INFO: 65 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\logdump.img'
19:13:54: INFO: 66 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\sti.img'
19:13:54: INFO: 67 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\storsec.img'
19:13:54: INFO: 68 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\rawdump.img'
19:13:54: INFO: 69 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\vbmeta_a.img'
19:13:54: INFO: 70 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\vbmeta_b.img'
19:13:54: INFO: 71 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\userdata.img'

19:13:54: INFO: _ (done)
19:13:54: INFO: | |
19:13:54: INFO: __| | ___ _ __ ___
19:13:54: INFO: / _` |/ _ \| '_ \ / _ \
19:13:54: INFO: | (_| | (_) | | | | __/
19:13:54: INFO: \__,_|\___/|_| |_|\___|
19:13:54: INFO: {All Finished Successfully}

19:13:54: INFO: Overall to target 1898.812 seconds (31.22 MBps)

Writing log to 'C:\Users\MAY6\Documents\2021\XP8A_ATT-user-8A.0.5-10-8.1.0-10.49.00\port_trace.txt', might take a minute
would anybody be kind to share an att emmc dump to hopefully unbrick my device?
 

apetrov1x5

Member
Dec 11, 2020
7
0
1
would anybody be kind to share an att emmc dump to hopefully unbrick my device?
Hi, first of all thank you for all the work you are doing for our great phone!

I have no knowledge to help unfortunately, but here is a a back-up of an AT&T phone, Android 8.1 - is this a "dump" you are looking for?


Link taken from a Russian thread on this phone which I am also following in the hope to get a Custom rooted ROM for our phone. ( https://4pda.ru/forum/index.php?showtopic=984475 )
 

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC
Hi, first of all thank you for all the work you are doing for our great phone!

I have no knowledge to help unfortunately, but here is a a back-up of an AT&T phone, Android 8.1 - is this a "dump" you are looking for?


Link taken from a Russian thread on this phone which I am also following in the hope to get a Custom rooted ROM for our phone. ( https://4pda.ru/forum/index.php?showtopic=984475 )
It says link non existent 😭😭😭😭 I ordered another one just wanted to see if I could revive this it works on usc firmware 7.1.1 but won't let me flash 8.1 I logcat the boot and it ekpt flagging an error with a lib I formatted userdata the first time it boot but stayed on the boot logo , the second time cut off as soon as it hit the boot animation
 

apetrov1x5

Member
Dec 11, 2020
7
0
1
It says link non existent 😭😭😭😭 I ordered another one just wanted to see if I could revive this it works on usc firmware 7.1.1 but won't let me flash 8.1 I logcat the boot and it ekpt flagging an error with a lib I formatted userdata the first time it boot but stayed on the boot logo , the second time cut off as soon as it hit the boot animation
sorry, I see that too. I wrote in that thread telling the user that link expired. If/when I get a reply, will update you of course.
 

ytagger

Member
Sep 23, 2020
30
8
8
  • Like
Reactions: thenatti

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC

ytagger

Member
Sep 23, 2020
30
8
8
Thank you is this for att ? Also have the phone booted had to flash a blank vbmeta for gsi's to boot which kind of makes sense now back on 8.1 userdebug wanted to know if anyone had an att unlocked .qcn backup they could share I could change my imei in the file to restore radio imei with qpst write to nvram successful but I'ma not registered and everything else says unknown
I don't really know anything about this link, just giving you a valid version of the link @apetrov1x5 posted.
I'm glad to hear you got the phone booted.
 
  • Like
Reactions: thenatti

thenatti

Senior Member
Aug 27, 2019
57
26
18
27
Washington DC
Would you happen to have a qcn. Backup file I can edit to hopefully get the radio working again ? , And thank you yeah this phone is a pain in the ass to modify never seen one like it I guess they took the word rugged literally 🤣🤣