Coder Social home page Coder Social logo

treble_experimentations's Introduction

Community

How to build

  • clone this repository
  • call the build scripts from a separate directory

For example:

git clone https://github.com/phhusson/treble_experimentations
mkdir Lineage; cd Lineage
bash ../treble_experimentations/build-rom.sh android-8.1 lineage

More flexible build script

(this has been tested much less)

bash ../treble_experimentations/build-dakkar.sh rr
arm-aonly-gapps-su
arm64-ab-go-nosu

The script should provide a help message if you pass something it doesn't understand

Using Docker

clone this repository, then:

docker build -t treble docker/

docker container create --name treble treble

docker run -ti \
    -v $(pwd):/treble \
    -v $(pwd)/../treble_output:/treble_output \
    -w /treble_output \
    treble \
    /bin/bash /treble/build-dakkar.sh rr \
    arm-aonly-gapps-su \
    arm64-ab-go-nosu

Conventions for commit messages:

  • [UGLY] Please make this patch disappear as soon as possible
  • [master] tag means that the commit should be dropped in a future rebase
  • [device] tag means this change is device-specific workaround
  • ::device name:: will try to describe which devices are concerned by this change
  • [userfriendly] This commit is NOT used for hardware support, but to make the rom more user friendly

treble_experimentations's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

treble_experimentations's Issues

[Honor 9 Lite] Brightness is stuck at 40%

Hey, on the Honor 9 Lite the brightness slider does nothing. In the display settings it always says the brightness is at 40% (which is true, the brightness can't be adjusted and is really about 40% of it's maximum level)

If you need logs feel free to send me the neccessary commands and I will upload them here.

Best regards :)

Wrong security patches number?

HWMHA:/system # cat build.prop | grep ro.build.version.security_patch
ro.build.version.security_patch=2018-04-05
HWMHA:/system # getprop | grep ro.build.version.security_patch
[ro.build.version.security_patch]: [2018-01-01]

[Huawei Honor 7X] Audio playing through speaker when headphone jack is connected

I an issue where audio does not play through the headphone jack. It's similar to #49 and this old issue on XDA, though I don't know if that one was ever solved.

I took a quick log following your suggestion here. I asked Google Assistant to 'say something' with speakers first, then plugged in headphones and repeated the process, then unplugged them and did the same thing again. I don't have Bluetooth headphones, so unfortunately I can't test for that.

$ adb logcat -d | grep -C20 -iE '(alsa|usb|audio)'

https://pastebin.com/TKPeepUB

Also here's my getprop (Huawei Honor 7X)

[Oreo vendor on P][Kirin655][PRA-**] General camera issues

While taking a photo in a low light environment, the camera catches up a black pic.
This should be related to a shutter latency in my opinion, since it does shoot the pic after flash turn off.
Should affect other Huawei device as well.

Google Camera does not work ("Camera has stopped")

The Google Camera (from opengapps) closes shortly after it is opened on some phh-GSI devices (the Sony XZ1 Compact, in particular). Other Camera apks work correctly (e.g. Open Camera by M Harman).

This may be an opengapps issue, but opening here so that it can be identified as a known issue.

Relevant Logcat output:

04-09 01:43:20.827 D/AndroidRuntime( 4294): Shutting down VM
--------- beginning of crash
04-09 01:43:20.828 E/AndroidRuntime( 4294): FATAL EXCEPTION: main
04-09 01:43:20.828 E/AndroidRuntime( 4294): Process: com.google.android.GoogleCamera, PID: 4294
04-09 01:43:20.828 E/AndroidRuntime( 4294): java.lang.RuntimeException: java.lang.IllegalArgumentException: Could not find tag for key 'com.google.nexus.experimental2016.3a.hybrid_ae_enable')
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at dlx.run(PG:2)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.os.Handler.handleCallback(Handler.java:789)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.os.Handler.dispatchMessage(Handler.java:98)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.os.Looper.loop(Looper.java:164)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.app.ActivityThread.main(ActivityThread.java:6541)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at java.lang.reflect.Method.invoke(Native Method)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)
04-09 01:43:20.828 E/AndroidRuntime( 4294): Caused by: java.lang.IllegalArgumentException: Could not find tag for key 'com.google.nexus.experimental2016.3a.hybrid_ae_enable')
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.hardware.camera2.impl.CameraMetadataNative.nativeGetTagFromKeyLocal(Native Method)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.hardware.camera2.impl.CameraMetadataNative.setBase(CameraMetadataNative.java:978)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.hardware.camera2.impl.CameraMetadataNative.set(CameraMetadataNative.java:429)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.hardware.camera2.impl.CameraMetadataNative.set(CameraMetadataNative.java:433)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at android.hardware.camera2.CaptureRequest$Builder.set(CaptureRequest.java:590)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at iia.a(PG:4)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at gfx.a(PG:56)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at doo.a(PG:8)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at efs.a(PG:7)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at dlw.run(PG:7)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:457)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at jvp.b(PG:5)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at juu.run(PG:8)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at jvn.run(PG:11)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at java.lang.Thread.run(Thread.java:764)
04-09 01:43:20.828 E/AndroidRuntime( 4294): 	at avv.run(PG:8)

