[F3112/F3116][TWRP][3.1.1-0][UNOFFICIAL] TWRP recovery for XA Dual Sim - Sony Xperia XA ROMs, Kernels, Recoveries, & Other

Hi all,
I'm happy to share with you my new TWRP recovery 3.1.1-0 built from sources. It works for Dual Sim XA only on Nougat.
As before decryption of /data doesn't work so if you want a full backup or explore files use an unencrypted data partition.
Download link:
https://mega.nz/#!1swQ0KiQ!Qc6QqJhPzTkeiUwJ4c64-2Ql029Bar9ySAkwwWw-S-E
Flash it with fastboot.
Have a nice day

You legend!

bootloader need to open?

Related

[recovery] [modded] twrp 3.2.1-0 [oreo support]

With this modded version of TWRP you can now install A1 roms into the 5X.
How to install A1 roms using this TWRP:
https://forum.xda-developers.com/mi-5x/how-to/guide-how-to-install-a1-rom-5x-t3777139
Oreo Modded TWRP 3.2.1-0 Download:
Google Drive
Nougat Modded TWRP 3.2.1-0 Download:
Google Drive
How to install:
- Unlock bootloader
- Enter in Fastboot Mode (Power Button + Vol Down)
- Flash using "fastboot flash recovery twrp.img"
- Enter in Recovery Mode (Power Button + Vol Up)
Which one should I download?
You should install the correspondent version according to your currently installed Android version. If your current system is Nougat, you should flash Nougat TWRP. Same for Oreo. It doesn't matter which version of Android are you going to install, but the one that you already have installed. If you are in Nougat and want to flash Oreo rom, after flashing it, be sure to flash Oreo TWRP. If you dont do it, recovery may not work.
How can I use the port feature?
First, download an A1 fastboot ROM. You can do so here. Then, flash system and boot partitions using fastboot.
After you flashed it, go to "Advanced" then tap on "Terminal". Write "a1to5x" and press Enter. Wait until it finishes. Make proper wipes and reboot.
Are there any other features?
I have enabled system.img and modem.img flashing, so people without a pc can flash A1 fastboot roms. But be careful, system.img can't be a sparse image (this are the images included on the a1 official fastboot rom), it should be a raw ext4 image. You can use simg2img to convert them. Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you. I know it is not a very easy process, but at least people without pc now have a chance to update their phones.
In what roms does it works?
I have only tested it with official Android One Oreo rom, however, it should work with Nougat Android One and with custom roms. Try it and let me know in what roms does it work.
How do you port A1 roms to the 5X?
I have been asked this question a lot of times. I can't give a step by step guide since I don't have enough spare time to make a decent guide. If you are interested on the porting process, take a look at /sbin/a1to5x (inside twrp ramdisk), it is the script which takes cares of the automatic porting process. Inside it you will find how the ports are made.
Where is the changelog?
You can check it here
Donations:
If you like my work and want to contribute, you can donate via paypal.me/aex12
Device Tree: https://github.com/Aex12/android_device_xiaomi_tiffany
Manifest used: https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni
XDA:DevDB Information
Modded TWRP 3.2.1, Tool/Utility for the Xiaomi Mi 5X
Contributors
Aex12
Source Code: https://github.com/omnirom/android_bootable_recovery/
Version Information
Status: Stable
Current Stable Version: 3.2.1
Created 2018-03-07
Last Updated 2018-03-08
Reserved
Love Man... You Are Love Brother
is it normal that the external memory is not shown?
@Aex12
Thanks for your great work. I have some question.
Should we install an whole A1 fastboot rom or only install system.img and boot.img like the old one?
vangame said:
@Aex12
Thanks for your great work. I have some question.
Should we install an whole A1 fastboot rom or only install system.img and boot.img like the old one?
Click to expand...
Click to collapse
Forgot to mention it on the thread. Thanks for reminding, I am updating it right now. You should only flash system and boot. Modem and other firmware partitions can be flashed too, but they are not mandatory.
And have someone test LineageOS 15.1 for Mi A1 with this recovery?
Awesome work @Aex12. Thanks a lot
Hello can I use it at tissot bootloader?
eurekaseven said:
is it normal that the external memory is not shown?
Click to expand...
Click to collapse
That was somthing I also have noticed.. without sd memory being shown I can't do a backup to SD Card.
Instead I'll have to do a local backup and connect to PC and copy files over, Early stages I guess we are lucky we can even see the Internal Memory right?
Alright so I was curious and thought I'd see what happens if I flash recovery Nougat Modded TWRP 3.2.1-0 ( While currently running Oreo )
I booted into recovery and instantly discovered that you no longer even have access to internal memory 0b shown.. Don't waste your time !
I flashed recovery Oreo Modded TWRP 3.2.1-0 using fast boot as you won't be able to flash a recovery rom using TWRP in this state..
https://www.xda-developers.com/how-to-install-twrp/
Shows an easy guide if you aren't sure howto do this
Can not get back to MIUI Nougat or even get old recovery to work
When i try to install back xiaomi.eu's miui rom after installing zip and do all the proper wipes, it reboot to system but says that encryption was interrupted and can't complete. So I tried to install back the nougat 3.2.1 recovery and try again, with the same result. again i tried to install the rom again with 3.1.1 recovery and same happens. With nougat recovery it can't mount any partition, so it can not opperate properly, only the oreo recovery works. the only rom that works and gets installed good is the oreo one that you submitted so what can i do to get back to my normal twrp recovery (no oreo) and to a miui rom? thanks
P.D: I also tried to flash with fastboot a a1 nougat rom and with the 3.1.1 twrp port it but no succes as it can no longer mount anything, only oreo twrp is working but still not get to work properly any other rom, via fastboot or via recovery. Bootloader is unlocked.
What phone and model is this 4? It states nothing
hi,
i tried to flash system.img from official MiA1 fastboot ROMs today but i got these message " target reported max download size of 536870912 bytes, is this a normal message? will the flash resume?
vangame said:
And have someone test LineageOS 15.1 for Mi A1 with this recovery?
Click to expand...
Click to collapse
I want to know this too!
Aex12 said:
Aex12, Brother Please Fix SD issue... Cant flash files from my SD Card.
Click to expand...
Click to collapse
Comparing fstab with stock recovery / sd supported recovery might fix this issue...
This recovery doesn't read my SD card. Only the internal storage.
>Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you
Yeah, anyone willing to do it for me?
udaan said:
>Modem.img can't neither be flashed directly from the downloaded fastboot rom. It should be a modem.img extracted with dd, you will need to ask some who flashed it with fastboot to extract it for you
Yeah, anyone willing to do it for me?
Click to expand...
Click to collapse
Make sure to make a backup of your current modem, just in case.
It's from v9.5.9.0: https://mega.nz/#!UAhwAQLY!-8np_yuZnJscEUFh9bJuCkkqDkPuZrr8Aa6o0kkBq5Q
My 5x does not go to recovery mode. My ROM is AOSPE. I am using OREO twrp. The device is not ROOTED
I can boot twrp using
Code:
fastboot boot twrp.img
but after using
Code:
fastboot flash recovery twrp.img
the phone does not go to recovery using Volume up + Power
tuhi009 said:
My 5x does not go to recovery mode. My ROM is AOSPE. I am using OREO twrp. The device is not ROOTED
I can boot twrp using
Code:
fastboot boot twrp.img
but after using
Code:
fastboot flash recovery twrp.img
the phone does not go to recovery using Volume up + Power
Click to expand...
Click to collapse
I think you need to fastboot flash boot image first, then go to twrp and flash it again from it.
---------- Post added at 08:14 AM ---------- Previous post was at 08:06 AM ----------
@Aex12 please update TWRP. I can't format /data /system etc from twrp made for MiA1(MohanCM's) but I cannot do it with yours. I have mi5x and it is ****ing stuck on boot. If I flash MiA1's fastboot rom I can get to fastboot and flash TWRP (since the bootloader is locked) but I can't do anything with your TWRP. But I can also flash MohanCM's twrp and I can do all that stuffs except for installing ROms and booting to it. im ****ing confused myself.

