[GUIDE] Back to Stock from Treble GSI [Variant] - Huawei P20 Lite Guides, News, & Discussion

On stock EMUI 9.1 :
1. Decrypt data
https://forum.xda-developers.com/t/data-decryption-on-emui-9-1.4319329/post-85478865
2. Install TWRP 3.2.1 GAGUGA Edition
https://mega.nz/#!tkcTlATI!A8UJGPBGtxJbLcUOJoxCGJj5PFZXzCnjbb3OkwqKTP8
3. make a 'System Image' and 'Data' backup (on the SD card of course ))
To revert to EMUI from Custom use the Restore option in TWRP. Use the same TWRP (recommended).

-Alf- said:
On stock EMUI 9.1 :
1. Decrypt data
https://forum.xda-developers.com/t/data-decryption-on-emui-9-1.4319329/post-85478865
2. Install TWRP 3.2.1 GAGUGA Edition
https://mega.nz/#!tkcTlATI!A8UJGPBGtxJbLcUOJoxCGJj5PFZXzCnjbb3OkwqKTP8
3. make a 'System Image' and 'Data' backup (on the SD card of course ))
To revert to EMUI from Custom use the Restore option in TWRP. Use the same TWRP (recommended).
Click to expand...
Click to collapse
Good idea. I added a kernel, recovery and vendor. Now I'm back on EMUI in a few minutes .

In case you don't have backup
follow this guide

mutahharbashir said:
In case you don't have backup
follow this guide
Click to expand...
Click to collapse
Thanks for the post, but I think it's a bit offtop. TWRP backup is just a variant, usually people use update via eRecovery.

Topic said back to stock from custom
I thought it can help someone,
You want me to delete it?

mutahharbashir said:
Topic said back to stock from custom
I thought it can help someone,
You want me to delete it?
Click to expand...
Click to collapse
I just want to say that we have a simpler solution than Yours. Of course, everyone can choose the method they will use.
mutahharbashir said:
Topic said back to stock from custom
Click to expand...
Click to collapse
It's my fault, I meant returning from GSI ROMs, where you only need to replace the stock system and data. So the correct name should be "Back to stock from GSI ROM", sorry.
Regards

Related

TWRP backup for BLN-AL10 (system+boot) - B375 Stock

