[Unofficial] TWRP For Xperia 1 - Sony Xperia 1 ROMs, Kernels, Recoveries, & Other D

TWRP For Xperia 1 By Sjll
Special Thanks​
Twrp-Team & Oneplus 7Pro Developer @mauronofrio & Rich Boy: m1o
禁止任何内置推广APP以及收费ROM使用或参考本项目​
For English Users
Code:
/*
* Your warranty is now void.
*
* We're 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 us for messing up your device, we will laugh at you.
*
*/
Download: Link
How to flash
1. Unlock your bootloader
2. Run in fastboot.
Code:
fastboot flash boot <Patch of TWRP>
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Notice: This TWRP could boot system.
3. Power and Vol down.
4. You will get into TWRP.
Known Bugs and fixes :
V2.2
1. Update kernel to 55.0.A.6.56.
2. Fix Internal storage encryption
V1.0
1. Touch FIx.
2. OTG USB storage device doesn't work.
V0.2
1. A/B features supported.
2. Mount fix.
V0.1
BUG
1. Touch OTG USB mouse works fine.
2. Mount Point.
I will fix it.
-----------------------------------------------------U--U------------------------------------------------------------------------------
中文教程
Code:
/*
投资有风险,刷机需谨慎!
*
*/
下载地址 : Link
如何刷TWRP
1. 解锁手机
2. 进入fastboot模式,执行下面的命令
Code:
fastboot flash boot <TWRP的路径>
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
注意事项:TWRP能够启动系统,刷入boot分区即可
3. 关机,按电源+音量减
4. 进入TWRP
已知问题和修复内容 :
V2.2
修复内置储存解密
OTG无法挂载U盘
-----------------------------------------------------U--U------------------------------------------------------------------------------
Contributor
@Sjll
Source code: Github
Kernel Version: 4.14
Paypal
I am very happy to receive your donation.
国内用户可以通过附件的支付宝捐助我
Update date (更新日期)
2019.10.05
Screenshots
- see below (截图如下)

It's great see some advance in development for xperia 1, keep the good job

awwww good job

Just the one issue for me which is the phone remains encrypted in TWRP and can't be decrypted.
Other than that all good so good job

Hope this open the path for backup and restore functions of DRM keys when unlocking/rooting

snake218 said:
Hope this open the path for backup and restore functions of DRM keys when unlocking/rooting
Click to expand...
Click to collapse
Nope, extremely slim chance of that happening. Getting too hard to find a way round the DRM issue

Mackay53 said:
Just the one issue for me which is the phone remains encrypted in TWRP and can't be decrypted.
Other than that all good so good job
Click to expand...
Click to collapse
Yeah, confirmed it.

强烈支持大神!!

twrp
How come I can't use twrp and root
---------- Post added at 10:26 PM ---------- Previous post was at 09:47 PM ----------
I can see or read internel memory card on twrp when I fiash arise sound mod itbsatd file prop not found when it's in phone memory

twrp
How come I can't read internel.memory comes up with loads of mixed letters and folders as names of folders

Shsl said:
How come I can't read internel.memory comes up with loads of mixed letters and folders as names of folders
Click to expand...
Click to collapse
Because your internal storage isn't decrypted.

twrp
How can I do this work around this

Shsl said:
How can I do this work around this
Click to expand...
Click to collapse
By removing your lockscreen protection before using TWRP.

twrp
When I try backup it says it couldn't find key

working on J9110 model.
i got this. cannot install any file zip or image.
look like /sdcard < internal storage is encrypt.
but i can install Magisk on adb side load option.

Shsl said:
How come I can't use twrp and root
---------- Post added at 10:26 PM ---------- Previous post was at 09:47 PM ----------
I can see or read internel memory card on twrp when I fiash arise sound mod itbsatd file prop not found when it's in phone memory
Click to expand...
Click to collapse
xFirefly93 said:
Because your internal storage isn't decrypted.
Click to expand...
Click to collapse
Shsl said:
When I try backup it says it couldn't find key
Click to expand...
Click to collapse
Decrypted problem has been solved. Now you can try it.

Sjll said:
Decrypted problem has been solved. Now you can try it.
Click to expand...
Click to collapse
Oh Hey Mate, nice to see You again! Is there any Chance for Xperia 5 Support from Your Side? I would really appreciate TWRP for My new Device :angel:

Can you make twrp work for Android 10 it's been updated but can't start mobile after start up it won't let me in screen doenst work I flashed the old boot twrp

Shsl said:
Can you make twrp work for Android 10 it's been updated but can't start mobile after start up it won't let me in screen doenst work I flashed the old boot twrp
Click to expand...
Click to collapse
Ignore

What this works on Xperia 1 android 10 I've updated to android 10 you tried this

Related

[ROM][5.1 CM-12.1][Cyanogenmod 12.1 Unofficial][LMY48G][13/07/15]

