how to integrate an app with GSI build ? - Treble-Enabled Device Questions and Answers

I have built a GSI here :
https://forum.xda-developers.com/pr...abled-device-development/rom-aosp-10-t4008307
but in-call audio isn't working , so i need to integrate phhusson Treble_app to get it working :
https://github.com/phhusson/treble_app
i tried a couple of ways through android.mk & vendor but both builds doesn't boot ,
any ideas how ??

Related

[ROM][AOSP][manta] Classic Pie 08-2019 / AospExtended-v6.7 (DISCONTINUED)

It's AOSP time ..
Android Pie ..
manta-Classic_Pie_08-2019_AOSP_9.0.0_r46_followmsi.zip --> DISCONTINUED
AospExtended-v6.7-manta-20191018-1203-UNOFFICIAL.zip --> DISCONTINUED
Known issues:
- NavBar works good, but no icons visible. (AospExtended only)
- NFC may not work correctly and drains a lof of battery - Pls disable thru settings menu.
- HWC (hardware composer) is partly broken (icons are not shown correctly and black home screen)
- Encryption seems not work - and has not been tested. -> Pls do not encrypt your data partition yet.
- Camera is not working .. same problem like on Nougat. (broken HAL1 camera and unsupported HAL2 camera)
- If you set pin, pattern or password to unlock the device pls be patient - if you press "confirm" the system is freezing for a few minutes - just wait.
Oreo ..
manta-Classic_01-2019_AOSP_8.1.0_r60_followmsi.zip --> DISCONTINUED
Known issues:
- Headphone jack is not fully working (Pls use the "AudioJack" kernel -> 3.4.67 - current standard kernel for all Oreo ROMs)
- If you install Magisk, pls disable Magisk "Hide" feature. (3.4.113 kernel issue)
- NFC has been taken out - still not working.
- Camera is not working .. same problem like on Nougat. (broken HAL1 camera and unsupported HAL2 camera)
- If you set pin, pattern or password to unlock the device pls be patient - if you press "confirm" the system is freezing for a few minutes - just wait.
Nougat ..
AOSP_7.1.2_r28_N2G48C_manta-ota-eng.followmsi-v1.zip --> DISCONTINUED
Known Issues:
- Camera is not working (broken HAL1 camera and unsupported HAL2 camera)
- Bluetooth is not working - fixed
- Audio jack is not working - fixed (still "old" kernel - 2017-05-09)
System and Cache repartitioning / Opengapps: Error 70
The current system partition is (getting) full !
You need to do repartition your system and cache partitions .. either via TWRP package or manually via shell.
It's an one time task.
But the filesystem of the system.img inside the ROM will keep always the same size .. approx. 800mb.
The filesystem does not know the "real" size of the actual partition.
In general .. If you install an image into a partition the filesystem will have the size of the image (in our case 800mb).
The free space we got thru repartitioning needs to be allocated again.
For this reason we need to enlarge/resize the filesystem after each ROM update and/or clean install.
Only the filesystem .. the partition itself will stay untouched.
The automatic enlarge/resize of the filesystem is part of the ROM installer.
For manual repartitioning have a look here:
https://forum.xda-developers.com/showpost.php?p=77759823&postcount=953
https://forum.xda-developers.com/showpost.php?p=77762148&postcount=954
For automatic repartitioning have a look here:
https://forum.xda-developers.com/showpost.php?p=77764246&postcount=957
https://forum.xda-developers.com/showpost.php?p=77770425&postcount=960
@ipdev - Thanks for your TWRP flashable repartitioning package !
Installation:
1. Boot into TWRP
2. Wipe system, cache and dalvik (Not required if you upgrade from previous build)
3. Install ROM.zip from above
4. install opengapps or beansgapps (arm) (optional)
5. install SuperSU.zip and/or Magisk.zip
6. Reboot into system
- Please install Magisk.zip and/or SuperSu.zip yourself.
- Due to systemless rooting - if you have installed magisk and/or supersu before you need to install it again !
- If you install SuperSu.zip it will boot twice - no panic, it's normal !
- If you had gapps installed before you don't need to install gapps again - the installer will take care.
- If you face any strange issues, pls do a factory reset via TWRP first.
Gapps:
The AOSP installer does not support "/system/addon.d/" scripts !
For this reason Gapps are not persistent like in LineageOS or in other custom ROMs.
I have modified the installer script to add this functionality.
You should be able to keep your gapps installation when you upgrade the ROM.
SuperSU and/or Magisk:
SuperSU.zip and/or Magisk.zip has always to be installed after ROM installation/upgrade - because of systemless rooting.
If you install SuperSu.zip it will boot twice - no panic, it's normal !
SOURCES:
If you want to build your own ROM ..
https://github.com/followmsi/manifests/tree/manta-aex-pie
https://github.com/followmsi/manifests/tree/manta-aosp-pie
https://github.com/followmsi/manifests/tree/manta-aosp-oreo
https://github.com/followmsi/manifests/tree/manta-aosp-nougat
DOWNLOAD:
https://androidfilehost.com/?w=files&flid=289294
https://drive.google.com/open?id=0By6p5AdQfavBNHkxVWhNOW5CdVk
Thanks to @sooti and @Khaon !
Enjoy
Is this "Pixel C" version with new tablet recents?
stunned said:
Is this "Pixel C" version with new tablet recents?
Click to expand...
Click to collapse
Most probably not .. it seems they are not part of AOSP yet - they are included in stock firmware.
Tested the new "stuff" on my Pixel C running AOSP as well .. the "new" mutil windows view did not work as in stock firmware.
Maybe it's related to the new Pixel Launcher .. maybe they are "hidden" and not activated in AOSP.
Also the battery usage alerts were not working on Pixel C ASOP build.
Need to check this ..
Maybe I need to do a complete wipe and start from scratch to get all the new nice stuff working ? .. )
You may have test yourself on manta ...
Cheers
followmsi said:
Most probably not .. it seems they are not part of AOSP yet - they are included in stock firmware.
Tested the new "stuff" on my Pixel C running AOSP as well .. the "new" mutil windows view did not work as in stock firmware.
Maybe it's related to the new Pixel Launcher .. maybe they are "hidden" and not activated in AOSP.
Also the battery usage alerts were not working on Pixel C ASOP build.
Need to check this ..
Maybe I need to do a complete wipe and start from scratch to get all the new nice stuff working ? .. )
You may have test yourself on manta ...
Cheers
Click to expand...
Click to collapse
Pixel c has its own Aosp tree or branch or whatever it is called. We already have the different navkey layout which is not available on phone aosp.
stunned said:
Pixel c has its own Aosp tree or branch or whatever it is called. We already have the different navkey layout which is not available on phone aosp.
Click to expand...
Click to collapse
For the pixel c AOSP version I have used the pixel c branch.
Still not working ..
Just installing new pixel c launcher on the pixel c to see the difference .. if at all.
We will see if and how we can "enable" those features .. on manta hopefully too.
Sent from my AOSP on dragon using Tapatalk
Keep getting error Bluetooth share keeps stopping, flashed with gapps, and without, same error
dnp77 said:
Keep getting error Bluetooth share keeps stopping, flashed with gapps, and without, same error
Click to expand...
Click to collapse
Yep .. will have a look.
Plenty of Bluetooth changes in 7.1.2.
Thanks for the info.
SetupWizard
If you do a clean install and install opengapps there are issues with the gapps "SetupWizard" on 7.1.2 !
Have a look here ...
https://forum.xda-developers.com/showpost.php?p=71740178&postcount=267
You can also mount system (RW) and type:
Code:
echo "ro.setupwizard.mode=DISABLED" >> /system/build.prop
in TWRP terminal. This will allow you to bypass the SetupWizard altogether on a clean flash.
As it looks like the gapps team is working on an replacement SetupWizard for 7.1.2 ..
Cheers
New version ..
AOSP_7.1.2_r2_N2G47E_manta-ota-eng.followmsi-v2.zip
Installation:
1. Boot into TWRP
2. Wipe system, cache and dalvik (no need to wipe system if you upgrade from previous build)
3. Install AOSP_7.1.2_r2_N2G47E_manta-ota-eng.followmsi-v2.zip
4. Install open_gapps-arm-7.1-xxxx-2017xxxx.zip (optional)
5. Install SuperSU-v2.79-201612051815.zip (optional)
6. Reboot into system
- If you had gapps installed before you don't need to install gapps again - the installer will take care.
- Due to supersu installation it will boot twice - no panic, it's normal !
- If you face any strange issues, pls do a factory reset via TWRP first.
- The SetupWizard from gapps is still buggy on 7.1.2
- Camera is not working
Changes:
- Bluetooth is working now !
Enjoy
Audio jack not working
Nicholas1994 said:
Audio jack not working
Click to expand...
Click to collapse
Thanks for the info .. same/similar problem like in LOS 14.1
Have updated the know issues now ..
Known Issues:
- Camera is not working
- Audio jack is not working
- Bluetooth is not working - fixed in v2
Not sure when the Audio jack issue will be fixed ..
Cheers
followmsi said:
Thanks for the info .. same/similar problem like in LOS 14.1
Have updated the know issues now ..
Known Issues:
- Camera is not working
- Audio jack is not working
- Bluetooth is not working - fixed in v2
Not sure when the Audio jack issue will be fixed ..
Cheers
Click to expand...
Click to collapse
What kernel are you using? this is what you should be using. the issue has something to do with changes in merges beyond 3.4.67, try mine if you want a working kernel with headphone support
sooti said:
What kernel are you using? this is what you should be using. the issue has something to do with changes in merges beyond 3.4.67, try mine if you want a working kernel with headphone support
Click to expand...
Click to collapse
Cool .. This works well
Compiled a new kernel using your sources .. really nice.
Thanks a lot !
New manta kernel .. fixing Audio jack !
manta-kernel_kernel-flasher-5.1-20170409.zip
manta-kernel_kernel-flasher-5.1-20170409.zip.sha1
Installation:
1. Boot into latest TWRP
2. Install manta-kernel_kernel-flasher-5.1-20170409.zip
3. Reboot into system
No need for SuperSU ... or anything else.
The installer will take care.
Thanks to @sooti for the information.
Enjoy
Audio jack Works fine now , thanks for a super rom ?
AOSP - Music.apk
The current Music AOSP app is not working .. google did forget to implement a patch
https://groups.google.com/forum/#!topic/android-rpi/LNUCjXXvn2U
This problem occurs on all 7.1.2 AOSP ROMs.
Here is the patch:
https://android.googlesource.com/pl...+/6036ce6127022880a3d9c99bd15db4c968f3e6a3^!/
Have cherry-picked this patch now and compiled the Music.apk again.
You still need to manually grant access to "storage" for the app.
Made a quick installer to replace the broken apk ..
AOSP_7.1.2_r2_Music.apk_fixed-for-Android-N_manta.zip
Maybe I will remove the app next release completely.
Cheers
Grid view
Google has activated the "grid" view of your recent apps for a few devices in 7.1.2.
It's part of AOSP already.
If you would like to use this feature .. just activate it
Pls type inside terminal app as root ..
mount system RW:
Code:
mount -o rw,remount /system
activate grid:
Code:
echo "ro.recents.grid=true" >> /system/build.prop
Reboot into system ...
I am not sure if we should activate this view per default in the next release.
Some comments please
followmsi said:
Grid view
Click to expand...
Click to collapse
For tablet layout and a 10" screen size I prefer recents grid view, thanks for the hint. :good:
Now all the fresh changes are included ...
AOSP_7.1.2_r2_N2G47E_manta-ota-eng.followmsi-v3.zip
Changes:
- Added new kernel to fix Audio jack
- Enabled "Grid View" per default
- Fixed Music.apk
Installation:
1. Boot into TWRP
2. Wipe system, cache and dalvik (no need to wipe system if you upgrade from previous build)
3. Install AOSP_7.1.2_r2_N2G47E_manta-ota-eng.followmsi-v3.zip
4. Install open_gapps-arm-7.1-xxxx-2017xxxx.zip (optional)
5. Install SuperSU-v2.79-201612051815.zip (optional)
6. Reboot into system
- If you had gapps installed before you don't need to install gapps again - the installer will take care.
- Due to supersu installation it will boot twice - no panic, it's normal !
- If you face any strange issues, pls do a factory reset via TWRP first.
- The SetupWizard from gapps is still buggy on 7.1.2
- Camera is not working
Enjoy
To finalize the manta kernel testing I have made a last version ..
Activated 1 more governor .. and used a cherry-pick to speedup AC charging.
manta-kernel-aosp_kernel-flasher-5.1-20170413.zip
Changes:
- ONDEMAND CPU governor activated
- The kernel has included changes to speed up AC charging
Installation:
1. Boot into latest TWRP
2. Install manta-kernel-aosp_kernel-flasher-5.1-20170413.zip
3. Reboot into system
No need for SuperSU ... or anything else.
The installer will take care.
If you face any strange issues, pls let me know.
Enjoy