Hi Guys,
If by chance you messed up with your phone (BLN-AL10 model) while flashing custom ROMs, flashing some file etc., I have the backup for you to restore. This saved me few times when while installing the custom ROMs, I formatted data and etc and accidently deleted the TWRP folder (internal memory) but old backup saved me.
I captured only systsm+boot for you so that it will be of less size and you can restore when want quickly. Please find below link for the same-
Mega Link
Its of around 1 GB in size so either download it via Mega app on mobile or the mega account on windows browser.
Just boot into TWRP and restore the backup if you messed up anything and at least can boot into recovery.
Honor 6X repository thread updated with this information.
anybody with TWRP backup of other models/versions can share and I will update the repository thread.
Another great thread bro.
Sent from my DUK-L09 using XDA Labs
adriansticoid said:
Another great thread bro.
Click to expand...
Click to collapse
To help others mate:good:
shashank1320 said:
To help others mate:good:
Click to expand...
Click to collapse
That's what we ought to.
Sent from my DUK-L09 using XDA Labs
Debranded to BLN-L22 from BLN_AL10
Hello,
I debranded my BLN-AL10 to BLN-L22C636. after updating to Nougat now I am stuck on NRD-90M test-keys. I tried every possible thing in my hand to change the ROM.
1. Tried to flash hw_spec_data.app [ install fail]
2. Unlocked bootloader installed TWRP, wilped system. Again tried to install BLN-AL10C00B160 [install failed]
3. flashed BOOT RECOVERY SYSTEM with fastboot [ Failed]
Now what can i do? I wiped data , cache, system, product, version and others except cust and oeminfo.
Can you please share a full stock backup from BLN-AL10C00? The phone was bought from CHINA. I live in Bangladesh.
I have downloaded your TWRP backup. will try that.
Please help.
explorer.ovi said:
Hello,
I debranded my BLN-AL10 to BLN-L22C636. after updating to Nougat now I am stuck on NRD-90M test-keys. I tried every possible thing in my hand to change the ROM.
1. Tried to flash hw_spec_data.app [ install fail]
2. Unlocked bootloader installed TWRP, wilped system. Again tried to install BLN-AL10C00B160 [install failed]
3. flashed BOOT RECOVERY SYSTEM with fastboot [ Failed]
Now what can i do? I wiped data , cache, system, product, version and others except cust and oeminfo.
Can you please share a full stock backup from BLN-AL10C00? The phone was bought from CHINA. I live in Bangladesh.
I have downloaded your TWRP backup. will try that.
Please help.
Click to expand...
Click to collapse
@shashank1320 any ideas?
Sent from my Honor 8 Pro using XDA Labs
explorer.ovi said:
Hello,
I debranded my BLN-AL10 to BLN-L22C636. after updating to Nougat now I am stuck on NRD-90M test-keys. I tried every possible thing in my hand to change the ROM.
1. Tried to flash hw_spec_data.app [ install fail]
2. Unlocked bootloader installed TWRP, wilped system. Again tried to install BLN-AL10C00B160 [install failed]
3. flashed BOOT RECOVERY SYSTEM with fastboot [ Failed]
Now what can i do? I wiped data , cache, system, product, version and others except cust and oeminfo.
Can you please share a full stock backup from BLN-AL10C00? The phone was bought from CHINA. I live in Bangladesh.
I have downloaded your TWRP backup. will try that.
Please help.
Click to expand...
Click to collapse
Still struggling to understand why no twrp backup before trying these messy things which could even brick your phoneI. Huawei/honor os prone to brock in seconds.
shared twrp backup last week. Check in discussion seasion and just do ctrl+f and search for twrp you will get the file.
BTW are you restoring just because of NRD TEST KEY or something else?
adriansticoid said:
@shashank1320 any ideas?
Click to expand...
Click to collapse
It wont work brother.
He need to restore my twrp shared few days back.
No twrp backup taken before trying these things is what surprise me.
explorer.ovi said:
Hello,
I debranded my BLN-AL10 to BLN-L22C636. after updating to Nougat now I am stuck on NRD-90M test-keys. I tried every possible thing in my hand to change the ROM.
1. Tried to flash hw_spec_data.app [ install fail]
2. Unlocked bootloader installed TWRP, wilped system. Again tried to install BLN-AL10C00B160 [install failed]
3. flashed BOOT RECOVERY SYSTEM with fastboot [ Failed]
Now what can i do? I wiped data , cache, system, product, version and others except cust and oeminfo.
Can you please share a full stock backup from BLN-AL10C00? The phone was bought from CHINA. I live in Bangladesh.
I have downloaded your TWRP backup. will try that.
Please help.
Click to expand...
Click to collapse
It will fail coz ypu are no longer on AL10 but L22.
This will be hard.
Sent from my Honor 8 Pro using XDA Labs
shashank1320 said:
It will fail coz ypu are no longer on AL10 but L22.
Click to expand...
Click to collapse
Thanks for your time. I had backup. after restoring something is not right. os is booting but no sound,no huawei boot logo, no developer option.
Now tell me will your backup work for me? What i need to wipe before restoring.
explorer.ovi said:
Thanks for your time. I had backup. after restoring something is not right. os is booting but no sound,no huawei boot logo, no developer option.
Now tell me will your backup work for me? What i need to wipe before restoring.
Click to expand...
Click to collapse
Mmmmm
After you restored your backup, just do a factory reset in twrp. It ahoukd be fine.
Sent from my BLN-AL10 using Tapatalk
shashank1320 said:
Mmmmm
After you restored your backup, just do a factory reset in twrp. It ahoukd be fine.
Sent from my BLN-AL10 using Tapatalk
Click to expand...
Click to collapse
But I want Chinese stock BLN-AL10 rom. Is that possible? Even if i restore from my BLN-L22c636 backup the rom will show NRD90M Test-keys. and I will not get any file manger, Update utility and any future update.
explorer.ovi said:
But I want Chinese stock BLN-AL10 rom. Is that possible? Even if i restore from my BLN-L22c636 backup the rom will show NRD90M Test-keys. and I will not get any file manger, Update utility and any future update.
Click to expand...
Click to collapse
Restore my file then
shashank1320 said:
Restore my file then
Click to expand...
Click to collapse
Which one? the file with boot+system on this thread? if there is any other please share link here. I could not find other backup for BLN-AL10.
Thanks
explorer.ovi said:
Which one? the file with boot+system on this thread? if there is any other please share link here. I could not find other backup for BLN-AL10.
Thanks
Click to expand...
Click to collapse
Mega link in OP. Yes that's boot+system
shashank1320 said:
Mega link in OP. Yes that's boot+system
Click to expand...
Click to collapse
So, I need to wipe from TWRP
1. Data
2. Cache
3. system
any thing else brother?
Going to try after sometime. hope your backup puts life into my device.
explorer.ovi said:
So, I need to wipe from TWRP
1. Data
2. Cache
3. system
any thing else brother?
Going to try after sometime. hope your backup puts life into my device.
Click to expand...
Click to collapse
Yes. Backup once..or do one thing..have a titanium backup for all the apps or take hisuite backup for all including calls and messages. And then proceed with above as you said

