yashsingh1/xdaforums huggingface dataset:
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I'm sorry I don't know anything about multi ROM twrp... Did you try this havoc build alone in a more classical way ? Does it work ?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Great ! You're welcome, enjoy
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
What kind of problem you have with Bluetooth ?

Nothing works at all, or just incall for instance ?

These hardware issues are more or less the same in all ROMs, although there may be some differences. For example, I never managed to make bt incall to work in Descendant, while it works perfectly well for me in havoc. I however did a small hack in the file /system/bin/rw-system.sh (added by phh in its gsi, which makes some very device dependent hacks), in order to recover the file /vendor/etc/audio/audio_policy_configuration.xml. Without this file, no bt incall for me.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
For you, [MENTION=7277743]akhay[/MENTION]er, and everyone who has an AMOLED display but whose device never enters deep sleep state in AOD, here is an overlay to test. It works on my device, but I do not promise anything to anyone...

This flashable zip simply adds a file in /vendor/overlay. You can also extract that file from the zip and copy it yourself.

You must wait long enough after rebooting to really know if it works, the device is kept awake a few minutes after booting by system tasks.

Waiting for feedback !
[Treble-Enabled Device Development A/AB ROMS] WhiteCloud24:
can you implement d2tw on the next build please? =))))
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
Works perfectly, great work pal it's much appreciated, keep up the amazing work
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Could it be any file in this zip inside eg. my device specific overlay framework?

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Treble-Enabled Device Development A/AB ROMS] mhhashemi02@gmail.com:
Thank you very much. It works great on the Galaxy J6
[Treble-Enabled Device Development A/AB ROMS] nimaim:
Anyone with a Xiaomi device using this with LTE? Is it working? I have a Mi Pad 4 LTE with PixelExperience that is having issues recognizing the SIM. Just don't want to go through the trouble of completely wiping it and flashing when it still won't work. Thanks.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
The updater script should be modified to copy your files also. However it's created very easily with the ZIPme app on the play store: you just have to select the files you want, and the flashable zip is generated.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Great!
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Thanks for the report!
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
No. It's an in-depth modification of havoc, which I won't do. You can ask to havoc's devs, but I think it's in their plans
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I primarily build this ROM for my device: a xiaomi mi8se. My vendor is the latest xiaomi.eu dev. LTE works great. Cannot of course promise anything for your MiPad!
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
It works 100% now , thank you mate , now I can say your rom is perfect, and have no issues at all , the best ROM I've tested till now
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Thanks!

However it's not my ROM, it's Havoc's team work.

I just try to make a good GSI out of it, which would be impossible without phh's background work. So first say thank to them ;)
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
Theres many other gsi ROMs but none of them works like yours , and the devs I bet you that the official havoc rom wouldn't work perfectly like yours
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
No, you're just lucky that your vendor and the gsi combine well. The modifications I made on havoc just permit it to solve problems for gsi, like sim problem and sepolicy. The only mods I made not related to gsi problems are to avoid flooding logs with unuseful messages that were appearing on my device... I really can't admit that it's better than an official build for a specific device!

But appreciate your kindness :)
[Treble-Enabled Device Development A/AB ROMS] mrram:
No in-call audio. But, when I injected the above file into this rom, wallah, it works! Testing now since last night, and it works for me (Redmi Note 7)...
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
didin't work for me :(

axon 7 A2017U
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
If you flash stock one day, keep file /system/framework/framework-res.apk and send it to me (or ask someone on your device forum). I'll try to see if there are some non standard properties, or properties that I missed, to enable doze in aod on your device.
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Good tip, but how to choose proper destination of flash from this app I don't know yet, so if I exchange apk in your zip it should work I suppose.

Btw. Do you think it is possible to ask Havoc team to consider exchange phone and contacts aps for Google one?

Wysłane z mojego XT1635-02 przy użyciu Tapatalka
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
You files must be on the good location in your phone. You can push them with adb from a computer or use a rooted file explorer. Then in ZIPme you just have to select the files on their good location.

