[tutorial] [universal method]permanent fix for imei no pc no recovery required - Android One (First-Generation) Cross-Device Genera

Hello friends ....
Today I am goin to tell how to backup your nvram partition of any mtk/other chipset phone
Note:- this is a PERMANENT and UNIVERSAL solution of imei problem OF MTK/other PHONES if your nvram/efs/radio partition has been wiped/corrupted n u have backed up it by below mentioned method....
Note:- no recovery no pc needed
Note:- DO IDENTIFY ALL PARTITION RELATED TO NVRAM/RADIO/EFS N BACKUP THEM ALL
Tools you need :-
1.Terminal emulator;
2.Busybox;
3. Some knowledge of dd command.
So inorder to backup your imei partition
1. Install busybox n terminal emulator in your phone;
2.start terminal emulator and type 'su' without inverted comma and press enter and give terminal emulator root permission;
3.now type command
dd if=/dev/block/mmcblk0px of=/sdcard/nvram.img
In case of mmx a1 x = 2
Note -: Here x stands for which no. Of ur nvram partition is.
Note :- To know which partition(s) are of nvram/radio download partition table app from play store
4.go to sdcard n u will see a nvram.img.
So you have backed up ur nvram partition.
RESTORE NVRAM/EFS/RADIO PARTITION
(fully tested and workimg on mmx a1 n most probably on every mediatek/other chipset devices)
1.Follow the step 1 and 2 of backup procedure in 3rd step run the command
dd if= /sdcard/nvram.img of= /dev/block/mmcblk0px
Hurray! U have restored your nvram/efs/radio partition
Note -: Here x stands for which no. Of ur nvram partition is.
Sent from my Micromax AQ4501 using Tapatalk 2

Is it tested and worked on sprout4...?

tuhinxp04 said:
Is it tested and worked on sprout4...?
Click to expand...
Click to collapse
Yup workin

Related

[How-To] Restoring Recovery when Device running - An easy way (CWM / Stock)

