[Recovery][PORT][Root][mido]TWRP 3.0.3-0 for the Redmi Note 4 SD [Feb 10th] - Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re

First Ever Root Guide and Custom Recovery for the Redmi Note 4 SD
Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this RECOVERY
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
What is TWRP Recovery?
Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Click to expand...
Click to collapse
{
"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"
}
FEATURES
EFS and Firmware backup support
MTP support
USB OTG storage support
f2fs file system support (read, write, format, backup & restore)
exFAT file system support (read, write, format)
Hardware Qualcomm-based full-disk encryption support
Full SELinux support
REQUIREMENTS
1. Unlocked Bootloader
2. ADB and Fastboot drivers installed
INSTRUCTIONS
1. Download all files and copy it into internal storage
2. Download adb/fastboot tools. Place the Twrp image in the same folder that you have extracted adb/fastboot tools
3. Power Off. Boot into Fastboot mode(Hold power+Vol down and release)
4. Connect to your PC
5. Open cmd.exe and enter command :
Code:
fastboot flash recovery twrp_mido.img
5. Boot into TWRP. Flash no-verity-opt-encrypt.zip first and then phh's SuperSU zip from Recovery
6. Reboot the phone. SuperSu installation will cause reboot once again. Dont panic, wait for the phone to boot.
7. Install phh's Supersu app from PlayStore.
8. Enjoy!!!
Known Bugs: Does not work on Miui Stable ROM v8.1.15.0
Storage doesn't get detected while connected to PC. -Fixed
Note: I have tested and its working on Stable and Beta without any bootloops or Brick. If you have MTP issues. Flash the Fastboot Rom and try again.
Downloads:
1. TWRP- 3.0.3-0 - Updated- Feb 10th
Code:
https://www.androidfilehost.com/?fid=457095661767136323
2. phh's SuperSu
Code:
https://superuser.phh.me/superuser.zip
3. no-verity-opt-encrypt - New
Code:
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/no-verity-opt-encrypt-5.1.zip
4. Install phh's SuperSu from Playstore:
https://play.google.com/store/apps/details?id=me.phh.superuser&hl=en
SOURCE CODE(Its a port from Lenovo P2)
TWRP: https://github.com/omnirom/android_bootable_recovery (android-7.1)
Device tree: https://github.com/Celoxocis/android_device_lenovo_P2a42 (cm-13.0)
Kernel: Uses Stock Kernel
Credits:
1. @celoxocis for the TWRP base from Lenovo P2 here. None of this would be possible without him
2. Team Win Recovery Project
3. @phhusson for phh's SuperSu
XDA:DevDB Information
TWRP 3.0.3-0 for the Redmi Note 4 SD, Tool/Utility for the Xiaomi Redmi Note 4
Contributors
suhas.holla
Version Information
Status: Stable
Created 2017-02-28
Last Updated 2017-02-28

Reserved

Changelog:
Update 2- Feb 10th: MTP mode now works. Enabled all Firmware partitions backup and Restore.
Update 1: Intital Release

Woah, Thanks Very Much, Will Test Tomorrow.

Twrp worked fine but got bootloop . Is it because of miui ? In other redmi devices you need to disable encryption and patch boot.img etc to get miui to boot . No idea if that's the problem here
Sent from my Redmi Note 4 using Tapatalk

So, it begins. Brace yourself.

after flashing twrp phone is not reconised by pc
only charging mode
usb debugging not showing/working
cant select mtp/ptp mode
ple rectify thanks a ton for twrp

great.. thanks. i appreciate your work

How to unlock bootloader
.?

if the storage bug is solved in upcoming build we have to flash again with fastboot or in twrp only ?
Sent from my Redmi Note 4 using Tapatalk

dastan4eva said:
Twrp worked fine but got bootloop . Is it because of miui ? In other redmi devices you need to disable encryption and patch boot.img etc to get miui to boot . No idea if that's the problem here
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
Ohh I forgot. You need to flash disable encryption zip. I'll link in OP
Sent from my Redmi Note 4 using Tapatalk

nileshtambe said:
after flashing twrp phone is not reconised by pc
only charging mode
usb debugging not showing/working
cant select mtp/ptp mode
ple rectify thanks a ton for twrp
Click to expand...
Click to collapse
Known bug.
Sent from my Redmi Note 4 using Tapatalk

suhas.holla said:
Ohh I forgot. You need to flash disable encryption zip. I'll link in OP
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
where is the disable encryption.zip file please attach and confirm if its working properly i dont wna stuck in bootloop
Sent from my Redmi Note 4 using Tapatalk

SAINI99 said:
where is the disable encryption.zip file please attach and confirm if its working properly i dont wna stuck in bootloop
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
FYI -
I didnt use the bootimg patcher and all things were working. Anyways its there in OP. You can try it

