Stock Android 10, I want to flash HavocOS 3.6 GSI with Android 10 - Treble-Enabled Device Questions and Answers

Hello there, I have a fully-compatible treble Motorola One Action (not rooted, no twrp, bootloader was not unlocked[yet])
I was wondering, can I flash a GSI ROM with Android 10, having already Android 10?
Looked on Android Devs site, no answer for this question.
I have to mention that my device has AB partitions.
Please help me!

AlphaCoder64 said:
Hello there, I have a fully-compatible treble Motorola One Action (not rooted, no twrp, bootloader was not unlocked[yet])
I was wondering, can I flash a GSI ROM with Android 10, having already Android 10?
Looked on Android Devs site, no answer for this question.
I have to mention that my device has AB partitions.
Please help me!
Click to expand...
Click to collapse
Yes. Project Treble is independent from the android version as long as your device comes with minimum Android 8 out of the box (cause with Android 8 Project Treble was introduced).
Of course your current Stock will be replaced. And you need a unlocked bootloader to boot a GSI (which probably will lead to a wipe of your data so backup it first).

AlphaCoder64 said:
Hello there, I have a fully-compatible treble Motorola One Action (not rooted, no twrp, bootloader was not unlocked[yet])
I was wondering, can I flash a GSI ROM with Android 10, having already Android 10?
Looked on Android Devs site, no answer for this question.
I have to mention that my device has AB partitions.
Please help me!
Click to expand...
Click to collapse
Adding to the post by the other user, it's VERY recommended to:
Install Twrp (whatever is latest)
Use Twrp to flash "permissiver v4 or v5" (Google it )

Related

Can I Install Android Pie GSI to Xiaomi Mi6 and How?

Hi everyone, just decided to flash a new ROM to my Mi6 and ran into Project Treble. There is a lot of threads and discussions about Treble and installation to Mi6 and I decided to open a thread which people can help me and future Treble noobs Thanks in advance!
Also I saw something about partitions ( A B and A/B ) and searched which one I'm using and which one is better? Found Mi6 is using A partition table but can't found info about which one is better and can I switch between them....
Chandler Muriel Bing said:
Also I saw something about partitions ( A B and A/B ) and searched which one I'm using and which one is better? Found Mi6 is using A partition table but can't found info about which one is better and can I switch between them....
Click to expand...
Click to collapse
A-only is better for custom ROMs since it's straight-forward.
A/B results in two system, vendor and boot partitions ( and possibly other ones too ) , excelling at seamless updates ( OTAs install on the B partitions while you are using your phone and when you reboot, the phone switches to the B partitions and you can use the update right away ).
However, on A/B devices, there's no dedicated recovery partition so you have to infuse TWRP into the boot.img just like Magisk.
The Marionette said:
A-only is better for custom ROMs since it's straight-forward.
A/B results in two system, vendor and boot partitions ( and possibly other ones too ) , excelling at seamless updates ( OTAs install on the B partitions while you are using your phone and when you reboot, the phone switches to the B partitions and you can use the update right away ).
However, on A/B devices, there's no dedicated recovery partition so you have to infuse TWRP into the boot.img just like Magisk.
Click to expand...
Click to collapse
Many many thanks for too much useful and full of information post
I chechked HavocOS 2.0 GSI thread and i think i'll install it
Chandler Muriel Bing said:
Hi everyone, just decided to flash a new ROM to my Mi6 and ran into Project Treble. There is a lot of threads and discussions about Treble and installation to Mi6 and I decided to open a thread which people can help me and future Treble noobs Thanks in advance!
Click to expand...
Click to collapse
how can i upgrade my tecno phantom 5 please, it running on lollipop and i need an upgrade urgently
taptechcom said:
how can i upgrade my tecno phantom 5 please, it running on lollipop and i need an upgrade urgently
Click to expand...
Click to collapse
I don't think that device has treble support, sorry. But still you can search for custom ROMs

Custom ROM questions (no Google Apps)

