yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] mnx846:
After rebooting, USB debugging is disabled. Version 05/22/2019.

Translated by Google.
[Treble-Enabled Device Development A/AB ROMS] retribe:
Logs
[Treble-Enabled Device Development A/AB ROMS] svaethier:
You said it was related to substratum yourself
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Ok let me explain. There was a conflict in substratum sepolicy (among other conflicts). This lead to a panic kernel, as the policy could not be compiled. I solved these conflicts, so now the policies can be compiled, and init can continue. This is not related to substratum itself, which is not installed: what is installed, is some low-level utilies that permit to install and run substratum in a simple way.

Your last log was showing that sepolicies could be compiled and init has been one step further, but that there was problem in starting two daemons, statsd and incidentd. I gave you the way to disable these daemons, which are not required at all (they are just useful to get some statistics and analyze them later). Btw, in my next build, I'll disable these daemons for everyone.

I would like to know then, how far you could go when these daemons are disabled... that's why I need new logs, to try to solve the next problems that occur.

This is really painful, but there's no other way to debug things. When you build a rom for a particular device, you generally have this device, so you can do all that process yourself: build, run, log, debug... It is much different with GSIs: once everything runs well on your own device, if you want to make it run on as much devices as possible, you must analyze what happens on all these devices! That's what I try to do. The good thing is that debugging for one device can also help for several devices. The sepolicy problem, for example, may help more people to boot...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I think that it is not a bug, but a feature. This way if your device come into bad hands, they won't be able to get data through adb. Of course twrp should be securized too, ...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Thanks. Actually I cannot see what's the problem from your logs... but I'll try to see what I can do, need some help to understand.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Ok. An issue has been opened here: https://github.com/phhusson/treble_experimentations/issues/535

Surely an overlay will be added one day... You can try to buid one yourself, by getting inspiration from existing hardware overlays:

https://github.com/phhusson/vendor_hardware_overlay

The process to compile overlays is explained here:

https://github.com/phhusson/treble_experimentations/wiki/How-to-create-an-overlay?
[Treble-Enabled Device Development A/AB ROMS] svaethier:
Well the disable statsd zip you sent my friend yesterday just causes our device to get stuck at boot now.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Well, sorry I made a mistake we're not on the same arch, it could not work...

Re-install the image and remove the two files I told you, /system/etc/init/statsd.rc and /system/etc/init/incidentd.rc.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
In fact the logs you sent only concern what happens in recovery, not in the last failed boot. dmesg concerns the actual boot, which is the recovery boot. Logs of the previous boot, whatever it is (rom or recovery), can be grabbed with the command cat /proc/last_kmsg > log.txt.
[Treble-Enabled Device Development A/AB ROMS] Technical:
If I remember correctly, in v2.4 I was able to remove the notification about the SDCard (storage) that we see in each boot. I'm not sure where. Does anybody know how to block it? Thanks.
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
why dont you work together with vince31fr to make new builds for us?
[Treble-Enabled Device Development A/AB ROMS] Ham1do:
You know most gsi's run hardly on huawei hi6250 , I manage to boot havoc 2.4 using manual fixes for 26.0.cil & sdcards

But for this 2.5 even applying those fixes it enters to boot animation but reboot after seconds

Here the log
[Treble-Enabled Device Development A/AB ROMS] Technical:
We use different methods and approaches. Treble building is very manual and time-consuming.

Right now, you can use his build over mine.

I'm at 75% again, but life taught me that, while building, you can never celebrate before 100%.
[Treble-Enabled Device Development A/AB ROMS] svaethier:
is that what's causing all this or???
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
This rom doesn't boot on s9/+ at all it don't get to ROM's logo , there's just this rom and aosip the only ROMs doesn't work on s9
[Treble-Enabled Device Development A/AB ROMS] Technical:
1. Testing deeply, I discovered I lost GPS (none of the apps are being able to lock it).

2. Suddenly, after a reboot, screen go black and I cannot turned on. Phone is on, screen not. I go to TWRP, wipe data, reboot and the initial setup came on just half of the screen (I have never ever seen this before).

3. During next days, I'll need to go back to Havoc 2.4 and will test later on next weekend.
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
many people had systemUI crash, including me. and I also back to your build (2.4). but my GPS was is working
[Treble-Enabled Device Development A/AB ROMS] Technical:
In fact, I had to go back to 2.4 because, for any reason, screen go black, phone is on, but I can see nothing... Factory reset within TWRP did not work either...
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
this is systemUI crash, vince31f knows this bug. maybe will be fixed next build
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
The log shows that you had magisk and havoc 2.4 already installed, and dirty flashed havoc 2.5. Even if it can work (or not, like you), there are many issues after. Please try to remove magisk, wipe data, and clean flash. Send another log if you fail.
[Treble-Enabled Device Development A/AB ROMS] svaethier:
i tried to boot your rom after deleting the two files but all i got was a bootloop.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Could you send a kernel log ? Reboot to twrp, plug your phone, and issue the command adb shell /proc/last_kmsg > log.txt