Guys, what is the correct procedure?
I have NOT turned on encryption from Settings. So do I need to
a) delete boot.p or
b)flash boot image flasher from OP or
c)Lazy Flasher or
d)format DATA after flashing TWRP?

another bug cant format data

did u able to backup your stock rom
Sent from my Redmi Note 4 using Tapatalk

SAINI99 said:
did u able to backup your stock rom
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
yes i backed up rom and checked for restore its working
but if i freeze any sysytem aap or uninstall sysytem apk then phone doesnt bootup goes to bootloop

suhas.holla said:
FYI -
I didnt use the bootimg patcher and all things were working. Anyways its there in OP. You can try it
Click to expand...
Click to collapse
Where did you get that bootimg patcher? It's an older version of no-verity-opt-encrypt (official signed downloads) but all they did was replace
Code:
dm verity and forced encryption
disabler by jcadduono
with...
Code:
Universal Boot.img patcher By Rajdip/Ronti
<_______________<
Anyways, no-verity-opt-encrypt is only necessary if you are not flashing SuperSU as SuperSU makes the same changes that no-verity-opt-encrypt does.

jcadduono said:
Where did you get that bootimg patcher? It's an older version of no-verity-opt-encrypt (official signed downloads) but all they did was replace
Code:
dm verity and forced encryption
disabler by jcadduono
with...
Code:
Universal Boot.img patcher By Rajdip/Ronti
<_______________<
Anyways, no-verity-opt-encrypt is only necessary if you are not flashing SuperSU as SuperSU makes the same changes that no-verity-opt-encrypt does.
Click to expand...
Click to collapse
What about Forbes encryption in miui
Sent from my Redmi Note 4 using Tapatalk
---------- Post added at 12:43 AM ---------- Previous post was at 12:43 AM ----------
Forced*
Sent from my Redmi Note 4 using Tapatalk

Related