Code:
#include
/*
* Your warranty is now void.
*
* 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 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.
*/
NVFlash backups, please do them before flashing anything below otherwise you will **** out of luck if you brick
Download:
cm-12-20150219-UNOFFICIAL-tf201.zip
cm-12-20150321-UNOFFICIAL-tf201.zip
cm-12.1-20150405-UNOFFICIAL-tf201.zip
cm-12.1-20150713-UNOFFICIAL-tf201.zip
Recovery:
recovery.img
Note that the touch buttons are really close together and there's no confirmation before you want to flash a zip sooooo... use the power keys if you are extra scared/careful.
In addition, the script output is impossible to see, which is kinda problematic.
XDA:DevDB Information
Cyanogenmod 12.1 Unofficial, ROM for the Asus Eee Pad Transformer Prime
Contributors
Namidairo, Androidroot, CyanogenMod
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.1.x
Based On: CyanogenMod
Version Information
Status: Testing
Created 2015-02-15
Last Updated 2015-04-05
Hi. I see no download section. So do I use the current recovery or should I wait? Using twrp with f2fs.
Hi,
What's the differences with official cm12 for tf300t?
I tested tf300 official and had lots of problems and I would prefer not to have them again ?
hi, please upload f2fs recovery if this rom support f2fs.thank you!
Edit: all is good. I'm back on track.
Ahhhh. I used the one from cm11 topic. Big mistake. Now I'm getting android service icon flashing screen. Reboot is the same, can't access fastboot or bootloader or recovery, tablet is recognized by pc. Attached the picture of what is on my screen if anyone has an idea.
Just curious. Installed cm recovery, the rom and gapps (the smallest ones) and now waiting at Asus bootlogo. How long does the first boot take?
I have the same problem. My TF201 is stuck at the bootscreen with the Asus-logo.
What did I do:
- wiped cache
- factory reset
- flashed recovery.img from post #1
- flashed firmware from post #1
- reboot and stuck at Asus-logo
I can still reboot into the recovery.
Where did I go wrong?
Just flash the last cm11 with f2fs support to get the tablet working. No need to change recovery.
suhiSLO said:
Just flash the last cm11 with f2fs support to get the tablet working. No need to change recovery.
Click to expand...
Click to collapse
thx reply,
i listed the step as below. am i right?
1)download recovery_f2fs on cm11 section
2)use the code format mmcblk
mkfs.f2fs -t 0 /dev/block/mmcblk0p2
mkfs.f2fs -t 0 /dev/block/mmcblk0p8
Click to expand...
Click to collapse
3)install cm12
4)reboot
if i were wrong,may i know the step and compatible recovery download link?
suhiSLO said:
Just flash the last cm11 with f2fs support to get the tablet working. No need to change recovery.
Click to expand...
Click to collapse
Why should I flash CM11 (KitKat) when I want CM12 (Lollipop, that this thread is about)?
I used the software (recovery, firmware) that Namidairo posted in his first post in this thread.
GoldenAvatar said:
Why should I flash CM11 (KitKat) when I want CM12 (Lollipop, that this thread is about)?
I used the software (recovery, firmware) that Namidairo posted in his first post in this thread.
Click to expand...
Click to collapse
Just to make the tablet working until namidairo offers a solution. At least that's what I did.
---------- Post added at 04:41 PM ---------- Previous post was at 04:34 PM ----------
atoyu said:
thx reply,
i listed the step as below. am i right?
1)download recovery_f2fs on cm11 section
2)use the code format mmcblk
3)install cm12
4)reboot
if i were wrong,may i know the step and compatible recovery download link?
Click to expand...
Click to collapse
If you want to try to make cm12 work use the recovery from this topic. I replied to goldenavatars post.
when using recovery on this topic, it hold on asus boot screen......
any md5 for this file?
Did the install using TWRP 2.7.0.0 and also flashed the gapps-lp, On reboot screen stuck at the Asus logo and will not proceed. Is there a md5 available for the ROM zip file so I can do a check?
I am currently running namidairo's CM11 build on my TF201. Do I just flash the recovery and then this image to get lollipop?
Also was GAPPS work with this build?
Thanks.
Oops, SELinux chucks a fit about some of the vendor libs when I set it to enforcing.
This is why you actually test with the same kernel that you are deploying. (Reboot shenanigans meant the bootloader ignored my staging partition and didn't flash the new kernel, yay.)
Anyway, I'll pull the zip and upload one with it set to permissive for now (Which is a temporary fix, I'll fix up the sepolicies when I have time)
Edit: Up
Working. Thank you.
Namidairo said:
Oops, SELinux chucks a fit about some of the vendor libs when I set it to enforcing.
This is why you actually test with the same kernel that you are deploying. (Reboot shenanigans meant the bootloader ignored my staging partition and didn't flash the new kernel, yay.)
Anyway, I'll pull the zip and upload one with it set to permissive for now (Which is a temporary fix, I'll fix up the sepolicies when I have time)
Edit: Up
Click to expand...
Click to collapse
Can't wait to try this later tonight
Yup, same.
Missing superSU. So additional apk install needed. I tried to install zip version but it looks like it didn't stick.
suhiSLO said:
Missing superSU. So additional apk install needed. I tried to install zip version but it looks like it didn't stick.
Click to expand...
Click to collapse
Did you enable root in developer options?