One thing though: I found a sepolicy issue showing incompatibility issues for the S9. I'll try to fix that in the next build. Some fixes have already been found for Samsung exynos 7870 based devices, there was similar issues. It works very well now, it has been heavily tested in the exynos 7870 treble group on telegram.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I don't know if you dirty flashed over 2.4, but it may be harmless. I had to clean flash at one point between 2.4 and 2.5.

There's also an issue with Portuguese/Brazilian language (yes really!) that causes SystemUI crashes, if it's your language... If think it has been fixed in havoc and should solve the issue in next build.
[Treble-Enabled Device Development A/AB ROMS] Mohammed779:
I seem to be stuck in a boot loop when I install this magisk module (to fix dt2w and bt call). However, I don't bootloop in any other GSI. Any idea?

Also please include their new feature, double tap to pulse notifications.

Thanks,
[Treble-Enabled Device Development A/AB ROMS] Germano1980:
So this is what is happening. My language is Brazilian Portuguese and really when I change the language, the screen hangs for a few seconds.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Everything seems to go well, but the logs seem too short. You can see in the end that the init process starts, sepolicies are compiled, but then a few lines later the log ends with no problematic message... Did the phone restart by itself or did you manually rebooted it? The first boot may take a long time, and sometimes it never ends but restarting the phone can make it boot. After that it boots normally. The last log you sent was showing things that happen later during the boot process...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
No I have no idea. I suppose you have to install ims.apk to make that work ? Did you do that ? You should also ask the dev of this module, it does not depend on the rom... however maybe there could be some general things to learn from it, but it seems specific to your device.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Also, about new features: there are included at each new build, which is a snapshot of the actual source tree, so all new features are automatically included. As well as new bugs and regressions, of course... Havoc is moving too fast to be really stable at each release...
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
[MENTION=7932843]vince31fr[/MENTION] -

I have log - while I was on 22/05 Havoc + my Pie vendor -- HAL3 enabled but not work - none camera app work at all ,rest of things almost ok . Kernel permissive after permissiver_2 flash. Now I returned to Oreo vendor .
[Treble-Enabled Device Development A/AB ROMS] Jiesheshuai:
Thank you for the awesome build. Both sims work perfect after v0522. The only issue for me is the GPS for now which is struggles for ages to connect.
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
Whatever the issue was with your pre 22 builds you have fixed in the 24th test build you did as your 24th test build is the only version of havoc that boots on the s9/+

Edit: Just in case it helps, with the 24th build when you go to settings about phone and check the baseband version it states unknown, this is with cse3 fw and baseband
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
It seems that there is an incompatibility betwen system and vendor :

CANNOT LINK EXECUTABLE "/vendor/bin/mm-qcamera-daemon": cannot locate symbol "_ZN7android13AppOpsManagerC1Ev" referenced by "/system/lib/libsensor.so"...

and probably problems for GCam with the system:

E/AndroidRuntime( 3852): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=org.codeaurora.snapcam, sha1=61ed377e85d386a8dfee6b864bd85b0bfaa5af81, atk=true, ver=17122039.true (go/gsrlt)

There are perhaps somewhere some device specific mods for your phone, or updated gcams? ...

I cannot do a lot for gcam, each one has to find its own solutions unfortunately...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Ok great if it boots now! But do important things work or not? The SIM for example?
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
Everything but sim unfortunately, baseband reads as unknown in settings, I used devbase v6 cse3 baseband and fw
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
If you could send logcat and kernel messages it would be great... This seems to be a very device-specific problem but I can try to take look.

One question: is the rom running in permissive or enforcing mode ? You can check in 'about phone'
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Great, you're welcome. About GPS, does it happen the same in other GSIs ?
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
I'm back on lineage right now as needed sim service, I'll load up havoc tonight and get the above info as just heading out with the family right now, [MENTION=5537575]Akhayev[/MENTION] might still be on havoc so he might be able to supply the info sooner if he is :)
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Yeee ... it is screwed up thing :/ . But my vendor maintainer has other problems now so it must wait for soultion -- btw. I read somewhere here about 24/05 test build - is this avaiable ?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Hopefully I will upload new builds today, in less than an hour I think, depending on a quick test on my phone... flashing now ;)
[Treble-Enabled Device Development A/AB ROMS] jazzyd1:
That is most likely related to kernel issues...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
So new builds are being compiled and uploaded, arm64_a and arm64_ab already here, the other ones will follow.

