yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] sonophilos:
Same here.

I have now tried:

Running the 8.0 RUU from the state I was in (BL Unlocked, S-OFF, TWRP 3.1.1-0, Viper10 ROM, Magisk 15.2)

Relocking the bootloader and running the 8.0 RUU (BL Locked, S-OFF, TWRP 3.1.1-0, Viper10 ROM, Magisk 15.2)

Resetting to S-ON and running the 8.0 RUU (This caused me to be unable to boot) (BL Locked, S-ON, TWRP 3.1.1-0, Viper10 ROM, Magisk 15.2)

Running the later 7.0 RUU (it was newer than what I had) with bootloader locked and S-ON (BL Locked, S-ON, Stock Recovery/ROM, unrooted)

Running the 8.0 RUU again (same SIGNARURE ERROR) (BL Locked, S-ON, Stock Recovery/ROM, unrooted)

Unlocking the bootloader again (BL Unlocked, S-ON, Stock Recovery/ROM, unrooted)

Running the 8.0 RUU again (same SIGNARURE ERROR) (BL Unlocked, S-ON, Stock Recovery/ROM, unrooted)

Reinstalling TWRP Recovery 3.2.1-0 (BL Unlocked, S-ON, TWRP 3.2.1-0, Stock ROM, unrooted)

Rooting with Magisk 15.3 (BL Unlocked, S-ON, TWRP 3.2.1-0, Stock ROM, Magisk 15.3)

Setting BL status to S-OFF LOCKED through Sunshine (BL Locked*, S-OFF, TWRP 3.2.1-0, Stock ROM, Magisk 15.3)

Running the 8.0 RUU again (same SIGNARURE ERROR) (BL Locked*, S-OFF, TWRP 3.2.1-0, Stock ROM, Magisk 15.3)

Finally, restoring back to my previous state (BL Locked*, S-OFF, TWRP 3.2.1-0, Viper10 ROM, Magisk 15.2) then flashing Magisk 15.3.

The setup I'm on now (and will be until I see a successful install reported) is (BL Locked*, S-OFF, TWRP 3.2.1-0, Viper10 ROM, Magisk 15.3)

* S-OFF LOCKED behaves identically to S-OFF UNLOCKED on the HTC 10, so this shouldn't be hindering any progress here. Besides, I tried it every other way first.
[HTC 10 Guides, News, & Discussion] whiteduck89:
Yeah, same issue. Using CID HTC_001, BS_001, or 1111111 returns all the same results ...
[HTC 10 Guides, News, & Discussion] vanquyenktb:
please wait fw 3.x, flash it first then run ruu.exe, fw take from ota, but none ota at this time, so can't run ruu.exe without error
[HTC 10 Guides, News, & Discussion] jerryhou85:
Please continue your discussion in the updates thread: https://xdaforums.com/htc-10/how-to/unlocked-htc-10-update-updated-s-t3376329
[General Questions and Answers] MatlaJeden:
Dear people,

can I have a question? Exists some Android which I can download and install on my Multipad Wize 3111?

With regards

Matej
[Xiaomi Mi A1 Questions & Answers] m.hashem:
i downloaded factory image of 7.12.29 oreo

i used flash_factory.bat

it reflashed partitioning

apparently it had a command "fastboot flash modem_a NON-HLOS.bin"

the NON-HLOS.bin file does not exist in images folder nor in any fastboot rom

now i dont have any connectivity... signal.. wifi etc..

can anybody provide NON-HLOS.bin file for the A1
[Xiaomi Mi A1 Questions & Answers] hugomoya:
Hello,

Inside the fastboot ROM file "tissot_images_7.12.19_20171219.0000.00_7.1_d39fa89aaf.tgz" (Nougat 7.1.2) ... in the file "flash_all_lock_crc.bat" for example, these lines appear:

fastboot %* flash modem_a %~dp0images\modem.img || [MENTION=279333]ECHO[/MENTION] "Flash modem_a error" && exit /B 1

fastboot %* flash modem_b %~dp0images\modem.img || [MENTION=279333]ECHO[/MENTION] "Flash modem_b error" && exit /B 1

It seems that the file is called "modem.img", not "NON-HLOS.bin".

