[Recovery][EMUI 8.x][Mate 9][Unofficial]TWRP 3.2.1-0 [28/04/2018] - Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D

Disclaimer​This software comes wth no warranty,XDA staff ,myself or TeamWin stuff can't be hold responsible for any damage it may cause to your device.
Note: Currently Oreo 8.1 custom roms are not supported,only stock EMUI 8.x .
Download and Installation​
* Download twrp recovery
* Start your device in fastboot mode
* Install the recovery using the following command:
Code:
fastboot flash recovery_ramdisk [filename].img --> ex: fastboot flash recovery_ramdisk twrp_mate9_0.1.img
* Restart with this command:
Code:
fastboot reboot
* As soon as you execute the restart command,remove the USB cable and keep pressing Volume UP,so the device will boot to TWRP.This is to avoid that the device boot to OS,overwritting TWRP recovery.
Features​
Internal storage decryption = working
MTP and OTG connection = working
Backup&Restore = working
Note: There are no sources for this yet,because is based on the work of @zxz0O0 ,from Honor 9.
Contributors
**** Pretoriano80
**** @zxz0O0 - This wouldn't be possible without this guy,so big big thank to him.I used his base to make this recovery work ,so in sign of respect his nick will also be on the TWRP boot screen.Thank again buddy!
**** TeamWin project ,obviously.
**** @Tecalote - He was the main tester for this version and also he was the one that convinced me to open this thread in first place
**** @Blackball
**** Team OpenKirin - thanks for the "Oem Path wipe esclusion" code
Download links
twrp_mate9_0.1.img - initial release

Thank you for such a great project!

I am very happy with this TWRP. Everything is working so far on EMUI, Android 8.
Data wipe is possible, cause OEM Path is excluded.
Vendor.img and System.img and recovery_ramdisk can be flashed by choosing img to the related img.
Backup, restore of all shown Partitions working perfectly.
Decryption of storage if using Fingerprint /PIN is working. Full encryption support for data..
Many thanks to @Pretoriano80 for this awesome and first most complete TWRP for Mate 9 :good::good:
BTW: @Blackball had tested this TWRP for P10 Plus and it is also working on this Device (so it will run also on P10).
Many thanks for testing too :good:

This is good to know... Going to have to give this TWRP a try. So what, to decrypt data, do I just have to format data in TWRP or?

Wirmpolter said:
This is good to know... Going to have to give this TWRP a try. So what, to decrypt data, do I just have to format data in TWRP or?
Click to expand...
Click to collapse
Format data is only necessary if installing AOSP based Roms which require this (in installation guide)
But for Stock Firmware you don't need to decrypt (format) anything because encryption is fully supported
Of course, you can't install older Stock based Custom Rom which mount data in the updater-script without /dev/block/dm-0

I tried to installed on my Huawei mate using RR remix treble Rom, but It doesn't work, it just boot on the TWTP logo then boot up again.

osk4rin said:
I tried to installed on my Huawei mate using RR remix treble Rom, but It doesn't work, it just boot on the TWTP logo then boot up again.
Click to expand...
Click to collapse
We are aware of this, but this is the initial release.
It's fully working on EMUI for now.

Tecalote said:
We are aware of this, but this is the initial release.
It's fully working on EMUI for now.
Click to expand...
Click to collapse
Oh right, thanks.

Seems to work perfectly, in my case the rom doesn't even seem to be overwrite twrp upon normal boot
Thanks a lot!

osk4rin said:
Oh right, thanks.
Click to expand...
Click to collapse
If you (or anyone else) are still having/testing a custom rom, please send me /system/build.prop and vendor/build.prop.

i end up with error 255 on huawei mate 9 rooted oreo mha-l29 8.0.0.360(c567)
when i try to backup and at the beginning of twrp boot it ask me for a password

Caguayote said:
i end up with error 255 on huawei mate 9 rooted oreo mha-l29 8.0.0.360(c567)
when i try to backup and at the beginning of twrp boot it ask me for a password
Click to expand...
Click to collapse
If it's ask for password, then insert the same passwords/pin/pattern that you are using in Android, so TWRP can decrypt the internal storage.
That's the whole purpose of having a TWRP with decryption support.

10-4
Thank you for the clarification

Pretoriano80 said:
If you (or anyone else) are still having/testing a custom rom, please send me /system/build.prop and vendor/build.prop.
Click to expand...
Click to collapse
how can I get them?

osk4rin said:
how can I get them?
Click to expand...
Click to collapse
If your Phone is rooted, with Root Filemanager like FX Explorer or Mixplorer you can copy from /system/build.prop and /vendor/build.prop

Work this nougat .. ??