From Havoc side:

No big changes in UI since last update; only thing I think is a toggle for showing lock screen weather, but there may be other things. Some translations have also been updated, and I hope that the Brazilian/Portuguese UI crash has been fixed -- if someone could confirm... I don't want to test myself and freeze my phone ;)

However, many things have changed internally, libraries updated, ... In previous builds there were sometimes, randomly, some lag in scrolling, which I think has been fixed. A number of small issues have also been fixed, see changelog.

From GSI side:

I fixed some sepolicy issues which may help a number of users to boot, and disabled statsd daemon (it is disabled in Android go builds for improving performance). Also modified clock padding in statusbar for notch-based phones, so that 2 notifications can be shown before the second one is replaced by a dot when a third arrives.

Be carefull with my builds, backup your data... I upload them without testing a lot. I think that I'll slow down the rythm when I have managed to solve the most important issues, that prevent some users to boot or have signal. Of course I'll never manage to make it run for everyone... but there is still room for improvements I think.

Happy flashing!
[Treble-Enabled Device Development A/AB ROMS] mrram:
Any way to fix Bluetooth issue?

Redmi Note 7
[Treble-Enabled Device Development A/AB ROMS] Jiesheshuai:
I used to try a bunch of GSI and yes they all have the same issue. I have GM5 Plus Shamrock Snapdragon 617 msm 8952 device.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
It is a device-specific issue. It works well for my device for example (even incall bt). You may search information in your device forums, ...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
So well I don't see what I could do. Device-specific roms include specific aspects for working better, even in system images. These things should be moved to vendor and should be used by system, whatever it is...
[Treble-Enabled Device Development A/AB ROMS] nimaim:
Thanks for your work [MENTION=7932843]vince31fr[/MENTION]. Anyone happen to test this out on a Mi Pad 4 yet? I know the last version of Havoc GSI (2.4) by [MENTION=1011179]Technical[/MENTION] had some issues with headphone jack, cover, SIM, and other things.
[Treble-Enabled Device Development A/AB ROMS] svaethier:
It restarted by itself
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
On build 27/05 strange thing app Files fc so eg. Magisk Manger can't sideload modules ... clean flash . Anyone with such problem ?

some log from app -> https://del.dog/qaniduwuja
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
27/05 available!

However you may try other version of GCam... Sometimes there are good surprises. Recently I switched to arnova version, it had never worked, now is like a charm
[Treble-Enabled Device Development A/AB ROMS] jazzyd1:
Thanks man... I'll flash as soon as the download completes. Live is all about improvement..:laugh:
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
I am flashing it again , and I will post the log
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Strange, Files works well for me... however it is advised to clean dalvik and cache on dirty flashes, did you? Apart that, if you still have the problem, do you have an external sd card ? I'm unsure about a sepolicy fix, which may be related to external sd cards. I don't think it is related to your problem after looking at your log though... it is simply like the app were not present inthe filesystem
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
It was clean flash - yes I have external sdcard . ( it is a pain tu use it as adopted storage indeed ... my next phone will be without sdcard I think. )
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Did you try tu use another filemanager, Mixplorer for instance? Files is not a required app, as long as you have another file explorer
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Others works - but Magisk Manger use Files i think :/
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I use mixplorer with magisk, it has probably been defined as the default app for you.

I'll try to generate another apk to see if if that works. Wait a bit.
[Treble-Enabled Device Development A/AB ROMS] svaethier:
Tried newest build and it goes to boot animation which slows down after a few mins, seems like the phone tries to boot but can't. Will upload my ramoops files after restore is done.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Did you try to simply reboot ? Sometimes this happens -- bootanimation takes too long, reboot, and then it works
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
adb shell /proc/last_kmsg > log.txt

/sbin/sh: /proc/last_kmsg: Permission denied I get this error
[Treble-Enabled Device Development A/AB ROMS] svaethier:
Phone restarts itself then goes to bootanimation afterwards repeating the same thing.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
In twrp you get this error ? there is perhaps an option to enable usb debugging somewhere ?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Well I regenerated the apk, it is exactly the same than before, so I cannot do more yet... anybody else has this strange problem?

From your logs it seems like it was corrupted, checksum problem.. very strange... I don't think it is related to sepolicy changes... What you can do is simply to freeze the app, and magisk will probably ask you what file manager it must use, and I'll perhaps investigate, but I don't see what to do...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Sorry, forgot 'cat' : the command is adb shell cat /proc/last_kmsg > log.txt
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
File mostly empty, only contains "> 0.815209< pmic_ver 3"

