Confusion About Treble check apps - General Questions and Answers

First of all
I have a mobiistar C1
MTK6739WA
Android 8.1.0
Phone so tried a treble check app
It says Arm A-Only OK
Now I installed LOS 17.1 arm A-Only GSI
And it booted successfully
After installing GSI
I tried treble Check again and it shows Seamless Update supported
In two apps but in third app it says Seamless update not supported
Originally In stock ROM it says A-Only but after LOS installed it kind of Confusing does it means my phone is now capable of installing A-B Gsi Roms

Related

GSI ROMS not bootable With Verify Boot

I want to use Official Havoc os 2.0 GSI on my pixel 2. However, I properly follow all the instructions for a GSI on any Android phone and it tells me this slot is not bootable. I have dug deep into my problem and found out it has to do with Verifying Boot but I do not know what it means. Phhusson claims that the pixel 2 does indeed have project treble support and I can also prove that it does with the treble check app on the Google play store. Phhusson also says you have to re-flash a vbmeta.img on to your phone after installing the GSI. I do not know what a vbmeta.img file is or how to extract it from the system image.
Any help would be appreciated at this point.

[A/B][TREBLE][9.0][A530F/A530W/A730F]SaR patch and kernel for Pie Vendor

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this patch
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
INFO:
This is a patch and SaR kernel made for @prashantp01's Vendor Dumpster V1.1.
SaR (System as Root) means the system partition is mounted as the root filesystem.
This allows our phone to boot System-as-Root (also labelled as A/B) GSIs which are the only type of GSIs still supported officially by Google.
There are two types of boot images I'm providing:
Android 9 style ramdiskless SaR
Android 10 style 2-stage init SaR
In general, you should use the Android 9 version for Android 9 based GSIs, and use whichever you want for Android 10 or newer.
The kernel is a modified version of @prashantp01's Quantum Kernel v4.0.
Source code for it is available here: github.com/VDavid003/universal7885_SaR
If you are used to using PHH-Magisk, now you don't have to: you can use normal Magisk on A/B GSIs, but
NOTE:Magisk currently doesn't work on Android R! (20.4, newer ones may work in the future)
NOTE:The patch and kernel are currently not tested on A530W and A730F. Please tell me if it works or not!
BUGS:
-Basically every bug that is present in the original Vendor Dumpster V1.1
-Secure lock screen can't be set (no pattern/pin/password unlock)
-Seems like Android 11 Developer Preview 2 and later does not currently work. DP1 works fine tho, you can download it here.
INSTALL INSTRUCTIONS:
Follow the instructions to install Vendor Dumpster V1.1.
Flash the SaR Patcher zip from TWRP(this will still let you boot non-SaR GSIs, but it will make the vendor compatible with SaR GSI)
Install a SaR boot.img (P or Q) for your model. (TWRP -> Install -> Install Image -> Select your boot.img -> Select Boot from the list -> Swipe to flash)
Flash an A/B or SaR GSI as you would do normally.
DOWNLOADS:
The root folder contains the vendor patcher zip, and the boot.img folder contains boot.imgs
Naming scheme for them: boot_[MODEL]_[P/Q].img
DOWNLOAD HERE
SPECIAL THANKS:
@prashantp01 for his vendor and kernel. Go support him!
Everyone involved in his vendor/kernel.
CHANGELOG
1.0:
-Initial release with some stuff accidentally left out
1.1:
-Fixed RIL (temporary fix currently), and enabled the media codec fix I forgot to enable in 1.0
I'm assuming it's for A/B only and won't work for A-only devices?
lanadelreywhore said:
I'm assuming it's for A/B only and won't work for A-only devices?
Click to expand...
Click to collapse
Since A530F is a A-only device i assume it works for both, OP correct me if i'm mistaken
Looking forward to test this after the Lock bug is fixed, that's kinda a daily must for me
lanadelreywhore said:
I'm assuming it's for A/B only and won't work for A-only devices?
Click to expand...
Click to collapse
OverLineMusic said:
Since A530F is a A-only device i assume it works for both, OP correct me if i'm mistaken
Looking forward to test this after the Lock bug is fixed, that's kinda a daily must for me
Click to expand...
Click to collapse
The patch shouldn't break aonly GSIs but it should allow an A/B(that's actually the wrong name but it's called that because of historic purposes) GSI to boot IF you install a SaR boot.img thus converting your phone to SaR. After installing a SaR boot.img you can't boot Aonly GSIs until you flash an Aonly boot.img again (by installing the regular quantum kernel for example)
VDavid003 said:
The patch shouldn't break aonly GSIs but it should allow an A/B(that's actually the wrong name but it's called that because of historic purposes) GSI to boot IF you install a SaR boot.img thus converting your phone to SaR. After installing a SaR boot.img you can't boot Aonly GSIs until you flash an Aonly boot.img again (by installing the regular quantum kernel for example)
Click to expand...
Click to collapse
Yeah I finally understood that a few days ago but I guess cause of my a8 being a530W model it's not working cause I do all the steps as instructed and when I try to boot it bootloops on splash screen. Will reboot every 3-4 seconds or straight to download mode. Tried a handful of different a/b gsi and no luck. Only a preview of Android 11 booted actually
lanadelreywhore said:
Yeah I finally understood that a few days ago but I guess cause of my a8 being a530W model it's not working cause I do all the steps as instructed and when I try to boot it bootloops on splash screen. Will reboot every 3-4 seconds or straight to download mode. Tried a handful of different a/b gsi and no luck. Only a preview of Android 11 booted actually
Click to expand...
Click to collapse
Huh, weird.
Have you tried the pie boot.img?
If that doesn't work, can you provide logs? (from /proc/last_kmsg)
I'd be interested in what might be the problem, since I can actually boot my a530f with the a530w kernel and it works.
My A530F is now up and running the descendatx a/b GSI. Great Work thanks
Hllo,
I want to ask about GSI FiX Boot.zip comes from prashantp01
Do I need to flash it ? Or just go straightforward as described instruction from OP ?
Sent from my SM-A530F using Tapatalk
hi.. i don't understand why there is boot_a530f_P_and_Q.img . do i have to install boot_a530f_Q.img when i install GSI android Q? can i install GSI android Q or above just by installing boot_a530f_P.img.. basically my device is android P..
suh4rji said:
hi.. i don't understand why there is boot_a530f_P_and_Q.img . do i have to install boot_a530f_Q.img when i install GSI android Q? can i install GSI android Q or above just by installing boot_a530f_P.img.. basically my device is android P..
Click to expand...
Click to collapse
Yeah very curious to know Aswell

