[RECOVERY][OFFICIAL][TWRP-3.7.0_12] TWRP for POCO X2/k30 - Xiaomi Poco X2 ROMs, Kernels, Recoveries, & Other

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

Related

Cyanogenmod 12.1 by dgadelha (28.03 System + Kernel) FlashableZip

Hello guys i archived all dgadelha rom's (without mokee os) and i created dgadelha cm12.1 (28.03 version) flashable zip .
This zip is compatible with twrp 2.x.x.x and 3.x.x.x recovery's
Thanks for very good cm12.1 rom @dgadelha
How to flash it:
Step 1:
You should download files for flashing:
Flashable zip with Cm12.1 rom (Cm12.1-20160328-Flashable-Zip-By-Arda-Sen.zip): http://bit.ly/1qlknsJ
ADB v1.0.32: http://bit.ly/23Aw8dk
Recovery [Personal choice] :
Twrp 2.x.x.x : http://bit.ly/1VjtaIH
Twrp 3.x.x.x : http://bit.ly/1SvFHlV
Step 2:
1) Unpack archive with ADB and put TWRP image there.
2) Copy file with rom to internal/external memory of your phone.
3) Then you should reboot your phone in the droidboot mode. (turn off you gadget then press Turn off button and volume + button)
Then go to the ADB folder and hold Shift + Right Mouse button and write this command:
Code:
Recovery flash codes
For Twrp 2.x.x.x :
Code:
fastboot flash recovery new-zen5-reco.img
For Twrp 3.x.x.x :
Code:
fastboot flash recovery cm-13.0-20160410-UNOFFICIAL-T00F-recoverytwrp-3.0.M2-0.img
Then you should reboot your phone in the recovery mode. (turn off you gadget then press Turn off button and volume - button)
Step 3:
Then you phone will reboot in the recovery. In the recovery you should install package with rom.
Step 4:
After flashing, you should format (not wipe) data and cache in the TWRP.
Then you should reboot to system.
Enjoy.
Thanks @dgadelha
Main Thread : http://bit.ly/1N60Dnd
Does this work on zenfone 6?
Sent from my ASUS_T00F using XDA-Developers mobile app
tej12345 said:
Does this work on zenfone 6?
Sent from my ASUS_T00F using XDA-Developers mobile app
Click to expand...
Click to collapse
Yeah its work but sensors is dead
Try this (its builded my friend): http://forum.xda-developers.com/android/development/zenfone-6-cm12-1-t3352609
It is a rom modification.
dgadelha wrote that rom modification is denied.
And you violated this rule!
tank0412 said:
It is a rom modification.
dgadelha wrote that rom modification is denied.
And you violated this rule!
Click to expand...
Click to collapse
Nope its not a modification !
Im just created flashable zip !
tank0412 said:
It is a rom modification.
dgadelha wrote that rom modification is denied.
And you violated this rule!
Click to expand...
Click to collapse
And he is deleted this rule on cm12.1/cm13 thread
format?instead of wipe data? which recovery is the most stable?
emirfahimi said:
format?instead of wipe data? which recovery is the most stable?
Click to expand...
Click to collapse
My opinion is 2.x.x.x
Thanks! Is it stable and ready for daily use?
The original thread says experimental.
Thanks!
rafoca said:
Thanks! Is it stable and ready for daily use?
The original thread says experimental.
Thanks!
Click to expand...
Click to collapse
This is rom more stable in my opinion. Worth having a few tweaks, but it's not the fault of the developer.
MrPhodovisck said:
This is rom more stable in my opinion. Worth having a few tweaks, but it's not the fault of the developer.
Click to expand...
Click to collapse
Thanks!
Is this rom the same as this one, but with its latest version?
http://forum.xda-developers.com/zenfone-5/development/rom-cyanozenmod-12-1-t3299201
rafoca said:
Thanks!
Is this rom the same as this one, but with its latest version?
http://forum.xda-developers.com/zenfone-5/development/rom-cyanozenmod-12-1-t3299201
Click to expand...
Click to collapse
Yes, I think so.
rafoca said:
Thanks! Is it stable and ready for daily use?
The original thread says experimental.
Thanks!
Click to expand...
Click to collapse
Yup , its most stable cm rom
rafoca said:
Thanks!
Is this rom the same as this one, but with its latest version?
http://forum.xda-developers.com/zenfone-5/development/rom-cyanozenmod-12-1-t3299201
Click to expand...
Click to collapse
CyanoZenMod is based soo old source's probably knone or quan cm12.1 rom based but this rom is more stable ,liquid ,battery backup
The WiFi does not connect the Bluetooth does not work
reboot first or flash gapps first?
I did all the right steps: reboot in recovery, flash rom, flash gapps, format data and cache, reboot system.
Wi-fi wont work at all when the rom loads
rafoca said:
I did all the right steps: reboot in recovery, flash rom, flash gapps, format data and cache, reboot system.
Wi-fi wont work at all when the rom loads
Click to expand...
Click to collapse
Take a logcat with adb and send me
Code:
adb logcat > logcat.txt
TechGenius said:
Take a logcat with adb and send me
Code:
adb logcat > logcat.txt
Click to expand...
Click to collapse
I can't. I uninstalled the rom after trying multiple solutions for the Wi-Fi issue =/
rafoca said:
I can't. I uninstalled the rom after trying multiple solutions for the Wi-Fi issue =/
Click to expand...
Click to collapse
No problem and
*Spoiler*
I builded new cm12.1 rom and now testing this without any problem
*1 April Security Patch
*Lastest Sources