Hey, all! I am very new here, although I always use this forum as reference, including for my previous smartphones: Xpera Z3 Dual and Galaxy S3.
But now I have a Pixel 2 XL (taimen) with the latest stock ROM (February 9, 2019 Android 9 Pie). I want a Custom ROM with no Google apps included whatsoever, could somebody help me out and give some directions? I have spent hours trying to flash a CarbonROM with no success. I don't want root, I just don't want Google Apps. A few questions:
- Is unlocking the bootloader mandatory to flash any Custom ROM?
- If I am on Android 9 Pie and the custom ROM is based on 8 Oreo, is it mandatory to flash the Oreo factory image from Google? If so, can I do it by simply using the OTA sideloading? I couldn't flash with the fastboot script.
- Is TWRP mandatory in this case? Is root mandatory?
I am really thankful for this community and appreciate any help you can give me.
abbluiz said:
- Is unlocking the bootloader mandatory to flash any Custom ROM?
- If I am on Android 9 Pie and the custom ROM is based on 8 Oreo, is it mandatory to flash the Oreo factory image from Google? If so, can I do it by simply using the OTA sideloading? I couldn't flash with the fastboot script.
- Is TWRP mandatory in this case? Is root mandatory?
I am really thankful for this community and appreciate any help you can give me.
Click to expand...
Click to collapse
- Yes
- Yes; No
- Yes, for flashing custom rom. Root is not mandatory.

Treble bootloop on G960F

