[tested] lost imei 0 after installing lineage here is how you can restore it ? - Moto Z2 Play Questions & Answers

I AM VERY HAPPY TO PRESENT A SOLUTION FOR ALL THOSE WHO LOST VOLTE AFTER INSTALLING LINEAGE OS OR HAVE LOST EFS...:fingers-crossed:
Things you will need :
1. STOCK ROM BY @rajatgupta1998
Link:https://forum.xda-developers.com/z2-play/how-to/stock-stock-firmware-t3630997 or any stock rom.
2. LINEAGE OS BY @rahulsnair ( TO RESTORE THE EFS )
Link:https://forum.xda-developers.com/z2-play/development/rom-lineageos-15-1-t3731228
3. PERSIST FILE BY @akshu2697 (original solution by him)
Link: https://forum.xda-developers.com/attachment.php?attachmentid=4467052&d=1522904127
STEPS TO GET 4G VOLTE BACK :
1. Install the Lineage OS as mentioned by rahul and then make a backup of the EFS in TWRP.
2. Install stock rom ( written above )
3. Install TWRP again on it.
4. Extract the persist file and copy it to your lineage EFS backup folder.So now the file in your backup folder should be EFS and persist.
5. Place the BACKUP folder in your TWRP.
6. Start TWRP in your Z2 play restore the EFS first and then restore the Persist file BOTH ONE BY ONE.
NOW REBOOT YOUR Z2 PLAY AND ENJOY VOLTE AGAIN .
TESTED ON INDIAN VARIANT XT1710 - 10.
IF ANY QUESTIONS YOU LEAVE A REPLY.ITS TOO CONFUSING I KNOW.
**YOU SHOULD BE ON STOCK ROM
CHEERS.
Here is the link to original post :
https://forum.xda-developers.com/g5-plus/how-to/solved-volte-fix-lost-flashing-stock-rom-t3773524
CREDITS:
@rajatgupta1998
@rahulsnair
@akshu2697

help
4. Extract the persist file and copy it to your lineage EFS backup folder.So now the file in your backup folder should be EFS and persist.
5. Place the BACKUP folder in your TWRP.
6. Start TWRP in your Z2 play restore the EFS first and then restore the Persist file BOTH ONE BY ONE.
what twrp used to backup persist on moto z2 play and what file of persist used too? help :crying:

Follow the link. You must download persist file and restore It.
Inviato dal mio Moto Z2 Play utilizzando Tapatalk