May be?

Regards!

PS: Sorry for my English!
[Xiaomi Mi A1 Questions & Answers] m.hashem:
i managed to flash all images from fast boot to partitions manually step by step

except something called fsg and persist partitions

which i managed to flash through twrp using dd command via terminal

now it boots but i dont have imei number "says imei number unknown"

and it reboots after less than a minute

i read something about qcn file restore and editing from another mi A1

and that i can edit it to put my imei numbers back

anybody please provide a valid qcn number and how can i restore it
[Xiaomi Mi A1 Questions & Answers] Rohit99:
if it is under warranty just brick your phone and give it to service centre they will flash it and give you back
[Xiaomi Mi A1 Questions & Answers] bangir:
i have same problem last night

then i reflash 7.12.19 using miflash 2016.08.30.0

my imei normal again :D
[Xiaomi Mi A1 Questions & Answers] gazavn:
Wow! The file NON-HLOS.bin is the modem for other Xiaomi phone. May be you use a batch file (flash_factory.bat) for other phone, not Mi A1. Please use Mi Flash with right rom.
[Xiaomi Mi A1 Questions & Answers] gautamaurya:
this is method not working

this is method not working
[Xiaomi Mi A1 Questions & Answers] majamee:
What happens if you try to re-flash your modem with the flash_all or flash_all_except_storage scripts from here: https://xdaforums.com/mi-a1/how-to/ota-official-fastboot-image-n2g47h-7-12-t3728929 ?

Can you please report, if it works and if should not work, please attach the terminal/ shell outpout of the failed flashing attempt here. ;)
[Xiaomi Mi A1 Questions & Answers] m.hashem:
modemst1 and modemst2

hey ... i managed to flash the fastboot rom via miflash via hsusb 9008 mode through miflash tool (run as administrator)

the remainig problem is 2 partitions modemst1 and modemst2

which are dev/block/mmcblk0p14 & 15 respectively

can somebody please send me a backup of modemst1 and modemst2

it's doable via twrp

fastboot boot twrp3.1.1.1.img

advanced

terminal

dd if=/dev/block/mmcblk0p14 of=/sdcard/modemst1.img

dd if=/dev/block/mmcblk0p15 of=/sdcard/modemst2.img

i'll flash them back and edit the imei numbers via hex after qcn backup

thanks everybody
[Xiaomi Mi A1 Questions & Answers] majamee:
I have done some digging in order to assist you to get this fixed. I think I have 2 very hot leads (untested as I don't have any issues with my IMEI):

1. http://www.androidbrick.com/ultimat...agon-xiaomi-mi5-imei-and-baseband-repair-fix/ & http://www.androidbrick.com/ultimate-guide-qualcomm-snapdragon-imei-baseband-repair-fix-part-2/

2. https://androidmtk.com/use-qualcomm-smartphone-write-imei-tool (looks almost to easy, but worth a try?)

Please report your feedback here :)
[Xiaomi Mi A1 Questions & Answers] Byramklc:
hey bro how to the editting modem1st.img
[Xiaomi Mi A1 Questions & Answers] Nordland_ua:
Hello!

I made the same mistake. Is there a way to solve this problem?
[Xiaomi Mi A1 Questions & Answers] ElKidd:
Same problem here. Phone doesn't work correctly now. Boots, freezes and reboots. :crying:
[Xiaomi Mi A1 Questions & Answers] m.hashem:
persist image problem

https://xiaomifirmware.com/guides-and-tips/restore-persist-partition-xiaomi-mi-a1/

try ghis to restore persist img from twrp see if it fixes the freeze and reboot problem

also download the persist.img from the guide not from a fastboot rom... it should be 32 mb in size

