Related
XC/KUGO/F5321 TWRP BUILDS
DOWNLOAD
KERNEL SOURCE: https://github.com/omnirom/android_kernel_sony_msm/tree/android-6.0
RECOVERY SOURCE: https://github.com/omnirom/android_bootable_recovery/tree/android-6.0
TWRP was built inside of an omni 6.0.1 tree
DISCLAIMER:
No one is responsible for any damage done to your device but YOU. You've been warned.
XDA:DevDB Information
[RECOVERY][XC] TWRP, ROM for the Sony Xperia X Compact
Contributors
oshmoun
ROM OS Version: 2.3.x Gingerbread
Version Information
Status: Testing
Created 2016-12-19
Last Updated 2017-01-08
tlxxxsracer said:
Flashed. Every time I boot into recovery it forgets my settings.
Also,I'm unable to access internal memory (download folder for example)
Click to expand...
Click to collapse
Because you're running stock rom. Stock rom encrypts internal storage, which is why twrp forgets settings, and can't access data from internal storage. If you use it on omni for example it works fine.
oshmoun said:
Because you're running stock rom. Stock rom encrypts internal storage, which is why twrp forgets settings, and can't access data from internal storage. If you use it on omni for example it works fine.
Click to expand...
Click to collapse
Is there a working version of omnirom for XC?
ammarr said:
Is there a working version of omnirom for XC?
Click to expand...
Click to collapse
Here's the link
http://forum.xda-developers.com/x-compact/development/rom-omnirom-t3522239
EDIT: removed a dumb reply that was out of order :angel:
Thanks for the link.
ammarr said:
Thanks for the link. Just so you know, sometimes there's a reason for asking. In this case, the xda app isn't showing that thread. See attachment.
Click to expand...
Click to collapse
WUT? My apologies
it's weird that it's the only thread missing, maybe because there are no posts other than OP?
I just wrote something there, can you please check if it appears now?
hmmmm, sorry again about that post! DAMN YOU XDA!! LOL
oshmoun said:
WUT? My apologies
it's weird that it's the only thread missing, maybe because there are no posts other than OP?
I just wrote something there, can you please check if it appears now?
hmmmm, sorry again about that post! DAMN YOU XDA!! LOL
Click to expand...
Click to collapse
It works now! Previously it didn't even load from the link you provided but I could see it just fine from my laptop. Pretty odd behavior from the app.
just flashed it, but there is no orange LED while booting phone. I can't enter recovery. I'm on stock rom + repacked kernel.
DannyWilde said:
just flashed it, but there is no orange LED while booting phone. I can't enter recovery. I'm on stock rom + repacked kernel.
Click to expand...
Click to collapse
Xperia compact has a bootloader that can directly boot to recovery
Turn off the phone, then press vol- and power together
Being on stock rom means you won't have access to internal storage, because of encryption
Thanx a lot. I read about the Xperia recovery partition long time ago. I didn't know X compact is included.
So just another question : cause of encryption of internal storage i am not able to make a full backup of my system, is that correct?
Still i have another probleme:
Data partition is shown as 22788mb large.
File Comander shows nearly 8 gb storage used.
Can i do something to correct Data size in TWRP?
Thanks in advance!
DannyWilde said:
So just another question : cause of encryption of internal storage i am not able to make a full backup of my system, is that correct?
Still i have another probleme:
Data partition is shown as 22788mb large.
File Comander shows nearly 8 gb storage used.
Can i do something to correct Data size in TWRP?
Thanks in advance!
Click to expand...
Click to collapse
Not sure what you mean, do you mean to say that 22788 is not the correct size? Or that it doesn't show that 8gb is used?
File commander shows 7.9GB used and 21.8GB free.
My nandroid backup used to have 7-8GB with z3c and z5c. My Xc runs on same configuration.
DannyWilde said:
File commander shows 7.9GB used and 21.8GB free.
My nandroid backup used to have 7-8GB with z3c and z5c. My Xc runs on same configuration.
Click to expand...
Click to collapse
still not really understanding what you mean, but if I'm to guess, then twrp is reporting 22gb USED on data partition?`
if that's the case, then I guess it's because of encryption again, but not sure since I'm not running stock to notice such a thing.
A few questions :
Am I forced to flash the kernel in this thread if I want to use this twrp version? What disadvantages of not doing so exist if it's not needed?
Will this only work on omnirom roms?
Thanks!
ApplepieFTW said:
A few questions :
Am I forced to flash the kernel in this thread if I want to use this twrp version? What disadvantages of not doing so exist if it's not needed?
Will this only work on omnirom roms?
Thanks!
Click to expand...
Click to collapse
you need to flash the .img to recovery, then use vol- and power to boot it.
If you're running a stock based rom, then you won't be able to access internal storage because of encryption.
oshmoun said:
you need to flash the .img to recovery, then use vol- and power to boot it.
If you're running a stock based rom, then you won't be able to access internal storage because of encryption.
Click to expand...
Click to collapse
Can I still flash zips located on the internal storage though? How about sd card (mounting it etc), and usb-otg storage volumes?
Is there a way to disable Sony RIC (and then have access to the internal storage just fine)?
P.S, so flashing the kernel linked in this thread isn't needed, and unlock BL>flash twrp to recovery>working recovery (though with the 'encryption lock' etc), works?
ApplepieFTW said:
Can I still flash zips located on the internal storage though? How about sd card (mounting it etc), and usb-otg storage volumes?
Is there a way to disable Sony RIC (and then have access to the internal storage just fine)?
P.S, so flashing the kernel linked in this thread isn't needed, and unlock BL>flash twrp to recovery>working recovery (though with the 'encryption lock' etc), works?
Click to expand...
Click to collapse
Where is this kernel you're referring to? The only thing downloadable in the post is the recovery .img
Oh and yes, the steps described in the last line look OK.
oshmoun said:
Where is this kernel you're referring to? The only thing downloadable in the post is the recovery .img
Oh and yes, the steps described in the last line look OK.
Click to expand...
Click to collapse
I feel dumb now, I literally switched to a tab with a kernel download in a similarly structured thread both times. I found the "presence" of it very confusing myself as well
Thanks anyway!
Edit: problem solved below.
I created a script that'll ease Custom ROM installation on A/B devices. The script is generic and will work w/ any rom, device.
General flash instructions:
-Flash OxygenOS
-Flash your Custom ROM of choice
-Flash Finalize.zip
-Boot to System
Download finalize script from here
#######################################
For the intellectuals: This script copies firmware to both slots, clears dalvik-cache and deletes the useless India partition.
Hope this saved you guys some headache while flashing ROMs.
Good job
Sent from my OnePlus6 using XDA Labs
Links off
Link not found.
anhenrique said:
Links off
Click to expand...
Click to collapse
kaziupal said:
Link not found.
Click to expand...
Click to collapse
https://androidfilehost.com/?fid=4349826312261712574
New script in the OP, look there again
I used this same zip on my Motorola G7 Power device. It worked well and is no doubt a life saver. Does anyone know how this is different than finalize zip? I guess I could take a look inside both of them and try to determine what the differences are that way....
There's Finalize.zip I found and I think it is easier. Bacause all you have to do is flash the zip file after installing OOS and ROM with built-in TWRP, then format data and reboot to system. No reboot to recovery in between and save you time.
tiga016 said:
There's Finalize.zip I found and I think it is easier. Bacause all you have to do is flash the zip file after installing OOS and ROM with built-in TWRP, then format data and reboot to system. No reboot to recovery in between and save you time.
Click to expand...
Click to collapse
Link ?
lazye53 said:
Link ?
Click to expand...
Click to collapse
Finalize zip: https://androidfilehost.com/?fid=8889791610682890605
Finalize also deletes India partition.
Flash OOS, flash rom, flash finalize, format data, reboot system.
For some info on finalize see op on Pixen here: https://forum.xda-developers.com/on...ross-device-development/rom-pixen-os-t3969005
Edit
PokemonTotalWar said:
https://androidfilehost.com/?fid=4349826312261712574
Click to expand...
Click to collapse
Stahp
Prakyy said:
Stahp
Click to expand...
Click to collapse
Did you take it down for a reason? It's still accessible through Lineage's website, and people are asking for it. Ask a mod to lock your thread if you don't want any more posts on it, brother
anhenrique said:
Links off
Click to expand...
Click to collapse
Updated w/ AFH link
PokemonTotalWar said:
Did you take it down for a reason? It's still accessible through Lineage's website, and people are asking for it. Ask a mod to lock your thread if you don't want any more posts on it, brother
Click to expand...
Click to collapse
I said stop because you are posting incorrect file. Anyways, I also made a script called "Finalize.zip" which is the one I suggest people use and I've updated the thread to reflect the same.
Didn't check on XDA for a while cuz it wasn't on my mind, really.
Prakyy said:
I said stop because you are posting incorrect file. Anyways, I also made a script called "Finalize.zip" which is the one I suggest people use and I've updated the thread to reflect the same.
Didn't check on XDA for a while cuz it wasn't on my mind, really.
Click to expand...
Click to collapse
Ah, alright. Not trying to be rude, just didn't get the idea from your previous response. Now that Finalize is up on the main post, I'll go ahead and edit my comment to say so
flash713 said:
I used this same zip on my Motorola G7 Power device. It worked well and is no doubt a life saver. Does anyone know how this is different than finalize zip? I guess I could take a look inside both of them and try to determine what the differences are that way....
Click to expand...
Click to collapse
tiga016 said:
There's Finalize.zip I found and I think it is easier. Bacause all you have to do is flash the zip file after installing OOS and ROM with built-in TWRP, then format data and reboot to system. No reboot to recovery in between and save you time.
Click to expand...
Click to collapse
Yes I made the finalize thingy as well lol.
And PiXeN uses that in the official flash instructions so yeah, it works and is definitely the one I recommend you use.
Also, updated the OP.
Prakyy said:
I created a script that'll ease Custom ROM installation on A/B devices. The script is generic and will work w/ any rom, device.
General flash instructions:
-Flash OxygenOS
-Flash your Custom ROM of choice
-Flash Finalize.zip
-Boot to System
Download finalize script from here
#######################################
For the intellectuals: This script copies firmware to both slots, clears dalvik-cache and deletes the useless India partition.
Hope this saved you guys some headache while flashing ROMs.
Click to expand...
Click to collapse
Dude! This ist Genius! Thank you so swirling much!
Prakyy said:
Download finalize script from here
Click to expand...
Click to collapse
using this with no issue at all.
this is what XDA Developers was originally meant for.
thank you very much for this share!
Thank you so much for this. It has made all the flashing hassles much convenient. Works very well on the 6T. I have tried it on couple of different ROMs, no problems yet.
Thank u mister for created this zip fils and script inside in it :good:
I have made and got a buggy twrp for A6060, which is the Chinese version of M40, based on android-11. It can startup but lacking mtp and usb. It can't decrypt the /data too so you should do some preparations before can use it. I am not sure whether it can be used on M40.
Usage in shorts:
① Magisk and root. You can find the guide in this forum so I will pass it.
② Using a file manager to access /system/vender/etc/fstab.qcom, in the part of /userdata delete the field of "fileencryption=ice" (usually sth. like this, not includes the quotation marks), same and quit.
③ Enter recovery and wipe data. Then use odin flash this recovery: Just zip it to .tar file then flash in the AP slot.
④ When startup, press VOLUMN UP & POWER. If everything goes well, you will see the logo of twrp and enter it and can successfully access the files in /data. Then you can copy some gsi and have a try.
Click to expand...
Click to collapse
Hope it will be helpful and I really hope somebody can make it a ture and full device tree. That will definetely benefit both A60 and M40 users.
The twrp for A60: https://github.com/Jason-summer/Action-Recovery-builder
The source of the twrp: https://github.com/Jason-summer/device_samsung_a60q/tree/android-11
Sorry for my poor English if causing someone confused.
good job! Is it possible to flash a phone using this? (i have a60)
blankkk123 said:
good job! Is it possible to flash a phone using this? (i have a60)
Click to expand...
Click to collapse
It works for me. But you should decrypt your phone first before you try to flash sth. or you may found /data a pile of random code.
SummerElement said:
It works for me. But you should decrypt your phone first before you try to flash sth. or you may found /data a pile of random code.
Click to expand...
Click to collapse
If it's not difficult, can you please write instructions? I think this will help many who want to flash
Hello everyone.
If you want to have a recovery with the ability to backup/restore, this instruction is for you.
Here are recovery, while they do not know how to encryption of data section (I hope we will have such ones sometime).Yes, recovery already patched by magisk 25.2
Download the patch, copy it to the SD card (if you have it) or to a USB flash drive, for firmware by otg.
We set the recovery in fastboot mode with the command:
fastboot flash boot (recovery name).img
We load into the recovery, flash the patch, and make FORMAT DATA.
Attention!!!This will delete all your settings and installed programs, including deleting everything from the internal memory.
After that, we boot into the system, configure and "rejoice", now the recovery will see data and, accordingly, internal memory.
And yes, if you have a security thing, this procedure disables the encryption of your data
COMPLETELY, THAT IS, COMPLETELY.
Oh, I forgot, although I think it's clear by the name of the recovery, they (recovery) are designed for firmware on Android 12.
Download files:
RECOVERY
Guys, one jamb got out here, my system has been transferred to RW, and I checked the script on such a system. As it turned out, the script does not work on the stock system. So, in order for it to work normally, you need to first transfer the system to RW
Any chance to explain step by step?
reosm said:
Any chance to explain step by step?
Click to expand...
Click to collapse
What exactly?
In the post everything is written as to put.
There are 2 img in the recovery file, which one will be loaded before or after
reosm said:
There are 2 img in the recovery file, which one will be loaded before or after
Click to expand...
Click to collapse
one is TWRP recovery and the other is Orange Fox recovery, choose which one you want to use, just flash one of them.
Hey does twrp/orangefox actually work on this phone. I've heard that those are currently under development. And does flashing these .img require wipe data or can they work with sd card or OTG?
Soma Das said:
Hey does twrp/orangefox actually work on this phone. I've heard that those are currently under development. And does flashing these .img require wipe data or can they work with sd card or OTG?
Click to expand...
Click to collapse
Recovery can work with both sd and otg. While they cannot decrypt the data, but if you transfer the system to RW, and flash the patch to disable encryption in the system, then everyone will see the recovery.
Who has a system in RO, you can use these, checked, it also works
[A/B][A-ONLY][SCRIPT][READ-ONLY][EROFS][ANDROID 10+] Universal Disable Force Encryption for RO and RW "NEO STABLE"
Disable Force Encryption NEO Do you all know what DFE is? no? Anyway. Basically, your device has an encrypted data section "/data" by default. Let's look at the advantages of google's solution that we will lose after disabling encryption: -...
forum.xda-developers.com
arraki said:
Recovery can work with both sd and otg. While they cannot decrypt the data, but if you transfer the system to RW, and flash the patch to disable encryption in the system, then everyone will see the recovery.
Click to expand...
Click to collapse
Can it backup anything such as boot.img, vendor etc?
Soma Das said:
Can it backup anything such as boot.img, vendor etc?
Click to expand...
Click to collapse
Probably you can, but why. A backup of the datа section is enough for normal recovery. Of course, you can also make a backup of the super section if you changed something in it.
arraki said:
Probably you can, but why. A backup of the datа section is enough for normal recovery. Of course, you can also make a backup of the super section if you changed something in it.
Click to expand...
Click to collapse
Do I need to flash disable dm Verity?
Soma Das said:
Do I need to flash disable dm Verity?
Click to expand...
Click to collapse
In the first post, everything is written.
does it work for Mediatek cpu install on the Note 11 pro plus 5g?
Christ_soyo said:
does it work for Mediatek cpu install on the Note 11 pro plus 5g?
Click to expand...
Click to collapse
MediaTek chip on is Redmi note 11 pro. It wilont work and you will get soft brick.
Christ_soyo said:
does it work for Mediatek cpu install on the Note 11 pro plus 5g?
Click to expand...
Click to collapse
What exactly works?
Do we need to unlock the bootloader firtst before we flash the recovery, right?
derjango said:
Do we need to unlock the bootloader firtst before we flash the recovery, right?
Click to expand...
Click to collapse
Of course
After using this patch my device doesn't know how to be case sensitive, which makes some apps have weird errors with read and write functions
nimade2333 said:
After using this patch my device doesn't know how to be case sensitive, which makes some apps have weird errors with read and write functions
Click to expand...
Click to collapse
This is clearly not because of the patch, I have put it on for a long time, and there are no problems. Yes, and he only disables encryption in the system, how can he influence this.
Hello, so I build twrp for my device, SM-A032F, now TWRP is running nice and good but, you cant format /system, /vendor, etc...
Only /data.
Now the problem is that... how am I gonna install a gsi when you cant wipe nor install anything to /system ??
So, I want help from you guys to fix this for me, if you do so, I will credit your XDA username on the TWRP splash screen
The AIK files are here
update: i'm good now
Have you tried flashing gsi through your twrp build ?
tinurad said:
Have you tried flashing gsi through your twrp build ?
Click to expand...
Click to collapse
No not yet, /system is still r/o even tho i mount it
I've been planning of making a CustomAP and just stop with twrp
Idk
XanderXDA said:
update: i'm good now
Click to expand...
Click to collapse
update: nope, I need help
XanderXDA said:
No not yet, /system is still r/o even tho i mount it
I've been planning of making a CustomAP and just stop with twrp
Idk
Click to expand...
Click to collapse
It's better. I think twrp will be useful to disable dm verity. If you can please, try with dot os (https://www.droidontime.com/devices/a64). Can I contact you through telegram ?
tinurad said:
It's better. I think twrp will be useful to disable dm verity. If you can please, try with dot os (https://www.droidontime.com/devices/a64). Can I contact you through telegram ?
Click to expand...
Click to collapse
I created a matrix space if you wanna join
Matrix - Decentralised and secure communication
You're invited to talk on Matrix. If you don't already have a client this link will help you pick one, and join the conversation. If you already have one, this link will help you join the conversation
matrix.to
Never heard of DotOS before, okay, ill try