Link down
peppet said:
Follow the link. You must download persist file and restore It.
Inviato dal mio Moto Z2 Play utilizzando Tapatalk
Click to expand...
Click to collapse
Bro the link of persist is down ;( do you have the file??
And other question that twrp work to restore persist backup? Thx bro

Sorry to bring back this thread from the dead : does anyone still got those files? My friend Z2 is stuck with IMEI 0 and at this point, it's worth a try

Here's the file. It's not a zip file, Rename it without .zip

Thanks! I'll give it a try later today
EDIT : done, IMEI is still at 0, but VoLTE work again, wooooo \o/

Related

HTC 526G+ Taiwan Stock Rom

Hey Guys,
After following all the steps properly with caution i was able to make the stock rom in a CWM recoverable file
I AM NOT RESPONSIBLE FOR ANY DAMAGES MADE TO YOUR DEVICE IF YOU MAKE A MISTAKE IN BETWEEN
BUT I WILL ASSURE YOU THAT I WILL TRY MY BEST TO HELP YOU
This are the files that were backed up , just check to be sure you have all files in the folder / zip
~ System . ext4 . tar
~ Recovery . img
~ uboot . img
~ Boot . img
~ nandroid.md5
TUTORIAL
Step 1 : Unlock Bootloader to flash CWM / TWRP recovery
GUIDE : UNLOCK BOOTLOADER
RECOVERY : DOWNLOAD
I DID NOT MAKE THE FILES TO UNLOCK BOOTLOADER : EVERYTHING WAS DONE BY :
SALMAN986 AND PRIYANSH21
I recommend using cwm
STEP 2 : Extract the stock rom to CLOKWORKMOD/PHILZ/TWRP in sdcard/sdcard1
IF YOU CANT FIND THIS FOLDER > YOU CAN BACKUP YOUR ROM AND CANCEL IN BETWEEN SO THE FOLDER IS CREATED AUTOMATICALLY
STEP 3 : select restore or advance restore
VOILA - The stock rom will be restored
WITH ROOT (KINGROOT) AND BUSYBOX
IF YOUR DATA IS NOT INTACT / PHONE DOESNT REBOOT , CLEAR DATA & CACHE FROM RECOVERY
BE SURE TO LIKE MY WORK , AND HIT THE THANKS BUTTON
MAIN CONTRIBUTORS:
SALMAN986
PRIYANSH21
PLEASE LIKE THEIR WORK TOOO , WITHOUT THEM WE COULD NOT HAVE THE TAIWAN STOCK ROM FOR OUR DEVICE
DOWNLOAD STOCK ROM HERE:
MEGA
Hey, you can do as follows:
~~~~~~~~~~~~~~~~~~~~~~~
Requirements:
* PC
* CWM/TWRP Backup
* CWM/TWRP Installed
* Winrar/7Zip
* Brain
Now the real-deal..
1. Copy the backup from Phone to PC
2. Extract system.ext4.tar file with winrar/7zip, you
will get the system folder
3. Collect the boot.img from the backup
4. Now collect a META-INF folder from any custom
rom/small update zip which is made for HTC Desire 526G+
5. Now select META-INF,system & boot.img, click
right button of your mouse and select 'Add to archive'
now select archive format 'ZIP' and press ok
6. Your flasable zip rom is ready. Just copy it
to your sd card and flash with CWM or TWRP
7. Done!! This will flash the stock Taiwan System to your device.
Make sure to hit the thanks button!!
P.S. Can you give the link for Indian Stock ROM.
Thanks.. i followed the procedure suggested by you. Really it is working. Is there any possibility to edit the source code and (As per my customization) compile, generating the images and flashing back. If yes which cross compile tool is required and how to get source code.
Philz touch recovery download for STEP 1 , Instead of using CWM / TWRP
Mega

Questions About Custom Roms on G8

hello
i want to know if i install cm13 custom rom on Huawei G8(GX8) Can i return to stock rom easily?
and if i return to stock fingerprint sensor will work again? cuz i heard that fingerprint may not work after returning to official stock rom
+ can i successfully install B340 Firmware on my dual sim g8 after unlocking phone cuz it gives error now when i try to install ( sorry for bad english )
titan5800 said:
hello
i want to know if i install cm13 custom rom on Huawei G8(GX8) Can i return to stock rom easily?
and if i return to stock fingerprint sensor will work again? cuz i heard that fingerprint may not work after returning to official stock rom
+ can i successfully install B340 Firmware on my dual sim g8 after unlocking phone cuz it gives error now when i try to install ( sorry for bad english )
Click to expand...
Click to collapse
Yes, you should backup also modem into TWRP, in this way fingerprint will work wen you want to return to stock. So, make a full backup before flash CM-13.0.... if you want to return to stock just restore backup.
Good luck !
surdu_petru said:
Yes, you should backup also modem into TWRP, in this way fingerprint will work wen you want to return to stock. So, make a full backup before flash CM-13.0.... if you want to return to stock just restore backup.
Good luck !
Click to expand...
Click to collapse
surdu_petru said:
The link provided for B140 is not from Huawei site, so you will be able to download ( is already a mirror link ) !
cust.img - 114.78 MB
Installations steps :
- install TWRP 3.0.1-0 !
- go to TWRP and perform a backup ( including : System, Boot, Data & Custom ) !
- root your device using TWRP ( you should flash : UPDATE-SuperSU-v2.46.zip )
- reboot your device and connect USB cable :
> adb shell
$ su
# dd if=/dev/block/bootdevice/by-name/cust of=/data/local/tmp/cust_orig.img
# chmod 0644 data/local/tmp/cust_orig.img
# exit
$ exit
> adb pull data/local/tmp/cust_orig.img
This cust_orig.img is your backup of your custom partition !
Now just download my cust.img and also B140 Firmware from the link above . Extract UPDATE.APP from B140 and put it on your external card ( MicroSD ) into dload directory : you should have : MicroSD/dload/UPDATE.APP !
Flash my custom partition on your device :
> adb push cust.img data/local/tmp/
> adb shell
$ su
# dd if=/data/local/tmp/cust.img of=/dev/block/bootdevice/by-name/cust
# reboot recovery
Device will bot into TWRP ... here just go to : Wipe -> Advanced Wipe , check : Dalvik/ART Cache, System, Cache & Data -> Swipe to Wipe !
Just got to Reboot -> Power Off .... disconnect the USB cable ... than : while you keep pressed at the same time : volume up & volume down buttons , just keep pressed also power button ... device will start soon to install UPDATE.APP !
That is all ... now you should check update , and install OTA B180 before to flash UPDATE.APP from Huawei MM B340 !
Click to expand...
Click to collapse
hello ty for answer but i recently i found your guide to install official android 6 on c900b160 by changing cust but when i did it and tried to install b140 still error +after flashing modified cust it says failed to load cust invalid argument
titan5800 said:
hello ty for answer but i recently i found your guide to install official android 6 on c900b160 by changing cust but when i did it and tried to install b140 still error +after flashing modified cust it says failed to load cust invalid argument
Click to expand...
Click to collapse
It was just a suggestion the stuff with flash cust image from B140 ... now, if B340/330 it not working , you should restore your backup and your device will function without issues !
surdu_petru said:
It was just a suggestion the stuff with flash cust image from B140 ... now, if B340/330 it not working , you should restore your backup and your device will function without issues !
Click to expand...
Click to collapse
ty very much for helping
surdu_petru said:
It was just a suggestion the stuff with flash cust image from B140 ... now, if B340/330 it not working , you should restore your backup and your device will function without issues !
Click to expand...
Click to collapse
backup works perfect!
but when i install resurrection remix or cm13 after optimising apps it goes reboot and repeats rebooting and dosent boot up how to fix?
titan5800 said:
hello ty for answer but i recently i found your guide to install official android 6 on c900b160 by changing cust but when i did it and tried to install b140 still error +after flashing modified cust it says failed to load cust invalid argument
Click to expand...
Click to collapse
I installed your cust. img and now my bootloader is locked and simcard is not working. When I insert simcard it is asking for puk code. Even my bootloader code is not working. The IMEI no of my device has been changed. Please help me to recover my old imei number and make my simcard work
---------- Post added at 09:22 PM ---------- Previous post was at 09:21 PM ----------
I installed your cust. img and now my bootloader is locked and simcard is not working. When I insert simcard it is asking for puk code. Even my bootloader code is not working. The IMEI no of my device has been changed. Please help me to recover my old imei number and make my simcard work

Honor 8 Pro DUK-L09 Install Firmware Problem

Hello I have serious problem on my Honor 8 Pro DUK-L09 EU Version. I have the stock FW B130 root phh 'and TWRP 3.1.1.1. I want to install MagikSU (Magik 13.3) and as you well know I should restore boot.img (unroot) then I did Backup Nandroid with TWRP and after downloading FW from Hicloud B182 (having seen it released update). By using fastboot software I have flash boot.img. When i started my device not booting OS then i have boot.img restored from my BK my device does not turn on but no OS starts. Then I have the idea to flash system.img cust.img userdata.img of b182. done! Start my Honor 8 Pro and after OS boot animation boot part which would not be the classic one I had before (logo honor animation) but black screen with logo android color metal ... system starts but is incomplete crasha !!! Then I tried with dload folder taken UPDATE.APP (ver B182) and placed in folder, result Software Install Failed! After 5%. Then took update.zip (b182) and installed with TWRP give error: honor check_write_data_to_partition, write data error . I also tried with B130 (my stock) downloaded from Hicloud but did not change anything i do not install with dload and TWRP i now blocked. Help me I'm as desperate as I can restore my device?
PS. My Bootloader is unlocked.
maxDa84 said:
Hello I have serious problem on my Honor 8 Pro DUK-L09 EU Version. I have the stock FW B130 root phh 'and TWRP 3.1.1.1. I want to install MagikSU (Magik 13.3) and as you well know I should restore boot.img (unroot) then I did Backup Nandroid with TWRP and after downloading FW from Hicloud B182 (having seen it released update). By using fastboot software I have flash boot.img. When i started my device not booting OS then i have boot.img restored from my BK my device does not turn on but no OS starts. Then I have the idea to flash system.img cust.img userdata.img of b182. done! Start my Honor 8 Pro and after OS boot animation boot part which would not be the classic one I had before (logo honor animation) but black screen with logo android color metal ... system starts but is incomplete crasha !!! Then I tried with dload folder taken UPDATE.APP (ver B182) and placed in folder, result Software Install Failed! After 5%. Then took update.zip (b182) and installed with TWRP give error: honor check_write_data_to_partition, write data error . I also tried with B130 (my stock) downloaded from Hicloud but did not change anything i do not install with dload and TWRP i now blocked. Help me I'm as desperate as I can restore my device?
PS. My Bootloader is unlocked.
Click to expand...
Click to collapse
Pls help
use this guidehttps://forum.xda-developers.com/honor-8-pro/how-to/oeminfo-c432-t3625886
venugopalu007 said:
use this guidehttps://forum.xda-developers.com/honor-8-pro/how-to/oeminfo-c432-t3625886
Click to expand...
Click to collapse
ok thx 4 you answare... i follow this passage? 1. Recover to FULL STOCK???
The problem is that i put the c432b130 in dload me by error and if twrp installs me from this check_write_data_to_partition error, writes error data Error 9
and sdcard in twrp is crypted. How do I decrypt?
please help i try this method 3. Updating to unapproved OTAs and sdcard folder i Crypted i have TWRP 3.1.1.1 and root
maxDa84 said:
please help i try this method 3. Updating to unapproved OTAs and sdcard folder i Crypted i have TWRP 3.1.1.1 and root
Click to expand...
Click to collapse
can please tell what steps you successfully done?

[HELP] I need a copy of the cust folder from the root of the device

Hello guys,
I have a lot of problems with my cust partition and as moving the files from the cust partition to another phone works, I need the files of the cust partition from someone on any global MIUI 9 based on android 8.1.0 (REDMI NOTE 5 PRO / 5 GLOBAL)
Please upload it to something and share it
It will save my device and fix the problems
Guide:
1. Boot to twrp
2. go to the file explorer of twrp
3. go to the root of the device
4. go to the cust folder and copy everything from there to your internal storage and move it to your PC via MTP
5. add the files to a zip file and upload it
Thanks and have a good day!
Just flash cust.img via fastboot. You can get it on any fastboot rom
devcon69 said:
Just flash cust.img via fastboot. You can get it on any fastboot rom
Click to expand...
Click to collapse
I need this for another phone, so unfortunately I cant do that

Question Edit system files in Mi 11x

I have been using this Mi 11x (Indian variant of Poco F3/ Redmi K40). It has TWRP by Nebrassy as latest version of Magisk (v23) installed and working. Magisk is working in systemless mode. System structure shows partitions Slot A and Slot B in TWRP. Whenever I attempt to delete any system file using root privileged file manager it return 'failed to delete : error code 1'.
I did try deleting these files using TWRP file manager. There also it says 'failed, Code 1'.
What am I doing wrong. And how to correct it? Please help...
Running Os: Xiaomi.eu with version 12.5.4.0 with MIUI 12.5
Device : Mi 11x (Aliothin)
System files cannot be deleted after android 10
Thread '[SCRIPT][Android 10+] Universal Mount System read write R/W' https://forum.xda-developers.com/t/script-android-10-universal-mount-system-read-write-r-w.4247311/
Here I just got the solution... I just installed the flashable.zip file through TWRP in my poco f3 with xiaomi.eu and it was full success in first attempt.
Suryashis said:
Thread '[SCRIPT][Android 10+] Universal Mount System read write R/W' https://forum.xda-developers.com/t/script-android-10-universal-mount-system-read-write-r-w.4247311/
Here I just got the solution... I just installed the flashable.zip file through TWRP in my poco f3 with xiaomi.eu and it was full success in first attempt.
Click to expand...
Click to collapse
seems very hard for me... can explain better how ? thanks
Angyone1 said:
seems very hard for me... can explain better how ? thanks
Click to expand...
Click to collapse
I worked on my mi 11x with unlocked, magisk rooted Xiaomi.eu 12.5.4.0 rom (android 11). I just downloaded the flashable zip file from the site attached) and installed it in TWRP recovery. Pretty straight forward... But u need to have atleast 20gb internal memory free, where a backup of your super.img will be stored (u can delete this later). My advice is to go through the thread once since I have read certain feedbacks where the device went into bootloop.
Suryashis said:
I worked on my mi 11x with unlocked, magisk rooted Xiaomi.eu 12.5.4.0 rom (android 11). I just downloaded the flashable zip file from the site attached) and installed it in TWRP recovery. Pretty straight forward... But u need to have atleast 20gb internal memory free, where a backup of your super.img will be stored (u can delete this later). My advice is to go through the thread once since I have read certain feedbacks where the device went into bootloop.
Click to expand...
Click to collapse
Be sure to mount System, Vendor, Product atleast before starting the installation process in TWRP

Categories

Resources