i actually bricked my phone via doing fastboot flash partition partition-both-gpt.bin from fastboot folder then fastvoot reboot.... warning this bricks the phone completely... theres no bootloader now... i gave it to service center... ill take my chances for replacement
[Xiaomi Mi A1 Questions & Answers] Byramklc:
thank you very much broo my device is fixed freezee and reboots problem
[Xiaomi Mi A1 Questions & Answers] ElKidd:
Ok. But what is the persist partition? Someone tried already? Doesn't want to brick my phone completely.
[Xiaomi Mi A1 Questions & Answers] Byramklc:
how to the editting qcn file beacuse my imei 0 null please help me editting brother
[Xiaomi Mi A1 Questions & Answers] ElKidd:
The freeze and reboot problem is fixed. Thanks. Still one problem. IMEI1 is 0 and IMEI2 is null. Anyone has an idea?
[Xiaomi Mi A1 Questions & Answers] Ammo thind:
Me tooo
[Xiaomi Mi A1 Questions & Answers] JoKeRLeE:
https://www.androidfilehost.com/?fid=673956719939818468

Replace the IMEi with UR Own IMEI . if not it's illegal to use this QCN

Password : testnreport

if you don't know how to change IMEI Using hex editor , try my method . DO NOT use QCN to restore .

(hex and imei provided in order for u to find n replace)

i lost my imei n spent me about 6days n 8 hours per day to find a way to fix it .

actually it's easy to fix the problem .

My own method

1. download the older rom (7.8.23) Link

2. Use flash_all.bat

3.reboot into fastboot mode , erase modemst1 and modemst2 .

fastboot erase modemst1

fastboot erase modemst2

4. reboot

5. go to phone , enter *#*#717717#*#*

6.got to settings enable USB Debugging (ADB)

7. disconnect your phone n connect it back

8.Use WriteDualIMEI(W+G_eMMC) Remember run as administrator , enter your IMEI .

9.if success , go to phone enter *#*#717717#*#* to disable the diag port

10. reboot