[Huawei P Smart - Kirin 659] Sporadic Error Messages

v18 (2018-05-14) - system.img for A-only ARM64 devices with GApps and SU

During use error messages will frequently pop up, the main two being Bluetooth has stopped and Google Play Store Service have stopped (not exact wording, I'll update when the error occurs again.

[Mate9] Bluetooth keeps stopping issue

When update my Mate9 firmware from MHA-AL00C00B231 to MHA-AL00 8.0.0.354, after fastboot flash system-arm64-aonly-gapps-su.img, always pop up error dialog "Bluetooth keeps stopping".

No Doze enabled

I have discovered my tablet doesn't enter doze state, even when using root apps Greenify of Naptime to force aggressive doze. Greenify's logs don't show any time in doze also I downloaded gsam battery monitor which shows no time in doze. I downloaded "Check Doze support" from XDA and it shows the doze config flag is not enabled. Here is a link to the app

https://forum.xda-developers.com/android/apps-games/app-check-doze-support-t3374265/post66741976?nocache=1#post66741976#

Upon further reading at source.android.com it seems doze is not enabled on AOSP by default, but can be integrated via the framework. Here is a link

https://source.android.com/devices/tech/power/mgmt#integrate-doze

Would it be possible for you to integrate doze in future builds? This would help extend the battery life for users of your build.

[Asus ZenFone Max Pro] Bootloop on some GSI

Some of the gsi boots
aex, rr, dotos, crdroid of p8-lite, aokp, DU by MZO

Some doesn't boot
aosp, AquariOS, BootleggersROM, DU by ATechnoHazard, FireHound, Aosip

Tested with/without magisk (stock boot.img) and with/without data encryption

HTC U11+ problem with boot

HTCU11+ with v14 - flashing fine, after flashing the charging lamp lights up, but it's still hanging on the Android logo. After factory reset charging lamp lights not up and phone still ganging on the Android logo. When I try to do logcat in fastboot shows: waiting for device. Maybe I'm gonnaflash TWRP and then I'll try?

SIM cards can't be recognized on Nokia 7 Plus

Here's the situation:

  1. Stock IMEI1 and IMEI2 can be recognized as expected.
  2. Stock MEID can't be recognized.
    P. S. Nokia Android Phones sold in China have both IMEI and MEID.
  3. None of SIM cards (from either GSM or CDMA carriers) can be recognized even reboot. After restored to stock firmware everything works fine.

Suggestion: Find a typical Android Phone sold in China with bootloader unlocked, supports GSM and CDMA Networks in China, Project Treble Supported.

Support rotated accelerometer

Some devices have wrong accelerometer axis (for example Chuwi Hi9 air)
We need a way to fix this on a per-device basis.

(Huawei Mediapad M5 SHT-W09) apps can't access /data/user/0/

Any apps I install seem unable to access /data/user/0/. Apps are crashing on open or not remembering settings. I have experienced this on versions 17 and 18 of Phh-Treble AOSP (Gapps and SU). I have tried factory resets and erasing userdata via fastboot but it hasn't helped. I have attached a logcat, would you be able to look at it for me?

mediapad.txt

[P10-Plus] Brightness slider doesnt work

Hey,

Brightness control works when i manually write values:
/sys/class/leds/lcd_backlight0 # echo '1500' > brightness

Log excerpt:

[...]
05-12 15:03:05.715 11103 11103 I ls      : type=1400 audit(0.0:1197): avc: denied { read } for name="lcd_backlight0" dev="sysfs" ino=34380 scontext=u:r:phhsu_daemon:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
05-12 15:03:05.715 11103 11103 I ls      : type=1400 audit(0.0:1198): avc: denied { open } for path="/sys/devices/platform/hisi_fb.1048577/leds/lcd_backlight0" dev="sysfs" ino=34380 scontext=u:r:phhsu_daemon:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=1
05-12 15:03:05.715 11103 11103 I ls      : type=1400 audit(0.0:1199): avc: denied { getattr } for path="/sys/devices/platform/hisi_fb.1048577/leds/lcd_backlight0/max_brightness" dev="sysfs" ino=34386 scontext=u:r:phhsu_daemon:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
[...]
05-12 15:10:28.763 10943 10943 I sh      : type=1400 audit(0.0:1206): avc: denied { write } for name="brightness" dev="sysfs" ino=34385 scontext=u:r:phhsu_daemon:s0 tcontext=u:object_r:sysfs_backlight:s0 tclass=file permissive=1

I hope that is enough to get it fixed, otherwise feel free to ask for more info.

USB-C headphones doesn't works (Huawei Mate 10 Pro)

The USB type C headphones doesn't play any sound (I've tested with official Huawei headphones only).
The up/down volume buttons works well.
I've tried with 3.5 jack headphones with the official USB-C to 3.5 jack adapter, it works well too.