[TWRP backup] HELP! NANDROID NEEDED

Hi guys, can I find a so gentle and generous person who can do on TWRP a Nandroid backup of all partition (obviously not data) of Full Stock version of Honor 8 Pro and send it to me? I tried every single method findend in this forum but the phone won't restore back the stock version, so it is my last chance to bring back my old phone.
I would be very gratefull if anyone of you could help me.
stestrippoli said:
Hi guys, can I find a so gentle and generous person who can do on TWRP a Nandroid backup of all partition (obviously not data) of Full Stock version of Honor 8 Pro and send it to me? I tried every single method findend in this forum but the phone won't restore back the stock version, so it is my last chance to bring back my old phone.
I would be very gratefull if anyone of you could help me.
Click to expand...
Click to collapse
Which specific model and cust?
Sent from my DUK-L09 using XDA Labs
stestrippoli said:
Hi guys, can I find a so gentle and generous person who can do on TWRP a Nandroid backup of all partition (obviously not data) of Full Stock version of Honor 8 Pro and send it to me? I tried every single method findend in this forum but the phone won't restore back the stock version, so it is my last chance to bring back my old phone.
I would be very gratefull if anyone of you could help me.
Click to expand...
Click to collapse
The reason why no one has been so generous is that the root access given to this device is partial, not system wide.
You can't grant -rw permissions to /system partition and hence if we go into TWRP, it doesn't allow to take a Nandroid backup.
However, I can give you the link to B130 dload file.
B130 STOCK
Flash the recovery images first and then flash the ROM using dload method
amulbaby said:
The reason why no one has been so generous is that the root access given to this device is partial, not system wide.
You can't grant -rw permissions to /system partition and hence if we go into TWRP, it doesn't allow to take a Nandroid backup.
However, I can give you the link to B130 dload file.
B130 STOCK
Flash the recovery images first and then flash the ROM using dload method
Click to expand...
Click to collapse
after doing this step as you told..can i install magisk...and if i install magisk will it give me all the benefits of rooting...or again the encrypted rom would create problem
rexinriot said:
after doing this step as you told..can i install magisk...and if i install magisk will it give me all the benefits of rooting...or again the encrypted rom would create problem
Click to expand...
Click to collapse
Yes you can install magisk after this. But then after returning to stock, you have to flash TWRP recovery, then try installing Magisk v12 as apparently someone from the TWRP thread said that he couldn't make v13 work. And No even after doing all this, you won't get full benefits of rooting as system partition is restricted and you don't have read and write permissions. Encrypted rom will be decrypted once you follow the installation of TWRP and install magisk.
aKp1 said:
Yes you can install magisk after this. But then after returning to stock, you have to flash TWRP recovery, then try installing Magisk v12 as apparently someone from the TWRP thread said that he couldn't make v13 work. And No even after doing all this, you won't get full benefits of rooting as system partition is restricted and you don't have read and write permissions. Encrypted rom will be decrypted once you follow the installation of TWRP and install magisk.
Click to expand...
Click to collapse
thnks for ur valuable answer..but i have a bit of confusion..
u said that even after doing all this i wont get benefits of rooting as partition is restricted as i dont have rw permission...but u again said encrypted rom will be decrypted once i follow the installation of twrp and install magisk..
so if rom will be decrypted then automatically rw permissions would be accessable..then probably i would be able to enjoy full root benefits...crrct me if i am wrong...
I was decrypted when I had root and twrp but still I wasn't able to access the system partition. To get full root access, you have to wipe data in TWRP and then flash the decrypted boot.img which we don't have for our phone. So we stuck on half root.
hi
can i have ur no pls
popsujith said:
can i have ur no pls
Click to expand...
Click to collapse
For what?
Sent from my Honor 8 Pro using XDA Labs
hi bro
amulbaby said:
The reason why no one has been so generous is that the root access given to this device is partial, not system wide.
You can't grant -rw permissions to /system partition and hence if we go into TWRP, it doesn't allow to take a Nandroid backup.
However, I can give you the link to B130 dload file.
Flash the recovery images first and then flash the ROM using dload method
Click to expand...
Click to collapse
im in stuck in half brick my mobile so kindly pls can u provide ur whatsapp or contact no bro... i need sm real help pls... and ty
popsujith said:
im in stuck in half brick my mobile so kindly pls can u provide ur whatsapp or contact no bro... i need sm real help pls... and ty
Click to expand...
Click to collapse
Sent you pm
rexinriot said:
after doing this step as you told..can i install magisk...and if i install magisk will it give me all the benefits of rooting...or again the encrypted rom would create problem
Click to expand...
Click to collapse
Very much. You can install Magisk . I have tested it and works good.
To make things easier, follow my thread
Sorry if i am repeating it, but I feel this discussion is going on under multiple threads.
Trapped now!
stestrippoli said:
Hi guys, can I find a so gentle and generous person who can do on TWRP a Nandroid backup of all partition (obviously not data) of Full Stock version of Honor 8 Pro and send it to me? I tried every single method findend in this forum but the phone won't restore back the stock version, so it is my last chance to bring back my old phone.
I would be very gratefull if anyone of you could help me.
Click to expand...
Click to collapse
Do one thing go to service center submit the device and wait for 1 or 2 month to get it repair, just like i did last month and still waiting to deliver the phone! Honor useless brand in service!

