LEECO LE2 X526
Lost both sim function and wifi when using ROM ressuruction remix... { Thing is battey drained out completely and when i recharged it back , no sim card were detected...only wifi was working } .
Then i installed stock rom but same issue, moreover in stock rom wifi is also not working { but only wifi works when i install nougat based rom } ... I tried lots of tips and tricks found over forum but no help.
I tried restoring qcn file by editing it with my own imei but qpst says error.
Erasing modemst1/2 file aslo didnt help.
So if any body got any idea then please do share..
Follows these steps in this exact order, dont skip any even if you tried something similar. Especially in step 19. you must erase the blocks in the stated order.
1. root your rom
2. enable usb debugging
3. install minimal adb on your computer, goto the folder you installed it in, hold shift then right click, select open command prompt here, connect phone to pc.
4. in command window, enter the following ( each line followed by pressing enter)
5. adb shell
6. su
7. grant su request on phone screen
7b. command prompt should look similar to "
[email protected]_s2_na:/ #" without the quotes depending on the version of your phone.
8. on command prompt type
9. ls -al /dev/block/platform/soc.0/7824900.sdhci/by-name/
10. this lists out all your phones partitions ( not really necessary if you are using an le 2 but it's a good practice to confirm for the following steps)
11. confirm the following entries appear in the list
11a. fsg -> /dev/block/mmcblk0p18
11b. modemst1 -> /dev/block/mmcblk0p13
11c. modemst2 -> /dev/block/mmcblk0p14
11d. these three entries are where the phone stores the imei, wifi mac address, and Bluetooth address.
12a. if they don't then... if you are technical enough you cant edit this guide to suit your needs else STOP!!!
12b. if they do then you are all good. continue
13. on the command prompt enter
13a. dd if=/dev/block/mmcblk0p18 of=/sdcard/fsg.bin
13b. dd if=/dev/block/mmcblk0p13 of=/sdcard/modemst1.bin
13c. dd if=/dev/block/mmcblk0p14 of=/sdcard/modemst2.bin
14. this will backup the partitions and create 3 files on your sdcard 'fsg.bin' 'modemst1.bin' and 'modemst2.bin'
15. copy these to a safe place on your computer
16. this part restores your backup, on the command prompt enter
16a. dd if=/sdcard/fsg.bin of=/dev/block/mmcblk0p18
16b. dd if=/sdcard/modemst1.bin of=/dev/block/mmcblk0p13
16c. dd if=/sdcard/modemst2.bin of=/dev/block/mmcblk0p14
16d. reboot
17. after your phone reboots repeat steps 5 & 6
18. cross fingers
19. the next step will zero out (erase) the partitions so your phone can hopefully recreate them with the correct data
19. in the command prompt enter the following in this exact order
19a. dd if=/dev/zero of=/dev/block/mmcblk0p18
19b. dd if=/dev/zero of=/dev/block/mmcblk0p14
19c. dd if=/dev/zero of=/dev/block/mmcblk0p13
20. without rebooting your phone try to check the imei by dialing *#06#
If this doesn't work you can try qcn restore with qpst, but note that in order to restore a qcn backup you MUST first zero out fsg, modemst1/2
Side note, you might be able to make your wifi work in stock by flashing overload2.3 miui kernel, I never figured out why this is.
Also with a root explorer check /persist folder for the following files in the pics