Restoring stock recovery: (without Download mode)
[Preparation]
Our FIH partition which you could see in download mode is huge. (Size: 105 MB Used: 43 MB only)
You could easily keep loads of file in this partition without any problem to your device. (I have not faced any, as of yet!)
Just keep a backup of stock recovery in the "image" folder itself with the name "stock_recovery.img" (size: 4.5 MB only)
[Optional] And backup of CWM recovery too with the name "cwm_recovery.img" (size: 5 MB)
[Requirement]
Rooted phone
Apps like: GScripts Lite or Any script manager or Terminal emulator
[How to restore]
Just run following commands using any script manager or save them in a ".sh" file and use
"sh script.sh" in terminal emulator.
Commands:
Code:
mkdir /sdcard/fih
mount -t vfat /dev/block/mmcblk0p1 /sdcard/fih/
cd /sdcard/fih/image/
mv ./stock_recovery.img ./recovery.img
cd /
umount /sdcard/fih
rm -r /sdcard/fih/
(You can use "cp" instead of "mv" if you are not going for warranty claiming and just wants to use stock recover.img. Replace "stock" with "cwm" if you want to use that)
Thats it!
Now restart your phone in recovery using any reboot apps with recovery reboot option or just type in terminal "reboot recovery". You will boot into your desired recovery.
[Note]
When you install any official "fb0" ROM your phone is no more rooted, so you will need to root your phone first before using these steps again.
[Disclaimer]
I am not to be held liable/responsible if you damage your phone by following/not following this thread.
Napstar said:
Restoring stock recovery:
[Preparation]
Our FIH partition which you could see in download mode is huge. (Size: 105 MB Used: 43 MB only)
You could easily keep loads of file in this partition without any problem to your device. (I have not faced any, as of yet!)
Just keep a backup of stock recovery in the "image" folder itself with the name "stock_recovery.img" (size: 4.5 MB only)
[Optional] And backup of CWM recovery too with the name "cwm_recovery.img" (size: 5 MB)
[Requirement]
Rooted phone
Apps like: GScripts Lite or Any script manager or Terminal emulator
[How to restore]
Just run following commands using any script manager or save them in a ".sh" file and use
"sh script.sh" in terminal emulator.
Commands:
Code:
mkdir /sdcard/fih
mount -t vfat /dev/block/mmcblk0p1 /sdcard/fih/
cd /sdcard/fih/image/
mv ./stock_recovery.img ./recovery.img
cd /
umount /sdcard/fih
rm -r /sdcard/fih/
(You can use "cp" instead of "mv" if you are not going for warranty claiming and just wants to use stock recover.img. Replace "stock" with "cwm" if you want to use that)
Thats it!
Now restart your phone in recovery using any reboot apps with recovery reboot option or just type in terminal "reboot recovery". You will boot into your desired recovery.
[Note]
When you install any official "fb0" ROM your phone is no more rooted, so you will need to root your phone first before using these steps again.
[Disclaimer]
I am not to be held liable/responsible if you damage your phone by following/not following this thread.
Click to expand...
Click to collapse
i have much more easier way..
try this
put this phone in the download mode (power + volume up key)
connect to pc
open the drive as it will be shown as a usb storage
go to image folder..
copy your phone's stock version of recovery.img file paste to any drive of your pc .. woho backed up
now copy cwm recovery image
before copying rename it to recovery insteed to cwmrecovery
past to image folder of fih drive overwrite
done... you are now on clock work mode recovery
kshitij_bhatt said:
i have much more easier way..
try this
put this phone in the download mode (power + volume up key)
connect to pc
open the drive as it will be shown as a usb storage
go to image folder..
copy your phone's stock version of recovery.img file paste to any drive of your pc .. woho backed up
now copy cwm recovery image
before copying rename it to recovery insteed to cwmrecovery
past to image folder of fih drive overwrite
done... you are now on clock work mode recovery
Click to expand...
Click to collapse
True...
That's the most generic way to that, but it requires those tedious button pressings.
And also it requites a PC!!
My method can be used if you are on the go and still wants to restore any recoveries.
Sent from my CSL-MI410
Napstar said:
True...
That's the most generic way to that, but it requires those tedious button pressings.
And also it requites a PC!!
My method can be used if you are on the go and still wants to restore any recoveries.
Sent from my CSL-MI410
Click to expand...
Click to collapse
hehehe i found a on the go method too...
if you have root access and can install root explorer then just do this
go to root explorer
locate sdcard
select the image file you copied on it and press and hold over it
now select copy
press back now you r in root menu .. locate fih
find iamge folder in it
and paste if asked over write if not backup old one and chage present one as recovery Remember recovery and NOT Recovery
and you r done
kshitij_bhatt said:
hehehe i found a on the go method too...
if you have root access and can install root explorer then just do this
go to root explorer
locate sdcard
select the image file you copied on it and press and hold over it
now select copy
press back now you r in root menu .. locate fih
find iamge folder in it
and paste if asked over write if not backup old one and chage present one as recovery Remember recovery and NOT Recovery
and you r done
Click to expand...
Click to collapse
Well, that's good news then..
But as far as I remember there is no fih folder in root of the system unless it is mounted by some init script.
Which is your current rom?
Sent from my CSL-MI410 using Tapatalk
Napstar said:
Well, that's good news then..
But as far as I remember there is no fih folder in root of the system unless it is mounted by some init script.
Which is your current rom?
Sent from my CSL-MI410 using Tapatalk
Click to expand...
Click to collapse
You can only access it in download mode as far as I know.
Sergekarol said:
You can only access it in download mode as far as I know.
Click to expand...
Click to collapse
No. Thats not the only way.
Thats why I have created this thread to show the other possible way to access it when your phone is booted and running.
Napstar said:
Well, that's good news then..
But as far as I remember there is no fih folder in root of the system unless it is mounted by some init script.
Which is your current rom?
Sent from my CSL-MI410 using Tapatalk
Click to expand...
Click to collapse
well at that time i was on the tj_style's custom rom rc2 and i found that folder in root explorer ... i think .. confused..
aannnn any way i m a new B what else can u expect
kshitij_bhatt said:
well at that time i was on the tj_style's custom rom rc2 and i found that folder in root explorer ... i think .. confused..
aannnn any way i m a new B what else can u expect
Click to expand...
Click to collapse
No problem dude!
Anyway I will be posting a completely new recovery soon. This will have both stock recovery and cwm recovery access simultaneously. (Hopefully )
So this How-To wont be required then...
Napstar said:
No problem dude!
Anyway I will be posting a completely new recovery soon. This will have both stock recovery and cwm recovery access simultaneously. (Hopefully )
So this How-To wont be required then...
Click to expand...
Click to collapse
Coool .... koi mujhe bhi accha sa teacher bata do jo ye saab developing and all mujhe bhi sikha de... Vb se aage kabhi kuch sikh hi nahi paya main to
kshitij_bhatt said:
Coool .... koi mujhe bhi accha sa teacher bata do jo ye saab developing and all mujhe bhi sikha de... Vb se aage kabhi kuch sikh hi nahi paya main to
Click to expand...
Click to collapse
Google
kshitij_bhatt said:
Coool .... koi mujhe bhi accha sa teacher bata do jo ye saab developing and all mujhe bhi sikha de... Vb se aage kabhi kuch sikh hi nahi paya main to
Click to expand...
Click to collapse
What does this mean?
ardX said:
What does this mean?
Click to expand...
Click to collapse
He is asking napster for a teacher to teach development...
Sent from my CSL-MI410 using XDA App
bandukia said:
He is asking napster for a teacher to teach development...
Sent from my CSL-MI410 using XDA App
Click to expand...
Click to collapse
hehehe yaa i wanna learn development programming and i got my teacher GOOGLE
nb0 files through CWM????
when napstar???
bandukia said:
nb0 files through CWM????
when napstar???
Click to expand...
Click to collapse
Finally its done!!
[RecoveryMenu] CWM based Recovery menu to enter stock or CWM recovery
Enjoy!!
Napstar said:
Finally its done!!
[RecoveryMenu] CWM based Recovery menu to enter stock or CWM recovery
Enjoy!!
Click to expand...
Click to collapse
@Napstar .... You are Gr8 nicely done work...
Napstar said:
Finally its done!!
[RecoveryMenu] CWM based Recovery menu to enter stock or CWM recovery
Enjoy!!
Click to expand...
Click to collapse
lol..that was fast.. thnx
bandukia said:
lol..that was fast.. thnx
Click to expand...
Click to collapse
Was debugging it for last few days. It was just finished yesterday and since you asked so here it is.
Napstar said:
Restoring stock recovery: (without Download mode)
[Preparation]
Our FIH partition which you could see in download mode is huge. (Size: 105 MB Used: 43 MB only)
You could easily keep loads of file in this partition without any problem to your device. (I have not faced any, as of yet!)
Just keep a backup of stock recovery in the "image" folder itself with the name "stock_recovery.img" (size: 4.5 MB only)
[Optional] And backup of CWM recovery too with the name "cwm_recovery.img" (size: 5 MB)
[Requirement]
Rooted phone
Apps like: GScripts Lite or Any script manager or Terminal emulator
[How to restore]
Just run following commands using any script manager or save them in a ".sh" file and use
"sh script.sh" in terminal emulator.
Commands:
Code:
mkdir /sdcard/fih
mount -t vfat /dev/block/mmcblk0p1 /sdcard/fih/
cd /sdcard/fih/image/
mv ./stock_recovery.img ./recovery.img
cd /
umount /sdcard/fih
rm -r /sdcard/fih/
(You can use "cp" instead of "mv" if you are not going for warranty claiming and just wants to use stock recover.img. Replace "stock" with "cwm" if you want to use that)
Thats it!
Now restart your phone in recovery using any reboot apps with recovery reboot option or just type in terminal "reboot recovery". You will boot into your desired recovery.
[Note]
When you install any official "fb0" ROM your phone is no more rooted, so you will need to root your phone first before using these steps again.
[Disclaimer]
I am not to be held liable/responsible if you damage your phone by following/not following this thread.
Click to expand...
Click to collapse
But then I cannot start up my phone! It vibrates and the download screen show up! Help! ( csl mi410 )
Any advices is really appreciated!

