How to delete twrp from mate 10 pro - Huawei Mate 10 Questions & Answers

I delete the root and want to delete twrp so I can update the phone to a new version that improves the performance of the phone, how can i delete twrp please help .

saexd said:
I delete the root and want to delete twrp so I can update the phone to a new version that improves the performance of the phone, how can i delete twrp please help .
Click to expand...
Click to collapse
Flash stock recovery_ramdisk
https://forum.xda-developers.com/mate-10/how-to/guide-extracting-stock-firmware-files-t3756733

Related

[Help][LP 5.1] Needed boot.img for 'stock recovery backup experiment'.

I am going to do an experiment(flashing TWRP.img on boot partition and trying to root.) to backup stock recovery.img of Lollipop 5.1. To do this, I need stock boot.img(Kernel Version: 3.4.42-gccbac57) of system version 23.26.2. If there's someone who rooted system version 23.26.2 then take backup of boot.img using Rashr App(Download from here forum.xda-developers.com/showthread.php?t=2334554 ) and post that stock boot.img here.
If this experiment succeed then I will post stock recovery.img of lollipop 5.1.
UPDATE: I'm not going to do this experiment because temporary booting of twrp is now working on moto e. We can root device by temporary booting twrp and backup stock recovery.img
isn't there anyone who rooted 23.26.2 ?
I have 23.21.34 version i can give you if you want...
cksup said:
I have 23.21.34 version i can give you if you want...
Click to expand...
Click to collapse
It's simple, you just have to extract the boot.img from any ota zip (suggested the official OTA zip)
Do that and give him then.......it will be very good if he can make the 5.1 stock recovery
cksup said:
Do that and give him then.......it will be very good if he can make the 5.1 stock recovery
Click to expand...
Click to collapse
First of all, you must clarify who is referred to as 'him'?
Secondly, there is no method(according to me) by which you can make a stock recovery from a stock kernel. There are two files namely the boot.img and the recovery.img.
First one is the kernel and the second one is the recovery.
Use the ones you like.
Him meant the op
I don't know if one can make recovery from boot.img.......The op didn't say that either....He said and i quote "I am going to do an experiment to backup stock recovery.img of Lollipop 5.1. To do this, I need stock boot.img(Kernel Version: 3.4.42-gccbac57) of system "
So i thought by using some process he may be able to back up stock recovery....that is why i said like that
and BTW where are those .img files available @Rohitagni
cksup said:
Him meant the op
I don't know if one can make recovery from boot.img.......The op didn't say that either....He said and i quote "I am going to do an experiment to backup stock recovery.img of Lollipop 5.1. To do this, I need stock boot.img(Kernel Version: 3.4.42-gccbac57) of system "
So i thought by using some process he may be able to back up stock recovery....that is why i said like that
and BTW where are those .img files available @Rohitagni
Click to expand...
Click to collapse
U can find them in any zipped firmware files. By zipped firmware files, I mean the zips for stock firmware, or the update zips that many XDA users capture here from their rooted phones to help users who haven't received the OTA, enjoy the new OS, simply by sideloading.
cksup said:
I have 23.21.34 version i can give you if you want...
Click to expand...
Click to collapse
Thanks, but I want 23.26.2 version boot.img.
Rohitagni said:
It's simple, you just have to extract the boot.img from any ota zip (suggested the official OTA zip)
Click to expand...
Click to collapse
I think, we can't extract boot.img from ota zip.
Rohitagni said:
First of all, you must clarify who is referred to as 'him'?
Secondly, there is no method(according to me) by which you can make a stock recovery from a stock kernel. There are two files namely the boot.img and the recovery.img.
First one is the kernel and the second one is the recovery.
Use the ones you like.
Click to expand...
Click to collapse
I'm not making recovery.img from boot.img. I will use boot.img to make my device functional again because I'm going to flash TWRP.img on boot partition and try to root. If device gets root access then I can backup stock recovery.img because stock recovery.img is not over written in process of rooting.
I hope you succeed.........I try to get it from someone
And no @Rohitagni you can't extract boot.img from uploaded update zips but from full firmware zips,yes which is not available
I just saw in general section someone uploaded twrp backup of stock latest 5.1......I can flash that and give the boot.img tomorrow @EthicalHacker
cksup said:
I hope you succeed.........I try to get it from someone
And no @Rohitagni you can't extract boot.img from uploaded update zips but from full firmware zips,yes which is not available
I just saw in general section someone uploaded twrp backup of stock latest 5.1......I can flash that and give the boot.img tomorrow @EthicalHacker
Click to expand...
Click to collapse
I am extremely sorry, for misleading you guys! I just found out that the fsg.bin and the gpt.bin (with logo.bin, etc) are the only things that are available in those zips. So yes, @cksup, you are correct. Please provide him with the kernel, so that miracles can happen
cksup said:
I hope you succeed.........I try to get it from someone
And no @Rohitagni you can't extract boot.img from uploaded update zips but from full firmware zips,yes which is not available
I just saw in general section someone uploaded twrp backup of stock latest 5.1......I can flash that and give the boot.img tomorrow @EthicalHacker
Click to expand...
Click to collapse
That's fine.
I think, the twrp backup; you're talking about is Brazilian. So be careful.
any one found the way to flash twrp on stock 5.1 lollipop previous method don't work.
Ansh2000 said:
any one found the way to flash twrp on stock 5.1 lollipop previous method don't work.
Click to expand...
Click to collapse
Use latest twrp.img and SuperSU zip to root.
And if you have 23.26.2 version then you may help me by posting stock boot.img here.
check out #1st post of this thread.
EthicalHacker said:
Use latest twrp.img and SuperSU zip to root.
And if you have 23.26.2 version then you may help me by posting stock boot.img here.
check out #1st post of this thread.
Click to expand...
Click to collapse
Yes I am on 23.26.2 version but unable to flash. twrp, tried all version of twrp but result is same.
Ansh2000 said:
Yes I am on 23.26.2 version but unable to flash. twrp, tried all version of twrp but result is same.
Click to expand...
Click to collapse
Use twrp 2.8.7 recovery
forum.xda-developers.com/moto-e/orig-development/recovery-twrp-2-8-6-0-touch-recovery-t3100879
with following root guide
forum.xda-developers.com/showthread.php?t=2755336
Ansh2000 said:
Yes I am on 23.26.2 version but unable to flash. twrp, tried all version of twrp but result is same.
Click to expand...
Click to collapse
Hey before you flash TWRP can you do something ....... can you dump for recovery partition and save it in sd card and post it here ....
hey i have a XT1025 on the 5.1 ota update, untouched, and how can i root my device?
cksup said:
Hey before you flash TWRP can you do something ....... can you dump for recovery partition and save it in sd card and post it here ....
Click to expand...
Click to collapse
We can't dump stock recovery without root access and moto e has only one rooting method which is flashing custom recovery on recovery partition. It means we lose stock recovery when we get root access.
That's why I'm taking risk of above mentioned experiment to backup stock recovery.
lnasc256 said:
hey i have a XT1025 on the 5.1 ota update, untouched, and how can i root my device?
Click to expand...
Click to collapse
Check out post no. #16 of this thread.
I have a backup of stock 5.1( 23.26.2) kernel and recovery, I took backup from rashr app after rooting my moto e, and I didnt flash twrp for rooting I boot into twrp, should I upload stock kernel or recovery?
Sent from my Xperia E3 using XDA Free mobile app