Which TWRP to use (keeping encryption in mind)?

Hello. I have a stock fully updated(amzin, v8.1.0) moto G5(SKU: XT1677). I decided to install a custom rom and I got the unlock key from Motorola. However, I read that official twrp can only flash 32 bit(pre oreo) roms. And there are lots of unofficial TWRPs. I wanted to keep my device encrypted with a PIN after installing a custom ROM, so which TWRP should I use to have relatively good encryption support?
This 64bit twrp supports encryption
https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB
Note though that as of time of this post Los 17.1 & roms that use the same device tree don't currently support encryption
TheFixItMan said:
This 64bit twrp supports encryption
https://drive.google.com/open?id=1MLlljM7BzMj9Da57LeyBHyg81cHdW1cB
Note though that as of time of this post Los 17.1 & roms that use the same device tree don't currently support encryption
Click to expand...
Click to collapse
Well, then I guess I'll just use whatever twrp is linked in the ROM thread.
Also, I read through old threads and read about the possibility of losing RIL/IMEI so would you recommend using official 32bit twrp to create a nandroid full backup of the stock oreo and then proceed with 64 bit twrp followed by the ROM?
cp101da said:
Well, then I guess I'll just use whatever twrp is linked in the ROM thread.
Also, I read through old threads and read about the possibility of losing RIL/IMEI so would you recommend using official 32bit twrp to create a nandroid full backup of the stock oreo and then proceed with 64 bit twrp followed by the ROM?
Click to expand...
Click to collapse
Backup efs with 64bit twrp if you want to save your imei
Obviously save it to sdcard or pc
The rest is totally up to you
TheFixItMan said:
Backup efs with 64bit twrp if you want to save your imei
Obviously save it to sdcard or pc
The rest is totally up to you
Click to expand...
Click to collapse
Thank you. It's been a while since I've looked into custom ROMs and such.
So at this point, I don't need to use the official twrp for any purpose?