The updater script generated by ZIPme only copies files that were selected, and do that by their name. So if you exchange a file in the zip it must have the same name. However sha-1 control sums are present in the zip and are probably controlled when flashing, so I think (unsure) that flashing would fail if you exchange a file in the zip.

Overall I don't know what's your goal

If you just want to add some files, you can put them anywhere with a rooted file explorer, or by adb in twrp (or a terminal in twrp). If your goal is to share your flashable zip, then put your files in the right place and generate a zip with ZIPme.
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
In your version 27/05, a bug with installing Magisk version above 16.4 is fixed

Now versions of Magisk above 16.4 are installed on my device and I do not have a bootlap when booting the system.

But! My version of Magisk above 16.4 still does not issue root-rights to applications.

This error is corrected as follows;

I rename copies of libc.so (lib & lib64) to libdirect-coredump.so and copy to lib & lib64.

After that, Magisk above 16.4 issues root-rights.

P..s. I was told that this method suggested Phhusson for mtk.

Your firmware is the best among gsi for MTK!

Always ready to help in testing.

P.S.

In the version of RR 702, the mobile Internet stopped working. And it works great for you.

---------- Post added at 11:35 PM ---------- Previous post was at 11:30 PM ----------

In your version 27/05, a bug with installing Magisk version above 16.4 is fixed

Now versions of Magisk above 16.4 are installed on my device and I do not have a bootlap when booting the system.

But! My version of Magisk above 16.4 still does not issue root-rights to applications.

This error is corrected as follows;

I rename copies of libc.so (lib & lib64) to libdirect-coredump.so and copy to lib & lib64.

After that, Magisk above 16.4 issues root-rights.

P..s. I was told that this method suggested Phhusson for mtk.

Your firmware is the best among gsi for MTK!

Always ready to help in testing.

P.S.

In the version of RR 702, the mobile Internet stopped working. And it works great for you.
[Treble-Enabled Device Development A/AB ROMS] xboxbr:
why dont u use magisk 19.2?
[Treble-Enabled Device Development A/AB ROMS] gxfuzion92:
THX DEV.. this havoc boot on my devices oreo vendor.. good job!!

Edit: Only 3g no data connection. 4G ok but less coverage.
[Treble-Enabled Device Development A/AB ROMS] joekempis:
yup.. only your havoc gsi can running on S9/+... good job mate... :):good::good:
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
Because I do not want.

For dull again.

Without this patch, no Magisk above 16.4 distributes put-rights: Neither 19.2, nor 19.1, nor 18.1, nor 18.0, nor 17.2

19.2 also does not work without a patch.

With the patch, all Magisk work.

Available explained?
[Treble-Enabled Device Development A/AB ROMS] Siva431:
Yes I tried and everything fine in normal installation
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Check if Magisk Manager is not accidentally installed on external sdcard. I had such situation and then it goes crazy [emoji2957]

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

Did you try to change the setting"Preferred network" in Mobile network settings ? LTE for example does not work for me: only LTE and no GSM. Global works better, or GSM/CDMA/LTE.. it depends on your country, network, carrier...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Still no explanation, I think it's a matter of how you installed havoc, magisk an so on... Perhaps a clean flash (flashing stock first), with a factory reset after booting, could solve your problems
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
So it's a problem of multirom twrp. You should find some help in an appropriate forum, if noone else here tried that...
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
About your suggestion of Google apps, I did not answer in my previous message: not everyone want Google apps, and there may be some copyright issues too, so I don't think that's possible. You may disable these apps with MyAndroidTools or SD Maid for example, or whatever app you like for that, or even remove them from /system/app and/or /system/priv-app.
[Treble-Enabled Device Development A/AB ROMS] sebx_g1:
Well , EvolutionX (rom,GSI) use them - but I understand your point of view .
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
Please clarify:

Factory reset after booting Havoc or stock?

Before installed I make wipe cash, davlink, data, system.