TWRP backup

I need a official TWRP backup of system and boot for erdmin note 3 please help me!!!!
Ismael034202 said:
I need a official TWRP backup of system and boot for erdmin note 3 please help me!!!!
Click to expand...
Click to collapse
what is your problems?
I only need the TWRP backup
I think there is no twrp backup zip uploaded by someone...btw system & boot backup is a huge size for an upload
Please can you upload for me? Please
There's no point to share TWRP backup, It's useless for others. What's your problem btw? You Flash stock miui rom by MiFlash (+Clean all option) for start!
Can you share via drobox?
Download this fastboot rom (Kenzo, 8.1.6.0 Global Stable) : http://update.miui.com/updates/v1/fullromdownload.php?d=kenzo_global&b=F&r=global&n=
And flash it, Use this guide: http://en.miui.com/thread-235865-1-1.html

ROM's for Huawei Y6 (2017)?

hey! i accidentally deleted a backup for my device and now i have no system to boot off of
are there any roms available for mya-l11? all the ones i see on this sub are for the 2015 models. thanks
lbxda said:
hey! i accidentally deleted a backup for my device and now i have no system to boot off of
are there any roms available for mya-l11? all the ones i see on this sub are for the 2015 models. thanks
Click to expand...
Click to collapse
I could not find any custom Roms for your device.
I could find an stock Rom for the Mya-l41 trough.
Here is an link: https://mega.nz/#!wKpT1ZaS!CV-2E4sNnUwIurskAdqCDpDawWlZD2UeABtSELk_ffc
That should be an update.app or an flashable zip.
You may get Huawei Update Extractor and extract the system.img and boot.img of the update.app
After that flash system.img and boot.img from fastboot.
Warning. This may soft brick your device.
Good luck.
If i helped press the Thanks button
Thespartann said:
I could not find any custom Roms for your device.
I could find an stock Rom for the Mya-l41 trough.
That should be an update.app or an flashable zip.
You may get Huawei Update Extractor and extract the system.img and boot.img of the update.app
After that flash system.img and boot.img from fastboot.
Warning. This may soft brick your device.
Good luck.
If i helped press the Thanks button
Click to expand...
Click to collapse
i was able to flash the boot and recovery image, but i couldnt flash the system image
lbxda said:
i was able to flash the boot and recovery image, but i couldnt flash the system image
Click to expand...
Click to collapse
Does it show an error or anything?
Fastboot flash system system.img
ok, so i found what i thought was a stock rom for my device on some spanish forum and used sp flash tool to install it
problem is, sp flash tool formatted my phone, but encountered an error trying to install the firmware and now my phone wont boot and windows says its not recognised
is there any fix to this? or is my phone bricked?
hey again! i know this post has been a wild ride of me doing stupid stuff and bricking my phone, but i got the firmware back!
only catch is that i'm receiving some nvram error (which i got on my previous phone too. i swear this is the last time im going mediatek), so if anybody has a method that can fix this it'd be highly appreciated
thanks
Hi, Ibxda.
Can you please share with us where you found the stock rom, what went wrong with flashing, and how you managed to get the firmware back?
I have a running system, but I rooted it and cannot apply official upgrades. I'd like to go back, upgrade and root again. I would appreciate the info on your progress.
ifrag_svk said:
Hi, Ibxda.
Can you please share with us where you found the stock rom, what went wrong with flashing, and how you managed to get the firmware back?
I have a running system, but I rooted it and cannot apply official upgrades. I'd like to go back, upgrade and root again. I would appreciate the info on your progress.
Click to expand...
Click to collapse
You should root with Magisk, it's systemless and it should not affect updates. If you want to update you should flash stock recovery. After you updated you are free to flash Twrp again if you want. If you are rooted with SuperSU you should uninstall SuperSU and install Magisk

