[RECOVERY][3.5.0_9-0][teak]Unofficial TWRP recovery for Sony Xperia XA1 Plus - Sony Xperia XA1 ROMs, Kernels, Recoveries, & Other

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.
C:
#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.
*
*/
What working:
Normal and Encrypted backup and restore
Install flashable zip
ADB sideload
Mount almost every partitions
Turn off TWRP app promt because I'm not gonna make this offical build any way (Feel free to do so if you can and want to)
What not:
Time zone need to set manually
Can't decrypt /data (Hope some one who know vold decrypt can help me with that)
Usage:
To flash this twrp, run following command:
Code:
fastboot flash recovery recovery.img
To boot it, simply turn your device off and when you turn it back on, just hold power and volume down and wait for few second to enter recovery
P/S: Although this twrp was build for Xperia XA1 Plus specificly, it might work on other XA1 variants as well, for that I need some tester. The only different if exists is the build.prop which stop you to flash custom rom that not build for XA1 plus (which we don't have any as of yet) so just try it and give me some feed back
Source code:
https://gitlab.com/ndhai97/android_device_sony_teak/-/tree/twrp
Credits:
Big thank to @AlaskaLinuxUser who make great video series that give me a very good entry point to do this kind of work

Good job, just in case, put in my custom prop.default (for xperia g3123 xa1 simple) and I start without problems.
test: adb shell, backups, flash zip. Can't format/mount data, and it would be great if you add the fotakernel partition in recovery.fstab to make a recovery backup

If your /data being encrypted then I don't have any solution for that yet. I will add fotakernel later but could you also test mtp, it not working at my Archlinux setup, don't know if my setup has issue or mtp just broken on my twrp build I use adb sideload all the time so

Hi bro, I have an XA1 Plus with the last firmware version... Android 8.0 (48.1.A.2.122)
Do you think that this recovery.img could works on my phone?

Nice work! Glad to see you are making TWRP and sharing!

hello sir mine device (sm-615f) has same specs as this device ...and i tried porting it to my device( replaced kernel and kernel offset ) and in ramdisk replaced /etc/recovery.fstab and uevented.rc ....but not working... and reason being doing that is i see lot of gsi thing is also avail for your device ..can i port it if yes can you bit guide me there ( NOTE: already done research before bothering mentors here ) ..

[Deprecated] Universal DM-Verity, ForceEncrypt, Disk Quota Disabler [11/2/2020]
Hi all! For the past couple of months, I've been looking into making a more universal solution to disable dm-verity and forceencrypt. Needing to take different zips, modify them for different devices, and then cross your fingers when you switch...
forum.xda-developers.com
format ur data then flash dis from ur sdcard

Wadhwa Saab said:
hello sir mine device (sm-615f) has same specs as this device ...and i tried porting it to my device( replaced kernel and kernel offset ) and in ramdisk replaced /etc/recovery.fstab and uevented.rc ....but not working... and reason being doing that is i see lot of gsi thing is also avail for your device ..can i port it if yes can you bit guide me there ( NOTE: already done research before bothering mentors here ) ..
Click to expand...
Click to collapse
For that matter you should PM me instead of comment in here, I see not much of react to my work and so I stop all development. about your question, our device (XA1) have no GSI so it not problem to begin with (GSI thread are fake, I do build from scratch so I know). Also I think it easier for you to build twrp than port it, you can take a look at my twrp device tree and create one for your device twrp tree. About how to build it watch Alaska Linux User youtube series here. It very easy to do than porting and it work correctly for your device, not to mention update twrp quite easy task too.

Hello there
I installed TWRP on my Sony Xperia XA1 Plus but could not start TWRP mode. The following error appears on the screen, then the phone boots normally.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

To enter recovery, when booting hit vol down button. This is not an FOTA kernel so the flashlight won't go up to indicate you to enter recovery or normal boot, instead it sit in recovery partition of your phone (which mean with what ever kernel or boot image that you using, this recovery still work)

Hari Nguyen said:
To enter recovery, when booting hit vol down button. This is not an FOTA kernel so the flashlight won't go up to indicate you to enter recovery or normal boot, instead it sit in recovery partition of your phone (which mean with what ever kernel or boot image that you using, this recovery still work)
Click to expand...
Click to collapse
I have tried entering the TWRP mode multiple times. It is not happening. I'm already pressing the volume down button.
I am trying it on Android8 .122 ROM.
My device is g3421

Emirhan4646 said:
I have tried entering the TWRP mode multiple times. It is not happening. I'm already pressing the volume down button.
I am trying it on Android8 .122 ROM.
My device is g3421
Click to expand...
Click to collapse
Sorry for long time response, quite busy these day. How adb flash command output look like, if it successful then maybe you press it the wrong way, it should enter recovery when you boot up and hold the volume down. There are two other way to test this: the easy way is to run adb reboot recovery. The harder way is to install xposed and choose reboot to recovery from xposed manager, I'm quite sure this work on all Oreo based variant of XA1, my friend have XA1 ultra and it work just fine

I learned that the recovery mode cannot be entered with the buttons on this device, but I can enter the recovery mode with the buttons with the special kernel.
Here's how I enter recovery mode with stock kernel:
1- USB debugging must be turned on
2- I am typing the following command on adb and when it restarts, recovery is opened. ''adb reboot recovery''

Emirhan4646 said:
I learned that the recovery mode cannot be entered with the buttons on this device, but I can enter the recovery mode with the buttons with the special kernel.
Here's how I enter recovery mode with stock kernel:
1- USB debugging must be turned on
2- I am typing the following command on adb and when it restarts, recovery is opened. ''adb reboot recovery''
Click to expand...
Click to collapse
You should be able to enter recovery with power on + hold vol down at the same time (or when rebooting just hold the vol down button). If your special kernel mean kernel where it show light when booting, that recovery work independence with my recovery since they put it inside boot partitions. My recovery are being put in recovery partitions and should not be affected by any other boot.img

Hello, which firmware version does this need to work? I know with the older recoveries then installing them with the wrong firmware caused a bootloop.
I have an xperia XA1 Ultra G3221 with unlocked bootloader and ta backups. (I think using xa1 plus recovery on ultra is a bit sketchy to be honest but you say apparently it works)
Currently I am on 1306-6285_48.1.A.0.129 (yes it is old - I don't know why to be honest, Emma tool is really strange, it replaced my original updated O2 UK firmware with old nordic global firmware? what?)
I could use flashtool to update it if I need to I suppose, should probably factory reset first anyway.
Also this can be used to install magisk right? Thanks
Update: I updated to latest firmware and it didnt work, it just said "your device is unlocked and the boot image is not working" and shuts off. Thankfully that's only when I hold volume down though, powering on normally is fine.

Hi, My XA1 Plus (G3426) got some problem in starting fastboot. It just got bootloop when I try to make it fastboot with adb, and the situation only resolved after I relock it with Flashtool. The full recovery of Xperia Companion didn't change the situation, this machine always bootloop when it asked fastboot from adb if bootloader unlocked, and just can't detect as fastboot device if hard started with volume down, locked or unlocked.
Since I can't make it fastboot I think I can't flash this img. Any suggestions for this?

Related

[10][OFFICIAL] CarbonROM | cr-8.0 [z3]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CarbonROM is an aftermarket firmware based on the Android Open Source Project. We are dedicated to fast, stable, and feature-filled ROMs, honesty and communication with our users, and openness with our code. We like frequent builds, with the very latest and greatest hardware support and fixes. We strive to not only provide you with the best ROM we can build, but also to give back to the Android community and our fellow developers. For us, this is about creating something we can be proud of and hope you will enjoy.
Please feel free to look, build, and use our code at CarbonROM's GitHub...
What is PAX?
Our release of Android 10, titled CR-8.0, is codenamed PAX after the latin word for peace and Pax, the roman godess for peace.
PAX provides you with the features you need while keeping the focus on delivering an elegant, smooth, and well polished experience. PAX delivers a set of unique features, like a systemwide font engine that also allows for applying fonts on user apps while supporting user fonts through custom APKs generated on fonts.carbonrom.org. We are confident you'll love it, and there's many more things to discover
Disclaimer:
While we make every effort to test these builds as much as possible, we are not responsible for anything that may happen to your device, family, pets, or perception of reality. We ask that you do your part to know your device and know how to recover from problems before you flash! As always, make sure to do backups.
Support:
We spend an astonishing amount of time developing this software. We can't spend much time on XDA as a result, so if you need support, please try the following:
1) Search. Search, search, search. Yes, you. I don't care how unique or important your question is, it's very likely someone has adressed it already. Especially if you're even close to new at this.
2) Read our FAQ, which can be found on our website. Carbon FAQ
3) Ask a question in your device forum. Someone will no doubt try to help you. Warning: this help may come in the form of telling you it's a dumb question that has been asked before. See step 1 - such are the perils of asking questions when you haven't done the research yourself. Android is about helping yourself.
4) Join our Discord server or Telegram group! There, you can connect with other Carbon users and our developers, and you can get quicker responses to your bug reports. The invite link is right below.
Download
Join the CarbonROM Discord server
Meet us on Telegram
Homepage
GitHub
Kernel source
Remember, every penny you send to us goes right back into the rom. It's used for hardware, server costs, etc - all the things that help us make Carbon better with every release. Your support means the world to us! If you've enjoyed Carbon, please consider a donation toward this goal. Thank you, and we hope you continue to enjoy Carbon!
XDA:DevDB Information
CarbonROM, ROM for the Sony Xperia Z3
Contributors
Myself5, CarbonROM
Source Code: https://github.com/CarbonROM
ROM OS Version: Android 10
ROM Kernel: Linux 3.x
Based On: AOSP
Version Information
Status: Nightly
Created 2020-02-08
Last Updated 2020-05-06
Reserved
@Myself5
Thx so so much for the first beta cr 8.0 build. I will check it out tomorrow.
One question:
Is possible to boot from this build directly into twrp?
I'm asking because the hardware buttons of my old z3 needs many pressure to work.
Restart to recovery
dhacke said:
Is possible to boot from this build directly into twrp?
Click to expand...
Click to collapse
All current Shinano ROMS derived from LineageOS16/17 should support restart to recovery. You may need to enable the extended restart menu under development options.
You can also trigger this via adb:
Code:
adb reboot recovery
Please report if that isn't working
Mr.Tom_Tom said:
All current Shinano ROMS derived from LineageOS16/17 should support restart to recovery. You may need to enable the extended restart menu under development options.
You can also trigger this via adb:
Please report if that isn't working
Click to expand...
Click to collapse
I can comfirm now that the boot into twrp works.
@Myself5
I believe i notice a bug: I couldn't secure the z3 with a password in the setup because after i entered the password it says 'success' but in the settings under the device security tab still stands 'swipe'.
When i try to change the display lock to the password option afterwards in the settings menu my z3 always asks me after a password and when i type in the password which i type in the setup it says wrong password.
New build uploaded just now has the SetupWizard fixed. The lockscreen bug is getting looked into right now.
Uploaded a new build. Contains some additional lockscreen clocks but more importantly, the PIN issue is fixed.
Code:
75ff1b7cd559ec1f61b196a831891142 CARBON-CR-8.0-PAX-UNOFFICIAL-z3-20200225-1425.zip
Can you support d6633 dual version please
Thanks for the awesome work. Flashing ASAP!
I am unable to successfully flash the 3.3.1 recovery. Android Stock marshmallow 6.0.1 build 291 installed. Rooted it by flashing 575 kernel and after root revert it back to 291 kernel file by flashing with flashtool.
Now my 6.0.1 is 23.5.A.1.291 means latest build. And flashing the recovery by typing the command "fastboot flash FOTAKernel recovery.img.
The recovery 3.3.1 which I downloaded from lineage 17.1 page. I renamed the file twrp_z3_2020-02-08.img to recovery.img
But after flashing the recovery when I enter into recovery it shows twrp 3.0.2
I downloaded the twrp 3.3.1 from different pages but same thing happened.
I'm a poor man ? and can't afford or buy android 10 device and I saw a dream that I opened xda and there someone launched mouth watering cr8.0 and lineage os 17.1
And I wish I could flash those os
But this twrp is hurdling me and that is proven a big hurdle to me which I couldn't cross
I'm on bed and doctor ? said you're guest of few days if you can't flash android 10
TWRP images flashed to the FOTAKernel partition can only be accessed by, starting with your phone completely powered off, holding both the power and volume down buttons. When the phone vibrates (as if it was being turned on), release the power button. When the screen lights up, release the volume down button. TWRP shall come up.
casouzaj said:
TWRP images flashed to the FOTAKernel partition can only be accessed by, starting with your phone completely powered off, holding both the power and volume down buttons. When the phone vibrates (as if it was being turned on), release the power button. When the screen lights up, release the volume down button. TWRP shall come up.
Click to expand...
Click to collapse
Finally someone who explains how to boot in the ( new ) recovery. I bet @KnowledgeSeekerPart2 had the correct recovery allready installed different times.
I didn't say that I couldn't enter into twrp. But whenever I flashed 3.3.1 on my 23.5.A.1 291 build I found 3.0.2 on my shinano.
Is it possible that if you flash 3.3.1 twrp, you ended up by having 2 different versions installed (3.3.1 & 3.0.2)
I simply wanna say that you mean which I understood that if you power on your device and when led light flashes then by pressing volume down button twice or thrice quickly you'll enter into 3.0.2 recovery and according to your mathod I'll enter into 3.3.1 (remember I just flashed 3.3.1 on fota kernel)
KnowledgeSeekerPart2 said:
I am unable to successfully flash the 3.3.1 recovery. Android Stock marshmallow 6.0.1 build 291 installed. Rooted it by flashing 575 kernel and after root revert it back to 291 kernel file by flashing with flashtool.
Now my 6.0.1 is 23.5.A.1.291 means latest build. And flashing the recovery by typing the command "fastboot flash FOTAKernel recovery.img.
The recovery 3.3.1 which I downloaded from lineage 17.1 page. I renamed the file twrp_z3_2020-02-08.img to recovery.img
But after flashing the recovery when I enter into recovery it shows twrp 3.0.2
I downloaded the twrp 3.3.1 from different pages but same thing happened.
I'm a poor man and can't afford or buy android 10 device and I saw a dream that I opened xda and there someone launched mouth watering cr8.0 and lineage os 17.1
And I wish I could flash those os
But this twrp is hurdling me and that is proven a big hurdle to me which I couldn't cross
I'm on bed and doctor said you're guest of few days if you can't flash android 10
Click to expand...
Click to collapse
Flash the recovery to recovery partition instead,
Code:
fastboot flash recovery (name of recovery).img
KnowledgeSeekerPart2 said:
I didn't say that I couldn't enter into twrp. But whenever I flashed 3.3.1 on my 23.5.A.1 291 build I found 3.0.2 on my shinano.
Is it possible that if you flash 3.3.1 twrp, you ended up by having 2 different versions installed (3.3.1 & 3.0.2)
I simply wanna say that you mean which I understood that if you power on your device and when led light flashes then by pressing volume down button twice or thrice quickly you'll enter into 3.0.2 recovery and according to your mathod I'll enter into 3.3.1 (remember I just flashed 3.3.1 on fota kernel)
Click to expand...
Click to collapse
Yes, that's right, it's possible, i had 2 different recoverys too in my Z2 or Z3C, don't remember exactly which device it was.
The " old way " was to press vol+ during boot process to boot in the recovery.
hey, same problem with @KnowledgeSeekerPart2
i tried all method around the web and unable to upgrade the crappy twrp 3.0.2 to shiny 3.3.1, the twrp 3.0.2 can't flash carbon, lineagos and will give you "unknown command" error....damn
let see what i tried so far
- upgrade through twrp app -> nope
- upgrade through flashing on current twrp recovery mode -> still nope
- upgrade through fastboot like "flash recovery" and "flash fota" -> still nope
i still boot to 3.0.2 with no change at all
and btw, @casouzaj recommended power+vol down combo not work too, because my z3 will not boot to recovery with that way, it boot the OS XD so i always have to : tap tap fast vol down few times to boot to recovery
very troublesome i admit
KoolKool993 said:
hey, same problem with @KnowledgeSeekerPart2
i tried all method around the web and unable to upgrade the crappy twrp 3.0.2 to shiny 3.3.1, the twrp 3.0.2 can't flash carbon, lineagos and will give you "unknown command" error....damn
let see what i tried so far
- upgrade through twrp app -> nope
- upgrade through flashing on current twrp recovery mode -> still nope
- upgrade through fastboot like "flash recovery" and "flash fota" -> still nope
i still boot to 3.0.2 with no change at all
and btw, @casouzaj recommended power+vol down combo not work too, because my z3 will not boot to recovery with that way, it boot the OS XD so i always have to : tap tap fast vol down few times to boot to recovery
very troublesome i admit
Click to expand...
Click to collapse
Again.
Download the required TWRP.
Place it in your " Fastboot and ADB " folder. ( PC ! )
Inside your " Fastboot and ADB " folder create an empty file, rename it to " flashFOTAKernel.bat "
Open ( edit ) the file, paste the following in the file :
fastboot flash FOTAKernel twrp-3.3.1-z3-20200212.img
Save the .bat file
Shut down your device complete. ( Press and hold vol UP and power until the device vibrates 3 times )
Now connect the device in fastboot mode to your PC ( press vol UP, hold the button ) and plug the USB cable in. LED should be blue.
Doubleclick the .bat file you've created before, and that's all.
Disconnect your device, press vol DOWN and power, HOLD the buttons until the boot logo appears, and your device boots in your new recovery.
0LDST4R said:
Again.
Click to expand...
Click to collapse
i appreciated your kindness highly
but sadly, your method not working for me
Shut down your device complete. ( Press and hold vol UP and power until the device vibrates 3 times)
Click to expand...
Click to collapse
i tried nothing vibrate
Now connect the device in fastboot mode to your PC ( press vol UP, hold the button ) and plug the USB cable in. LED should be blue
Click to expand...
Click to collapse
Yes, i tried this, i got blue light and into fastboot mode
Download the required TWRP.
Place it in your " Fastboot and ADB " folder. ( PC ! )
Inside your " Fastboot and ADB " folder create an empty file, rename it to " flashFOTAKernel.bat "
Open ( edit ) the file, paste the following in the file :
fastboot flash FOTAKernel twrp-3.3.1-z3-20200212.img
run the bat
Click to expand...
Click to collapse
yeah, i did, everything said file extractions are succesfully
Disconnect your device, press vol DOWN and power, HOLD the buttons until the boot logo appears, and your device boots in your new recovery.
Click to expand...
Click to collapse
i tried this, but it just boot straight into the OS
meanwhile, the "press vol down multiple time on green light logo boot up" method as i mentioned above is only the way into twrp recovery (but still old version), nothing less
my Z3 is Dual 6633, on right version, totally SuperU rooted and unlocked bootloader
tried it today... quite snappy... Better than cr 7, as fast as cr 6! Very impressed!
battery life excellent.
i ll use it for daily driver as soon as it passes beta phase!
passes safety net even with magisc!! (didnt have that with CR 6)
on the first install pixel launcher was present but force closes... quickstep worked all right.. after reinstall pixel launcher was absent.
camera did not work as well but somehow this fixed itself. (edit: the "cantt connect to the camera error returned unexpectedly)
i couldnt find how to connect to wifi with WPS push button, the setting seems to be absent.
much better than lineage (faster snappier) have to give you that.. thank you for all the work!!
excellent work for a beta build.
wishlist:
1. fm radio! pls pls pls !
2. shutdown/reset button on quick settings
I'm testing firmware on D6633. Faced with the fact that the SIM card is detected, but there is no connection. Tried to call - writes that you need to turn off flight mode. Even the APN is in place. Next, I tried to install the patch for SIM cards for the dual version, but this led to the fact that the firmware now does not see the SIM card at all. It would be nice to see a working mobile connection for D6633 in the following builds.

[UNOFFICAL][TWRP][Recovery] TWRP 3.5.2_9-2 [ysl][UNIFIED]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.
Code:
#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:
- Always updated with latest twrp changes
- Decryption Works "Official miui, custom roms"
- Works with any 32bit and 64bit roms
- Treble enabled
- F2FS support
- FDE/FBE & SAR/NON-SAR Unified support
Notes:
- It works only with pie fw
Install guide: "You must have the Bootloader unlocked"
- Install ADB & Fastboot tools on your pc
- Go on fastboot mode
- Run "fastboot flash recovery yourrecoveryimage.img"
- Reboot and enjoy
Bugs:
- Maybe something i didn't saw during my usage, in case send logs if you encounter in a bug
Download:
Here
Support Group:
Here
Source code:
TWRP
Device tree
Kernel
Credits:
@Dees_Troy
@krasCGQ
@mahajant99
@Lostark13
@m_vaisakh
ROM OS Version: Android 9
ROM Kernel: Linux 4.x
ROM Firmware Required: pie
Based On: OMNI
Version Information
Status: Stable
Current Stable Version: 20210130
Stable Release Date: 2021-01-30
Created 2021-01-30
Last Updated 2021-01-30
11/08/2021 Build
HTML:
Source Changelog:
- Synced with latest twrp.me changes
- Merge aosp/pie-gsi changes
- Update f2fs-tools to v1.14.0
- Update nano to v5.2
- Squeeze performance while flashing a zip
- Start progress bar thread only when is required
- General fixes
Device Changelog:
- Build toybox
- Build userspace ExFAT driver
- Fixup encryption issues
- General fixes
Old Builds:
Spoiler
01/03/2021 Build
HTML:
Device changelog:
- Synced with latest twrp changes
- Readd /cust on partitions list
- Backup /persist as image
- Rename /sdcard1 to /external_sd
- General bug fixes
New update is out https://androidfilehost.com/?fid=17248734326145746072
changelog https://forum.xda-developers.com/t/...p-3-5-0_9-1-ysl-unified.4226279/post-84394617
twrp release: 3.5.1_9 · TeamWin/[email protected]
Change-Id: I13dfadea507d7050cec35d00d5cfabdf25462b15
github.com
everything is setted up for the first unofficial 3.5.1 release
waiting for seeing whole changelog on twrp.me ...
interesting, even if i write it, and i can see in cmd that is erasing and writing, getting okay message, bootloader is unlocked, and full adb acces, and still, my recovery is still the stock one, may im doing something wrong?
gherv1 said:
interesting, even if i write it, and i can see in cmd that is erasing and writing, getting okay message, bootloader is unlocked, and full adb acces, and still, my recovery is still the stock one, may im doing something wrong?
Click to expand...
Click to collapse
Reboot directly to twrp after you flashed it via fastboot "vol + and power button"
Miui replace the custom recovery with the stock one
Its_Vixano said:
Reboot directly to twrp after you flashed it via fastboot "vol + and power button"
Miui replace the custom recovery with the stock one
Click to expand...
Click to collapse
maybe this is what i was doing wrong, but i've one problem, my buttons band is not working, it's kinda removed from the phone, long story )
so i can boot recovery just from adb
i typed adb reboot bootloader
fastboot flash recovery twrp.img
fastboot boot twrp.img (and is just staying stuck there forever)
as i know is unlickely to restart into recovery from fastboot. Exist some solutions for me in this case?
Tried fastboot reboot and after that adb reboot recovery, so it's start making logic i need to boot directly onto recovery.
It's possible to flash it from test point?
also, i was thinking of a downgrade, but idk if ill work to reboot from fastboot and after that adb reboot recovery.
gherv1 said:
maybe this is what i was doing wrong, but i've one problem, my buttons band is not working, it's kinda removed from the phone, long story )
so i can boot recovery just from adb
i typed adb reboot bootloader
fastboot flash recovery twrp.img
fastboot boot twrp.img (and is just staying stuck there forever)
as i know is unlickely to restart into recovery from fastboot. Exist some solutions for me in this case?
Tried fastboot reboot and after that adb reboot recovery, so it's start making logic i need to boot directly onto recovery.
It's possible to flash it from test point?
also, i was thinking of a downgrade, but idk if ill work to reboot from fastboot and after that adb reboot recovery.
Click to expand...
Click to collapse
Might be tricky but it should be fine
- Get the stock boot img from a stock recovery rom, or download this "took from china latest release, should works fine"
- Patch it with magisk app "it will disable dm verity"
- Reboot to bootloader and flash the patched boot img "fastboot flash boot patched_boot.img"
- Reboot to system
If magisk app say that magisk is installed, you can flash the twrp with flashify
I forgot also to say that fastboot boot is broken on our device "the reason is still unknown"
Its_Vixano said:
Might be tricky but it should be fine
- Get the stock boot img from a stock recovery rom, or download this "took from china latest release, should works fine"
- Patch it with magisk app "it will disable dm verity"
- Reboot to bootloader and flash the patched boot img "fastboot flash boot patched_boot.img"
- Reboot to system
If magisk app say that magisk is installed, you can flash the twrp with flashify
I forgot also to say that fastboot boot is broken on our device "the reason is still unknown"
Click to expand...
Click to collapse
Ok, i tried right now, flashed it, and now rebooted to the system, i see miui logo, and is not moving from there ) and i've the latest stock update, i guess is similar to global ver
removed the battery, and now is fastboot bootloop, so i guess the boot.img was the problem
gherv1 said:
removed the battery, and now is fastboot bootloop, so i guess the boot.img was the problem
Click to expand...
Click to collapse
I had only this one on my drive disk, try to extract it from https://bigota.d.miui.com/V12.0.2.0.PEFMIXM/miui_HMS2Global_V12.0.2.0.PEFMIXM_668a87d737_9.0.zip
sorry for the inconveniences
Its_Vixano said:
I had only this one on my drive disk, try to extract it from https://bigota.d.miui.com/V12.0.2.0.PEFMIXM/miui_HMS2Global_V12.0.2.0.PEFMIXM_668a87d737_9.0.zip
sorry for the inconveniences
Click to expand...
Click to collapse
There is something else wrong, i just downloaded this one https://xiaomifirmwareupdater.com/miui/ysl/stable/V12.0.2.0.PEFMIXM/
flashed the boot img, and it's still stuck at miui logo, i mean, i have some experience with dead phones, but this one is very strange, oopa, worked now, so it was just the cn boot img, and needed a little bit of time to boot with his normal one
ill try to mod with magisk and flash again, i keep you in touch
I also flashed cache.img, i don't know if helped, but just in case if someone else have same problem
O yeaa, is working ) i can't belive it, i searched a lot on the internet, and not even one solution was helping me, so everything you need is just a smart person who know even better than the internet, thanks you a lot mate, now i can use google camera yay
gherv1 said:
O yeaa, is working ) i can't belive it, i searched a lot on the internet, and not even one solution was helping me, so everything you need is just a smart person who know even better than the internet, thanks you a lot mate, now i can use google camera yay
Click to expand...
Click to collapse
You are welcome
New update is out https://androidfilehost.com/?fid=7161016148664784278
changelog https://forum.xda-developers.com/t/...p-3-5-0_9-1-ysl-unified.4226279/post-84394617
Greetings to the creators of twrp recovery and to the moderators of this thread
I wonder if anyone knows if there are themes to customize this version of recovery 3.5.2 9 0?
Thanks