Get /proc/last_kmsg
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
yeah it worked , is it this one ?
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Yep I could froze Files apk but only from titanium backup then magisk manager asked for other file manager.. crazy [emoji2957]

System options for Files are grayed all except stop app and clear data.

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
In your current directory in which you where in your terminal
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
found it
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
on the new version everything is working till now , thank you , it did boot without any problems and sim card and everything is working now
[Treble-Enabled Device Development A/AB ROMS] svaethier:
Here's the log for you
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Great!!!

And now you know how to grab kernel logs ;)
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I see permissive=0 on each 'audit ... avc ...' lines, it seems you still boot in selinux enforcing mod. You should try to boot in permissive mode and get logs again
[Treble-Enabled Device Development A/AB ROMS] AndroidHQ254:
I must admit that Havoc OS really caught my eye and I was very eager to give it a try. My device (Infinix ZERO 6) does not have sources released so I have to find solace in GSIs to enjoy custom ROMs. My device launched with Oreo 8.1 and has not seen an update since. I, therefore, decided to give this arm64_ab GSI by [MENTION=7932843]vince31fr[/MENTION] since the other ones have not been updated since 2018. However, the process of booting the GSI did not work as expected even though I was not having issues booting other custom GSIs like AOSiP. I must have flashed almost every new build by [MENTION=7932843]vince31fr[/MENTION] without success. My device kept rebooting over and over with no hopes on getting to the boot animation. In other instances, the device would just reboot to either the bootloader or recovery. [MENTION=7932843]vince31fr[/MENTION] kept track of the progress and was really helpful in the whole process. I was almost giving up my chances with Havoc OS v2.5, then Havoc-OS-v2.5-20190527-vvBuild-phhgsi_arm64_ab.img.xz was posted for download. I kept my hopes high, downloaded the GSI, set my kernel to be permissive, flashed the GSI via fastboot..... I was not sure whether to reboot as I was afraid the same results would appear. To my surprise, I was welcomed by Havoc OS boot animation on rebooting. I am really greatful to [MENTION=7932843]vince31fr[/MENTION] for this awesome work. The GSI is pretty stable on my device - Everything working including root with Magisk, substratum and all customizations. Even if your device may not boot yet, do not give up as seen with the case of my device.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Should work now in latest build, your buddy managed and no more SIM problem
[Treble-Enabled Device Development A/AB ROMS] svaethier:
I flashed my friends permissive boot image he made after flashing your rom and still my phone restarts itself after a few mins at boot animation
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Thanks for your logs and tenacity, it helped ;)
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
You still using csd4 as the base? Did you have to do anything other than flash devbase then latest havoc? Cheers bud
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
I didn't flash devbase , I was on AEX with endurance aosp kernel and BRK3 vendor , I wiped system cache data and flashed the ROM then reboot flash gapps and magisk
[Treble-Enabled Device Development A/AB ROMS] Ham1do:
Congrats [MENTION=7932843]vince31fr[/MENTION] :good:

Today's build works as it should ( clean flash ) on Huawei P10 lite
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Cool, thanks for your feedback!
[Treble-Enabled Device Development A/AB ROMS] AndroidHQ254:
At least all the effort was not in vain
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
I didnt have systemUI crash so far. this build looks great. thanks!

I'm trying to understand why my EdXposed isn't working again, but probably not a ROM problem.
[Treble-Enabled Device Development A/AB ROMS] tejask2610:
Signal fix??, btw awesome ROM
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
For me it is working , no drops or anything
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
we still need to install NFC patch in this new build?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
NFC is built-in, I think you don't need anything else, but can't test myself as my device does not have nfc. There may however be some specific issues depending on the devices, and I suppose it is the same in all GSIs.

Could someone confirm a (non-)working NFC?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Once again that problem? It still works for me, after dirty flashing... Never had a problem in fact since I installed it, and many many test flashes...
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
NFC works for me after magisk module use.

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Happy to know!

Btw one question: as I understood, you have a S9 device ? You should have plenty of native ROMs, probably an official version of havoc ? So why install GSIs ?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Is it a device specific module ? Or for all devices running GSIs?
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
Mobile Internet is not working on your Havoc 2.4. But on this Havoc 2.5 - works. Another mobile Internet works on my smartphone only on RR 7.0.1. All other GSIs are not. Even on RR 7.0.2, 3-4G communication does not work

------ Umidigi A3 Arm64 A