[ROM][FINAL][9.0] LineageOS 16.0 for Xperia ZL

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 ROM
* 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.
*/
About LineageOS
LineageOS is a free, community built, aftermarket firmware distribution of Android 9.x (Pie),​which is designed to increase performance and reliability over stock Android for your device.​​All the source code for LineageOS is available in the LineageOS GitHub repo.​And if you would like to contribute to LineageOS, please visit our Gerrit Code Review.​​Official LineageOS website : http://lineageos.org​​
Downloads Links
LineageOS 16.0 (Unlocked Bootloader) :​Test builds :
lineage-16.0-20191019-UNOFFICIAL-odin.zip | by CyberWalkMaN for Xperia ZL
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
​​Google Applications (optional) :​OpenGapps : http://opengapps.org/ (Use packages for ARM, Android 9.0, Nano or Pico)​Information : Flash the GApps before the first boot. If not, a clean flash is recommended.​​Flashing and updating​LineageOS clean install :​- (Optional) Flash the boot.img kernel from the ROM zip with Fastboot or Flashtool​- (Optional) Wipe the data & cache (Backup to make sure not to loose data)​- Flash the LineageOS ROM zip from the Recovery​- (Optional) Flash the GApps to have the Google Applications​- (Optional) Every additional zip you want to flash​- Reboot​​LineageOS update / upgrade :​- (Information) Don't wipe anything unless you want to​- (CM / UNOFFICIAL) Nothing to wipe when switching​- (FUTURE RELEASES) Might need clean, informations will be updated​- Flash the latest LineageOS ROM zip from the Recovery​- (Optional) Flash the GApps on first install / upgrade. Not required later, but do update sometimes​- (Optional) Every additional zip you want to flash​- Reboot​​LineageOS addonsu for root access :​- (Information) Read the Root section of the Q&A thread​- (Download) Download the addonsu for arm : LineageOS Downloads / Extras​- (Optional) Flash the zip on a working Lineage installation (once)​- (Information) Upon ROM updates, the addonsu is preserved​- Reboot​​
​Issues and reports​- Report issues only if you are using the ROM kernel​- If an additional mod is installed, make sure it's unrelated, and mention it​- Make sure the issue wasn't discussed earlier in the threads​- Share a log of the error with CatLog for example​​
​About LineageOS Legal : http://lineageos.org/legal/​​The LineageOS team would like to thank everyone involved​in helping with testing, coding, debugging & documenting! Enjoy!​​
​Also thanks to :​- The LineageOS Team​- The CyanogenMod Team​- Everyone involved in working and testing​
XDA:DevDB Information
[ROM][FINAL][9.0] LineageOS 16.0 for Xperia ZL, ROM for the Sony Xperia ZL
Contributors
CyberWalkMaN, AdrianDC
Source Code: https://github.com/fusion3-common
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Created 2019-04-22
Last Updated 2019-10-20
FEATURES AND ISSUES
Code:
- Boot : Ok
- GApps : OpenGApps Nano Ok
- FOTA Recovery : Ok (see below)
- WiFi : Ok (real SONY MAC address)
- Bluetooth : Ok (real SONY MAC address)
- WiFi Hotspot : Ok (2.4GHz only)
- RIL - Phone - Data : Ok
- GPS : Ok
- Camera : Ok
- Camcorder : Ok
- MicroSD : Ok
- Accelerometer : Ok
- Compass : Ok
- Gyroscope : Ok
- AOSP sensors : Ok
- FM Radio : Ok
- Vibrator : Ok
- Microphone : Ok
- Audio & external audio : Ok
- Bluetooth audio : Ok
- NFC : Ok
- Kernel : Ok
- Graphics : Ok
- 3D Rendering : Ok
- Clock : Ok
- Offline Charging : Ok
- SEPolicies : Work In Progress
At the moment, FM radio, manual network selection and auto brightness does not work (maybe something else). New builds will be uploaded as source updates / bug fixes are updated.
camera ok?
using as a daily cell phone, this is fast, congratulations.
Switch from nkomarn Lineage 16.O build. Camera works okay, so it was great. Only problem is flashing twrp, cannot successful flash using the app. Always go back to lineage recovery even light indicator goes purple to orange. Any workaround?
Also power off function not work, it rebooted. Anyways, it was great and thank you for continue work on this. Cheers! ?
Sent from my Sony Xperia ZL using XDA Labs
Just started testing this Rom, my feedback for now is:
Autorotate is not working.
Can't change any sound (calls, SMS, etc)- (APP crashes).
I've experienced some random reboots in the first few hours after flashing, it seems stable now.
Advanced reboot is not working properly.
Magisk is working fine.
Nova Launcher is working fine.
I'll continue to test...
Hope my feedback can help make this better.
hi, many thanks to develper! smooth running even such older device! the only issue is battery indicator always start from 12% but I am not sure if it is common issue.
Flash the latest build 0803, Sensors are now working. Auto Rotate is working, since sensor driver is there. FM Working properly also.
Still have issue on Turn Off, it keep restarting.
Cannot able to flash Twrp Recovery, still booting to lineage recovery.
But still, thank you for your time on updating this Rom
Sent from my Sony Xperia ZL using XDA Labs
Fiz uma instalação limpa do zero. Há 2 dias estou usando e sem bugs, ou reinicialização inesperada. Ótimo trabalho e muito obrigado por isso =D
New build uploaded (lineage-16.0-20190824-UNOFFICIAL-odin.zip), major changes since May:
All sensors works now (Thanks to @Chippa_a)
Manual network selection fixed
Telegram calls fixed (Need to confirm)
FM Radio fixed
Small gps improvement
Performance improvement
Updated kernel (fixed bug with rebooting instead of shutting down and some other bugs), also we now use binder and lmk from AOSP 3.18 kernel
SELinux denials resolved at 90%
Magisk issue fixed
Android 9.0.0_r46 (August security patches)
Addonsu is already included, you can enable root access in the developer settings
CyberWalkMaN said:
New build uploaded (lineage-16.0-20190824-UNOFFICIAL-odin.zip), major changes since May:
All sensors works now (Thanks to @Chippa_a)
Manual network selection fixed
Telegram calls fixed (Need to confirm)
FM Radio fixed
Small gps improvement
Performance improvement
Updated kernel (fixed bug with rebooting instead of shutting down and some other bugs), also we now use binder and lmk from AOSP 3.18 kernel
SELinux denials resolved at 90%
Magisk issue fixed
Android 9.0.0_r46 (August security patches)
Addonsu is already included, you can enable root access in the developer settings
Click to expand...
Click to collapse
Thank you for the update! I dirty-flashed it over the 0803 build. You see, I run the stable Magisk v19.3, which, along with some modules, then allowed me to pass both Safetynet tests. Not anymore. As you stated that Selinux was almost ready, I had uninstalled ibuprophen's The SELinux Switch app prior to flashing the new build. I was using it in order to set Selinux to enforcing. As Selinux is still off in the new build, I tried to install the app back, but the new build doesn't allow me to do it. Even the zip, although correctly installed in recovery, after booted up, no SELinux Swich app is in the drawer, because directory /data/app/com.ibuprophen.selinux-1 has been deleted during the boot up process! What's happening?
EDIT: I decided to do a clean install. Everything is back to normal! Thanks, anyway!
Pixel Launcher
Thanks again for your hard work in bringing Android 9 to this very old, but still powerful, device of ours.
Well, I prefer Pixel Launcher over the embedded home app, but it keeps crashing all the time upon being selected as the default home app. For those who also plan to use Pixel Launcher, edit /data/system/packages.xml, and add up the following entries, under <package name="com.google.android.apps.nexuslauncher"> and <perms>:
Code:
<item name="android.permission.STATUS_BAR" granted="true" flags="0" />
<item name="android.permission.MANAGE_ACTIVITY_STACKS" granted="true" flags="0" />
Could you make such changes in your next build?
After flashing the 0824 build, i experienced much better scrolling experience, performance improved a lot.
Also Twrp works now and turn off function work properly, no need to reboot and press volume down go to stock recovery just to turn this off. So thank you for continue working on this
Sent from my Sony Xperia ZL using XDA Labs
I thank you for continuing to develop! I'll install that, i report issues!
Perfect, bug-free, fast and stable ROM, using with magisk, everything runs perfectly.
New build uploaded (lineage-16.0-20191019-UNOFFICIAL-odin.zip), major changes since August:
Fast battery drain fixed (for 15.1 nightlies too)
SELinux denials resolved at 99% (You can make builds in enforced SELinux, but I would recommend continuing to build them in permissive). Current build in permissive SELinux.
Oktober security patches
Minor performance and stability improvements (for 15.1 nightlies too)
Added missing props for gps and Miracast.
Build status - Stable.
Addonsu is already included, you can enable root access in the developer settings
This is where my support for android 8-9 for Z/ZL/ZR/Tablet Z ends, this build will be the last. All the changes made in the sources are already available on github.com/LineageOS, if someone wants to continue supporting and get the official LineageOS 16.0 - write to PM, I will explain in detail what remains to be done in the sources. Also, if someone wants to try to build other roms for our devices based on android 8-9 from the available sources - try to choose CAF-based roms (for example, AOKP, LineageOS, Ressurection Remix, AICP, etc.), then with 95% chance you will build and run the rom. Our sources are based on CAF, and for the build of roms based on AOSP, additional fixes are required, plus there will be problems with sound anyway.
I also want to note that I made a most part of the changes made in 16.0 to the official 15.1 nightlies, which should significantly improve their stability and performance
CyberWalkMaN said:
New build uploaded (lineage-16.0-20191019-UNOFFICIAL-odin.zip), major changes since August:
Fast battery drain fixed (for 15.1 nightlies too)
SELinux denials resolved at 99% (You can make builds in enforced SELinux, but I would recommend continuing to build them in permissive). Current build in permissive SELinux.
Oktober security patches
Minor performance and stability improvements (for 15.1 nightlies too)
Added missing props for gps and Miracast.
Build status - Stable.
Addonsu is already included, you can enable root access in the developer settings
This is where my support for android 8-9 for Z/ZL/ZR/Tablet Z ends, this build will be the last. All the changes made in the sources are already available on github.com/LineageOS, if someone wants to continue supporting and get the official LineageOS 16.0 - write to PM, I will explain in detail what remains to be done in the sources. Also, if someone wants to try to build other roms for our devices based on android 8-9 from the available sources - try to choose CAF-based roms (for example, AOKP, LineageOS, Ressurection Remix, AICP, etc.), then with 95% chance you will build and run the rom. Our sources are based on CAF, and for the build of roms based on AOSP, additional fixes are required, plus there will be problems with sound anyway.
I also want to note that I made a most part of the changes made in 16.0 to the official 15.1 nightlies, which should significantly improve their stability and performance
Click to expand...
Click to collapse
Thanks for your hardwork and making a stable build, but i encounter issue Installing it.
Clean Flash it including system, but result in Rebooting to twrp, tried to flash previous Build then Update, stuck to Boot Animation and Reboot to Twrp. I'm quite sure the file is not corrupted, downloaded it two times. Sadly it was the Final build but hoping you will address and fix it. Thanks
[Updated]
Hello!!
Kran007 said:
Thanks for your hardwork and making a stable build, but i encounter issue Installing it.
Clean Flash it including system, but result in Rebooting to twrp, tried to flash previous Build then Update, stuck to Boot Animation and Reboot to Twrp. I'm quite sure the file is not corrupted, downloaded it two times. Sadly it was the Final build but hoping you will address and fix it. Thanks
[Updated]
Click to expand...
Click to collapse
Could you try the rom? or you can't intall it anyway? I gonna try it in the xperia zl that i will give to my father, but i can't get some error, He gona kill me! Actually , his ZL is running august version.
Can someone make a Build with December Security Patch?

