yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] saiz0313:
so i can't flash gsi?

or not to flash aosp 10?

is aosp 9 ok?
[Treble-Enabled Device Development A/AB ROMS] nikosddesign:
Hello

i would like to ask when the developer says logs are needed

how can we extract them from the device? or from the application that constantly crumbles.
[Treble-Enabled Device Development A/AB ROMS] Ww222:
I installed play store but when I try to open it ,device says Google play store has stopped.i can't install gapps version bcoz twrp says size of system partition is too low so only vanilla version works for me.
[Treble-Enabled Device Development A/AB ROMS] dhacke:
If we talk about logs on system level (so with booted system) there are two methods:

1. Log via ADB (no root required; but you need a PC and usb cable)

2. Log via Logcat App (this method needs root access on the device)

Way for Method 1:

1. Enable USB debugging in the dev options

2. Install the Plattform tools sdk on your pc

3. Connnect your device with your PC

4. Open the command line in the plattform tools sdk folder, type adb devices and allow the usb debugging request on your phone

5. Type adb logcat > log.txt in the command line

6. Trigger the error

7. Unplug your device and now you should see a file named 'log.txt' in the plattform tools with the triggered error.

Way for method 2:

1. Install the App MatLog Libre from F-Droid

2. Start the app and grant them root rights

3. Let it run in the background and trigger the error

4. Go back into MatLog Libre, pausing the capture, go to the three dots menu, choose File => Save and save the the log on your device (for example sdcard).

With both methods you should now have the log which the dev needs.
[Treble-Enabled Device Development A/AB ROMS] febry_valdy:
Any difference between this and erfan gsi?
[Treble-Enabled Device Development A/AB ROMS] saiz0313:
I succeeded !!

I don't know which is point,just did it.

1.disable dm-verify and encypt in TWRP.

2.Factory Reset,flash GSI,wipe wipe cache/dalvik,

format /data,and reboot.

3.flash Magisk-v20.2-11b7076a-phh.zip,and reboot.

It's fine !!

---------- Post added at 08:28 PM ---------- Previous post was at 07:33 PM ----------

I got same bugs like https://github.com/phhusson/treble_experimentations/issues/1028
[Treble-Enabled Device Development A/AB ROMS] saiz0313:
May I uninstall supersu?

I already had magisk.

But I haven't find where to remove supersu.
[Treble-Enabled Device Development A/AB ROMS] dhacke:
As stated from phhusson (look at page 34 of this thread) the supersu goes away when you use the 'Securize' option. But i wouldn't do that because it softbricks my phone.

Better deactivate the pre installed su app.
[Treble-Enabled Device Development A/AB ROMS] saiz0313:
Because my phone shows cts false & basicIntegrity false

but I want gapps,I can't flash gapps if flashed 10 V208-vallia.

If flash gapps p, it shows system is q,

If flash gapps q, it shows system is p,

I don't know what can I do...
[Treble-Enabled Device Development A/AB ROMS] dhacke:
Sry but in that case i can't help you then. I don't use gapps and google services because of privacy reasons.
[Treble-Enabled Device Development A/AB ROMS] droidan:
Try to re-install gapps again by install gapps ziip again. Ususally it happens after resizing partition. Gapps may show android q, p, or 6. Press install again it may corrects the situation.
[Treble-Enabled Device Development A/AB ROMS] sooheb:
The problems that I encountered were a sudden restart by force. Back gestures. Some Wi-Fi network frequencies do not appear. Please fix the device. J7 prime samsung
[Treble-Enabled Device Development A/AB ROMS] eremitein:
try mount system & vendor before flash gapps
[Treble-Enabled Device Development A/AB ROMS] saiz0313:
thank u,but my phone is brick.

I send it to warranty.

I have another question.

I flash havoc-os GSI v2.9,it can't flash gapps,

because system partiton is too small(freespace 60 MB),erro 70.

but my twrp(v20190924 by wzsx150) can't resize system partition.

