Sonim XP8 (Root?)

Search This thread

Gand'

Member
Sep 4, 2012
12
0
For further reference, i managed to solve my root problem !

su is located in /system/xbin

i managed to delete it by activating adb root, mounting /system with R/W permission and then deleting it with adb shell

adb root
adb remount
 

kingstu

Senior Member
Jun 30, 2017
102
37
Is there some way to get the wireless charging to work with a sonim xp8? I assume its possibly a system issue and hence me asking here, or are there specific chargers that only work for wireless charging for an xp8?
The wireless charging on the XP8 is not Qi charging but charging using the pogo pins and it works fine if you have appropriate drop-in charger.
 

baff1957

New member
Feb 20, 2018
4
0
Hi all and i must say so interesting reading all these posts and trying to understand everything. I have purchased a locked to At&t Sonim XP8 which before i purchased i googled and could see there were several companies offering the unlocking of the phone however when i give them my IMEI they all decline so i am guessing it is on the black list?? However it came with an At&t sim which works but useless to me as i live in France and roaming costs are very very expensive. Also the second sim doesn't work with my UK EE sim.
I love the phone and want to try and achieve an unlock and software update to poss Android 10.
I spotted on the following site:-
that Lineage is available using TWRP but my concerns are whether it will unlock my phone when complete as i have also read its the (bootloader) that locks the phone ? although this unlocks the bootloader will the image modify it? to make it unlocked.
Has anyone successfully achieved unlocking a locked phone, any help would be very appreciated.
Many many thanks to you all.
 

Phuhque

Member
Oct 29, 2009
15
1
Does anyone have any suggestings on rooting the Carrier Free version of the XP8 running Android 10 build 8A.0.4-07-10.0.0.0-31.09.00 or is there a guide for pulling the current image from an unrooted phone? Rooting phones is not my specialty, and not something i routinely do.

The problem I am having is aall the references to "go download TWRP for your device." Unfortuantly, I do not see an entry for any Sonim devices.

Thank you.
 
Last edited:

Gand'

Member
Sep 4, 2012
12
0
Hi all and i must say so interesting reading all these posts and trying to understand everything. I have purchased a locked to At&t Sonim XP8 which before i purchased i googled and could see there were several companies offering the unlocking of the phone however when i give them my IMEI they all decline so i am guessing it is on the black list?? However it came with an At&t sim which works but useless to me as i live in France and roaming costs are very very expensive. Also the second sim doesn't work with my UK EE sim.
I love the phone and want to try and achieve an unlock and software update to poss Android 10.
I spotted on the following site:-
that Lineage is available using TWRP but my concerns are whether it will unlock my phone when complete as i have also read its the (bootloader) that locks the phone ? although this unlocks the bootloader will the image modify it? to make it unlocked.
Has anyone successfully achieved unlocking a locked phone, any help would be very appreciated.
Many many thanks to you all.

Have you managed to do something with it ?
I'm not sure wether it's not a clickbait as the link for the specific Lineage files points directly to an error 404 page ...

Capture d’écran 2021-12-22 à 09.57.54.png
 

duyimania

New member
Dec 25, 2021
2
0
hi all,
I am from Vietnam and my AT&T XP8 already unlock when I buy but as most of you, I cannot use Hotspot tether. Could you help me how to solve this please? As it is unlocked already, i dont need to boot it, do I?
thank you very much
 
Have you managed to do something with it ?
I'm not sure wether it's not a clickbait as the link for the specific Lineage files points directly to an error 404 page ...

View attachment 5489209

I am pretty sure that tweakdroid is clickbait - Every phone of mine I look up "<phone> lineageos" sends me to a page on tweakdroid, and I know full well there's no way I can install lineage on them.

Sadly, I think we are stuck with Sonim as it is, and my Xperia Active, and Uni Hammer too :)
 
  • Like
Reactions: portsample

hypafly

Senior Member
Aug 18, 2013
160
50
Hello guys. I have at&t XP8 on Android 10. I just purchased it like that although it's still locked and I'm expecting the unlock code. I want to know if there's a way to root it and also if there's a way to backup the android 10 firmware before modification. Thanks