[RECOVERY][3.4.0-0][RMX1931]Official/Unofficial TWRP for Realme X2 Pro (Stable)

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.
*
*/
Features:
- Decryption works
- Flash Indian Stock .ozip roms works
- Flash Roms works
- Mtp works
- Backup works
- .ozip flash
- Android 10 Support
- Android 11 Decryption
Download:
TWRP 3.4.0-10 Unofficial by mauronofrio
TWRP 3.4.0-0 Unofficial by mauronofrio
TWRP 3.3.1-13 Unofficial by mauronofrio
TWRP 3.3.1-12 Unofficial by mauronofrio
TWRP 3.3.1-11 Unofficial by mauronofrio
TWRP 3.3.1-7 Unofficial by mauronofrio
TWRP Official Builds
TWRP 3.3.1-1 Unofficial by mauronofrio
TWRP 3.3.1-0 Unofficial by mauronofrio
To Flash the TWRP:
if it's the first time you flash the TWRP or you are getting problems of TWRP lost or device doesn't boot after flashed magisk or something else you need to flash a script to patch your vbmeta:
VBMETA PATCHER
To flash the TWRP:
Code:
fastboot flash recovery twrp-3.3.1-xx-xxxxxx-mauronofrio.img
Then reboot in TWRP manually.
Flash the VBMETA PATCHER and reboot.
REMEMBER: is important that from fastboot you directly go in TWRP mode or the TWRP will be overwritten.
Reccomended ADB and Fastboot binaries:
Adb and Fastboot Installer
Source code:
https://github.com/omnirom/android_bootable_recovery
https://github.com/mauronofrio/android_device_realme_RMX1931
Precompiled stock one
Donations:
Credits:
Thanks to @Jerry08 for the testing
Created 2019-11-5
This is not tested, i have not the stock recovery, so before flash directly it, please try to only boot this twrp using:
fastboot boot twrp.img command
Here we go! If this works, this will be my new phone
This is exactly what I was hoping to see, just picked up this phone and can't wait to be rid of ColorOS. Is there a solution available to flash Android 10 on this device? I'd be happy to commit a donation for getting Android 10 working smoothly on this device with full camera support.
hanakon said:
This is exactly what I was hoping to see, just picked up this phone and can't wait to be rid of ColorOS. Is there a solution available to flash Android 10 on this device? I'd be happy to commit a donation for getting Android 10 working smoothly on this device with full camera support.
Click to expand...
Click to collapse
Would also love stock Android or oxygenOS. Full camera support while keeping the super macro mode. I'm not sure if that's a feature on other phones but really like it. At 50% battery as I type this with almost 9 hours of use and lil over 4 hours on on screen time. Best battery life I've had in a phone and to top it off or charges incredibly fast.
Did anyone test this? If twrp works, then it will not be far from getting a few custom roms for this device. I really hope this works since if it does, I'm buying this phone immediately!
How to unlock bootloader? , i haven't found anything about boot loader unlock for realme X2 pro yet. We can't flash twrp with locked bootloader right?
Try this?: https://realmeroot.com/how-to-unlock-the-boatloader-in-realme-x2-pro/.
kaminsky.victor said:
Try this?: https://realmeroot.com/how-to-unlock-the-boatloader-in-realme-x2-pro/.
Click to expand...
Click to collapse
Not working , cannot install that app
Is this TWRP working on Realme X2 (RMX1991)?
ospeto said:
Not working , cannot install that app
Click to expand...
Click to collapse
Yet i did get the phone....
But...
There is an option on developers menue which i guess it should be toggled: link is below...
https://www.hardreset.info/devices/realme/realme-x2-pro/developer-options/
---------- Post added at 11:42 PM ---------- Previous post was at 11:39 PM ----------
shamllakh said:
Yet i did get the phone....
But...
There is an option on developers menue which i guess it should be toggled: link is below...
https://www.hardreset.info/devices/realme/realme-x2-pro/developer-options/
Click to expand...
Click to collapse
Also, i found this on RealmeX2Pro china forum:
https://www.realmebbs.com/post-deta...06252043546624&subForumId=1181409566403866624
shamllakh said:
Yet i did get the phone....
But...
There is an option on developers menue which i guess it should be toggled: link is below...
https://www.hardreset.info/devices/realme/realme-x2-pro/developer-options/
---------- Post added at 11:42 PM ---------- Previous post was at 11:39 PM ----------
Also, i found this on RealmeX2Pro china forum:
https://www.realmebbs.com/post-deta...06252043546624&subForumId=1181409566403866624
Click to expand...
Click to collapse
One guy on RealmeX2Pro china forum reported A Success Bootloader Unlock, here is his method link:
https://www.realmebbs.com/post-deta...06252043546624&subForumId=1181409566403866624
shamllakh said:
One guy on RealmeX2Pro china forum reported A Success Bootloader Unlock, here is his method link:
https://www.realmebbs.com/post-deta...06252043546624&subForumId=1181409566403866624
Click to expand...
Click to collapse
That's great , but I'll just wait for xda 's method to be sure. I hop we can get custom ROMs soon. Ported oxygen os or AEX would be great. That Color OS is not good. I am experiencing some notification and permission bugs now.
Just tried, and the phone won't go in bootloader mode. The 'adb reboot bootloader' do nothing :/
Thanks @nathan30 for testing!
I downloaded the package from that chinese website which was linked by @ospeto
I translated the folders inside the zip with google to english, since many people have issues with chinese characters in their file structure but in case anyone needs the original files, I kept the chinese zip as well.
Download English zip:
http://www.mediafire.com/file/qdkqs577zskml9k/realme_X2_pro_Eng.zip/file
Download Chinese zip:
http://www.mediafire.com/file/yrlhze0l5ahzd7n/realme_X2_pro_Ch.zip/file
If anyone can test this, please report back.
Thank you guys!
EDIT: There is a google translated bootloader unlocking guide in the zip.
SethPDA said:
Thanks @nathan30 for testing!
I downloaded the package from that chinese website which was linked by @ospeto
I translated the folders inside the zip with google to english, since many people have issues with chinese characters in their file structure but in case anyone needs the original files, I kept the chinese zip as well.
Download English zip:
http://www.mediafire.com/file/qdkqs577zskml9k/realme_X2_pro_Eng.zip/file
Download Chinese zip:
http://www.mediafire.com/file/yrlhze0l5ahzd7n/realme_X2_pro_Ch.zip/file
If anyone can test this, please report back.
Thank you guys!
EDIT: There is a google translated bootloader unlocking guide in the zip.
Click to expand...
Click to collapse
I could try but have you and idea about the phone which don't boot in bootloader mode ?
Is this TWRP working on Realme X2 (RMX1991)?
MTsv DN said:
Is this TWRP working on Realme X2 (RMX1991)?
Click to expand...
Click to collapse
Definitely not, don't you see this is for the Pro?
MTsv DN said:
Is this TWRP working on Realme X2 (RMX1991)?
Click to expand...
Click to collapse
I don't think it will work, maybe i can make a dedicated version
mauronofrio said:
This is not tested, i have not the stock recovery, so before flash directly it, please try to only boot this twrp using:
fastboot boot twrp.img command
Click to expand...
Click to collapse
Do you think you will get the stock recovery to test your Twrp ?