How can I do to resize system partition without twrp?
[Treble-Enabled Device Development A/AB ROMS] eremitein:
which is a real size of system partition?

if real size is much bigger than after-Havoc installation, you can try to resize with commands in twrp seance:

fsck -y /dev/block/bootdevice/by-name/system

resize2fs /dev/block/bootdevice/by-name/system

be careful!
[Treble-Enabled Device Development A/AB ROMS] saiz0313:
Thanks!

I remember system partition of other rom is about 3xxxMB,

havoc-os is only about 16xx~17xx MB.

I will try it if my phone is back.
[Treble-Enabled Device Development A/AB ROMS] Spaceminer:
We were having the same problem on the G6 play. Try this method that I discovered a few days ago. It should work for you too. Delete .txt from the file in the attachments. I had to do that so XDA would accept it.

How to fix superuser...

1. Boot into TWRP and mount /system. Copy su.rc to /system/etc/init. Then set permissions to 0644.

2. While still in TWRP, navigate to /system/bin, and rename phh-su to su. Then set permissions to 0755.

3. Reboot.

If you want to install Viper4android, see my original post.
[Treble-Enabled Device Development A/AB ROMS] EMSpilot:
Samsung Note 10+ SM-N9750

How would I flash this on my Samsung Note 10+ SM-N9750 snapdragon. BL is unlocked and I am rooted with Magisk.

Cheers
[Treble-Enabled Device Development A/AB ROMS] Thejayyadav:
My Realme 3 pro was not able to boot after flashing this ROM. It always boot to recovery. Then i flash boot.img of crdroid ROM and it successfully booted.

There are some bugs though..

1. Volte not working (while internet connection works fine for my JIO(volte only) SIM Card

2. No option to set fingerprint.

3. After every time i turn on or reboot my phone touchscreen doesn't work untill I turn screen off then on.

I have to flash stock ROM because my operator support only VoLTE.

Is there any way to fix it

Please help
[Treble-Enabled Device Development A/AB ROMS] s7aycool:
Hmmm do you have TWRP for Android 10?

Also, I needed remount because I wanted to edit xml files on system partition with a goal to achieve system app permissions, BUT, on ohh v208 new priv-app permissions of Android 10 works differently, so I can get system app permissions only by signing my app with test Android keys. Priv-app permissions are not designed to work like this, for sure. On v206 or v204 they worked normally
[Treble-Enabled Device Development A/AB ROMS] samuel434:
cant install on moto e5 plus rom doesnt show up on twrp recovery
[Treble-Enabled Device Development A/AB ROMS] febry_valdy:
Extract, and install as img on /system
[Treble-Enabled Device Development A/AB ROMS] Spaceminer:
I definitely don't have twrp for your device. I didn't realize the nightmare that you folks were dealing with in regards to that. There might be another way around it but I'm stumped for the moment. I can unpack a gsi and make the changes for you, but I can't find a way to repack Android 10 into a system.img that can be flashed. (At least not on Windows 10 anyways.) I might be able to modify magisk or your boot.img to make it work. I'm not sure. I'll have to do some research and come back to this. The dynamic read only stuff you guys have going on is simply mind bending. I took one look at how recovery works for Android 10, and my brain practically imploded.
[Treble-Enabled Device Development A/AB ROMS] s7aycool:
Thank you for your respond and care.

What exactly you want to change in gsi to make it work?

Also, dynamic read only stuff ... it's about that special filesystem type of /system, right?

Of course, Magisk instead of built-in su would be a savior, but I can't get any of Magisk versions work with phh rom with gapps. And phhusson said that John from Magisk won't apply his pull request or something. He won't fix this issue.

And this issue isn't actual for me right now, cause v208 grants you system app permissions and doesn't care about new Android 10 rules)
[Treble-Enabled Device Development A/AB ROMS] justcallmeTHEKID:
If you could, can you put a simple guide up. Im used to custom roms and have not flashed a treble rom before. Just wanna make sure I did everything correctly. Is there anything specific I have to do since it's a/b?
[Treble-Enabled Device Development A/AB ROMS] dhacke:
Try this guide from xda:

https://www.xda-developers.com/flash-generic-system-image-project-treble-device/
[Treble-Enabled Device Development A/AB ROMS] justcallmeTHEKID:
That's the guide I tried to use, I didn't know if there was anything I had to do different for a/b partitions. I'll wait for the next upload and try again. hopefully the new commit fixed it. I appreciate you posting that here though cause now I don't have to look for it again on the next release.
[Treble-Enabled Device Development A/AB ROMS] hgelpke:
On the XDA front page they show it installed on a Honor View 10. Anybody actually done this and how is it running?
[Treble-Enabled Device Development A/AB ROMS] mgs250:
Honor Note 10

Not sure if my opinion on this matters to you, but I've been using Berkley roms on my Note 10 as they have the same SoC and the roms work perfectly with little to no bugs. So when I saw the picture posted containing the Honor View 10, I reverted my phone to EMUI 8.2 through e-recovery and flashed the system image a-only through fastboot.

Phone booted up and it was stuck in the android bootlogo before the phone restarted itself back to e-recovery.

Not sure if it's because of EMUI 8.2 as I know the View 10 has EMUI 9 already.
[Treble-Enabled Device Development A/AB ROMS] dhacke:
[MENTION=1915408]phhusson[/MENTION]

Hi,

i just flashed your Treble Rom on my xperia xz2. It boots without problems; i will make more test regarding functionality.

But i notice that the sec patch stands at September 2019.

So my question: Can you make the next build with the actual security patch?

Edit 1:

I tested a little bit the functions. Basic functions seems to work.

Only bluetooth, NFC and camera don't work.
[Treble-Enabled Device Development A/AB ROMS] rowihel2012:
Asus Rog 2

Amazing rom

The only one that boots

Ultra fast and smooth

But

No 90 or 120 hz support

No always on display

Please fix
[Treble-Enabled Device Development A/AB ROMS] guglicap:
Xiaomi Mi 8 SE

Tried with both system-quack-arm64-ab-vanilla and gapps version.

Device is using system as root and supports treble as per Treble Info app

Using as base xiaomi.eu 9.10.24 (Android 10), so it's an Android 10 vendor / firmware

Tried with TWRP 3.2.3-1227 and 3.3.1-1024

Procedure: flash 9.10.24, boot, reboot to recovery, factory reset, flash system image, reboot.

Device is stuck on Mi splash screen for ~5 seconds, reboots a couple times, does the same thing, then boots to recovery. No bootanimation, so I'm not even sure it's a bootloop, seems like it can't start the system at all.

Can't grab logs as adb is not running at the splash screen, also /proc/last_kmsg doesn't exist in recovery.

Let me know if there's anything I can do to get more information to fix this, or if anyone on Mi 8 SE managed to get a quack GSI to run, thanks.
[Treble-Enabled Device Development A/AB ROMS] hgelpke:
Thank you for the info. Unfortunately I'm on the US View 10 which is getting nothing. I'm on EMUI 9 and don't look like I'm getting anything more anytime soon.
[Treble-Enabled Device Development A/AB ROMS] winxuser:
I'm using the latest Germany October vendor, and elementalx kernel, ?? not sure what's going on
[Treble-Enabled Device Development A/AB ROMS] atoyu:
hi, can you show me step by step?
[MENTION=2313936]suzook[/MENTION] show me the step as below, please check if anythings wrong.

and do you know where to get the vbmeta.img? is this from the ROG 2 ROM? thz
[Treble-Enabled Device Development A/AB ROMS] sam tyler:
Boots on Wileyfox Swift 2 Plus. but no fingerprint(wifi, Bluetooth works didn't check data as I didn't put a Sim card in) managed to transfer most of my apps but as Play Store is not certified, some would not even appear in the store.i see superuser is also installed, is there a way of un-installing superuser? as I would like to install Magisk (I did try via twrp, but I got a boot-loop) also the dark theme flickers on certain apps(including play store) but at least I know Android 10 boots on my phone!! roll on the updates! thanks
[Treble-Enabled Device Development A/AB ROMS] rowihel2012:
You can get the vbmeta file from the raw Rom