how to integrate an app with GSI build ?

I have built a GSI here :
https://forum.xda-developers.com/pr...abled-device-development/rom-aosp-10-t4008307
but in-call audio isn't working , so i need to integrate phhusson Treble_app to get working :
https://github.com/phhusson/treble_app
i tried a couple of ways through android.mk & vendor but both build doesn't boot ,
any ideas how ??

[SGSI][Pie][Semi-bugless]MIUI 11

Welcome to MIUI sGSI For Galaxy J7 2017
TESTED ON J730X​
Some information you should know..
This is a fully working MIUI sGSI with Android version 9.0
If you want to report a Bug, read the F.A.Q First Then provide a logCat OR LoggingKit.zip with detailed explanation
Read the instructions and the F.A.Q Before installing the rom or posting a reply.
I don't own any files here, except patch files.
So, we are here with sGSI. It's normally called "unstable" and "not for daily usage" so users are recommended to go for GSI. But GSI lacks features and has AOSP-like design that some users may be bored of that. And now we finally break that law. sGSI can now be used as daily drivers.
As the nature of these sGSI go, it was a non stop battle for almost 3 weeks straight to get it to this point where all features are working as expected. if you appreacite this work Hit the Thanks button
RULES OF POSTING : READ everything before commenting, And especially the instlal steps, the rom has been tested throughly for a long time, so if you have an critical issue like not booting or no sim, you missed the instructions, posts that are irrelevant to this project will be ignored(Constructive criticism is welcomed). If you do face a new bug however, dont just say "hey bug here" provide more information, and a LOGCAT, bug reports without logcats will most likely be ignored.
FEATURES:
Based on MiuiMiX 11 by MMX Team 9.12.26 using ErfanTools
Android 9.0
MIUII 11 Features
Semi-SIM support (Currently one SIM only)
Heavily debloated
Zipaligned
Very Optimised
Battery and performance focused
Full MIUI without missing vital apps
Rootable with Magisk
RMM/KnoxGuard/Defex Free
And many more
Kernel:
You can choose either latest CronosKernel by @ananjaser1211, or KRAKEN kernel by @SPARTANICUS
Install steps:
ensure you have LATEST TWRP from Here
Download all the files in the DOWNLOAD section
Wipe everything (SYSTEM,DATA,CACHE,DALVIK and preferably Internal storage all together)
Flash Project Spaget 3.0 (not X!) here and follow the steps there.
Flash MIUI-Aonly-9-20191230-ErfanGSI.img to SYSTEM
Flash your desired kernel, either Cronos or KRAKEN (must be using Treble version)
[IMPORTANT] Flash Magisk in order to have patch working
Flash sGSI-Patch.zip
Flash NFC Patch
After the boot animation is on for 30~60 Seconds. Hold VolumeDown+power until the device reboots
Install Google Play Services apk in Downloads section in order to get setup working
Setup your rom and READ the F.A.Q for more information.
BUGS:
Signal bar doesn't work (always empty) but it's acturally working
FM Radio (No FM Radio app in image)
Only one SIM is working at the moment
VoLTE not working (need another fixes)
SCREENSHOTS:
Imgur
CREDITS:
IF you helped in this GSI and i forgot you, tell me in a PM or in a reply
@ananjaser1211 for his Project Spaget, CronosKernel and HUGE contribution for Exy7870
@SPARTANICUS for KRAKEN Kernel
@SrCDA for his NFC patch
@erfanoabdi for his tools to port GSIs
And the rest of EliteTeam
DOWNLOADS ARE IN POST 2
DOWNLOADS:
Official Treble support Group : Telegram
----------------------------------------------------------------
All files are uploaded here: Google Drive
GSI: Here (My Google Drive acted up and does not let me upload any more files)
FAQ:
Good idea to read this F.A.Q While the rom is installing
Notes:
Q : Brightness bar not working / Camera doesn't work
A : You have flashed Spaget X instead of Spaget 3.0. Reinstall again
Q : Phone doesn't detect any SIM cards
A : Flash latest Cronos/KRAKEN kernel
Q : Everything on my screen is so small [J730 only]
A : Go to Settings > Developer settings > Set screen density to 411
Q : I got front camera stretch
A : Change resolution from 16:9 to 4:3
Q : Can I use front flashlight?
A : No, Samsung has their own libs, for now no apps can use front flashlight. Back flashlight still works
Q : How is battery Life ?
A : With some tests and some cycles, it will be better than stock due to optimzations
Q : the phone wont install any apps
A : Reboot
One more
does the rom have some type of error for daily use
VoLTE : Not work, need flash Magisk Module and using Phone App to VoLTE work
All work normal, just a Android Pie but like Android Q MIUI :good:
Great work
The first boot is so longer? I've waiting more than 10 minutes and don't boot. Or is bootloop?
And i've not found the MIUI-Patch.zip, only sGSI-Patch.zip
What android version is this? Can i flash the official magisk? There's no camera stretch bug? Like other gsi rom?
gabriel.oliveira.brito said:
The first boot is so longer? I've waiting more than 10 minutes and don't boot. Or is bootloop?
Click to expand...
Click to collapse
After the boot animation is on for 30~60 Seconds. Hold VolumeDown+power until the device reboots
gabriel.oliveira.brito said:
And i've not found the MIUI-Patch.zip, only sGSI-Patch.zip
Click to expand...
Click to collapse
Thanks for noticing, I forgot to rename the file.
NindoS said:
VoLTE : Not work, need flash Magisk Module and using Phone App to VoLTE work
Click to expand...
Click to collapse
I don't use VoLTE, so I couldn't test if it works. Can you tell me which Magisk module you used?
NindoS said:
All work normal, just a Android Pie but like Android Q MIUI :good:
Great work
Click to expand...
Click to collapse
Nice
Updated FAQ and sGSI patch. I forgot to add an important fix in patch, so anyone using this MIUI, reflash the new patch right now :good:
I tried again, followed all the steps as requested. On the first boot, I restarted the phone after approximately 30 seconds. But I still bootloop. I'm using Project Spaget 3.0, but I can't find a topic in the forum. Could you send me your Project Spaget zip file?
My logcat is on attachments
nfc not working. I installed the fix on the twrp and it failed, I had to install the fix when I started the cell phone so that it did not give me an error and it appears as a module installed in magisk but it does not work
Working fine but having bug
I have a bug with the WhatsApp application when viewing the stories that contain videos are not played and the app freezes.
I attach my log Cat about the error
I have problems with external storage, the system does recognize it but with third-party apps such as file explorer or streaming apps like spotify they don't detect external storage, I've tried to modify the vold.fstab and nothing. some fix they have
dani_hedz said:
I have problems with external storage, the system does recognize it but with third-party apps such as file explorer or streaming apps like spotify they don't detect external storage, I've tried to modify the vold.fstab and nothing. some fix they have
Click to expand...
Click to collapse
It's sGSI related problem, don't know why it happens
argenmu09 said:
nfc not working. I installed the fix on the twrp and it failed, I had to install the fix when I started the cell phone so that it did not give me an error and it appears as a module installed in magisk but it does not work
Click to expand...
Click to collapse
It works for me
Wi-Fi not working

