trable A-only or AB? - Xiaomi Redmi 7 Questions & Answers

I bought a redmi 7, wanted to install a gsi, then I used the trable check to find out which type to use, it says that the device is A-only, so far I have only been able to install gsi AB on it, I wonder if this device is A-only or AB, and if it is A-only because only AB works and A-only not since the trable check says to be A-only.
Thanks!

DaniloReis said:
I bought a redmi 7, wanted to install a gsi, then I used the trable check to find out which type to use, it says that the device is A-only, so far I have only been able to install gsi AB on it, I wonder if this device is A-only or AB, and if it is A-only because only AB works and A-only not since the trable check says to be A-only.
Thanks!
Click to expand...
Click to collapse
pratically is a only, but behavior is ab...so only ab images works

Did you try any gsi?
---------- Post added at 03:45 PM ---------- Previous post was at 03:44 PM ----------
PeppeCNN said:
pratically is a only, but behavior is ab...so only ab images works
Click to expand...
Click to collapse
Can you port oxygen os for onclite?

Related

Discussion, Project Treble Support in Moto G5 Plus

Till now everyone heard and know that Motorola is building 64 bit ROM for our (Moto G5plus) Potter device as Oreo doesn't support 32-bit anymore.
What's the possibility of Implementation of treble and seemless Update with this ROM as They ate building Completely out of scratch.
I Know Lenovo Policy and Stuffs so Put only sensible reply I on basis of valid documents or proof rather saying randomly no offense
s4shubham4u said:
Till now everyone heard and know that Motorola is building 64 bit ROM for our (Moto G5plus) Potter device as Oreo doesn't support 32-bit anymore.
What's the possibility of Implementation of treble and seemless Update with this ROM as They ate building Completely out of scratch.
I Know Lenovo Policy and Stuffs so Put only sensible reply I on basis of valid documents or proof rather saying randomly no offense
Click to expand...
Click to collapse
No, moto isn't building 64-bit Oreo for our device. A 32-bit OS cannot be upgraded to 64-bit without a clean install (read: deleting all data), which is also true for every desktop OS (Windows, any linux distro, etc.) . It is actually sort of possible on linux, but extremely difficult and bothersome.
Also Oreo didn't drop support for 32-bit architectures. New apps must be 64-bit compatible, but that doesn't mean they'll stop working on a 32-bit OS. And Google covered 32-bit cases in their Oreo compatibility definition, meaning it is supported.
Basically it's never been done before by an oem, and there is no reason for moto to bother with it since G5+ has a maximum of 4GB RAM. 64-bit architectures even tend to increase RAM consumption due bigger pointers and slightly larger code.
As for treble, it's possible to update phones with treble support, as it has been done by other oems before, but I really doubt moto will bother. They said every phone will get at least one major update (with "at least" usually meaning "exactly"), so after Oreo the G5+ likely won't get android P, meaning they achieve nothing by making the phone treble compatible.
Dear developers of our G5 Plus @vache , @GtrCraft , @jhenrique09 , @mrlolli , @shamith ,
About PROJECT TREBLE I saw that the motorola will not support our device (OTA update with repartition would be risky).
But I saw that somebody already managed to carry the project treble to the Xiaomi Redmi Note 4. He had no support.
Interesting article on how he managed:
https://www.xda-developers.com/xiaomi-redmi-note-4-project-treble/
And there is another developer who is doing this for the Xiaomi Redmi 3 ( Screenshots )
Do you think it is possible to do the same for our G5 Plus since our hardware and spaces are better?
Maybe we could use the OEM or Firmware partition (if we can give it away)
in this video he shows how he did for redmi 4:
https://www.youtube.com/watch?v=wXd0D3g6r_0
---------- Post added at 03:40 PM ---------- Previous post was at 03:24 PM ----------
He said he did not repartition, he just altered an existing one:
https://forum.xda-developers.com/showpost.php?p=75527103&postcount=2233
Here is the Moto G6 Plus Stock rom with treble (*** do not install! ***), I think we could study the structure of the partitions because from one moto G to another it changes little, maybe this gives an idea of which partition to use.
https://androidfilehost.com/?fid=890278863836285868
Treble is available for testing on potter
eemgee said:
Treble is available for testing on potter
Click to expand...
Click to collapse
Really ? at where ?
jrs007 said:
Really ? at where ?
Click to expand...
Click to collapse
The potter telegram group.
eemgee said:
The potter telegram group.
Click to expand...
Click to collapse
can you give me the link to the group???
Still testing stage no volte on treble
All others are working and u miss Moto actions
---------- Post added at 02:00 PM ---------- Previous post was at 01:55 PM ----------
abhijit1998 said:
can you give me the link to the group???
Deleted
Click to expand...
Click to collapse
dhinesh_cool said:
Still testing stage no volte on treble
All others are working and u miss Moto actions
---------- Post added at 02:00 PM ---------- Previous post was at 01:55 PM ----------
abhijit1998 said:
can you give me the link to the group???
https://t.me/g5plus
Click to expand...
Click to collapse
thanks for the link... i do not use jio sim so no volte would be okay for me...
Click to expand...
Click to collapse
Anyone have success with installing Treble?
I installed the Treble ROM, followed by PixelExperience GSI. Tried to boot to ROM and it can't find /system/
Samip430 said:
Anyone have success with installing Treble?
I installed the Treble ROM, followed by PixelExperience GSI. Tried to boot to ROM and it can't find /system/
Click to expand...
Click to collapse
Haven't tried yet
Instaled Treble ROM sucessfully.
Samip430 said:
Anyone have success with installing Treble?
I installed the Treble ROM, followed by PixelExperience GSI. Tried to boot to ROM and it can't find /system/
Click to expand...
Click to collapse
I just tried flashing LAOS treble ROM, PHH AOSP 8.1 V19, Ace Kernel Treble and pico gapps, and it works!
abhijit1998 said:
dhinesh_cool said:
Still testing stage no volte on treble
All others are working and u miss Moto actions
---------- Post added at 02:00 PM ---------- Previous post was at 01:55 PM ----------
thanks for the link... i do not use jio sim so no volte would be okay for me...
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Samip430 said:
Anyone have success with installing Treble?
I installed the Treble ROM, followed by PixelExperience GSI. Tried to boot to ROM and it can't find /system/
Click to expand...
Click to collapse
I did it, but before installing the GSI Pixel experience you have to do the factory reset on twrp.
the steps are as follows:
Before everything download Device ID apk (https://www.apkmirror.com/apk/evozi...release/device-id-1-3-2-android-apk-download/)
And a Brower (https://apkpure.com/via-browser-fast-light-geek-best-choice/mark.via.gp)
- TWRP-treble ( although twrp continues to show 3.2.1.0 note that in mount and backup the vendor partition is now appearing )
[If comming from broken treble/bug or anything wrong]
--> Wipe everything except internal.
- Lineage_treble ( This version of the lineage made by vache contains the necessary vendor partition files. )
- Factory reset (Don't if you gonna use LOS)
- GSI (Don't if your gonna use LOS)
- Gapps (Don't if you gonna use Pixel Experience) & Magisk mod by vache)
For GAPPS use OpenGapps Pico.
For Magisk only use the one on vache's cloud.
On LOS you shouldn't get google certification error,
If you get (on los or any gsi)
Just skip the setup wizard (do like if you don't use gapps)
Install DeviceID, and get your GSF number, then enter it on
this site, reboot and you're ready to go.
https://www.google.com/android/uncertified/
This tutorial was made by Martin
Does any (A-only) GSI (like phh-treble builds) work with the custom TWRP, or do they have to be specifically compiled for the g5+? I'm asking because I'm interested in the potential for this, but not really wanting to switch from a non-treble ROM just yet.
And here it is
https://forum.xda-developers.com/g5-plus/development/dev-project-treble-potter-t3801292
monster1612 said:
Does any (A-only) GSI (like phh-treble builds) work with the custom TWRP, or do they have to be specifically compiled for the g5+? I'm asking because I'm interested in the potential for this, but not really wanting to switch from a non-treble ROM just yet.
Click to expand...
Click to collapse
The point of a gsi (generic system image) is that it'll work on any treble-enabled device. Any A-only GSI will work, because the device specific drivers are in a partition which is left untouched.
monster1612 said:
Does any (A-only) GSI (like phh-treble builds) work with the custom TWRP, or do they have to be specifically compiled for the g5+? I'm asking because I'm interested in the potential for this, but not really wanting to switch from a non-treble ROM just yet.
Click to expand...
Click to collapse
i have used aosp, pixel experience gsi in my moto g5 plus, they booted up....
abhijit1998 said:
i have used aosp, pixel experience gsi in my moto g5 plus, they booted up....
Click to expand...
Click to collapse
So can I install the Global System Image instead of the build specific LineageOS image from https://forum.xda-developers.com/g5-plus/development/rom-lineageos-15-0-t3673573 ?
Does everything work like the LineageOS image?
Thanks!

Reversable?

Been a while since I flashed my ROM and just found about treble enabled images which have been made available for my device but are rather new.
I understand that treble roms add the vendor partition which I assume remains untouched when you flash a new treble ROM but I expect there needs to be a bit of change to partition tables when you first upgrade to a treble based ROM?
If that is the case, what happens if I want to go back to an earlier 7.1 based ROM for example? Is it just a matter of flashing that again in TWRP and it will rebuild the partitions or does that become a little problematic?
It needs rebuilding of nougat partitions for your device,oreo vendor and treble is not supported bu nougat
---------- Post added at 03:44 AM ---------- Previous post was at 03:43 AM ----------
It needs rebuilding of nougat partitions for your device,oreo vendor and treble is not supported by nougat
OK, so is that possible by simply flashing back a nougat ROM with TWRP or do you need to repartition with ODIN?
bunta126 said:
OK, so is that possible by simply flashing back a nougat ROM with TWRP or do you need to repartition with ODIN?
Click to expand...
Click to collapse
It depends. On unofficial treble devices (Xiaomi) ,you don't even have to do anything more than a normal flash.But if you are using official treble by OEM,(like Huawei and Samsung),then you need to follow official ways to full downgrade to nougat.

moto z2 play Android 9?

I'm looking for ROM with Android 9 pie for moto z2 play device I tried several methods by GSI I tried the KVT and tried all but no ROMs like Lineage OS and mokee OS, resurrection remix OS and other ROMs work fine but the method by GSI gave fail and all say that date is corrupted wanted to know if it has any ROM available with Android 9 need help installing a GSI on the device someone from the forum can help me.
I have this same problem
KVT , remix OS They are bad but tell me which one you want to ride and I can help you.
in fact it does, but if you say it's bad you can tell me a better option or the best method of installation
Eduardo Bruch said:
in fact it does, but if you say it's bad you can tell me a better option or the best method of installation
Click to expand...
Click to collapse
LineageOS is the one that I use, at the moment there is only 2 Publish of Android 9.0, and both are bad the truth. the action is completed so far is the lineageOS of all that you have installed
I do not understand so far have some OS lieage being developed with Android 9.0 or have some different installation method because I could not by GSI or the device does not start or the message encryption or error in the part that says the data is corrupted I wanted in fact a simpler way to install a new patch
does anyone have any ROM with Android 9.0 running that can pass the rom link or some more effective method to install Android 9.0 on the device
Eduardo Bruch said:
does anyone have any ROM with Android 9.0 running that can pass the rom link or some more effective method to install Android 9.0 on the device
Click to expand...
Click to collapse
What TWRP do you use?
doesn't flashing KVT and then flashing Rom work for you??
but what should I do if the KVT does not work what would be the best procedure
can someone tell you if you have a ROM 9.0 being developed or somehow efficient to install a GSI without giving problems or teaching the most effective way
Shabbirkt said:
doesn't flashing KVT and then flashing Rom work for you??
Click to expand...
Click to collapse
Absolutely
---------- Post added at 05:19 PM ---------- Previous post was at 05:16 PM ----------
Eduardo Bruch said:
but what should I do if the KVT does not work what would be the best procedure
Click to expand...
Click to collapse
Firstly, start learning how to code and as you learn enough, dig through the works of our existing developers, take some pieces from there and the develope a pie rom which you can give it to us for testing and at last you will have a rom with Pie. Should take much time.
^_^
---------- Post added at 05:21 PM ---------- Previous post was at 05:19 PM ----------
Eduardo Bruch said:
I do not understand so far have some OS lieage being developed with Android 9.0 or have some different installation method because I could not by GSI or the device does not start or the message encryption or error in the part that says the data is corrupted I wanted in fact a simpler way to install a new patch
Click to expand...
Click to collapse
Go to TWRP, the go for the wipe option and to the right of the advanced wipe option, you will find format data option, select that and all your data will be erased and then flash your KVT and then GSI
the KVT is giving error when I give fash it installs normally and then the GSI but when it starts it appears the message saying that the phone is encrypted but being that I do not use encryption and after. low to say that the data system is corrupted I do not know what to do
Eduardo Bruch said:
the KVT is giving error when I give fash it installs normally and then the GSI but when it starts it appears the message saying that the phone is encrypted but being that I do not use encryption and after. low to say that the data system is corrupted I do not know what to do
Click to expand...
Click to collapse
I just can not use KVT because of this fact
KVT does not work
how do I install the KVT or a ro pri in this case of these partitions does anyone know what Vando to use or what I can do

Anyone running an Android Q GSI with Magisk installed?

Anyone running an Android Q GSI with Magisk installed? If so, can you send me the version number and region (Global, China, China Dev) of the stock ROM you are coming from? What GSI are you running and what steps did you take?
I can get Magisk to install with Xiaomi EU, but I prefer to use Pixel Experience Q. The fingerprint sensor works in almost all GSIs now, but I really need to get Magisk working so I can run ANX Camera. When I install any version of Magisk via zip or patched images I get a loop at the Mi logo. If I patch recovery I can boot into the GSI, but Magisk is not showing as installed.
Any alternate methods to get ANX Camera installed would be greatly appreciated as well. I actually don't do much with root access.
hmm
dbjungle said:
Anyone running an Android Q GSI with Magisk installed? If so, can you send me the version number and region (Global, China, China Dev) of the stock ROM you are coming from? What GSI are you running and what steps did you take?
I can get Magisk to install with Xiaomi EU, but I prefer to use Pixel Experience Q. The fingerprint sensor works in almost all GSIs now, but I really need to get Magisk working so I can run ANX Camera. When I install any version of Magisk via zip or patched images I get a loop at the Mi logo. If I patch recovery I can boot into the GSI, but Magisk is not showing as installed.
Any alternate methods to get ANX Camera installed would be greatly appreciated as well. I actually don't do much with root access.
Click to expand...
Click to collapse
is the Pixel Experience Q rom for Mi 9se? I am about to install cruDroid and I wanna compare and see. If so link to the Pixel Experience thread.
mikededo4 said:
is the Pixel Experience Q rom for Mi 9se? I am about to install cruDroid and I wanna compare and see. If so link to the Pixel Experience thread.
Click to expand...
Click to collapse
I ended up going with the Official Derpfest Q rom after fooling around trying to get Magisk working on GSIs for several days.
PE GSI
https://forum.xda-developers.com/pr...sion/gsi-expressluke-built-gsis-t4003457/amp/
DF ROM
https://sourceforge.net/projects/derpfest/files/grus/DerpFest-10-Official-grus-20200401.zip/download
dbjungle said:
I ended up going with the Official Derpfest Q rom after fooling around trying to get Magisk working on GSIs for several days.
PE GSI
https://forum.xda-developers.com/pr...sion/gsi-expressluke-built-gsis-t4003457/amp/
DF ROM
https://sourceforge.net/projects/derpfest/files/grus/DerpFest-10-Official-grus-20200401.zip/download
Click to expand...
Click to collapse
thank you ill let you know my results.
---------- Post added at 03:22 AM ---------- Previous post was at 03:11 AM ----------
dbjungle said:
I ended up going with the Official Derpfest Q rom after fooling around trying to get Magisk working on GSIs for several days.
PE GSI
https://forum.xda-developers.com/pr...sion/gsi-expressluke-built-gsis-t4003457/amp/
DF ROM
https://sourceforge.net/projects/derpfest/files/grus/DerpFest-10-Official-grus-20200401.zip/download
Click to expand...
Click to collapse
how do I know if i should download arm64ab or arm64a? just to make sure I get the latest and right version.
mikededo4 said:
thank you ill let you know my results.
---------- Post added at 03:22 AM ---------- Previous post was at 03:11 AM ----------
how do I know if i should download arm64ab or arm64a? just to make sure I get the latest and right version.
Click to expand...
Click to collapse
You need an A/B rom, but you can use the Treble Info app on any phone if you are ever unsure. I'm under the impression that any phone shipped with Android 9 or higher should use A/B roms because it should be system as root. Anyone correct me if I'm wrong.

How to enable fingerprint on GSIs(Phh's AOSP based)

These days, I find many people asked how to enable fingerprint on Mi 8 PRO(runs GSI), so I'd write this thread to let you konw. I only test the phh's AOSP v217 with MIUI 12 20.5.21 vendor. If you want to use other GSI or other vendor you can also test whether fingerprint works on it by following these steps. However, these instructions may only works on Android 10.
I assume you are familiar enough how to flash GSI on Mi 8 pro. If you just a rookie, I recommand you to read this passage.(Of course, don't forget follow the instructions what I writed).
Follow these steps:
Step 1: Flash the MIUI 12 rom(20.5.21) by this TWRP.
Step 2: Find the GSI. ATTENTION: The GSI needs to be ARM64-AB!!! . I will recommand the phh's AOSP GSI v217(Because I only test it). Of course, you can chose other GSIs you like and test whether the fingerprint works on it.
Step 3: Flash it by the TWRP.
That's all. Hope you enjoy it!
Did the partition layout change with MIUI 12?
The Mi 8 Pro (equuleus) used to be a A only GSI image. I would like to try this... even if I replaced my Mi 8 Pro recently with a OnePlus 7 pro... mainly due to the fingerprint!!!
nealed said:
Did the partition layout change with MIUI 12?
The Mi 8 Pro (equuleus) used to be a A only GSI image. I would like to try this... even if I replaced my Mi 8 Pro recently with a OnePlus 7 pro... mainly due to the fingerprint!!!
Click to expand...
Click to collapse
I saw it on phh's AOSP wiki on github. That's what he said:
Why should I use GSI for A/B devices to some A-only devices? : On Android 9, Google changed the requirements and all devices shipped with Android 9 must use "system-as-root". Before this change, only A/B devices were system-as-root and GSI name was separated by A-only and A/B. For this historical reasons, you have to use GSI for A/B on the devices shipped with Android 9+.
If I try to flash the arm64-a Android 10 GSI then it can't boot and just go to the fastboot mode. However, if I flash Android 10 arm64-ab rom, it will succeed to boot. So I think we should use arm64-ab rom instead of arm64-a rom(at least on Android 10 we should do it).
Arm64-ab-floss OR Arm64-ab-go OR Arm64-ab-vanilla?
Sent from my MI 8 Pro using Tapatalk
---------- Post added at 12:59 PM ---------- Previous post was at 12:58 PM ----------
Kimsimth said:
I saw it on phh's AOSP wiki on github. That's what he said:
Why should I use GSI for A/B devices to some A-only devices? : On Android 9, Google changed the requirements and all devices shipped with Android 9 must use "system-as-root". Before this change, only A/B devices were system-as-root and GSI name was separated by A-only and A/B. For this historical reasons, you have to use GSI for A/B on the devices shipped with Android 9+.
If I try to flash the arm64-a Android 10 GSI then it can't boot and just go to the fastboot mode. However, if I flash Android 10 arm64-ab rom, it will succeed to boot. So I think we should use arm64-ab rom instead of arm64-a rom(at least on Android 10 we should do it).
Click to expand...
Click to collapse
Arm64-ab-floss OR Arm64-ab-go OR Arm64-ab-vanilla?
Sent from my MI 8 Pro using Tapatalk
Jord5s said:
Arm64-ab-floss OR Arm64-ab-go OR Arm64-ab-vanilla?
Sent from my MI 8 Pro using Tapatalk
---------- Post added at 12:59 PM ---------- Previous post was at 12:58 PM ----------
Arm64-ab-floss OR Arm64-ab-go OR Arm64-ab-vanilla?
Sent from my MI 8 Pro using Tapatalk
Click to expand...
Click to collapse
It up to you. You should chose the one you prefer. If you dont know what differences of them, just search it on Google. And all of them can succeed to boot.
Kimsimth said:
It up to you. You should chose the one you prefer. If you dont know what differences of them, just search it on Google. And all of them can succeed to boot.
Click to expand...
Click to collapse
Why must you flash MIUI12 first? I am running MIUI 11.0.5 Android 10...
Sent from my MI 8 Pro using Tapatalk
Jord5s said:
Why must you flash MIUI12 first? I am running MIUI 11.0.5 Android 10...
Sent from my MI 8 Pro using Tapatalk
Click to expand...
Click to collapse
Just because the fingerprint only works on MIUI 12 vendor. Just backup your data and flash the MIUI 12 rom.
Thanks for the guide !
you forget to mention we must had advance wipe the system partition -will mostly go into fastboot if not-
plus, anyone was able to pass safetynet ? my banks apps not working at all even after using magiskhide props
even whatsapp tells me this is an unofficial ROM
Aldwarii said:
Thanks for the guide !
you forget to mention we must had advance wipe the system partition -will mostly go into fastboot if not-
Click to expand...
Click to collapse
That I mentioned this thread
Aldwarii said:
plus, anyone was able to pass safetynet ? my banks apps not working at all even after using magiskhide props
even whatsapp tells me this is an unofficial ROM
Click to expand...
Click to collapse
U can do this by uninstall root. By click phh settings->Securize then you will rid out of root. However, you can use "MagiskHide Props Config" module to pass the safetynet.
1.) Install the "MagiskHide Props Config" module
2.) Reboot
3.) Run a terminal app and type:
su
props
4.) Set the fingerprint with the following keys (pressing enter after each):
1 -> f ->Any way u want(but I recommend you to chose the Xiaomi option), just follow the instruction of it.
5.)reboot.
And dont forget to uninstall the edxposed module first if you install it before.
Kimsimth;82980891
U can do this by uninstall root. By click phh settings->Securize then you will rid out of root. However said:
su
props[/B]
4.) Set the fingerprint with the following keys (pressing enter after each):
1 -> f ->Any way u want(but I recommend you to chose the Xiaomi option), just follow the instruction of it.
5.)reboot.
And dont forget to uninstall the edxposed module first if you install it before.
Click to expand...
Click to collapse
I need my root, so I can't uninstall it
I applied a factory reset, with internal storage wipe to ensure everything been deleted, then installed Magiskhide props and set the proper fingerprint "xiaomi mi 8 android 10"
hided google play services and store and framework in the MagiskHide
and now, wow ! it worked
but there is still 2 applications that haven't worked
1) STCpay
2) Alinma internet
may you please try these 2 bank applications to indicate if the issue only with me or not please ?
Aldwarii said:
I need my root, so I can't uninstall it
I applied a factory reset, with internal storage wipe to ensure everything been deleted, then installed Magiskhide props and set the proper fingerprint "xiaomi mi 8 android 10"
hided google play services and store and framework in the MagiskHide
and now, wow ! it worked
but there is still 2 applications that haven't worked
1) STCpay
2) Alinma internet
may you please try these 2 bank applications to indicate if the issue only with me or not please ?
Click to expand...
Click to collapse
The Alinma internet can be opened like this. However, the stc pay still cant be opened. You can read this passage "Time attack-based bypass script (Deprecated)" and follow it to make the app work I think. Good luck.
Btw I use the Lineage 17.1 rom now.
Kimsimth said:
The Alinma internet can be opened like this. However, the stc pay still cant be opened. You can read this passage "Time attack-based bypass script (Deprecated)" and follow it to make the app work I think. Good luck.
Btw I use the Lineage 17.1 rom now.
Click to expand...
Click to collapse
Tried that, but didn't get any benefit, even the worked apps had crashed after reboot :/
this GSI stuff is just a headache, no safetynet pass, android auto not working, device get very hot, battery drained faster -better than MIUI12 though- with no additional features upon MIUI at all
I think I will give the lineageOS a try tonight
Thank you my friend for you support all the way "big heart"

Categories

Resources