Steps are very easy

Did you unlocked bootloader ?

Pm me with telgram

Rowihel2020
[Treble-Enabled Device Development A/AB ROMS] dhacke:
[MENTION=1915408]phhusson[/MENTION]

I would also prefer Magisk instead of Superuser because of the following reasons:

1. The twrp for Android 10 needs still some time so i can't install Magisk over twrp atm (and as far as i see it there's no boot img provided from you to patch it via Magisk Manager).

2. My prefered Tracking and Adblocker (AdAway) works on Android 10 only via systemless mode which needs a Module in Magisk. And this module is missing without Magisk so AdAway doesn't work.

I tried it with Ad and Tracking blocker without root requirement (for example Blockada and Nebulo) but these apps breaks the built-in DNS over TLS.

So would appreciate Magisk instead of SuperUser, too.

Or does anybody know how i can get the boot.img out of booted system?
[Treble-Enabled Device Development A/AB ROMS] mathy007:
Note: when changing rom (in this case gsi always go back to stock boot/vendor) so as to narrow down where issues might be from, flash stock os and try again this goes to all complaining of booting issues
[Treble-Enabled Device Development A/AB ROMS] phhusson:
1. Never use beta firmware, only use stable vendor releases

1. DON'T EVER INSTALL THOSE ****ING ****TY XIAOMI.EU FIRMWARES
[Treble-Enabled Device Development A/AB ROMS] mathy007:
[MENTION=1915408]phhusson[/MENTION] please add a note or a FAQ in the OP because i see a lot of noob here not doing things right hence the bootloop they should always be on stock boot/vendor to know if they can boot and also know if they're flashing the right variant.
[Treble-Enabled Device Development A/AB ROMS] phhusson:
There was already an explanation as to which variant to flash...

I added a Question about which vendor to use.
[Treble-Enabled Device Development A/AB ROMS] guglicap:
Uh, that's interesting considering pretty much every GSI on this phone was running off of a xiaomi.eu firmeare... not even sure it's possible to run it off of Chinese vendor / firmware. I'm pretty sure I've never seen it at least. Guess I'll wait for the next stable miui release, it'll likely be based on Android 10 and I'll try with that vendor then. In the meanwhile if anyone's currently running a Quack GSI on sirius, please hit me up.

EDIT: so I've had a look at the xiaomi devices in the treble_experimentations wiki and it looks like mi 8 se is the only one which is only available in China. This might be why we're forced to use xiaomi.eu firmware, as this phone unlike other Xiaomi doesn't have a global miui version.
[Treble-Enabled Device Development A/AB ROMS] cdudeman:
I was able to get this rom to boot on a Umidigi X, but the storage size is only showing 5gb instead of what it should be which is 128gb. Any ideas on how to fix it?
[Treble-Enabled Device Development A/AB ROMS] xacuiacas:
Good afternoon ... Can anyone help me to:1) How to change the boot displaying "android" to another boot that I created and used in the original motorola version 9.0?2) after installing this AOSP 10.0 version I still could not unlock OEM ... why? does it take time for this rom to be installed?
[Treble-Enabled Device Development A/AB ROMS] marvinalnashi:
For some reason Android 10 still does NOT boot on the Huawei P20 Lite. Neither on the Oreo vendor, nor on the Pie vendor. I've been unable to debug this and am not able to collect any logcats. Any ideas on this Phh?
[Treble-Enabled Device Development A/AB ROMS] MIcHiJK:
It is booting for me on EMUI 9 as base. Flashed via fastboot and wiped after that with stock recovery.
[Treble-Enabled Device Development A/AB ROMS] DaarkZek:
No Boot