HOW to back up EFS here in S5830

hi guys i am looking here for thread that will give tutorial on how are we going to back up the said EFS which is the very important file of the phone where IMEI resides, suddenly after searching for so many days still haven't found an answer. I already tried using EFS Pro 1.9.2 and it prompts that the said directory isn't there.. i checked it out on the root of my phone and found that EFS folder isn't there.. now my question is there any apps or tool that will backup our efs so that if incase we accidentally mess with our phone, it will be easy for us to revert back to the time when the phone is functioning well..
The EFS Partition is "stl5" .
So , for mounting the partition at boot , You need to unpack your boot.img, Open init.rc and add the following lines:
mkdir /efs
mount /dev/block/stl5 /efs
Click to expand...
Click to collapse
Then You have to repack the boot.img
----------------------------------------------------------------------------------------
We are done with the mounting part. |
----------------------------------------------------------------------------------------
Now , Flash the boot.img
Reboot Your phone
Connect it to your PC (Note : ADB must be enabled)
Run adb pull /efs command
................................
There might be a way using the "*#7284#" code . It creates a service com port on PC. (Stock Roms Only)
dev0xteam said:
The EFS Partition is "stl5" .
So , for mounting the partition at boot , You need to unpack your boot.img, Open init.rc and add the following lines:
Then You have to repack the boot.img
----------------------------------------------------------------------------------------
We are done with the mounting part. |
----------------------------------------------------------------------------------------
Now , Flash the boot.img
Reboot Your phone
Connect it to your PC (Note : ADB must be enabled)
Run adb pull /efs command
................................
There might be a way using the "*#7284#" code . It creates a service com port on PC. (Stock Roms Only)
Click to expand...
Click to collapse
hitted thanks...
this is a nice tutorial, but it will be very best if u can provide the complete step by step on how am i going to do this, and where to input the said line..sori for asking too much..just a noob one..hehe dont know much bout adb shell and commads not an advance user too..hehe
mizukage said:
hitted thanks...
this is a nice tutorial, but it will be very best if u can provide the complete step by step on how am i going to do this, and where to input the said line..sori for asking too much..just a noob one..hehe dont know much bout adb shell and commads not an advance user too..hehe
Click to expand...
Click to collapse
DON'T MOUNT EFS PARTITION!
You will most likely brick your phone.
Sent from my GT-S5830 using Tapatalk 2
(Frank) said:
DON'T MOUNT EFS PARTITION!
You will most likely brick your phone.
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
do u have any better idea on how are we going to save our efs partition so that we can revert back if we messed with our phone?flashing is risky especially for noobs..