[TREBLE][A64][VENDOR] Project Treble v1.5 Ported to J710X

This is ananjaser1211's "Project Treble v1.5" ported to our device.
All useful information and instructions are provided in Downloads. Please take your time and read them carefully to ensure that you have an idea of what you are going to do.
Based on A600FNXXU3BSC5
Features:
- This is an A64 (arm32_64binder) a-only vendor.
- Very small vendor means more system space. If you flash SMOL Repartitioner you can have 2.9GB of system space!
- Powered by Kraken Kernel RC12 by @SPARTANICUS
Bugs (tested on J710MN with PHH AOSP):
- Stretched Camera at 1080p+ and HDR
- Whatsapp video recording (can be fixed, check downloads.)
This was ported to support Android 10 GSIs, Don't expect it to work nicely with SGSIs.
This is NOT an ARM64/ARM vendor!
There are some people who are flashing ARM64 and ARM GSIs and expect this vendor to boot it. It won't boot. This vendor is only compatible with arm32_binder64 a only GSIs!
Home and Recents button not working?
This happens in any GSI with gapps built-in. It is caused by a broken setup wizard.
To fix this you must connect to ADB and enter the following commands:
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1
Or just flash OpenGapps on top of the GSI
Requirements:
- Oreo bootloader (J710)
- A brain and common sense
- Latest TWRP, I recommend OrangeFox
Downloads:
Documents for installation:
https://drive.google.com/folderview?id=15uqnvlah4eCUAKOIn47Uw9x_98AQEvAf
Vendor installation files:
https://drive.google.com/folderview?id=18pilOb4sMiaCHSyWICX2Mc7RHyCK5Vv2
Patches and Fixes:
- Single Sim:
https://drive.google.com/file/d/1F8CHL48cd53pIRRY0oFOvanFFWKaPAAu/view?usp=drivesdk
- OMX (Fixes Whatsapp recording.):
https://drive.google.com/file/d/17-HkuxNjndqtGql-3pMHDWUtwSjb0fIm/view?usp=drivesdk
GSIs:
PHH's GSI list:
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Flash any ARM GAPPS of your liking. I would use OpenGapps!
Credits:
- @ananjaser1211 For making Project Treble possible on our devices with his hard work.
- @corsicanu For great help with repartition scripts and other help such as GSI patching.
- @prashantp01 For overlay fixes, native camera fix and other contributions.
- @kique119 For testing and documenting the original 'Treble Vendor v1.5'.
- @SPARTANICUS for his work creating and maintaining Kraken Kernel.
Testers:
- @SirDoz (J710)
- @songoku0210 (J701)
And others who have contributed to SpagetX and Treble Vendor v1.5.
If you wish to have your name(s) removed from here please contact me via Telegram: @SirDoz or Discord: Doz#2512
Last updated on March 22th 2020
This project is no longer being updated.
If you found bug fixes then feel free to share to everyone.
reserved
SirDoz said:
This is ananjaser1211's "Project Treble v1.5" ported to our device.
All useful information and instructions are provided in Downloads. Please take your time and read them carefully to ensure that you have an idea of what you are going to do.
Based on A600FNXXU3BSC5
Features:
- This is an A64 (arm32_64binder) a-only vendor.
- Very small vendor means more system space. If you flash SMOL Repartitioner you can have 2.99GB of system space!
- Powered by Kraken Kernel RC12 by @SPARTANICUS
Bugs (tested on J710MN with PHH AOSP):
- Stretched Camera at 1080p+ and HDR
- Whatsapp video recording
This was ported to support Android 10 GSIs, Don't expect it to work nicely with SGSIs.
Requirements:
- Oreo bootloader (J710)
- A brain and common sense
- Latest TWRP, I recommend OrangeFox
Downloads:
Documents for installation:
https://drive.google.com/folderview?id=15uqnvlah4eCUAKOIn47Uw9x_98AQEvAf
Vendor installation files:
https://drive.google.com/folderview?id=18pilOb4sMiaCHSyWICX2Mc7RHyCK5Vv2
Patches and Fixes:
- Single Sim:
https://drive.google.com/file/d/1F8CHL48cd53pIRRY0oFOvanFFWKaPAAu/view?usp=drivesdk
GSIs:
PHH's GSI list:
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list
Flash any ARM GAPPS of your liking. I would use OpenGapps!
Credits:
- @ananjaser1211 For making Project Treble possible on our devices with his hard work.
- @corsicanu For great help with repartition scripts and other help such as GSI patching.
- @prashantp01 For overlay fixes, native camera fix and other contributions.
- @kique119 For testing and documenting the original 'Treble Vendor v1.5'.
- @SPARTANICUS for his work creating and maintaining Kraken Kernel.
Testers:
- @SirDoz (J710)
- @songoku0210 (J701)
And others who have contributed to SpagetX and Treble Vendor v1.5.
If you wish to have your name(s) removed from here please contact me via Telegram: @SirDoz or Discord: Doz#3006
Last updated on March 18th 2020
Click to expand...
Click to collapse
@ananjaser1211's Project Spaget X has media codec problem which makes the phone reboot when you try to watch a video from youtube. Does this treble have that problem too?
This vendor like project spaget x have several Reboots and mic not working ?
@strix said:
@ananjaser1211 's treble has media codec problem which makes the phone reboot when you try to watch a video from youtube. Does this treble have that problem too?
Click to expand...
Click to collapse
i did not work on this project, but since its ARM based, the isssues might be gone, i think he would have fixed the OMX issues causing camera and others to crash.
also good work , keep it up, glad people are making proper vendors again
ananjaser1211 said:
i did not work on this project, but since its ARM based, the isssues might be gone, i think he would have fixed the OMX issues causing camera and others to crash.
also good work , keep it up, glad people are making proper vendors again
Click to expand...
Click to collapse
I will try it now, thank you both for your awesome works!
Peyman2409 said:
This vendor like project spaget x have several Reboots and mic not working ?
Click to expand...
Click to collapse
Anan is right there are no issues like random reboots or YouTube reboots. Mic works also. I use this as a daily driver myself.
it is not clear what kind of craft? already have a working version of v2
wich rom you recommend for install ?
Peyman2409 said:
wich rom you recommend for install ?
Click to expand...
Click to collapse
It's not called ROM is called GSI
If you want stability and some customization then try out Pixel Experience or Evo X would do.
but its up to you to choose what you want.
I myself use phh aosp with substratum themes.
i tested today .
no longer reboot problem Thanks.
but i have mic problem when voice call .
how i can fix it ?
is just gsi have this problem other roms are fine.
Peyman2409 said:
i tested today .
no longer reboot problem Thanks.
but i have mic problem when voice call .
how i can fix it ?
is just gsi have this problem other roms are fine.
Click to expand...
Click to collapse
I don't have this issue. I'm using J710MN Caller and I can hear each other. I think it could be a dual sim issue because I only use 1 sim
I will get another sim and confirm tho
Hey bro
I.ve installed evey thing right
But when i boot it gives me black screen even i do reboot.
I tried arrow rom a-only
Miui 9 a-only
Zenui a-only
I still have black screen when i boot so wts wrong i did
Mohamed Ashours said:
Hey bro
I.ve installed evey thing right
But when i boot it gives me black screen even i do reboot.
I tried arrow rom a-only
Miui 9 a-only
Zenui a-only
I still have black screen when i boot so wts wrong i did
Click to expand...
Click to collapse
'a64' 'arm32_64binder'
This is not an ARM64 vendor and I think most SGSIs are ARM64
It's not ARM either
there's a difference between ARM and A64 GSIs
SirDoz said:
'a64' 'arm32_64binder'
This is not an ARM64 vendor and I think most SGSIs are ARM64
It's not ARM either
there's a difference between ARM and A64 GSIs
Click to expand...
Click to collapse
So i cant install any miui rom??
Mohamed Ashours said:
So i cant install any miui rom??
Click to expand...
Click to collapse
Unless it is A64 then you can't
SirDoz said:
Unless it is A64 then you can't
Click to expand...
Click to collapse
sorry but i didnt get that
all i know is [arm32 a only\\\a\ab] OR [arm64 a only or a\ab]
so which one will work on ur vendor ?!
Mohamed Ashours said:
sorry but i didnt get that
all i know is [arm32 a only\\\a\ab] OR [arm64 a only or a\ab]
so which one will work on ur vendor ?!
Click to expand...
Click to collapse
arm32_64binder a only
my phone reboot on lineage os. any fix for that?
alirzaturgt said:
my phone reboot on lineage os. any fix for that?
Click to expand...
Click to collapse
use phh aosp gsi and see if the reboot continues
if not then that's the GSI's problem

Categories

Resources