All about Android 11 for the POCO F2 Pro

Did somebody try the Beta/Dev Rom for the Poco F2 Pro? How it is?
Looks like in 2 weeks Google will release stable Android 11.
about Android11
it is unstable for now,some bank apps are crashed,and system is constantly reboot itself,however,you can enjoy new GPU driver.
Using for a while on China Developer ROM. There are no crashes or performance issues, but for me biggest deal breaker is that DJI Go 4 app isn't working at the moment. I hope they update it soon to work with Android 11.
Does the beta come with A/B partition for seamless updates? I heard Android 11 will require devices to be in an A/B partition system, which would come handy for OTA updates on rooted devices.
(Currently, we're on an A-only partition with MIUI12 & Android 10)
You could easily answer my question by installing Treble Check (from KevinT.) on the Play Store. The app checks which partition system is used on the device (currently says "Seamless System Updates Unsupported" with Android 10).
Eidenz said:
Does the beta come with A/B partition for seamless updates? I heard Android 11 will require devices to be in an A/B partition system, which would come handy for OTA updates on rooted devices.
(Currently, we're on an A-only partition with MIUI12 & Android 10)
You could easily answer my question by installing Treble Check (from KevinT.) on the Play Store. The app checks which partition system is used on the device (currently says "Seamless System Updates Unsupported" with Android 10).
Click to expand...
Click to collapse
I have EU ROM Android 11 Beta weekly 20-08-20 installed. Treble Check says Only A partition, Seamless System updates Unsupported".
Alrighty, thank you.
I hope this will be in the first release of Android 11 in September. They are planning to make a virtual A/B partition for all devices.
Eidenz said:
I heard Android 11 will require devices to be in an A/B partition system, which would come handy for OTA updates on rooted devices.
Click to expand...
Click to collapse
AFAIK only devices launched with Android 11 are required to adopt it's new features like A/B partitions and enforced background processes handling.
Thats why we will not get it.

[TOOL][SCRIPT] Generic System Image (GSI) flashing tool for Redmi Note 11

Automated GSI flashing tool for Redmi Note 11 (spes)
I WON'T GIVE SUPPORT TO THOSE WHO FACE ISSUES BY NOT READING THE STEPS BELOW CAREFULLY!
I will get right into the topic here, find the answers to your questions below at near the end.
What this tool does:
1. Flash a GSI to your Dynamic partitioned Note 11
2. Patch your Vbmeta
3. Patch Product for magisk flashing
How to use this tool:
0. Flash a rom (stock rom, MIUI EU, AOSP, ...) - IMPORTANT
1. Download your GSI and the tool, extract them
2. Copy your GSI image to the tool's folder, rename the GSI to system.img if you are using Windows
3. Boot your phone to fastboot mode and plug it in
4. Run the "windows.bat" or "macos.sh" script based on your os
5. Wait until the process finishes, your phone will automatically reboot
Download: See attached file
Extras:
A ROM collection Telegram channel of mine, you can see screenshots of GSIs I booted on Note 11 by searching it there
The original post on Telegram
Credit:
kusti420 for Product file
AnhNotAnh (me) for the tool ofc
Main Q&A:
Q: What is a Generic System Image, GSI?
A: A GSI is a prebuilt system image that can be booted on devices that support Project Treble. In short, this System Image is a custom ROM but it uses your Vendor, Kernel from your previous/stock ROM.
Q: Okay, but why I would like to flash it on my Redmi Note 11?
A: As we have already known, MIUI does not perform exactly well in the recent years, especially on such a low end and underpowered phone. GSI helps us getting a taste of AOSP's cleanliness and smoothness before the developers finish making actual custom ROMs. This is a temporary solution, good enough to use, please don't think or complain if your GSI perform badly, since it is not a ROM or trying to be one either.
Q: Why do we need a dedicated tool and such time wasting thing to do? Can't you just flash it in a custom recovery?
A; From Android 10, devices with it come equipped with a new partition scheme, as known as Dynamic Partition. It helps speeding up OTA updates and make the partitions more flexible in size. But also creates a huge difficulty in flashing those GSI, that is why you cannot flash the image in a custom recovery.
Q: My terminal window freezes at a certain progress for too long! What should I do?
A: This case often happens with Windows users. Everything is quite complicated BTS, but the workaround is just spamming Enter key several times every minute or two.
Q: What if I want to install a GSI on top of another one? I already flashed one, do I need to restore my MIUI or AOSP rom to flash GSI?
A: It is not necessary, you can flash a new GSI on top. The tool will clear your previous GSI without erasing required stuff from ROM.
Q: My GSI does not boot, what should I do??
A: I highly suggest using GSIs based on Phh's work. Those are often called Phh GSIs. Secondly I would highly suggest against using "Ported GSIs", those are often based on Erfan or Xiaoxindada's GSI tool, they are a port from a different device's ROM instead of directly built from source like Phh. Here is a list of GSIs based on the man himself, Phh.
Q: Bro my phone just boot to TWRP and nothing happens, computer still waits for my device??
A: Like I said before, you can try spamming Enter key. It is also likely that your TWRP does not support Fastbootd (Fastboot Dynamic) environment, an easy workaround for this is using MIUI's boot (kernel) image, stock Fastbootd mode will be used.
Q: Which Android version can I flash??
A: You can flash corresponding or NEWER Android version GSI with the ROM you are coming from/installing GSI on top, you cannot flash a lower version one. For example, you can flash Android 11, 12, 12.1, 13, bla bla GSIs when coming from stock Android 11 MIUI ROM (Android 11 Vendor for people who understands)
Q: Can I use this tool on another device?
A: Yes, with proper bringup and changes in the tool for it to compatible with your device and it will work. But I will not be responsible for bricks, which I always won't xD
More questions and answers will be updated later.
Reserved.
Thanks for this Awesome Tool. Quiet Simple and efficient.
@PingVN This script works on Xiaomi redmi note 11 4g codename selene?

[Guide] Installing Updated GSI

So, I was testing various and came across the guide for installing LineageOS17 GSI in the guides section. The way mentioned seems to be working
Procedure-
Install TWRP with latest security patches according to this guide https://forum.xda-developers.com/t/updated-september-2022-how-to-root-a7-2018.4488289/
Now, download Latest LineageOS19.1 vndklite-secure GSI.
Make sure to have backup of your internal storage, it might need to be wiped.
Install this GSI and right after that install Quantum Kernel 2.5 GSI version(for mtp) (check in attachments, it has Magisk 25.2 instead of 20.4 as mentioned in verbose) and then Magisk. After boot, check if MTP works in system, if it reboots, force reboot to TWRP and format Data and then reboot. That should fix it.
Without the kernel, seems to be stuck at logo.
No critcial bugs I have seen till now.
PS: always maintain a backup, I am not responsble if something goes wrong, like data loss.
Now, haven't tested it, but seems to me that any version other than vndklite-secure will have the 'camera in use' problem. So, try and let me know if that's the case.
Note - TWRP used is from a telegram group, which I couldn't share without the permission of owner. Search for it and you'll find it in A7 2018 telegram support group. TWRP version is 3.6.2.
Dmverity-disabler is to be flashed according to how to root guide only.
Tested on SM-A750F/DS (INS).
The reason why GSIs later than android 11 have a lockscreen bug is due to a vendor issue, in which Android 10
vendor of A7 2018 is not compatible with these GSI's. Apart from some Android 10 GSIs (like Havoc), lockscreen and everything works on these.
Abridged from https://forum.xda-developers.com/t/sm-a750fn-ds-unofficial-lineageos-17-1-gsi.4195065/
The img file for TWRP 3.6.2 is https://sourceforge.net/projects/batuhan-s-builds/files/TWRP/a7y18lte/recovery.img/download
To flash it as tar, use 7zip or any alternative to arcive as tar with default options, just make sure the image file remains as recovery.img, because it is present in this form on the phone partition. Tar can have any file name.
Source Telegram group for TWRP img file is @Exynos7885Updates
No sources have been specified by the developer.
For Indian SM-A750F, BL FILE IS INCLUDED
Note: For Camera in use error, always try to use vndklite versions of GSI, they have specific patch to work with some specific types of vendors. Currently looking for lockscreen fix, most probably, it is also a vendor related problem.
All of these are android 12 or 13 ones.
Possibility of usage:
Works Complete with magisk (including working Lockscreen): FLOS19.1(https://github.com/ChonDoit/treble_flos_patches/releases) [use (VNDK)lite secure ones, stability check needed]
no lockscreen : AncientOS S,ProtonAOSP 12.4.1, ProjectBlaze12.1, LineageOS19.1, LineageOS 20.0 TD-based VNDKLite(no bluetooth), pHH A12.1 GSI (secure), OctaviOS(vndklite), Evolution X 13 vndklite (no bluetooth), Miku UI 13 (no bluetooth), Pixel Experience Plus 13 (VNDK)lite, (no bluetooth),
with 'camera in use': ArrowOS 12.1, CherishOS, DotOS, Pixel Extended 13, Pixel OS 13
Don't boot at all: CorvusOS, BlissOS, Crdroid, ProjectAwaken 415, DerpFest A13
Android 13 GSI's have a problem with bluetooth that allow connection but no audio to go to headset.
Downloads links: https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-List
where can you get twrp 3.6.2 for a750?
I have the latest stock firmware. Do I have to downgrade?
Did your phone has the latest firmware when you installed GSI ROM? Did you downgrade the firmware?
Also are banking apps like GPay work on GSI ROMS?
blazzer12 said:
I have the latest stock firmware. Do I have to downgrade?
Did your phone has the latest firmware when you installed GSI ROM? Did you downgrade the firmware?
Also are banking apps like GPay work on GSI ROMS?
Click to expand...
Click to collapse
No you don’t have to downgrade, just use the older 2020 Update BL file.
You can use UPI if you can securize the gsi and follow the steps of fixing safetynet. Search them
Thank you for the response.
Can you update the BL file file from 2020?
blazzer12 said:
Thank you for the response.
Can you update the BL file file from 2020?
Click to expand...
Click to collapse
No, updating with later BL's can cause issue with custom recoveries.
Does anyone have issues with mobile hotspot in GSIs. In OneUI roms, mobile hotspot works normally, but on GSIs, it does turn on and discoverable, but without internet access. USB tethering works fine on all roms though.
My phone is SM-A750GN
VorzaCu said:
Does anyone have issues with mobile hotspot in GSIs. In OneUI roms, mobile hotspot works normally, but on GSIs, it does turn on and discoverable, but without internet access. USB tethering works fine on all roms though.
My phone is SM-A750GN
Click to expand...
Click to collapse
My 2.4Ghz hotspot work fine. SM-A750F/DS INS
Do sms and calls work properly in FLOS 19.1?

Categories

Resources