[GUIDE] [Universal] Backuping & Restoring IMG files [W/O PC]

Hey guys, today I'm going to tell you how to backup & restore few things of your phone without using a pc. This guide is divided into two parts: 1st post contains a guide to backup things & 2nd post contains two methods two restore the backup. So let's get started without wasting any time...
Things you gonna need:
1) Busybox installed (Stericson is recommended)
3) A SD-Card inserted to your phone with some free space to backup things
2) Any terminal emulator
3) Patience & some common sense (not HTC Sense )
First I'll say you how to backup things & later I'll say how to restore them...
How To Backup:
• Boot.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p7 of=/sdcard/backups/boot.img
• Cache.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p15 of=/sdcard/backups/cache.img
• Logo.bin :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p11 of=/sdcard/backups/logo.bin
• Nvram.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p2 of=/sdcard/backups/nvram.img
• Recovery.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p8 of=/sdcard/backups/recovery.img
• System.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p14 of=/sdcard/backups/system.img
• Userdata.img :
In terminal emulator type the following:
dd if=/dev/block/mmcblk0p16 of=/sdcard/backups/userdata.img
Click to expand...
Click to collapse
If this post helped you then please hit thanks, & feel free to ask any doubts or questions...
Restoring in 2 methods
In this second post I'll tell you how to restore the backups in two different methods...
How To Restore in 1st Method:
• Boot.img* :
In terminal emulator type the following:
dd if=/sdcard/backups/boot.img of=/dev/block/mmcblk0p7
• Cache.img* :
In terminal emulator type the following:
dd if=/sdcard/backups/cache.img of=/dev/block/mmcblk0p15
• Logo.bin :
In terminal emulator type the following:
dd if=/sdcard/backups/logo.bin of=/dev/block/mmcblk0p11
• Nvram.img :
In terminal emulator type the following:
dd if=/sdcard/backups/nvram.img of=/dev/block/mmcblk0p2
• Recovery.img :
In terminal emulator type the following:
dd if=/sdcard/backups/recovery.img of=/dev/block/mmcblk0p8
• System.img* :
In terminal emulator type the following:
dd if=/sdcard/backups/system.img of=/dev/block/mmcblk0p14
• Userdata.img* :
In terminal emulator type the following:
dd if=/sdcard/backups/userdata.img of=/dev/block/mmcblk0p16
(* = Not recommended to restore while your phone is on, unless you know what you are doing)
Click to expand...
Click to collapse
How To Restore in 2nd Method(Recommended):
1) Download the attachment below, named 'Restore.zip'
2) Extract the contents of the zip somewhere on your SD card.
3) Replace the dummy files,which you find when you extract the zip, with the backups you made above.
4) Don't forget to delete the dummy files which you don't need to restore.
5) Again compress the contents.
6) Boot to recovery & flash the zip which you just compressed with the backups.
7) Your backup will be restored, enjoy... :good:
Click to expand...
Click to collapse
F.A.Qs
Frequently Asked Questions:
Q: Where does the backup gets stored?
A: It's in sdcard/backups/
Q: While backuping/restoring in terminal emulator I get Access Denied or something message like that.
A: Make sure your phone is rooted & don't forget to type "su" in terminal emulator before following any of the steps above.
Q: Why is second method of restoring recommended?
A: Because it restores the backup in recovery, so that you don't brick up your device while restoring system.img or few other backups while phone is on.
Q: Then why did you posted the first method?
A: First method of restoring is only for advanced users, who knows what they are doing.
Q: Can I use this method of backuping in my non-mtk device?
A: No, you can't, this guide is strictly only for MTK devices.
Q: I want to contribute/donate to you, where can I?
A: I'm still 14,& I don't need any money. Instead you can hit thanks. And if you liked my work that's enough for me.
Q: I have some "xxxx" question/doubt.
A: Feel free to comment below.
there is no way to backup without root or unlock the bootloader? even if it requires a pc its ok
austinpinto said:
there is no way to backup without root or unlock the bootloader? even if it requires a pc its ok
Click to expand...
Click to collapse
I'll make a new guide on that very soon, maybe this coming Sunday...
Taking a nandroid will cover all this right?
I am on cwm recovery, cm11-3. My sdcard path is '/storage/sdcard0' in stead of '/sdcard'. Replaced the correct path and took backup. Thanks for the nice post.
Sent from my A1 using XDA Free mobile app
miscos said:
I am on cwm recovery, cm11-3. My sdcard path is '/storage/sdcard0' in stead of '/sdcard'. Replaced the correct path and took backup. Thanks for the nice post.
Sent from my A1 using XDA Free mobile app
Click to expand...
Click to collapse
Welcome my friend...
akhil1999 said:
Taking a nandroid will cover all this right?
Click to expand...
Click to collapse
Yeah, it'll...
can you please make a guide to backup non rooted devices with bootloader locked? even if it requires a pc its ok
Download a custom recovery.
Boot into fastboot.
Code:
fastboot boot recovery.img
Then backup!
Sent from my A1 using XDA Free mobile app
akhil1999 said:
Download a custom recovery.
Boot into fastboot.
Code:
fastboot boot recovery.img
Then backup!
Sent from my A1 using XDA Free mobile app
Click to expand...
Click to collapse
i did this.
the backup finished properly.
i got 2 .img files 1 md5 file and some .tar files some .tar.a files and 1.tar.b file.
now i tried opening .tar file with 7zip i get error no trailing records 0 filled records found then i tried opening .tar.a files the files open properly but when i go to extract something it shows error unable to open output file when i open .tar.b files i get 7zip cannot open.tar.b as archive.
can some1 tell me what is the problem?
i did using touch recovery is this the best recovery to do backup? if no please give link for some other recovery
Why are you opening it?
If you have to restore then boot into recovery again and restore.
If you want apps, etc. there's an app that can extract apps from a nandroid
Sent from my A1 using XDA Free mobile app
akhil1999 said:
Why are you opening it?
If you have to restore then boot into recovery again and restore.
If you want apps, etc. there's an app that can extract apps from a nandroid
Sent from my A1 using XDA Free mobile app
Click to expand...
Click to collapse
Just to view the contents of the tar files I tried opening
Sent from my Spice Mi-498 using XDA Free mobile app
---------- Post added at 10:57 AM ---------- Previous post was at 10:50 AM ----------
Can u give link for that app that extract apps from the tar
Sent from my Spice Mi-498 using XDA Free mobile app
Its called "Nandroid Manager * Root"
Sent from my A1 using XDA Free mobile app
Great
Devam03 said:
Great
Click to expand...
Click to collapse
Thanks & if you liked please don't forget to hit thanks...
EDIT: It works with the 8GB versions of Android One.
I implemented this method using built in twrp's terminal. I did it without root my device.
nothinkinc said:
I implemented this method using built in twrp's terminal. I did it without root my device.
Click to expand...
Click to collapse
how did u do.
i want a way of backuping which i can later restore using fastboot