Question Poco f3 flash

Hi i want to flash my poco f3 do i need usb dongle so i can use sdcard to be safe?
And do i need to flash global miui before flash custom rom?
usb dongle ??
No need... just backup you data first
Yup.. better flash Official latest miui rom...continue with twrp.... and flash custom rom.
but you need unlocked bootloader for custom rom
Vuska said:
usb dongle ??
No need... just backup you data first
Yup.. better flash Official latest miui rom...continue with twrp.... and flash custom rom.
but you need unlocked bootloader for custom rom
Click to expand...
Click to collapse
So i flash miui global in twrp before flash custom rom? Where can i find miui global?
__halvar__ said:
So i flash miui global in twrp before flash custom rom? Where can i find miui global?
Click to expand...
Click to collapse
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
fastboot if using mi flash.
but... its very important to understand using mi flash and what to tick and what dont.
but if you already using latest official stable release and already unlocked bootloader... then you may continue with twrp..
there is thread about how to flash twrp and flash custom rom... you have to read that first
How to flash ROM and TWRP on POCO F3 / k40 / mi11x. And an explanation. A very important guide
Mandatory instructions for beginners (and not only beginners) to install ROM and other on poco f3 Prerequisite, unlocking the bootloader For questions, if something is not clear, please write to "Conversations", I will try to correct it in a post...
forum.xda-developers.com
Thanks yes its global miui so i can unlock bootloader flash twrp and then custom rom ?
__halvar__ said:
Hi i want to flash my poco f3 do i need usb dongle so i can use sdcard to be safe?
And do i need to flash global miui before flash custom rom?
Click to expand...
Click to collapse
Let me tell you that twrp otg backups don't work at all. I have 2 USB c hard drives and twrp can't make a backup with them. I don't know why but it can't. I'm really unsure of this phone because there's really nothing you can do to backup anything. You flash a new rom and you have to format everything and start all over again. No music no apps no nothing. I don't even understand what fun that is? Every rom seems to have different instructions and it's a mess.
Techguy777 said:
But do a backup and then transfer it to pc ? And then to the phone ?
Click to expand...
Click to collapse
I don't know if that will work I'm telling you don't get your hopes up because this phone is like an alien phone.
Techguy777 said:
I don't know if that will work I'm telling you don't get your hopes up because this phone is like an alien phone.
Click to expand...
Click to collapse
how do you mean?
__halvar__ said:
how do you mean?
Click to expand...
Click to collapse
Ive been doing the custom roms thing for about 4 or 5 years. It's always unlock bootloader, flash twrp, make twrp backup of data, system and boot. Flash magisk or custom rom.
Well now it's different there's no way to back it up. If I make a twrp backup to the internal storage and try to copy and paste it to my USB c ssd it fails it won't allow it. I don't understand if you try to make the backup in twrp it'll say backup failed. I have no idea why I can't make a backup that means I would have to flash stock to fix a bootloop lol it's ruining the twrp experience
There are so many guides on the internet. We don't need to repeat this. Use YouTube and Google.
Search "Poco F3 Flash Custom ROM" and "Poco F3 unlock bootloader"
@dreamytom Just reading a few threads here on xda would be enough to find almost all the answers you need ...
Techguy777 said:
Ive been doing the custom roms thing for about 4 or 5 years. It's always unlock bootloader, flash twrp, make twrp backup of data, system and boot. Flash magisk or custom rom.
Well now it's different there's no way to back it up. If I make a twrp backup to the internal storage and try to copy and paste it to my USB c ssd it fails it won't allow it. I don't understand if you try to make the backup in twrp it'll say backup failed. I have no idea why I can't make a backup that means I would have to flash stock to fix a bootloop lol it's ruining the twrp experience
Click to expand...
Click to collapse
From a certain point of view you are right, but we should also give the developers some time to fix things.It is true, with previous versions of android it was easier to flash and without having to set everything up again, however, it is a phone with a more complicated system therefore the developments of the twrp are more complicated. Without forgetting that the entire development is supported only by donations and the rest is completely free ...
There are some tools too...if you are using same base os... you can use tool to backup and restore.
1. Migrate
backup you app (with data)
restore from twrp
(search it from xda)
2. Swift Backup.
3. Miui has backup and restore too.
but for your data (photos, videos etc) manually backup to your pc.
that's all..
yes, backup restore from twrp not work yet.
Vuska said:
There are some tools too...if you are using same base os... you can use tool to backup and restore.
1. Migrate
backup you app (with data)
restore from twrp
(search it from xda)
2. Swift Backup.
3. Miui has backup and restore too.
but for your data (photos, videos etc) manually backup to your pc.
that's all..
yes, backup restore from twrp not work yet.
Click to expand...
Click to collapse
I already know about those app backups and it's really not the problem. You need to than make sure you have them stored on a USB C drive because if you format data than bye bye to those apps. Twrp we're the best and I didn't like the idea of no micro SD card but I figured oh well USB C drive will work.
With every android verison update we lose a little bit of root. It's not like when actually change anything to the system it will bootloop. We can't make system backups and now magisk hide is removed that one I don't care I never used it. There's a point when having root doesn't matter really and we're almost there. Coding is getting so complicated that after OEM updates stop I wouldn't be surprised if people can't build updated Android roms