I first flashed the stock, then did the data cleaning, systems, caches. Then he installed Havoc. Then I installed your patch.

I also deleted bootanimation.zip

After that, loaded into the system.

I also tried copying /vendor/lib&lib4/libdirect-coredump.so to / vendor / lib & lib4. This method also solves the problem of Magisk.

---------- Post added at 03:01 PM ---------- Previous post was at 02:53 PM ----------

I haven't lost my mind yet to install Magisk on extSD.

Etr still need to be able to do that!

The problem that I describe is relevant for many mtk processors on Treble firmware. This patch is used by many, not just me.

---------- Post added at 03:12 PM ---------- Previous post was at 03:01 PM ----------

I completely deleted this file from vendor.

Havoc has enough of its own capabilities, and this file only hinders.

So I do not alone. So do many people who install Treble firmware with advanced interface settings.

If a person wants to return to the stock, he will need to restore the vendor additionally.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Factory reset after flashing havoc. It may erase some more persistent data.

About libdirect-coredump, I read things about that yes. This issue is not clearly fixed yet.

The file framework-res.apk is of course erased when installing havoc: the whole /system partition is erased. I need this file to check if for your vendor, some more properties are needed to enable doze in aod.
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
fine. I understand you about the core-dump and framework..rr.

Let me ask two questions?

1. Can I send my /vendor/overlay/...rr?

2. Does your firmware have its own "greenify" ??? I see that the Greenify I installed has almost nothing to put to sleep.

P.S.

Now the market is thrown mass of phones based on mtk.

But almost everyone has problems with Magisk and installing gsi.

Later, I will show a patch that helps run gsi on mtk.

Your firmware is the most efficient and promising on mtk. (There is only one more firmware on which mobile data works - RR 7.0.1.).
[Treble-Enabled Device Development A/AB ROMS] mhhashemi02@gmail.com:
Hello dev, can I be for the signal weakness
[Treble-Enabled Device Development A/AB ROMS] Akhayev:
Hey OP can u tell me what did u do to make this ROM boot on s9+ ?
[Treble-Enabled Device Development A/AB ROMS] xnpu:
Just wanted to say thanks and report this ROM to work well on my Redmi Note 7. The only things I ran into were: #1 it defaulted to 3G instead or LTE and #2 rounded corners needed more padding. Both of these were easily changed in the Settings.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
1. No, only /system/framework/framework-res.apk could help