Done .
[Xiaomi Mi A1 Questions & Answers] Ammo thind:
How u get imei backup of qcn
[Xiaomi Mi A1 Questions & Answers] JoKeRLeE:
I Successfully restored my IMEI by trying all the method ,( if you don't want to use the qcn , follow my given method) and i just replace my IMEI with the tools n backup from it . i also changed my IMEI using UltraEdit with random IMEI before upload
[Xiaomi Mi A1 Questions & Answers] Radwan Selo:
Unfortunately it impossible to restore ur orginal imei and wifi Bluetooth mac

There is one option u can do only

U need a backup from efs partition(same phone) and rooted rom

Restore the efs in twrp and then go to /efs (make sure it is mounted and edit the file containing the 2 imei to ur original imei and edit mac of Bluetooth and wifi to random mac and reboot

done.

Option 2 (very hard)

If u are a linux user (like me)

U can boot in twrp and use adb and make backup of ur efs partition using dd (there is duel efs partition in every phone)

And then try to recover ur data from this backup
[Xiaomi Mi A1 Questions & Answers] Ammo thind:
Rexplain please 1st one
[Xiaomi Mi A1 Questions & Answers] Radwan Selo:
1- u need a second mi a1 device

2-boot into twrp in the new mi a1

3-go to terminal in twrp and using dd command back up the two efs partitions to phone sdcard(make sure u know what are u doing and the partitions not mounted)

If u don't have second mi a1 ask a question in xda about helping like(someone plz give me a dd backup efs partitions)

4-move the backup from the second mi a1 to the ur mi a1.

5-boot in to twrp in ur phone and using dd restore the partitions.

6-done fixed

Only one problem the two phones will have the same imei and same mac address

To fix this go to efs partition (usually in /efs) and search for a file containing the imei and edit it to ur phone imei

Same thing for mac address (u need root)

Warning if u dont edit the imei and macs ur phone will not work in the gsm because there is the second mi a1 has the same imei

And for macs u can't connect the both phones to same network and for Bluetooth u can't enable the two phones Bluetooth when the phones are in same area

Sry for bad English I try my best

I will post some helping videos for u about adb and dd command

---------- Post added at 01:44 PM ---------- Previous post was at 01:35 PM ----------

https://xdaforums.com/showthread.php?t=2766186&page=9

No need to use this in phone terminal u can do it in twrp terminal just u need to know the partitions numbers(/dev/block/xxx)or partitions name maybe in(/dev/block/flash-name/by-name)

And use dd command

---------- Post added at 01:54 PM ---------- Previous post was at 01:44 PM ----------

1-root the second mi a1

2-donwload this https://play.google.com/store/apps/details?id=ma.wanam.partitions

3-backup the efs(s) partitions

4-go to to phone and restore the backup from other phone(u need to root ur phone too)

5-reboot

Done fixed.

Just edit the imei and macs address (wifi and Bluetooth)

And then u can reflash stock rom. Flast_lock_crc
[Xiaomi Mi A1 Questions & Answers] Ammo thind:
Can i have your social id telegram or whatsapp please pm me
[Xiaomi Mi A1 Questions & Answers] dbx2r:
Ok, IMEI is back. Unfortunately, if I update software I loose it again after first reboot. Will all of us have to stick to the very buggy August ROM forever? Anyone found a workaround for this?
[Xiaomi Mi A1 Questions & Answers] Byramklc:
hey bro my mi a1 is imei deleting and mi Augost rom is repairing. My device imei back and re flashing OPR1.170623.026.8.1.10 Rom and not problem imei Flashing Clean and lock OPR1.170623.026.8.1.10 Rom
[Xiaomi Mi A1 Questions & Answers] dbx2r:
I thougt so too. But just give it a few reboots. It will go away again =(
[Xiaomi Mi A1 Questions & Answers] Byramklc:
I have the same problems with my device but since 7.8.23 has a lot of defects, I have completely fixed the device and then got a backup of the qcn file. If I ever come back to such a problem, I'm constantly in the process.
[Xiaomi Mi A1 Questions & Answers] dbx2r:
In my case WriteDualIMEI reports Pass but really writes nothing. I can't for the life of me understand how to edit the QCN files provided, so I flashed the one provided with fake IMEI and what showed up was not the editet IMEIs but my very own. And it works flawless on August compilation.

Can anyone help me edit the QCN?

Also, here is my next move:

Back in the Motorola days, I used to flash partially firmwares to update software Sim-Unlocked Moto X from 4.3, to 4.4.4 and finally to 5.1. If you erase the lines flashing the modem partition, FSG partition and DO NOT erase Modemst1 and 2 then you could have a phone with fully working android and still software unlocked. This method even preserved the unlock after factory reseting the phones. Narrowing it down, i turned out the whole thing was about the FSG partition, that -if flashed- erased the unlock state. Of course you needed to stay with an Unlocked Bootloader and forget about OTAs, or else... I'll try to see if I can work that out.

And as for Plan B, flashing a custom ROM over the August compilation...
[Windows Mobile Development and Hacking General] Pumpiron579:
Cell Phone SIM Card Spy, interesting...

http://on10.net/blogs/sarahintampa/21364/
[General Questions and Answers] DenisCerri:
i used NextRadio but it said that it didnt work for my phone J5 2016.i checked and my phone supported fm radio.is there any other app?
[Nexus 4 Accessories] oisterska:
Hello!

First post, and I just wanted to use it to post a big thank you to xda and all of the hardworking individuals that have helped me to unlock, root and flash my nexus devices over the last while.

As a token of my gratitude, I would like to offer up a free Gadetshieldz nexus 4 screen protector. (See attached pics) Includes front, back and sides. I will even pay shipping!

I also will be giving away a free nexus 7 (2013) Screenmate Flex screen protector. Please check the nexus 7 thread if you are interested.

Mods, if this post violates anything, please delete!

Thanks everyone!
[Nexus 4 Accessories] oisterska:
So far, only one PM, but no address. First PM with an address gets this beautiful new screen protector for their Mako!
[Nexus 4 Accessories] anonymous1:
Please check PM!

:)
[Nexus 4 Accessories] oisterska:
PM recieved with address. Looks like it is shipping to anonymous1 in the UK. Should've specified US shipping only. :) Glad someone can use it though.
[Nexus 4 Accessories] anonymous1:
Thanks buddy.

In the UK for a while.

Will let you know once it arrives!
[Nexus 4 Accessories] oisterska:
N4 Screen protector mailed out. I hope this small contribution to the xda community will be of some service.

-Kellen
[Nexus 4 Accessories] anonymous1:
Thank you so much.

Good that I can recycle something that another xda-er doesn't need.

All the best!
[Nexus 4 Accessories] Sthir Pragya:
Do you have another one ?

Hey ,

Do you have another one ? I need it badly , especially for sides.

Thanks
[Moto G4 Questions & Answers] fictitiousexistence:
Hello-

Does anyone have Verizon working on their G4?

I'm in the US but cannot seem to get it to work.

I get a 3G signal and can make calls and text but cannot get 4G. It also drops out constantly saying I left the home network.

I can go into the hidden menu settings (#*#4636#*#*) and select the radio band as United States and I will get LTE. Works great but won't be able to make any phone calls or send texts as it complains the mobile service is not available.

When I change the radio band the APNs all change as well. I figured I could just edit an APN to make it all work but I don't get an option to edit or add an APN.

Thanks for any insight anyone might have.

Happy new year.
[Moto G4 Questions & Answers] ldeveraux:
Working here, the network is crummy, but it's 4G for sure
[Moto G4 Questions & Answers] fictitiousexistence:
Any tweaks you had to make to get it working?
[Moto G4 Questions & Answers] ldeveraux:
No of course not, it works perfectly out of the box. Sounds like you got a bad phone, bad SIM, or just bad coverage.
[Moto G4 Questions & Answers] superceege:
Did you get it to work? Rumor is it works best with an already activated sim card from another phone. I put mine in and it worked instantly. I get 4g LTE in AZ with Verizon Prepaid. Just got off the phone with my sister. LTE seems to drop when making a call so if you're forcing it, it might be causing the call issues.

[IMG="verzion moto g4 - 4G LTE"]https://imgur.com/a/hXh4U[/IMG]
[Moto G4 Questions & Answers] hankvb:
The reason to use an already activated sim is because verizon did not want to support phones on their network they had not tested (or sold I'm sure). My Amazon G4 worked without problems straight out of the box. I would try a different already in use SIM anyway. If it doesn't improve service, reset phone and try again. Also if the sim you have doesn't work after happening to get the phone working this way, you"ll need to use that SIM in a Verizon phone first. Then put it back in your phone.
[Moto G4 Questions & Answers] superceege:
Also, are you on stock? I had 4g LTE on stock, and LOS 14.1, but on OMNIROM 8.1 I only have 3G which could just mean it's APN issues. Maybe switch to a more configurable ROM like LOS 14.1, and edit the APN settings? Rooting Omni atm to see if I can edit those apn settings.

edit: rooted and edited the APN settings to match stock, still stuck on 3G. Not sure what to do. Putting the sim card into my other stock G4 shows LTE.

edit2: missed a bunch of apn stuff the first time around

Reverted back to rooted stock copied everything from:

(adb shell)

content query --uri content://telephony/carriers/preferapn

loaded/rooted Omnirom8.1

updated as much info in default APN to stock as possible ... back to full LTE speeds!
[Moto G4 Questions & Answers] fictitiousexistence:
In Omni ROM you were able to edit the APN settings?

In RR everything is greyed out.

Also, the sim I have is an already activated working sim from a Verizon phone.
[Moto G4 Questions & Answers] fictitiousexistence:
Also, again, any way you could send the info you copied from stock?
[Moto G4 Questions & Answers] fictitiousexistence:
Tried LOS 14.1 like you mentioned and still was unable to edit the apn settings. No option to add and everything in the apn is greyed out. I tried the adb shell command you gave above and this is the output I get. Don't know why there isn't any permissions to write the apns.

athene:/ $ content query --uri content://telephony/carriers/preferapn

Error while accessing provider:telephony

java.lang.SecurityException: No permission to write APN settings

at android.os.Parcel.readException(Parcel.java:1684)

at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)

at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)

at android.content.ContentProviderProxy.query(ContentProviderNative.java:421)

at com.android.commands.content.Content$QueryCommand.onExecute(Content.java:552)

at com.android.commands.content.Content$Command.execute(Content.java:418)

at com.android.commands.content.Content.main(Content.java:623)

at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)

at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:264)