[Asus ZenFone Max Pro] Audio issues

  1. FIXED 3.5mm jack doesn't work - earphone not getting detected, sound plays through loudspeaker (works in aex by AryanPatidar) ** Works by installing overlay by phhusson **
  2. FIXED In call audio doesn't work - fixed by a patch ** Works in new builds without patch **
  3. FIXED Calls goes through loudspeaker in some builds but goes through earpiece in some. ** Works fine in new builds **
  4. PARTIALLY FIXED No audio in Bluetooth headphone in calls but works fine for played media in new builds

logs+etc.zip

Note: etc folder i attached here is from stock system.img

Huawei P20: Fingerprint sensor is broken

On Huawei P20, the fingerprint sensor is broken

Original post:
Fingerprint sensor (not detected in setup and cannot finish configuration in the device settings)
Haptic sensor (the "home" and gestures button is not working at all)
"Cast mode" is broken as well
Apps are crashing sometimes if you start using them too early.
If fresh flash, you need to remove all data and clear cache before downloading apps from PlayStore.

htc u11+ cannot boot

This version is not work on HTC U11+.(V18)
i tried both fastboot and twrp,they are donot work
My device is stuck on android boot.

library path issue on Sony XZ1 Compact

After flashing an 8.1 phh-gsi built on 2018-04-17 (android tag android-8.1.0_r19), the device successfully boot and appears to work normally, but a number of link errors are reported in logcat output:

$ grep -i cannot phh-logcat-1.txt | head -n 6
03-20 07:18:07.561 F/libc    ( 1036): CANNOT LINK EXECUTABLE "/vendor/bin/idd-logreader": library "[email protected]" not found
03-20 07:18:07.599 F/DEBUG   ( 1045): Abort message: 'CANNOT LINK EXECUTABLE "/vendor/bin/idd-logreader": library "[email protected]" not found'
03-20 07:18:08.192 F/libc    ( 1228): CANNOT LINK EXECUTABLE "/system/vendor/bin/ipacm": library "[email protected]" not found
03-20 07:18:08.308 F/DEBUG   ( 1346): Abort message: 'CANNOT LINK EXECUTABLE "/system/vendor/bin/ipacm": library "[email protected]" not found'
03-20 07:18:08.420 F/libc    ( 1304): CANNOT LINK EXECUTABLE "/system/vendor/bin/netmgrd": cannot locate symbol "_ZN7android4hidl4base4V1_08BnHwBaseD0Ev" referenced by "/system/lib64/[email protected]"...
03-20 07:18:08.434 F/DEBUG   ( 1444): Abort message: 'CANNOT LINK EXECUTABLE "/system/vendor/bin/netmgrd": cannot locate symbol "_ZN7android4hidl4base4V1_08BnHwBaseD0Ev" referenced by "/system/lib64/[email protected]"...'