Hello everyone,
I'm getting really frustrated hree as I can't flash any android 10 GSI. I either get bootloop, stuck on samsung logo or stuck on restarting on samsung logo.
Flashing different kernels seem to change the above behavior (instead of bootloop I get samsung logo and vice-versa).
I tried everything:
Doing the no-verity thingie...
Flashing stock files then GSI - nothing.
Flashing soldiers oreo kernel - nothing
Flashing endurance kernel - nothing
I can't find a vendor image that's compatible with any GSI on my phone. I also can't find any kernel that's compatible either.
So please, end my misery... if anyone managed to install android 10 GSI on this TREBLE COMPATIBLE DEVICE, please guide me through or provide any useful file (vendor img/kernel) that I might have been missed.
I wrote this because I couldn't find anything that could help... Thanks in advance!
EDIT:
I solved the problem with the kind help from phhusson and the guidance from Lanreallenjay (thanks, both of you!), so I'm trying to provide the solution for anyone that might be having the same problem as I had. So here it is:
For PIE GSI: use stock kernel/vendor (anything stock), flash the GSI, then flash Magisk -> it should boot fine now (only tested with phhusson's GSI. I had vibrating restart loops before, I wasn't installing magisk, that was my mistake)
For Android 10 GSI: same as above, but install the modded Magisk from phhusson's git (located @ v200 android 10 gsi post) instead of the normal one .
itShouldWork said:
Hello everyone,
I'm getting really frustrated hree as I can't flash any android 10 GSI. I either get bootloop, stuck on samsung logo or stuck on restarting on samsung logo.
Flashing different kernels seem to change the above behavior (instead of bootloop I get samsung logo and vice-versa).
I tried everything:
Doing the no-verity thingie...
Flashing stock files then GSI - nothing.
Flashing soldiers oreo kernel - nothing
Flashing endurance kernel - nothing
I can't find a vendor image that's compatible with any GSI on my phone. I also can't find any kernel that's compatible either.
So please, end my misery... if anyone managed to install android 10 GSI on this TREBLE COMPATIBLE DEVICE, please guide me through or provide any useful file (vendor img/kernel) that I might have been missed.
I wrote this because I couldn't find anything that could help... Thanks in advance!
Click to expand...
Click to collapse
What's your phone's specifications?
Lanreallenjay said:
What's your phone's specifications?
Click to expand...
Click to collapse
Hey, thanks for the interest!
I've got the S9 Exynos variant (SM-G960F, Europe), I unlocked the bootloader several days ago.
It's on android 9 right now, I flashed the stock firmware after I've tried everything to get android 10 treble to work and failed.
Current kernel version: 4.9.59-16947752 (stock)
Build number: PPR1.180610.011.G960FXXS7CSJ3
I can flash any rom available besides GSI (I've used lineage OS 16 for a couple of days).
If you need anything else more specific just ask, I don't really know what exactly can help with this situation.
Cheers!
itShouldWork said:
Hey, thanks for the interest!
I've got the S9 Exynos variant (SM-G960F, Europe), I unlocked the bootloader several days ago.
It's on android 9 right now, I flashed the stock firmware after I've tried everything to get android 10 treble to work and failed.
Current kernel version: 4.9.59-16947752 (stock)
Build number: PPR1.180610.011.G960FXXS7CSJ3
I can flash any rom available besides GSI (I've used lineage OS 16 for a couple of days).
If you need anything else more specific just ask, I don't really know what exactly can help with this situation.
Cheers!
Click to expand...
Click to collapse
Ask for help here
https://t.me/phhtreble/283195 <---
Read before any question ^^^
After flashing G960FXXS7CSJ3 November stock firmware I can no longer flash anything.
(can't mount data partition)
When I try downgrading to G960FXXU5CSF2 June firmware Odin fails and the screen says:
SW REV. CHECK FAIL (BOOTLOADER) DEVICE: 7 BINARY: 5
November G960FXXS7CSJ3 seems to have upgraded the bootloader security, does anyone know a fix?
itShouldWork said:
Hello everyone,
I'm getting really frustrated hree as I can't flash any android 10 GSI. I either get bootloop, stuck on samsung logo or stuck on restarting on samsung logo.
Flashing different kernels seem to change the above behavior (instead of bootloop I get samsung logo and vice-versa).
I tried everything:
Doing the no-verity thingie...
Flashing stock files then GSI - nothing.
Flashing soldiers oreo kernel - nothing
Flashing endurance kernel - nothing
I can't find a vendor image that's compatible with any GSI on my phone. I also can't find any kernel that's compatible either.
So please, end my misery... if anyone managed to install android 10 GSI on this TREBLE COMPATIBLE DEVICE, please guide me through or provide any useful file (vendor img/kernel) that I might have been missed.
I wrote this because I couldn't find anything that could help... Thanks in advance!
EDIT:
I solved the problem with the kind help from phhusson and the guidance from Lanreallenjay (thanks, both of you!), so I'm trying to provide the solution for anyone that might be having the same problem as I had. So here it is:
For PIE GSI: use stock kernel/vendor (anything stock), flash the GSI, then flash Magisk -> it should boot fine now (only tested with phhusson's GSI. I had vibrating restart loops before, I wasn't installing magisk, that was my mistake)
For Android 10 GSI: same as above, but install the modded Magisk from phhusson's git (located @ v200 android 10 gsi post) instead of the normal one .
Click to expand...
Click to collapse
So from stock you flashed AOSP 10 GSI to system partition then phh's magisk (in TWRP) then it works for you?
rupert3k said:
So from stock you flashed AOSP 10 GSI to system partition then phh's magisk (in TWRP) then it works for you?
Click to expand...
Click to collapse
Yep, it does. Buuut the rom is not stable at all, I've got random reboots/ crashes when opening settings and such, not usable at all. I'm on ONE UI 2.0 beta now which is much more stable (daily driver stable actually).
rupert3k said:
After flashing G960FXXS7CSJ3 November stock firmware I can no longer flash anything.
(can't mount data partition)
When I try downgrading to G960FXXU5CSF2 June firmware Odin fails and the screen says:
SW REV. CHECK FAIL (BOOTLOADER) DEVICE: 7 BINARY: 5
November G960FXXS7CSJ3 seems to have upgraded the bootloader security, does anyone know a fix?
Click to expand...
Click to collapse
Have you tried formatting data with TWRP (to the part when it asks you to write "yes") then flash no-verity?
You should at least be able to flash TWRP. If you can't, just download the proper USB drivers for your device, it might be the culprit.
Cheers!
itShouldWork said:
Yep, it does. Buuut the rom is not stable at all, I've got random reboots/ crashes when opening settings and such, not usable at all. I'm on ONE UI 2.0 beta now which is much more stable (daily driver stable actually).
Click to expand...
Click to collapse
Phh just hinted it's likely Pie vendor causing panics:
"First you need to flash stock rom. Then install magisk and then this gsi.
Though please note that on Pie vendor, S9 kernel panics and reboot every few minutes, so it is highly unusable."
itShouldWork said:
Hey, thanks for the interest!
I've got the S9 Exynos variant (SM-G960F, Europe), I unlocked the bootloader several days ago.
It's on android 9 right now, I flashed the stock firmware after I've tried everything to get android 10 treble to work and failed.
Current kernel version: 4.9.59-16947752 (stock)
Build number: PPR1.180610.011.G960FXXS7CSJ3
I can flash any rom available besides GSI (I've used lineage OS 16 for a couple of days).
If you need anything else more specific just ask, I don't really know what exactly can help with this situation.
Cheers!
Click to expand...
Click to collapse
I have tried Android 10 GSI , using latest Q update
ZoiraP said:
I have tried Android 10 GSI , using latest Q update
Click to expand...
Click to collapse
Is it usable? any random reboots/ annoying instability?
itShouldWork said:
Is it usable? any random reboots/ annoying instability?
Click to expand...
Click to collapse
I have tried it partly , nfc isnt working , camera quality is bad , Bluetooth working , audio working , magisk working . I'll use it a bit more and tell you.
ZoiraP said:
I have tried it partly , nfc isnt working , camera quality is bad , Bluetooth working , audio working , magisk working . I'll use it a bit more and tell you.
Click to expand...
Click to collapse
Camera quality might be fixed with Google cam, if you find a good port.
Not to derail the thread but I just noticed after installing Android 10 beta 2 Treble Info now reports my S9 supports Treble A/B, curious no?
rupert3k said:
Not to derail the thread but I just noticed after installing Android 10 beta 2 Treble Info now reports my S9 supports Treble A/B, curious no?
Click to expand...
Click to collapse
Wait what? That's interesting...
Can someone with more experience enlighten us about the differences between the A only and A/B?
A\B
itShouldWork said:
Wait what? That's interesting...
Can someone with more experience enlighten us about the differences between the A only and A/B?
Click to expand...
Click to collapse
No real experience but A\B devices have two slots ie double the partitions (OnePlus has 67) .
This allows updates to be installed while running from slot A while the updated system is copied to B.
Apparently Q requires A\B so now we're on Q may as well try that next time we're curious
Phh just released:
AOSP 10.0 v208
Fix suspend/dt2w for Samsung Q vendor
Fix backlight for Samsung Q vendor
Samsung Q's fine, love gestures but the bloat is killing me.
You can tell Q's going to be so much leaner without bixby & friends.
Glad we installed it to get compatible but I think now we probably stand a better chance with 10 GSI's, hopefully LOS17 & Pixel Experience get updated again soon.
Wondering whether to following the rooting instructions yet?
Phh did say "flash stock rom then magisk and then gsi"
https://forum.xda-developers.com/galaxy-s9/how-to/one-ui-2-beta-rooting-installing-twrp-t4012961
ZoiraP's wondering why we sooo slow lol!
Wow this looks good: https://forum.xda-developers.com/ga...-s9--s9-cross-device-development/rom-t4020939

Redmi Note 8 Custom Firmware Beginner Question

Hey dear xda-dev people,
i have bought a used redmi note 8 pro. And because i want a safe and secure smartphone i would appreciate it that the OS has no google software on it. I read that theres only an unofficial lineage os which is currently not updated anymore. What else custom firmwares are safe, do regulary get updated and doesn't have any google tools? I thought about crDroid.
How do I install custom firmwares and stuff? I'm not a complete beginner - i know adb fastboot etc. but I read that there should be a special situation with the Redmi note 8 pro. I just enabled the dev mode. My device has 128 gb and is actually running on global MIUI-Version 12.0.2. Stabil. The android version is 10QP1A.190711.020.
Can you please help me and spread your knowledge?
Greets,
newbie922
Seems you didn't even search for it...
Here is a full guide. Flash TWRP > Do a full backup > Install any ROM you want, you can find some of the ROMs here.
I searched for it but i was pretty unsure because i read that a brick can happen very easily with this phone. thanks a lot for your answer!
The phone is now succesfully unlocked. Is the
"5. LR Team TWRP" really the correct twrp for my actual android (10QP1A.190711.020) and miui version (Version 12.0.2). Stabil.
Then I will try to flash it and report. Should I Install something like an antibricktool first?
@newbie922 Do you want to install CFW or nom-CFW custom ROM?
I want to install a cfw without google apps. Also a non cfw with no google apps would be great!
Do you have something which you can recommend? Regulary updates would be cool.
newbie922 said:
cfw without google apps.
Click to expand...
Click to collapse
Resurrection Remix (latest build requires CFW 2.1)
newbie922 said:
Also a non cfw with no google apps would be great!
Click to expand...
Click to collapse
Mabye Havoc OS?
That sounds good. I already read about this both firmwares. But question now is if it's safe to install the LR Team TWRP with my actual android and MIUI-Version. After i succesfully installed twrp I can install the resurrection remix or the havoc os?
Data Encryption is still possible with both of the firmwares?
newbie922 said:
After i succesfully installed twrp I can install the resurrection remix or the havoc os?
Click to expand...
Click to collapse
For Resurrection Remix - follow method #1 from Megathread https://forum.xda-developers.com/t/guide-info-psa-redmi-note-8-pro-megathread-cfw.4056527/
For non-CFW ROM - first of all - install TWRP 3.5.1 Unified.
So you mean this twrp for example? https://forum.xda-developers.com/t/...-black-twrp-3-5-1-v2-unified-begonia.4241633/
Concerning the megathread it's not possible to just install a cfw afterwards by flashing it? I have to downgrade to A9 etc. etc.
newbie922 said:
So you mean this twrp for example? https://forum.xda-developers.com/t/...-black-twrp-3-5-1-v2-unified-begonia.4241633/
Click to expand...
Click to collapse
For example.
Here's official TWRP for Note 8 Pro
Download TWRP for begonia
Download TWRP Open Recovery for begonia
eu.dl.twrp.me
newbie922 said:
I have to downgrade to A9 etc. etc.
Click to expand...
Click to collapse
Yes, get yourself down to business

Question When TWRP for OnePlus 9 Pro?

Dear,
I need to have TWRP for rooting my OP9Pro but it is of course not available for the OP9Pro since it is brand new. Since i am experienced with flashing TWRP on OnePlus phones i already now that TWRP officialy doesn't support the latest phones of OnePlus so i know that the TWRP's used for that are from Mauronofrio and others. But does anyone know how long it would take till someone has developed a reliable version of TWRP for it and maybe also how long it would take till MSMDownloadtool become available for us?
Regards,
Kuno
It will become available when it does. No one knows when. One day you may see it. Or not. Flip a coin and good luck!
You also do not need TWRP for root.
There is already this thread asking for TWRP since the start of this sub-forum : https://forum.xda-developers.com/t/how-come-we-dont-have-root-and-twrp-yet.4252335/
For rooting without TWRP, here is an explanation : https://forum.xda-developers.com/t/...gisked-boot-root.4252373/page-4#post-84747985
Unlocking the bootloader is done by rebooting in fastboot mode and fastboot oem unlock
Root OnePlus 9/ 9 Pro/ 9R using Magisk [No TWRP Required]
In this article, I will show you how to Root OnePlus 9 Pro using Magisk and without TWRP recovery. OnePlus 9 Pro recently launched this beast smartphone,
magiskapp.com
Cardinal rule of XDA, Do Not Ask For ETAs
If you can develope it faster, I'm sure everyone would agree that you are more than welcome too.
avid_droid said:
And here you go...
[DEV]How to compile TWRP touch recovery
All of TWRP 3.x source is public. You can compile it on your own. This guide isn't going to be a step-by-step, word-for-word type of guide. If you're not familiar with basic Linux commands and/or building in AOSP then you probably won't be...
forum.xda-developers.com
Click to expand...
Click to collapse
I don't think this is applicable because the recovery is a part of the boot image and this guide is for creating a standalone recovery image I think since android O (someone can correct me if I'm wrong on which android version introduced this)
GreaterLesser said:
I don't think this is applicable because the recovery is a part of the boot image and this guide is for creating a standalone recovery image I think since android O (someone can correct me if I'm wrong on which android version introduced this)
Click to expand...
Click to collapse
Well, this guide still covers the basics of setting up a tree and building. You'll need that regardless if your device has a recovery partition or not.

Categories

Resources