[Recovery][EMUI 8.x][Mate 9][Unofficial]TWRP 3.2.1-0 [28/04/2018]

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:

Unofficial TWRP 3.2.3-0 UA

Unofficial TWRP 3.2.3-0 UA​
F2FS Support
EFS & Persist backup support
Clean device tree
Based on Unlegacy-Android kernel
Regular updates
Known-issues
HTML:
- To be filled
Installation
HTML:
1. Go in fastboot mode (hold down Power + Vol down for few seconds.
# Or use flashers like Flasify/FlashFire and others
2. Open terminal window/command prompt to execute following commands:
fastboot erase recovery
fastboot flash recovery twrp_mako-3.2.3-0.img
3. With volume up and down select recovery mode and press power button
4. Enjoy your reboot in TWRP
Downloads:
Latest: AFH
Credits:
Special thanks to
- TWRP team
- Unlegacy-Android team
- Clamor
- And anyone I forgot to mention
Additional sources:
Kernel Sources: Github
TWRP Sources: Github
XDA:DevDB Information
Unofficial TWRP 3.2.3-0 UA, Tool/Utility for the Google Nexus 4
Contributors
sudokamikaze, clamor
Source Code: https://github.com/clamor95/android_device_unlegacy_recovery/tree/mako
Version Information
Status: Stable
Created 2018-08-16
Last Updated 2018-08-17
Thank you Sir for continuing support mako...
Have a stock Nexus 4.
Will be unlocking it and installing some ROM.
What is the difference between this and the official TWRP version?
Is this version of TWRP better than the official twrp-3.2.3-0-mako?
Thank you.
/root said:
Have a stock Nexus 4.
Will be unlocking it and installing some ROM.
What is the difference between this and the official TWRP version?
Is this version of TWRP better than the official twrp-3.2.3-0-mako?
Thank you.
Click to expand...
Click to collapse
Please, read OP post again. Our recovery has F2FS support for /data & /cache. EFS/Persist backup support, that means you can backup your IMEI/WIFI + BT Mac address stuff. And compare teamwin device tree and ours, I'm sure that you will be impressed
deleted
So should I format all partitions to f2fs and then install LOS? Is that advisable or should I just change filesystem for cache and data?
Edit 1 : btw Great recovery . I had to give it more than 2 tries though at first it got stuck in a bootloop of never entering the recovery page. then i flashed stock and tried again that time it couldn't format and twrp never got proceeded. did a stock flash again and the third time it worked fine.
Edit 2 : So checked the fstab of mako on LOS and it seems f2fs is only supported for /cache and /data. So only those two partitions need to be changed to f2fs format. Am I concluding it correctly?
Thank you @sudokamikaze
/root said:
So should I format all partitions to f2fs and then install LOS? Is that advisable or should I just change filesystem for cache and data?
Edit 1 : btw Great recovery . I had to give it more than 2 tries though at first it got stuck in a bootloop of never entering the recovery page. then i flashed stock and tried again that time it couldn't format and twrp never got proceeded. did a stock flash again and the third time it worked fine.
Edit 2 : So checked the fstab of mako on LOS and it seems f2fs is only supported for /cache and /data. So only those two partitions need to be changed to f2fs format. Am I concluding it correctly?
Thank you @sudokamikaze
Click to expand...
Click to collapse
About EDIT 1:
First of all I'm sorry about that, I will find why and which thing causing this.
I had something like that on friend's phone. But worked just fine after re-entering.
If rom which you decided to use supports f2fs - feel free to use that. Leave system as is
sudokamikaze said:
About EDIT 1:
First of all I'm sorry about that, I will find why and which thing causing this.
I had something like that on friend's phone. But worked just fine after re-entering.
If rom which you decided to use supports f2fs - feel free to use that. Leave system as is
Click to expand...
Click to collapse
Thank you, had no issues flashing and entering recovery and doing a full backup including EFS and Persist.
Otg compatible too?
is this support error digitiser/ nav bar ?
hakimarx said:
is this support error digitiser/ nav bar ?
Click to expand...
Click to collapse
You must check it yourself. Inactive surfaces can be of different widths.
You always have the option to return to the main menu by touching the TWRP logo.
ze7zez said:
You must check it yourself. Inactive surfaces can be of different widths.
You always have the option to return to the main menu by touching the TWRP logo.
Click to expand...
Click to collapse
Thanks..
Btw, please support TWRP multi OS for ubuntu touch
wizmart said:
Otg compatible too?
Click to expand...
Click to collapse
No, it's not compatible with OTG feature, and probably won't be either
Downloading stalled?
Hi. Newb here, been trying to search for an answer, but not sure what it is I'm needing to search for?
Issue is phone is unlocked and am in bootloader mode, and am trying to download above twrp but after entering the commands into my computer terminal, the computer terminal says " sending," and the phone says "downloading," but nothing is happening. Tried this a few times, and have actually left it for an hour, but no download?
Am I missing a step here? Followed the posted instructions.
Thanks for your patience.
toydriod said:
Hi. Newb here, been trying to search for an answer, but not sure what it is I'm needing to search for?
Issue is phone is unlocked and am in bootloader mode, and am trying to download above twrp but after entering the commands into my computer terminal, the computer terminal says " sending," and the phone says "downloading," but nothing is happening. Tried this a few times, and have actually left it for an hour, but no download?
Am I missing a step here? Followed the posted instructions.
Thanks for your patience.
Click to expand...
Click to collapse
Hmm, have you tried to switch USB cable or port or both? and what about official TWRP, same error?
You can try:
HTML:
fastboot erase recovery
fastboot flash recovery recovery.img # CHANGE HERE NAME OF FILE
sudokamikaze said:
Hmm, have you tried to switch USB cable or port or both? and what about official TWRP, same error?
You can try:
HTML:
fastboot erase recovery
fastboot flash recovery recovery.img # CHANGE HERE NAME OF FILE
Click to expand...
Click to collapse
Yes.
Tried
fastboot flash recovery openrecovery-twrp-2.3.2.3-mako.img Terminal says sending 'recovery' (8176 KB)... Phone says nothing
fastboot flash recovery openrecovery-twrp-2.8.5.2-mako.img Terminal says sending 'recovery' (9020 KB)... Phone says " downloading..."
toydriod said:
Yes.
Tried
fastboot flash recovery openrecovery-twrp-2.3.2.3-mako.img Terminal says sending 'recovery' (8176 KB)... Phone says nothing
fastboot flash recovery openrecovery-twrp-2.8.5.2-mako.img Terminal says sending 'recovery' (9020 KB)... Phone says " downloading..."
Click to expand...
Click to collapse
Then problem isn't in my recovery, reinstall drivers/switch pc/cable/port
sudokamikaze said:
Hmm, have you tried to switch USB cable or port or both? and what about official TWRP, same error?
You can try:
HTML:
fastboot erase recovery
fastboot flash recovery recovery.img # CHANGE HERE NAME OF FILE
Click to expand...
Click to collapse
sudokamikaze said:
Then problem isn't in my recovery, reinstall drivers/switch pc/cable/port
Click to expand...
Click to collapse
Thanks, I'm going to try it on another system.
toydriod said:
Thanks, I'm going to try it on another system.
Click to expand...
Click to collapse
FWIW Tried on another computer, and download worked fine. Thanks for you help and for making this.
I currently am on the official 3.1.xx TWRP version, can i just flash this as a zip from the current recovery? will that just replace the old one with this one, or do I need to first flash stock recovery?

[RECOVERY] Unofficial TWRP 3.3.1-0 recovery for Xiaomi Redmi (olive)

There is now an official version available (xda post). Go use that.
Thanks for your work
---------- Post added at 10:43 PM ---------- Previous post was at 10:37 PM ----------
seprode said:
I compiled TWRP for my own Redmi 8 (olive) and thought I would share. Based on the devicetree for the Redmi 8a (olivelite) by milankragujevic.
I have the global variant with a Tianma display. I can't test if it works on any other variant, use with precaution.
I used it successfully to flash the xiaomi.eu rom and magisk.
You can find the device tree on my GitHub: here
And the image in the release section: here
Installation:
Unlock Bootloader if not already done (Official Tool)
Boot in to fastboot (Powerbutton + volume down)
Run fastboot flash recovery recovery.img (for Windows use Minimal ADB and Fastboot)
Boot in to recovery (Powerbutton + volume up)
If something breaks you can use MiFlash and the stock fastboot rom to go back to reset your phone (phone will also be locked again) or use fastboot to flash the stock recovery (can also be found in the stock fastboot rom).
You can download the fastboot rom here.
Click to expand...
Click to collapse
How can I know if my device Tianma display or not?
yamabokra1 said:
How can I know if my device Tianma display or not?
Click to expand...
Click to collapse
Go in to the phone app and dial *#*#6484#*#*. Under 1 and then LCD you can then find the manufacturer.
I don't know if it actually matters. I read here that it affects devices when using the Redmi 8a recovery. Since I forked the code and have a Tianma display I can't really look in to the problem.
Have you got MTP working while at TWRP? I can't seem to get it right, Windows don't see my phone (adb and fastboot are working). While using adb-sideload I've got error that my mi-globe.zip rom cannot be installed through that method
------ EDIT -----
So, I flashed fastboot stock ROM and recovery. Then flashed this recovery. Booted into stock ROM, copied my custom ROM, rebooted into recovery and still couldn't install - after half of the installation process TWRP shouted that it couldn't mount /system partition. How did you get it to work? And thanks for work!
pulka103 said:
Have you got MTP working while at TWRP? I can't seem to get it right, Windows don't see my phone (adb and fastboot are working). While using adb-sideload I've got error that my mi-globe.zip rom cannot be installed through that method
------ EDIT -----
So, I flashed fastboot stock ROM and recovery. Then flashed this recovery. Booted into stock ROM, copied my custom ROM, rebooted into recovery and still couldn't install - after half of the installation process TWRP shouted that it couldn't mount /system partition. How did you get it to work? And thanks for work!
Click to expand...
Click to collapse
Can you check your LCD is it Tianma display?
"Go in to the phone app and dial *#*#6484#*#*. Under 1 and then LCD you can then find the manufacturer."
pulka103 said:
Have you got MTP working while at TWRP?
Click to expand...
Click to collapse
I recompiled TWRP with MTP enabled and it seems to show up as a device but i can't access data from the device.
I installed the image via a sd-card, but usb-otg or adb push should also work.
pulka103 said:
TWRP shouted that it couldn't mount /system partition.
Click to expand...
Click to collapse
Okay I changed the default mounting point of the system partition. Try again with the new image.
yamabokra1 said:
Can you check your LCD is it Tianma display?
"Go in to the phone app and dial *#*#6484#*#*. Under 1 and then LCD you can then find the manufacturer."
Click to expand...
Click to collapse
I do have a Tianma display. Problem isn't with controls but with the TWRP itself in my case.
Just tried new image, same problem "Checking /system. /system is not mounted! Trying to mount /system RW. /system cannot be mounted. [...] Installation will be aborted."
I am using Mi-Globe right now, gonna try with "clean" Xiaomi.eu.
And still can't access storage through Windows Explorer (but device itself is seen, tested with adb).
So Xiaomi.eu installed kinda. No errors and stuff but won't boot up. After one try it just goes back into TWRP. Using V11.0.3.0 for HM8 (as described by Xiaomi.eu)
luckily, mine has TIANMA display, I'll try while my rm8 is unlocked, thanks bro
@seprode, Reading your post and seen your work, I decided and today I ordered a Redmi 8 (olive) for my self , too.
I am very thankful that there are people like you, pioneers, who open the path, for all of us to follow.
Thank you again for what you are doing for us.
I hope, soon enough, some developer will pay attention to our new phone and , maybe , we will be also able to see new Android (Q ?) roms for it.
I am active involving so far in Samsung NOTE 2(exynos) and Note 4 (snapdragon) and also Xiaomi Redmi 5 plus community
I will do my best and see, if any of these groups will be able , in the future, to do something for our little brother here.
But the path you have open, is the very important first step to it.
KUDOS
:good::good:
@pulka103 You want to try again? I made some changes and got MTP working.
seprode said:
I compiled TWRP for my own Redmi 8 (olive) and thought I would share. Based on the devicetree for the Redmi 8a (olivelite) by milankragujevic.
I have the global variant with a Tianma display. I can't test if it works on any other variant, use with precaution.
I used it successfully to flash the xiaomi.eu rom and magisk.
You can find the device tree on my GitHub: here
And the image in the release section: here
Installation:
Unlock Bootloader if not already done (Official Tool)
Boot in to fastboot (Powerbutton + volume down)
Run fastboot flash recovery recovery.img (for Windows use Minimal ADB and Fastboot)
Boot in to recovery (Powerbutton + volume up)
.
Click to expand...
Click to collapse
Thank for your work !
What about vbmeta as mentioned at milankragujevic ?
And do we need something against dm_verity ?
Edit:
I did the described "simple" way and it works !!!
No need to flash anything else !!!
Great job, Thanks again :good:
seprode said:
I compiled TWRP for my own Redmi 8 (olive) and thought I would share. Based on the devicetree for the Redmi 8a (olivelite) by milankragujevic.
I have the global variant with a Tianma display. I can't test if it works on any other variant, use with precaution.
I used it successfully to flash the xiaomi.eu rom and magisk.
You can find the device tree on my GitHub: here
And the image in the release section: here
Installation:
Unlock Bootloader if not already done (Official Tool)
Boot in to fastboot (Powerbutton + volume down)
Run fastboot flash recovery recovery.img (for Windows use Minimal ADB and Fastboot)
Boot in to recovery (Powerbutton + volume up)
If something breaks you can use MiFlash and the stock fastboot rom to go back to reset your phone (phone will also be locked again) or use fastboot to flash the stock recovery (can also be found in the stock fastboot rom).
You can download the fastboot rom here.
Click to expand...
Click to collapse
I have a problem and maybe some of you can help me. I flashed last recovery.img. After flashing phone reboot itself and boot to system. Next, perform reboot to recovery and it boot to mi-recovery, not twrp. Then I cant boot to system. I have to flash again and then it boot to system.
===EDIT====
Ok, I managed this. After "fastboot flash recovery recovery.img" you have to type "fastboot reboot"
Great Great work I hope you continue updating. Thank you ?
good afternoon, this twrp this worked on redmi 8 olive, if it worked I will for now, obg and thank you already.: D
Ok, so ive tried to install latest xiaomi.eu rom for the redmi olive after flashing twrp, following all the steps from here and other posts, and all I get was reboot everytime. how do i go back to stock? miflash is not working and i dont find any .img to flash back
seprode said:
@pulka103 You want to try again? I made some changes and got MTP working.
Click to expand...
Click to collapse
hey man i fixed up novatek touchscreens on a repack version of your twrp i will include here
Download also i did a PR on your github with the needed changes so your next version will have this fix
Thank for twrp i hope it works on my device but what about custom rom wee need to custom rom ..miui contains lots of ads so that we need some good custom room..and brother replay me as soon as possible.
[email protected] said:
Thank for twrp i hope it works on my device but what about custom rom wee need to custom rom ..miui contains lots of ads so that we need some good custom room..and brother replay me as soon as possible.
Click to expand...
Click to collapse
you should try miui eu
unlock Bootloader
how can i unlock Bootloader for Redmi 8 with out Official Tool

[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:

Categories

Resources