Development Vendor_Boot ROMs - Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40

1. We are beginning to see the release of new Android 13 ROMs for Alioth, that use "vendor_boot-as-recovery" ("vendor_boot") instead of the standard "boot-as-recovery".
2. A "vendor_boot" ROM has its recovery resources in the "vendor_boot" partition, instead of the standard "boot" partition.
3. A "vendor_boot" ROM requires a different kind of recovery - one that is installed into the vendor_boot partition. If you flash a standard recovery to a vendor_boot ROM, you will get a bricked device, which will be very tricky to fix. So it is important to know whether you have a standard ROM, or whether it is a "vendor_boot" ROM. If you are not sure which kind of ROM it is (especially for new releases) you should ask your ROM's maintainer - before flashing it.
4. Unfortunately, it seems that a number of alioth ROM maintainers that are releasing vendor_boot ROMs are either clueless about the implications, or do not care about its consequences for users. Therefore they do not very clearly document that their ROM uses vendor_boot-as-recovery. This is of course a recipe for disaster for users - but it is the custom recoveries that will often get the blame for what is the ROM maintainers' fault in not properly documenting their ROM. I shall not mention names - but I only know of one ROM maintainer who clearly identifies his ROMs as vendor_boot.
5. The requirement of a vendor_boot recovery for vendor_boot ROMs is the main difference between vendor_boot ROMs and the standard ROMs. Also, you cannot boot a vendor_boot recovery image by running "fastboot boot ..." on it (I have since discovered that, at least on one vendor_boot ROM, you can still "fastboot boot" a standard recovery image - but decryption will fail; and whether you can safely do anything useful in recovery mode in such a situation is anyone's guess - I personally wouldn't try).
6. For practical purposes, everything else in the ROMs looks the same to the end user.
7. OrangeFox Recovery Project has released a vendor_boot variant for Alioth [https://forum.xda-developers.com/t/...ry-project-r11-1.4472617/page-4#post-88415935].
8. I have started this thread to start to compile a list of the Alioth ROMs that use vendor_boot-as-recovery. I also aim to provide other information that is relevant to vendor_boot-as-recovery for Alioth (things may be very different on other devices).
9. The list starts with the vendor_boot ROMs that I am personally aware of. The list will be updated as and when I am aware of more vendor_boot ROMs. Hopefully, the information on this page will be useful to someone.
10. Please note that the list below is for information only. By creating this list, I am not endorsing (or otherwise) any ROM that appears there. It is for you to investigate and make up your own mind about any of them.
Vendor_Boot ROMs for Alioth
1. Paranoid Android Topaz (20230125/20230426 releases): https://forum.xda-developers.com/t/paranoid-android-topaz-beta-1-poco-f3-mi-11x-redmi-k40.4546683/
2. tequilaOS (20230412 release): https://tequilaos.pl/download/alioth
3. Project Zephyrus CLO (20230412/20230504 releases): https://sourceforge.net/projects/projectzephyrus-clo/files/alioth/
4. StatiXOS (20230207/20230423 releases): https://forum.xda-developers.com/t/rom-official-13-statixos-v6-1-alioth-aliothin.4549639/ (these specific releases can only be installed via fastboot). Note: the 20230505 release is NOT vendor_boot.
5. PalyrimOS v1.5: [https://sourceforge.net/projects/palyrimos/files/13/alioth/]
6. Project404 Community edition v6.1: [https://sourceforge.net/projects/gengkapak/files/ROM/alioth/Project-404/13/]
7. Project Elixir (3.7/3.8): [https://forum.xda-developers.com/t/rom-13-0-alioth-project-elixir-official-aosp.4579015/]
8. BananaDroid (20230416/20230502/20230514 releases): [https://forum.xda-developers.com/t/rom-13-0-alioth-bananadroid-official.4579643/]
9. AlphaDroid (1.4/1.5.1): [https://sourceforge.net/projects/alphadroid-project/files/alioth/]
10. SparkOS (13.6 - 20230531): [https://sourceforge.net/projects/sparkosofficial/files/alioth/]
* If there is any ROM that should not be on this list, please let me know why you think it should not be on the list.
* If there is a ROM that should be on the list, which is not currently there, please provide the name and version number of the ROM, and a public download link.

Initial installation of Vendor_Boot ROMs for Alioth
1. You will normally need a PC / Laptop, because you are likely to need to flash some things in bootloader mode (at least, when installing a vendor_boot ROM for the first time)
2. It is best to follow the instructions given by the ROM's developers
3. However, you should be able to do an initial installation of a vendor_boot ROM in the usual way, using the standard OrangeFox Recovery for Alioth. If you want to do so, please note the following:
(a) You must untick "Reflash OrangeFox after flashing a ROM" before flashing a vendor_boot ROM with a standard recovery
(b) The vendor_boot ROM (as is normal with A/B devices) will replace the installed recovery with its own vendor_boot recovery
(c) So, you must flash the OrangeFox vendor_boot recovery zip immediately after flashing the vendor_boot ROM
(d) You should then reboot to recovery immediately after this, and then format the data partition, using the newly installed vendor_boot OrangeFox before booting to system
(e) After this, you should be able to boot to the OrangeFox vendor_boot recovery in the normal way
(f) Formatting the data partition will have removed the custom OrangeFox files in the internal storage. You can restore them later by flashing the OrangeFox zip again.
Subsequent installations of new Vendor_Boot ROMs for Alioth
- Format the data partition
- Flash the new vendor_boot ROM with the installed OrangeFox vendor_boot recovery (this will also replace OrangeFox with the ROM's own recovery)
- Flash the OrangeFox vendor_boot recovery zip file again
- Format the data partition again (you may first have to reboot OrangeFox, if there is a problem with formatting)
- Reboot to system
Issues with Vendor_Boot ROMs
Every vendor_boot ROM for alioth that I have tested (ie, all in the list provided in the OP) had (at the time of testing) an incomplete implementation of the fastbootd mode.
This means that you cannot flash a vendor_boot ramdisk to the vendor_boot partition, as envisaged by Google (see this Google documentation on fastbootd and especially this section).
Thus the only way to replace/update the vendor_boot recovery is to flash a full vendor_boot recovery image to the vendor_boot partition (ie, replace the entire partition, rather than just the ramdisk). This is potentially problematic. So far, it has worked fine for all the ROMs listed above. But this is not guaranteed to continue forever.
Solution?
The real solution is for the ROM devs to have a full implementation of fastbootd. It might just be a simple case of using a v4 header (ie, BOARD_BOOT_HEADER_VERSION := 4). Or it might involve something a little bit more. In any case, it is an easy and uncomplicated task.
DIRE WARNING!!!
Do NOT flash a standard recovery onto a "vendor_boot" ROM. If you do, you will trash the boot partition, with all of the following consequences:
a. The ROM will not boot, and
b. The recovery will not boot, and
c. You will not be able to "fastboot boot" a recovery image of any kind.
In short, you will get a bricked device that can only boot successfully into the bootloader mode. And then you will have a very interesting experience in trying to restore the device from bootloader mode. You really do not want to go down this route!
Is there any advantage at all in vendor_boot?
1. Generally, separating the recovery from the boot partition can be a good thing.
2. If you are into rooting your device, there is an advantage to having a different partition for the recovery (ie, other than the boot partition). Because a vendor_boot recovery must be flashed to the vendor_boot partition, updating your vendor_boot recovery (or replacing it with another vendor_boot recovery) would not touch your boot partition, meaning that it should have no impact on your magisk installation.
3. However, going down the vendor_boot route is dubious, because there was already that solution long ago (with A-only devices, which had dedicated recovery partitions). Google could simply have returned to having dedicated recovery partitions again with A/B devices (at least one OEM has A/B devices with real/separate recovery partitions). Why Google chose the vendor_boot route is anyone's guess. This route is especially problematic because you can't "fastboot boot" a vendor_boot recovery image, meaning that there is no way to test it without first flashing it. That is a major problem, given the high risk of bricking a device during testing of recovery builds before release.
If/when I come up with any other advantage of vendor_boot, I will update this section ...

Returning to a standard ROM, from a vendor_boot ROM
This part is more tricky. The most important thing to remember is that, once you are running a vendor_boot ROM, you must not flash a standard recovery - until you have first flashed a standard ROM.
Returning to standard ROMs can safely be done by following a few simple steps:
0. Pray
1. Boot into the installed vendor_boot OrangeFox
2. Format data
3. Flash your standard ROM (and GAPPs if desired)
4. Flash the standard OrangeFox zip
5. Reboot to OrangeFox
6. Format data
7. Reboot to system
Hopefully, you will be greeted by your new standard ROM.

Hell yes, recently when Im flashing new ROMs to test functions ( personal purposes ) I faced this kind of issues, at 1st I also wondering how did they do such thing. Now I know that it moved the recovery to vendor_boot . Very useful and interesting my friend.
For the list, besides of those which u've listed, HentaiOS is also one of a kind.

OOops, I forgot, FlamingoOS also. Seems like almost every new CLO ROM are with this!!!

1. Flashing the OrangeFox vendor_boot Recovery for the first time
* Firstly, ensure that you have already installed a vendor_boot ROM
* Secondly, connect your PC to your device with a USB cable
Using your ROM's recovery
1. Reboot into Recovery mode on your vendor_boot ROM
2. Flash the OrangeFox vendor_boot zip installer the same way you would flash any other zip, with "adb sideload ..."
3. The device will be rebooted automatically into OrangeFox
* If the ROM's recovery is unable to flash the OrangeFox zip (most can do it, but some will terminate on one pretext or the other), then see the next section.
Using fastboot commands
1. Extract the OrangeFox vendor_boot zip into a folder
2. Open a terminal/command line windows, and change to the folder into which the zip has been extracted
3. Run the command: "flash-whole-image.bat"
4. The recovery will be flashed using fastboot commands, and the device will be rebooted automatically into OrangeFox
2. Flashing/Upgrading with an installed OrangeFox vendor_boot recovery
If you already have an OrangeFox vendor_boot recovery installed, then to upgrade the recovery:
1. Just flash the new OrangeFox zip the same way that you will flash any other zip
2. Reboot OrangeFox

DarthJabba9 said:
Thanks. I need download links please. Thanks.
Click to expand...
Click to collapse
https://23wycx-my.sharepoint.com/personal/npv12_23wycx_onmicrosoft_com/_layouts/15/onedrive.aspx?ga=1&id=%2Fpersonal%2Fnpv12%5F23wycx%5Fonmicrosoft%5Fcom%2FDocuments%2Fflamingo%2FA13%2Falioth%2FGApps
Link for latest official Flamingo. Besides, pls update that I now confirm few more ROMS : PalyrimOS, ReloadedOS ( Community build - CLO ) , P404 6.1 ( Community build, CLO )

LinhBT said:
https://23wycx-my.sharepoint.com/personal/npv12_23wycx_onmicrosoft_com/_layouts/15/onedrive.aspx?ga=1&id=%2Fpersonal%2Fnpv12%5F23wycx%5Fonmicrosoft%5Fcom%2FDocuments%2Fflamingo%2FA13%2Falioth%2FGApps
Link for latest official Flamingo. Besides, pls update that I now confirm few more ROMS : PalyrimOS, ReloadedOS ( Community build - CLO ) , P404 6.1 ( Community build, CLO )
Click to expand...
Click to collapse
Thanks. But I need links to the ROMs' official download pages or official support pages. I can't update the list until I have these.

DarthJabba9 said:
Thanks. But I need links to the ROMs' official download pages or official support pages. I can't update the list until I have these.
Click to expand...
Click to collapse
You mean u'll need the link of all ROMs that I listed? If it is so, as u know that 3 out of 5 ROMs I listed are Community build, therefore, they only have Telegram Support. If thats ok, I will send the link

LinhBT said:
You mean u'll need the link of all ROMs that I listed?....
Click to expand...
Click to collapse
Indeed. The object is so that anyone interested has a download link (ie, a sort of one-stop shop). It doesn't really matter whether they have a support thread here. Thanks.
Please feel free to send me the links by DM.

Sne
DarthJabba9 said:
Indeed. The object is so that anyone interested has a download link (ie, a sort of one-stop shop). It doesn't really matter whether they have a support thread here. Thanks.
Please feel free to send me the links by DM.
Click to expand...
Click to collapse
Sent the msg bro!

The list has been updated.

Is there a purpose behind the switch from boot to vendor_boot?

Veiranx said:
Is there a purpose behind the switch from boot to vendor_boot?
Click to expand...
Click to collapse
Another great Google idea!

Is android 13 miui roms will affect on this too?

gigavolthavoc07 said:
Is android 13 miui roms will affect on this too?
Click to expand...
Click to collapse
Probably not.

Updated the list of vendor_boot ROMs ...

The list has been updated.

The list has been updated.
It seems that quite a lot of newly released ROMs now use vendor_boot-as-recovery!

DarthJabba9 said:
The list has been updated.
It seems that quite a lot of newly released ROMs now use vendor_boot-as-recovery!
Click to expand...
Click to collapse
Excuse me sir, so you mean that once installed in my PA case through adb I can install this ofox and through it I can install any rom of this type?

Related

[RECOVERY][TWRP] MultiROM TWRP 3.0.0-0

This is MultiROM TWRP 3.0.0-0 built using the latest 3.10 kernel and MM sources. The advantage is now you can have a TWRP recovery in the dedicated recovery partition that comes with the new TA Update. I've seen some people asking for this, and so here it is.
UNLOCKED BOOTLOADERS ONLY! I am not responsible for what you do with this recovery, and how it affects your phone.
Instructions:
-> Download the recovery.img from the link below
-> Flash it to either the FOTA partition or the recovery partition using the respective fastboot commands
FOTA:
Code:
fastboot flash FOTAKernel recovery.img
Recovery partition:
Code:
fastboot flash recovery recovery.img
-> Profit!
This will work with the Multirom v30 from the Original Development subforum.
DOWNLOAD:
https://www.androidfilehost.com/?fid=24499762636006068
About MultiROM:
For the past few days, I've been trying to port MultiROM v33 to our device so that we can multiboot with MM ROMs, but in vain. Although we have a working port of MultiROM already, it's sources are no longer available, and so we have to start from scratch. By referring to other Sony devices' source codes, I have reached a point where it boots all ROMs except MM ROMs, which is absolutely useless. If anyone has experience in the field and is willing to help, please do inform me, as this could be very useful to people who wanna stay on the bleeding edge with MM and at the same time, not lose camera privileges.
If you find a thread/post useful, the least you can do is click that Thanks button. It's a great source of encouragement for all the devs who do stuff for you for free

[GUIDE] Flash (almost) ANY GSI rom on Realme Q. RM5P should work too!

Original thread.
Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here 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.
* Your warranty will be void if you tamper with any part of your device / software. *This is not entirely true for Realme devices since bootloader unlock or custom rom flash via TWRP or fastboot does not void your warranty but rooting does.
* So I heard. But that's question of detail.
* Same statement for XDA.
[DETAILED DESCRIPTION]:
I've spent my whole afternoon testing. And found out there are way more well made gsi roms out there and theoretically all of them should work. First, you gotta read this one. Then pick a gsi rom. I recommend one that has everything (must be AB image) since we don't have a working twrp yet thus can't flash opengapps but if the image file contains it then it's good to go. Go there. Pick one. Make sure it has ab-gapps-su in it's name meaning it's A/B partition dependent treble rom. Gapps means it has gapps ofc. Su means it has built in superuser (that you can ignore later for you'll be replacing it with Magisk naturally). After picking a gsi rom image successfully you can download it to your external sd card and flash it via twrp (yes, that half ass twrp for rmq provided on xda) or you can flash it via fastboot flash system system.img. Wiping data, cache, dalvik, system is necessary before doing so. Also formatting data in twrp after flashing the system image helps a lot just as OP said. If you want to try out other gsi roms you must flash stock vendor image file and do the flashing circle again. If you don't flash stock rom or stock vendor img before doing so your new gsi rom won't be able to work with screen lock. At least that's what I got on 4 different gsi roms. And one more thing. These gsi systems doesn't seem to support exfat file system. Meaning they'll want to format your external sd card. This can by bypassed if you flash lineage os boot.img. And then Magisk and at last modified vbmeta.img for RMQ. That file will make realme vendor think nothing is changed and won't try to fck you over with recovery destroyed issue.
[Prerequisites]:
unlocked bootloader
twrp recovery
External SD card
[BUGS]:
Face unlock and fingerprint isn't present on gsi roms which means they cannot work
Screen lock issue in cases when you don't flash stock vendor.img before migrating from one custom rom, be it gsi or zip to system gsi.img
[STEP BY STEP TUTORIAL IN CASE YOU'RE COMING FROM OTHER ROM]:
!! Most of these steps are precaution !!
Read these points carefully to have a basic knowledge what you're about to do
Pick a gsi image of your choice (official Android 9 Pie, especially AOSP is highly advised)
Put your image file onto your external SD card for your internal one will likely be erased
You should grab the appropriate vendor.img and boot.img files for your device by decompressing the 7z files
Get the modified vbmeta.img file for spoofing system to boot
Get Magisk
Get SuperSu remover(Beware! It also removes Magisk if installed)
Get Lineage OS boot.img
It's better to be safe than sorry so you better download whole rom package too
Put all these files onto your external SD card
Make sure you have your twrp recovery on your external SD card too
If you done everything well you should have these on your external SD: twrp, desired system gsi.img as AB variant, your vendor.img, modified vbmeta.img, stock boot.img, Lineage OS boot.img, color os flashable.ozip/zip, Magisk, SuperSu remover
Wipe system, data, dalvik, cache
Flash stock vendor.img as vendor
Flash system gsi.img as system
Flash lineage os boot.img as boot
Flash twrp.img as recovery
Flash modified vbmeta.img as vbmeta
Reboot to system (if the device reboots into recovery you'll have to format data sadly)
After reboot successful and you've done the initial google setup steps reboot to recovery and flash superuser unroot
Flash Magsik
Reboot, now you should have a working aosp like system as I do
[STEP BY STEP TUTORIAL IN CASE YOU'RE COMING FROM COLOR OS]:
!! You could have the same files as above just to make sure but system gsi.img,vbmeta.img,SuperSu remover,Magisk and Lineage OS boot.img should be enough if everything goes as planned and system boots for first try !!
Read the frequently asked questions, step one previously
Get your desired system gsi.img
Put your system gsi.img, twrp.img, Magisk, SuperSu remover, vbmeta.img, Lineage OS boot.img onto your external SD card
Wipe data, system, cache, dalvik
Flash system gsi.img as system
Flash lineage os boot.img
Flash twrp.img as recovery
Flash vbmeta.img ad vbmeta
Reboot (if reboots to recovery you have to format data) then do the Android setup
Reboot to recovery
Flash SuperSu remover.zip
Flash Magisk.zip
Reboot
Now your device should have successfully booted up
In case the gsi rom would be stuck on boot logo then you may reboot back to recovery by holding down volume up + power button and flash permissiver_v5.zip. It helped me boot Pixel Experience gsi rom.
Update.:
As you already know development on realme devices suck beacuse of ****ty or incomplete sources, lack of developers interest and biggest reason is lack of community support.
Our man here @BabluS is a legendary developer of Asus Zenfone Max M1 Pro and is willing to compile stable ROMs for our device. But, he needs some donations to buy the device. He has already compiled Android 10 (PE) for our device which is 99% stable. To continue this tremendous work he needs to have the device in hand.
Reasons To Donate:
1. Official PixelExperience ROM
2. Official POSP ROM
3. Will maintain & provide public Device Trees/Sources (So anyone can compile ROMs)
4. More development for realme 5 Pro
Name : Baswanth Madhav Saladi
Donate Using UPI: [email protected]
Donate using Paypal : [email protected]
Send screenshots of payment to @orgasmtron
We have to reach 6-7k in total out of which we have collected 2.6k..
Keep donating & get closer to stable custom ROM experience. Kudos!
All the donations will be public.Anyone can view and verify them.All details will be transparent.
NOTE:
We will update money collection daily evening. All details will be transparent.
List of Donators will get updated here
CLICK HERE TO CHECK!
Has anybody got Android 10 working properly?
tonibm19 said:
Has anybody got Android 10 working properly?
Click to expand...
Click to collapse
Yes. Method is same.
greenys' said:
Yes. Method is same.
Click to expand...
Click to collapse
Yeah but I mean, everything is working fine?
Fingerprint? Camera?
tonibm19 said:
Yeah but I mean, everything is working fine?
Fingerprint? Camera?
Click to expand...
Click to collapse
Dunno. As I said I never tried Android Q. But I presume fingerprint is missing and I'm quite sure no 48mp camera is present either.
What GSI File for Realme 5 Pro
what type GSI Image for Realme 5 pro, A or AB type?
Tegarcs142 said:
what type GSI Image for Realme 5 pro, A or AB type?
Click to expand...
Click to collapse
AB. On Android 9 and above you must use AB variant. It doesn't matter whether or not does your device use seamless updates. If you try to flash A only variant your device won't boot.
I installed GSI resurrection remix on my Realme 5 Pro and when I trying install Gapps get error not enough system partition. So I use resize file system in twrp and it worked.
Tegarcs142 said:
I installed GSI resurrection remix on my Realme 5 Pro and when I trying install Gapps get error not enough system partition. So I use resize file system in twrp and it worked.
Click to expand...
Click to collapse
Nice. Which twrp did you use?
greenys' said:
Nice. Which twrp did you use?
Click to expand...
Click to collapse
3.3.1-0
Tegarcs142 said:
... So I use resize file system in twrp and it worked.
Click to expand...
Click to collapse
Hi, can you please tell me what option you clicked for resizing the system partition?
the steps you did.
I tried doing that but don't find the option in TWRP.
For better experience with using gsi make sure to check Screenshot resolution if it's lower than our Device
Change Resolution :
1) download termux app
https://play.google.com/store/apps/d...?id=com.termux
2) run commands:
su
wm size 1080x2340
3) reboot*device
Enjoy better experience with gsi
greenys' said:
Original thread.
[DETAILED DESCRIPTION]:
I've spent my whole afternoon testing. And found out there are way more well made gsi roms out there and theoretically all of them should work. First, you gotta read this one. Then pick a gsi rom. I recommend one that has everything (must be AB image) since we don't have a working twrp yet thus can't flash opengapps but if the image file contains it then it's good to go. Go there. Pick one. Make sure it has ab-gapps-su in it's name meaning it's A/B partition dependent treble rom. Gapps means it has gapps ofc. Su means it has built in superuser (that you can ignore later for you'll be replacing it with Magisk naturally). After picking a gsi rom image successfully you can download it to your external sd card and flash it via twrp (yes, that half ass twrp for rmq provided on xda) or you can flash it via fastboot flash system system.img. Wiping data, cache, dalvik, system is necessary before doing so. Also formatting data in twrp after flashing the system image helps a lot just as OP said. If you want to try out other gsi roms you must flash stock vendor image file and do the flashing circle again. If you don't flash stock rom or stock vendor img before doing so your new gsi rom won't be able to work with screen lock. At least that's what I got on 4 different gsi roms. And one more thing. These gsi systems doesn't seem to support exfat file system. Meaning they'll want to format your external sd card. This can by bypassed if you flash lineage os boot.img. And then Magisk and at last modified vbmeta.img for RMQ. That file will make realme vendor think nothing is changed and won't try to fck you over with recovery destroyed issue.
[Prerequisites]:
unlocked bootloader
twrp recovery
External SD card
[BUGS]:
Face unlock and fingerprint isn't present on gsi roms which means they cannot work
Screen lock issue in cases when you don't flash stock vendor.img before migrating from one custom rom, be it gsi or zip to system gsi.img
[STEP BY STEP TUTORIAL IN CASE YOU'RE COMING FROM OTHER ROM]:
!! Most of these steps are precaution !!
Read these points carefully to have a basic knowledge what you're about to do
Pick a gsi image of your choice (official Android 9 Pie, especially AOSP is highly advised)
Put your image file onto your external SD card for your internal one will likely be erased
You should grab the appropriate vendor.img and boot.img files for your device by decompressing the 7z files
Get the modified vbmeta.img file for spoofing system to boot
Get Magisk
Get SuperSu remover(Beware! It also removes Magisk if installed)
Get Lineage OS boot.img
It's better to be safe than sorry so you better download whole rom package too
Put all these files onto your external SD card
Make sure you have your twrp recovery on your external SD card too
If you done everything well you should have these on your external SD: twrp, desired system gsi.img as AB variant, your vendor.img, modified vbmeta.img, stock boot.img, Lineage OS boot.img, color os flashable.ozip/zip, Magisk, SuperSu remover
Wipe system, data, dalvik, cache
Flash stock vendor.img as vendor
Flash system gsi.img as system
Flash lineage os boot.img as boot
Flash twrp.img as recovery
Flash modified vbmeta.img as vbmeta
Reboot to system (if the device reboots into recovery you'll have to format data sadly)
After reboot successful and you've done the initial google setup steps reboot to recovery and flash superuser unroot
Flash Magsik
Reboot, now you should have a working aosp like system as I do
[STEP BY STEP TUTORIAL IN CASE YOU'RE COMING FROM COLOR OS]:
!! You could have the same files as above just to make sure but system gsi.img,vbmeta.img,SuperSu remover,Magisk and Lineage OS boot.img should be enough if everything goes as planned and system boots for first try !!
Read the frequently asked questions, step one previously
Get your desired system gsi.img
Put your system gsi.img, twrp.img, Magisk, SuperSu remover, vbmeta.img, Lineage OS boot.img onto your external SD card
Wipe data, system, cache, dalvik
Flash system gsi.img as system
Flash lineage os boot.img
Flash twrp.img as recovery
Flash vbmeta.img ad vbmeta
Reboot (if reboots to recovery you have to format data) then do the Android setup
Reboot to recovery
Flash SuperSu remover.zip
Flash Magisk.zip
Reboot
Now your device should have successfully booted up
In case the gsi rom would be stuck on boot logo then you may reboot back to recovery by holding down volume up + power button and flash permissiver_v5.zip. It helped me boot Pixel Experience gsi rom.
Click to expand...
Click to collapse
Hi
I wanna install fortnite on RMQ
Through epic games I should register a realme account (but I can do that only with a Chinese phone number which I don't have )
Any solution pls
Tarikooo said:
Hi
I wanna install fortnite on RMQ
Through epic games I should register a realme account (but I can do that only with a Chinese phone number which I don't have )
Any solution pls
Click to expand...
Click to collapse
Wth no. Idk. It's not even a gsi related thing. I have no idea sorry.
hi guys i tried flashing havoc 3.0 gsi, and it works great. which one gapps should i use?
Does fingerprint and face unlock work?
This method worked on global rm5p.
I tried to flash the GSI Miui Erfan, but when entered in the initial settings, the screen cannot be touched.
Salmankapuas said:
I tried to flash the GSI Miui Erfan, but when entered in the initial settings, the screen cannot be touched.
Click to expand...
Click to collapse
Don't bother with miui. Only aosp or caf.
i flashed GSI rom, pixel, OxygenOS but the system cannot boot, only stuck on boot loading screen, is that normal?? how do i fix it?

[RECOVERY] [OFFICIAL] OrangeFox Recovery for OnePlus 5

OrangeFox Recovery
Replace TWRP with OrangeFox once and you won't go back
Changelog:
- Initial Official build.
Contents:
Overview
Why OrangeFox?
Features
Screenshots
Links
Installation procedure
OVERVIEW:
Probably the most beautiful recovery out there.
Synced with the latest Teamwin changes.
Designed with latest Material design 2 guidelines.
Included customization.
Inbuilt patches, like Magisk and password reset patch.
Password protection.
Fully open-source.
Frequently updated.
Why OrangeFox?
OrangeFox has been operating for over two years. In that time OrangeFox have improved the quality, stability, and device support of the recovery. Today OrangeFox is the leader in stability, UI design, and UX. Installing OrangeFox means being with the latest code and fastest fixes.
Treble & Non-Treble Support
No compatibility.zip error while flashing OxygenOS
A lot of customisations
Extremely beautiful UI ready to please your eyes.
Dev team is always ready to fix your problems
F2FS support
Screenshots
Screenshots at
https://imgur.com/a/Ai8KWX9
and on Sourceforge
Links:
Support group: https://t.me/orangefoxop5t
Download: https://orangefox.download/
Installation procedure:
There are two methods to install OrangeFox
A) Via a recovery (for those with TWRP installed):
1. To install an OrangeFox zip, flash it with OrangeFox (or any TWRP-compatible custom recovery) without any wipes.
2. Do the same thing if you want to upgrade OrangeFox
3. When you flash an OrangeFox zip, there is no need to flash any DFE or any other such thing
4.To install an OrangeFox img file, boot into fastboot mode, and run the command: fastboot flash recovery OrangeFox-xyz.img
B) Via Fastboot (For those without a recovery):
You need a PC for this. If you do not have a PC, or access to a PC, then you are stuck!
1. Unlock your bootloader (if not already unlocked)
2. Install adb, fastboot and the relevant USB drivers onto your PCs)
3. Download the correct OrangeFox zip file to your phone, and to your PC
4. Extract recovery.img from the OrangeFox zip file, and copy recovery.img to your PC’s adb directory
5. Reboot your phone into fastboot/bootloader mode
6. Open up a command line window / terminal emulator on your PC
7. Change to the adb directory on your PC
8. Flash OrangeFox Recovery by using the fastboot flash recovery recovery.img command
9. Reboot into OrangeFox by pressing the power + volume down keys, until you see the OrangeFox splash screen
11. After OrangeFox has booted up, check that everything is working – eg, that it has mounted the data partition successfully, and that the touchscreen works.
12. Find and select the OrangeFox zip on your phone, tap on it, and swipe to install it (because OrangeFox Recovery needs some files from the zip)
After installation, the phone will automatically reboot into OrangeFox
Enjoy!
Hi !
I was kinda excited about this new recovery but official support for oneplus 5 is kinda... Dead, right ?
wund3rdelys said:
Hi !
I was kinda excited about this new recovery but official support for oneplus 5 is kinda... Dead, right ?
Click to expand...
Click to collapse
Yes
official dev did another update
SirRGB said:
official dev did another update an telegram
Click to expand...
Click to collapse
The link is broken
Phantom Thief said:
The link is broken
Click to expand...
Click to collapse
Telegram: Contact @orangefoxop5t
t.me

[ROM FIX] [GSI FIX] Fix for the widespread A71 problem of not being able to flash GSI / GSI won't boot / after flashing GSI, boots into Fastboot mode

Here's the steps on how to fix it, because Samsung's treble implementation is kinda crap.
(note: might not work for everyone, steps must be done correctly)
These steps assumes that you have your phone bootloader unlocked, rooted,flashed with a custom Recovery, and encryption removed.
Method 1 (easy, no need to download large flash files)
- Go to your custom recovery and then wipe
- Flash the boot.img file given below (note: Flash only on A71 4G. I am not responsible if your device bricked because you flashed this img on A71 5G or other devices. EVEN IF IT IS SIMILAR, IT WON'T WORK!)
- Reboot to recovery (important)
- Your device might boot to a stock recovery as of now. Don't panic if it does. Power off then boot to download mode
- Select "reboot to download"
- Use Odin to flash twrp-3.6.2_11-3_afaneh92-a71.tar (AP slot) that is given below.
- When the device reboots, immediately boot into the custom recovery by pressing volume up + power button.
- Flash Multidisabler, file given below
- Flash your GSI of choice (select install image then flash as system image)
- Flash any fix zips that need to be flashed (if there are any)
- Wipe again just to make sure
- Reboot
Bugs: This TWRP build's encryption/decryption not fully working. Make sure your device storage is already decrypted, as formatting data will not decrypt your device storage.
Method 2 (hard, but almost guaranteed will work)
Thank you @Zainullahk1234 for this fix
install Stock ROM (4 files, search on Samfw or Sammobile for the flash firmware for the A71. I recommend to flash the latest binary, as flashing older builds will not work sometimes) boot into the stock rom and then change date to 3 months from now
check for updates, make sure you're connected to the internet for this
boot into download mode
flash twrp 3.6.2 (file given above) and vbmeta tar file
boot into twrp
do format data
flash multidisabler
flash GSI ROM
flash GSI Fixes (if there are any)
do factory reset
reboot
if it boots you into fastboot again, shutdown then reboot to recovery, flash twrp 3.6.2 via Odin and try another factory reset and reboot (In twrp)
Credits: @ShaDisNX255 for the stock boot.img, extracted from RayOS
@afaneh92 for the TWRP recovery.
Thread - https://forum.xda-developers.com/t/recovery-unofficial-twrp-for-galaxy-a71-snapdragon.4350893/
@ianmacd for the multidisabler
TigerLake said:
Here's the steps on how to fix it, because Samsung's treble implementation is kinda crap.
(note: might not work for everyone, steps must be done correctly)
These steps assumes that you have your phone bootloader unlocked, rooted,flashed with a custom Recovery, and encryption removed.
- Go to your custom recovery and then wipe
- Flash the boot.img file given below.
- Reboot to recovery (important)
- Your device might boot to a stock recovery as of now. Don't panic if it does. Power off then boot to download mode
- Select "reboot to download"
- Use Odin to flash twrp-3.6.2_11-3_afaneh92-a71.tar (AP slot) that is given below.
- When the device reboots, immediately boot into the custom recovery by pressing volume up + power button.
- Flash Multidisabler, file given below
- Flash your GSI of choice (select install image then flash as system image)
- Flash any fix zips that need to be flashed (if there are any)
- Wipe again just to make sure
- Reboot
Bugs: This TWRP build's encryption/decryption not fully working. Make sure your device storage is already decrypted, as formatting data will not decrypt your device storage.
Credits: @ShaDisNX255 for the stock boot.img, extracted from RayOS
@afaneh92 for the TWRP recovery.
@ianmacd for the multidisabler
Click to expand...
Click to collapse
It was simple if you linked my twrp thread, and please drop the image and direct link to my host.
afaneh92 said:
It was simple if you linked my twrp thread, and please drop the image and direct link to my host.
Click to expand...
Click to collapse
Okay, I'll link your TWRP thread.
afaneh92 said:
It was simple if you linked my twrp thread, and please drop the image and direct link to my host.
Click to expand...
Click to collapse
Also btw, TWRP 3.7 caused my phone to not boot, so I reflashed twrp 3.6.2 and this build is what I put here.
TigerLake said:
Also btw, TWRP 3.7 caused my phone to not boot, so I reflashed twrp 3.6.2 and this build is what I put here.
Click to expand...
Click to collapse
Thanks, will try to fix it soon

Development [RECOVERY][3.7.0_12-8][UNOFFICIAL][UNIFIED] TWRP with A12/A13 encryption support

This is an unofficial build of TWRP, based on the Android 12.1 branch, that supports encryption used by Android 12 and 13 ROMs. This build is tested on OP9 pro, but it was confirmed to work on regular OP9 too.
As always I'm not responsible for any bricked device or data loss resulting from the use of this TWRP builds. You use this at your own risk.
For ROMs using FBEv1 encryption aka A11 encryption, please use the official builds by @Nebrassy from:
[RECOVERY] [11] [OFFICIAL] TeamWin Recovery Project
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...
forum.xda-developers.com
Download:
twrp-3.7.0-12.1 - Google Drive
drive.google.com
Installation:
Permanent installation is not possible with TMO stock ROM installed.
Installation overwrites all boot partition changes done previously (e.g. by Magisk or custom kernel). So you have to reflash all zips that change the boot partition after TWRP is installed.
For permanent installation, you have three options depending on your current system.
1. Option for rooted devices:
Download the twrp-installer zip
Flash it with Magisk manager or some other kernel flash utility
Reflash your custom kernel and Magisk.apk if previously installed (see example of how to install with Magisk manager below). Or alternatively flash zips in TWRP.
Don't reboot
Rename downloaded Magisk.apk to Magisk.zip
Open Magisk app
Select Modules tab
Click "Install from storage"
Select Magisk.zip
2. Option for users with other custom recoveries but without root:
Download the twrp-installer zip
Reboot to recovery
Flash it with "adb sideload twrp-installer*.zip"
Reboot to recovery
Reflash your custom kernel and Magisk.apk if previously installed
3. Option is universal:
Download boot.img
Reboot to bootloader
Run "fastboot boot boot.img" with the TWRP boot image on your PC
Go to Advanced > Flash Current TWRP
Reflash your custom kernel and Magisk.apk if previously installed
Try without installation:
Download boot.img
Reboot to bootloader
Run "fastboot boot boot.img" with the TWRP boot image on your PC
Uninstall:
Just flash the boot partition with your current ROMs boot image with the following steps.
Replace "YOUR ROM BOOTIMAGE" with the filename of the extracted boot image of your current ROM.
Reboot to bootloader
Run "fastboot flash boot_a YOUR ROM BOOTIMAGE"
Run "fastboot flash boot_b YOUR ROM BOOTIMAGE"
Alternatively you can flash your currently installed OTA zip, which overwrites boot on the unused slot, but not on the currently used one.
TWRP Updates:
Download and flash the twrp-installer zip
After that reflash your custom kernel and Magisk if previously installed
ROM Updates:
Please follow the official update instructions for your ROM!
If they give an option to update via recovery you have to substitute adb sideload commands with zip installations. Also use the "Automatically reflash TWRP after flashing a ROM" option, if you are going to install a ROM zip to preserve TWRP installation.
In case your ROM does not provide a recovery update instruction you can try to update via recovery but you are on the safe side if you follow the official instructions. They always have a reason for their particular update instructions!
Instructions that work for me (on LOS based ROMs):
Flash ROM zip with "Automatically reflash TWRP after flashing a ROM" checked
Flash your previously installed zips (custom kernel, Gapps, Magisk, etc)
Reboot to system
If Gapps packages keep crashing:
Reboot to TWRP
Flash Gapps again
Reboot to system
For OOS updates should work out of the box, but if you have issues you can follow these steps (I haven't tested them):
[RECOVERY][3.7.0-12.1][UNOFFICIAL][UNIFIED] TWRP with A12/A13 encryption support
This is an unofficial build of TWRP, based on the Android 12.1 branch, that supports encryption used by Android 12 and 13 ROMs. This build is tested on OP9 pro, but it was confirmed to work on regular OP9 too. As always I'm not responsible for...
forum.xda-developers.com
About backups/restore:
Restore data only WITHOUT pin/pattern set.
If you restore a backup made from another ROM, then the currently installed, you may have to format data. So please manually copy all contents from /sdcard to a PC or flash drive.
Backups can be made with or without pin/pattern set. It is always good practice to copy your backups to your PC or an USB drive. Also after you restored your data partition you have to reboot to system and do a second reboot to get a working system.
To make first boot faster and eliminate the need to reboot again, additionally use the step mandatory for OOS users.
If you want to copy your backup to PC, but it doesn't show up, flash change_backup_selinux_context.zip, which is available in download folder.
For OOS users:
When data is restored, you have to delete "/data/system/users/0/package-restrictions.xml" before rebooting to system.
In case you restore a backup with pin/pattern set or have some other issues I have a guide that works for me:
[RECOVERY][3.7.0-12.1][UNOFFICIAL][UNIFIED] TWRP with A12/A13 encryption support
This is an unofficial build of TWRP, based on the Android 12.1 branch, that supports encryption used by Android 12 and 13 ROMs. This build is tested on OP9 pro, but it was confirmed to work on regular OP9 too. As always I'm not responsible for...
forum.xda-developers.com
How to use MTP, adb and fastbootD:
Windows:
Install official Google USB drivers and select the right USB drivers. For MTP and adb, the WinUSB driver is sufficient on Windows 11. For fastbootD, Google drivers (Android Bootloader interface) has to be chosen.
You may have to select WinMTP for MTP and Google USB drivers for adb, if you run Windows 10.
To use adb on Windows, MTP has to be disabled with "Mount->Disable MTP" in TWRP.
Steps for choosing a specific driver (no the exact wording):
Connect phone in specific mode
Open device manager
Right click on phone either under "Android device" or "USB device", depending on mode
Select "update driver"
Select 2. option "browse my computer"
Select "pick from available drivers"
Pick driver according to above description
Linux:
Intall the fastboot and adb packages for your distribution
Set udev rules. There might be a package for your distro or use this gh repo: https://github.com/M0Rf30/android-udev-rules
Add user to the group used in udev rules. Most common are "plugdev" and "adbusers"
Source Code:
TWRP: https://github.com/TeamWin/android_bootable_recovery
Kernel: https://github.com/nilz3000/kernel_oneplus_sm8350-twrp
Device Tree:
https://github.com/nilz3000/device_oneplus_sm8350-common-TWRP
https://github.com/nilz3000/device_oneplus_lemonadep-TWRP
https://github.com/nilz3000/android_hardware_oplus
Bugs:
Permanent installation alongside TMO stock isn't possible
Error message regarding vendor_dlkm in fastbootD for OOS users (just cosmetic and not problematic)
In case you notice anything else please let me know.
If you encounter any bug, please give me description with logcat.txt and recovery.log output attached. You can copy those to your data folder in TWRP, if you go to Advanced->Copy Logs.
Thanks to:
@Nebrassy for the original device tree
@osm0sis for the zip installer
TWRP team
LineageOS
Thank you for this! Will try tomorrow.
Ah man this is dope. Thank you bud!!!
It seems to boot and decrypt very well, but backup always fails with error createtarfork 255
EugenStanis said:
It seems to boot and decrypt very well, but backup always fails with error createtarfork 255
Click to expand...
Click to collapse
EugenStanis said:
It seems to boot and decrypt very well, but backup always fails with error createtarfork 255
Click to expand...
Click to collapse
Can you send me the logcat and recovery.log output of the failing backup? You find that option in Advanced -> Copy Log -> Include Logcat. I will look into it.
Hi Guys,
Can the latest TWRP be used to flash A13 ROMs like we used to do with older devices? I am fed up with wiping the entire storage for every ROM installation using sideloading...
vipinpvarghese said:
Hi Guys,
Can the latest TWRP be used to flash A13 ROMs like we used to do with older devices? I am fed up with wiping the entire storage for every ROM installation using sideloading...
Click to expand...
Click to collapse
Updating A13 ROMs, in my case crdroid 13, works fine. I have not tested clean installation of a different ROM after factory reset with user data preservation.
der_akinator said:
Updating A13 ROMs, in my case crdroid 13, works fine. I have not tested clean installation of a different ROM after factory reset with user data preservation.
Click to expand...
Click to collapse
You meant to say you just wiped data, cache and dalvik and flashed the ROM zip via TWRP ? Or without data wipe?
vipinpvarghese said:
You meant to say you just wiped data, cache and dalvik and flashed the ROM zip via TWRP ? Or without data wipe?
Click to expand...
Click to collapse
Yes, but it was the same ROM I reinstalled after wipe.
der_akinator said:
Can you send me the logcat and recovery.log output of the failing backup? You find that option in Advanced -> Copy Log -> Include Logcat. I will look into it.
Click to expand...
Click to collapse
der_akinator said:
Can you send me the logcat and recovery.log output of the failing backup? You find that option in Advanced -> Copy Log -> Include Logcat. I will look into it.
Click to expand...
Click to collapse
Sorry i forgot about recovery log
EugenStanis said:
Sorry i forgot about recovery log
Click to expand...
Click to collapse
recovery.log
Zippyshare.com - Free File Hosting
www1.zippyshare.com
Anyone tested it with stock OOS13?
der_akinator said:
This is an unofficial build of TWRP, based on the Android 12.1 branch, that supports encryption used by most Android 12 and 13 ROMs.
As always I'm not responsible any bricked device or data loss resulting from the use of this TWRP version. You use this at your own risk.
For ROMs using FBEv1 encryption aka A11 encryption, please use the official builds by @Nebrassy from:
[RECOVERY] [11] [OFFICIAL] TeamWin Recovery Project
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...
forum.xda-developers.com
Download:
twrp-3.7.0-12.1 - Google Drive
drive.google.com
Installation:
Get your rom's vendor_boot image. For most ROMs this can usually be downloaded. For OOS based ROMs you can get it for example by extracting it from the official payload.bin with payload-dumper-go. A third universal option, if you have root, is to use the command "dd if=/dev/block/by-name/vendor_boot_SLOT of=/sdcard/vendor_boot.img" on your device. This writes the vendor_boot image to your sdcard folder, but you have to substitute SLOT with either a or b, depending on your currently active slot.
Reboot to bootloader.
Run "fastboot flash vendor_boot vendor_boot.img" with the TWRP vendor_boot image.
Run "fastboot boot boot.img" with the TWRP boot image.
Go to Advanced > Flash Current TWRP.
After that is done, if you were using a custom kernel, reflash it now.
If you were using magisk, reflash it now.
Reboot to bootloader.
Run "fastboot flash vendor_boot vendor_boot.img" with the ROM vendor_boot image from step one.
In the case you just want to test TWRP without installation, please skip steps 5-7.
Permanent installation works fine for me with crdroid 13 and magisk installed. I have not tested any other ROMs or custom kernels. After permanent installation you can at any time reboot to recovery without reflashing vendor_boot. During a ROM update use the "Automatically reflash TWRP after flashing a ROM" option in the install zip menu to preserve TWRP.
Source Code:
TWRP: https://github.com/TeamWin/android_bootable_recovery
Kernel: https://github.com/LineageOS/android_kernel_oneplus_sm8350
Device Tree:
https://github.com/nilz3000/device_oneplus_sm8350-common-TWRP
https://github.com/nilz3000/device_oneplus_lemonadep-TWRP
https://github.com/LineageOS/android_hardware_oplus
Bugs:
Please let me know. I have not encountered anything major yet.
Thanks to:
Nebrassy
TWRP team
LineageOS
Click to expand...
Click to collapse
For the cRDroid 13, which OOS Base are you using? I used C66, with own rec fine, if use your TWRP 3.7.0, can't boot.
Update
Hi everyone,
I just uploaded a new build. It fixes some missing firmware files and kernel module loading.
USB OTG, vibration and battery status is now working.
Download:
29.11.22 - Google Drive
drive.google.com
EugenStanis said:
It seems to boot and decrypt very well, but backup always fails with error createtarfork 255
Click to expand...
Click to collapse
Your problem seems to be a general TWRP problem, that oftentimes happens in multiuser system. And I couldn't access your recovery.log. In this file you find conflicting files, that are the reason for the error.
Here is a link to the github issue, maybe it helps you solving the problem.
createTarFork() process ended with ERROR: 255 when trying to back up data with multiple users · Issue #1373 · TeamWin/Team-Win-Recovery-Project
Yes, I am running an official build of TWRP, downloaded from https://twrp.me/Devices/ (Oneplus 6) Yes, I am running the latest version of TWRP (3.2.3-1) Yes, I have read the FAQ (https://twrp.me/FA...
github.com
tnchng said:
For the cRDroid 13, which OOS Base are you using? I used C66, with own rec fine, if use your TWRP 3.7.0, can't boot.
Click to expand...
Click to collapse
I use C.63 and have not tested with other firmware versions.
der_akinator said:
Your problem seems to be a general TWRP problem, that oftentimes happens in multiuser system. And I couldn't access your recovery.log. In this file you find conflicting files, that are the reason for the error.
Click to expand...
Click to collapse
Strange, i have never ever in my life used multiuser

Categories

Resources