Development [RECOVERY][OFFICIAL] TWRP 3.7.0-3 for Galaxy A52s 5G

Team Win Recovery Project
Code:
#include <std_disclaimer.h>
/*
* 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.
*/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Disclaimer:
I am not responsible about any damage of any kind that this custom binary may cause.
Please pay attention to this post & related ones before proceeding and follow the guide correctly. I will not offer support for any issues that have been already stated.
Your Knox Warranty Bit will be blown once you flash this or others custom binaries, preventing you to use Knox features. It can't be resetted in any way, so think twice before flashing this.
Bugs can be reported here in XDA or via the community's Telegram Group. Please be more clear as possible and make sure you provide detailed info when reporting bugs.
What's TWRP?
Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, root your device and more.
Read more about TWRP here: https://twrp.me/about/
How do I flash and set it up correctly?
Please notice that the following guide is meant for full stock devices, if you've already rooted your device you can skip it and flash directly the recovery without any extra steps.
Before starting, make sure to backup all your data and important files stored in your phone, since this procedure will format your data partition.
Download Odin3, Samsung's Android USB Drivers, the latest TWRP's tar and a disabled vbmeta image.
Make sure your phone's bootloader is unlocked, follow the guide below in case it isn't:
Spoiler: Unlock the bootloader
Open the Settings app, enter Developer Options and enable OEM unlocking (If you don't see Developer Options, enter into About phone>Software info and tap "Build number" 10 times to show it).
Enter Download Mode: to do so power off your device, connect it to a computer via an USB cable and hold both volume up and volume down buttons.
Long press volume up to unlock the bootloader. This will wipe your data and your phone will automatically reboot.
Go through the initial setup. Skip through all the steps since data will be wiped again later. Make sure to connect the device to Internet during the setup.
Enter Developer Options and check that the OEM unlocking option exists and is grayed out. This means our bootloader is unlocked and your phone has no KnoxGuard lock set.
Connect your phone to your PC and boot in Download Mode (power off your device and hold both volume up and volume down buttons).
Open Odin3, select the TWRP tar by clicking the "AP" button and the patched vbmeta tar by clicking "USERDATA", then press the Start button.
Reboot your phone in recovery mode: while it still plugged in your PC, hold both the power and volume up buttons.
Once TWRP has booted you need to format again your data partition in order to be able to boot in system again. To do so touch Wipe>Format Data and follow the instructions in screen.
Bugs:
Decryption will only work if no password/PIN/pattern is set in Android (One UI).
Download:
Galaxy A52s 5G (a52sxq):
twrp.me
Bootloader/Modem collection:
GitHub
Sources:
Kernel source code: https://github.com/BlackMesa123/android_kernel_samsung_sm7325/tree/sep-14.1/twrp-12.1
Device tree: https://github.com/TeamWin/android_device_samsung_a52sxq
Changelog:
Check Post #2.
A52s 5G Community Telegram Groups:
General
Development
Credits:
Samsung for the kernel source code
TeamWin for their awesome recovery
@Captain_Throwback for his help and troubleshooting
@ShaDisNX255 & @ronardnx for testing out the recovery
Changelog:
Please note that this only includes device-specific changes. For global TWRP changes, go to twrp.me.
20230104 (3.7.0_12-3)
- Fix /vendor backup restoring
20221224 (3.7.0_12-2)
- Updated kernel to DVK5
- Support Android 13 decrypt with no password
- Fix /efs, /sec_efs backup
20221208 (3.7.0_12-1)
- Fix fastbootd
- Disable stock recovery patching in /vendor
20221012 (3.7.0_12-0)
- First release
It's been a while since I released something here in XDA. I'm happy to join the modding train again with this custom recovery, hoping to see more cool stuff come out for this device soon
Amazing work, always happy to test. Great step towards more development.
Nice job plus Nice instructions. Thanks a lot
Most peru dev
Hi, gr8 to see TWRP for this device.
If my phone is already rooted, can I just install without data loss?
Brilliant!! Thankz for this. Now bring on custom stuff lol.
Essentrix said:
Hi, gr8 to see TWRP for this device.
If my phone is already rooted, can I just install without data loss?
Click to expand...
Click to collapse
Am a bit also confused with all this files.. i suppose recovery image is the only thing needed for a allready rooted phone right?
Finally!!
Essentrix said:
Hi, gr8 to see TWRP for this device.
If my phone is already rooted, can I just install without data loss?
Click to expand...
Click to collapse
BlueChris said:
Am a bit also confused with all this files.. i suppose recovery image is the only thing needed for a allready rooted phone right?
Click to expand...
Click to collapse
Yes, the guide is for those that are starting with an unrooted device. If you already had the old TWRP or have installed a patched vbmeta you can just flash the new recovery.img without any extra steps
New minor build released to mitigate the /data and /efs backup errors. If you're still having issues, try to delete the /sdcard/TWRP folder and reboot again to recovery.
New version works perfect. Thanks!!
BlackMesa123 said:
Yes, the guide is for those that are starting with an unrooted device. If you already had the old TWRP or have installed a patched vbmeta you can just flash the new recovery.img without any extra steps
Click to expand...
Click to collapse
Ok i was rooted and i passed only the recovery. Now i rebooted in twrp and the phone asks for a password of myne... i tried to put my pin and then it tries to decrypt FBE it says for user 0 but stays there for ever...
BlueChris said:
Ok i was rooted and i passed only the recovery. Now i rebooted in twrp and the phone asks for a password of myne... i tried to put my pin and then it tries to decrypt FBE it says for user 0 but stays there for ever...
Click to expand...
Click to collapse
Seems like decrypt currently works when no lockscreen password/PIN is set. I'm going to look at this
BlackMesa123 said:
Seems like decrypt currently works when no lockscreen password/PIN is set. I'm going to look at this
Click to expand...
Click to collapse
I changed to pattern and the same is huppening. If i try to change to nothing it will remove my fingerprints etc.. its not biggy but this could be a solution for me?
Yeap i changed to none and is working now.... i will do a full backup now and then i will put the security on again.
Thx anyway.. a full phone backup was what i was needing.
BlueChris said:
I changed to pattern and the same is huppening. If i try to change to nothing it will remove my fingerprints etc.. its not biggy but this could be a solution for me?
Click to expand...
Click to collapse
Unfortunately with the current build you'll have to choose between disabling encryption in your /data partition or remove any kind of lockscreen protection. I'm already working on fixing this issue, found out it's due to gatekeeper not working correctly
BlackMesa123 said:
Unfortunately with the current you'll have to choose betweeb disabling encryption in your /data partition or remove any kind of lockscreen protection. I'm already working on fixing this issue, found out it's due to gatekeeper not working correctly
Click to expand...
Click to collapse
No worries m8, take your time and again thank you for this.
BlueChris said:
No worries m8, take your time and again thank you for this.
Click to expand...
Click to collapse
I have some bad news: unfortunately decrypt with password/PIN set in lockscreen is not supported in the TWRP itself, so posting a new build with fixed gatekeeper would be useless anyway. As soon as the android-12.1 TWRP branch fixes this issue I'll be posting a new build for the recovery, hoping this issue will be addressed asap

Development [OFFICIAL]TWRP for the Motorola G30 (caprip)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
#include <std_disclaimer.h>
/*
* 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.
*/
Introduction:
Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch-driven user interface, with 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.
Key Features:
Touchscreen driven with real buttons and drag-to-scroll
XML-based GUI that allows full customization of the layout true theming!
Settings are saved to the sdcard and persist through reboots
Ability to choose which partitions to back up and which to restore
Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)
Onscreen keyboard
Easy selection of internal/external storage
In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.
We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open-source project.
Source Code:
GitHub - https://github.com/TeamWin/android_bootable_recovery
Gerrit Instance - http://gerrit.twrp.me
If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.
This is for UNOFFICIAL builds of TWRP for the Motorola G30 (caprip)
Device Config:
GitHub - TeamWin/android_device_motorola_caprip
Contribute to TeamWin/android_device_motorola_caprip development by creating an account on GitHub.
github.com
Official Downloads:
https://twrp.me/motorola/motorolamotog30.html
Test Downloads:
https://osdn.net/projects/twrp-for-caprip/releases/
Installation:
Backup everything important off of your device
Make sure your bootloader is unlocked
Download the recovery image (and optionally the TWRP installer zip) from above
Reboot into bootloader
Run this command (Change the .img to whatever the name of the file is you downloaded):
Code:
fastboot boot twrp.img
(Optional instructions from this point on) Install TWRP installer zip
Reboot to recovery
Upgrade / Reinstall TWRP instructions
Download desired TWRP installer zip version
Reboot to recovery
Select Install
Tap on install and select the TWRP installer zip you downloaded from step one
Reboot to recovery and confirm that the updated version of TWRP is installed
Nandroid backup/restore
Have an available microSD Card or USB OTG drive
Backup boot, dtbo, system image, vendor image and data (optionally any other partitions you want a backup of) to your external storage device of choice
Once you wish to restore? Reboot to TWRP and format data (Wipe > "format data" button > type yes > keyboard checkbox)
Reboot to TWRP
Restore boot, dtbo, system image and vendor image
Reboot to system
Once it boots to the system without issues? Do not set any lockscreen security and reboot to TWRP
Restore data
Reboot to system
After it finishes boot? Your data and ROM will be restored but sometimes the UI might be incorrect, so reboot to the system again
For the TEST builds of TWRP? Please let me know if this works. If so? I will submit it to Gerrit for official updates.
Credits:
mistersmee for his TWRP tree for the Motorola Moto G9 Power (cebu) that this caprip tree is based upon
Samw662 for encouraging me to work on this and help out caprip owners since I don't own one plus testing these builds
Heyyo, initial public release is twrp-3.6.2_12-0_UNOFFICIAL-20220929-03-caprip which is based on TWRP 12.1 branch. Please test decryption on either A12 or A13 ROMs as I'm unsure if it is setup correctly or not.
Please report any bugs in this thread
Hey, I cannot see my internal storage on this version of twrp. I am on android12 srtock rom
Heyyo @anuragnahata , can you please test this?
https://build.twrp.me/twrp-3.7.0_12-0-caprip.img
Code:
fastboot boot twrp-3.7.0_12-0-caprip.img
If you have any problems with this build too, then please submit logs either here or in PM. I've had other caprip owners say everything on that TWRP build works fine for them
Touchscreen doesn't work. Maybe because my software channel is reteu?
Heyyo, TWRP 3.7.0_12 official is meow up on the TWRP website! Thanks to @Sammm77 for encouraging me to work on this for a device I don't even own and for helping test it out.
@Leogami9009 can you please provide logcat? Tbh I'm not even sure what are all the touchscreen drivers that caprip even uses but I did try to reference the kernel source code but maybe I missed one? Also, are you on the official build or a test build?
ThE_MarD said:
Heyyo, TWRP 3.7.0_12 official is meow up on the TWRP website! Thanks to @Sammm77 for encouraging me to work on this for a device I don't even own and for helping test it out.
@Leogami9009 can you please provide logcat? Tbh I'm not even sure what are all the touchscreen drivers that caprip even uses but I did try to reference the kernel source code but maybe I missed one? Also, are you on the official build or a test build?
Click to expand...
Click to collapse
For some people ek touch does not work, but for the vast majority it works perfectly. You have to wait 15 seconds when starting TWRP but after that it works fine. Excellent work friend.
Leogami9009 said:
Touchscreen doesn't work. Maybe because my software channel is reteu?
Click to expand...
Click to collapse
No, it's not because of your channel, surely the developer skipped a display driver. Maybe with time we will solve it, if you want to contribute send logcat and dmesg to the developer.
@Sammm77 if touchscreen doesn't work right away? Odds are it's just the touchscreen driver still initializing and maybe checking firmware and such. Focaltech for example is really known for having touchscreen issues as well on TWRP because of a long init period. Some touchscreens have a way to manually reset the kernel driver I think but I'm unsure if caprip has a method to do so.
My Asus Zenfone 5z (Z01R) has focaltech touchscreen and has issues with TWRP where sometimes it's intermittent that touchscreen works but it always works in the ROM since the ROM boot time is a lot longer than TWRP
Ok, i let the phone to load the driver and it works, thank you all!
Is it normal for this recovery to not be able to resize system/ not being able to enter on internal storage?
ThE_MarD said:
@Sammm77 if touchscreen doesn't work right away? Odds are it's just the touchscreen driver still initializing and maybe checking firmware and such. Focaltech for example is really known for having touchscreen issues as well on TWRP because of a long init period. Some touchscreens have a way to manually reset the kernel driver I think but I'm unsure if caprip has a method to do so.
My Asus Zenfone 5z (Z01R) has focaltech touchscreen and has issues with TWRP where sometimes it's intermittent that touchscreen works but it always works in the ROM since the ROM boot time is a lot longer than TWRP
Click to expand...
Click to collapse
No, it doesn't load right away, that would be great but it doesn't. You have to wait a few seconds. Do you think that can be solved?
Leogami9009 said:
Is it normal for this recovery to not be able to resize system/ not being able to enter on internal storage?
Click to expand...
Click to collapse
internal storage must be decrypted. Maybe later I'll make a tutorial on how to do that.
Heyyo, well it seems there's some communication breakdown as I was under the impression that decryption worked but I guess it doesn't lol oof.
Ok, can someone who is decrypted please try to decrypt and when it fails send me the recovery.log and logcat?
(No replies? Maybe decryption does actually work and there's some more miscommunication???)
Sorry for the long waiting, but i forgot to get the logcat and recovery.txt. I tried today to get it, but i wasn't able to. it says that it was saved in data/media/ so i tried to get it with adb pull but it says "failed to stat remote object 'data/media/logcat.txt': Permission denied". But i think i should mention that i've installed twrp by flashing the .zip with termux (my phone was rooted with magisk and it had the magic flasher module). I installed it this way because the booted .img touchscreen didn't worked even if i let it some minutes for the driver to load. And when i've flashed the .zip with termux my device wasn't rooted anymore. So i can't use adb root. But when i flash the patched boot.img back, the recovery just disappears.
Sorry for bad english
@Leogami9009 hmm, maybe it's just because of the prebuilt kernel? Not too sure though tbh but I think there's kernel source code somewhere so I might see if that would help? From what I saw from Motorola's source code release there was only like, 2 drivers they used for touch
ThE_MarD said:
@Leogami9009 hmm, maybe it's just because of the prebuilt kernel? Not too sure though tbh but I think there's kernel source code somewhere so I might see if that would help? From what I saw from Motorola's source code release there was only like, 2 drivers they used for touch
Click to expand...
Click to collapse
That's why twrp doesn't work on ilitek screens, on this device.
@Leogami9009 I think I just realized you're trying to get some logcat.txt on the device, but you should be using a PC or something to get logcat like this:
Via Windows PowerShell:
Code:
adb logcat | Tee-Object logcat.log
Via Linux Terminal:
Code:
adb logcat | tee logcat.log
And whatever folder you are in when you run it will have that logcat.log
Also, which build of TWRP are you on?
Plus twrp-installer.zip is meant to be installed whilst in recovery and not while booted into the system. Installing TWRP does remove root so if you want to maintain that you must reinstall it after rebooting to recovery.
Here is the logcat, i let it for 5 minutes:
I have twrp 3.7.0, i realized yestarday that if i root with twrp i can have both root and the recovery, and i tried to flash the zip with the twrp already installed ( nothing different)
Something intresting is that if i format data with twrp and reboot in recovery, it detects the internal storage (when i try to select the internal storage it says it has 15000mb or something like that), but after i set up the phone, it says 0mb. Maybe is something about the partition format? Idk, i can put a sd card to see if it gets detected or not.
Another thins is that when twrp starts it says "Unable to mount storage" and "Unable to mount /data/media/TWRP/.twrps" two times and when i try to manually select the Internal Storage and data partition and format those it says "Unable to mount 'data' (Invalid argument)" "Unable to wipe /data."
ahoy, the release version does not work on my phone, also EU, build S0RCS32.41-10-9-2
I mean, I fastboot boot twrp-3.whatever.img and it boots to that, but touchscreen doesn't work, and adb doesn't work, only thing I can do is turn screen on-off, lol, even after waiting several minutes
also the kernel sources are iirc like, on github, under various tags and branches

Development [Recovery] [a32] OrangeFox Recovery Project [Stable-ish, Unofficial]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Code:
/*
*Disclaimer
*
* 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 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.
*/
Introduction
OrangeFox Recovery is one of the most popular custom recoveries, with amazing additional features, fixes and a host of supported devices
OrangeFox version: R11.1
For device: a32
Maintainer: Ahnet ( @Captain_cookie_200 )
OrangeFox source:
OrangeFox Recovery · GitLab
OrangeFox Recovery | OFR
gitlab.com
Device tree:
GitHub - Epico-Bot/ofox_device_samsung_a32: Device tree for building OrangeFox Recovery for Samsung Galaxy A32 4G (MTK), based on A325FXXU2BVD6.
Device tree for building OrangeFox Recovery for Samsung Galaxy A32 4G (MTK), based on A325FXXU2BVD6. - GitHub - Epico-Bot/ofox_device_samsung_a32: Device tree for building OrangeFox Recovery for Sa...
github.com
Kernel Source: https://github.com/ahnet-69/android_kernel_samsung_a32-recovery
Features:
Code:
Synced with the latest Teamwin changes
Designed with latest Material design 2 guidelines
Implemented support for Flyme and MIUI OTA, and incremental block-based OTA in custom ROMs
Included assorted customizations
Inbuilt patches, like Magisk and password reset patch
Several addons
Password protection
Fully open-source
Frequently updated
Status
Stable-ish
Tested on:
SM-A325F (by me)
SM-A325M (by @filipedonato)
other models unknown. But should work.
Please report back so i can update the op
Downloads
Click here.
Bugs
1. TWRP cannot decrypt userdata if you set lockscreen. (someone said it works, other it doesn't, so I'll just leave it here, YMMV)
2. Flashing anything shows many "unlock" red lines. (They are currently harmless by our knowledge).
3.USB-OTG
4. Saving settings is fixed but for fixing settings such as theming resetting on reboot is by editing the bootable/recovery/twrp.cc and at line 396 (as of now) changing the bool to true. This makes the recovery load the themes twice. This should only be for encrypted devices but since it has fixed our issue we'll use this workaround until a proper solution has been found.​
Installation
Code:
If you have TWRP or any custom recovery installed and bootable, you can upgrade instead; Look below.
<!> the installation will require WIPING DATA. You will also lose access to all Knox-based solutions like Secure Folder.
Backup every precious data you have on your phone.
<!> PC is required. Windows is preferred. (You probably know what you are doing when using Linux/Heimdall. We don't talk about Macs)
Unlock Bootloader:
1. Go to Settings > About Phone > About Software. Tap build number (10 times) until "you are now a developer" toast shows up.
2. Go back, go to Developer Settings.
3. Turn on OEM unlock toggle.
4. Turn off your phone, hold vol-up + vol-down, then plug in charging cable (please don't use 3rd-party charging-only cable, it must have data transfer capability).
5. Your device will boot into download mode with a warning. Accept it.
6. Hold volume-up until the phone shows the bootloader unlock panel "Unlock Bootloader?".
Press volume-up again. Now your phone bootloader is unlocked.
<!> It will now begin the process of wiping data. Let it do its job.
7. When it reboots to OS, finish setting up your device.
8. Double check to make sure OEM Unlock is still ON.
 
Preparing for the installation:
1. Download everything above onto your PC.
2. Rename OrangeFox recovery img file to recovery.img and add it to archive using any archiver and select gnu tar.
3. Install Samsung USB Driver.
4. Open Odin.
5. Connect your phone to your PC. There should be a COM entry on the top.
6. Make sure your phone is in Download Mode. (see step 4 of section Unlock Bootloader)
7. Make sure that OEM LOCK and REACTIVATION LOCK on your screen show "OFF". If it's not off, DO NOT PROCEED ANY FURTHER.
<!> For those with lock ON, use your device for 7 days without rebooting once. Then check the locks above again.
‎  
 
Installing:
1. Ensure phone is in Download mode.
In Odin:
Load in Userdata: VBMeta_disabler.tar file.
Load in AP: OrangeFox TAR file.
2. Prepare yourself. keep your hand on Volume-up and Power button (don't press yet).
3. In Odin, press Start. It will flash, then reboot. When the screen turned off, quickly press Vol-up and Power button to boot to recovery (this should take about 20~30 seconds).
<!> You should have OrangeFox up and running now.  
 
Post-Installation:
MUST: Trigger Multi-disabler.
1. In OrangeFox, go to Terminal.
2. Type multidisabler, then enter. If it fails with something about vendor free space, run it again.
3. Run multidisabler again.
4. Go to main screen. go to Wipe > Format Data, type yes then swipe.
5. Reboot to Recovery. Now you can do other stuff.
 
Should: Backup all vital partitions:
1. In OrangeFox, go to Backup
2. Backup: EFS, Modem, NVRAM.
Enjoy: Reboot your phone to have a rooted stock, install custom stuff or do whatever you want.
Upgrade:
<!> Use when you already have any custom recovery installed (TWRP, SHRP, PBRP and the likes)
1. Download the recovery image.
2. Copy it to phone, then reboot to OrangeFox (Combo is Power + Volume-up)
3. Go: Install > select recovery.img file > select Recovery
4. Swipe to confirm flashing.
5. If success, reboot to recovery.
<!> You can also use Odin to upgrade, the steps similar to the Install section. All Post-installation, if already done, is unnecessary to do again.
Credits:
To the OrangeFox and TWRP team and everyone involved in making this all work.
@Long266 For his kernel and amazing work.
@ianmacd For multidisabler.
@afaneh92 For his a32x base tree and MTK-Samsung multidisabler.
@KrutosVIP For his experimental lineage kernel source from here.
reserved
reserved
I have tried to talk to various developers about the settings not saving issue. They have no idea. I have myself tried playing around with the tree but nope. So unless someone has a fix for this i have no idea
New Build!
Whats new?
Fixed the settings such as theming resetting on reboot by editing the bootable/recovery/twrp.cc and at line 396 (as of now) changing the bool to true. This makes the recovery load the themes twice. This should only be for encrypted devices but since it has fixed our issue we'll use this workaround until a proper solution has been found.
If you see the recovery trying to decrypt storage dont worry about it. its just because of this. It does nothing.
It's stable? I mean, i can install gsi's and zips?
ApiYoshi said:
It's stable? I mean, i can install gsi's and zips?
Click to expand...
Click to collapse
yes i use orangefox. flashing gsi works fine. same goes with zips
Captain_cookie_200 said:
yes i use orangefox. flashing gsi works fine. same goes with zips
Click to expand...
Click to collapse
Ok, i flashed it and is awesome!! Thanks for great work brother!
ApiYoshi said:
Ok, i flashed it and is awesome!! Thanks for great work brother!
Click to expand...
Click to collapse
You should make a telegram group
ApiYoshi said:
You should make a telegram group
Click to expand...
Click to collapse
i dont really know on how to maintain one. me and someone else made it but its sitting dead i'll see later on. and i'll post a thread abt it if there are any updates
Works in A32 A325M Brazil variant.
really nice you are keeping the a32 alive!
applesucksLmao said:
really nice you are keeping the a32 alive!
Click to expand...
Click to collapse
i did nothing tbh. all the credit goes to the people who put effort in making twrp work i just copied and built it. all the credit goes to them
Captain_cookie_200 said:
i dont really know on how to maintain one. me and someone else made it but its sitting dead i'll see later on. and i'll post a thread abt it if there are any updates
Click to expand...
Click to collapse
Ooh, i undertand
One question, you will update the recovery when an update came out?
ApiYoshi said:
One question, you will update the recovery when an update came out?
Click to expand...
Click to collapse
yes i will try
Where do I get the orange fox TAR, I see it in the steps but I don't see it to download it
Seth Ofc said:
Where do I get the orange fox TAR, I see it in the steps but I don't see it to download it
Click to expand...
Click to collapse
sorry i didnt include it. but i think i specified. rename OrangeFox recovery img file to recovery.img
then use 7zip or winrar or any other archiver and then add to archive. There select tar and compress. I'll include tar files in next builds by default
Thanks I already compressed the recovery.img to recovery.tar, do you know of any aosp rom for the a325m I was looking for but I can't find it
Seth Ofc said:
Thanks I already compressed the recovery.img to recovery.tar, do you know of any aosp rom for the a325m I was looking for but I can't find it
Click to expand...
Click to collapse
use a generic system image.
if you want heres a list: here

Categories

Resources