[RECOVERY] [UNOFFICIAL] TWRP 3.4.0-0 for Galaxy A20e (A202F)

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.
*
*/
I’d recommend to read everything in this post, if you care about your phone.
If you already unlocked your bootloader, start with step 3.
First you need to unlock your bootloader. You can do so by enabling developer settings first, enable oem unlocking, then shut down your phone, hold volume up and down at the same time and while holding them plugin your charger. Your phone now should show a green screen with instructions to unlock the bootloader. Just follow them and after the unlocking your data should get wiped. After that your device will boot up and land in setup screen. Do not setup anything, just skip as much as possible, because your phone will get wiped again. Enable developer settings and make sure oem unlocking is greyed out and enabled. (If it does not show up, connect to a network first!)
Flash Galaxy A20e TWRP.tar via Odin or heimdall
Reboot into TWRP AS SOON AS THE FLASHING PROCESS IS DONE because otherwise TWRP will get replaced with the stock Android recovery
If you want to flash a GSI, skip to step 7
Factory reset in TWRP and reboot to stock
Wipe everything in TWRP excluding SD Card / USB OTG
Put a GSI image file onto an SD Card, alongside GSI_Fix_boot.zip and Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Flash the GSI image, flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, flash GSI_Fix_boot.zip, wipe cache and reboot.
Enjoy
Current bugs
Encryption/Decryption on stock does not work, you cannot read the internal storage while using the stock firmware
ADB and USB connection / USB OTG does not work
Latest release: https://drive.google.com/file/d/1Nbrmn7BgA3BxA1bqnLXYMuCY4KjpR0Vn/view?usp=sharing
Social media
Twitter: https://twitter.com/xyn_dev
Telegram: https://t.me/xyn_dev
Reserved.
Wow finally... thx a lot for that
Xyn XDotnest said:
Reserved.
Click to expand...
Click to collapse
Great work
Can you now install GSIs
Make sure you backup boot, data, system before you start
physwizz said:
Great work
Can you now install GSIs
Make sure you backup boot, data, system before you start
Click to expand...
Click to collapse
Yep, GSIs work, I am currently using Descendant X on mine.
Xyn XDotnest said:
Yep, GSIs work, I am currently using Descendant X on mine.
Click to expand...
Click to collapse
Beautiful
I'm stuck at GSI (PixelExperience) installation. I've extracted the img file on sd card and the wizard is asking which partition should be used to flash image (boot,recovery,product image,system image,vendor image).
ZemoDroid said:
I'm stuck at GSI (PixelExperience) installation. I've extracted the img file on sd card and the wizard is asking which partition should be used to flash image (boot,recovery,product image,system image,vendor image).
Click to expand...
Click to collapse
System
A few Questions about the process
Xyn XDotnest said:
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.
*
*/
I’d recommend to read everything in this post, if you care about your phone.
If you already unlocked your bootloader, start with step 3.
First you need to unlock your bootloader. You can do so by enabling developer settings first, enable oem unlocking, then shut down your phone, hold volume up and down at the same time and while holding them plugin your charger. Your phone now should show a green screen with instructions to unlock the bootloader. Just follow them and after the unlocking your data should get wiped. After that your device will boot up and land in setup screen. Do not setup anything, just skip as much as possible, because your phone will get wiped again. Enable developer settings and make sure oem unlocking is greyed out and enabled. (If it does not show up, connect to a network first!)
Flash Galaxy A20e TWRP.tar via Odin or heimdall
Reboot into TWRP AS SOON AS THE FLASHING PROCESS IS DONE because otherwise TWRP will get replaced with the stock Android recovery
If you want to flash a GSI, skip to step 7
Factory reset in TWRP and reboot to stock
Wipe everything in TWRP excluding SD Card / USB OTG
Put a GSI image file onto an SD Card, alongside GSI_Fix_boot.zip and Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
Flash the GSI image, flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, flash GSI_Fix_boot.zip, wipe cache and reboot.
Enjoy
Current bugs
Encryption/Decryption on stock does not work, you cannot read the internal storage while using the stock firmware
ADB and USB connection / USB OTG does not work
Latest release: https://drive.google.com/file/d/1Nbrmn7BgA3BxA1bqnLXYMuCY4KjpR0Vn/view?usp=sharing
Social media
Twitter: https://twitter.com/xdotnest
Telegram: https://t.me/dotnest
Click to expand...
Click to collapse
,
Hey thanks for this, I´ve got a few questions about the process that might also help others.
Do you recommend this method of rooting still over the new method using Magisk?
Do we still need to wipe everything in TWRP after first boot? And what specifically steps should we take to wipe?
Can you recommend any specific GSI images that are known to boot on the A20e (A202F) because so far I've tried LineageOS 17.1 / AOSP system -quack-arm64-ab-gapps.img and system -quack-arm64-ab-vanilla.img / Crdroid and nothing gets past the loading icon.
Do we still need to flash Disable_Verity_ForceEncrypt and GSI_Fix_boot.zip if not installing a GSI ?
a few notes
for anyone else. It helps if you boot into the rom and install magisk manager via APK (recent version is fine) before installing it via TWRP. After I did that rooting worked properly.
Lost ADB for some reason though, might be unrelated.
I also think that the a20e (SM-a202f) is an A device and not an A/B partition device at least according to treble check app.
ADB and USB connection / USB OTG does not work
Click to expand...
Click to collapse
oh.....right. that stinks
moogle said:
,
Hey thanks for this, I´ve got a few questions about the process that might also help others.
Do you recommend this method of rooting still over the new method using Magisk?
Do we still need to wipe everything in TWRP after first boot? And what specifically steps should we take to wipe?
Can you recommend any specific GSI images that are known to boot on the A20e (A202F) because so far I've tried LineageOS 17.1 / AOSP system -quack-arm64-ab-gapps.img and system -quack-arm64-ab-vanilla.img / Crdroid and nothing gets past the loading icon.
Do we still need to flash Disable_Verity_ForceEncrypt and GSI_Fix_boot.zip if not installing a GSI ?
Click to expand...
Click to collapse
1. This method does use Magisk
The tar file contains boot.img patched with Magisk
It also contains recovery.img and vbmeta.img
2. The boot.img is from Android 10 firmware so you need to upgrade to Q first.
3 there is a step missing in the instructions
It should say
6. Reboot the A20e into TWRP and mount everything you can.
Click Wipe then Format Data (not just wipe) - don't restart
Flash Disable_Dm-Verity_ForceEncrypt
Reboot to recovery and wipe both caches
Reboot system .
Click to expand...
Click to collapse
You can then backup boot, data and system for stock.
You can then install GSIs
I'm having some major problems with sd cards not being recognized by google play store as external storage and whatsapp unable to download images. any idea what it might be?
moogle said:
I'm having some major problems with sd cards not being recognized by google play store as external storage and whatsapp unable to download images. any idea what it might be?
Click to expand...
Click to collapse
What OS are you running?
physwizz said:
What OS are you running?
Click to expand...
Click to collapse
Just the stock android 10, I didn't find a GSI that worked for me.
moogle said:
Just the stock android 10, I didn't find a GSI that worked for me.
Click to expand...
Click to collapse
try Crdroid
physwizz said:
try Crdroid
Click to expand...
Click to collapse
Already have, and LOS 17.1 and AOSP system-quack-arm64-ab-vanilla
all of them got stuck at boot icon for an hour. Thats why I went back to stock.
I'm more interested in why I cannot seem to install discord or firefox from the app store, or whatsapp cannot download images.
moogle said:
Already have, and LOS 17.1 and AOSP system-quack-arm64-ab-vanilla
all of them got stuck at boot icon for an hour. Thats why I went back to stock.
I'm more interested in why I cannot seem to install discord or firefox from the app store, or whatsapp cannot download images.
Click to expand...
Click to collapse
Go into magisk and hide any apps that misbehave
physwizz said:
Go into magisk and hide any apps that misbehave
Click to expand...
Click to collapse
Tried it, no change, there's no apps misbehaving, just strange sd storage card behaviour
Is the SM-A202F/DS supported by these methods, I noticed in some other threads it wasn't working back in March, that's the unit I have.
moogle said:
Tried it, no change, there's no apps misbehaving, just strange sd storage card behaviour
Is the SM-A202F/DS supported by these methods, I noticed in some other threads it wasn't working back in March, that's the unit I have.
Click to expand...
Click to collapse
There is a fix here
https://forum.xda-developers.com/showpost.php?p=80184282&postcount=2
physwizz said:
There is a fix here
https://forum.xda-developers.com/showpost.php?p=80184282&postcount=2
Click to expand...
Click to collapse
Which part are you referring to in that thread?