[OFFICIAL][TWRP][Recovery] TWRP 3.1.1-0 [mido]

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.​
{
"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"
}
Code:
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
CHANGELOG for 3.0.2-0:
Fix a bug with the input box that affected masked inputs (passwords). This fixes decrypt of full device encryption on devices that support decrypt. This bug also impacts encrypted backups. Users are highly encouraged to stop using 3.0.1 if you use encrypted backups or if you need decrypt of data in TWRP.
Add Greek translation to some builds.
support new CM 13.0 pattern encryption (sultanqasim)
fix slow flashing issue due to modprobe (present on only some devices) (#twrp)
libtar updated to latest upstream and fixes (jcadduono)
fixes for loading custom themes (_that)
TWRP will now detect and install TWRP themes automatically through the normal zip install process (Dees_Troy)
translation updates - added Italian, Czech and Polish and significant updates to Dutch
progress bar improvements - progress bar updates during image flashing and better tracks progress during file system backups (tar) (Dees_Troy)
fix input box text display (Dees_Troy)
reboot option after zip install complete (bigbiff)
other mostly invisible bug fixes and improvements
Install guide:
Install fastboot tools from google's sdk on your PC
Enter fastboot mode
Unlock your bootloader
Download recovery*.img and Lazyflasher
Copy lazyflasher In your internal Phone memory
Run "fastboot flash recovery recovery-mido.img in command line
[*]Boot into recovery and flash Lazy flasher (Important for miui, else you can't boot into system)
Reboot and enjoy it
Download:
recovery.img
lazyflasher-no-verity-opt-encrypt.zip
Source code:
https://github.com/omnirom/android_bootable_recovery
XDA:DevDB Information
twrp, Tool/Utility for the Xiaomi Redmi Note 4
Contributors
abhishek987
Version Information
Status: Stable
Stable Release Date: 2017-05-26
Created 2017-02-17
Last Updated 2017-05-26
abhishek987 said:
Team Win Recovery Project 3.x, /?fid=817550096634743463"]recovery-mido.img[/URL]
lazyflasher-no-verity-opt-encrypt.zip​
Source code:
https://github.com/omnirom/android_bootable_recovery​
Click to expand...
Click to collapse
Wow
Awesome
You got rn4 bro ?
Sent from my Redmi Note 4 using Tapatalk​
That was way quick than Expected
Continue building for Mido just like you did for Kenzo
Thanks a lot Abhishek
Works fine
twrp is same as hoolla but mtp mode is not working in twrp mode or phone on mode to pc
please fix that thanks a lot for twrp
How to to unlock bootloader..?
thug awara
I have a question.
Install guide:
Install fastboot tools from google's sdk on your PC
Enter fastboot mode
Unlock your bootloader
Download recovery*.img and Lazyflasher
Copy lazyflasher In your internal Phone memory
Run "fastboot flash recovery recovery-mido.img in command line
Boot into recovery and flash Lazy flasher (Important for miui, else you can't boot into system)
Reboot and enjoy it
Click to expand...
Click to collapse
How do I reboot to recovery directly after flashing the recovery file from fastboot ? When I reboot to system and then go to recovery, it is the default one
zanderzone said:
I have a question.
How do I reboot to recovery directly after flashing the recovery file from fastboot ? When I reboot to system and then go to recovery, it is the default one
Click to expand...
Click to collapse
You should be able to Hold power+Vol up and release.
The other way to do it is via ADB:
Code:
fastboot boot recovery recovery-mido.img
The fastboot "Boot" command boots it into recovery automatically.
nileshtambe said:
twrp is same as hoolla but mtp mode is not working in twrp mode or phone on mode to pc
please fix that thanks a lot for twrp
Click to expand...
Click to collapse
What? MTP works !!!
Sent from my Redmi Note 4 using Tapatalk
---------- Post added at 02:23 PM ---------- Previous post was at 02:23 PM ----------
vadoliyamilan said:
How to to unlock bootloader..?
Click to expand...
Click to collapse
Yes I did
Sent from my Redmi Note 4 using Tapatalk
http://cloud.tapatalk.com/s/5895e48006e0b/Screenshot_2017-02-03-06-41-58.png?
Sent from my Redmi Note 4 using Tapatalk
thanks bro
using this twrp i was able to root and flash xposed thanks bro
jeevan_500 said:
using this twrp i was able to root and flash xposed thanks bro
Click to expand...
Click to collapse
Which Version of Xposed?
And all Modules working fine?
YatinChawla said:
Which Version of Xposed?
And all Modsule working fine?
Click to expand...
Click to collapse
i used miui unofficial xposed version and all Modsule are working fine below is the link
https://forum.xda-developers.com/xposed/unofficial-xposed-miui-t3367634
jeevan_500 said:
using this twrp i was able to root and flash xposed thanks bro
Click to expand...
Click to collapse
Bro can you please if MTP mode is working fine or not ?
Also If Nandroid backup restore working fine ?
akhil17kr said:
Bro can you please if MTP mode is working fine or not ?
Also If Nandroid backup restore working fine ?
Click to expand...
Click to collapse
i think MTP IS WORKING and about nandroid backp i dont know as i did not take back up
MTP is not working .
Kanth's said:
MTP is not working .
Click to expand...
Click to collapse
Yes, same here too. MTP is available only if boot to recovery. Normal it shows charging only.
Holla and this different?
Sent from my Redmi Note 4 using Tapatalk
Any chance f2fs support is added to this recovery and updated to version 3.0.3 of TWRP?

[OFFICIAL] TWRP 3.0.3-0 Recovery for Redmi 4 Prime

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.​
{
"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"
}
Code:
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
CHANGELOG for 3.0.3-0:
Fix a bug with the input box that affected masked inputs (passwords). This fixes decrypt of full device encryption on devices that support decrypt. This bug also impacts encrypted backups. Users are highly encouraged to stop using 3.0.1 if you use encrypted backups or if you need decrypt of data in TWRP.
Add Greek translation to some builds.
support new CM 13.0 pattern encryption (sultanqasim)
fix slow flashing issue due to modprobe (present on only some devices) (#twrp)
libtar updated to latest upstream and fixes (jcadduono)
fixes for loading custom themes (_that)
TWRP will now detect and install TWRP themes automatically through the normal zip install process (Dees_Troy)
translation updates - added Italian, Czech and Polish and significant updates to Dutch
progress bar improvements - progress bar updates during image flashing and better tracks progress during file system backups (tar) (Dees_Troy)
fix input box text display (Dees_Troy)
reboot option after zip install complete (bigbiff)
other mostly invisible bug fixes and improvements
Install guide:
Install fastboot tools from google's sdk on your PC
Enter fastboot mode
Unlock your bootloader
Download recovery*.img and Lazyflasher
Copy lazyflasher In your internal Phone memory
Run fastboot flash recovery twrp-3.0.3-0-markw.img in command line
[*]Boot into recovery and flash Lazy flasher (Important for miui, else you can boot into system)
Reboot and enjoy it
Download:
twrp-3.0.3-0-markw.img
lazyflasher-no-verity-opt-encrypt.zip
Wow new TWRP build, btw I see you try to build LineageOS 13 (even msdx321 fork from your repo), thanks
Wow, this one is better than Cofface's TWRP.
Subscribe sir @Anik_khan...GIMEE !!!
Sent from my Redmi 3 using Tapatalk
@Anik_khan, thank God you're working for redmi 4 prime now! I was amazed by your redmi 3 ROMs. I hope you will create some ROM for R4P! Godbless you Sir!
Much better than before
Thanks, I am excited to see new TWRP for Redmi 4 Prime!
So, is this better than the one made by cofface? In what ways?
Can i flash this zip file to replace the twrp by cofface using twrp by cofface itself? And one more question.. When i want to go to recovery from off, when i press the up n power button it went to the stock recovery instead of the twrp and i need to select recovery for me to go to twrp.. .. Is there any solution for me to straight away go to twrp after pressing the combination button? Pleasee help... Im still using miui 8 and looking to try on lineage os.... Thanks in advance
nudgemodem said:
Can i flash this zip file to replace the twrp by cofface using twrp by cofface itself? And one more question.. When i want to go to recovery from off, when i press the up n power button it went to the stock recovery instead of the twrp and i need to select recovery for me to go to twrp.. .. Is there any solution for me to straight away go to twrp after pressing the combination button? Pleasee help... Im still using miui 8 and looking to try on lineage os.... Thanks in advance
Click to expand...
Click to collapse
Yes you can flash this TWRP.img straight using Cofface's TWRP(that's what i did before), but don't forget to reboot to recovery after flashing the img. After that flash the attached zip file lazyflasher and your good to go.. About your second question, i don't know if there's some kind of shortcut to go straight to recovery(a simple single tap wouldn't matter anyway), as for lineageos, i haven't tried it yet so no idea, but imo i still prefer stock rom over custom rom for less bug free experience.
Tapped from my Redmi 4 Prime using XDA Legacy
---------- Post added at 09:00 PM ---------- Previous post was at 08:56 PM ----------
brenyoka said:
Thanks, I am excited to see new TWRP for Redmi 4 Prime!
So, is this better than the one made by cofface? In what ways?
Click to expand...
Click to collapse
What i like about this new twrp is you can now mount/wipe system partition. Compare to cofface's twrp, you can't do those. [emoji3]
Tapped from my Redmi 4 Prime using XDA Legacy
nudgemodem said:
Can i flash this zip file to replace the twrp by cofface using twrp by cofface itself? And one more question.. When i want to go to recovery from off, when i press the up n power button it went to the stock recovery instead of the twrp and i need to select recovery for me to go to twrp.. .. Is there any solution for me to straight away go to twrp after pressing the combination button? Pleasee help... Im still using miui 8 and looking to try on lineage os.... Thanks in advance
Click to expand...
Click to collapse
You can flash directly from cofface by using install menu and press image button on right bottom to flash .img instead of zip
Just wanted to say that this is the best recovery for Redmi 4 Prime. No bugs, no problems with mounting partitions, no hassle. Thank you very much, Anik_khan
Sorry for the noob question, but why lazyflasher is necessary? I am using MIUI global (v8.1.2). What happens if I don't flash lazyflasher? Just curious. Thanks.
brenyoka said:
Sorry for the noob question, but why lazyflasher is necessary? I am using MIUI global (v8.1.2). What happens if I don't flash lazyflasher? Just curious. Thanks.
Click to expand...
Click to collapse
Likely wont boot since official firmware need to verify dex-opt (it supposed to be installed in official xiaomi recovery). However xiaomi eu rom will work just fine.
dels07 said:
Likely wont boot since official firmware need to verify dex-opt (it supposed to be installed in official xiaomi recovery). However xiaomi eu rom will work just fine.
Click to expand...
Click to collapse
Thanks. I am on official MIUI so I will flash lazyflasher as well.
any usb mtp bugs ?
azizkaka said:
any usb mtp bugs ?
Click to expand...
Click to collapse
MTP works great with no bugs in my case. I'm using xiaomi.eu btw.
Tapped from my Redmi 4 Prime using XDA Legacy
thank you
flash twrp done
now how to root ? plz links to download
no usb mtp after root
how to fix it ?
supersu v2.65 works without problem
In my opinion, this is the best TWRP for REDMI 4 Prime. Everything works.

[TWRP][H6X][3.1.1-0][EMUI 5.x / AOSP N][DECRYPTION SUPPORT]

{
"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 6X (BERLIN)
Code:
OpenKirin presents unofficial TWRP for stock EMUI 5.x with decryption support.
Intended for usage on stock emui 5.x in combination with unlocked bootloader and
modded boot image with disabled dm-verity (depending on what you want to do).
Code:
[COLOR="red"][B]WARNING:[/B] since 3.1.0-2 update we've enabled image flashing to special partitions -
not just /recovery or /boot partition.
That means your device could be bricked in a few seconds if you do not pay attention
or don't know what you're doing. (Noobs please stay away out of this section!)[/COLOR]
Installation Instructions
Code:
1. Enter fastboot mode on unlocked device
2. flash recovery using the following command: fastboot flash recovery twrp-3.1.1-0-berlin.img
3. reboot to recovery!
Rooting Methods
Code:
[B][U]1. Official SuperSU (not just 2.82+)[/U][/B]
1. Ensure you are running stock emui 5.x kernel
2. Tick the option "Keep vendor partition mounted" inside OpenKirin Settings
3. download and install [URL="www.supersu.com/download"]official SuperSU[/URL]
4. Enjoy!
[B][U]2. Custom SuperSU[/U][/B]
1. Make sure the device running stock EMUI 5.x boot.img
2. flash this modded SuperSU 2.79: [URL="https://drive.google.com/open?id=0BxWP2gF_0Bd_UmQ2Zm9ZRGxBTUE"]download here[/URL]
3. enjoy root :)
[COLOR="red"][B]NOTE:[/B][/COLOR] this is for every device (except kirin 960 based) running emui 5.x without loop support.
[B][U]3. Magisk[/U][/B]
1. ensure you are running a emui 5.x kernel
2. flash magisk
3. enjoy root & safetynet (read note)
[B][COLOR="red"]NOTE:[/COLOR][/B] Magisk Hide is a known problem on Huawei/Honor devices.
Make sure you are not rebooting/turning off your device with Magisk Hide enabled!
You may face a broken fingerprint scanner, do not worry,
simply disable magisk hide and reboot - fps works again!
Downloads
Code:
[LIST]
[URL="https://github.com/OpenKirin/android_device_honor_berlin/releases/download/3.1.1-0/twrp-3.1.1-0-berlin.img"][U]download twrp-3.1.1-0-berlin.img[/U][/URL]
[/LIST]
FAQ
Code:
Q: What's the code status?
A: 10. June 2017
Q: which H6X models are supported?
A: every model should be supported.
Q: Can i use this TWRP with decrypted /data?
yes, you can! (have a look at the instructions in FAQ)
Q: Can i install LOS or AOSP based roms with this TWRP?
yes, you can! (please follow the installing procedure in the corresponding rom thread)
Q: Can i install Magisk?
A: Since 3.1.1-0 you are able to flash Magisk through TWRP (recovery kernel has been updated)
Q: Does official SuperSU work?
A: Yes, even though chainfire included a fix in his upcomming version,
you can use every version of it, just check the "Rooting Instructions" section.
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 forceencrypt disabled
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]
* [URL="https://forum.xda-developers.com/member.php?u=220328"]paulobrien[/URL]
* [URL="https://forum.xda-developers.com/member.php?u=3424732"]jgates86[/URL] (Tester)
XDA:DevDB Information
TWRP, Tool/Utility for the Honor 6X
Contributors
OldDroid, surdu_petru, xepeleato
Source Code: https://github.com/OpenKirin/android_device_honor_berlin
Version Information
Status: Stable
Created 2017-04-02
Last Updated 2017-06-11
Changelog
Code:
[B]TWRP 3.1.0-2[/B]
* Add support for NTFS formatted MicroSD cards or OTG drives
* Enabled direct image flashing to special partitions
(be careful when using it - one wrong klick means brick in a second!)
* TWRP is now compatible with AOSP based ROMS (LineageOS)
and decrypted Stock ROMS, transition from Stock to LOS is possible.
* Correct versioning - Device version is now comming from the common base.
* 3650-common: introduce init.recovery.hi3650.power.rc for better power handling
[B]TWRP 3.1.0-1[/B]
* proper handling of decryption (improves booting time by ~10 seconds)
* do not wipe /data/hw_init during wipe or factory reset to prevent system errors
* cleanup ramdisk, reduced image size by 10mb
* /cust and /version usage fixed
* sometimes unmount of /data partition failed, fixed aswell
[B]TWRP 3.1.0-0[/B]
* initial release
He work on h6x and gr5 2017.
Thank you for your work
Many Thanks!! It works on my BLL-L22
could we flash stock rom via twrp Now ?
okbakaka said:
could we flash stock rom via twrp Now ?
Click to expand...
Click to collapse
you can try, but i don't think so because of missing /cust and /version partition ..
OldDroid said:
you can try, but i don't think so because of missing /cust and /version partition ..
Click to expand...
Click to collapse
Thnx I ll try ,I will try to flash also theme app to see it coul fix theme nougat update issue
Does this mean that we will get root on EMUI 5?
Thanks
Nice work! Gained root via latest superSU.
new version soon, cust and version partition mounting fixed
OldDroid said:
new version soon, cust and version partition mounting fixed
Click to expand...
Click to collapse
Great news
Thanks for your work!
Just to check, this will work when encryption is not enabled on the device, right?
Sent from my Honor 6x using XDA Labs
sassmann said:
Nice work! Gained root via latest superSU.
Click to expand...
Click to collapse
So your phone is rooted?
okbakaka said:
So your phone is rooted?
Click to expand...
Click to collapse
Correct.
new version is up! check op for more information
Few things to mention:
* You can now wipe /data & do a factory reset without loosing system functionality (as i excluded /data/hw_init from beeing wiped).
* A new rooting method has been provided in op, it is compatible with every nougat version on your honor 6x.
releases & changelogs can be found also on github: https://github.com/OpenKirin/android_device_honor_berlin/releases
Regards
OldDroid said:
new version is up! check op for more information
Few things to mention:
* You can now wipe /data & do a factory reset without loosing system functionality (as i excluded /data/hw_init from beeing wiped).
* A new rooting method has been provided in op, it is compatible with every nougat version on your honor 6x.
releases & changelogs can be found also on github: https://github.com/OpenKirin/android_device_honor_berlin/releases
Regards
Click to expand...
Click to collapse
This is great, thanks alot for your work!
great guys ,just a question how could i flash a rom zip ? it says failed ,even with the TWRP 3.101 its failed should i do something mount ,or wipes or something
how can i flash the modded supersu?
aydinbahadir88 said:
how can i flash the modded supersu?
Click to expand...
Click to collapse
After downloading it from the google drive rename it to *.zip, as in change the extension to .zip, and flash like usual.
I recently bought a honor 6x( Huawei mate 9 Lite in my country). My model is BLL-l23 reading the thread I suppose this TWRP will works on mine?
When I get home I will try it.

[CLOSED][Recovery] TWRP (pyxis) - Official 3.3.1-0 (final)

{
"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.
******************************************​
Hi there,
This is the official build (beta) based on TWRP sources and xiaomi blobs ... fully working !
(Mi 9 Lite / Mi CC9)
!!! IT'S NOT MY PROBLEM, IF YOU DON'T READ AND FOLLOW MY INSTRUCTION CAREFULLY, IF YOU DON'T HAVE TIME FOR THIS, OR IF YOU FLASH SOMETHING OR DO A MANIPULATION I DIDN'T MENTION HERE !!!
THIS RECOVERY DOESN'T SUPPORT ANY ZIP MOD/ROM THAT DOESN'T USE SYSTEM_ROOT MOUNT. CHECK OFFICIAL TWRP HOMEPAGE FOR MORE INFORMATION ABOUT NEW A/B DEVICES FROM 2019​
Installation Procedure (first time) :
- Unlock your bootloader D)
- Enable ADB from your Official MIUI Developer option
- Plug your USB cable to your Windows PC and type :
adb reboot bootloader
- type then :
fastboot flash recovery twrp-3.3.1-0-pyxis-final (auto-decrypt).img (rename your image just by twrp.img)
fastboot flash vbmeta vbmeta.img
fastboot reboot (keep Vol+ pressed until you see TWRP splash)
- Wait for decrypting ... (if already you set a lockscreen pattern or a fingerprint)
- Format Data (button on the right) + Type "yes" on the keyboard popup
- Reboot
- To boot TWRP from MIUI : reboot menu + keep Volume UP pressed.
- To boot from phone off : power button + Volume UP
TWRP can now auto-decrypt your crypted /data partition so you can make backup with no issue.
This is a big fix that prevent to loose your fingerprint and pattern ...
For MIUI users, you must flash the fstab.zip fix after flashing your MIUI rom !!!
Enjoy ! :good:
Update : 2019-11-05
-version : 3.3.1-0
-busybox update
-terminal fixed
-stable and optimized : setting lockscreen pattern and fingerprint on the first boot is no longer needed !
BE SURE WHEN YOU WIPE YOUR DATA, YOU KEEP THE "4 FOLDERS BELOW + .layout_version". THESE ARE YOU ENCRYPTION DATA. IF YOU DELETE THEM, YOU WILL NOT BE ABLE TO RESTORE YOUR DATA BACKUP UNTIL YOU FORMAT YOUR DATA AGAIN.
TRICK TO SAVE YOUR LIFE : ALWAYS KEEP YOUR BACKUPS ON THE EXTERNAL STORAGE !!!
Download
link
XDA : DevDB Information
TWRP, Tool/Utility for the Mi 9 Lite / Mi CC9 (pyxis)
Contributors
gringo80
Source Code 1 : https://github.com/TeamWin
Source Code 2 : Prebuilt Recovery Kernel from MIUI
Version Information
Status : Stable
Release Date : 2019-11-05
Any screenshot?
Thank you for the contribution, is it required to flash the zip to prevent encryption after each rom flash ??
j0an said:
Thank you for the contribution, is it required to flash the zip to prevent encryption after each rom flash ??
Click to expand...
Click to collapse
To prevent encryption, go to twrp homescreen and choose "format data" and type "yes"... but before that, make your data backup on the external-sd ! (the first thing i do on all my devices)
Please use the official beta build !
:good:
gringo80 said:
Please use the official beta build !
:good:
Click to expand...
Click to collapse
Where's the download link? Maybe I'm blind....
oieNao said:
Where's the download link? Maybe I'm blind....
Click to expand...
Click to collapse
Update : vbmeta Fix is available (the patch is no longer needed)
Please download the latest build from 2019-10-27 (11:25:55) . This is the final build.
Read the OP !
Awesome.
Will you bring more goodness to our device, like custom roms?
Sent from my MI 9 Lite using Tapatalk
tiagorodrigueez said:
Awesome.
Will you bring more goodness to our device, like custom roms?
Sent from my MI 9 Lite using Tapatalk
Click to expand...
Click to collapse
I'm working on a GSI patch. The builds (AOSP-PixelExperience-LineageOS) boot but stuck on bootanimation.
For information, our device is treble ready : so the builds to use are arm64-ab (yes ab not aonly) !
Also suitable for the Mi 9 Lite?
gringo80 said:
Update : vbmeta Fix is available (the patch is no longer needed)
Please download the latest build from 2019-10-27 (11:25:55) . This is the final build.
Read the OP !
Click to expand...
Click to collapse
what is the vbmeta.img file? never encountered something like this in other phones
mikdo said:
Also suitable for the Mi 9 Lite?
Click to expand...
Click to collapse
yes, i have the mi 9 lite !
sorry for noob question, but what happen if I don't format data after flashed twrp?
gringo80 said:
I'm working on a GSI patch. The builds (AOSP-PixelExperience-LineageOS) boot but stuck on bootanimation.
For information, our device is treble ready : so the builds to use are arm64-ab (yes ab not aonly) !
Click to expand...
Click to collapse
It's a surprise to be ABdevice. Some people on our telegram group already tested havoc builds and booted but had some bugs on 4g and offline charging.
Sent from my MI 9 Lite using Tapatalk
holymoz said:
what is the vbmeta.img file? never encountered something like this in other phones
Click to expand...
Click to collapse
vbmeta means verified boot signature. the vbmeta.img provided here bypass this verification !
tiagorodrigueez said:
It's a surprise to be ABdevice. Some people on our telegram group already tested havoc builds and booted but had some bugs on 4g and offline charging.
Sent from my MI 9 Lite using Tapatalk
Click to expand...
Click to collapse
It depends on the kernel used. You can modify the kernel as you want to make it aonly or A/B. Here, the stock kernel provided by xiaomi is for A/B buils. That's it ! I want to make a patch so to keep the stock kernel untouched ! (Modded kernels are never perfect)
When i flash the recovery, i am stuck at the twrp boot image. What to do?
jbsabado28 said:
When i flash the recovery, i am stuck at the twrp boot image. What to do?
Click to expand...
Click to collapse
download the last build and flash vbmeta
(OP)
holymoz said:
sorry for noob question, but what happen if I don't format data after flashed twrp?
Click to expand...
Click to collapse
you can't access to the internal storage content. better to decrypt by formatting data !
tiagorodrigueez said:
It's a surprise to be ABdevice. Some people on our telegram group already tested havoc builds and booted but had some bugs on 4g and offline charging.
Click to expand...
Click to collapse
please send the link on pm
---------- Post added at 11:33 PM ---------- Previous post was at 11:30 PM ----------
gringo80 said:
I'm working on a GSI patch. The builds (AOSP-PixelExperience-LineageOS) boot but stuck on bootanimation.
For information, our device is treble ready : so the builds to use are arm64-ab (yes ab not aonly) !
Click to expand...
Click to collapse
Its sad that they didnt boot... Cant wait to see some rom's working treble or not

[RECOVERY][UNOFFICIAL] TWRP for Galaxy S20 FE 5G (Snapdragon)

{
"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 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or your getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
Supported Models:
Galaxy S20 FE 5G G7810, G781B, G781N, G781U, G781U1, G981W and G780G (4G).
US/Canada bootloader unlock thread:
here
Download & Guide:
1. Unlock your bootloader.
2. Download S20 FE 5G: r8q.
3. Reboot to download mode and flash vbmeta_disabled.tar in AP slot and reboot. Device will reboot to stock recovery mode prompting you to wipe data so wipe data and reboot to download mode again.
4. Put the TWRP tar for your device with Odin in the AP slot and click start.
5. Reboot to recovery via recovery key combo.
6. Disable encryption:
- Go to Advanced > Terminal, type: multidisabler.​If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.​- Type: multidisabler again. will see - Finished. when done.​7. Go back to Wipe > Format Data > type yes.
8. Reboot to recovery.
9. Flash magisk apk in twrp.
10. Reboot to system, Enjoy.
Note:
To disable encryption manually:
You need to replace fileencryption=ice with encryptable=ice only in userdata line (maybe rest lines) in vendor/etc/fstab.qcom
To avoid stock recovery restoration manually:
Rename system/recovery-from-boot.p to recovery-from-boot.p.bak
Click to expand...
Click to collapse
Support:
Live support is available via #twrp on Freenode with your IRC client or just click this link.
Telegram group
Bugs:
- Encryption not fully working.
Thanks:
TWRP team
@ooobs007 for testing on S20 FE 5G G781B
ianmacd for multidisabler
Sources:
Kernel tree
Device tree
Changelog:
02.06.2022 - Update to Android 12 kernel source
- Fix mount issues
- Update to TWRP 3.6.2
29.11.2021 - Update to TWRP 3.6.0
- Add Symlinked dynamic partitions to fstab
- Updated to latest kernel source
- Update multidisabler
- fstab clean up
- Fix haptic feedback
23.05.2021 - Update to latest TWRP source, update kernel to G781BXXU3CUD6.
03.03.2021 - Update to latest TWRP source, Add terminal multidisabler script. fstab cleanup.
22.01.2020 - Fix USB-OTG for Q & R builds.
15.01.2020 - Initial build for Android 11
31.12.2020 - Update TWRP to 3.5.0
15.11.2020 - Add TWRP fastbootd support, Move kernel to gz format.
11.11.2020 - Initial Release.
Hello,
Thank you very much my friend .
my phone Unlock bootloader ok
install Magisk Manager ok
-----------------------------
just ı want twrp
please exynos s20 fe
arlequin2k3 said:
Hello,
Thank you very much my friend .
Click to expand...
Click to collapse
Welcome, Enjoy.
bylumax said:
my phone Unlock bootloader ok
install Magisk Manager ok
-----------------------------
just ı want twrp
please exynos s20 fe
Click to expand...
Click to collapse
Exynos not supported. maybe in future.
afaneh92 said:
Supported Models:
Galaxy S20 G7810, G781N, G781U, G781U1 and G981W.
Click to expand...
Click to collapse
So it doesn't work with the G781B version, right?
ilMerovingio said:
So it doesn't work with the G781B version, right?
Click to expand...
Click to collapse
Should work with any Snapdragon version with an unlockable bootloader, therefore any non US Fe version.
ilMerovingio said:
So it doesn't work with the G781B version, right?
Click to expand...
Click to collapse
Oh, sorry forgot to add it.
It was tested on G781B.
Hello ,
Okay I just tried to install twrp. So the installation went well but the concern is that it does not recognize my sd card and therefore cannot access the multidisabler and magik files to continue ....
I also tested by putting everything on a usb key and the same problem .....
arlequin2k3 said:
Hello ,
Okay I just tried to install twrp. So the installation went well but the concern is that it does not recognize my sd card and therefore cannot access the multidisabler and magik files to continue ....
I also tested by putting everything on a usb key and the same problem .....
Click to expand...
Click to collapse
You can push them through adb to any place like root / or /data
Also you can use external sd!
Try to copy files to sdcard while you booted to system!
USB OTG will be fixed next build.
afaneh92 said:
You can push them through adb to any place like root / or /data
Also you can use external sd!
Try to copy files to sdcard while you booted to system!
USB OTG will be fixed next build.
Click to expand...
Click to collapse
Your idea to connect the pc to the phone to seem to work. Twrp recognized the twrp file on my disk and I introduced the 2 files. And there it worked .... Thank you very much for the idea.
Silly question but can I still install OTA updates if I unlock bootloader/flash custom recovery or root the phone? And will stock recovery flash every time I install OTA update?
Thanks in advance
Is there magisk that we can root? Any guides on it please.
Huberttus said:
Silly question but can I still install OTA updates if I unlock bootloader/flash custom recovery or root the phone? And will stock recovery flash every time I install OTA update?
Thanks in advance
Click to expand...
Click to collapse
Flashing multidsabler make some changes to system and vendor. So no OTA, Flash full firmware instead.
Nchls said:
Is there magisk that we can root? Any guides on it please.
Click to expand...
Click to collapse
Flash magisk zip in TWRP or patch boot.img using magisk manager and flash via odin.
New build up!
15.11.2020 - Add TWRP fastbootd support, Move kernel to gz format.
After installing this will i use knox stuff like secure folder?
tabish84 said:
After installing this will i use knox stuff like secure folder?
Click to expand...
Click to collapse
No, you need to fix them to work again.
Hello ,
This update can be installed directly or must first be installed the 1st version. I ask this question given the size difference between the 2. Thank you for your answer .
arlequin2k3 said:
Hello ,
This update can be installed directly or must first be installed the 1st version. I ask this question given the size difference between the 2. Thank you for your answer .
Click to expand...
Click to collapse
Yes can be flashed directly, You can see in changelog that we moved to gzip format, that explain the size difference.
afaneh92 said:
No, you need to fix them to work again.
Click to expand...
Click to collapse
Where is the fix?

Categories

Resources