athene:/ $
[Moto G4 Questions & Answers] superceege:
Hey sorry, really busy these days.

The command only works if you have root.

adb shell

su

content query --uri content://telephony/carriers/preferapn

Note: content also has create, delete, and update.

example for changes: (xxxx is the id number from your previous command)

content update --uri content://telephony/carriers --where "_id=xxxx" --bind bearer:s:"0"

Magisk 15.3 rooted both stock and Omni8.1 for me. Even with root the APNs were grayed out for me too.

**Note: This is my Verizon Prepaid stock APN, yours might be slightly different if it's Verizon postpaid**

Row: 0 _id=2493, name=Verizon Internet, numeric=311480, mcc=311, mnc=480, apn=VZWINTERNET, user=, server=, password=, proxy=, port=, mmsproxy=, mmsport=, mmsc=http://mms.vtext.com/servlets/mms, authtype=-1, type=default,dun,supl, current=1, protocol=IPV4V6, roaming_protocol=IPV4V6, carrier_enabled=1, bearer=0, bearer_bitmask=63239, mvno_type=, mvno_match_data=, sub_id=-1, profile_id=0, modem_cognitive=1, max_conns=20, wait_time=0, max_conns_time=300, mtu=1428, mode=1, op_pco_id=65280, pco_mcc=311, pco_mnc=480, pco_mnc_inc_pcs_digit=1, edited=4, user_visible=1