[RECOVERY][SHARED][surya]OrangeFox Recovery Project[R11.0_A] Xiaomi POCO X3 NFC

OrangeFox Recovery Project​
Code:
Your warranty is now void. * * We're 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 us for messing up your device, we will laugh at you.
OrangeFox is FREE SOFTWARE​
Supports MIUI and Custom Roms
Credits
* OrangeFox Recovery Project Team
* @LUNARIO, who did ALL the work, but sadly opened a thread violating the rules and the link to Recovery was deleted and the thread moved. Original here.
FEATURES:
* Touch Screen every single time
* Decryption works
* Fixed Error 7 while clean or dirty flashing (starting from version 6)
* Migrate backup installation (starting from version 6)
* OTG support
* ROM Flashing works 100%
* F2FS Support
* Fastboot commands supported
NOT WORKING FOR NOW:
* Fastbootd
* ADB Sideload
* Backing up and restoring Image Flash (system-vendor-product)
DOWNLOAD
Version 6 - Google: https://drive.google.com/file/d/1eHM9ST9ni-55bbT3z-TGSZQsgE3KYr9s/view
OLD VERSION DOWNLOAD
Version 4 - Google: https://drive.google.com/file/d/1Qq6hqaEOstxajOC7Y6AGeRYajhMWjttL/view
Version 0 - Sourceforge: https://sourceforge.net/projects/or...x-R11.0_0_Alpha-Unofficial-surya.img/download
INSTALLATION
1. Download the OrangeFoxRecovery IMG file to your PC.
2. Restart your POCO X3 in Fastboot mode (Power+Vol Down)
3. Use ADB and type in the following command:
Code:
fastboot flash recovery "OrangeFox-R11.0_6_Alpha-Unofficial-surya.img"
4. After it is installed successfully, type in this command:
Code:
fastboot boot "OrangeFox-R11.0_6_Alpha-Unofficial-surya.img"
5. The device will automatically reboot into OrangeFox Recovery after installation (allow this to happen)
6. Enjoy!
Version Information
Status: Alpha
Alpha Release Date: 2020-10-14
Does it support dd commands to backup/flash persist.img?
I tried but after I flashed xiaomi eu and went back to recovery, the touchscreen would't work
hope this gets updated i like this recovery
olujnap316 said:
hope this gets updated i like this recovery
Click to expand...
Click to collapse
here you can download updated version, I have this flashed for around one week... so far so good, but still adb sideload not working... dunno what other bugs are there... I am flashing with this NitrogenOS.... zero problems for me so far...
jeryll said:
here you can download updated version, I have this flashed for around one week... so far so good, but still adb sideload not working... dunno what other bugs are there... I am flashing with this NitrogenOS.... zero problems for me so far...
Click to expand...
Click to collapse
yes i saw that on telegram. but why is it not updated on this thread.
olujnap316 said:
yes i saw that on telegram. but why is it not updated on this thread.
Click to expand...
Click to collapse
oh, you were talking about the thread itself, sorry... but the recovery itself will work the same regardless number of posts here on xda or telegram... I personally don't care where are new versions announced...
Not affiliated
olujnap316 said:
yes i saw that on telegram. but why is it not updated on this thread.
Click to expand...
Click to collapse
Because sadly I am not the developer and I cannot post Telegram links here.
I can update manually, as long as any of you guys DM me the link to the Telegram group, so I can join.
@jeryll @olujnap316
Can anyone of you guys provide the Telegram link for me to update the thread more often?
Best regards,
billabongstaff said:
Because sadly I am not the developer and I cannot post Telegram links here.
I can update manually, as long as any of you guys DM me the link to the Telegram group, so I can join.
@[email protected]
Can anyone of you guys provide the Telegram link for me to update the thread more often?
Best regards,
Click to expand...
Click to collapse
@POCox3OfficialUpdates just search that on telegram, they posted the latest orangefox there
Thank you
olujnap316 said:
@POCox3OfficialUpdates just search that on telegram, they posted the latest orangefox there
Click to expand...
Click to collapse
Thank you, man.
I appreciate it.
I'll try to keep the thread updated.
Best regards,
Are there any written instructions anywhere on how to run the adb tools and commands precisely? Total noob here
nikolaos8 said:
Are there any written instructions anywhere on how to run the adb tools and commands precisely? Total noob here
Click to expand...
Click to collapse
of course there are, you can use Google search with the exact query you posted here and you can then choose where to start learning or click here...
nikolaos8 said:
Are there any written instructions anywhere on how to run the adb tools and commands precisely? Total noob here
Click to expand...
Click to collapse
Very good for Beginners. ▼
For ADB
https://android.tutorials.how/adb-commands/#adb_devices_command
For FASTBOOT
https://android.tutorials.how/fastboot-commands/
Update.
New build is up.
Version 6.
Fixes error 7 while clean or dirty flashing.
Backup migration now works.
Cheers.
Thanks guys. Made small instructions video for the absolute noobs (me included).
Tools used: https://developer.android.com/studio/releases/platform-tools
Instructions on adb commands and flashing:
1. Bootloader Unlocked
2. Download the latest Orangefox boot.img from first post and put it into a dedicated folder in your computer.
3. Go to the folder where you have put the Orangefox-file. Now open a command window inside that folder. To do that hold together "Shift + Right click" on any empty white space inside the folder and then select "Open PowerShell Window Here" or "Open Command Window Here" (depends on your pc).
4. Enter fastboot mode by holding together "Volume Down + Power" and connect your device to your computer
5. Enter the terminal command in command line: >>fastboot flash recovery OrangeFox-R11.0_6_Alpha-Unofficial-surya.img
(Needs to be exactly as the name of the file, in case developer uploads new version with new name)<<. Attention: Do not restart your device otherwise Xiaomi's original recovery might overwrite Orangefox!
6. After, device will reboot into Oangefox recovery.
Video Tutorial: https://youtu.be/E7fl_02Kgc8
I had also downloaded the latest Magisk zip (not Manager) from here: https://github.com/topjohnwu/Magisk/releases and placed it into the device before flashing Orangefox, so that i flash Magisk directly from recovery (as we left it above), in order to ensure it will not lose Orangefox installation after reboot.
In case it does not automatically reboot, hold +VOL + Power Button in order to reboot into the new orangefox recovery and install magisk zip from there ( do not forget to have it downloaded somewhere on your device before initiating the procedure)
Thanks everyone, especially OP for his contributions!
Factory reset /wipe prevents userdata to be decrypted? For twrp after you do a factory reset you have to format userdata even without password/pin inside the OS.
Can i backup persist partition with this recovery?
Hi!
I'm getting the error "Failed to map file" while I try to flash Magisk in this recovery.
Any help?
Hope this recovery will be official soon ! I don't know why there is no stable built yet of twp or yours ! I'm waiting for it to flash !
Jess182 said:
Can i backup persist partition with this recovery?
Click to expand...
Click to collapse
Yes you can using dd.

