yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] Xombiex:
I can unlock Carrier but no signal i Will get an european versión of 3800 and read firmware to flash mine, after that i Will get signal
[Android Q&A, Help & Troubleshooting] eleotk:
android10dualsim Can refresh any version ATT VZW test no problem
[Android Q&A, Help & Troubleshooting] enderwap_and:
so, this version of modem will allow dual sim and will recognize the sims? btw, error 404, not found on google drive:(:(
[Android Q&A, Help & Troubleshooting] eleotk:
Yes, the link is fine, it seems that you have to log in to your account to download
[Android Q&A, Help & Troubleshooting] Xombiex:
Hi,do You have debug or unbrand firmware for xp3800 i'm testing but only have Sprint and us celular backup
[Android Q&A, Help & Troubleshooting] eleotk:
NO debug image
[Android Q&A, Help & Troubleshooting] eleotk:
Dual SIM, flash modem , change build.props

persist.radio.multisim.config=dsds
[Android Q&A, Help & Troubleshooting] Xombiex:
Question : If flash signal Lost, need edit build.prop with root right? I'm try with xp3
[Android Q&A, Help & Troubleshooting] eleotk:
vendor persist.radio.multisim.config=dsds
[Android Q&A, Help & Troubleshooting] Xombiex:
hi, i edited vendor for XP3800 so its modified vendor for enable dual sim thanks @eleotk for the info

its fully working

250 MB file on MEGA

mega.nz
[Android Q&A, Help & Troubleshooting] thenatti:
TWRP 3.2 updated build

Updated Sonim 3.2 TWRP Recovery

Fixes.

new mount points

A/B option

Device name shows when mounted

Not Fixed.

Wipe userdata may break system.

cant remember if it formats correctly

MTP Access Works

- may need to change drivers to detect MTP

ADB Works added fixes

*Built off of stock recovery

Will Reboot after Magisk Install*

#thenatti
[Android Q&A, Help & Troubleshooting] thenatti:
use qfil to flash comes with XML files for boot, erase userdata, patch0 programer files elf. format

sorry for the long wait
[Android Q&A, Help & Troubleshooting] thenatti:
i noticed a navigation button bug ( only back button works ) on the bell canada android 10 Rom when you flash fresh when you flash over previous system its not apparent anyway to fix this ?
[Android Q&A, Help & Troubleshooting] BeAuMaN:
So, I know this is the Sonim XP8 root thread, but I came here since I just wanted to get some stock rom updates. I'm going to post here so that if anyone else had the same issue I had, they can learn from it.

Background:

I have an active AT&T post-paid account w/ sim. More or less the original Sonim XP8 (AT&T branded) was starting to break down. I bought two replacement "Open Box" Sonim XP8s (Also AT&T branded) on Amazon from a decently reputable seller. I checked them online to make sure they weren't blacklisted, function checked them, stuffed them in a drawer, and months later I got around to dealing with replacing them.

Problem:

Try as I might, I could get OTA updates. I should, since I'm an AT&T customer, but I couldn't. Tried wiping and restarting a bunch of times, couldn't get them. And AT&T is useless for support (I still have been with them since they have the best cell service in my local region)

Solution:

It was either in this thread or another thread, but someone mentioned they were able to get OTA Updates at the AT&T store. I vaguely remember this being the case when I brought the phone in, so the next day I went and parked outside the AT&T store, and connected to the Passpoint Wifi system there (this is a wifi hotspot system available to AT&T customers automatically to as to reduce cell data usage). I was now able to get OTA Updates.

For some reason, paid AT&T customers can't get OTA updates for the Sonim XP8 (or that's my individual experience) from anywhere, but they can get it at the store. It may be location based, as the thread I read suggested, but in this case I used the passpoint wifi system at the store. More testing can be done on the particulars.

This is of course exhausting, since I have to do sequential updates and it takes hours of being parked there, downloading, and especially installing. I took down the order of updates. While one of the phones started on Android 7.1.1, I didn't start keeping track until Android 8.1. As such, here's the order of AT&T OTA updates, going from Android 8.1 until the last Android 10 update (there may be one additional 8.1. update before the first one:

For list purposes, the first name of the OTA update is listed as the update "to", while the name in parenthesis is listed as the update "from". No idea why there's slight name variations.

(V49 00)

V83 00 (ATT O MR6 V83)

O MR7 V92 (ATT V92 MR7 TA)

ATT Q v34 MR8 FFW (ATT Q MRQ v34)

Q SMR V34_01 (ATT Q SMR v3401)

SMR02 MR10 V3402 (ATT Q SMR v3402)

SMR03 MR11 V3403

Pictures

After that point, you should be updated to the last version of Android 10 for Sonim XP8. Not sure if that will help anyone, or if anyone needs other details. I still need to do two more updates on the other phone that will set in a drawer as a backup. It's dad's phones, but he's rough on them, so I got extras this time since they're cheaper than they used to be.

Hope that helps!

Edit: Also, this took hours. **** AT&T. I mean probably all the US Carriers, but especially AT&T.
[Android Q&A, Help & Troubleshooting] napolitano53:
I request help from the colleagues of this forum since I need to know how to root sonim xp8, xp3 I would really appreciate your help and I tried to do it with magick but I don't know the steps to follow or how to get the boot.image from a QCN file PLEASE HELP THANK YOU
[Android Q&A, Help & Troubleshooting] wronan:
Hi, fellow XP8 owners!

I've smashed my previous phone, surprising found a great offer on a brand new XP8 and went for it.

I love it already except for being raided by gapps.

I'm on a personal mission for building a LineageOS for it but of course the road is bumpy. I've never built a custom ROM of any king so these are a new territories for me.

I'm a software developer but as I've mentioned above, till now I was a "passive" smartphone user, I don't fully understand the AOSP development terminology, I gather the knowledge along the way so please go easy on me if I talk gibberish at some point.

Anyway, here's my journey so far:

device came with non carrier-lock and Android 10

I quickly managed to "upgrade" it to boot-loop-android-10

then I've brought it back to life with QFIL and ATT-userdebug image (many thanks for those)

next I've deployed Bell Android 10 (again: many thanks for the source)

And here are my problems:

I absolutely can't unlock the bootloader on the device (Magisk rooted ATT-userdebug don't allow to even bring down the lock in developer's mode (switch is greyed-out, Magisk rooted Bell A10 image allows me to trigger the switch but without any result - bootloader remains locked - `fastboot flashing unlock` and similar commands result in `unknown command`)

so I'm stuck with QFIL and EDL mode

I gave up on my own TWRP build and both builds posted by @thenatti (the older one and the Apr '23 one) result in boot-loop

Kind of good news are that LOS 17.1 build with my own device tree (however still imperfect) finishes successfully. But when deployed with QFIL produces boot-loop.

My questions are:

is there any difference between QFIL and that Sonim XP8 Software update tool (like do those eventually produce the same results?, I suspect so but would like to be sure)

could you @thenatti share a device tree that you've used for your TWRP builds? (out of curiosity, I'd like to compare it with mine that I've used for LOS build - most likely I'll learn something from you)

Both TWRP builds (which apparently work on your devices) and my own LOS build cause boot-loops, which makes me think that maybe I've messed something extra when jumping from one Android deployment to another?

At this point I think my goal would be to deploy TWRP on my device because I have no way/idea/knowledge how to debug my LOS build. It's failing, I expected it to do so at least at this early stage but I can't fix when I don't know what's broken (some lib missing from the original A10? or many many other things...) and I've read somewhere that applying OTA through TWRP should allow me to read somehow to read kernel dump or any other kind of logs that may be helpful.

Please, help me before my wife throws me away :D (yeah... I've invested much more time into LOS build that I should have).

Thanks in advance and again many thanks to all of you - this thread saved my ass a couple of times already.
[Android Q&A, Help & Troubleshooting] portsample:
Good luck on your mission. However, until we figure out a method of unlocking the bootloader, I am afraid that this may be an unattainable task. In the past week I have been active on the general Magisk XDA forum asking about rooting the XP8 when running Android 10.0. No success ,but a lot of puzzlement. Link is here:

https://xdaforums.com/t/magisk-general-support-discussion.3432382/page-2851

Discussion starts at 57,002. Feel free to jump in and share your experiences and ideas. LineageOS on Sonim XP8 would be a smashing game changer for this amazing device.
[Android Q&A, Help & Troubleshooting] wronan:
I'm reading through that thread. But since vbmeta is just a verified boot metadata then I don't understand how it would help our case besides silencing the boot warning. Bootloader would still be locked... or am I missing something here?

Also, referring to what you've wrote there: I was able to achieve boot on A10 through Magisk patching. I've used the Bell release of the Android 10 posted here. I was joggling the storage dumps between the various releases that I've tested so at this point I'm not 100% sure if the boot image came from Bell release but if you want it (boot.img) I can share (I'm guarding it with my life since this is the only rooted A10 I managed to produce - when I mess something I just restore it with QFIL).

I hoped that the boot.img (and the rest of the storage dumps) from the OTA can be used directly in the QFIL partitioning setup. Does this:

we can't?
[Android Q&A, Help & Troubleshooting] thenatti:
Could you send me a copy of the rom to test in have two sonim XP8’s the boot loader will only be unlocked on userdebug builds first ! , for the love of the creator I couldn’t figure out how to get any rom besides stock to even run I’ve tried the right GSI’s they all result in a boot loop , now I have two versions of the TWRP recovery one for 7-8 , and a 10 magisk patched some lineage os roms need ( DM-Verity ) turned off to boot which is why it’s probably bootlooping , which you can flash via twrp
[Android Q&A, Help & Troubleshooting] thenatti:
My findings with the 10 based builds boot loader doesn’t allow flashing commands , but the switch you can toggle but doesn’t actually do anything , I’ve even enabled it via Build.prop but I think the boot.img itself would have to be modified which I’ve patched with magisk but I’ve noticed it throws the tampered image warning android is corrupted and may not boot , when DM- verity is turned off and I enable the boot loader to be viewed as unlocked I think it’s a security feature on android 10 AVB , cause even trying to flash a blank vbmeta doesn’t work , and fast boot commands will result in a fail , android 10 Roma support fastbootd ( which are for dynamic partitions ) those that have a super.img but I couldn’t figure out how to enable it on the stock boot image but the resources are there this is the most weirdest android phone I’ve ever had to modify
[Android Q&A, Help & Troubleshooting] portsample:
I am very interested in gaining root when running A10 on this device. I'd really like to have a copy of the ROM. Thanks in advance.I appreciate all the work you have done.
[Android Q&A, Help & Troubleshooting] wronan:
@portsample I've attached the A10 Magisk rooted boot_a.img (I suppose you already know what to do with it but just in case: duplicate it to create `boot_b.img` and upload with QFIL)

@thenatti - I'll PM you the link to the image later (I don't want to make it public since it most likely won't work, or is not stable at best) - go for it if you want to give it a chance
[Android Q&A, Help & Troubleshooting] portsample:
Do you mean "...duplicate it to create 'boot_a.img'"? Thanks.
[Android Q&A, Help & Troubleshooting] thenatti:
yes so you have a boot_a and boot_b .img it can be the same file that way when you flash it will go to both slots it will still work if you flash to boot_a only
[Android Q&A, Help & Troubleshooting] wronan:
Make a copy of the `boot_a.img` file that I've sent you, rename the copy to `boot_b.img` and that's it.

Pick the boot related entries from the `rawprogram*.xml` so it contains only those to files, somewhat like this:

<?xml version="1.0"?>
<!--NOTE: This is an ** Autogenerated file **-->
<!--NOTE: Sector size is 512bytes-->
<data>
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" start_sector="262144" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="131072" label="boot_a" filename="boot_a.img" />
<program SECTOR_SIZE_IN_BYTES="512" file_sector_offset="0" start_sector="393216" sparse="false" readbackverify="false" physical_partition_number="0" partofsingleimage="false" num_partition_sectors="131072" label="boot_b" filename="boot_b.img" />
</data>

and run it through QFIL.
[Android Q&A, Help & Troubleshooting] thenatti:
i can confirm root on android 10 bootloader doesn't like fastboot commands tho , tried booting the LOS image by extracting system.img from payload.bin LOS recovery 17.1 boots but doesnt find partitions @wronan how do i pull the device tree ?
[Android Q&A, Help & Troubleshooting] portsample:
Got root using on Android 10 using ATT patched ROM in both slots. Still a few minor issues to work out.
[Android Q&A, Help & Troubleshooting] wronan:
@thenatti I've sent you the DT via PM - at first I wanted to push it to Github already but at the end I decided not to make it public till it's stable.
[Android Q&A, Help & Troubleshooting] portsample:
I have an ATT phone with a good ROM that I'd like to use as a backup. Attached is a rawprogram.xml file.

I assume it is safe to pull a copy from a phone and reinstall it on the same phone with only minimal risk of QFUSE'ing the device. But what if I want to put this ATT A10 ROM onto another Android 10 handset, perhaps one running a Sprint ROM? What about from an ATT 8.1 to 10.0? Should references to the keymaster.img be removed from the XML file? I am curious what rules or guidelines people are following to avoid QFUSE. Thanks in advance.
[Android Q&A, Help & Troubleshooting] wronan:
Why do you care? Is this device under warranty?
[Android Q&A, Help & Troubleshooting] thenatti:
Shxtt I say make it public that way we can gain some more dev support a lot of people are interested in another rom other than stock this is what we have been waiting for ,
[Android Q&A, Help & Troubleshooting] wronan:
Give ma couple more days - and I'll make it public.

Meanwhile I've made some progress.

I've built TWRP for A10 out of improved version of this device tree. Two of the navigation keys are not working but it should be just a matter of mapping them properly in the config. Also user data partitions are not mounting for some reason but that should also be easy to fix.

Will continue tomorrow.

Working TWRP should allow me to easily debug the LOS build.
[Android Q&A, Help & Troubleshooting] wronan:
Regarding the `HOME` and `APP_SWITCH` buttons: turns out that under Android events emitted look like this:

but under TWRP they look like this:

I don't understand why their codes changed but at least I know how to update the `gpio-keys.kl` if the same will happen under LOS (when I eventually build it 🤞 ).
[Android Q&A, Help & Troubleshooting] Xombiex:
Hellou ,anyone want to try unlock for xp10 xp9900, i'm testing but need a team i already has a Open device
[Android Q&A, Help & Troubleshooting] Supermud.:
Hey all, I'm working on following this guide to get my phone rooted. I am attempting to install a Generic System Image of e/OS following this: https://doc.e.foundation/support-topics/install-GSI

So I'm trying to attain root to disable verity.

I have tried both the userdebug and the Magisk guides but I'm stuck.

I can boot into EDL mode just fine. Once I'm in EDL Mode I can run QSaharaServer with the firehose file to 'load firehose programmer' (I have no idea what that means.

Whenever I try to run GPTConsole I get "file 'gpt_header' does not contain a valid GPT Header" and when I look at that file it is blank. I don't know what is supposed to go into it and a google search (as well as looking through this thread) gets me nowhere.

If I try and do the other method instead and create an XML file with the listed info I run the fh_loader command and I get

INFO: FH_LOADER WAS CALLED EXACTLY LIKE THIS
************************************************
fh_loader.exe --port=\\.\COM3 --convertprogram2read --sendxml=backup.xml --lun=0 --memoryname=emmc --noprompt --reset
************************************************

12:40:37: INFO: Current working dir (cwd): C:\Program Files (x86)\Qualcomm\QPST\bin\
12:40:37: INFO: Showing network mappings to allow debugging
12:40:37: INFO:

12:40:37: INFO: Trying to store 'backup.xml' in string table
12:40:37: INFO: Looking for file 'backup.xml'

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

12:40:37: {ERROR: Could not access 'C:\Program Files (x86)\Qualcomm\QPST\bin\' with acess mode 'rb'}

Which is really weird because I'm in the specified folder in a command prompt with admin rights and it still doesn't have access for some reason.

Can anyone help me with this? I really just want to have a working Sonim XP8 without any google crap on it. It seems like this is way harder than it needs to be.
[Android Q&A, Help & Troubleshooting] napolitano53:
Hola a todos los miembros de este hilo de sonim xp8. Les pido ayuda, actualice sonim xp8 con firmware de android 10 desde este foro, cambie imei pero tengo un problema con la señal del teléfono, la señal no aumenta y ya lo hice todo. Agradecería mucho su ayuda para conseguir la señal telefónica.

el telefono no tiene señal
[Android Q&A, Help & Troubleshooting] thenatti:
The day you have all been waiting for 3.7 TWRP recovery for Sonim xp8

Changelog V1.2

Mods

= secureboot turned off !

= A/B treble enabled

= magisk pre installed

= encryption turned off ( for easy backing up device ) doesnt boot with it turned on

= mtp,adb support

= force encrypt off , qouta enable, verified boot off

= flashing works

.

.

.

havent tested booting GSI yet or fastboot flashing ( i dont think android 10 likes those commands )

with encryption turned off we might be able to flash gsi will test on donor device !!

flash using qfil ( partition manager - its much easier ) just select the boot_a/boot_b partition and load image

with the file below

- Included is QFILand all the files you need to gain root and TWRP

Happy Holidays - thenatti
[Android Q&A, Help & Troubleshooting] G4br13l.l:
Hi, I know this thread is around the XP8, but it's been very helpful so far. I am working on rooting my XP5800 via EDL following the instructions from this thread. I have an ATT version that came with Android 8.

I am always getting stuck after starting the Sahara server using the instructions on page 1.

I'm getting this error :

12:02:50: ERROR: function: sahara_rx_data:237 Unable to read packet header. Only read 0 bytes.

12:02:50: ERROR: function: sahara_main:924 Sahara protocol error

12:02:50: ERROR: function: main:303 Uploading Image using Sahara protocol failed

Tried with both firehose 8917 and 8920...

Could someone help me out ?
[Android Q&A, Help & Troubleshooting] Xombiex:
There are around 4 motherboard version for 5800 loader just work on some Sprint and southern linc models.
[Android Q&A, Help & Troubleshooting] G4br13l.l:
Thanks for your fast reply. Do you know where I could find the right loader for my motherboard version ?
[Android Q&A, Help & Troubleshooting] Xombiex:
There is no loader i'm unlock every week around 300 devices and only way it's by isp
[Android Q&A, Help & Troubleshooting] G4br13l.l:
My goal isn't to unlock the device, it's to root it via EDL. Other users seem to have been able to do it with magisk. I just need to figure out why Sahara server doesn't work ...
[Android Q&A, Help & Troubleshooting] Xombiex:
That error it's by the wrong loader
[Android Q&A, Help & Troubleshooting] thenatti:
would you happen to have that build of the LOS recovery ? i might be able to fix the mount points , i feel i got close using this twrp but i cant see the system partitions in twrp but the phone was detected by the computer on boot it just stayed on the sonim logo
[Android Q&A, Help & Troubleshooting] bozza72:
This i believe is just what im looking for, Ive just picked up a sonim xp8 to use as a gps/nav thing for my motorcycle but its an AT&t variant and its stuck on android 8.1, I havnt rooted or flashed a phone for a number of years now, is it possible one of you could link me to a how to that i can use this file with, I hope to unlock it and flash it so its no longer at&t and will let me either flash android 10 or ome updat its self. Thanks
[Android Q&A, Help & Troubleshooting] FanboyStudios:
I just bought one of these as a replacement for my RAZER Phone which quit working.

It's certainly not as powerful, but it makes up for it in ruggedness and the ability to easily replace the battery!

If it's possible to flash Android 8 from a factory unlocked model onto my AT&T model, I would be interested.

Otherwise, I'll probably flash TWRP and Magisk and maybe try to debloat the phone that way.
[Android Q&A, Help & Troubleshooting] FanboyStudios:
Which version of Magisk is this using? Will it work with Magisk Hide? (Magisk Hide allows some banking apps to work, for example. If I remember right, Magisk 23 is the last version to include Magisk Hide.)

Is it possible to flash a factory (non-carrier) stock firmware to an AT&T model? If so, where can I find such firmware? (Android 8 preferred, I dislike Android 10+) If I did this, would I lose my IMEI?

Would it be possible to have secureboot and encryption (even if manually encrypted) on with root? If possible, it perhaps would be nice if I could re-lock the bootloader after installing TWRP.
[Android Q&A, Help & Troubleshooting] FanboyStudios:
How do I make a full system backup (including my IMEI)?

I don't want to brick my device, but I do want to root it (with Magisk 23), remove bloatware, and enable hotspot features, install AFWall, AdAway, Kernel Aduitor, Viper4Android, etc.

I have the AT&T variant running Android 8.
[Android Q&A, Help & Troubleshooting] bozza72:
If you get any luck doing this please let me know, I have not had much luck And only ever flashed devises using odin, I cant even find the

android 10 firmware