NEED HELP TO RESTORE '' IMEI '' AND fix unknown baseband.........

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..
9xmb said:
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..
Click to expand...
Click to collapse
try flash stock rom eui for ur x526 5.8.19 or 5.9.21
haardx said:
try flash stock rom eui for ur x526 5.8.19 or 5.9.21
Click to expand...
Click to collapse
i installed both and and also other version eui but didnt help... wifi and dual sim are gone
..i get wifi only when using nougat rom ..so i am now using only wifi...
This works
Install the Rom S2_X520-CN-FN-IEXCNFN5902303111S-5.9.023S
... I have the x527 version ... it works with this version .... then flash a rom you like
https://devs-lab.com/download-letv-o...stock-rom.html (Le 2 (Qualcomm) Stock ROM)
i did that too...
i also tried restoring imei qcn file...but it says model mismatch....(i have x526 ver and i used same ver qcn)
Also i noticed my phone shows as x520 while in twrp recovery mode in pc..... (but phone info and pc details reads x526 while device is 0N )
Are all device shown x520 in twrp recovery ??.....and yes i use latest ver twrp.
not solved
Da-Fied said:
This works
Install the Rom S2_X520-CN-FN-IEXCNFN5902303111S-5.9.023S
... I have the x527 version ... it works with this version .... then flash a rom you like
https://devs-lab.com/download-letv-o...stock-rom.html (Le 2 (Qualcomm) Stock ROM)
Click to expand...
Click to collapse
i did that too...
i also tried restoring imei qcn file...but it says model mismatch....(i have x526 ver and i used same ver qcn)
Also i noticed my phone shows as x520 while in twrp recovery mode in pc..... (but phone info and pc details reads x526 while device is 0N )
Are all device shown x520 in twrp recovery ??.....and yes i use latest ver twrp.
Look at this:
http://forum.xda-developers.com/le-2/help/help-pro-bricked-x527-t3700958
I had the same issue. Good luck!
---------- Post added at 08:38 AM ---------- Previous post was at 08:27 AM ----------
Boot into recovery.
In twrp goto advanced >> terminal
Type the following
dd if=/dev/zero of=/dev/block/mmcblk0p14
Press enter
Type
dd if=/dev/zero of=/dev/block/mmcblk0p13
Press enter
Reboot phone.
Now your sim cards must be detected...
quasimodo88 said:
Look at this:
http://forum.xda-developers.com/le-2/help/help-pro-bricked-x527-t3700958
I had the same issue. Good luck!
---------- Post added at 08:38 AM ---------- Previous post was at 08:27 AM ----------
Boot into recovery.
In twrp goto advanced >> terminal
Type the following
dd if=/dev/zero of=/dev/block/mmcblk0p14
Press enter
Type
dd if=/dev/zero of=/dev/block/mmcblk0p13
Press enter
Reboot phone.
Now your sim cards must be detected...
Click to expand...
Click to collapse
Thanks but it doesnt help.... i already did that ....i literally tried every thing i found on the forums threads...
9xmb said:
Thanks but it doesnt help.... i already did that ....i literally tried every thing i found on the forums threads...
Click to expand...
Click to collapse
Hmm okay, for me it works. Try to make a clean install of the stock 19s rom and reboot your phone. If you have the same issue, then try again my instruction. Normally it should work.
quasimodo88 said:
Hmm okay, for me it works. Try to make a clean install of the stock 19s rom and reboot your phone. If you have the same issue, then try again my instruction. Normally it should work.
Click to expand...
Click to collapse
and remove and insert the sim
haardx said:
and remove and insert the sim
Click to expand...
Click to collapse
Nothing works...heard some where about UMT tool .... will try to write imei through it,,,,
Try to flash another baseband Or kernel for le 2.
9xmb said:
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..
Click to expand...
Click to collapse
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
i did as you said..... i checked in root explorer for the following files but i could only find the files from pic 1 .......
i tried restoring .qcn file but it says received invalid command from phone..
yes i wiped .fsg first and connected phone in 901D port ...
Le2 x526 baseband unknown
brother is your phone repaired, i have same issue, please help me

