[Recovery][Root][02.05.2017] Huawei Mate 9 Pro * Unofficial TWRP for all LON models - Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D

Team Win Recovery Project 3 ver 3.0.3 RAYGLOBE​
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This has been tested and working great on LON-L29 international. It will work on all mate 9 pro devices, however I added a list of supported devices below which can be checked.
[COLOR="Red"]WARNING #1[/COLOR]: Unlocking BL and flashing a custom recovery voids your warranty. Please make sure to contact your carrier/seller if your phone is still under warranty after unlocking the bootloader.
[COLOR="red"]WARNING #2:[/COLOR] Make sure you have enabled OEM unlock and unlocked bootloader before trying to flash this. How you can successful root and install TWRP will be described below.
[COLOR="red"]WARNING #3:[/COLOR] Nougat introduce dm-verity v2.0 so before modify /system make a backup of partition and flash root (see above).
[COLOR="red"]WARNING #4:[/COLOR] Don't make factory reset inside TWRP on Huawei device.
[SIZE="3"]
[SIZE="3"]
WHAT IS TWRP?[/SIZE]
TWRP, short for Team Win Recovery Project, is an open-source recovery image for Android-based devices. It provides a touch-enabled interface which allows users to install third-party firmware and backup the current system, which are often unsupported by stock recoveries.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
[SIZE="5"]HOW-TO INSTALL[/SIZE]
0. Make sure you enabled OEM unlock in settings, if you haven't please do that now by tipping 10 times on build number (to activate developer options), than open developer options and go to OEM unlock, enable it
1. Have an unlocked bootloader is required!
2. Download the TWRP recovery from the download section below
3. Make sure you got fastboot drivers installed (I will describe this below in how to unlock your bootloader)
4. Open the adb/fastboot application on your pc and go to the directory where your TWRP img file is downloaded
5. Boot your phone into download mode (First method: fastboot reboot-bootloader while connected to pc. Second method: power off your phone, hit power on and volume down until it boots to download mode)
6. Check again if there is written: UNLOCKED phone! and frp UNLOCKED
7. If yes type now into your adb/fastboot terminal: fastboot flash recovery Rayglobe_Recovery.img
8. Type: fastboot reboot
9. Now boot into recovery by pressing: power+volume up+volume down at the same time
10. Enjoy twrp
[SIZE="4"]HOW-TO UNLOCK BOOTLOADER[/SIZE]
1. Call Huawei in the HiCare app, request the bootloader unlock code there or Buy credit on dc-unlocker software
2. Install minimal adb and fastboot drivers from here: [URL="http://forum.xda-developers.com/showthread.php?t=2317790"]ADB and Fastboot drivers[/URL]
3. Plug in your phone and make sure all huawei drivers got installed
4. Enable developer options in settings as described above.
5. Enable OEM unlock, enable USB debugging (both in developer options)
6. Open the adb tool you installed recently
7. Type fastboot devices (now a device number should show up)
8. Type fastboot reboot-bootloader (your phone will now boot into bootloader, if not, you haven't set up drivers or adb/fastboot correctly)
9. [COLOR="Red"]This step will wipe all your data![/COLOR] Type: fastboot oem unlock xxxxxxxxxxxxxxxx (xx is for your unlock code)
10. Ones it's done type: fastboot reboot. Your phone will reboot and you have an unlocked bootloader!
11. You can now go on installing TWRP on your device
[SIZE="4"]
HOW-TO ROOT YOUR MATE 9 PRO[/SIZE]
0. Backup, just in case
1. Have an unlocked bootloader and TWRP installed from above
2. We will use this root method: [URL="http://forum.xda-developers.com/android/software-hacking/wip-selinux-capable-superuser-t3216394"]Phh's superuser[/URL]
3. Download only this zip (i adapted for mate 9) [URL="https://www.androidfilehost.com/?fid=529152257862699355"] superuser zip [/URL]
4. Put the zip on your otg-usb (since we can't access /data in twrp)
5. Boot into twrp and flash the downloaded file
6. Install latest Material phh apk: [URL="http://forum.xda-developers.com/showpost.php?p=69224582&postcount=1896"]Release post[/URL]
7. Now you are rooted, congrats!
[SIZE="4"]FEATURES[/SIZE]
Built in android 7.1 tree
Support .sh script so you can install phh root without problems
Latest stock kernel included
f2fs file system support (read, write, format, backup & restore)
exFAT file system support (read, write, format, backup & restore)
Full SELinux support
[COLOR="Red"]KNOWN ISSUES[/COLOR]
Encryption is not supported yet! I hope that @paulobrien can share his sources as soon as possible
We can't save twrp settings
Factory reset delete data/hw_init directory so make backup if you want themes and original apps
Aroma is broken, seems on all other Huawei phones
[SIZE="4"]SUPPORTED DEVICES[/SIZE]
LON-L29
LON-AL00
[SIZE="5"]
DOWNLOAD[/SIZE]
[URL="https://www.androidfilehost.com/?fid=457095661767133388"] TWRP IMAGE FILE[/URL] ---> FLAT VER
[URL="https://www.androidfilehost.com/?fid=457095661767133388"] TWRP IMAGE FILE[/URL] ---> THEMED VER
Last ver
v3.0.3 -1.0.7.
[HIDE]
[img]http://i.imgur.com/iWqWAnYh.png
[/HIDE]
XDA:DevDB Information
[Recovery][Root][02.05.2017] Huawei Mate 9 Pro * Unofficial TWRP for all LON models , Tool/Utility for the Huawei Mate 9
Contributors
raimondomartire, Tkkg1994, LastStandingDroid
Source Code: https://github.com/Tkkg1994/android_device_generic_a15
Version Information
Status: Stable
Created 2017-01-29
Last Updated 2017-02-05

FAQ
Q. HOW TO ROOT?
A. https://forum.xda-developers.com/showpost.php?p=70867589&postcount=101

Great work as usual bro,thanks for your time and job :good:

raimondomartire said:
Factory reset delete data/hw_init directory so make backup if you want themes and original apps
Click to expand...
Click to collapse
Just my 2 cents. When you did factory reset / wipe data from TWRP, phone will not boot anymore.
TWRP clears whole data partition
But Huawei links additional things (hw_init, custom.bin and etc...) to /data partition, which stock recovery does not clear.
So advice: Never do wipe data / factory reset from TWRP

5[Strogino] said:
Just my 2 cents. When you did factory reset / wipe data from TWRP, phone will not boot anymore.
TWRP clears whole data partition
But Huawei links additional things (hw_init, custom.bin and etc...) to /data partition, which stock recovery does not clear.
So advice: Never do wipe data / factory reset from TWRP
Click to expand...
Click to collapse
Yes mate agree with you I put a script to avoid this. I don't know if really work. A lot of mods in twrp 3.0.3 that i must test

raimondomartire said:
Yes mate agree with you I put a script to avoid this. I don't know if really work. A lot of mods in twrp 3.0.3 that i must test
Click to expand...
Click to collapse
Need find way install official Roms (ota or full) via twrp without errors. Unfortunately, without kernel sources it will be very hard.

5[Strogino] said:
Need find way install official Roms (ota or full) via twrp without errors. Unfortunately, without kernel sources it will be very hard.
Click to expand...
Click to collapse
Yes we must ask Huawei respect GPL or use xda developers power for it

some user write me in PM that recovery work good also on mate 9 (flat version).
I removed sdcard from .fstab files for mate pro 9 users (we don't have sdcard) so you must use otg usb

raimondomartire said:
some user write me in PM that recovery work good also on mate 9 (flat version).
I removed sdcard from .fstab files for mate pro 9 users (we don't have sdcard) so you must use otg usb
Click to expand...
Click to collapse
And what's difference with Tkkg1994's build for Mate 9 users?

5[Strogino] said:
And what's difference with Tkkg1994's build for Mate 9 users?
Click to expand...
Click to collapse
Good question, but before do you read first post?
In short:
- with my recovery you can flash phh root without problem and use old .sh script
- have .sh script that make a factory reset. On huawei factory reset must be avoid
- have right partition for mate 9 pro
- have right kernel
- have right script to manage brightness inside recovery
:good:

Update first post with zip file to hack dm verity with root

raimondomartire said:
Good question, but before do you read first post?
In short:
- with my recovery you can flash phh root without problem and use old .sh script
- have .sh script that make a factory reset. On huawei factory reset must be avoid
- have right partition for mate 9 pro
- have right kernel
- have right script to manage brightness inside recovery
Click to expand...
Click to collapse
Yep, i've read)
My question is about support Mate 9 users (not Pro)...
It links to "some user write me in PM that recovery work good also on mate 9 (flat version)."
In general, it is safer to use Tkkg1994's build cause it has right kernel
But if you're added some extra features, may be it's better to share them with Tkkg1994 ?

5[Strogino] said:
Yep, i've read)
My question is about support Mate 9 users (not Pro)...
It links to "some user write me in PM that recovery work good also on mate 9 (flat version)."
In general, it is safer to use Tkkg1994's build cause it has right kernel
But if you're added some extra features, may be it's better to share them with Tkkg1994 ?
Click to expand...
Click to collapse
For this reason I avoid to put sdcard line to avoid to disturb Tkkg1994's work. I'm on telegram group with him and other friends. I'm waiting that Paulobrien release decrypt sources to update my github. In this way everyone that contribute to this :good:

raimondomartire said:
Update first post with zip file to hack dm verity with root
Click to expand...
Click to collapse
Congratulations)
Btw, i recommend to delete string in script (changes.sh) that changes RO to RW on all secured partitions by default (system, cust, vendor and etc...)
It would be better if user will mount system partition by button or anything else...
I can modify every partition which is without tag "verify" - tested and approved)
And there is one string in fstab.hi3660
Code:
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inline_data,inline_xattr wait,check,fileencryptioninline
Code from changes.sh does not know about "fileencryptioninline".
Probably, if add in changes.sh code that will remove this tag, so /data partition will not be encrypted. But i did not test yet.

5[Strogino] said:
Congratulations)
Btw, i recommend to delete string in script (changes.sh) that changes RO to RW on all secured partitions by default (system, cust, vendor and etc...)
It would be better if user will mount system partition by button or anything else...
I can modify every partition which is without tag "verify" - tested and approved)
And there is one string in fstab.hi3660
Code:
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,inline_data,inline_xattr wait,check,fileencryptioninline
Code from changes.sh does not know about "fileencryptioninline".
Probably, if add in changes.sh code that will remove this tag, so /data partition will not be encrypted. But i did not test yet.
Click to expand...
Click to collapse
I agree with you. In boot.img i can confirm you that without tag "verify" you can modify everythings Please if update here if you modify changes.sh. Thanks for your feedback