Development [recovery][unofficial] twrp-3.5.2_11 [odin] [Mi Mix 4]

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.
*
*/
BUG :
OTG
Lemme know
Install guide:
Boot :
Code:
fastboot boot <twrp.img>
Download: here
Contributors
imjyotiraditya
Thx to jjjhitel for his EROFS patch
Source Code: https://github.com/TeamWin/android_bootable_recovery
https://github.com/imjyotiraditya/device_xiaomi_odin-twrp
thanks and reserved
thanks and reserved
treid it this morning, and it looks and feels great so far.. no errors.
Would it be possible for somebody to post a guide for this, never installed it before?
jrvenge said:
Would it be possible for somebody to post a guide for this, never installed it before?
Click to expand...
Click to collapse
I'm not entirely sure what you mean tbh. Would you mind to explain?
imjyotiraditya said:
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.
*
*/
BUG :
OTG
Lemme know
Install guide:
Boot :
Code:
fastboot boot <twrp.img>
Download: here
Contributors
imjyotiraditya
Thx to jjjhitel for his EROFS patch
Source Code: https://github.com/TeamWin/android_bootable_recovery
https://github.com/imjyotiraditya/device_xiaomi_odin-twrp
Click to expand...
Click to collapse
Hey, i wanted to report a bug...
After i installed twrp permanently by advanced settings, i lost the touchscreen, after i rebooted into recovery.
SanHelios said:
Hey, i wanted to report a bug...
After i installed twrp permanently by advanced settings, i lost the touchscreen, after i rebooted into recovery.
Click to expand...
Click to collapse
how did u recover sir ? flashed original boot.img?
jrvenge said:
Would it be possible for somebody to post a guide for this, never installed it before?
Click to expand...
Click to collapse
as of now, no use of flashing twrp as there are no proper custom rom, but inorder to put this ur phone should be unlocked, to do that follow this guide https://forum.xda-developers.com/t/...to-eu-rom-and-root-guide-with-magisk.4338671/
vamsi209 said:
how did u recover sir ? flashed original boot.img?
Click to expand...
Click to collapse
Kinda... i booted the twrp-recovery bootimage by using
fastboot boot twrp.img
that brought me back to twrp and restored touchscreen-control. In twrp i formatted the device and completely wiped all partitions, so i would have a clean install. After all that was done i returned to bootloader and used the fastboot-image to clean-flash everything. I wanted to do this anyways, so no biggy.
It's still okay to use it, but installing it on the device as permanent recovery doesn't work as long as the touchscreen doesn't work at all.. but when this is fixed, go for it.
already did all of it...
vamsi209 said:
as of now, no use of flashing twrp as there are no proper custom rom, but inorder to put this ur phone should be unlocked, to do that follow this guide https://forum.xda-developers.com/t/...to-eu-rom-and-root-guide-with-magisk.4338671/
Click to expand...
Click to collapse
already did all of it...
SanHelios said:
Hey, i wanted to report a bug...
After i installed twrp permanently by advanced settings, i lost the touchscreen, after i rebooted into recovery.
Click to expand...
Click to collapse
Fixed!
Thanks for reporting..
vamsi209 said:
as of now, no use of flashing twrp as there are no proper custom rom, but inorder to put this ur phone should be unlocked, to do that follow this guide https://forum.xda-developers.com/t/...to-eu-rom-and-root-guide-with-magisk.4338671/
Click to expand...
Click to collapse
Phone is already unlocked as im running 21.9.28 lol
jrvenge said:
Phone is already unlocked as im running 21.9.28 lol
Click to expand...
Click to collapse
to just run this twrp, u can boot your device to bootloader, open terminal or powershell, and use command
fastboot boot twrp*.img
this will boot your twrp recovery,
as mentioned by @SanHelios there seems to be a small bug when u r flashing it permanently as recovery,
and the dev already got a fix for the same, he will mostly update the links tomorrow, i tested and it was working,
this is the file he provided, link, @SanHelios test this mate
download the above file,
use fastboot boot twrp*.img, and go to advance, and click on flash current twrp,
it will patch your boot.img file and flash the patched boot.img with twrp recovery
use volume up and power button combo to boot into twrp
imjyotiraditya said:
Fixed!
Thanks for reporting..
Click to expand...
Click to collapse
Thx for your awesome work, man..
I still dont get what it actually does lol
jrvenge said:
I still dont get what it actually does lol
Click to expand...
Click to collapse
You mean, the general function of TWRP?
yes
jrvenge said:
yes
Click to expand...
Click to collapse
TWRP is a well-rounded recovery for android-devices. There's a lot it can do, but basicly, you use it to flash/install software or images on your device. If there is a custom rom you wanna use, you flash it via TWRP, since the stock roms-recoveries only flash/install their associated roms. Apart from that, you can wipe or format your device, so it will be "clean" if you want to make a fresh installation.
In the past it was simple to install it, because devices were mostly A-only devices with a dedicated "recovery"-partition. To install it, the most common way was
- Boot into Fastboot mode, connect android via USB
- open computer CLI/Shell-window
- "fastboot flash recovery twrp.img" - Enter
The Mi Mix 4 is an A/B-Device, which means that the vital partitions are doubled and there's no "recovery"-partition anymore, since all recovery-functions are parked in a different partition. TWRP offers the ability to install itsself according to the A/B-Partitions-scheme and therefore becoming the new System-Recovery. Here the installation-steps are different.
- Boot into Fastboot mode, connect android via USB
- open computer CLI/shell-Windows
- "fastboot boot twrp.img" - Enter <- Starts the system using the image
- Touch Advanced
- Touch "Flash Current TWRP"
If a custom rom ever becomes available, there's certain routine you want to do...
backup vital information and files
format device
wipe all partitions
flash Firmware required
flash rom
flash Google Apps i.e. Open Gapps Project or NikGapps if available and desired
wipe dalvik-cache/cache/data
Enjoy

Categories

Resources