[How to] Decrypt data on P10 and other kirin devices (EMUI, OREO and PIE roms)

Well, first of all, this is not my work, I'm just sharing this guide that worked for me, it should work on any kirin device.
I have a P10 (VTR-L29C432), don't ask me if it works on X device, just try it for yourself as I did.
1) You need an unlocked bootloader and FRP
2) If you don't want to lose any data, backup your internal memory, because you'll need to do some wipes on stock recovery.
3) Reboot into TWRP and flash the "Huawei_remove_encyption_data_2.zip", here's the link: https://forum.xda-developers.com/mate-9/how-to/guide-how-to-decrypt-data-mate-9-hi3660-t3834748, you can use blackball's TWRP (p10 plus) or twrp from Honor 9 lite forum (both works on any emui and pie's rom, but you'll need and sdcard in order to flash the file)
4) After that, reboot into bootloader and flash your stock recovery and wipe data and cache
5) Reboot again into bootloader and flash again your favorite Twrp.
Some Twrps:
https://forum.xda-developers.com/showpost.php?p=77262856&postcount=166 P10 plus TWRP
https://forum.xda-developers.com/9-lite/development/recovery-twrp-3-2-1-0-t3789306 Honor 9 Lite TWRP
https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917 Honor View 10 TWRP
https://forum.xda-developers.com/p10-plus/development/recovery-twrp-3-2-1-0-oreo-t3734993 P10 plus TWRP (blackball)
https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 Themes for TWRP, download and flash as a normal zip.
If your device isn't hi3660 (kirin 960), you'll need to do it manually, first go to vendor/etc and look for a file called "fstab......" (you'll need to remember that name), go to the zip file that you previously downloaded and extract it, go to the folder vendor/etc and you'll see the fstab.hi3660 file, rename it with the name of your fstab and paste it into vendor/etc (if it ask for overwrite, hit the YES button), reboot and do the wipes on stock
If it was useful for you, go and say thanks / donate to @micky387 for their work and to the Devs that made possible the tools that we use. :highfive:
did it work on oreo 8.1 based roms ? (problem is with encrypted data partition)
yes, it works.
for me it wont work... TWRP stuck at TWRP screen
Edit
ok, i flashed recomended recovery from tutorial and now works
thanks
doktor29 said:
for me it wont work... TWRP stuck at TWRP screen
Edit
ok, i flashed recomended recovery from tutorial and now works
thanks
Click to expand...
Click to collapse
The p10plus recovery?
sfoot13 said:
The p10plus recovery?
Click to expand...
Click to collapse
nope, this dont work for me... it stuck on TWRP logo
i flash one from tutorial, twrp_recovery.img
in order to make any twrp working, first you need to reboot into fastboot and type fastboot -w, after that flash any twrp and follow the steps, I tried it with many recoveries, even with p10plus version.
Actually I'm using one from PRA forum, it works with custom roms
but internal memory is encrypted, but is not a problem for me.
i flash 3.1.1 twrp for oreo 8.0 based roms
this one see more partition to backup like others
@micky387 updated the files and the process, so I updated the thread all the credits to him
sfoot13 said:
Well, first of all, this is not my work, I'm just sharing this guide that worked for me, it should work on any kirin device.
I have a P10 (VTR-L29C432), don't ask me if it works on X device, just try it for yourself as I did.
1) You need an unlocked bootloader and FRP
2) If you don't want to lose any data, backup your internal memory, because you'll need to do some wipes on stock recovery.
3) Reboot into TWRP and flash the "Huawei_remove_encyption_data_2.zip", here's the link: https://forum.xda-developers.com/mate-9/how-to/guide-how-to-decrypt-data-mate-9-hi3660-t3834748, you can use blackball's TWRP (p10 plus) or twrp from Honor 9 lite forum (both works on any emui and pie's rom, but you'll need and sdcard in order to flash the file)
4) After that, reboot into bootloader and flash your stock recovery and wipe data and cache
5) Reboot again into bootloader and flash again your favorite Twrp.
Some Twrps:
https://forum.xda-developers.com/showpost.php?p=77262856&postcount=166 P10 plus TWRP
https://forum.xda-developers.com/9-lite/development/recovery-twrp-3-2-1-0-t3789306 Honor 9 Lite TWRP
https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917 Honor View 10 TWRP
https://forum.xda-developers.com/p10-plus/development/recovery-twrp-3-2-1-0-oreo-t3734993 P10 plus TWRP (blackball)
https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 Themes for TWRP, download and flash as a normal zip.
If your device isn't hi3660 (kirin 960), you'll need to do it manually, first go to vendor/etc and look for a file called "fstab......" (you'll need to remember that name), go to the zip file that you previously downloaded and extract it, go to the folder vendor/etc and you'll see the fstab.hi3660 file, rename it with the name of your fstab and paste it into vendor/etc (if it ask for overwrite, hit the YES button), reboot and do the wipes on stock
If it was useful for you, go and say thanks / donate to @micky387 for their work and to the Devs that made possible the tools that we use. :highfive:
Click to expand...
Click to collapse
Why would you need to unlock the data ?
haddadadam35 said:
Why would you need to unlock the data ?
Click to expand...
Click to collapse
why you quote the whole post?
That's annoying.
Do you know MP? Just asking because it's out of context. If you want to teach lessons, why do it on public instead of MP which is ethical.
And yes I'm doing the same mistake, but I hope to prevent many.
Will I be able to enrcypt my system on a ROM Basis afterwards? I want an encrypted device but I also want to be able to do backups in TWRP.
hansiohne said:
Will I be able to enrcypt my system on a ROM Basis afterwards? I want an encrypted device but I also want to be able to do backups in TWRP.
Click to expand...
Click to collapse
I experimented similarly on two P9 phones with Oreo, and was able to encrypt back by doing:
Install latest + Factory reset from eRecovery
Of course, before eRecovery, you must revert to stock Recovery (and stock eRecovery, Kernel if they were flashed over) and unroot (stock Ramdisk) - without you risk a brick
Edit: Also, while having decrypted Data and internal memory, successfully received an OTA patch (Huawei stopped updating but sent a smalll OTA patch to the existing firmware)
zgfg said:
I experimented similarly on two P9 phones with Oreo, and was able to encrypt back by doing:
Click to expand...
Click to collapse
But as I said I don't want to encrypt back because if I had no need to permanently decrypt (for TWRP backup reasons, I have berkeley and encryption doesn't work there on TWRP) I wouldn't do it. Instead, I want to decrypt and then do a normal device encryption in AICP. Or am I getting it wrong and it's the same type of encryption in the end?