full logcat is here:

phh-logcat-1.txt

[Xiaomi MIX 2S] Zygote died with exception "java.lang.NullPointerException: Attempt to read from field 'android.content.pm.Signature[] android.content.pm.PackageParser$Package.mSignatures' on a null object reference"

Hello, I compiled and flashed the lineage gsi and flashed to my Xiaomi MIX 2S, and it stucked at the boot animation. adb logcat shows:

05-20 17:55:08.095  2236  2236 W PackageManager: Removing dangling permission: com.google.android.gms.magictether.permission.DISABLE_SOFT_AP from package com.google.android.gms
05-20 17:55:08.095  2236  2236 W PackageManager: Removing dangling permission: com.android.voicemail.permission.ADD_VOICEMAIL from package android
05-20 17:55:08.095  2236  2236 W PackageManager: Removing dangling permission: com.google.android.gms.chromesync.permission.METADATA_UPDATED from package com.google.android.gms
05-20 17:55:08.095  2236  2236 E System  : ******************************************
05-20 17:55:08.095  2236  2236 E System  : ************ Failure starting system services
05-20 17:55:08.095  2236  2236 E System  : java.lang.NullPointerException: Attempt to read from field 'android.content.pm.Signature[] android.content.pm.PackageParser$Package.mSignatures' on a null object reference
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.grantSignaturePermission(PackageManagerService.java:13391)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.grantPermissionsLPw(PackageManagerService.java:13127)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.updatePermissionsLPw(PackageManagerService.java:12977)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.updatePermissionsLPw(PackageManagerService.java:12899)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.removePackageDataLIF(PackageManagerService.java:19783)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.deleteInstalledPackageLIF(PackageManagerService.java:20060)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.deletePackageLIF(PackageManagerService.java:20255)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.updateAllSharedLibrariesLPw(PackageManagerService.java:10657)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:2932)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2334)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:605)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.SystemServer.run(SystemServer.java:409)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.server.SystemServer.main(SystemServer.java:274)
05-20 17:55:08.095  2236  2236 E System  :      at java.lang.reflect.Method.invoke(Native Method)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
05-20 17:55:08.095  2236  2236 E System  :      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:787)
05-20 17:55:08.095  2236  2236 D SystemServerTiming: StartPackageManagerService took to complete: 1721ms
05-20 17:55:08.095  2236  2236 E Zygote  : System zygote died with exception
05-20 17:55:08.095  2236  2236 E Zygote  : java.lang.NullPointerException: Attempt to read from field 'android.content.pm.Signature[] android.content.pm.PackageParser$Package.mSignatures' on a null object reference
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.grantSignaturePermission(PackageManagerService.java:13391)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.grantPermissionsLPw(PackageManagerService.java:13127)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.updatePermissionsLPw(PackageManagerService.java:12977)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.updatePermissionsLPw(PackageManagerService.java:12899)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.removePackageDataLIF(PackageManagerService.java:19783)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.deleteInstalledPackageLIF(PackageManagerService.java:20060)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.deletePackageLIF(PackageManagerService.java:20255)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.updateAllSharedLibrariesLPw(PackageManagerService.java:10657)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:2932)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2334)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:605)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.SystemServer.run(SystemServer.java:409)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.server.SystemServer.main(SystemServer.java:274)
05-20 17:55:08.095  2236  2236 E Zygote  :      at java.lang.reflect.Method.invoke(Native Method)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
05-20 17:55:08.095  2236  2236 E Zygote  :      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:787)
05-20 17:55:08.096  2236  2236 D AndroidRuntime: Shutting down VM
05-20 17:55:08.096  2236  2236 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
05-20 17:55:08.096  2236  2236 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'android.content.pm.Signature[] android.content.pm.PackageParser$Package.mSignatures' on a null object reference
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.grantSignaturePermission(PackageManagerService.java:13391)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.grantPermissionsLPw(PackageManagerService.java:13127)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.updatePermissionsLPw(PackageManagerService.java:12977)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.updatePermissionsLPw(PackageManagerService.java:12899)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.removePackageDataLIF(PackageManagerService.java:19783)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.deleteInstalledPackageLIF(PackageManagerService.java:20060)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.deletePackageLIF(PackageManagerService.java:20255)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.updateAllSharedLibrariesLPw(PackageManagerService.java:10657)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.<init>(PackageManagerService.java:2932)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.pm.PackageManagerService.main(PackageManagerService.java:2334)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:605)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.SystemServer.run(SystemServer.java:409)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.server.SystemServer.main(SystemServer.java:274)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at java.lang.reflect.Method.invoke(Native Method)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:787)
05-20 17:55:08.096  2236  2236 E AndroidRuntime: Error reporting crash
05-20 17:55:08.096  2236  2236 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'void android.app.IActivityManager.handleApplicationCrash(android.os.IBinder, android.app.ApplicationErrorReport$ParcelableCrashInfo)' on a null object reference
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at com.android.internal.os.RuntimeInit$KillApplicationHandler.uncaughtException(RuntimeInit.java:116)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1068)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1063)
05-20 17:55:08.096  2236  2236 E AndroidRuntime:        at java.lang.Thread.dispatchUncaughtException(Thread.java:1955)
05-20 17:55:08.096  2236  2236 I Process : Sending signal. PID: 2236 SIG: 9
05-20 17:55:08.106   562   562 I ServiceManager: service 'batterystats' died
05-20 17:55:08.106   562   562 I ServiceManager: service 'appops' died
05-20 17:55:08.106   562   562 I ServiceManager: service 'power' died
05-20 17:55:08.106   562   562 I ServiceManager: service 'recovery' died
05-20 17:55:08.106   562   562 I ServiceManager: service 'display' died
05-20 17:55:08.106   562   562 I ServiceManager: service 'device_identifiers' died
05-20 17:55:08.107  2202  2202 E Zygote  : Exit zygote because system server (2236) has terminated
05-20 17:55:08.118   562   562 I ServiceManager: service 'media.audio_flinger' died
05-20 17:55:08.118   562   562 I ServiceManager: service 'media.audio_policy' died
05-20 17:55:08.118   562   562 I ServiceManager: service 'media.sound_trigger_hw' died