Tecalote said:
If your Phone is rooted, with Root Filemanager like FX Explorer or Mixplorer you can copy from /system/build.prop and /vendor/build.prop
Click to expand...
Click to collapse
I just attached the build.pro files .Using RR remix treble project

Hi, I really appreciate this recovery, just have one question: is there a way to enter the decryption pwd only once and not with every TWRP start? Would make things easier (even I understand the current way is much safer...). Thanks and respect!

_Nostromo_ said:
Hi, I really appreciate this recovery, just have one question: is there a way to enter the decryption pwd only once and not with every TWRP start? Would make things easier (even I understand the current way is much safer...). Thanks and respect!
Click to expand...
Click to collapse
No, it's designed to work like this!

Pretoriano80 said:
No, it's designed to work like this!
Click to expand...
Click to collapse
Ok, thought so, it definitely makes sense, just being a bit lazy... Thanks a lot for your prompt response, Pretoriano80! :good:

Related

[TWRP][3.0.2][Official]Huawei P8 (GRA-L09)

TWRP 3.x.x​Latest version of Twrp recovery from TeamWin for Huawei P8 has finally become official.
Although it should work on every P8 model, it has only been tested on GRA-L09.
If you own a different model and want to test, write me a PM.
Sources:
https://github.com/TeamWin/android_device_huawei_grace
Download:
twrp.me device page
Credits
Team Win for their amazing project
Thanks to:
@nexolight because she made me start develop in the custom roms universe
@bigbiff for his kindness and patience
*reserved
It's love to be able to use TWRP to install stock ROMs.
touch don't work always
Edit: my bad, work perfectly
Can I flash over B380 ? And what version of cf root I need? Thanks.
Sent from my HUAWEI GRA-L09 using Tapatalk
dani_z said:
Can I flash over B380 ? And what version of cf root I need? Thanks.
Sent from my HUAWEI GRA-L09 using Tapatalk
Click to expand...
Click to collapse
Any MM firmware will be good.
supersu > 2.78 should work.
On my P8 GRA-L09 with TWRP 3.1.0-0 I can't make backups on my NTFS-formatted SD card. It says that It's read-only but works with a FAT32 SD card.
erayrafet said:
On my P8 GRA-L09 with TWRP 3.1.0-0 I can't make backups on my NTFS-formatted SD card. It says that It's read-only but works with a FAT32 SD card.
Click to expand...
Click to collapse
It doesn't have NTFS write support.
AD2076 said:
It doesn't have NTFS write support.
Click to expand...
Click to collapse
Would you add it?
erayrafet said:
Would you add someday?
Click to expand...
Click to collapse
Some day
F2FS too.
Feel free to create a pull request here if you wanna help
AD2076 said:
Some day
F2FS too.
Feel free to create a pull request here if you wanna help
Click to expand...
Click to collapse
I'm sorry but I'm not a Dev.
The touchscreen doesn't work sometimes when booted in TWRP and gets fixed after pressing the power button twice.
erayrafet said:
The touchscreen doesn't work sometimes when booted in TWRP and gets fixed after pressing the power button twice.
Click to expand...
Click to collapse
It should work, I'll look at your logs. Thanks
TWRP Freezes?
I can confirm the issue that @erayrafet said on my GRA-UL00, as he said TWRP freezes sometimes and we need to lock and unlock the phone to fix it (Maybe because different model?), also aroma touchscreen freezes when installing my own private custom ROM (not sure if it is my zip issue or TWRP) as I can use vol+ and vol- and power button to navigate. Anyway you can find the log in the attachments.
Thank you very much for your help and efforts!!!!
3.1.1-0: "adb logcat" doesn't work
"adb logcat" doesn't work for me:
Code:
$ /usr/local/android/platform-tools/adb logcat
/sbin/sh: exec: line 1: logcat: not found
It seems this binary is not contained within our TWRP build:
Code:
~ # find / -name logcat -print
~ #
Am I the first one to encounter this?
ralfbergs said:
"adb logcat" doesn't work for me:
It seems this binary is not contained within our TWRP build:
Am I the first one to encounter this?
Click to expand...
Click to collapse
Have you already updated to the newest version for our device ()v. 3.1.1.0)?
Paloik said:
Have you already updated to the newest version for our device ()v. 3.1.1.0)?
Click to expand...
Click to collapse
Yes, sure, forgot to mention that, sorry...
For huawei p8 lite 2017 (pra-lx1) ?
takoa said:
For huawei p8 lite 2017 (pra-lx1) ?
Click to expand...
Click to collapse
https://forum.xda-developers.com/p8...on/recovery-twrp-huawei-p8-lite-2017-t3591762
Hey guys,
i feel a bit like an idiot...
I'm not able to boot in the twrp recovery
I tried to reboot via fastboot, manual by holding volume + and power...But always the stock recovery boots and not the twrp 3.1.1.0 on my gra-l09c432B398.
Why am I not able to do it?