How to flash recovery on helio P60 (mt6771) device without pc

Hi XDA members!
I found a way to root my device without unlocking my bootloader.
I found a way to unlock my bootloader without wipping my data.
But now I tried to flash a custom TWRP build, but everytime I try I get an error..
Flashify not work with pie
Flashfire don't work with magisk
Flasher's not work with pie too (on new mtk device)..
I found my recovery is in "/dev/block/mmcblk0p2".
I "dd" it into "/sdcard/stockrecovery.img" but my recovery partition is stock (32mb) and the dd file is 23mb so I don't want to flash directly there I case of bootloop.
I received my new computer in around 2 week and I need custom recovery to dev something..
Someone can help me?
Dalgorix said:
Hi XDA members!
I found a way to root my device without unlocking my bootloader.
I found a way to unlock my bootloader without wipping my data
Click to expand...
Click to collapse
how?
Im having touch & mount data encryption problemes with my twrp9 & orangefox9 recovery iv ported for MT6771 SoC using android kitchen.. boots ok but no touch works + ask for password

How to install TWRP when i have Lineage OS on Sony Xperia XA2 Ultra

Hay,
I have problem with twrp. I flashed it and flash lineage os with gapps but then before reboot i had an alert that "no os installed" Afted reboot i had problem to open twrp but when i did it i had this alert again. so i leave it and after some hours i flashed one more time lineage os but without gapps because still was alert but after reboot the lineage OS started. Now when i want to open recovery mode to twrp i see only recovery mode from lineage and i do not know how to install now twrp Can anyone help me? I am learning this still :3
I had same problem with not being able to permanantely install TWRP on my XA2 Ultra with LineageOs16.
All I found out with google is that because the XA2 Ultra is A/B slot based, you need to temporarily boot the twrp image and then install the twrp zip file via the temporary twrp recovery.
BUT......I cannot find a seperate twrp zip file for the XA2 Ultra!!!!
So i am left with just having to temporarily boot into the twrp image when i want to use it!!! that sucks!!
If anyone has any solutions to permanantly install TWRP for the Xperia XA2 Ultra, then please advise...
Thanks to all,
Jake

