All of a sudden all sensor are not working .even fp or proximity sensor not showing or working ...
Try this:
Download Attachment
fastboot erase persist
fastboot flash persist persist.img
fastboot reboot.
Wagi99 said:
Try this:
Download Attachment
fastboot erase persist
fastboot flash persist persist.img
fastboot reboot.
Click to expand...
Click to collapse
What is this supposed to do? Will it cure the dead home button/fingerprint as well?
My OPT shows no sensros
hi
mine is the same issue with OPT after recovering from hard brick.
Can anybody please help out this ..
tried so many methods
1. flashed custom roms including original OOS 3.0
2. flashed H2 OS
3. Done hard reset
4. formatted using TWRP recovery
5......... no use by any of these
Had the same.
And have a solution for you!
http://forum.xda-developers.com/oneplus-2/help/sensors-broken-persist-partition-t3395967
Solution is on post #18
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
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 || @ECHO "Flash modem_a error" && exit /B 1
fastboot %* flash modem_b %~dp0images\modem.img || @ECHO "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!
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
m.hashem said:
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
Click to expand...
Click to collapse
if it is under warranty just brick your phone and give it to service centre they will flash it and give you back
m.hashem said:
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
Click to expand...
Click to collapse
i have same problem last night
then i reflash 7.12.19 using miflash 2016.08.30.0
my imei normal again
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.
this is method not working
bangir said:
i have same problem last night
then i reflash 7.12.19 using miflash 2016.08.30.0
my imei normal again
Click to expand...
Click to collapse
this is method not working
gautamaurya said:
this is method not working
Click to expand...
Click to collapse
What happens if you try to re-flash your modem with the flash_all or flash_all_except_storage scripts from here: https://forum.xda-developers.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.
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
m.hashem said:
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
Click to expand...
Click to collapse
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
hey bro how to the editting modem1st.img
m.hashem said:
i downloaded factory image of 7.12.29 oreo
i used flash_factory.bat
it reflashed partitioning
now i dont have any connectivity... signal.. wifi etc..
Click to expand...
Click to collapse
Hello!
I made the same mistake. Is there a way to solve this problem?
m.hashem said:
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
Click to expand...
Click to collapse
Same problem here. Phone doesn't work correctly now. Boots, freezes and reboots. :crying:
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
m.hashem said:
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
Click to expand...
Click to collapse
thank you very much broo my device is fixed freezee and reboots problem
Ok. But what is the persist partition? Someone tried already? Doesn't want to brick my phone completely.
how to the editting qcn file beacuse my imei 0 null please help me editting brother
m.hashem said:
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
Click to expand...
Click to collapse
The freeze and reboot problem is fixed. Thanks. Still one problem. IMEI1 is 0 and IMEI2 is null. Anyone has an idea?
Nordland_ua said:
Hello!
I made the same mistake. Is there a way to solve this problem?
Click to expand...
Click to collapse
Me tooo
Sent from my Mi A1 using Tapatalk
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 .
Hi, after install MIUI 10 my sensors stop to work (only GPS works correctly).
After one day of try to solve it, i solve it .
Problem was in corrupeted persist.img.
In xiaomi note 3 on EDL or Fastboot flash persist img is not flashed.
Fastboot erase fpersist and fastboot flash persist persist.img dont work (error - cant be written).
To solve problem, copy to phone memory persist.img file from fastboot img, boot twrp which can flash persist partition, install/flash img at persist partition. Everything works perfectly.
Edit: flashed persist partition only via Mi Flash with modified rawprogram0 and flash_all script. Sensors working now
dromaczek said:
Hi, after install MIUI 10 my sensors stop to work (only GPS works correctly).
After one day of try to solve it, i solve it .
Problem was in corrupeted persist.img.
In xiaomi note 3 on EDL or Fastboot flash persist img is not flashed.
Fastboot erase fpersist and fastboot flash persist persist.img dont work (error - cant be written).
To solve problem, copy to phone memory persist.img file from fastboot img, boot twrp which can flash persist partition, install/flash img at persist partition. Everything works perfectly.
Click to expand...
Click to collapse
Now I have the same problem as you
Could you please share your persist.img to save my phone xiaomi note3?
I would really appreciate it if you do this.
Please
Hello! I did the TWRP persist.img flash as described, but all the sensors still not working... Do you have any idea?
dromaczek said:
Hi, after install MIUI 10 my sensors stop to work (only GPS works correctly).
After one day of try to solve it, i solve it .
Problem was in corrupeted persist.img.
In xiaomi note 3 on EDL or Fastboot flash persist img is not flashed.
Fastboot erase fpersist and fastboot flash persist persist.img dont work (error - cant be written).
To solve problem, copy to phone memory persist.img file from fastboot img, boot twrp which can flash persist partition, install/flash img at persist partition. Everything works perfectly.
Click to expand...
Click to collapse
Hi, same problem here! Can you explain better how do i get the persist img and where i can download the fastboot img. Thanks
---------- Post added at 09:58 AM ---------- Previous post was at 09:24 AM ----------
Manwex said:
Edit: flashed persist partition only via Mi Flash with modified rawprogram0 and flash_all script. Sensors working now
Click to expand...
Click to collapse
Can you make a guide on what to do?
freddyededdy said:
Hi, same problem here! Can you explain better how do i get the persist img and where i can download the fastboot img. Thanks
---------- Post added at 09:58 AM ---------- Previous post was at 09:24 AM ----------
Can you make a guide on what to do?
Click to expand...
Click to collapse
Sorry, I already deleted scripts so you will have to waste a couple of minutes and do it by yourself. You can take a look at this video how it works, I've checked and it's explained well.
https://www.youtube.com/watch?v=Qf0XhhnpQEo
Just download fastboot ROM for Mi Note 3 (jason) and follow the video.
Persist.img is in fastboot rom archive (unpack). Flash with twrp
i found this tutorial and this work perfectly
dromaczek said:
Hi, after install MIUI 10 my sensors stop to work (only GPS works correctly).
After one day of try to solve it, i solve it .
Problem was in corrupeted persist.img.
In xiaomi note 3 on EDL or Fastboot flash persist img is not flashed.
Fastboot erase fpersist and fastboot flash persist persist.img dont work (error - cant be written).
To solve problem, copy to phone memory persist.img file from fastboot img, boot twrp which can flash persist partition, install/flash img at persist partition. Everything works perfectly.
Click to expand...
Click to collapse
this maybe can help u
https://alfa-roid.blogspot.com/2019/05/fix-sensor-mi-note-3-jason.html
Hi, I accidently deleted persist folder from TWRP (dev/block). All of phone sensors doesnt work now. How can I restore or repair this?
I reinstalled EUI 5.8.023S Stock Rom. But I see error in TWRP console "Failed to mount '/persist' (Invalid argument)". Thanks.
Hi again, I resolved my problem. I found persist.img file inside sparse ROM which downloaded from this thread.
https://forum.xda-developers.com/le-2/development/tools-unbrick-thread-leeco-le-2-x52x-t3634609l
- open ADB
- fastboot erase persist
- fastboot flash persist {pathOfFile}\persist.img
Does anybody have the following modem files for modemst1.img and modemst2.img I really need these files to activate my phone.I'm on lineage 19.1 and I'm willing to flash the files via fastboot if anybody has them this would help me out a lot.I also have no signal