How to Fix Anti Rollback

I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
rashmi0733 said:
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
Click to expand...
Click to collapse
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
Format phone viai TWRP, install any ROM you want!
head_djmusic said:
Format phone viai TWRP, install any ROM you want!
Click to expand...
Click to collapse
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
how to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
Click to expand...
Click to collapse
Hi rashmi0733, can u explain me how to install xiaomi.eu on Indian Mi 10
How to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
I flashed Mi 10 Indian with Xiaomi.eu Miui 12 beta. Now i want to back to Stock Miui 11 but when i use Mi Flash Tool Its give
'antirollback check error'. there is any way to back Miui 11 stock
Click to expand...
Click to collapse
How to install xiaomi.eu on Indian Mi 10
rashmi0733 said:
thank but i read some ware :if you have anti rollback protection than you should not install stock rom viai TWRP its hard brick your phone"
so i want to know you try this before and its 100% safe use TWRP
Click to expand...
Click to collapse
Hi.
Do it like this, install TWRP and then the operating system of your choice. There is also the question of how you could install the ROM without TWRP.
Hardbrick with TWRP, never, I don't think so.
I have now easily shot my device 20 times and put it on again and again, definitely shot 100 devices over 10,000 times over the years and never suffered a hard brick.
You can do it, otherwise the heroes will help you here. :highfive:
sudhakar.ksvn said:
Hi rashmi0733, can u explain me how to install xiaomi.eu on Indian Mi 10
Click to expand...
Click to collapse
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
rashmi0733 said:
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
Click to expand...
Click to collapse
Oh really nice!
Do you mind to share your solution?
I don't need it but it's the purpose of forum ....
Greetings
Failed to mount '/system_root'
rashmi0733 said:
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Click to expand...
Click to collapse
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
sudhakar.ksvn said:
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
Click to expand...
Click to collapse
i Used this TWRP
https://androidfilehost.com/?fid=4349826312261728614
https://gsmhostingfiles.com/index.php?a=downloads&b=file&id=14217
sudhakar.ksvn said:
thanks for ur reply, bur i am getting .....
Updater process ended with ERROR: 7
Failed to mount '/system_root' ( No such file or directory)
can u help me regarding this, what twrp version have u used
Click to expand...
Click to collapse
Hi,
this happens because your system partition is "broken".
If you go to "Wipe" and select "Format Data" there it will delete all partitions and the system of your device.
Then you start again in the TWRP and connect the device via USB to a PC or via OTG to a stick on which you have the operating system of your choice and drag it to your device.
Then select the ZIP / OS in the TWRP under "Install" and have it installed. It also creates the new partitions that he could not find with you.
I wish you success:fingers-crossed:
Ner0o1 said:
Hi,
this happens because your system partition is "broken".
If you go to "Wipe" and select "Format Data" there it will delete all partitions and the system of your device.
Then you start again in the TWRP and connect the device via USB to a PC or via OTG to a stick on which you have the operating system of your choice and drag it to your device.
Then select the ZIP / OS in the TWRP under "Install" and have it installed. It also creates the new partitions that he could not find with you.
I wish you success:fingers-crossed:
Click to expand...
Click to collapse
Don't think format data wipes the system partition does it?
Unless Xiaomi have really changed things, data should be completely separate. Format data should wipe the internal storage only which includes cache partition.
Twrp can wipe system, but shouldn't do unless specifically chosen to do so via several steps, not a single button press.
fards said:
Don't think format data wipes the system partition does it?
Unless Xiaomi have really changed things, data should be completely separate. Format data should wipe the internal storage only which includes cache partition.
Twrp can wipe system, but shouldn't do unless specifically chosen to do so via several steps, not a single button press.
Click to expand...
Click to collapse
no data format dont touch system
Yes, of course not the whole system partition, sorry.
From German into English is sometimes not that easy.?
In this case, TWRP will of course only delete the data as it stands there.
Otherwise everyone will find a step by step guide for almost every device a thousand times, thanks to you. So it should be also possible for everyone here.
Best regards and thank you two.:highfive:
rashmi0733 said:
Unlock Bootloader
flash TWRP
boot Twrp
format Data
copy rom on phone
install rom
reboot and enjoy new rom
Click to expand...
Click to collapse
Thanks for ur reply .. now i am able to successfully install the .eu ROM on my Indian Mi10
rashmi0733 said:
Thank For all suggestion i found one way to back stock Miui 11 without twrp
its working now i installed miui 11 and lock bootloader again.
Click to expand...
Click to collapse
Hello rashmi0733 I am also stuck in the same situation can you help me how u rolled back the beta update. Please help
Arif shaikh said:
Hello rashmi0733 I am also stuck in the same situation can you help me how u rolled back the beta update. Please help
Click to expand...
Click to collapse
I also want to go back to stable ROM
Its very simple to bypass the Anti rollback on miflash, just download the fastboot version of the ROM you want to install, unzip it and you'll have to edit this file (flash_all.bat), with for instance note++. And you remove 5 or 6 lines that does not begin by FASTBOOT. You can't miss it.
You can close and save.
Afterwards, just flash that same file that you just edited, and no more anti rollback error!
A second tip that I have when you just can't install custom firmwares on the mi 10, just flash stock firmware with miflash, reboot and flash TWRP. Transfer your custom firmware to your phone, flash it and ONLY format data afterwards! It was the only way to get a custom firmware on my mi10. It's my 5th xiaomi device and never experienced something like this...tried all TWRP available for the mi 10, but only by doing this way, I was able to succesfully install xiaomi.eu.
Good luck!

Categories

Resources