EDIT: So I got it unlocked and now I noticed you can't use dual SIM at the same time it disables the other slot. Is there a way around this with root? And how can I root pls?
 
Last edited:

m11c3

Senior Member
Nov 21, 2010
106
6
bandung
when i try to pull boot.img
i make xml file from notepad and paste the code and save with .xml << it is correcT?

always error
3:29:26: INFO: Current working dir (cwd): C:\Users\mikes\Downloads\XP8\FlashTools\
03:29:26: INFO: Showing network mappings to allow debugging
03:29:26: INFO:



03:29:26: INFO: Trying to store 'bootbackup.xml' in string table
03:29:26: INFO: Looking for file 'bootbackup.xml'
03:29:26: INFO: User wants to talk to port '\\.\COM5'


_____
| ___|
| |__ _ __ _ __ ___ _ __
| __| '__| '__/ _ \| '__|
| |__| | | | | (_) | |
\____/_| |_| \___/|_|


03:29:26: {ERROR: Failed to open com port '\\.\COM5'}

Writing log to 'C:\Users\mikes\Downloads\XP8\FlashTools\port_trace.txt', might take a minute


what happen?
com is correct
edl mode

the funny things the device also not detect at qpst due too device not on the diag mode
and also not detect at sonim xp8 software update tool
 

Attachments

  • 1.png
    1.png
    15.9 KB · Views: 6
  • 2.png
    2.png
    22.1 KB · Views: 7
  • Like
Reactions: portsample

gsmrat

New member
Jun 28, 2022
1
0
hello, is there someone from the Netherlands who can do this for me, root and higher android
got xp8 android at&t 7.1.1.
for a fee of course.
I've been reading for 4 days and it gives me a headache

hallo,is er iemand uit nederland die dit voor mij kan doen ,rooten en hoger android
heb xp8 android at&t 7.1.1.
tegen betaling natuurlijk.
ben al 4 dagen aan het lezen en heb er hoofdpijn van
 

Mr.PvT

Senior Member
Dec 3, 2020
102
19
Việt Nam
LG V40
xin chào, có ai đó từ Hà Lan có thể làm điều này cho tôi, root và android cao hơn không
có android xp8 tại & t 7.1.1.
với một khoản phí tất nhiên.
Tôi đã đọc được 4 ngày và nó khiến tôi đau đầu

xin chào, có ai đó từ Hà Lan có thể làm điều này cho tôi, root và android cao hơn không
heb xp8 android at & t 7.1.1.
với một khoản phí tất nhiên.
Tôi đã đọc được 4 ngày và nó khiến tôi đau đầu
can i upgrade to android 10 with 2 sims active
 

Gand'

Member
Sep 4, 2012
12
0
I'm still looking for a way to install Android 10, does anybody have a stock backup of it ?
 

我爱林

New member
Aug 21, 2022
1
0
它还没有那种但应该可以驱动。我的谷班器。如果必须有服务器,它就应该去。

这是一个很好的文件集加载地审查,因为这将允许我启动其他程序启动程序工作。

Sonim 包含一个方便的门。如果您有此文件集的 XP8 争吵后操作工具,我们可以进行以下操作。