[GUIDE] Backup EFS Partition Without A Decryptable TWRP [No Root Required]

As there is no decryptable TWRP, it isn't as easy as before to bakcup the EFS partition. But doing it via Terminal isn't too difficult. I didn't find a good tutorial that isn't burried somewhere on the internet. And none for the 7T Pro (though the commands and partitions are the same on older OnePlus devices.
If you already know how to boot TWRP or you already have it, go to the second instructions list and skip the first one.
I am not responsible if anything goes wrong. You do this at your own risk!
Requirements:
- An unlocked bootloader
- Working adb and fastboot (e.g. Google's Platform Tools)
- Download a bootable TWRP
Instructions to boot TWRP:
- Connect your device via USB
- Go to Settings > Developer Settings > Enable Advanced Reboot Menu
- Hold down the power button and select "Bootloader"
- In the bootloader use (It won't modify anything, you simply boot into TWRP once and after a reboot it's "gone".)
Code:
fastboot boot NameOfTWRPImage.img
Instructions to backup EFS:
If TWRP has booted, type the following into your computers' terminal one after the other:
Code:
adb shell
dd if=/dev/block/sdf2 of=/tmp/modemst1.bin bs=2048
dd if=/dev/block/sdf3 of=/tmp/modemst2.bin bs=2048
exit
adb pull /tmp/modemst1.bin modemst1.bin
adb pull /tmp/modemst2.bin modemst2.bin
This will copy modemst files to the temporary folder on the phone (which can be accessed though the data is lost after a reboot) and "adb pull" copies them from the device to the user's profile folder on Windows or Mac. You have successfully backed up the EFS partition!
Please note that this could be performed with root permissions on a booted device. Though I always prefer backing up files with a non-booted system. Also this guide will work if you're not rooted.
Is it possible to backup all system and data so we dont have to setup everything in the device after a factory reset? I mean, that backup we all were used to in TWRP.
Best regards
lucfig said:
Is it possible to backup all system and data so we dont have to setup everything in the device after a factory reset? I mean, that backup we all were used to in TWRP.
Best regards
Click to expand...
Click to collapse
Unfortunately not. Backing up EFS doesn't require decryption as it's not stored on /data. Everything on /data can't be backed up afaik.
Also /vendor and /system can't be mounted as of now making a Nandroid backup impossible.
Macusercom said:
Unfortunately not. Backing up EFS doesn't require decryption as it's not stored on /data. Everything on /data can't be backed up afaik.
Also /vendor and /system can't be mounted as of now making a Nandroid backup impossible.
Click to expand...
Click to collapse
Thanks.
That is a shame. At least titanium backup still working great.
Enviado de meu HD1903 usando o Tapatalk
Macusercom, thank you for the guide!
Now how do we restore them? With the opposite dd command?
Or we can just flash them directly via fastboot?
Also, what is the full list of partitions which contain data unique to this specific device?
I mean all these EFS, persist, IMEI, screen/touch calibration data, all sensors factory calibration data, fingerprints, etc.
Is it only EFS + persist or there are more of them?

Categories

Resources