[PoC] Project Treble for natrium

vladgusev112

Member
Sep 24, 2011
19
9
0
Moscow
Can someone explain how to build vendor image using source mentioned in OP? Should i download lineage branch and pick kernel/etc via local_manifest? Or it's possible to build without aosp/lineage source?
 

2220209876

Senior Member
Jan 30, 2018
84
42
0
M78
Sorry,it didn't work again. And there is something wrong with my laptop, I can fix it only in the weekend only.
So maybe I can try the solutions you suggest few days later. Or you can add me into your contacts (in QQ, telegram or such things) if you like.
hi , How is progress now?
 

Volker0311

Member
Feb 7, 2017
15
1
0
I was trying this guide when all of a sudden, the screen went black after I swiped to reboot. can't reboot, can't enter TWRP, can't enter Fastboot. (I haven't try EDL mode yet but I assume it doesn't work) can anyone offer some advice or is my phone bricked?

I'm quite in a pickle now as this is my daily driver.
 

jngiag

Senior Member
Jul 19, 2009
159
59
48
I flashed the boot.img, vendor.img with Havoc-OS-v2.8-2.190811 using twrp-3.3.1.0. It works but with some bugs - camera & mtp doesn't work & System-Ui isn't responding ocassionally. Other than that, it is ok.

I think it would be even better if the vendor image could be updated as it was built more than a year ago. :)
 

jngiag

Senior Member
Jul 19, 2009
159
59
48
Camera and mtp actually works with the original kernel. It only doesn't work with custom kernel (KernelX-natrium-20190203-HMP).

Almost everything works (call, wifi, mobile data, camera, mtp, bluetooth call & music, gps, IR blaster, magisk) except the bug "system UI isn't responding" is still there occasionally. The bug is more apparent when it is first boot up and it seems to be getting smoother & less over time. Overall, it is smooth & fast as other custom rom.
 

jngiag

Senior Member
Jul 19, 2009
159
59
48
With the latest release Havoc-OS 2.9-2019-09-14 (https://forum.xda-developers.com/pr...bled-device-development/gsi-havoc-os-t3930030) and manually removal of nfc which seem to be causing the lap, I can see good improvement.

I have not seen any "system UI" problem after few hours of trial. Rom is as smooth & fast as other custom roms. Camera is a bit slow sometimes but it is working. Everything else seem to be working except nfc which has been removed. I will be using it as a daily driver for a trial as it gets strong support and updated most frequently. It can be a good alternative (if it works) as most of the custom roms here are not updating any more.
 
  • Like
Reactions: CeXe_R

CeXe_R

Senior Member
Aug 12, 2015
97
36
0
31
Santiago de Chile
With the latest release Havoc-OS 2.9-2019-09-14 (https://forum.xda-developers.com/pr...bled-device-development/gsi-havoc-os-t3930030) and manually removal of nfc which seem to be causing the lap, I can see good improvement.

I have not seen any "system UI" problem after few hours of trial. Rom is as smooth & fast as other custom roms. Camera is a bit slow sometimes but it is working. Everything else seem to be working except nfc which has been removed. I will be using it as a daily driver for a trial as it gets strong support and updated most frequently. It can be a good alternative (if it works) as most of the custom roms here are not updating any more.
How you remove NFC? Have the file edited? Thanks
 

jngiag

Senior Member
Jul 19, 2009
159
59
48
The boot.img and vendor.img are from the "Build 0421" of this thread. Though they are already a year old but they still work. It would be good if someone is willing to update it.

The installation goes like these:-

1) Recovery (twrp 3.3.1-0) -> Advanced wipe -> Wipe "Dalvik/ART Cache; Cache; System; Data"

2) Flash (i) boot.img (boot partition) -> (ii) vendor.img (vendor partition) (iii) havoc-xxxx.img (over system partition) -> Reboot

3) Recovery -> flash opengapp; magisk

4) Rename /system/app/NfcNci/NfcNci.apk to /system/app/NfcNci/NfcNci.apk.old

Update your firmware first if you have an older version Global_8.xxxx .
 
  • Like
Reactions: dawid0089

2220209876

Senior Member
Jan 30, 2018
84
42
0
M78
The boot.img and vendor.img are from the "Build 0421" of this thread. Though they are already a year old but they still work. It would be good if someone is willing to update it.

The installation goes like these:-

1) Recovery (twrp 3.3.1-0) -> Advanced wipe -> Wipe "Dalvik/ART Cache; Cache; System; Data"

2) Flash (i) boot.img (boot partition) -> (ii) vendor.img (vendor partition) (iii) havoc-xxxx.img (over system partition) -> Reboot

3) Recovery -> flash opengapp; magisk

4) Rename /system/app/NfcNci/NfcNci.apk to /system/app/NfcNci/NfcNci.apk.old

Update your firmware first if you have an older version Global_8.xxxx .


https://forum.xda-developers.com/mi-5s-plus/development/treble-project-treble-natrium-t3828762 0815
 
  • Like
Reactions: jngiag

CeXe_R

Senior Member
Aug 12, 2015
97
36
0
31
Santiago de Chile
I think because no need build an entire ROM just system.img, this .img is the same for all devices, so the AOSP devs can update ROMs for all devices in one time, only boot and vendor change depending of each device. I can be wrong
 
  • Like
Reactions: NatriumLink

dawid0089

Senior Member
Oct 14, 2010
277
54
0
I install havoc os with los vendor from android Q thread and no errors . Even NFC work .Only bug is capactive button leds blinking randomly