2. Greenify is completely unuseful in Android pie as well as most things like that (Amplify,...). Big progress have been made on power consumption, apps can be limited,... Furthermore there are a few optimizations in havoc (Havoc's team work, not mine). The only thing that I still find useful is to deactivate a few gms services through MyAndroidTools (concerning essentially nearby service which constantly polls Bluetooth if you leave it enabled).

"Later you will show a patch..." : What patch ? Can you tell more ?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Without logs I cannot help. Yes mtk is supported.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I don't understand: is this a question? What do you mean ?
[Treble-Enabled Device Development A/AB ROMS] gxfuzion92:
Signal weak on 4G and on off sometimes.. Max m2..
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
Greetings.

I am sending you a framework-res.apk and a patch.

The patch "Start_Trable.zip" is used after the GSI-Treble firmware

almost all owners of devices based on MTK processors.

But when launching the latest release of Havoc (27/05), I did not apply this patch.

The system successfully started without this patch.
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
I also note that libdirect-coredump.so is located at / vendor / lib & lib64 /.

They can be copied to / system / lib, lib64 /

This method also works. Tested many times.

But I prefer: system / lib, lib64 / libc.so -copy_new_name-> /system/lib,lib64/libdirect-coredump.so

Phhusson advised doing just that.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
So:

1. Your device is a umidigi a3: your display is not AMOLED, so you'll never be able to enable doze in aod... The flashable zip I made only concern devices with AMOLED screens.

2. Your patch concerns sepolicy issues, which I fixed in my build for everyone (this is not related to mtk). That's why you don't need it in my build.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I found that discussion on telegram. The advice of phhusson was to create an empty file libdirect-coredump.so and not copying another library. This issue is still open I think, no clear fix apart your hack or a similar one.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Nothing special for S9. Probably sepolicy issues that I fixed.
[Treble-Enabled Device Development A/AB ROMS] aljoscha81:
Will that mean that we can use magisk module for arcore now again?

Before i always got the rom no longer bootable after install:confused:
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Perhaps. I don't know. Version 0527 solved a number of issues related to boot, but I can't say anything about things like magisk modules. Do at your own risk.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Try changing "preferred network" setting in Mobile data parameters. Does it work well in other GSIs?
[Treble-Enabled Device Development A/AB ROMS] Abaddon:
Anyone on MI9? what does and doesn't work? :confused:
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
Thanks for clarifying. I understood you perfectly.

Today I found a bug - the sound through the headphones does not work and the headphone connection notification icon does not appear.

Through bluetooth, the sound in the headphones works fine.

I tried to fix framework-res.apk myself

But I did not succeed.

Can you fix this error?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Headphones work perfectly well for me. Noone else has complained about that... I don't think I can something for you.
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
I apologize for the wrong information. I checked: The headphone jack does not work on the tested device.
[Treble-Enabled Device Development A/AB ROMS] retribe:
Logs

Onedrive:

https://1drv.ms/u/s!AszSptQCrUz9jMUPZ2J0w2HHAxNztQ
[Treble-Enabled Device Development A/AB ROMS] mahmmoud1231:
Thank you for your hard work but are you going to support arm32 binder 64 devices ?
[Treble-Enabled Device Development A/AB ROMS] mhhashemi02@gmail.com:
Yes, it supports, works great

---------- Post added at 08:05 PM ---------- Previous post was at 08:02 PM ----------

The question was, the problem was resolved, thank you very much for answering
[Treble-Enabled Device Development A/AB ROMS] gxfuzion92:
Ya.. on bootlegger and rr its work well.. Havoc 2.0 also..
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Yes, the build is a64_a on AFH.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Thanks for your logs. What appears at first sight is that you are running in SELinux enforcing mode. There are still sepolicies issues, so you must boot in permissive mode. You must find a kernel which does that. If you manage to do that but still have sim issues, send a logcat again.
[Treble-Enabled Device Development A/AB ROMS] uehlsh:
Hello,

I had to remove /system/media/bootanimation.zip so that the system could boot.

I had the same problem on Havoc 2.4.

Could you solve this problem with your firmware?
[Treble-Enabled Device Development A/AB ROMS] Abaddon:
removed
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I don't think I can do anything for that problem. It's probably a weakness in havoc, and also higly dependent on your vendor (i.e. the combination of havoc and your vendor).

I also experienced some problems with LTE : by changing the "preferred network" in Mobile Settings to "Global", it works very well. You could try to change that setting and perhaps one of them will work better.
[Treble-Enabled Device Development A/AB ROMS] retribe:
Can the points where and what to take and how to deliver, and that I tried does not see the SIM. Tried as SELinux mode changer, it by the way with the same logs was, - any changes.

It seems to me that the kernel mode is not necessary here.

Why can't I get into the MTK engineering menu?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
A selinux mode changer is not enough (I suppose it is something that runs in the rom itself to change the mode ?), as the boot begins in enforcing mode. The selinux mode may be changed too late by you selinux mode changer. You must boot in permissive mode by the kernel itself.
[Treble-Enabled Device Development A/AB ROMS] joekempis:
[MENTION=7932843]vince31fr[/MENTION] can i flashing 28052019 build?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
No interest. It is exactly the same as 0527 with a small tweak for someone that had problem with fingerprint. Which didn't work, btw ;)

Files in the WIP (work in progress...) folder are either unstable builds, or quickly hacked to test something, ...

When there are interesting changes I always put the builds in the "official" folder.

There were no important changes in havoc these last few days, so did not release anything. And did not solve more gsi bugs too..
[Treble-Enabled Device Development A/AB ROMS] joekempis:
ouh okay.. i understand now.. thanks for info.. :):good::good:

can you build the latest bootleggers rom too?
[Treble-Enabled Device Development A/AB ROMS] retribe:
New rom in developer.android com build 29.05.19
[Treble-Enabled Device Development A/AB ROMS] Abaddon:
anyone using v4a with this rom?
[Treble-Enabled Device Development A/AB ROMS] Mr.R™:
Yes, and edxposed, works perfectly
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Testing Havoc 2.6 and june security patch (r42)...
[Treble-Enabled Device Development A/AB ROMS] mahmmoud1231:
Thanks a lot the gsi is very stable and smooth but I have issues after flashing the gsi and booting it works no problems but I saw that I have 50 mb free from only (1000mb) on my system partition which makes me unable to flash gapps do to system space I know I can use magicgapps to install it systemless but is this normal.

My Device : Samsung galaxy j4

Storage : 32gb

Thank you for your time.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
System partition size is set to 1.5Gb for a64 and arm architecture, and 2Gb for arm64 architecture. So effectively you should not have a lot of free space. Depending on your device, you may resize the system partition size after flashing the system image, check in your device's xda forum.

You can also ask in the Exynos 7870 treble forum in Telegram. Although your cpu is not the same, your device is not so far, and they have similar problems I think.
[Treble-Enabled Device Development A/AB ROMS] nimaim:
[MENTION=7932843]vince31fr[/MENTION], so far this is running great on my Mi Pad 4. I've tested headphones, bluetooth, GPS, and some other stuff and they are all working. Very clean image. Still have to test SIM and calls. Other than a slightly more than usual battery drain (deep sleep shows as 0% no matter what I do?), no issues thus far. And while stock cam is fine, I can't get any of the GCam ports working on this.
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
No deep sleep is a big issue ! If you enabled AOD, it's normal: you don't have an AMOLED display so your device is kept awake.

If not, you should check with BBS if there's a wakelock somewhere keeping your device awake. You can also check the logs (Logcat Reader app is very nice for that), and look if something is flooding the logs. Then remove the culprit apps, or limit them in their battery settings.

For instance on my device, Google Play Services was constantly polling Bluetooth (I have it always on) for Nearby services which I don't use: I disabled all nearby services, broadcast receivers, activities related to nearby services, with MyAndroidTools app. No more unuseful Bluetooth polling...
[Treble-Enabled Device Development A/AB ROMS] Scholeggo:
Hey [MENTION=7932843]vince31fr[/MENTION], do you plan on continuing building this ROM for Android Q?

---------- Post added at 11:48 AM ---------- Previous post was at 11:47 AM ----------

And do you Force support volte here?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
Yes, if it is ported to Q one day, which is not my job... It also depends on phh's work of course, if he continues.. and if I'm still alive tomorrow, and... ;)
[Treble-Enabled Device Development A/AB ROMS] Scholeggo:
:good:

What about VOLTE? is that enabled on your Gsi?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
I don't plan that. I build havoc because I use it as my daily driver, I can test it every day and so on, and don't want to constantly switch between ROMs. However if I had a second device, why not build a second GSI ?... I'll keep the hypothetical donations for that goal. Actually only one generous donator, don't know who he is in the forum, but many thanks to him ;)
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
You must install ims.apk as mentioned in many other places. It can be installed as a normal app. I can't test as my carrier does not provide VoLTE.

In attachment.

BEWARE: ONLY FOR QUALCOMM CHIPSETS !!!

You have been warned
[Treble-Enabled Device Development A/AB ROMS] Scholeggo:
I have a Moto E5 Plus with msm8937.. I think we're all good here :laugh:

One more question: does this ROM have Lineage OS features of any kind?
[Treble-Enabled Device Development A/AB ROMS] vince31fr:
It is based on lineage, but is now quite a mixture of many things... This can explain why some things work, or don't work, compared to AOSP based GSIs like Bootleggers or Descendant..