how to rescue my data?

I'm using Official Pixel Experience 11.0 and I noticed there got a beta version for Pixel Experience 12, Considered it's "beta" instead of "alpha" or "prebuild", I think it wouldn't be that risky, So I just flashed it via the Pixel Experience Recovery's sideload. When I try to check how wonderful my new system was, Dang, it directly entered the Recovery and all my data have not been backup! I have tried to sideload to the old PE11 but not work. Then I installed twrp and orange fox tried to backup my data but seems data and sdcard partitions could not be unencrypt. Any have ideas about how to rescue my data? Or is there any way I could backup all the encrypted partition to a img so I could deal with this encrypt later instead of doing nothing? These data is important to me.
No. If tou carefully read instructions, you can not go from A11 to a12 without formatting data, then install now already we have beta.
tze_vitamin said:
No. If tou carefully read instructions, you can not go from A11 to a12 without formatting data, then install now already we have beta.
Click to expand...
Click to collapse
So it's all kinds of rom does not support ota update from a11 to a12 or just I used a wrong method? I wondered if I could take my data out from this phone without rescue the system? I could reinstall the system but I really export my data.
You will not find OTA custom ROM , a11 to A12, you can maybe find A12 to A12. But if you wait for stock ROM tou will get it OTA . custom ROM is different.. especially if someone is not encrypted and formatting is important to be able to flash and boot system
tze_vitamin said:
You will not find OTA custom ROM , a11 to A12, you can maybe find A12 to A12. But if you wait for stock ROM tou will get it OTA . custom ROM is different.. especially if someone is not encrypted and formatting is important to be able to flash and boot system
Click to expand...
Click to collapse
Thank you very much for you info, but I wondered if it is possible to export my data out of the phone?
I found on youtube, Put your phone into Fastboot and in ADB type Backup all
after installing system , again in ADB type restore.
try research about this commands on google to have it for next time if something similir happend

Categories

Resources