Excuse me if this is a dumb question: It seems that there have been successes using the other TWRP for mate 9 (the other thread in this forum) for mate 9 pro version already, so what's has been improved here?
One thing missing from the other TWRP is the ability to write to system partition hence half of the root apps are non functioning, eg. busy box, ad away, ... Does this one fixed the problem?

offall said:
Excuse me if this is a dumb question: It seems that there have been successes using the other TWRP for mate 9 (the other thread in this forum) for mate 9 pro version already, so what's has been improved here?
One thing missing from the other TWRP is the ability to write to system partition hence half of the root apps are non functioning, eg. busy box, ad away, ... Does this one fixed the problem?
Click to expand...
Click to collapse
Yes, already post this answer before. Yes my twrp work for this. here a tes ver. for mate 9. Flash my zip ver. in first thread for root
https://www.androidfilehost.com/user/?w=settings-dev-files&flid=149142

Tried the link but have to have an account to access it. Also to clarify are you saying that by flashing your test version of twrp and your root method that we can have a writable system? If so that's great
Sent from my MHA-L09 using XDA-Developers Legacy app

New backup/restore structure partitions (more stable)
https://www.androidfilehost.com/?fid=673368273298928161

raimondomartire said:
New backup/restore structure partitions (more stable)
https://www.androidfilehost.com/?fid=673368273298928161
Click to expand...
Click to collapse
Dear Ray, a beer: Confirmation number: 71T12250HF2138003 to thank you for your fantastic job, done in the pure spirit of XDA.
And now, if you're going to keep the phone at least 2-.3 months, we'll be waiting finally for a custom ROM if possible, or at least for a stock ROM flashable using TWRP, avoiding new absurd "taxes" to update...

Related

[Recovery] Official TWRP for the ZTE Axon 7