I'm back on stock as I'm about to travel and stock functions the bestt with txts/calls/and internet atm.

VZW Prepaid doesn't like this phone, and won't allow setting VoLTE on the website. On stock LTE drops for phone calls but then comes back on.

From what I can tell, Omni8.1 has 47 APNs for 311480 and they weren't bouncing around right, messages wouldn't send on some APNs, LTE only worked on certain ones, a phone call would drop LTE and it would come back on another APN at 3G (but then the messages would send) and then take 10 minutes before going back to LTE, user selected default APN would drop back to the first one the system loaded. Couldn't get it right no matter what configs I put in. the two main APN _ids for Omni are 1541 and 1551, if you want to look at what it's doing.

If you data ever drops and comes back on a ROM with multiple APNs, that content query command will tell you the current APN you're on.
[Moto G4 Questions & Answers] d0gZpAw:
I'm on vzw prepaid mvno with a retus XT1625 no problems. Live in a rural area with only vzw towers and I buy service through puppywireless.
[Moto G4 Questions & Answers] fictitiousexistence:
Thanks. I figured out how to edit the apns now with the commands above but nothing is working. Still the same. I just dont understand how I can get 4g if I switch the radio band to US but then loose any phone service.

Are you on the XT1625 version? What baseband are you on?
[Moto G4 Questions & Answers] superceege:
XT1625

Baseband: M8952_70009.08.03.45R ATHENE_RETUSA_CUST

Android 6.0.1

Build: MPJ24.139-64

I believe I got this stock zip online, I can look up the website when I get home on Tuesday.
[Moto G4 Questions & Answers] fictitiousexistence:
Does the baseband get updated each time you flash a ROM?

Mine appears to be on a much higher version. Does the one your on work with android 7 and up or do you have to flash it before going to a different ROM? Sorry I've been out of the ring for a long time. Thanks for all your help.
[Moto G4 Questions & Answers] superceege:
I tried to take the Android 7 update but I forgot I was still rooted at the time, so it failed. If you have a copy of your current modem, you could try downloading my version and fastboot flash it and see if it works.

Found the link: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/recovery-images#

Although I always thought newer was better. When you do a speed test what Mbps are you getting down/up? Where I live in Mesa, AZ I average ~30down/~20up, currently around Riverside County, CA

getting ~12down/~8up.

Good luck!
[Moto G4 Questions & Answers] fictitiousexistence:
So I flashed the modem using these commands:

$ fastboot flash modem NON-HLOS.bin

$ fastboot erase modemst1

$ fastboot erase modemst2

$ fastboot flash fsg fsg.mbn

but after rebooting the bootloader it shows the same as before. I'm on M8952_70030.25.03.64R ATHENE_RETUSA_CUST

With 3g the speeds seem like normal 3g speeds. But it cuts out all the time and so does the cell service. Now if I change the radio band to USA then 4G works and the download speed is around 30 mbps. But the cell service is not there, can't make any calls or send texts.