1.通过添加主机文件来拦截服务器通信
Sonimexperience.com 127.0.0.1
2、在XP8刷机工具安装目录下创建testlogin.txt
[代码]
{"status":"success","message":"1 成功登录","name":"1","activetabs":["download_tool","qcn_backup_restore"],"carriers":["00" ] ,"multi_carrier":true,"phone_model":["8A"],"edl_user":"Yes","emc":"Yes","carrier_list":{"00":"Generic","10" : "AT&T","11":"贝尔","12":"Telus","13":"Sasktel","14":"哈里斯","15":"Verizon","16":" Ecom","17":"NAM","18":"Rogers","19":"T-Mobile","20":"EU Generic","21":"MSI","22":"CISCO","23":"NAM 公共安全","24":"沃达丰全球","25":"Orange","26":"Southern Linc","27":"OPTIO","28 " :"印度","29":"SPRINT","30":"JVCK","31":"澳大利亚","32":"ACG","33":"CSPHIRE","34": " US-Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular", " multi_carrier":"Multi Carrier"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"Multi Carrier "}}"23":"NAM 公共安全","24":"沃达丰全球","25":"Orange","26":"Southern Linc","27":"OPTIO","28": "印度","29":"SPRINT","30":"JVCK","31":"澳大利亚","32":"ACG","33":"CSPHIRE", "34":"US -Cellular ","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier ":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"}}"23":"NAM 公共安全","24":"沃达丰全球","25":"Orange","26":"Southern Linc","27":"OPTIO","28":"印度","29":"SPRINT", "30":"JVCK","31":"澳大利亚","32":"ACG","33":"CSPHIRE", "34":"US-Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"}}31": "AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"}}NAM 公共安全","24": "沃达丰全球","25":"Orange","26":"Southern Linc","27":"OPTIO","28":"印度","29":"SPRINT","30":"JVCK","31":"澳大利亚","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier" :"多运营商"}}31":"AUSTRALIA","32": "ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"Multi Carrier"} }31":"AUSTRALIA","32":"ACG","33" :"CSPHIRE","34":"US-Cellular","multi_carrier":"Multi Carrier"}}NAM 公共安全","24":"沃达丰全球","25":"Orange","26" :"Southern Linc","27":"OPTIO","28":"印度","29":"SPRINT","30":"JVCK","31":"澳大利亚","32":"ACG ","33":"CSPHIRE","34":"US-Cellular","multi_carrier" :"多运营商"}}31":"AUSTRALIA","32":"ACG","33": "CSPHIRE","34":"US-Cellular","multi_carrier":"Multi Carrier"} }31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34" :"US-Cellular","multi_carrier":"Multi Carrier"}}25":"Orange","26":"Southern Linc","27":"OPTIO","28":"印度"," 29":"SPRINT","30":"JVCK","31":"澳大利亚","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier": "多运营商"}}31":"AUSTRALIA", "32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"} }31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"}}25":"橙色","26":"Southern Linc","27":"OPTIO","28":"印度","29":"SPRINT","30":"JVCK","31":"澳大利亚" ,"32":"ACG","33":"CSPHIRE", "34":"US-Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA", "32":"ACG","33":"CSPHIRE ","34":"US-Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG" ,"33":"CSPHIRE","34": “US-Cellular”,“multi_carrier”:“多运营商”}}“28”:“印度”,“29”:“SPRINT”,“30”:“JVCK”,“31”:“澳大利亚”,“ 32”:“ACG”,“33”:“CSPHIRE”,“34”“:“US-Cellular”,“multi_carrier”:“多运营商”}}31“:“AUSTRALIA”,“32”:“ACG ","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"}}“28”:“印度”,“29”:“SPRINT ”,“30”:“JVCK”,“31”:“澳大利亚”,“32”:“ACG”,“33”:“CSPHIRE”,“34”“:”US-Cellular“,”multi_carrier“:”多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"}} 31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"多运营商"}}34":"US- Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":"Multi Carrier"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier ":“多运营商”}}34":"US-Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE ","34":"US- Cellular","multi_carrier":"Multi Carrier"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":" US-Cellular","multi_carrier":"多运营商"}}multi_carrier":"多运营商"}}multi_carrier":"多运营商"}}32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":“多运营商”}}34":"US-Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US- Cellular","multi_carrier":"Multi Carrier"}}31 ":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":“多运营商”}}multi_carrier":"多运营商"}}multi_carrier":"多运营商"}}32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":“多运营商”}}34":"US-Cellular","multi_carrier":"多运营商"}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US- Cellular","multi_carrier":"Multi Carrier"}}31 ":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":“多运营商”}}multi_carrier":"多运营商"}}multi_carrier":"多运营商"}}}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US- Cellular","multi_carrier":"Multi Carrier"}}31":"AUSTRALIA ","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":“多运营商”}}multi_carrier":"多运营商"}}multi_carrier ":"多运营商"}}}}31":"AUSTRALIA","32":"ACG","33":"CSPHIRE","34":"US- Cellular","multi_carrier":"Multi Carrier"}}31":"AUSTRALIA ","32":"ACG","33":"CSPHIRE","34":"US-Cellular","multi_carrier":“多运营商”}}multi_carrier":"多运营商"}}multi_carrier ":"多运营商"}}"多运营商"}}"多运营商"}}
[/代码]
3.启动Flash工具并使用用户名= 1 /密码= 1登录