Team Win Recovery Project 3.1.1-0
This is for the A2017, A2017U, and A2017G.
WARNING: The ZTE Axon 7 stock boot image has dm-verity, which prevents you from booting if you swipe to enable system modifications!
SOLUTION: Follow the full rooting steps below in order to allow system modifications without the risk of a boot loop!
WHAT IS TWRP?
Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
Read more about TWRP here: https://twrp.me/about/
DOWNLOAD
You can find the device page here:
http://teamw.in/devices/zteaxon7.html
There is a download link there, as well as instructions on how to flash it.
You can find up to date fastboot & adb binaries here!
UNLOCKING YOUR BOOTLOADER
WARNING: Unlocking your bootloader will erase all userdata on the device! Your device will be completely reset to factory defaults!
A2017U or A2017 users can simply unlock from EDL mode using MiFlash here.
I do not have a method for A2017G, there may be other threads on XDA to guide you through the process.
FULL STEPS FOR OBTAINING ROOT
Follow these instructions until someone nice comes along and makes a video from them (without ads):
Unlock your bootloader! See above!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download TWRP for the ZTE Axon 7.
Reboot your device into fastboot mode. To do this, select reboot from the power menu and hold the [Volume Up] button while your device reboots or boots from power off.
Once you're in fastboot with your bootloader unlocked, you're ready to flash TWRP. To do this, run the command (replacing twrp.img with the actual image name):
fastboot flash recovery twrp.img
Once the image is flashed, you should use your volume keys to navigate to RECOVERY and the press the power key to select it.
At this point, you will reach the screen asking you if you want to allow system modifications.
By swiping right, you will trigger dm-verity, and if you don't follow the next step you will be unable to boot!
If you are going to root your device and follow the rest of these steps, then it is safe to swipe right and enable modifications.
If you want to be rooted with SuperSU:
Download the latest SuperSU stable by Chainfire.
Without exiting TWRP, transfer the SuperSU zip to your device over MTP* and flash it using [Install] in TWRP.
---or (not both) ---
If you want to be rooted with Magisk:
Download the latest Magisk stable by topjohnwu.
Without exiting TWRP, transfer the Magisk zip to your device over MTP* and flash it using [Install] in TWRP.
---or (not both) ---
If you want to be rooted with something else or just want a bootable system:
Download the latest dm-verity and forced encryption disabler zip.
Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP.
This will also allow you to use [Format Data] to completely disable your encryption if desired.
Go to [Reboot] -> [System].
Wait 2-5 minutes for your device to finish setting itself up. (SuperSU will reboot you a few times)
* MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.
UPDATING TWRP
To update TWRP, simply download the new twrp.img on your phone, then boot into your current TWRP and flash it.
To flash a twrp.img, navigate to [Install] -> [Flash Image] -> select your twrp.img -> [x] Recovery -> Flash!
After that, just use [Reboot] -> [Recovery] to reboot into the updated TWRP.
CHANGES
v3.1.1-0 (twrp.me) - See release details here!
v3.1.0-0 (twrp.me) - See release details here!
v3.0.4-1 (build.nethunter.com) - Fix crash on selecting reboot with an empty data partition, add Data backup warnings
v3.0.4-0 (build.nethunter.com) - Capability restoration for Nougat, F2FS backport support, EXT4 decryption support
v3.0.3-1 (twrp.me) - Use crypto libraries from ROM (Nougat support). Fix USB OTG and Fast Charging. Reduce boot times.
v3.0.3-0 (twrp.me) - Renamed to ailsa_ii, Persist merged with EFS, Modem no longer mounted, Backup/Restore/Flash Bluetooth/System Image added. LA.HB.1.3.1.c1-19500-8x96.0 + Linux 3.18.45.
v3.0.2-0 (twrp.me) - Initial release.
FEATURES
MTP support
USB OTG storage support
Legacy USB Mass Storage mode support - use your phone like an SDCard reader or flash drive!
Hardware Qualcomm-based full-disk encryption support
f2fs file system support (read, write, format, backup & restore)
exFAT file system support (read, write, format)
NTFS file system support (read, write, format)
ADB root
Full SELinux support
Built in android 6.0 tree
Allows ZTE full OTA flashing (only for A2017U firmware)
KNOWN ISSUES
F2FS takes a long time to boot, see below.
WHY DOES F2FS MAKE TWRP SO SLOW?
When TWRP boots up or wipes partitions and a few other scenarios, it checks each partition to see how much disk space is used. Ext4 handles disk usage calls quite efficiently and will finish this very fast. F2FS on the other hand is very slow when it comes to checking disk usage. We're unsure why this is. Every file on the F2FS formatted partition adds a little more time, and a device that is 30 GB full could take up to 10 minutes to boot TWRP!
I suggest switching your data partition to ext4 - all the f2fs hype is merely from benchmarks that don't actually represent real world use (ie. you're not writing thousands of files per second)
For someone who doesn't do lots of write access to their data partition, ext4 can actually be advantageous (it has faster access times and reads!)
HOW DO I GET LOGS SO WHEN I COMPLAIN I'M NOT COMPLETELY IGNORED OR SHAMED BY OTHER USERS?
To get logs while in TWRP, you should connect your device to your PC and use adb.
adb pull /tmp/recovery.log
adb exec-out dmesg > dmesg.log
This will create 2 files in the directory your shell is currently in, recovery.log and dmesg.log. You will need to upload these somewhere such as a pastebin or Google Drive. You can also attach it to your XDA post (recommended!)
If you are having an operating system boot issue, you should gather a ramoops log instead. Do this while in TWRP after the failed boot:
adb exec-out "tar c /sys/fs/pstore 2>/dev/null" > pstore.tar
CONTACT & SUPPORT
You can find us on IRC at #twrp on chat.freenode.net.
You can also post in this thread and I will attempt to answer any questions you may have.
SOURCE CODE
TWRP: https://github.com/omnirom/android_bootable_recovery (android-7.1)
Device tree: https://github.com/TeamWin/android_device_zte_ailsa_ii (android-6.0)
Kernel: https://github.com/jcadduono/android_kernel_oneplus_msm8996 (twrp-6.0)
CONTRIBUTIONS
Gerrit for TWRP: http://gerrit.omnirom.org/
Gerrit for officially supported devices: http://gerrit.twrp.me/
XDA:DevDB Information
Team Win Recovery Project for the ZTE Axon 7, Tool/Utility for the ZTE Axon 7
Contributors
jcadduono, Team Win
Source Code: https://github.com/TeamWin/android_device_zte_ailsa_ii
Version Information
Status: Stable
Current Stable Version: 3.0.4-1
Stable Release Date: 2017-02-08
Created 2016-12-09
Last Updated 2017-11-25
Link does not work is there a typo?
lokissmile said:
Link does not work is there a typo?
Click to expand...
Click to collapse
Nope, bigbiff is just taking long time to hit the go button on jenkins to build the device and rebuild twrp.me lol
I think he fell asleep
You can use this for now: https://build.nethunter.com/test-builds/twrp/zte/twrp-3.0.2-0-a2017u.img
Downloaded and installed although not sure how this differs from the one in the unlock thread. Made a backup everything seems OK. Thanks!
lafester said:
Downloaded and installed although not sure how this differs from the one in the unlock thread. Made a backup everything seems OK. Thanks!
Click to expand...
Click to collapse
It shouldn't be any different, or any differences there are should be minimal.
One (and maybe only) notable difference might be that it uses ZTE's USB configuration rather than Google's.
It also supports legacy mass storage. (accessing sdcard like a flash drive, instead of MTP)
I should also add that it's pretty much 1/3 of the size too lol.
UnjustifiedDev's unofficial TWRP is 3.0.2-2. I recall people were having issues with restoring some partitions (mostly EFS), so he backported the bugfix from the 7.0 TWRP code, which seemed to have fixed the issues. Does this official build include that bugfix?
Is there any technical reason why this version shouldn't be installed on A2017G?
xtermmin said:
UnjustifiedDev's unofficial TWRP is 3.0.2-2. I recall people were having issues with restoring some partitions (mostly EFS), so he backported the bugfix from the 7.0 TWRP code, which seemed to have fixed the issues. Does this official build include that bugfix?
Click to expand...
Click to collapse
That bug was fixed in September on the 6.0 branch.
_phk_ said:
Is there any technical reason why this version shouldn't be installed on A2017G?
Click to expand...
Click to collapse
I don't have any technical reason, just from what I've read it won't boot. You can try it, let me know what happens. Actually please do, because if it does boot it would be quite pleasing and I'd end up unifying them.
Is this TWRP using the stock B29 kernel or your custom Kernel?
I was building my own TWRP for the Axon-7 the other day. Mainly to include more partitions for backup purpose while working on CM and back to stock. (Especially persist).
As far as I saw the CM rom messes with persist (creates folders and files in persist).
Should ZTE release Android 7.0 in January I want to be able to go back using the backup created of B29 and simply run the OTA.
If CM messes with persist and one goes back to B29 to upgrade to Android 7. The OTA partitions check before upgrade will probably fail with checksum errors. And the upgrade will fail.
One would have to go all the way back to factory B20 then =>B27 =>B29=>Android 7.
Correct me if I'm wrong.
But shouldn't we include at least those partitions that CM touches in TWRP for proper restore possibilities? And future upgrades of Stock?
celoxocis said:
...If CM messes with persist and one goes back to B29 to upgrade to Android 7. The OTA partitions check before upgrade will probably fail with checksum errors. And the upgrade will fail...
Click to expand...
Click to collapse
So far, none of the OTAs (at least for the US model) have done a check of persist, but who knows if they will for Nougat.
celoxocis said:
Is this TWRP using the stock B29 kernel or your custom Kernel?
I was building my own TWRP for the Axon-7 the other day. Mainly to include more partitions for backup purpose while working on CM and back to stock. (Especially persist).
As far as I saw the CM rom messes with persist (creates folders and files in persist).
Should ZTE release Android 7.0 in January I want to be able to go back using the backup created of B29 and simply run the OTA.
If CM messes with persist and one goes back to B29 to upgrade to Android 7. The OTA partitions check before upgrade will probably fail with checksum errors. And the upgrade will fail.
One would have to go all the way back to factory B20 then =>B27 =>B29=>Android 7.
Correct me if I'm wrong.
But shouldn't we include at least those partitions that CM touches in TWRP for proper restore possibilities? And future upgrades of Stock?
Click to expand...
Click to collapse
It uses a custom very minimal kernel configuration with modifications to make it more compatible with TWRP.
Why does modification of persist matter? Persist can't affect OTAs as it's meant to be modified, it's only a firmware/calibration cache.
If it ever had an issue you could simply type:
make_ext4fs /dev/block/bootdevice/by-name/persist
CM should not modify any partitions that are meant to be static.
The only partitions that will need to be fixed to take OTAs should be: boot, system, recovery, modem (NON-HLOS.bin)
The only reason modem needs to be fixed is because it's used in TWRP and I can't enable both backup and read-only at the same time.
Update: I'll just make two entries, backup/restore for raw modem emmc, and read-only mount for decrypt. (should be safe to do this with mounttodecrypt unmounting it)
xtermmin said:
So far, none of the OTAs (at least for the US model) have done a check of persist, but who knows if they will for Nougat.
Click to expand...
Click to collapse
They will not. There is no logical reason to check a partition that is designed to be modified.
In fact, I'll add Persist (calibration data) to the Wipe page!
jcadduono said:
It uses a custom very minimal kernel configuration with modifications to make it more compatible with TWRP.
Why does modification of persist matter? Persist can't affect OTAs as it's meant to be modified, it's only a firmware/calibration cache.
If it ever had an issue you could simply type:
make_ext4fs /dev/block/bootdevice/by-name/persist
Click to expand...
Click to collapse
Thanks for the clarification. I just remember when I was dirty flashing CM13 months ago when doing one of my devices bring-up. TWRP would complain with error 7 (I think?).
When I run a diff of the partitions it touched (I checked all init.rc's) I found the difference in persist. Reverting back the persist with DD (I always do a DD backup of my untouched devices, on all partitions before messing with them and store them on my NAS). The dirty flash went fine. Ever since that I include persist in my TWRP's.
I don't mind not having it in TWRP. I can bake my own anytime
celoxocis said:
Thanks for the clarification. I just remember when I was dirty flashing CM13 months ago when doing one of my devices bring-up. TWRP would complain with error 7 (I think?).
When I run a diff of the partitions it touched (I checked all init.rc's) I found the difference in persist. Reverting back the persist with DD (I always do a DD backup of my untouched devices, on all partitions before messing with them and store them on my NAS). The dirty flash went fine. Ever since that I include persist in my TWRP's.
I don't mind not having it in TWRP. I can bake my own anytime
Click to expand...
Click to collapse
I just replaced the -0 version, new one has modem read only and persist shows up in wipe page as "Persist (calibration data)" so people know what they're wiping.
There's a lot of partitions that seem scary and screw up your device when they're corrupt but you can just either format them (in the case of persist) or dd zeros to them (in the case of misc, modemst1, modemst2, efsg, and efsc) and the OS/firmware will regenerate everything on boot like you just took it out of the box.
any reason to flash this version of TWRP over the one UnjustifiedDev's made?? I can just flash the twrp.img file right?
celoxocis said:
Is this TWRP using the stock B29 kernel or your custom Kernel?
I was building my own TWRP for the Axon-7 the other day. Mainly to include more partitions for backup purpose while working on CM and back to stock. (Especially persist).
As far as I saw the CM rom messes with persist (creates folders and files in persist).
Should ZTE release Android 7.0 in January I want to be able to go back using the backup created of B29 and simply run the OTA.
If CM messes with persist and one goes back to B29 to upgrade to Android 7. The OTA partitions check before upgrade will probably fail with checksum errors. And the upgrade will fail.
One would have to go all the way back to factory B20 then =>B27 =>B29=>Android 7.
Correct me if I'm wrong.
But shouldn't we include at least those partitions that CM touches in TWRP for proper restore possibilities? And future upgrades of Stock?
Click to expand...
Click to collapse
I was under the impression that you couldn't install OTAb updates with an unlocked bootloader anyway. Is this not true?
abdi7451 said:
I was under the impression that you couldn't install OTAb updates with an unlocked bootloader anyway. Is this not true?
Click to expand...
Click to collapse
Bootloader status hasn't been checked by the OTAs so far (on the US model anyway). I've been able to go from a bootloader unlocked B20 -> official B27 OTA -> TWRP+CM13 -> Restore my B27 backup in TWRP + reflash stock recovery -> official B29 OTA -> reflash TWRP+CM13. As long as you are completely stock besides the bootloader, you can apply OTAs fine. (you can check the updater script in the OTA files for specifics on what it checks and what it patches)
xtermmin said:
Bootloader status hasn't been checked by the OTAs so far (on the US model anyway). I've been able to go from a bootloader unlocked B20 -> official B27 OTA -> TWRP+CM13 -> Restore my B27 backup in TWRP + reflash stock recovery -> official B29 OTA -> reflash TWRP+CM13. As long as you are completely stock besides the bootloader, you can apply OTAs fine. (you can check the updater script in the OTA files for specifics on what it checks and what it patches)
Click to expand...
Click to collapse
I am rooted and unlocked bootloader. How do apply the stock recovery in order to receive OTA updates?
Just wanna clarify this... B20 bootloader allows the fastboot OEM unlock command, and once you're unlocked, you can flash any bootloader you want. Flashing B29 bootloader does not lock you, once unlocked, always unlocked. Unless you relock it yourself. You can even go older than B20 bootloader. Feel free to play around with BL versions. I like B20 because no stupid 5 second warning thing.
If I already have the unofficial version for TWRP should I install this one over it or is it really the same thing?
@jcadduono, I think most people would find it helpful if you could list what's different between the now official version and @Unjustified Dev's version, as I know they've been developed semi in parallel.

[BETA][DUK] TWRP 3.1.1-1 [+ROOT]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is only for Honor 8 Pro (DUK)
Code:
OpenKirin presents unofficial TWRP for stock EMUI 5.x.
Intended for usage on stock emui 5.x in combination with unlocked bootloader .
Installation Instructions
Code:
1. Enter fastboot mode on unlocked device
2. flash recovery using the following command: fastboot flash recovery twrp-3.1.1-1-duk.img
3. reboot to recovery!
Rooting Methods
Code:
[B][U]1. Official PHH Superuser Beta 310[/U][/B]
1. download and flash [URL="http://superuser.phh.me/superuser-r310-beta.zip"]official PHH Superuser Beta 310[/URL]
2. install "Phh Superuser" from Google Play
3. Enjoy!
Downloads
Code:
[LIST]
[URL="https://github.com/OpenKirin/android_device_honor_duk/releases/download/3.1.1-1/twrp-3.1.1-1-duk.img"][U]download twrp-3.1.1-1-duk.img[/U][/URL]
[/LIST]
FAQ
Code:
Q: What's the code status?
A: 25. June 2017
Q: which H8 Pro models are supported?
A: every model should be supported.
Q: Can i use this TWRP with decrypted /data?
A: Yes you can! (Check FAQ)
Q: Can i install Magisk?
A: No (encrypted /data), Yes (decrypted /data)
Q: Does official SuperSU work?
A: No (encrypted /data), Yes (decrypted /data)
Q: ETAs?
A: No.
Going back from decrypted -> encrypted?
Code:
1. Format /data inside of TWRP
2. Flash eRecovery & Kernel from your currently installed Stock ROM Build
3. Do a factory reset inside of eRecovery
5. Let device boot up
6. Install your current firmware hw_data package & SuperSU using TWRP again
Want to decrypt? No problem.
Code:
1. Format /data inside of TWRP
2. Flash a kernel with fileencryption disabled in fstab
3. bootup your device
Special Thanks
Code:
* [URL="https://forum.xda-developers.com/member.php?u=2335078"]surdu_petru[/URL]
* [URL="https://forum.xda-developers.com/member.php?u=7354786"]XePeleato[/URL]
XDA:DevDB Information
TWRP, Tool/Utility for the Honor 8 Pro
Contributors
OldDroid, surdu_petru, XePeleato
Source Code: https://github.com/OpenKirin/android_device_honor_duk
Version Information
Status: Beta
Created 2017-06-23
Last Updated 2017-06-25
Reserved
Changelog
Code:
[B]TWRP 3.1.1-1[/B]
* fix twrp on emmc based devices
Man that was fast. Will definitely flash this after I get my H8 Pro.
Sent from my Honor 8 using XDA Labs
Hello,
I tested the package, unfortunately after the flash and first boot impossible to return under android.
If I remember correctly there was a problem of mount point.
To get out I had to flasher the recovery and system partitions of the original rom.
Having to reset my phone I have no log, but if you need anything else do not hesitate.
@ +
Via google translate
blattes86 said:
Hello,
I tested the package, unfortunately after the flash and first boot impossible to return under android.
If I remember correctly there was a problem of mount point.
To get out I had to flasher the recovery and system partitions of the original rom.
Having to reset my phone I have no log, but if you need anything else do not hesitate.
@ +
Via google translate
Click to expand...
Click to collapse
this should work for every h8 pro utilizing emmc storage:
https://drive.google.com/open?id=0BxWP2gF_0Bd_OHBPWDctZmJCanc
It has been tested.
Regards
Can we use Magisk instead? Or the loop issue back in Honor 8 is also here?
OldDroid said:
this should work for every h8 pro utilizing emmc storage:
It has been tested.
Regards
Click to expand...
Click to collapse
I flashed it, it works fine.
Thanks
adriansticoid said:
Can we use Magisk instead? Or the loop issue back in Honor 8 is also here?
Click to expand...
Click to collapse
Magisk 13 works fine.
Just flashed the Magist beta and installed the Magisch Manager 5.
-=MoRpH=- said:
Magisk 13 works fine.
Just flashed the Magist beta and installed the Magisch Manager 5.
Click to expand...
Click to collapse
That's great news. Thanks for confirming. :highfive:
Sent from my Honor 8 using XDA Labs
I flashed emmc version and supersu. For going in twrp I've to clic in the middle of the volume button and the power on.
Interesting, i tried to install it but i'm stuck with installion...i know how to enter fastboot mode with phone plugged to my computer with android sdk on, but the adb files look to be missing when i check with cmd...
Can anyone here give a quick tutorial ? Thanks
New Version (3.1.1-1) available - You can find more infos in OP.
This release fixes partition mounting on emmc 5.1 based devices
Source code is now also up and can be built!
https://github.com/OpenKirin/android_device_honor_duk
Regards
Wow that was faster than I could learn to do it.
Great job. May I ask how you got the important informations to build this?
Did you inject su into the image to gain root and then read all the detailed data through terminal or adb or root file explorer?
Just asking cause i train my brain more and more in my spare time and want to get behind the knowledge base to learn. :good:
First of all thank you for your work, I got the Recovery, root, Magisk, etc. running.
I have 2 Questions:
1. the internal storage when I boot to the recovery looks like enrypted (lots of random named folders). Is it possible to decrypt it for now, since there is currently no custom kernel available?
2. Can I flash the Firmware update to 130b in TWRP? If yes, wich package do I need to choose?
Cheers
Would this work on the Chinese V9 variant?
smouker said:
First of all thank you for your work, I got the Recovery, root, Magisk, etc. running.
I have 2 Questions:
1. the internal storage when I boot to the recovery looks like enrypted (lots of random named folders). Is it possible to decrypt it for now, since there is currently no custom kernel available?
2. Can I flash the Firmware update to 130b in TWRP? If yes, wich package do IP need to choose?
Cheers
Click to expand...
Click to collapse
Format the whole internal storage to remove encryption.
adriansticoid said:
Format the whole internal storage to remove encryption.
Click to expand...
Click to collapse
can I restore Data via TWRP without problems?
adriansticoid said:
Format the whole internal storage to remove encryption.
Click to expand...
Click to collapse
After testing, formatting the whole internal storage does not work.
To restart the partition is new encrypt
smouker said:
can I restore Data via TWRP without problems?
Click to expand...
Click to collapse
Yes it should work. Just make sure that both backup and restore destinations are either both encrypted or both decrypted.
blattes86 said:
After testing, formatting the whole internal storage does not work.
To restart the partition is new encrypt
Click to expand...
Click to collapse
What do you mean to restart the partition is new encrypt?
adriansticoid said:
Yes it should work. Just make sure that both backup and restore destinations are either both encrypted or both decrypted.
What do you mean to restart the partition is new encrypt?
Click to expand...
Click to collapse
sorry for my bad english.
After restart the phone...

[RECOVERY][OFFICIAL] TWRP for Galaxy S9 and S9+ (Exynos)

Team Win Recovery Project
Exynos variants such as International (F), International Dual(Hybrid)-SIM (F/DS), Korean (N) ONLY.
In NO way it is compatible with Snapdragon variants including but not limited to American(U/U1/A/T/P/V), Chinese(0/8/6), Hong Kong(0), Japanese(SC-*), Canadian(W) variants.
#include <std_disclaimer.h>
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Special Notes:
1. READ THE GUIDE.
2. KNOX will be tripped once you flashed custom binaries to your phone.
(Your warranty may be voided. However, this may not affect you if your country, European Union, for example, forces Samsung to provide hardware warranty regardless of software status.)
More Infos: https://en.m.wikipedia.org/wiki/Rooting_the_Android_operating_system
3. Samsung Firmware OTA (aka System Updates) will no longer work once you flashed custom binaries.
(You can flash custom ROMs if you want to keep the OS up-to-date.)
4. It is HIGHLY UNRECOMMENDED to purchase any access to any kind of private forums, ROMs or Kernels.
(DO NOT GET FOOLED.)
5. You HAVE to use newer version of Odin (>3.13) if you want to flash stock ROMs.
Download:
Galaxy S9:
https://twrp.me/samsung/samsunggalaxys9.html
Galaxy S9+:
https://twrp.me/samsung/samsunggalaxys9plus.html
Sources:
https://github.com/TeamWin
Changelog:
Check #2.
Guide:
Check #3.
Official Telegram Group: - Discussion, Testing, Feedback and Support
Invite Link
Show your appreciation:
Click Thanks!, Rate 5-star or/and Donate to me.
To contribute:
TWRP Code Review
Github pull requests will be ignored.
XDA:DevDB Information
TWRP for Galaxy S9 and S9+, Tool/Utility for the Samsung Galaxy S9+
Contributors
jesec
Source Code: https://github.com/TeamWin
Version Information
Status: Stable
Created 2018-03-15
Last Updated 2018-08-15
Changelog:
Note that this page only includes device-specific changes. For global TWRP changes, go to twrp.me.
Apr 18, 2018 (twrp-3.2.1-2):
Refactor USB configurations (fixes ADB)
Remove /cpefs from filesystem table (fixes /cpefs warning/error)
Rebase Kernel to ARCC. (fixes I/O performance issues)
Use correct OTG mount path
Enable software encryption support (general AOSP only, Samsung method remain unsupported)
Mar 16, 2018 (twrp-3.2.1-1):
Add system_image, vendor_image
Rename display name of /odm to "Carrier Configs"
Mar 15, 2018:
USB connection fixes
Mar 14, 2018:
Initial version
Guides:
Be aware that Android Verified Boot requires data (including those in internal storage) to be cleared after you unlocked bootloader and flash custom binaries. ("to protect user data, all state transitions wipe the data partitions and ask the user for confirmation before data is deleted." - https://source.android.com/security/verifiedboot/verified-boot)
It is normal to get prompts like "Integrity verification failed. You have to reset the device to factory settings."
However, this will only happen when there is "state transition" so only when you switch from locked to unlocked or vice versa.
Since Android O, Samsung introduced a new security feature, Remote Mobile Manager (RMM) aka Remote Lock Control (RLC). This feature allows stronger theft protection but unfortunately it also imposes a burden on users like you.
Samsung added a 7-day buffer period for enterprises or device owners to spot a missing/rogue device so they can use this feature to lock the device remotely.
In this 7-day (Prenormal) period, you can NOT flash any custom binaries including but not limited to this TWRP. OEM Unlock option won't appear, either.
(You will meet "custom binary blocked due to remaining installment balance" or "custom binary not allowed" error when you try)
The 7-day timer will start/reset once you completed the setup wizard. After 7 days (168 hours), RLC service will send an inquiry to Samsung's server. If your device is "clean", the RMM state will become "Normal".
Then you can enable "OEM Unlock" option and flash TWRP. Be careful, DO NOT reboot to a stock ROM before you flash patch in part 2 of this guide or you will have to go through another
Whether you have RMM problem or not depends on your model, region and/or carrier.
If you don't have any wait period to enable OEM Unlock option, congratulations but please do NOT mislead other people.
NOT EVERYONE IS AS LUCKY AS YOU.
If you don't have RMM problem when you get the device, it is unlikely that you will get any RMM problems later.
But note that this problem applies to MAJORITY of people.
Note that the special patch will freeze RMM, FRP and OEM lock state.
This is an anti-stupid measure to prevent careless users from enabling security measures which are not compatible with custom binaries.
Part 1 - HOW-TO FLASH TWRP:
1. In your ROM, go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
2. Go to Settings, remove all Samsung and Google accounts and if your device is registered to an enterprise, de-register it.
3. Go to Settings -> Developer options and enable OEM Unlock option.
Notice: This is "state transition" mentioned eailier.
NOTE: You will be asked to do a factory reset, that's normal.
BUT DO NOT LET IT COMPLETE THE WHOLE RESET PROCESS.
You should take a look at the whole guide and be prepared to use reboots as chances to flash or reboot into TWRP.
4. Download and Install Samsung Mobile Phones Drivers.
- Option 1: Download and Install Smart Switch for PC.
- Option 2: Download and Install standalone driver package.
5. Download and extract Odin (Samsung's Flash Tool) to your computer.
6. Download a .tar image of TWRP.
7. Reboot your device to download mode.
- Hold [VOLUME DOWN] + [BIXBY] + [POWER] for approx. 15 seconds.
- Read the warning carefully.
- If you agree, press [VOLUME UP] to get into Download mode. If you don't agree, STOP.
8. Open Odin and place that TWRP tar file in the [AP] slot.
9. Connect your phone.
10. Hold [VOLUME UP] + [BIXBY] + [POWER] on your phone and then press start on Odin.
11. Wait for the phone to reboot. DO NOT release [VOLUME UP] + [BIXBY] + [POWER] or you may not reboot into TWRP.
Part 2 - HOW-TO INITIALIZE TWRP:
1. If you completed Part 1 successfully, you should be in TWRP now. At this point, you will reach the screen asking you if you want to allow system modifications.
2. Select "Keep /system RO".
3. Go to "Wipe" menu of TWRP and you will find "Format Data". Press "Format Data" and type "yes" to continue.
4. Go to "Reboot" menu and Press "Recovery" to reboot TWRP.
5. Download the special dm-verity and force encryption disabler zip on your computer.
6. Transfer the zip to your phone.
- Option 1: MTP: Connect your phone with computer and just copy the zip to internal storage. (similar to how you transfer files when in system.)
- Option 2: ADB: Connect your phone with computer and run command "adb push /path/to/zip /sdcard/".
- Option 3: External SD: Copy the zip to an external SD and then insert the card to your phone.
7. Go to "Install" menu of TWRP and flash the zip.
TWRP is initialized and fully functional at this stage.
Now you may want to flash a root solution (Magisk, SuperSU, etc) or custom ROM but keep in mind that:
1. This thread does NOT provide technical support to any root solution or ROM unless the problem is DIRECTLY related to TWRP and there is no other solution without modifying TWRP itself.
Please contact developer of respective ROM or root solution for technical support.
2. Samsung implemented security measures such as "Real-time Kernel Protection (RKP)" and "RKP Control Flow Protection". https://www.samsungknox.com/en/blog/real-time-kernel-protection-rkp
Those security measures are intended to block control flows such as privilege escalation, memory kernel code modification, etc which are not authorized by Samsung.
If those are not disabled, processes (such as daemon of root solutions) that violated those security rules will fall into deadlock.
Deadlocked processes will then consume large amount of resources (leads to performance issues, battery drains) and eventually crash the system.
Technically it is possible to disable those security measures by hex editing stock kernel but just simply flash a custom kernel is better in my opinion.
TL;DR: Flash custom kernel before root or be screwed.
Awesome work Jesse. Thank you!
Has anybody flash it on a galaxy s9+?
Gesendet von meinem SM-G950F mit Tapatalk
@jesec hey mate, happy to see you again (S7 ROM)
Sorry i don't have this device but my friend will try soon
spackeddie01 said:
Has anybody flash it on a galaxy s9+?
Gesendet von meinem SM-G950F mit Tapatalk
Click to expand...
Click to collapse
I did try it on my Exynos S9+ but it didnt work. Maybe im doing something wrong. Odin says PASS! Then the S9+ reboots but hangs on: Verification error. Cant reboot device. The integrity verification didnt succeed. U have to reset the device to factory settings. Bla bla bla. And the option to reset. By the way, my device os is in dutch so i did try to translate the notification on the screen of the phone.
BokkieAndijk said:
I did try it on my Exynos S9+ but it didnt work. Maybe im doing something wrong. Odin says PASS! Then the S9+ reboots but hangs on: Verification error. Cant reboot device. The integrity verification didnt succeed. U have to reset the device to factory settings. Bla bla bla. And the option to reset.
Click to expand...
Click to collapse
Please boot to recovery instead of system.
Be aware that Android Verified Boot requires data to be cleared after you unlocked bootloader and flash custom binaries. ("to protect user data,*all*state transitions wipe the data partitions and ask the user for confirmation before data is deleted." - https://source.android.com/security/verifiedboot/verified-boot) It is normal to get such prompt.
Got twrp installed formatted data, rebooted twrp, do we need Dm-Verity? If so how to get it on as MTP is not working, or OTG, and system bootloop so can't get back in to do it that way.
BokkieAndijk said:
I did try it on my Exynos S9+ but it didnt work. Maybe im doing something wrong. Odin says PASS! Then the S9+ reboots but hangs on: Verification error. Cant reboot device. The integrity verification didnt succeed. U have to reset the device to factory settings. Bla bla bla. And the option to reset. By the way, my device os is in dutch so i did try to translate the notification on the screen of the phone.
Click to expand...
Click to collapse
You have to flash dm-verity/magisk.
****! I think i did something very wrong. When i want to reboot system in TWRP it says: are you sure u like reboot the system? N OS installed.
iamnotkurtcobain said:
Awesome work Jesse. Thank you!
Click to expand...
Click to collapse
Dis you try treble AOSP ?
giorgior.r said:
Dis you try treble AOSP ?
Click to expand...
Click to collapse
I can't. This TWRP is for 9+. I have a normal S9.
---------- Post added at 10:11 AM ---------- Previous post was at 10:09 AM ----------
BokkieAndijk said:
****! I think i did something very wrong. When i want to reboot system in TWRP it says: are you sure u like reboot the system? N OS installed.
Click to expand...
Click to collapse
You formated system it seems.
Steps are:
-flashing TWRP
-boot into TWRP
-format Data
-reboot recovery
-install magisk
-reboot
iamnotkurtcobain said:
You have to flash dm-verity/magisk.
Click to expand...
Click to collapse
pls can you give me a link to the packages you have used?
Thanks.:good:
Nice to see you doing work on the S9 @jesc
deleted
@jesc good to see you in the s9 forums. Great work as usual
Where can i find a stock rom for my Dutch (Netherlands) S9+? I think thats the only sollution for my bootloop.
BokkieAndijk said:
Where can i find a stock rom for my Dutch (Netherlands) S9+? I think thats the only sollution for my bootloop.
Click to expand...
Click to collapse
check in this site
https://www.sammobile.com/firmwares/database/SM-G965F/
Flashed twrp then flashed no dm verity - seemed to flash ok - but saw one error message that says "failed to mount '/cpefs' - I haven't seen that error before but thought it might be important. THis message happens after the flash has finished -(after it says updating partician details)
Tried to flash magisk after I flashed twrp and phone bootloops had to flash stock in odin

[RECOVERY][UNOFFICIAL] TWRP-3.2.3-0 Permanent Installer [20190122]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.
Notes for themers: In addition to the udpated theme, we have introduced a theme version variable to the TWRP theme system. If the theme version does not match the version that TWRP expects, TWRP will reject the custom theme and load its stock theme. This change will ensure that people who update TWRP without updating their theme will still have a workable recovery. We have removed libjpeg support. The stock theme was only using a jpeg image for the splash / curtain. This change means that any custom themes will no longer be able to use jpeg images. It also means that tools used to repack recovery images with a different curtain / splash will need to be updated to use the new method.
Version number notes: For a while we’ve been using a 4 digit version number and reserved the 4th digit for device-specific updates. For instance, we find and fix a device-specific issue like decryption of data on Nexus 5, we would release that as a 2.8.7.1. After a while, some people would start asking where 2.8.7.1 was for other devices. So, going forward we have decided to change the numbering scheme to 3.0.0-2, etc. Our hope is that this version numbering scheme will more clearly identify that the 4th digit does not indicate a version change for the code base.
We need your help! The bulk of TWRP work is done by 3 people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!
Decryption
Installation :
Procedure:
1.Boot into TWRP(using old twrp that u guys use)
2.Go to wipe option (optional reason on 3 rd step)
3.Select format data ((if you want to make internal storage readable)(This will erase all data on internal storage)
4.Then go back and flash twrp installer from the install option.
5.After installation,go to reboot option (select recovery) and reboot.
6.Done!
Download Link : Download
XDA:DevDB Information
[RECOVERY][UNOFFICIAL] TWRP-3.2.3-0 Permanent Installer [20190122], Tool/Utility for the Nokia 7 Plus
Contributors
nageen9211, sriram prakhya
Source Code: https://github.com/Ram9199/TWRP_Basil_Device_tree
Version Information
Status: Stable
Created 2019-01-22
Last Updated 2019-01-22
nageen9211 said:
Team Win Recovery Project (TWRP) is an open-source software custom recovery image for Android-based devices. It provides a touchscreen-enabled interface that allows users to install third-party firmware and back up the current system, functions often unsupported by stock recovery images. It is, therefore, often installed when rooting Android devices, although it isn't dependent on a device being rooted to be installed.
Notes for themers: In addition to the udpated theme, we have introduced a theme version variable to the TWRP theme system. If the theme version does not match the version that TWRP expects, TWRP will reject the custom theme and load its stock theme. This change will ensure that people who update TWRP without updating their theme will still have a workable recovery. We have removed libjpeg support. The stock theme was only using a jpeg image for the splash / curtain. This change means that any custom themes will no longer be able to use jpeg images. It also means that tools used to repack recovery images with a different curtain / splash will need to be updated to use the new method.
Version number notes: For a while we’ve been using a 4 digit version number and reserved the 4th digit for device-specific updates. For instance, we find and fix a device-specific issue like decryption of data on Nexus 5, we would release that as a 2.8.7.1. After a while, some people would start asking where 2.8.7.1 was for other devices. So, going forward we have decided to change the numbering scheme to 3.0.0-2, etc. Our hope is that this version numbering scheme will more clearly identify that the 4th digit does not indicate a version change for the code base.
We need your help! The bulk of TWRP work is done by 3 people on a volunteer basis. We have pushed most of our device files to our github and we have a gerrit instance. If you have the ability, please help us maintain our official devices and/or add your device to our official device list. Thanks in advance!
Decryption
Installation :
Procedure:
1.Boot into TWRP(using old twrp that u guys use)
2.Go to wipe option (optional reason on 3 rd step)
3.Select format data ((if you want to make internal storage readable)(This will erase all data on internal storage)
4.Then go back and flash twrp installer from the install option.
5.After installation,go to reboot option (select recovery) and reboot.
6.Done!
Download Link : Download
XDA:DevDB Information
[RECOVERY][UNOFFICIAL] TWRP-3.2.3-0 Permanent Installer [20190122], Tool/Utility for the Nokia 7 Plus
Contributors
nageen9211, sriram prakhya
Source Code:https://github.com/Ram9199/TWRP_Basil_Device_tree
Version Information
Status: Stable
Created 2019-01-22
Last Updated 2019-01-22
Click to expand...
Click to collapse
Make it normal flash able and also provide order twrp link
Great work bro.:good:
Purak6 said:
Make it normal flash able and also provide order twrp link
Click to expand...
Click to collapse
Normal flashable won't work with every rom , as every one is using different variant and different security patches .. that's why I have made it ...
nageen9211 said:
Normal flashable won't work with every rom , as every one is using different variant and different security patches .. that's why I have made it ...
Click to expand...
Click to collapse
And older twrp link ?
It's possible to use with TA-1055 or isn't tested on that variant?
death_jax said:
It's possible to use with TA-1055 or isn't tested on that variant?
Click to expand...
Click to collapse
test it and report. Bdw, android pie is preffered. It is reported that it stuck at boot logo on oreo roms
Purak6 said:
And older twrp link ?
Click to expand...
Click to collapse
i dont know about them, this is the fresh twrp . and we will maintain this only..
nageen9211 said:
[...] TWRP-3.2.3-0 Permanent Installer [20190122] [...]
Click to expand...
Click to collapse
can you please clarify what is mean "Permanent Installer"?
1) is this TWRP universal for any Android9 version? does not require exactly version?
2) is persistend after OTA update?
i ask because N7p don't have separate recovery partition and use hybrid boot for boot+recovery, this TWRP is not in boot partition?
k3dar7 said:
can you please clarify what is mean "Permanent Installer"?
1) is this TWRP universal for any Android9 version? does not require exactly version?
2) is persistend after OTA update?
i ask because N7p don't have separate recovery partition and use hybrid boot for boot+recovery, this TWRP is not in boot partition?
Click to expand...
Click to collapse
yes, This installer will unpack your boot.img from your current rom , and patch the twrp in it and repack it.
it works on almost all pie roms . have problem on oreo gsi .
and i think.. as long as boot partition is not affected by ota (which most of the times is affected ) twrp will persist. other wise u have to repatch your boot.img with this installer.
How to install twrp recovery on Nokia tell me set by step
bharath moram said:
How to install twrp recovery on Nokia tell me set by step
Click to expand...
Click to collapse
You can use this me howto for Magisk install:
https://forum.xda-developers.com/nokia-7-plus/help/pie-october-update-failed-t3862758/post78285662
Where is say Magisk.zip you use TRWP installer zip from first post in this thread..,
Good work, sir.
By the way, does it have format data to f2fs support? TWRP images for this device out there doesn't have.
Lot of warnings in recovery.log
Thanks for making this!
I'm getting lots of warnings like this one:
Code:
WARNING: linker: Warning: couldn't read "/system/etc/ld.config.txt" for "/sbin/busybox" (using default configuration instead): error reading file "/system/etc/ld.config.txt": Too many symbolic links encountered
Should I be worried about TWRP correct functioning?
Busybox seems to be all well and good though!
k3dar7 said:
You can use this me howto for Magisk install:
https://forum.xda-developers.com/nokia-7-plus/help/pie-october-update-failed-t3862758/post78285662
Where is say Magisk.zip you use TRWP installer zip from first post in this thread..,
Click to expand...
Click to collapse
Hi, thanks for this.
But after I fastboot boot the twrp boot img, all the folder names in TWRP are strange, like they're encrypted. How do I get around this?
Read step 3 in the OP. You have to format data.
I've found that using another twrp image to boot (not flash) it decrypts the data by asking the pattern I've set up in the os.
Now I want to ask the dev @nageen9211 if he can use that image to make this script.
ban.codrut said:
Read step 3 in the OP. You have to format data.
I've found that using another twrp image to boot (not flash) it decrypts the data by asking the pattern I've set up in the os.
Now I want to ask the dev @nageen9211 if he can use that image to make this script.
Click to expand...
Click to collapse
Thanks for the reply - actually I tried the OP originally, but formatting data got rid of my google play services as well, and I couldn't use my phone at all as a result, because a popup saying "google play services stopped working"/"google battery saver had stopped working" kept popping up repeatedly.
I had to reflash using OST and start over again. Which is why I was interested in another method without formatting data
Unless there is a way around fixing the Google Play services issue after formatting data?
Iam using Nokia 7 pLus rom having Android pie how to install twrp recovery tell step buy step
bharath moram said:
Iam using Nokia 7 pLus rom having Android pie how to install twrp recovery tell step buy step
Click to expand...
Click to collapse
If you have unlocked bootloader, howto i write before some mess on this page of this thread.. then first step is read this thread
I saw that on 15 of april was out the 3.3.0-0 of TWRP...how can we get it?
There is a very good changelog, especially for our A/B device(s):
Merge AOSP 9.0 r3 (Dees_Troy)
Use ANDROID_ROOT variable instead of hard coding to /system (CaptainThrowback)
Decrypt FBE on 9.0 and metadata decrypt (Dees_Troy)
vold decrypt updates (CaptainThrowback and nijel8)
Support vibration on LED class devices (notsyncing)
Metadata decrypt support for Pixel 3 (Dees_Troy)
Support rotating the display via build flag (vladimiroltean)
Reboot to EDL mode button (mauronofrio)
Support MTP on FFS devices (bigbiff)
Update FDE decrypt to support keymaster 3 and 4 (Dees_Troy)
Detect mkfs.f2fs version to properly format on f2fs partitions (Dees_Troy)
Allow TWRP to use md5 and sha256 checksums for zip installs (bigbiff)
TWRP can use /data/cache/recovery and /persist/cache/recovery on AB devices with no cache partition (bigbiff)
Switch part of advanced menus in TWRP to use a listbox of options (Dees_Troy)
Use magiskboot to allow repacking boot images for installing TWRP (Dees_Troy with thanks to topjohnwu of course)

General [SHARED] [UNOFFICIAL][A12/A13] TWRP 3.7.0 for Redmi Note 11 (spes/spesn)

Well, I found this in a Telegram group (which I know I can't share the link) and when performing all possible tests, it works perfectly with my 4/128 spes.
And as we would all say, I am not responsible for any damage and loss of data caused to your device. I only share the information "as is" and the tests performed by myself on my personal device. Everything is at your own risk.
So, let's start with the post:
New Developer on this version:
@jabieff
Previous Developer
@dblenk9 - Telegram
2022/11/06 Update Changelog:
Synced latest TWRP 12.1 source
Fixed Android 13 ROM flashing issue (source side)
Changelog in the previous version by @dblenk9
Sync with latest TWRP
Update kernel to MIUI V13.0.4.0.SGCMIXM
Update blobs to MIUI V13.0.4.0.SGCMIXM
MTP fixed
Decrypt works
Features I tried and didn't have any problems
Flashing and decrypt data from A13 ROMs
Flashing and decrypt data from A12.1(A12L) ROMs
Flashing and decrypt data from MIUI-based ROMs (custom and Stock) with A12
Flashing Magisk
MTP fully functional
ADB sideload
Install recovery ramdisk and "Flash current TWRP" from Advanced menu
DO NOT USE WITH ANDROID 11 ROMS!!!
Bugs I've found so far
If you perform a format data, the internal memory will not be recognized in MTP mode of TWRP, which will not be displayed in Windows file explorer
SOLUTION: Boot into the OS at least once so that the internal memory is rebuilt and made available again in MTP mode
Sometimes, when checking the option "Automatically reflash TWRP after installing the ROM", it does nothing when it finishes installing the ROM
SOLUTION: The option seems to be somewhat bugged, so before restarting always reinstall TWRP with the methods that I will explain below
When flashing some ROMs, "Failed to mount *partition*" errors come out when you finish installing
SOLUTION: In some ROMs you may get errors when mounting some partitions, commonly "system_ext", "product" and "vendor".
If the installation process ended without any problem and without showing any error code, that's fine, you can restart without problems, This bug has been in all unofficial TWRP for this device
Steps to install
Make sure you have the bootloader unlocked before you start. There are many guides on the internet for that.
Tutorial for Windows only because zero knowledge for Mac and Linux
From PC:
Download the latest platform-tools from the Android developer site and extract the zip in an easily accessible folder
Download the TWRP image file from here, or from the post attachments
SHA256: 8F25AC88628E6D7BC5E29D8572CF4ACA3499B7D626685654B3C4548323B8D591
Restart your device to fastboot mode
Method 1:
Using this adb command if you have USB debugging active on your device
Code:
adb reboot bootloader
Method 2:
- Turn off your device
- After it has completely turned off, press and hold Vol - and the Power button at the same time until the word "FASTBOOT" with orange letters comes out
Method 3:
- Turn off yout device
- Press and hold Vol - button
- Connect the USB cable (previously connected to the PC) to the device and press and hold the button until the word "FASTBOOT" with orange letters comes out
Connect your device to the PC
Open a cmd window in the folder where you extracted the binaries from the zip from step 1
Easy method: Open the folder, and without leaving it, type "cmd" in the address bar of the file explorer and press enter. Command promt will open a window directly in the folder location
Verify that your device is recognized by fastboot using this command
Code:
fastboot devices
If your device has been detected (a serial number followed by the word fastboot), you can continue. Otherwise, check if the drivers are installed correctly, although if you used Mi Unlock and were able to unlock the device correctly on the PC you are using, you should not have problems with that.
- Because this device uses A/B partitions, there is no recovery partition as such, but it is integrated into the "boot" partition. So, first we must boot using the TWRP image.
Type this command in the cmd window, but don't press Enter yet, just type it and leave a space at the end
Code:
fastboot boot_
Don't write the "_". This only indicates the space you should leave at the end.
This is how it should look when you write it:
fastboot boot
Now, drag the image file (twrp-3.7.0.img) to the command window and drop it above the window. This will make you copy your exact location for convenience.
- The result should be this:
Code:
fastboot boot "C:\location\to\your\file\twrp-3.7.0.img"
Quotation marks are only added if the entire location has spaces.
Otherwise, it is displayed without quotation marks.
Press Enter and wait a few seconds. The MI logo will come out, and then the TWRP logo.
DONE! You've started perfectly in TWRP
From the device
NOTE: Only use these steps if you want to have TWRP installed semi-permanently
I said "semi-permanent" because when flashing any ROM, and knowing that the "recovery" is integrated into the "boot" partition, it will be lost after leaving TWRP, so you can follow these steps if you want to avoid loss of TWRP.
If you have easy access to a PC, you can be fine with the boot method. If you don't have easy access to a PC, you can follow these steps.
Method 1
While in the TWRP menu, tap the Advanced button
Now tap on the option "Flash current TWRP"
"Swipe to confirm" and the TWRP installation process will begin
Method 2
While in the TWRP menu, tap the Advanced button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default
You can use a USB OTG too
Now tap on the option "Install recovery ramdisk"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storages
"Swipe to confirm" and the TWRP installation process will begin
Method 3
While in the TWRP menu, tap the Install button
Copy the TWRP image file to the internal memory or SD card from the PC. MTP mode is enabled by default.
You can use a USB OTG too
Tap on the option "Install image"
Now locate the file and tap on it.
You can use the "Select storage" button to switch between different storage
In the new menu, select "Install recovery ramdisk" and then "Swipe to confirm Flash"
Remember that with the three methods mentioned above you will lose root access (Magisk), so do not forget to flash it again. These steps are also valid to update TWRP if you already had it previously installed.
Conclusion
I did everything I could but I couldn't find the source code for this TWRP, so I'm sorry for that.
05/05/2023
POST
- Link to GDrive fixed
11/11/2022
POST:
- Reverted to previous version as @jabieff TWRP is unable to flash MIUI ROMs due to dynamic partitioning error.
07/11/2022
POST
- Added info about Android 11
- Updated to latest TWRP and new developer
19-10-2022
POST:
- Fixed typo and A11 ROMs info added
Hello and thanks for this tutorial. I tried it on my new red minote 11 and unlike on 3.6.1 TWRP my pin code can't unlock encryption.
It returns :
Code:
Failed to decrypt user 0
Is there a way to solve yhis issue ?
Rom version : MUI global 13013 Stable RGKEUXM
Android version: 11 RKQ1.211001.001
Thanks !
essor-13 said:
Hello and thanks for this tutorial. I tried it on my new red minote 11 and unlike on 3.6.1 TWRP my pin code can't unlock encryption.
It returns :
Code:
Failed to decrypt user 0
Is there a way to solve yhis issue ?
Rom version : MUI global 13013 Stable RGKEUXM
Android version: 11 RKQ1.211001.001
Thanks !
Click to expand...
Click to collapse
I think this version of TWRP works only with MIUI13 A12. You're on A11 version of MIUI13.
essor-13 said:
Hello and thanks for this tutorial. I tried it on my new red minote 11 and unlike on 3.6.1 TWRP my pin code can't unlock encryption.
It returns :
Code:
Failed to decrypt user 0
Is there a way to solve yhis issue ?
Rom version : MUI global 13013 Stable RGKEUXM
Android version: 11 RKQ1.211001.001
Thanks !
Click to expand...
Click to collapse
This recovery is not compatible with Android 11 ROMs. If you need one for A11 specifically, use version 3.6.1
NeoSDAP said:
This recovery is not compatible with Android 11 ROMs. If you need one for A11 specifically, use version 3.6.1
Click to expand...
Click to collapse
Thanks for the answer. I'm a bit confused about this (I'm really not an expert, far from that). My previous phone was a antic galaxy S7 that passed awaysome days ago. With that phone (at the end I was on LOS 19 I think) there was no encryption issue, I installed the TWRP on a Oreo android version ans I never had android version compatibility issues (let say that is TWRP version x was compatible with android version y is was also compatible with android version y-1). It seems to be different with my new redmi note 11.
I also had a backup / restore issue (TWRP 3.6.1) : I did enter the TWRP by unlocking with my pin code, did the backup (data, system and also data+system in case of) and I wanted to restore the data backup (I tried to debloat the ROM via adb but I made some mistakes so I decided to restore the backup data + system) and the TWRP showed a warning : "pin must be desactivated before restoring". I tried to ignore the message (I made enough mistakes to be enable to reach the phone's login), the restore operation failed with an "error 255". So I reconfigured the phone, desactivated the login pin, went to TWRP, made the restore (no pin warning) but hen the phone didn't boot correctly (hanged 15 min on the MI startup logo with the three dots on the bottom, but nothing else happens).
I obviously did the backup / restore operation the wrong way. On my S7 it was very easy : I make a full backup, data+system, then I restore it when needed, and no issue at all). So What is the correct way to backup / restore a full system + data with TWRP without having to do a factory reset and then try to restore Titanium backup (which cannot restore correctly all the apps, some need to be resintalled). This solution works, but it is much longer and annoying than restoring a TWRP/nandroid backup.
Thanks !
@NeoSDAP You could add sth like 'only for A12/A13'-roms to the title and add a highlighted note, that You need 3.6.1 for A11 roms to the OP.
essor-13 said:
Thanks for the answer. I'm a bit confused about this (I'm really not an expert, far from that). My previous phone was a antic galaxy S7 that passed awaysome days ago. With that phone (at the end I was on LOS 19 I think) there was no encryption issue, I installed the TWRP on a Oreo android version ans I never had android version compatibility issues (let say that is TWRP version x was compatible with android version y is was also compatible with android version y-1). It seems to be different with my new redmi note 11.
I also had a backup / restore issue (TWRP 3.6.1) : I did enter the TWRP by unlocking with my pin code, did the backup (data, system and also data+system in case of) and I wanted to restore the data backup (I tried to debloat the ROM via adb but I made some mistakes so I decided to restore the backup data + system) and the TWRP showed a warning : "pin must be desactivated before restoring". I tried to ignore the message (I made enough mistakes to be enable to reach the phone's login), the restore operation failed with an "error 255". So I reconfigured the phone, desactivated the login pin, went to TWRP, made the restore (no pin warning) but hen the phone didn't boot correctly (hanged 15 min on the MI startup logo with the three dots on the bottom, but nothing else happens).
I obviously did the backup / restore operation the wrong way. On my S7 it was very easy : I make a full backup, data+system, then I restore it when needed, and no issue at all). So What is the correct way to backup / restore a full system + data with TWRP without having to do a factory reset and then try to restore Titanium backup (which cannot restore correctly all the apps, some need to be resintalled). This solution works, but it is much longer and annoying than restoring a TWRP/nandroid backup.
Thanks !
Click to expand...
Click to collapse
Because this device uses a different partition scheme (A/B partitions and, apparently, dynamic partitions) it is not necessary to make nandroid backups, since the partitions change size depending on the ROM you install.
If you want to keep everything in order:
- Keep a copy of TWRP and the zip of the ROM you are using to avoid problems in the future.
- If you want a backup of the info on your phone, I recommend you install Magisk and use Swift Backup. It's in the Play Store.
gentano said:
@NeoSDAP You could add sth like 'only for A12/A13'-roms to the title and add a highlighted note, that You need 3.6.1 for A11 roms to the OP.
Click to expand...
Click to collapse
Thanks for the correction. I have already modified the title
NeoSDAP said:
Thanks for the correction. I have already modified the title
Click to expand...
Click to collapse
Can you please tell me if it's possible to flash twrp via magisk app for root access and for installing twrp itself, actually I've updated my rn11 and insalled October security patch but my custom recovery along with root is overwritten
sarib said:
Can you please tell me if it's possible to flash twrp via magisk app for root access and for installing twrp itself, actually I've updated my rn11 and insalled October security patch but my custom recovery along with root is overwritten
Click to expand...
Click to collapse
Nope. You need a PC to install the recovery. Something that can also work is to use a phone rooted with Magisk and the ADB and fastboot module
NeoSDAP said:
Because this device uses a different partition scheme (A/B partitions and, apparently, dynamic partitions) it is not necessary to make nandroid backups, since the partitions change size depending on the ROM you install.
If you want to keep everything in order:
- Keep a copy of TWRP and the zip of the ROM you are using to avoid problems in the future.
- If you want a backup of the info on your phone, I recommend you install Magisk and use Swift Backup. It's in the Play Store.
Click to expand...
Click to collapse
Thanks a lot for those infos. I understand a bit better now.
By any chance do you know a rom (debloated) that works flawlessly (camera, wifi, NFC, BT, etc) with the redmi note 11 ? I had LOS on my S7, that was fine because it made the device last longer, but it wasn't withoutt issues.
am I doing something wrong
Thank.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Appl1 said:
War mache ich falsch? Hat jemand eine Idee?
Thank.
View attachment 5779933
Click to expand...
Click to collapse
According to the rules, English is required.
Boot to a different version from TWRP. The v3.62 will help, then flash the v3.7.0 through TWRP. It happens, probably, because some custom recoveries, doesn't allow this version to boot to.
SubwayChamp said:
Gemäß den Regeln ist Englisch erforderlich.
Booten Sie mit einer anderen Version von TWRP. Die v3.62 wird helfen, dann die v3.7.0 über TWRP flashen. Es passiert wahrscheinlich, weil einige benutzerdefinierte Wiederherstellungen es dieser Version nicht erlauben, zu booten.
Click to expand...
Click to collapse
danke werde ich im laufe des tages ausprobieren. Ich habe auf Englisch geschrieben. Verzeihung
Appl1 said:
am I doing something wrong
Thank.
View attachment 5779933
Click to expand...
Click to collapse
Do you have unlocked bootloader?
Appl1 said:
danke werde ich im laufe des tages ausprobieren. Ich habe auf Englisch geschrieben. Verzeihung
Click to expand...
Click to collapse
Thanks for the edit of your first post and the switch to English. However, if you check you post above it's again only in German. Did you check your browser's settings if it automatically translates to German even if you wrote in English?
Regards
Oswald Boelcke
Senior Moderator
sarib said:
Can you please tell me if it's possible to flash twrp via magisk app for root access and for installing twrp itself, actually I've updated my rn11 and insalled October security patch but my custom recovery along with root is overwritten
Click to expand...
Click to collapse
Same ****.. I bought my phone in July... then rooted it... then all these useless security patches for me used to unroot my phone - remove TWRP and the root while have magick app installed. One time tried to reroot and ****ed up so had to reflash again the stock rom (I was with the stock rom before) just lost some data (not a big deal... all apps with their non cloud savable data, settings and etc LOL)
So I am still wondering how to avoid this and properly update without losing the root.
Also when Xiaomi will stop releasing **** small updates every month?
Flammable98 said:
Same ****.. I bought my phone in July... then rooted it... then all these useless security patches for me used to unroot my phone - remove TWRP and the root while have magick app installed. One time tried to reroot and ****ed up so had to reflash again the stock rom (I was with the stock rom before) just lost some data (not a big deal... all apps with their non cloud savable data, settings and etc LOL)
So I am still wondering how to avoid this and properly update without losing the root.
Also when Xiaomi will stop releasing **** small updates every month?
Click to expand...
Click to collapse
There´s not such a thing; "...properly update without losing the root", any major update causes the loss of root, because of boot partition, but, if the update is only about security policies, then you shouldn´t lost root. Rooting this device can always be done, flashing the Magisk zip over the ROM.
Anyway, you can choose, not to update automatically, so, this is up to you, get it or not.
Flammable98 said:
Same ****.. I bought my phone in July... then rooted it... then all these useless security patches for me used to unroot my phone - remove TWRP and the root while have magick app installed. One time tried to reroot and ****ed up so had to reflash again the stock rom (I was with the stock rom before) just lost some data (not a big deal... all apps with their non cloud savable data, settings and etc LOL)
So I am still wondering how to avoid this and properly update without losing the root.
Also when Xiaomi will stop releasing **** small updates every month?
Click to expand...
Click to collapse
There's a new update "November patch" and I'm now thinking what I should do

Categories

Resources