My Huawei Mate SE works fine with Android 9 roms, I tried both the [AOSP Android 10](https://xdaforums.com/project-trebl...velopment/aosp-10-0-quack-phh-treble-t3992559) rom here and the [Lineage android 10](https://xdaforums.com/project-trebl...lopment/gsi-lineageos-17-0-gsi-archs-t4004673) rom on xda, both get to the android loading screen and both never get past there and end up restarting, eventually falling over to the recovery. I captured a log of the error here for both roms, although im aware you probably only care about the AOSP one :)

[lineage_log.txt](https://github.com/phhusson/treble_experimentations/files/4012157/lineage_log.txt)

[AOSP_log.txt](https://github.com/phhusson/treble_experimentations/files/4012158/AOSP_log.txt)

I downloaded the arm64 a-only gapps version and followed these steps to install on my device via TWRP.

1. Copy ROM to SDCard

2. Boot into TWRP

3. Wipe -> Advanced Wipe -> Dalvik Cache + System + Cache + Data

4. Format data

5. Install ROM

6. Reboot

Right now specifically im running the [OpenKirin Pie Alpha 6.2](https://openkirin.net/download/) which works, but I dont think is based off your work so I can also confirm that the [Resurrection Remix](https://xdaforums.com/project-trebl...0-resurrection-remix-v7-0-arm64-32-b-t3891636) GSI also worked well on my device with android pie.

I also created an issue but im posting here as well because im not sure what method you pefer. https://github.com/phhusson/treble_experimentations/issues/1039
[Treble-Enabled Device Development A/AB ROMS] Rox598:
Anyway to get Pokémon Go working on this?

I tried SuperSU remover in case it was that but still getting device not supported.

Razer Phone 2
[Treble-Enabled Device Development A/AB ROMS] J_E_F_F:
No info, no logs, just FYI for other Mi Pad 4 Wifi (Clover) users, the latest aonly gapps v208 build didn't work for me.

Caused display flashing, and apps to force close.

Went with a LOS GSI build with an older security patch unfortunately. Hope to be back in the future. It is the wife's device, so I can't tinker with it very long at a time.
[Treble-Enabled Device Development A/AB ROMS] n70_06:
How do I fix the fake location feature doesn't work
[Treble-Enabled Device Development A/AB ROMS] imteg18:
Hello

Excuse me works fingerprint under screen?

And somebody test on zte axon 10 pro?

Regards
[Treble-Enabled Device Development A/AB ROMS] usmantahir:
Tried v206 on HTC U11+

Camera crashes, flashed the patch fix but still no luck

bluetooth pairs but does not have functionality available

Call can only be answered on loud speaker, same problem as other Android 10 GSI Pixel Experience Unofficial
[Treble-Enabled Device Development A/AB ROMS] kylek389:
Same here, cannot get P20 Lite ANE-LX3 to boot.
[Treble-Enabled Device Development A/AB ROMS] XS71:
S9 9600

Installed v206 arm64 a-only on S9 9600 unlocked brazilian model on T-Mobile

Earpiece not working and 3.5mm headphones not triggering audio switch. Only speaker for calls, disabling speaker in call does nothing.

Mic works, camera works.

Hotspot enables sometimes and connects, just wont share data packets for net.

Usb tethering and usb file transfer don't work.

Havent tested video streaming yet, will update post.

Updated to december security patch on stock rom before flashing.

Warning ~ was forced to reformat my SD card to exFat after update.

Wiped dalvlik, system, cache, data, format data

Flash vanilla sys image, wipe-advanced- resize image, flash flame gaaps, flash phh magisk 20.2, reboot

Thanks
[Treble-Enabled Device Development A/AB ROMS] drexxie1962:
Installed v208 (system-quack-arm64-ab-gapps) yesterday successfully on my Samsung Galaxy Note 10+ (SM-N975F) and coming from the latest Android 10 (BLSD) from Samsung. Except that the under screen fingerprint sensor is not visible, it is working. Everything that I need for daily use is working great. It is very small and performance feels fine, so I am very happy with it. Also installed Zorin's GCam 6.1 now as my main camera. No Samsung account and/or software needed anymore.

Thank you so much Pierre-Hugues HUSSON for sharing this and doing this :good: job!
[Treble-Enabled Device Development A/AB ROMS] harshitsharma03082005:
Installed the latest version on y Lenovo K8 note running LOS 15.1 . After 2 bootloops somehow I managed to boot into it

Now after I rebooted one it just boots to the lock screen and freezes and automatically reboots .

When I was flashing this GSI it just flashed in about 7-8 seconds which I think might have not let it flash correctly please help me, anyone, I want to try this ROM. [MENTION=1915408]phhusson[/MENTION]
[Treble-Enabled Device Development A/AB ROMS] phhusson:
With GSI there is no issue at all, replacing files is dead easy.

GSI can be remounted read-write without any issue.

adb root

adb remount

adb push file /system/etc/file-to-replace

If you need to modify vendor, you'll need to adb root; adb disable-verity and adb reboot once.

and you're good to go.

No need to repack, no need for magisk, no need for TWRP, no need for any mess. Just keep things simple.

Logs?

logs?

Thanks :)

You can also help by spreading the word that GSIs are nice and functional :)

Is that with a Pie or a Q vendor?

Uh, what was the sdcard flashed with before? fat32?
[Treble-Enabled Device Development A/AB ROMS] dhacke:
[MENTION=1915408]phhusson[/MENTION]

Do you still have my question/request which i wrote you over the pm on your radar?

If i annoy somehow apologize me.

Btw you are doing a great job:good:
[Treble-Enabled Device Development A/AB ROMS] phhusson:
Hum right, I barely read xda pm, they are quite horrific to use.

I recommend that you go either to phhtreble group on telegram, or on #phh-treble on freenode irc to discuss this.
[Treble-Enabled Device Development A/AB ROMS] kylek389:
sorry ignore my undescriptive comment, posibly false alarm, something is up with my P20 lite, prior to trying your Quack GSI I was on vendor 8.0.0.144(C605) and was running your 9.0 Phh-Treble perfectly, I figured that before trying Quack Phh-Treble it would be good idea to first upgrade my Huawei vendor to latest 9.1.0.142 EMUI via dload method (for some reason my P20 ANE-LX3 was stuck on 8.0.0.144 and wouldn't show any updates, I'm in US by the way on AT&T network). After dload all GSI stopped working, I cannot even get 9.0 Phh-Treble working (nothing helps, erasing data/cache using eRecovery etc, 'fastboost system erase'), only stock EMUI 9.1 loads, all other GSI's bootloop. I blame Huawei, I think I will have to downgrade back to 8.0.0.144. My last Huawei smartphone for sure.

[MENTION=1915408]phhusson[/MENTION] , I would love to take log and debug all of this, but logcat won't work that early in the bootup I think, the only way is to try USB-to-UART and open up a serial console at e.g. 115200 baud rate and hope Huawei compiled their kernel with serial over USB support.
[Treble-Enabled Device Development A/AB ROMS] Spaceminer:
That would probably explain why [MENTION=10297495]s7aycool[/MENTION] was having an issue. I believe he tried "adb shell" not "adb root". I always forget that eng/debug builds have that. This is much simpler. Huge thanks!

As an aside, Android 10 is working beautifully on the Moto G6 Play. I haven't found any bugs since v108 was released. (arm-aonly-vanilla, latest Pie vendor) It's already much faster and smoother than stock. The amount of progress that you've made in such a short time is very impressive. We went from not booting to daily driver in the blink of an eye. Great work!
[Treble-Enabled Device Development A/AB ROMS] wolfu11:
Are you sure fastboot flash vbmeta vbmeta.img worked I thought things had to be disabled on the pixel 4 XL?
[Treble-Enabled Device Development A/AB ROMS] txenglan:
Are you still having this issue? I've just installed the Lineage 17 GSI (my understanding is that GSI is "downstream" from this one) and have the same problem as do other users.