The image from your xda thread (2018-05-19) shows the same result.

It seems a signing problem. Could you please tell me how could I resolve the problem, or what else should I provide to help fixing this? Thank you very much!

Support rotated touchscreens

Some (uncertified?) devices have rotated touchscreen compared to display.
For example the Chuwi Hi9 Air, requires to invert X and Y, and to negate output Y

SafetyNet Pass / no SU build

Hi, first of all thanks for the awesome work!
Could you please provide builds without SU so these can pass SafetyNet? I can't unroot because there is no working TWRP Image for my device.

Best regards :)

No incoming audio in phone calls [Razer Phone/cheryl/potentially all CAF devices]

Logcat and dmesg seem okay.
Tried changing the Dialer app to Google's stock one, didn't fix the issue.
Also tried re-routing the audio from the earspeaker to the actual speakers, and to Bluetooth headset, but didn't solve the issue. Only sound that comes from them is a loud 'beep' when the call ends.
3rd party VoIP apps like Telegram or WhatsApp have no issues at all with in-call audio.

May need custom audio re-routing inside the mixer_paths?

Issue with using build-rom.sh

chris@Lenovo-Y50:~/RR$ bash ../treble_experimentations/build-rom.sh android-8.1 rr

Your identity is: wirmpolter [email protected]
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /home/chris/RR
HEAD is now at 479fdb6 Replace frameworks_opt_telephony
HEAD is now at 479fdb6... Replace frameworks_opt_telephony
HEAD is now at 06199a5 Include missing patches
HEAD is now at 06199a5... Include missing patches
Usage: repo sync [...]

main.py: error: option -j: invalid integer value: '--force-sync'

Exfat support on Samsung

In Samsung kernel, exfat kernel FS if called sdfat, not exfat
Lineage supports only one exfat kernel FS
We'll need to extend this to auto detect which exfat support to use

Adaptive brightness

Adaptive brightness does not seem to work.
I cannot see where to activate this feature (there isn't the "A" button next to the brightness slider).
Only tested on Huawei Mate 10 Pro.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.