Correct Twrp recovery for Sgp611 MM

Hi, what is the correct version of Twrp recovery for 6.0.1 stock, since Nuts dualrecovery is not compatible? Thanks
https://eu.dl.twrp.me/scorpion_windy/
Please Help
So I am a total noob. Never rooted a device before. The only reason I'm doing it is cos my kid wants to do gps spoofing with pokemon go. I have already made a mistake as I have unlocked the bootloader without backing up the DRM keys. Now Im tyring to install twrp. On most tutorials it looks straight forward but on the TWRP official site it says....
The Xperia devices have a recovery-in-boot arrangement. This means that the recovery is booted using the regular kernel / boot image in the device. Team Win has worked with the FreeXperia device maintainers to come up with a way to extract the ramdisk from the FOTAKernel partition and use the ramdisk from that partition instead of the recovery that is included in the boot image of your device. This means that if you install current CM nightlies and flash TWRP to the FOTAKernel partition, you will be able to use TWRP instead of the CWM or CM recovery that normally comes in a CM boot image. Other boot images including stock kernels can be repacked to include this extraction utility to allow you to use TWRP from the FOTAKernel partition. This setup allows you to choose what recovery you want to have installed and allows you to update your recovery more easily. Unfortunately this setup requires that the boot image that you have installed include the ramdisk extraction utility. The source for this utility is here:
I really don't know what any of this means. Ive downloaded the utility but have no idea how to use it.
Oh and I also have a xperia z3 tablet sgp611.

Is it possible to install GSI ROMs?

Hello, I'm trying to install a GSI ROM on my Exynos S21 SM-G991N, since there weren't any custom ROMs for it. Is it possible to install a GSI ROM to S21? and how can I install one?
Hi, yes I was able to installs various GSIs successfully by installing TWRP and flashing the GSI with this guide from this thread:
How to make GSI Flasher for Samsung Galaxy A51 Super Partition Image
How to convert a gsi image so that it can be installed on a dynamic partition or super image partition. It may be work for other Android devices. This tool will help you to install gsi image on Dynamic Partition or Super Image Partition...
forum.xda-developers.com
Thanks!
Vailskier said:
Hi, yes I was able to installs various GSIs successfully by installing TWRP and flashing the GSI with this guide from this thread:
How to make GSI Flasher for Samsung Galaxy A51 Super Partition Image
How to convert a gsi image so that it can be installed on a dynamic partition or super image partition. It may be work for other Android devices. This tool will help you to install gsi image on Dynamic Partition or Super Image Partition...
forum.xda-developers.com
Click to expand...
Click to collapse
I tried it and I successfully installed a ROM, but I'm stuck in a bootloop. Can I know which GSI did you use?
hayang1027 said:
I tried it and I successfully installed a ROM, but I'm stuck in a bootloop. Can I know which GSI did you use?
Click to expand...
Click to collapse
I used the official Havoc GSI (the unofficial somehow didn't work), but I was also able to install the Linage GSI and PHH GSI. I think you have to pick the A/B variant and for me only the NON-vndklite version worked. I also usually restore a stock backup first (without recovery to keep TWRP), then I format data and after that install the GSI (without magisk).
I hope this helps
Vailskier said:
I used the official Havoc GSI (the unofficial somehow didn't work), but I was also able to install the Linage GSI and PHH GSI. I think you have to pick the A/B variant and for me only the NON-vndklite version worked. I also usually restore a stock backup first (without recovery to keep TWRP), then I format data and after that install the GSI (without magisk).
I hope this helps
Click to expand...
Click to collapse
I used the Official Havoc-OS 4.1 A/B, but I couldn't boot with it. Maybe it is different depending on the model?
I have experienced this sometimes as well, key for me was to restore the super partition to stock, format data and then flash the gsi with the zip mentioned in the comment above. I have the exynos variant.
Vailskier said:
I have experienced this sometimes as well, key for me was to restore the super partition to stock, format data and then flash the gsi with the zip mentioned in the comment above. I have the exynos variant.
Click to expand...
Click to collapse
I finally installed it! Thanks for helping!
(deleted)
Vailskier said:
I have experienced this sometimes as well, key for me was to restore the super partition to stock, format data and then flash the gsi with the zip mentioned in the comment above. I have the exynos variant.
Click to expand...
Click to collapse
I cannot enroll fingerprint because on-screen fingerprint sensor is not working. Also, I can't use 5G or LTE (only H+)
Is there a way to make any of them work?
Fingerprint sadly does not work for me either. I was able to switch to LTE in the mobile data settings. I hope the GSIs will soon support fingerprint for S21
Vailskier said:
Fingerprint sadly does not work for me either. I was able to switch to LTE in the mobile data settings. I hope the GSIs will soon support fingerprint for S21
Click to expand...
Click to collapse
The LTE unavailable thingie was a problem of all Korean carriers on a VoLTE unsupported ROM. I just ended up customizing One UI

Categories

Resources