Aosp+multirom - Xperia Z5 Compact Q&A, Help & Troubleshooting

Hello everyone
My plan was to get dual boot on my z5c using "multirom": the first would be the stock rom (Nougat), the other one was the aosp rom built by Sony itself, in order to unlock some feature like raw capture and long exposures, that seems possible with aosp based roms and "Freedcam" (look for defcomg developer).
Do you think it's possible to mix these two roms with multirom?
What I'm supposed to do is
-Backup the TA partition
-Unlock the bootloader
-Root with dirtycow exploit (does it work with Nougat, doesn't it? Is there a way to get multirom without unlocking the bootloader?)
-Install multirom
-Flash the roms
It this right? Am I missing something, or is there something I must particularly care about? I wouldn't want to brick my phone, and I'm not too experienced, but I think I can follow instructions. Thank for your attention

Got it to work?
I know, this is an old thread, ok.
But ... did you get it to work?

Related

[Q] Can I build AOSP for my device? (Prestigio 5400DUO)

Hello, I am not-exactly-proud owner of PAP5400DUO, it has only 512 MB RAM and Quad-core CPU, so it is sometimes unresponsive and since there is no hope of it getting an update to KitKat. I searched for a custom roms, but I haven't found any (which is little troubling), yet the device can be rooted and MIUI recovery flashed (version unknown, I didn't root my phone yet). On my way when searching what do I need to build AOSP ROM I found out that I need a "device tree" which if I understood right is some specific information about my device (drivers etc) needed to compile a rom properly.
Which is quite an obstacle, because it is nowhere to be found, yet I stumbled upon a post that said that device tree can be created from scratch (yet probably by trial-error method).
All I need is to know if it is really worthy the time and struggle, I used to own HTC Wildfire S and have limited knowledge about ROMs, yet I am willing to study by myself, there are the main questions:
Is it everything possible?
Is the said recovery sufficient to flash KK? (hard to tell, i don't know the version, I know)
Would AOSP KK ROM improve the performance? (I hope so, but still its 512 MB RAM only)
Is it worth it? isn't there another way? (the kernel doesn't support SWAP, so maybe kernel update?)
As far as I know, flashing a ROM cannot brick the device (unless it harasses with Radio, which I really don't intend), so I can Always revert to backup and phone stays functional right?

need a real noob friendly guide for rooting and flashing

guys rn3 is an amazing device and it has got amazing developement going on which makes me wanna try the range of amazing custom roms available for this device
however there are so many damn complications like different methods of unlocking bootloaders,different twrps,boot patching files etc.
although there are some good guides available they are still not noob friendly in my opinion and the fact that there are so many threads made by people who brick there redmi note 3 is a proof of that
i am new to the rn3 developement forums and terms like fastboot rom developer rom edl are all confusing to me at this point developement has reached to a level that i believe it is really difficult for someone who is a noob to even try flashing cm
all i want is a really really noob friendly guide which covers in complete detail all the instructions related to these topics
1. bootloader unlock , which method to choose and why
2.twrp version best recommended for flashing both miui and custom roms
3.need for patching boot file and in which
cases
4.any other stuff you might think is necessary
tdssmarty16 said:
guys rn3 is an amazing device and it has got amazing developement going on which makes me wanna try the range of amazing custom roms available for this device
however there are so many damn complications like different methods of unlocking bootloaders,different twrps,boot patching files etc.
although there are some good guides available they are still not noob friendly in my opinion and the fact that there are so many threads made by people who brick there redmi note 3 is a proof of that
i am new to the rn3 developement forums and terms like fastboot rom developer rom edl are all confusing to me at this point developement has reached to a level that i believe it is really difficult for someone who is a noob to even try flashing cm
all i want is a really really noob friendly guide which covers in complete detail all the instructions related to these topics
1. bootloader unlock , which method to choose and why
2.twrp version best recommended for flashing both miui and custom roms
3.need for patching boot file and in which
cases
4.any other stuff you might think is necessary
Click to expand...
Click to collapse
Bootloader: Go with the official way. The tool can be used again and again as long as you got the permission. There are many cases of bootloop and bricked phones when using unofficial method. Just goto miui unlock page and login with you id, you will get unlock permission within a week.
Download miunlock tool and follow the onscreen instructions.
Twrp: use the official version or if you want f2fs (which is not that big of a deal) thestrixs twrp. I prefer the official one. Reasons: no idea. The cofface version is for those who want twrp to remain unchanged even when they are using miui rom. If you plan to port to cm or anyother rom no need for cofface. The alka version lets you backup every single partition and allow you restore them seperately. No need to use this as you can always use miflash to flasb miui rom again. The only backup you will ever need is efs which can be done with any version.
I prefer a partition dump instead of twrp backup. If you want to know how to create a fool proof backup of efs see my guide. Just search it under discussions and you will find it.
Boot image:
There is no need. The custom cooked boot image is only eequired if you use miui and want to keep stock recovery from replacing twrp. Again why do all this when you can flash twrp again.
Any other stuff:
You can check out guides for installing rom, xposed, i dont know.
---------- Post added at 07:43 PM ---------- Previous post was at 07:42 PM ----------
tdssmarty16 said:
guys rn3 is an amazing device and it has got amazing developement going on which makes me wanna try the range of amazing custom roms available for this device
however there are so many damn complications like different methods of unlocking bootloaders,different twrps,boot patching files etc.
although there are some good guides available they are still not noob friendly in my opinion and the fact that there are so many threads made by people who brick there redmi note 3 is a proof of that
i am new to the rn3 developement forums and terms like fastboot rom developer rom edl are all confusing to me at this point developement has reached to a level that i believe it is really difficult for someone who is a noob to even try flashing cm
all i want is a really really noob friendly guide which covers in complete detail all the instructions related to these topics
1. bootloader unlock , which method to choose and why
2.twrp version best recommended for flashing both miui and custom roms
3.need for patching boot file and in which
cases
4.any other stuff you might think is necessary
Click to expand...
Click to collapse
Bootloader: Go with the official way. The tool can be used again and again as long as you got the permission. There are many cases of bootloop and bricked phones when using unofficial method. Just goto miui unlock page and login with you id, you will get unlock permission within a week.
Download miunlock tool and follow the onscreen instructions.
Twrp: use the official version or if you want f2fs (which is not that big of a deal) thestrixs twrp. I prefer the official one. Reasons: no idea. The cofface version is for those who want twrp to remain unchanged even when they are using miui rom. If you plan to port to cm or anyother rom no need for cofface. The alka version lets you backup every single partition and allow you restore them seperately. No need to use this as you can always use miflash to flasb miui rom again. The only backup you will ever need is efs which can be done with any version.
I prefer a partition dump instead of twrp backup. If you want to know how to create a fool proof backup of efs see my guide. Just search it under discussions and you will find it.
Boot image:
There is no need. The custom cooked boot image is only eequired if you use miui and want to keep stock recovery from replacing twrp. Again why do all this when you can flash twrp again.
Any other stuff:
You can check out guides for installing rom, xposed, i dont know.
---------- Post added at 07:45 PM ---------- Previous post was at 07:43 PM ----------
tdssmarty16 said:
guys rn3 is an amazing device and it has got amazing developement going on which makes me wanna try the range of amazing custom roms available for this device
however there are so many damn complications like different methods of unlocking bootloaders,different twrps,boot patching files etc.
although there are some good guides available they are still not noob friendly in my opinion and the fact that there are so many threads made by people who brick there redmi note 3 is a proof of that
i am new to the rn3 developement forums and terms like fastboot rom developer rom edl are all confusing to me at this point developement has reached to a level that i believe it is really difficult for someone who is a noob to even try flashing cm
all i want is a really really noob friendly guide which covers in complete detail all the instructions related to these topics
1. bootloader unlock , which method to choose and why
2.twrp version best recommended for flashing both miui and custom roms
3.need for patching boot file and in which
cases
4.any other stuff you might think is necessary
Click to expand...
Click to collapse
Bootloader: Go with the official way. The tool can be used again and again as long as you got the permission. There are many cases of bootloop and bricked phones when using unofficial method. Just goto miui unlock page and login with you id, you will get unlock permission within a week.
Download miunlock tool and follow the onscreen instructions.
Twrp: use the official version or if you want f2fs (which is not that big of a deal) thestrixs twrp. I prefer the official one. Reasons: no idea. The cofface version is for those who want twrp to remain unchanged even when they are using miui rom. If you plan to port to cm or anyother rom no need for cofface. The alka version lets you backup every single partition and allow you restore them seperately. No need to use this as you can always use miflash to flasb miui rom again. The only backup you will ever need is efs which can be done with any version.
I prefer a partition dump instead of twrp backup. If you want to know how to create a fool proof backup of efs see my guide. Just search it under discussions and you will find it.
Boot image:
There is no need. The custom cooked boot image is only eequired if you use miui and want to keep stock recovery from replacing twrp. Again why do all this when you can flash twrp again.
Any other stuff:
You can check out guides for installing rom, xposed, i dont know.
thanx a lot helping out mahn
will go with the official unlock
and official twrp
i have been waiting a lot to try cm 13

Clarification on treble & ROMS

Hi!
i am new to the treble-enabled stuff, this is the first phone i own that is treble capable and i have a few questions. I think they can apply to other NOBS, so here i go hoping some nice guy will help me understand:
Background: i have the redmi 5plus (global) which i have unlocked (after painful 720h) and i have flashed Pixel Experience 8.1 rom, but i like to experiment and it seems most of interesting roms are on treble.
1. By default, "vince" is not treble enabled. (treble check app says so)
2. "vince" seems to be an "A only" device, not A/B device,
Main Question: Now, what should i do to try (safely) some GSI roms (like here XDA LOS 16 GSI)?
Sub-Question 1: I must most likely flash some other things first, i guess... like a vendor or a treble image? Where do i find it?
Sub-Question 2: I have installed TRWP recovery, is it treble enabled or should i ALSO find a treble enabled recovery?
If i got it all wrong, please i would be happy to stand corrected!
Hi.
Well, yeah, you need to install another vendor, as far as I know, OrangeFox is the treble enabled recovery.
Someone already explained this in this post.
Have fun. :fingers-crossed:
Xyzko said:
Hi.
Well, yeah, you need to install another vendor, as far as I know, OrangeFox is the treble enabled recovery.
Someone already explained this in this post.
Have fun. :fingers-crossed:
Click to expand...
Click to collapse
Thank you! Sometimes hard to find the right threads...
Installed orangefox, cool recovery!
One last question... how does kernel works with treble? Do i need treble enabled kernels if i want to change the kernel? Are they provided with the treble-enabled rom already or i get to keep the existing kernel? Is the kernel on a dedicated partition separated from the GSI and the Vendor? (i am starting to understand this, maybe)?
gardiol said:
Thank you! Sometimes hard to find the right threads...
Installed orangefox, cool recovery!
One last question... how does kernel works with treble? Do i need treble enabled kernels if i want to change the kernel? Are they provided with the treble-enabled rom already or i get to keep the existing kernel? Is the kernel on a dedicated partition separated from the GSI and the Vendor? (i am starting to understand this, maybe)?
Click to expand...
Click to collapse
Months ago it started to appear some projects about android 9.0 before of Google revealed it as android Pie, then at this time devices with treble support also can support GSIs from these projects according two specific conditions: the processor (first qualcomm, then exynos, kirin and mtk were supported) and kind of partition system A-A/B.
At this first times was needed to flash a vendor treble supported rom to add treble support and flash over it a GSI 9.0. without the need to flash other kernel.
In this forum there are a lot of GSIs that eventually could work in our device but it could be many bugs https://forum.xda-developers.com/project-treble/trebleenabled-device-development.
Now is not needed to complicate the job flashing a vendor, then a GSI and maybe a custom treblized kernel so started to appear first developments of roms running 9.0 and these roms will work as exactly did it any rom 7.1 or 8.1, in the future they could be include treble support.
This is the short story.

What to do after getting this phone?

So after a lot of speculation I'm finally going to buy this device!
I want to install PE Q version on this phone.
Q1) should I directly unlock bootloader and flash Q?
Q2) do I need to do OTAs till the latest version?
Q3) any bugs on custom roms like PE Q?
Q4) average SOT on Q?
Q5) GCam works on custom Roms?
Q6) any better custom Q rom?
Q7) how do we unlock the bootloader?
That's all folks!
Hope you answer this..
GopalKaul said:
So after a lot of speculation I'm finally going to buy this device!
I want to install PE Q version on this phone.
Q1) should I directly unlock bootloader and flash Q?
Q2) do I need to do OTAs till the latest version?
Q3) any bugs on custom roms like PE Q?
Q4) average SOT on Q?
Q5) GCam works on custom Roms?
Q6) any better custom Q rom?
Q7) how do we unlock the bootloader?
That's all folks!
Hope you answer this..
Click to expand...
Click to collapse
answer to all is pretty much yes. for better details search on youtube; there are plenty already
GopalKaul said:
So after a lot of speculation I'm finally going to buy this device!
I want to install PE Q version on this phone.
Q1) should I directly unlock bootloader and flash Q?
Q2) do I need to do OTAs till the latest version?
Q3) any bugs on custom roms like PE Q?
Q4) average SOT on Q?
Q5) GCam works on custom Roms?
Q6) any better custom Q rom?
Q7) how do we unlock the bootloader?
That's all folks!
Hope you answer this..
Click to expand...
Click to collapse
You have to unlock bootloader first..it will take 72 hours..enough time to catch up on all ota updates..
PE is in early stages so yes expect a few bugs but still its a daily driver so go for it..
Yes gcaM works but video recording is nt working in PE Q as of now..
No PE is best right now..
Tutorial of bootloader unlocking is present in detail at xda
GopalKaul said:
So after a lot of speculation I'm finally going to buy this device!
I want to install PE Q version on this phone.
Q1) should I directly unlock bootloader and flash Q?
Q2) do I need to do OTAs till the latest version?
Q3) any bugs on custom roms like PE Q?
Q4) average SOT on Q?
Q5) GCam works on custom Roms?
Q6) any better custom Q rom?
Q7) how do we unlock the bootloader?
That's all folks!
Hope you answer this..
Click to expand...
Click to collapse
these question are your fears you are thinking loud!
every rom (stock or custom) has bugs! and you know that!
the only thing which i will answer here (which you didn't ask btw) is follow the flashing process properly to avoid bricking your phone!
after every vendor image, do flash DFE in order to avoid encryption error otherwise you will have to format everything. Make sure not to change the filesystem from ext4 UNLESS your kernel and rom support or you will be locked out (format data)
for unlocking , follow xiaomi website and request unlock powers to your Xiaomi account. you should be running Developer rom (at least this is how I unlocked it)
First I want you to know the cons of unlocking your bootloader:
Data can be accessed by people if your phone is stolen (don't flash disabled encryption to encrypt your data)
In some cases manufacturers void the warranty of phones
Unofficial roms can have spyware in them do only go for official builds of lineage, pixel experience or any trusted rom....
Note: Start reading up on XDA regularly to check out new ROMs and kernels. It helps one decide on whether they want to take this step forward...
But those who do don't regret it cause this leads to opening up a whole new world....and in some cases people become android developers due to their love for the amount of resources on XDA and the supportive community that is there on XDA
xdayumson said:
First I want you to know the cons of unlocking your bootloader:
Data can be accessed by people if your phone is stolen (don't flash disabled encryption to encrypt your data)
In some cases manufacturers void the warranty of phones
Unofficial roms can have spyware in them do only go for official builds of lineage, pixel experience or any trusted rom....
Note: Start reading up on XDA regularly to check out new ROMs and kernels. It helps one decide on whether they want to take this step forward...
But those who do don't regret it cause this leads to opening up a whole new world....and in some cases people become android developers due to their love for the amount of resources on XDA and the supportive community that is there on XDA
Click to expand...
Click to collapse
ONCE
- Boot is unlocked and
- you are running Rooted ROM
TECHNICALLY its HACKERS HEAVEN!
anyone who gets hold of your device can not only steal the hardware but your personal data too
in ROOTED fone hackers may find vulnerabilities in SeLINEX (specially on permissive mode) and can take hold of your device!
yes if you keep your internal storage Encrypted! chances are who ever takes hold of your device cannot access your data! however Vendor/Firmare 10.3.8 is not supported YET by many roms and if you flash this vendor and flash custom rom! it won't able to access the internal storage (Like LineAge) and it will keep rebooting!
also if you flash older stable vendor firmare 9.6.27-9.0, and don't flash DFE, & later come back and try different custom rom! you will LOCK yourself out from internal storage and ALL the date will be WIPED! basically vendor treats YOU also as intruder if you change roms!
- I swapped between Havoc and Crdroid with vendors and EVOLUTIONX and had to either FORMAT data for vendor to encrypt Internal storage with new Hash or my device kept bootlooping
summing up,
- even if you DON"T flash DFE and have ROOTED custom rom, hackers CAN still find loopholes in Anrdoid and have access!
- LineAge, Crdroid, Mokee has some sort of security Options ON/OFF which can be found in settings! you may try that! but then if fone is rooted! you are vulnerable

Question SM-T220 -- Questions on flashing from Stock to A13 GSI

Hi all,
I recently got an SM-T220 for cheap, running the latest stock rom, build: T220XXS3CWD1, (I've identified my stock rom is likely this EUX version: https://samfw.com/firmware/SM-T220/EUX/T220XXS3CWD1).
The tablet is not that powerful - it runs like a fat guy up a hill. So, my aim is to install the fastest, lightest/least bloated GSI version of A13 I can find, without Samsung UIX (Ie. just using the vanilla android UI) - I dont care for special features, dont need root or custom recovery, just performance. Currently, based on scanning this forum, I think this is the most suitable rom for me:
https://github.com/ponces/treble_build_aosp/releases/tag/v2023.06.16
Currently, I have unlocked the bootloader on the tablet and that is all so far (have not rooted, or added a custom recovery, yet).
So, before I get started on flashing, I have 3 questions:
What is the fastest known A13 rom, supported on this tablet? - has anyone done any testing on performance (i have seen a lot of aesthetic rom forks on this forum, but no benchmarks on performance)
What is the most smooth-brain method for installing a GSI - can a GSI just be flashed with odin?
Has anyone tried overclocking the A7? (this would likely require root, but curious if it is worth it).
Bananadroid Gsi rom
I use magisk with busy box module working on Hebf app for overclocking
Use twrp or stock recovery fastbootd patch to flash gsi . You can use Odin to flash gsi but is very inconvenient
All GSIs are the same (now A13 QPR3). why need benchmarks? its performance is ability of mobile processors.
Want performance ? then compile new kernel and creates new ROM.
(Now there are universal TWRP and soon its will has touch screen fixing, KernelSU new way to root .)

Categories

Resources