#include <std/disclaimer.h>
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
This is the file you are looking for
Port from Redmi Note 8
Tested on latest firmware (1.06.709.1)
NOT working:
TOUCH -- mouse only
Fastboot boot is broken
Working:
Install zip/Wipe/Restore
MTP/Usb-otg/Micro SD card
Partially working:
Backup -- only super and ESD partition
Automatic mount internal storage -- please go to backup and refresh the partition size
Data Decryption
Installation:
Fastboot flash recovery xxx.img(file name)
Download links:
bym_twrp_port.img
IMG File
1drv.ms
Reserved
wow
Tested, can confirm it is working.
Thanks for the hard work!
Does it work in build number 1.00.468.1?
text1 said:
Does it work in build number 1.00.468.1?
Click to expand...
Click to collapse
yes, I am on 1.00.468.1
tofumachine said:
yes, I am on 1.00.468.1
Click to expand...
Click to collapse
Thank you for your answer.
Were you able to find Stock ROM or Stock Recovery Build number 1.00.468.1?
Were you able to root the phone?
text1 said:
Thank you for your answer.
Were you able to find Stock ROM or Stock Recovery Build number 1.00.468.1?
Were you able to root the phone?
Click to expand...
Click to collapse
I can successfully installed magisk and I think this will also work for other builds
4096abcd said:
TOUCH -- mouse only
Click to expand...
Click to collapse
I'm not sure what this means. Does this mean I can't use the touchscreen in the TWRP interface? I don't have a mouse for mobile, only a mouse with standard USB (for laptop/PC).
henrychess said:
I'm not sure what this means. Does this mean I can't use the touchscreen in the TWRP interface? I don't have a mouse for mobile, only a mouse with standard USB (for laptop/PC).
Click to expand...
Click to collapse
You need an a to c adapter
4096abcd said:
I can successfully installed magisk and I think this will also work for other builds
Click to expand...
Click to collapse
Is your phone rooted now !?
root checker, okay!????
4096abcd said:
You need an a to c adapter
Click to expand...
Click to collapse
Is it possible to patch the touch issue? (I'm not a pro, I don't know how to do it)
Do you take a picture of the root checker program?
twrp version number Redmi Note 8 ported !!!???
Thanks for your hard work. By the way, can you provide a pached by Magisk boot.img? If so, it would be very useful. Thanks again.
iourikil said:
Thanks for your hard work. By the way, can you provide a pached by Magisk boot.img? If so, it would be very useful. Thanks again.
Click to expand...
Click to collapse
Hello
I tried to create a patched boot file of magisk program and put it here for you.
build number : (1.00.468.1)
Hi
i need Stock recovery build number 1.00.468.1...
text1 said:
Hi
i need Stock recovery build number 1.00.468.1...
Click to expand...
Click to collapse
If you want a stock recovery just flash magisk boot and dd out the recovery partition
4096abcd said:
If you want a stock recovery just flash magisk boot and dd out the recovery partition
Click to expand...
Click to collapse
i flash twrp recovery,I want to install recovery instead of twrp.
Is it possible to unlock bootloader without wiping your data?
I can easily backup my /storage/emulated/0, but if all data is wiped out, then I have to reinstall all the apps (which takes a ton of time) and save all my passwords again.
Hello
I think my phone is brick, does anyone have an ota ROM file (stock rom) to install?
Another question:
How can I install the tar.gz file on the HTC D20PRO phone! ??
Related
Hi all!
Team Win Recovery Project 3.0.0-1 for Samsung Galaxy A5 (2015)
Before flashing TWRP, please make a backup of your current recovery.
DISCLAIMER
Code:
#include
/*
* Your warranty is now void.
* I'm not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Recovery
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Installation Instructions:
Using Flashify
1. Download the TWRP image for your variant using the link at the end of this post.
2. Install Flashify via Google Play Store and launch it. Grant the SuperSU request.
3. Once it's done, select the option flash recovery then select the .img you have downloaded.
4. Reboot to recovery using home button and Vol+.
5. After 5-6 seconds you can see the TWRP splash screen!
6. Enjoy your TWRP!
Using Odin
1. Download the TWRP flashable zip.
2. Launch Odin add on "AP" the TWRP you downloaded at the end of this post.
4. Switch off your phone, plug it to the PC.
5. Press the home button, the Vol- and on/off keys.
6. You should have a warning screen, press the Vol- button again.
7. Click on start button on Odin.
8. The phone will reboot and enjoy your TWRP !
DownloadsOdin 3.10.7 Flash Tool
http://dl.sammobile.com/Odin3_v3.10.7.zip
SM-A500FU
• TWRP 3.0.0-1 (to flash with Flashify)
https://www.androidfilehost.com/?fid=24459283995311955
• TWRP 2.8.7.0 Odin Flashable:
https://www.androidfilehost.com/?fid=24052804347836928
SM-A500F/G/H/M
• TWRP 3.0.0-1(to flash with Flashify)
https://www.androidfilehost.com/?fid=24459283995311938
• TWRP 2.8.7.0 Odin flashable (to flash with Odin)
Lollipop:
https://www.androidfilehost.com/?fid=24052804347836940
KitKat:
https://www.androidfilehost.com/?fid=24052804347840936
----------------------------------------------------------------------------------------------------------
Changelog
• 2015-09-05:
* Bugs fixes, fixed CM12.1 installation error, fixed auto-reboot on Recovery, increased launch speed.
• 2016-04-03:
* Updated to TWRP 3.0.0-1
* New UI.
* Adoptable Storage.
* Added support for USB-OTG on all variants.
THanks
Thanks bro
Could you explain .. is this normal fully functional TWRP, and we can make ie backup current stock ROM, play with xposed wanam and (in close future) another ROMs, and if something goes wrong, restore stock from backup?
Adaho0 said:
Could you explain .. is this normal fully functional TWRP, and we can make ie backup current stock ROM, play with xposed wanam and (in close future) another ROMs, and if something goes wrong, restore stock from backup?
Click to expand...
Click to collapse
Yes,
This is great, realy want to try this out. Where can i get root for the A500FU Lollipop?
SV3NNER said:
This is great, realy want to try this out. Where can i get root for the A500FU Lollipop?
Click to expand...
Click to collapse
With cf auto root?
mygalaxya said:
With cf auto root?
Click to expand...
Click to collapse
I can only find the Kitkat 4.4.4 version, does this work on lollipop 5.0.2?
SV3NNER said:
I can only find the Kitkat 4.4.4 version, does this work on lollipop 5.0.2?
Click to expand...
Click to collapse
I think.
Due to the similarity of the a300, would it work too, or fail because of the screen-resolution?
Christoph.bcn said:
Due to the similarity of the a300, would it work too, or fail because of the screen-resolution?
Click to expand...
Click to collapse
Yes, and little other things
First at all thanx man, i try to flash in my a5 500f put i got kernel error .
tofy4ever said:
First at all thanx man, i try to flash in my a5 500f put i got kernel error .
Click to expand...
Click to collapse
It's weird
mygalaxya said:
Yes, and little other things
Click to expand...
Click to collapse
Thought so. Thanks anyway.
mygalaxya said:
It's weird
Click to expand...
Click to collapse
work fine now i try again> first i flash as boot img as said in the [tut] and give me error now i flash as recovery
tofy4ever said:
work fine now i try again> first i flash as boot img as said in the [tut] and give me error now i flash as recovery
Click to expand...
Click to collapse
Are you on Kitkat or Lollipop?
mygalaxya said:
Are you on Kitkat or Lollipop?
Click to expand...
Click to collapse
Lollipop
tofy4ever said:
Lollipop
Click to expand...
Click to collapse
Do you have a computer? Can you use Odin or not?
mygalaxya said:
Do you have a computer? Can you use Odin or not?
Click to expand...
Click to collapse
Yes i have acomputer. The recovery work for me now its all ok
tofy4ever said:
Yes i have acomputer. The recovery work for me now its all ok
Click to expand...
Click to collapse
Good, you've installed TWRP following my steps?
mygalaxya said:
Good, you've installed TWRP following my steps?
Click to expand...
Click to collapse
Yes i use flashify and flash it as recovery img and it's work now
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
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?
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
TWRP FOR THE A52 5G! (With issues)
Help needed!
Are you someone that has ported TWRP before without any issues?
Or are you someone that knows how to fix any problem that has been listed in the 'Additional Notes' section?
PM me. We can work together to fix the issue(s)
Note
Code:
* 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 doing this to your device
* 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.
Additional Notes
Code:
THIS RECOVERY IS NOT FULLY TESTED!
There are atleast these issues:
1. MTP Does NOT work. (Not with computer or with OTG)
2. NO access to your SD cards
3. Incorrect resolution (TWRP is 1080x1920, phone is 1080x2400)
4. Temperature sensor doesn't work.
THERE MIGHT BE MORE ISSUES I DO NOT KNOW OF! FLASH AT YOUR OWN RISK.
How to install?
First of all you need an unlocked BL. This is extremely easy to do and there are a lot of guide online.
Download recovery.tar (TWRP) from this post.
Select the AP slot in Odin
Disable auto reboot in Odin
Flash
Credits
TeamWin Recovery Project
Source code:
Minimal TWRP AOSP: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp
Device Tree for the a52 5g: Can't upload because of 25mb+ kernel file. Will make a custom kernel soon
Thank you so much for your work on TWRP. Waited for it a year
GiulianoB said:
Thank you so much for your work on TWRP. Waited for it a year
Click to expand...
Click to collapse
No problem.
Hi,
Firstly, thanks for doing this!
Secondly, I've been trying to flash a zip (BluetoothLibraryPatcher) but I cannot find a way to get TWRP to read a zip file. Things I've tried:
From the device itself: The data partition is encrypted. twrp decrypt (in the TWRP terminal) says "No crypto support was compiled into this build".
From ADB Sideload: It gets stuck on "Starting ADB sideload feature..." for 5 minutes, then fails.
From MTP/USB OTG: As you say in your post, neither MTP from PC nor from a USB flash drive works.
Would you have any idea of how I can get TWRP to read a zip file to install?
Thanks!
ByteSizedBit said:
Hi,
Firstly, thanks for doing this!
Secondly, I've been trying to flash a zip (BluetoothLibraryPatcher) but I cannot find a way to get TWRP to read a zip file. Things I've tried:
From the device itself: The data partition is encrypted. twrp decrypt (in the TWRP terminal) says "No crypto support was compiled into this build".
From ADB Sideload: It gets stuck on "Starting ADB sideload feature..." for 5 minutes, then fails.
From MTP/USB OTG: As you say in your post, neither MTP from PC nor from a USB flash drive works.
Would you have any idea of how I can get TWRP to read a zip file to install?
Thanks!
Click to expand...
Click to collapse
Hey, you can use commands by just being on the home screen of TWRP. ADB push <file location and name> /sdcard
ByteSizedBit said:
Hi,
Firstly, thanks for doing this!
Secondly, I've been trying to flash a zip (BluetoothLibraryPatcher) but I cannot find a way to get TWRP to read a zip file. Things I've tried:
From the device itself: The data partition is encrypted. twrp decrypt (in the TWRP terminal) says "No crypto support was compiled into this build".
From ADB Sideload: It gets stuck on "Starting ADB sideload feature..." for 5 minutes, then fails.
From MTP/USB OTG: As you say in your post, neither MTP from PC nor from a USB flash drive works.
Would you have any idea of how I can get TWRP to read a zip file to install?
Thanks!
Click to expand...
Click to collapse
Btw, afaik the encryption problem isn't something I can remove.
This is fantastic to see! Nice work.
Have you tried any custom ROMs with this? Do any of the current custom ROMs (like Lineage OS) support A52 5G, or are we still a far way away from that?
biscuitpants said:
This is fantastic to see! Nice work.
Have you tried any custom ROMs with this? Do any of the current custom ROMs (like Lineage OS) support A52 5G, or are we still a far way away from that?
Click to expand...
Click to collapse
Hey. I've not started a custom ROM yet. I've been busy with school mostly. I will probably start developing Lineage OS as the first custom rom.
Things405 said:
Hey. I've not started a custom ROM yet. I've been busy with school mostly. I will probably start developing Lineage OS as the first custom rom.
Click to expand...
Click to collapse
Good luck and thanks again for your effort
Hey! I found this on GitHub and I was wondering if it's you. Your post is still saying "Will upload in a minute". Thanks!
MeowNyaaa said:
Hey! I found this on GitHub and I was wondering if it's you. Your post is still saying "Will upload in a minute". Thanks!
Click to expand...
Click to collapse
Yep thats me. I can't upload a kernel file on github as its 25mb+ So the device tree won't be complete without it. I'll change the post.
Things405 said:
Yep thats me. I can't upload a kernel file on github as its 25mb+ So the device tree won't be complete without it. I'll change the post.
Click to expand...
Click to collapse
I recommend using Git LFS for that, more info about it here: https://git-lfs.github.com/
I created a device tree myself long time ago as well, was just missing the kernel
I may sell my U1 for the Dual Sim model so I can root. I need parts of this lol
Any progress?
I just can't wait for LineageOS
@Things405 I have GitHub pro if you want someone to host the device tree on there... I'm on https://github.com/SImPilotAdamT/
Also by A52 5G do you mean the A526B?
Also for some reason I can't unlock the bootloader in my device... I have the A526B international model. https://forum.xda-developers.com/t/unable-to-unlock-the-bootloader-a52-5g-sm-a526b.4476861/
TWRP 3.7.0 is out with the support for decryption on Android 12 to be able to backup firmware. Pls update, thx
I'm sorry to have left you guys hanging! I've been too busy with personal stuff but I will get back on this as soon as possible.
flashed in A526BXXU1AUAH, when press buttons for recovery, it freeze on boot logo
does this also work for the a52s 5g version?
LuzzyKins said:
does this also work for the a52s 5g version?
Click to expand...
Click to collapse
No, the version you should be looking at is: https://forum.xda-developers.com/t/recovery-official-twrp-3-7-0-2-for-galaxy-a52s-5g.4488419/