flashtool 看起来是调用高通库中定义的 UI 一直最前端。目前为止所知道的。
您好!感谢您提供这么棒的工具。我已经为打开这个工具研究一个月的时间了。按照您教程。我已经测试。还是提示没有输入正确的用户名和密码。软件内的 12345 密码也似乎也不正确。诚恳的希望能得到您的帮助,非常感激!

Mod translation via GT: Hello! Thanks for such a great tool. I've been researching this tool for a month now. Follow your tutorial. I have tested. Still prompted that the correct user name and password were not entered. The 12345 password in the software also seems to be incorrect. Sincerely hope to get your help, thank you very much!
 
Last edited by a moderator:

Xombiex

Member
Jan 29, 2022
20
2
any way to unlock sim sonim xp8800 att version? already root , already delete security partitions and rewrite qcn, phone doesnt ask code but no signal
 

Xombiex

Member
Jan 29, 2022
20
2
I have solution full unlock and enable dual SIM if need help send mssg
 

Attachments

  • IMG_20220912_095000.jpg
    IMG_20220912_095000.jpg
    2.5 MB · Views: 7
  • IMG_20220912_094947.jpg
    IMG_20220912_094947.jpg
    2 MB · Views: 7

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    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").
    4
    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
    3
    Hey guys, been a while and I'm glad to share some updates with the community!

    Main post here has been updated according to the progress made in the previous posts. Much thanks to everyone for providing early debug images, files, and knowledge!

    Updates
    - Torrent file hosting moved to Android FIle Host
    - Current 8.1.0 AT&T Debug image uploaded
    - 8.1.0 Debug image verified to retain dm-verity! At least on current AT&T builds.
    - Additional factory images uploaded
    - All basic flash tools, elf files, drivers, and GPTConsole executable uploaded
    - More images will be uploaded in the following days. Ran out of time to upload everything tonight.

    Full Android File Host Repository - Here

    We continue to welcome new images for the file collection.
    2
    ATT XP8 backup, rooting, and wifi hotspot

    Rooted an ATT (carrier unlocked) Sonim XP8 this afternoon and enabled wifi hotspot on the device. Below are notes. These are compiled mostly from XDA posts by Smokeyou. Kudos for his efforts and posts. Thanks also to Sergsinger for his PDA forum posts .Wifi hotspot adjustment by RJGlenn. Feel free to PM me with corrections, additions, and clarifications. This is a work in progress

    Instructions below assume lap/desktop OS is recent MS Windows.
    Pre-install:
    1.) Download and install "Flash Tools" from https://androidfilehost.com/?fid=4349826312261641937
    This compressed archive contains,
    fh_loader.exe GPTConsole.exe prog_emmc_firehose_8920.mbn
    prog_emmc_ufs_firehose_Sdm660_ddr.elf
    QC.QMSLPhone.dll
    QMSL_MSVC10R.dll
    QSaharaServer.exe
    SubSysSwDownload.DLL
    Download the FlashTools archive and unpack it to C:\ drive.

    2.) Download Android Debug Bridge (ADB) from here, https://developer.android.com/studio/releases/platform-tools.
    Install ADB on your desktop. Update Windows PATH, (life is short).

    3.) Download and install QDLoader HS-USB Driver.zip from here, https://androidfilehost.com/?fid=24459283995295983
    In the installation menu, always click "Next" and do not select anything else. Reboot your PC.

    4.) Download and install "XP8 drivers" from here, https://www.androidfilehost.com/?fid=4349826312261641909

    5.) Secure copies of Magisk.zip and MagiskManager.apk for installation on Android device. Website is https://github.com/topjohnwu/Magisk

    6.) On your Sonim XP8 handset, enable developer settings and,
    -allow OEM (bootloader) unlocking,
    -allow USB debugging,
    -allow verify apps over USB, and
    -download and install Root Browser Classic (JRummy apps).

    PHASE I.) BACKUP YOUR ROM-
    1.) Put the smartphone in EDL (Emergency Download) mode. Phone can be put into EDL manually by turning it off, then hold down both Volume buttons and press the Power button: Sonim will appear, then screen will go blank. Phone is now in EDL mode. Another option is via ADB. Open a command prompt window by right-clicking in an empty space while holding the Shift key on the keyboard, then select "open command window here" type in, "adb reboot edl". Connect the phone to the PC, the phone will be identified as " Qualcomm HS-USB QDLoader 9008" in the Device Manager, under Ports (COM and LPT). Remember the port number (COM) displayed here to which the phone is connected. This is very important.

    2. Create a backup. In the unpacked FlashTools folder, on an empty space, right-click while holding the Shift key on the keyboard and select "open command window here". Execute the following commands:
    2a.) "QSaharaServer.exe -p \\. \ COM<X> -s 13: prog_emmc_ufs_firehose_Sdm660_ddr.elf"
    <X> is the port number your phone is connected to, becomes COM1 or COM2 (hard brackets go away)

    2b.) Create a backup XML file named "backup.xml". This grabs much of the ROM for a backup. Contents of this .xml are:
    <?xml version="1.0"?>
    <!--NOTE: This is an ** Autogenerated file **-->
    <!--NOTE: Sector size is 512bytes-->
    <data>
    <program start_sector="24286840" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="abl_a" filename="abl_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="24288888" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="abl_b" filename="abl_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="131072" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="7168" label="xbl_a" filename="xbl_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="138240" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="7168" label="xbl_b" filename="xbl_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="145408" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="8192" label="tz_a" filename="tz_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="153600" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="8192" label="tz_b" filename="tz_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="161792" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="1024" label="rpm_a" filename="rpm_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="162816" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="1024" label="rpm_b" filename="rpm_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="163840" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="1024" label="hyp_a" filename="hyp_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="164864" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="1024" label="hyp_b" filename="hyp_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="165888" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="1024" label="pmic_a" filename="pmic_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="166912" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="1024" label="pmic_b" filename="pmic_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="24294024" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="66848" label="splash" filename="splash.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23592960" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="keymaster_a" filename="keymaster_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23595008" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="keymaster_b" filename="keymaster_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23597056" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="cmnlib_a" filename="cmnlib_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23599104" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="cmnlib64_a" filename="cmnlib64_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23601152" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="cmnlib_b" filename="cmnlib_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23603200" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="cmnlib64_b" filename="cmnlib64_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23605248" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="8192" label="mdtpsecapp_a" filename="mdtpsecapp_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23613440" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="8192" label="mdtpsecapp_b" filename="mdtpsecapp_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23621632" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="65536" label="mdtp_a" filename="mdtp_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23687168" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="65536" label="mdtp_b" filename="mdtp_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23752704" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="225280" label="modem_a" filename="modem_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="23977984" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="225280" label="modem_b" filename="modem_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="393216" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="131072" label="boot_b" filename="boot_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="262144" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="131072" label="boot_a" filename="boot_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="24718360" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="devcfg_a" filename="devcfg_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="24720408" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2048" label="devcfg_b" filename="devcfg_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="524288" sparse="true" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="8388608" label="system_a" filename="system_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="8912896" sparse="true" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="8388608" label="system_b" filename="system_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="21495808" sparse="true" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="1048576" label="oem_a" filename="oem_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="22544384" sparse="true" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="1048576" label="oem_b" filename="oem_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="17301504" sparse="true" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2097152" label="vendor_a" filename="vendor_a.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    <program start_sector="19398656" sparse="true" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="2097152" label="vendor_b" filename="vendor_b.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    </data>

    2c.) Enter this in a terminal window to create the backup, "fh_loader.exe --convertprogram2read --port=\\.\COM<X> --sendxml=backup.xml" .
    <X> is the port number your phone is connected to, becomes COM1 or COM2 (hard brackets go away).
    Note: To restore the backup, execute the commands: "QSaharaServer.exe -p \\. \ COM<X> -s 13: prog_emmc_ufs_firehose_Sdm660_ddr.elf",
    and "fh_loader.exe --port = \\. \ COM <X> --sendxml = Backup.xml"
    Remember <X> is the port number,to which your phone is connected!

    PHASE II.) ESTABLISHING ROOT. This is done via MagiskManager and boot patching.
    1.) Pull Boot.img. We need a copy of the stock boot image for MagiskManager to patch. It's also good to keep a backup copy of the stock boot image on hand should you need to restore for any reason.
    1a.) Create an XML file named "bootbackup.xml" in C:\FlashTools using below code. This will create a backup of boot_a from the Sonim XP8 and save it as "backup_boot.img" in C:\FlashTools.

    <?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="backup_boot.img" file_sector_offset="0" SECTOR_SIZE_IN_BYTES="512"/>
    </data>

    1b.) Boot to EDL mode using methods in Phase I, step 1. Remember the COM port in use. Run the following commands.
    A) Load the firehose programmer, "QSaharaServer.exe -p \\.\COM<X> -s 13:prog_emmc_ufs_firehose_Sdm660_ddr.elf"
    Remember <X> is the port number,to which your phone is connected.
    B) Run the bootbackup.xml file to create backup_boot.img in C:\FlashTools using the following command.
    "fh_loader.exe --convertprogram2read --port=\\.\COM<X> --sendxml=bootbackup.xml --lun=0 --memoryname=emmc --noprompt --reset"

    2.) Magisk Manager and boot patch
    2a.) Transfer "backup_boot.img" to /downloads on the device. MagiskManager will access it here and modify it.
    Do this by using Android Debug Bridge (ADB) thus: "adb push C:\FlashTools\backup_boot.img /storage/self/primary/Download/". Note device is NOT in EDL mode.
    2b.) On the handset, install magiskmanager.apk. Do this either via ADB, or put the .apk file on the device sdcard, browse to it using RootBrowser, and install.
    2c.) Open MagiskManager application, follow presented instructions and apply patch to backup_boot.img in device /downloads directory.
    2d.) Run, "ADB pull /storage/self/primary/Download/magisk_patched.img". File should be in whatever directory command was called from (C:\FlashTools\magisk_patched.img).

    3.) Apply patched boot.img to device operating system by pushing a copy of magisk_patched.img to the device and overwriting boot_a with it as follows,
    3a.) Create an XML file named "magiskoverwrite.xml"
    <?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>

    3b.) Boot back into EDL mode and load firehose programmer, "QSaharaServer.exe -p \\.\COM<#> -s 13:prog_emmc_ufs_firehose_Sdm660_ddr.elf"
    3c.) Apply magisk_patched.img using the following command, "fh_loader.exe --port=\\.\COM<#> --sendxml=magiskoverwrite.xml --lun=0 --memoryname=emmc --noprompt --reset"

    Post install notes: Phone asked for password upon reboot following completion of step 3. Screenlock pin did not resolve this.
    Did factory reset. Reinstalling MagiskManager.apk from copy on device sdcard, followed by "install" in the application, granted root privileges.

    Phase III.) ENABLING WIFI HOTSPOT.
    1.) Download and install Root Browser Classic (JRummy apps). Open Root Browser Classic and browse to /system/build.prop. Open with a text editor. Scroll down to "#property to enable entitlement check". Change att.service.entitlement= from "true" to "false". Below this add "net.tethering.noprovisioning=true". Hit save. Close the text editor, then reboot the phone.
    2
    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").
    Good morning everyone took me days to figure out how to flash this device with a userdebug build I have created a TWRP recovery with magisk patched built in from port tutorials on youtube ported from a nokia 7 8.1 build it works the only thing is partitions aren't fully mapped out I'm no developer more of a tinkerer I can upload the boot image I find it easier to flash with the sonim XP8 tool the goal was to create a recovery and change the boot image as I do on most of my devices it boots TWRP we have a working TWRP just needs some tlc anyone up for the task ? We are one step closer to a custom rom I can also upload a video for proof currently on ATT user debug build from the android file host backup