[Recovery][17.02.2017][3.0.3] Unofficial TWRP for the Huawei Nova (hwcan)

TeamWin Recovery Project 3.0.3
WARNING #1: 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.
WARNING #2: 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.
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.
HOW-TO UNLOCK BOOTLOADER
Get bootloader Unlock code here (for more Information look in this thread)
Install minimal adb and fastboot
Plug in your phone and make sure all huawei drivers got installed
Enable developer options in settings as described above.
Enable OEM unlock, enable USB debugging (both in developer options)
Open the adb tool you installed recently
Type fastboot devices (now a device number should show up)
Type fastboot reboot-bootloader (your phone will now boot into bootloader, if not, you haven't set up drivers or adb/fastboot correctly)
This step will wipe all your data! Type:
Code:
fastboot oem unlock xxxxxxxxxxxxxxxx
(xx is for your unlock code)
Ones it's done type:
Code:
fastboot reboot
Your phone will reboot and you have an unlocked bootloader!
You can now go on installing TWRP on your device
HOW-TO INSTALL
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
Have an unlocked bootloader is required! (In my case, I called huawei and received the unlock code 12 hours later)
Download the TWRP recovery from the download section below
Make sure you got fastboot drivers installed (I will describe this below in how to unlock your bootloader)
Open the adb/fastboot application on your pc and go to the directory where your TWRP img file is downloaded
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)
Check again if there is written: unlocked phone!
If yes type now into your adb/fastboot terminal:
Code:
fastboot flash recovery twrp_huawei_generic_a53_YYYYMMDD.img
Type:
Code:
fastboot reboot
Now boot into recovery by pressing: power+volume up+volume down at the same time
Enjoy twrp
HOW-TO ROOT
Backup, just in case
Have an unlocked bootloader and TWRP installed from above (take one from december)
We will use this root method: Phh's superuser
Download latest official phh superuser zip here.
Put the zip on your external sd card of your phone (since we can't access /data in twrp)
Boot into twrp and flash the downloaded file
Install latest Material phh apk: Release post
Now you are rooted, congrats!
SUPPORTED DEVICES
CAN-L01
CAN-L11
MLA-L03
(Test your Device, if you want to take the risk, and I'll add it to this list )
DOWNLOAD
CHANGES
21.12.2016: First release.
22.12.2016: Backup all your partitions.
16.02.2017: Cleanup, little fixes bump to 3.0.3-0 (Note: Root is just supported for 3.0.2)
17.02.2017: Turn Crypto off again.
KNOWN ISSUES
Encryption is not supported yet!
SOURCE CODE
TWRP: TWRP source code (7.1 branch)
Device tree (International: hwcan (master branch)
CREDITS
TWRP master @jcadduono
For helping a newby: @Tkkg1994
CONTRIBUTIONS
Gerrit for TWRP: Omni gerrit
Gerrit for officially supported devices: TWRP gerrit
XDA:DevDB Information
TWRP for Huawei Nova, Tool/Utility for the Huawei Nova/Nova Plus
Contributors
Xelfmade
Source Code: https://github.com/Xelfmade/android_device_huawei_hwcan
Version Information
Status: Beta
Current Beta Version: 3.0.3-0
Beta Release Date: 2016-12-22
Created 2016-12-21
Last Updated 2017-02-17
XDA:DevDB Information
TWRP for Huawei Nova, Tool/Utility for the Huawei Nova/Nova Plus
Contributors
Xelfmade
Source Code: https://github.com/Xelfmade/android_device_huawei_generic_a53
Version Information
Status: Beta
Current Beta Version: 3.0.3-0
Beta Release Date: 2016-12-22
Created 2016-12-21
Last Updated 2017-02-17
Great! Thanks for this big step for this wonderful device!
Download link for the twrp image does not work...pls help
mshinni80 said:
Download link for the twrp image does not work...pls help
Click to expand...
Click to collapse
AndroidFileHost has some problems right now..show a little patience and look a little later for it..
Cheers xelfmade! Just wanted to ask if this is specifically for the nova or the nova plus? Or is it compatible with both models? Thanks!
Can we backup all partitions and restore them (with decrypted data off course)?
And does knock on screen to take screenshot work? Someone told it don't work anymore after root?
uchihasparky said:
Cheers xelfmade! Just wanted to ask if this is specifically for the nova or the nova plus? Or is it compatible with both models? Thanks!
Click to expand...
Click to collapse
You can try it on the Nova plus and report me if it works or not. If it doesn't work write me a private message and I sent you the stock recovery.. ?
merlin21 said:
Can we backup all partitions and restore them (with decrypted data off course)?
And does knock on screen to take screenshot work? Someone told it don't work anymore after root?
Click to expand...
Click to collapse
Not now, I'll upload a newer version were you can backup and restore all partitions..
I'm rooted and it just works. I think it's because he formatted /data for decrypt it.
good morning...can I also use SuperSU. Coz I would prefer that over Phh's superuser.
I assume that it won't make a difference, but I want to be sure!
Thx in advance
mshinni80 said:
good morning...can I also use SuperSU. Coz I would prefer that over Phh's superuser.
I assume that it won't make a difference, but I want to be sure!
Thx in advance
Click to expand...
Click to collapse
You can try it, but I don't expect it to work..
Xelfmade said:
I'm rooted and it just works. I think it's because he formatted /data for decrypt it.
Click to expand...
Click to collapse
What should I try first to don't get this problems? Don't touch data while installing twrp and phhs su?
I'm on can-11 and believe my data is encrypted from original rom?!
And did you edit the config file in superuser. zip?
The linked one has following setting :
eng verity crypt
I cant access data or anything else in TWRP... I dont have an sd-card yet. is there no other way to install the superuser zip??
mshinni80 said:
I cant access data or anything else in TWRP... I dont have an sd-card yet. is there no other way to install the superuser zip??
Click to expand...
Click to collapse
To get access on /data, you have to format it in the wipe menu.
merlin21 said:
What should I try first to don't get this problems? Don't touch data while installing twrp and phhs su?
I'm on can-11 and believe my data is encrypted from original rom?!
And did you edit the config file in superuser. zip?
The linked one has following setting :
eng verity crypt
Click to expand...
Click to collapse
No I don't.
So if we don't wipe the data partition we could read it like before after root? And is the data encrypted afterwards?
Sorry for so many questions [emoji56]
merlin21 said:
So if we don't wipe the data partition we could read it like before after root? And is the data encrypted afterwards?
Sorry for so many questions [emoji56]
Click to expand...
Click to collapse
We can't read /data wether the phone is rooted or not..
The phone is encrypted as soon as you choose a locking method.
-=MoRpH=- said:
To get access on /data, you have to format it in the wipe menu.
Click to expand...
Click to collapse
So I have to wipe it again, like it happened after unlocking the bootloader? Then I could plug it and copy the zip file on the internal storage to run it?
If u use the latest version, try the following steps:
-- First format /data
-- reboot the Recovery
-- copies the files from your pc to the internal storage
Gesendet von iPhone mit Tapatalk
work for Europe version CAN-L11
my mobile was rooted with some error but root work perfect and thx again. willing to soon see cyanogen roms
-=MoRpH=- said:
If u use the latest version, try the following steps:
-- First format /data
-- reboot the Recovery
-- copies the files from your pc to the internal storage
Gesendet von iPhone mit Tapatalk
Click to expand...
Click to collapse
so format /data is inevitable?
Yes
Gesendet von iPhone mit Tapatalk

Huawei P smart TWRP 3.2.1-0 EMUI 8.0 New update 05.06.2018

Huawei P smart TWRP 3.2.1-0 EMUI 8.0​FIG-LX1
Features:
Decryption DATA = works
• MTP and OTG = working
• Backup and Recovery = works
Note:
If you ask for a password to decrypt data
pin-code or password (it's worth it) to enter the screen you need to enter.
fastboot flash recovery_ramdisk twrp_p_smart.img
Автор: @Pretoriano80 XDA
@Pretoriano80 XDA
New TWRP 05.06.2018
fixed mounting problems, I corrected it (added images for firmware, including and here, added sections for wipe and backup).
Download New 05.06.2018
https://drive.google.com/file/d/1U68vtVbVwf4y1EELlOigLS6Wemc0A_P6/view?usp=drivesdk
Download
Stock recovery
https://drive.google.com/file/d/1dFFjCG2xeg9E08SZFA7jC9y21iX1sJgD/view?usp=drivesdk
Installation instructions for twrp
Preliminarily you must enable the factory unlock and unlock the loader.
ADB P SMART is allocated to the disk C better than one files with the image twrp, then start the search in Windows, the command line open from the administrator, then enter the command, but the phone must be in fastboot on the switched off phone, press the volume swing - and connect the cable install drivers, then on the command line write fastboot flash recovery_ramdisk twrp_p_smart.img Enter wait as all the settings, fastboot reboot. Reboot to the system there by clicking the volume swing + should get into TWRP.
DOWNLOAD ADB TWRP
https://drive.google.com/file/d/1GDUfPmDPf6Rp1o0dwdNoSeUC74JZGCiy/view?usp=drivesdk[\HIDE]
DOWNLOAD DRIVERS
[url]https://yadi.sk/d/YTsmimThu5nNK[/url][\HIDE]
Is this the same twrp a reported by ChinHon here?
https://forum.xda-developers.com/general/general/how-to-root-huawei-p-smart-fig-lx1-t3752705
andymore said:
Is this the same twrp a reported by ChinHon here?
https://forum.xda-developers.com/general/general/how-to-root-huawei-p-smart-fig-lx1-t3752705
Click to expand...
Click to collapse
This is a new, updated Recovery TWRP, not as if it's not about ChinHon it. Here, almost everything works, except for the erecovery section.
andymore said:
Is this the same twrp a reported by ChinHon here?
Click to expand...
Click to collapse
This is a new, updated Recovery TWRP, not as if it's not about ChinHon it. Here, almost everything works, except for the erecovery section.
Are there any issues performing wipes / factory resets with this version?
mwarner said:
Are there any issues performing wipes / factory resets with this version?
Click to expand...
Click to collapse
Problems were not observed, reset settings, formatting is working.
with the old Twrp from ChincHon I had many problems FCs but with these I have no problems with AoKP and Ressurection Remix super finally a useful Recovery Thank you for that
Dude, THANK YOU. Every other guide I read for installing TWRP on the P Smart just said to run fastboot flash recovery <filename> and it never worked. Following your instructions has gotten the recovery installed.
Saying that though; I've booted into recovery and all I've got is TWRP splash page. Anyone else had that issue?
noobstyle1337 said:
with the old Twrp from ChincHon I had many problems FCs but with these I have no problems with AoKP and Ressurection Remix super finally a useful Recovery Thank you for that
Click to expand...
Click to collapse
Not at all, if any problems write to me.
Trism said:
Dude, THANK YOU. Every other guide I read for installing TWRP on the P Smart just said to run fastboot flash recovery <filename> and it never worked. Following your instructions has gotten the recovery installed.
Saying that though; I've booted into recovery and all I've got is TWRP splash page. Anyone else had that issue?
Click to expand...
Click to collapse
You put on the official firmware p smart? With the modified kernel, there are some problems with the twrp input.
mak6021 said:
You put on the official firmware p smart? With the modified kernel, there are some problems with the twrp input.
Click to expand...
Click to collapse
Ah, good point. I installed AOSP 8.1 first, then installed TWRP. Any advice on what I can do to get around this? Is there a different version of TWRP I could try?
Trism said:
Ah, good point. I installed AOSP 8.1 first, then installed TWRP. Any advice on what I can do to get around this? Is there a different version of TWRP I could try?
Click to expand...
Click to collapse
I updated twrp in the post look at the beginning of the second link to download. Maybe it will do
.Try in erecovery to install twrp
where do i find the stock recovery if i want to restore it ???
where do i find the stock recovery for the p smart fig la1 if i want to restore it ???
ilyes9999 said:
where do i find the stock recovery for the p smart fig la1 if i want to restore it ???
Click to expand...
Click to collapse
Download
Stock recovery
https://drive.google.com/file/d/1dFFjCG2xeg9E08SZFA7jC9y21iX1sJgD/view?usp=drivesdk
[/QUOTE]
with Resurrection Remix everything works best no Fcs everything top only load lasts 4 hours
fig la1 ?
does it work for fig la1
noobstyle1337 said:
with Resurrection Remix everything works best no Fcs everything top only load lasts 4 hours
Click to expand...
Click to collapse
Honestly I do not know what this download is 4 hours is not very good.
And where to download Resurrection Remix for Huawei P Smart or enjoy 7s?
ilyes9999 said:
does it work for fig la1
Click to expand...
Click to collapse
Yes it works.
mak6021 said:
Honestly I do not know what this download is 4 hours is not very good.
And where to download Resurrection Remix for Huawei P Smart or enjoy 7s?
Click to expand...
Click to collapse
Oh sorry for my Bad english ..Batterie loading is 4 hours it is a bit slow
test assembly, it is possible to solve some problems.
If something does not work, write here.
Download.
https://drive.google.com/file/d/1PSbZCc6UdelMag56kTKVebpajItGtWnM/view?usp=drivesdk

[RECOVERY][UNOFFICIAL] TWRP 3.5.0

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:
#include <std_disclaimer.h>
/*
*
* 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.
*
*/
Install guide:
Boot :
Code:
fastboot boot <twrp.img>
Install :
Code:
fastboot flash recovery <twrp.img>
Download:
twrp-3.5.0-0-rav-sofia.img
drive.google.com
XDA:DevDB Information
TWRP, Tool/Utility for the Moto G8
Contributors
vache
Source Code: https://github.com/TeamWin/android_bootable_recovery
Version Information
Status: Beta
Beta Release Date: 2020-08-28
Created 2020-08-28
Last Updated 2020-08-31
Hello, I'm trying to port TWRP to the motorola edge plus and right now I'm running into an issue where my touchscreen and adb do not work. Could you publish the device tree you used here so I can take a look at it and potentially get it working on my phone?
Thanks.
pixlone said:
Hello, I'm trying to port TWRP to the motorola edge plus and right now I'm running into an issue where my touchscreen and adb do not work. Could you publish the device tree you used here so I can take a look at it and potentially get it working on my phone?
Thanks.
Click to expand...
Click to collapse
You'd better check the moto edge tree : https://github.com/boulzordev/android_device_motorola_racer/tree/twrp
Unified one for trinket devices is here : https://github.com/moto-sm6xxx/android_device_motorola_sofiar/tree/twrp
Where to look at :
recovery/root/vendor/firmware - firmwares for touchscreen and vibrator
recovery/root/sbin/modules - drivers for touchscreen/battery/vibrator
recovery/root/sbin/load_ts_firmware.sh - in charge to load modules and tell touchscreen driver which firmware to load
Just like to confirm that this is working great either booted or installed. Thanks for the hard work vache :good::good:
There is no system partition to install to in TWRP. Super is listed twice. It may be nice to know what partitions listed actually mean.
No checkbox activation:
System
Vendor
product
USB storage
swear000 said:
There is no system partition to install to in TWRP. Super is listed twice. It may be nice to know what partitions listed actually mean.
Click to expand...
Click to collapse
It would be nice to see users searching by themself.
Google for "dynamic partitions" and "fastbootd". That could also help you to understand why omni is shipped as images for now instead of flashable zip.
vache said:
You'd better check the moto edge tree : https://github.com/boulzordev/android_device_motorola_racer/tree/twrp
Unified one for trinket devices is here : https://github.com/moto-sm6xxx/android_device_motorola_sofiar/tree/twrp
Where to look at :
recovery/root/vendor/firmware - firmwares for touchscreen and vibrator
recovery/root/sbin/modules - drivers for touchscreen/battery/vibrator
recovery/root/sbin/load_ts_firmware.sh - in charge to load modules and tell touchscreen driver which firmware to load
Click to expand...
Click to collapse
Oh thanks, I didn't even know you had a moto edge tree. I'll take a look at it and see what I can do with it.
OMNI
vache said:
It would be nice to see users searching by themself.
Google for "dynamic partitions" and "fastbootd". That could also help you to understand why omni is shipped as images for now instead of flashable zip.
Click to expand...
Click to collapse
Most people agree OMNI is a great ROM. System, Vendor, and product are critical partitions for ROM flashing so I am surprised TWRP does not toggle them correctly.
Update : https://drive.google.com/file/d/17QLv1Pzq9x1FCzAYKULfUTwn3R0akMXI/view?usp=sharing
Changelog :
-Fixed Novatech touchscreen
vache said:
Update : https://drive.google.com/file/d/17QLv1Pzq9x1FCzAYKULfUTwn3R0akMXI/view?usp=sharing
Changelog :
-Fixed Novatech touchscreen
Click to expand...
Click to collapse
I can confirm that it is fixed. I used Magisk's adb/fastboot module to unlock my Moto G Fast with my rooted G7 Play with a USB C to C cable, boot twrp, and make a back up. This is epic!
It took some digging to figure this out, so I'm going to outline the steps for getting this installed without a boot loop.
1. Unlock your device. (I'm not holding your hand here.)
2. Reboot into fastboot.
3. Temporarily boot twrp.
4. Install magisk by flashing the latest zip from twrp. Then flash the copy partitions zip so you don't hard brick.
5. Reboot to system, and you're now rooted.
6. Reboot into recovery.
7. From stock recovery select "enter fastboot" this takes you to "fastboot d" mode.
8. Flash twrp while you're in fastbootd mode.
9. Enjoy! Everything is working perfectly. Rebooting to recovery takes you to TWRP. Rebooting to system gives you root. We also have full decryption support.
Great work
Spaceminer said:
I can confirm that it is fixed. I used Magisk's adb/fastboot module to unlock my Moto G Fast with my rooted G7 Play with a USB C to C cable, boot twrp, and make a back up. This is epic![/QUOTE @Spaceminer View attachment g8fast-nexus7.zip
([emoji88]Omni Rom[emoji88])
Click to expand...
Click to collapse
asineth said:
Great work
Click to expand...
Click to collapse
Great work fixing the Bluetooth audio [emoji817]
([emoji88]Omni Rom[emoji88])
is it to much to ask for a more through explanation on how to flash twrp and magisk on this phone?.....
ninjakira said:
is it to much to ask for a more through explanation on how to flash twrp and magisk on this phone?.....
Click to expand...
Click to collapse
If you have telegram I walk you threw it PoochyX
([emoji88]Omni Rom[emoji88])
PoochyX said:
If you have telegram I walk you threw it PoochyX
([emoji88]Omni Rom[emoji88])
Click to expand...
Click to collapse
just send the invite to whatever telegram group then i suppose.....
Spaceminer said:
It took some digging to figure this out, so I'm going to outline the steps for getting this installed without a boot loop.
1. Unlock your device. (I'm not holding your hand here.)
2. Reboot into fastboot.
3. Temporarily boot twrp.
4. Install magisk by flashing the latest zip from twrp. Then flash the copy partitions zip so you don't hard brick.
5. Reboot to system, and you're now rooted.
6. Reboot into recovery.
7. From stock recovery select "enter fastboot" this takes you to "fastboot d" mode.
8. Flash twrp while you're in fastbootd mode.
9. Enjoy! Everything is working perfectly. Rebooting to recovery takes you to TWRP. Rebooting to system gives you root. We also have full decryption support.
Click to expand...
Click to collapse
I'm rather new to the scene, everything you're saying here makes sense except the copypartions.zip. Is this something that is the same for all phones or is there a special file i should have for the g fast?
and still bootloop lmao, im doing the exact steps provided exactly as i see them on this thread, christ ill send 20 bucks through paypal to whoever makes a actual detailed guide with explanations on what to do like for example what is the copy partitions zip? whats it for? do i make a patched boot image first if im coming from full stock? do i do any of this to the other partition? treat it like your making it for noobs like christ is it that hard to help out now lmao
ninjakira said:
and still bootloop lmao, im doing the exact steps provided exactly as i see them on this thread, christ ill send 20 bucks through paypal to whoever makes a actual detailed guide with explanations on what to do like for example what is the copy partitions zip? whats it for? do i make a patched boot image first if im coming from full stock? do i do any of this to the other partition? treat it like your making it for noobs like christ is it that hard to help out now lmao
Click to expand...
Click to collapse
If you have done an OTA update on the phone, AFAIK you don't need the copy-partitions.zip. The zip copies needed partitions from the used slot to the unused slot. So if it does change from one to another, you aren't left with a completely blank slot with nothing on it. (As i said, if you have done a OTA update, both slots will be populated, so it isn't necessary to flash the zip..)
SOMEONE SMARTER THAN ME CORRECT ME IF IM WRONG ON THE ABOVE STATEMENT PLEASE
So.. assuming you are on clean stock and you have done an OTA update... In fastboot:
(make sure you have a magisk.zip on your phone or sd card)
Code:
fastboot flash recovery <twrpfilename>.img
Then enter recovery mode from the bootloader menu you are still in.
Wait for twrp to load, install magisk, reboot.
Profit.
Now you are rooted, with twrp permanently installed.
p.s: Keep the 20 bucks and send it to vache :silly:

[RECOVERY][OFFICIAL][TWRP-3.7.0_12] TWRP for POCO X2/k30

Code:
*** Disclaimer ***
All flashing is done at your own risk!
While nothing from this thread should break your device,
don't come back here blaming anyone if it does!
Introduction
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
Click to expand...
Click to collapse
Prerequisites:
Code:
. Unlocked Bootloader
Installation instructions:
Recovery Install Method:
Simply download the TWRP-3.5.1_10-0 from twrp website and flash it using fastboot mode, steps are mentioned below
Fastboot Install Method:
You will need the platform-tools from the Android SDK on your computer. Download only the platform-tools according to your device to get adb and fastboot binaries.
On your device, go into Settings -> About and find the Build Number and tap on it 7 times to enable developer settings. Press back and go into Developer Options and enable USB debugging. From your computer, open a command prompt and type
Code:
adb reboot bootloader
You should now be in fastboot mode.
Download the zip file attached to this thread and copy the recovery.img file into the same folder as your adb and fastboot binaries and type:
Code:
fastboot flash recovery recovery.img
Code:
fastboot oem reboot-recovery
REMEMBER: is important that from fastboot you directly go in TWRP mode or the TWRP will be overwritten.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Device Changelog
Version:3.5.1-10-0:
Initial Official Release
Click to expand...
Click to collapse
Version: 3.5.1_10-0-2:
Upstreamed to 3.5.1_10.0
Fixed issue related to fs of ext_media
Fixed issue related to format data
Click to expand...
Click to collapse
Version: 3.5.0_10-0-1:
Fixed Android 11 loop errors
Click to expand...
Click to collapse
Version: 3.5.0_10-0:
Initial Stable version
Fastbootd Mode Working Fine
Adb sideload Working Fine
A11 decryption working Fine
Nandroid Backup and Restore Working(not tested on miui)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads
Official TWRP Website
My Telegram TWRP Support Group:
Poco X2 | Recoveries
Recovery Support For Poco X2 Rules: 1. Dont spam 2. Be polite and help others 3. No Purn spam 4. English is recommended
t.me
Credits:
Huge thanks to @Captain_Throwback for his guidences
Sources
TWRP: https://github.com/TeamWin/android_bootable_recovery
Device Tree: https://github.com/TeamWin/android_device_xiaomi_phoenix
Kernel Tree: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/phoenix-q-oss
Status: Stable
TWRP: 3.5.1_10
Nice. Hope it go official soon
Has anybody tried this? Time zone settings, display time out setting, none of the settings are saving. It goes back to default after reboot. I installed the zip via older version of TWRP. I tried installing via Fastboot but it stuck on splash screen.
after formatting data and rebooting to recovery, copying files to device does not work. Internal storage does not show up. i have to reboot to system again to get copy to device working and get internal storage to show up again. this is a bug with every other twrp out there except the LR team one. Hope you fix this bug.
LEGACY710 said:
after formatting data and rebooting to recovery, copying files to device does not work. Internal storage does not show up. i have to reboot to system again to get copy to device working and get internal storage to show up again. this is a bug with every other twrp out there except the LR team one. Hope you fix this bug.
Click to expand...
Click to collapse
I have shared a new test build for that
Join the support group to test it
Hey, glad to see someone working on X2 TWRP again.
Normal versioning would be like 3.5.0_10-1 (then 3.5.0_10-2, etc.) not 3.5.0_10.0.1, by the way, but otherwise looking good over here!
osm0sis said:
Hey, glad to see someone working on X2 TWRP again.
Normal versioning would be like 3.5.0_10-1 (then 3.5.0_10-2, etc.) not 3.5.0_10.0.1, by the way, but otherwise looking good over here!
Click to expand...
Click to collapse
10.0.1 is just the incremental version by my side
HimanshuRaj said:
10.0.1 is just the incremental version by my side
Click to expand...
Click to collapse
Yeah normally the device-side increment is just the -1 or -2, etc. No worries though.
osm0sis said:
Yeah normally the device-side increment is just the -1 or -2, etc. No worries though.
Click to expand...
Click to collapse
Thankyou sir for telling me that, i wasn't knowing it,
Himanshu,
Does this twrp support android 11 rom flashing? And will it allow us to flash any phoenix roms on phoenixin phone?
Please make it official
AIDROOS said:
Himanshu,
Does this twrp support android 11 rom flashing? And will it allow us to flash any phoenix roms on phoenixin phone?
Click to expand...
Click to collapse
It supports android 11, only miui based on a11 is not supported yet
Yeh u can flash phoenix and phoenixin both
404fac said:
Please make it official
Click to expand...
Click to collapse
I don't know till how long i can maintain it, so i am not going for official,
And did official or unofficial matter ?
HimanshuRaj said:
I don't know till how long i can maintain it, so i am not going for official,
And did official or unofficial matter ?
Click to expand...
Click to collapse
For me it doesn't matter . . .
Installed it on Android 11..Internel storage shows 0
Mukit222 said:
Installed it on Android 11..Internel storage shows 0
Click to expand...
Click to collapse
Cuz it didn't support miui a11 rn
Hi, I have a poco x2(miui 12.1.2) and I'm looking to flash a custom rom. Can I use this safely? I'm new to all of this and I'd like to avoid bricking my phone by accident, If not, would you mind suggesting an alternative?
Mukit222 said:
Installed it on Android 11..Internel storage shows 0
Click to expand...
Click to collapse
Cuz of keymaster 4.1, it isn't supported by twrp as of now, but the team is working....
HimanshuRaj said:
Cuz of keymaster 4.1, it isn't supported by twrp as of now, but the team is working....
Click to expand...
Click to collapse
Eagerly Waiting ))
E:Unable to decrypt FBe device
help pls
I bought this phone in China,I think it is someting different from yours

Categories

Resources