[Rom][Treble] /e/ unofficial for huawei p9, working camera - Huawei P9 ROMs, Kernels, Recoveries, & Other Devel

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Discovering /e/
https://e.foundation
I've built a minimal version of /e/
Including /e/ store, magic earth, blisslauncher, edrive,
This is a GSI build but since I've built it specially for huawei p9 (the phone I'm using) and added camera compatibility, I'm posting it here too
original thread https://forum.xda-developers.com/project-treble/trebleenabled-device-development/e-rom-t3960376#post80123267
This was built thanks to PHH-Treble and AndyYan scripts you can find here:
https://forum.xda-developers.com/pr...i-lineageos-16-0-gsi-arm64-ab-how-to-t3908029
Thank you to:
PHH and phh treble team
Lineage team
/e/ team
Openkirin for the huawei p9 camera
Here is my fork of phh device tree for /e/
https://github.com/PhieF/device_phh_treble
I will soon publish an "how to" but AndyYan guide should be enough
Download:
https://ovh.phie.ovh/e/e-pie-20190827-UNOFFICIAL-treble_arm64_aeN.img.zip
XDA:DevDB Information
[Rom][Treble] /e/ unofficial for huawei p9, working camera, ROM for the Huawei P9
Contributors
Phoenamandre, phhusson, AndyYan, AndyYan, /e/ team, openkirin
ROM OS Version: 9.x Pie
ROM Firmware Required: emui 8
Version Information
Status: Testing
Created 2019-08-24
Last Updated 2019-08-27

Reserved

Reserved

It's good to see another ROM for p9
installed It looks good, neat and very smooth ?
The camera is normal, maybe using the official camera app or the Google camera app will improve it,There's a little battery drainage ،generally awesome

Will this work on Mate 8 and if not then can you please me how to get camera working on these devices? Thanks

download link it's down?

Can i use Google play store in this ROM because i try install Google play or update Google play services don't work!

NervReaper said:
download link it's down?
Click to expand...
Click to collapse
Should work, now thanks

mahrtayyab said:
Will this work on Mate 8 and if not then can you please me how to get camera working on these devices? Thanks
Click to expand...
Click to collapse
You can have a try ! It could work if your device is treble.
For the camera support, here is my commit https://github.com/PhieF/device_phh_treble/commit/008a6ec4de6709521f564928cff922cea74d322f
thanks to openkirin work

albelushi7 said:
Can i use Google play store in this ROM because i try install Google play or update Google play services don't work!
Click to expand...
Click to collapse
I guess not, the main purpose of the rom is to be able to work without play services

First of all thank you for the rom and all the work!
I’ve installed the build form the original thread since the download link here still doesn’t work
I’m not sure if this build includes an Emui cam or if theres any difference but the other one came with opencamera as camera app so I flashed Emui camera mod by @flex1911 https://forum.xda-developers.com/pr...opment/kirin-huawei-camera-android-p-t3840110 which works great with this rom and brings all the features like pro mode and monochrome etc.
The playstore apk I put into the priv-app folder and it’s there and seems working but the problem I have is that I can’t login to my google account. Not via app and not via microG settings. I can type my email and password, confirm the user agreement and then it says it will take a short while but nothing ever happens for hours. Any guess?

lo_ol said:
First of all thank you for the rom and all the work!
I’ve installed the build form the original thread since the download link here still doesn’t work
I’m not sure if this build includes an Emui cam or if theres any difference but the other one came with opencamera as camera app so I flashed Emui camera mod by @flex1911 https://forum.xda-developers.com/pr...opment/kirin-huawei-camera-android-p-t3840110 which works great with this rom and brings all the features like pro mode and monochrome etc.
The playstore apk I put into the priv-app folder and it’s there and seems working but the problem I have is that I can’t login to my google account. Not via app and not via microG settings. I can type my email and password, confirm the user agreement and then it says it will take a short while but nothing ever happens for hours. Any guess?
Click to expand...
Click to collapse
good to mentioned this camera huawei mod and what custom recovery are you use ? > also i have The same problem about google account nothing happped >
About the Google Account try to added manually through the settings Maybe it works.
can Explain more The playstore apk how to install it ?

lo_ol said:
First of all thank you for the rom and all the work!
I’ve installed the build form the original thread since the download link here still doesn’t work
I’m not sure if this build includes an Emui cam or if theres any difference but the other one came with opencamera as camera app so I flashed Emui camera mod by @flex1911 https://forum.xda-developers.com/pr...opment/kirin-huawei-camera-android-p-t3840110 which works great with this rom and brings all the features like pro mode and monochrome etc.
The playstore apk I put into the priv-app folder and it’s there and seems working but the problem I have is that I can’t login to my google account. Not via app and not via microG settings. I can type my email and password, confirm the user agreement and then it says it will take a short while but nothing ever happens for hours. Any guess?
Click to expand...
Click to collapse
I seem to have the same problem with microG so I will investigate
There is no difference: the main thing of "my" GSI was that the camera works with opencamera or other apps. Where most of the time, it doesn't yes good idea to flash that, I will add it to the main thread for those who want the stock camera app
Link is now working, sorry for the double mistake

Thanks for looking into it! However the Emui Camera is causing bootloops with the new build. Also trying to install the Playstore is now causing bootloops as well (And a minor bug I discovered is app crash when trying to open Bluetooth/nfc connection menu with either build)
albelushi7 I have not tried any further than copying playstore to priv-app folder because we can’t sing in for now after. Not sure what else is needed to make it work actually . I use P9-EVA-8.0.0-TWRP-v4.img from rebrand thread
Logcat
Code:
08-28 04:32:43.745 2256 2256 E System : ******************************************
08-28 04:32:43.745 2256 2256 E System : ************ Failure starting system services
08-28 04:32:43.745 2256 2256 E System : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.vending: android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME, com.android.vending: android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, com.android.vending: android.permission.BACKUP, com.android.vending: android.permission.WRITE_SECURE_SETTINGS, com.android.vending: android.permission.FORCE_STOP_PACKAGES, com.android.vending: android.permission.REBOOT, com.android.vending: android.permission.CLEAR_APP_CACHE, com.android.vending: android.permission.PACKAGE_VERIFICATION_AGENT, com.huawei.camera: android.permission.WRITE_SECURE_SETTINGS, com.huawei.camera: android.permission.STOP_APP_SWITCHES, com.android.vending: android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.android.vending: android.permission.GET_ACCOUNTS_PRIVILEGED, com.android.vending: android.permission.REAL_GET_TASKS, com.android.vending: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.STATUS_BAR, com.huawei.camera: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.DUMP, com.android.vending: android.permission.GET_APP_OPS_STATS, com.android.vending: android.permission.CONNECTIVITY_INTERNAL, com.android.vending: android.permission.DELETE_PACKAGES, com.huawei.camera: android.permission.REAL_GET_TASKS, com.huawei.camera: android.permission.MANAGE_USERS, com.android.vending: android.permission.BATTERY_STATS, com.huawei.camera: android.permission.READ_FRAME_BUFFER, com.android.vending: android.permission.MANAGE_USERS, com.android.vending: android.permission.INSTALL_PACKAGES, com.huawei.camera: android.permission.WRITE_MEDIA_STORAGE, com.android.vending: android.permission.UPDATE_DEVICE_STATS, com.android.vending: android.permission.READ_RUNTIME_PROFILES, com.android.vending: android.permission.ALLOCATE_AGGRESSIVE, com.android.vending: android.permission.READ_PRIVILEGED_PHONE_STATE, com.android.vending: android.permission.PACKAGE_USAGE_STATS, com.android.vending: android.permission.SEND_SMS_NO_CONFIRMATION}
08-28 04:32:43.745 2256 2256 E System : at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2005)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:89)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.systemReady(PermissionManagerService.java:2052)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21393)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:1760)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.SystemServer.run(SystemServer.java:457)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.SystemServer.main(SystemServer.java:302)
08-28 04:32:43.745 2256 2256 E System : at java.lang.reflect.Method.invoke(Native Method)
08-28 04:32:43.745 2256 2256 E System : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-28 04:32:43.745 2256 2256 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
08-28 04:32:43.746 2256 2256 E Zygote : System zygote died with exception
08-28 04:32:43.746 2256 2256 E Zygote : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.vending: android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME, com.android.vending: android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, com.android.vending: android.permission.BACKUP, com.android.vending: android.permission.WRITE_SECURE_SETTINGS, com.android.vending: android.permission.FORCE_STOP_PACKAGES, com.android.vending: android.permission.REBOOT, com.android.vending: android.permission.CLEAR_APP_CACHE, com.android.vending: android.permission.PACKAGE_VERIFICATION_AGENT, com.huawei.camera: android.permission.WRITE_SECURE_SETTINGS, com.huawei.camera: android.permission.STOP_APP_SWITCHES, com.android.vending: android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.android.vending: android.permission.GET_ACCOUNTS_PRIVILEGED, com.android.vending: android.permission.REAL_GET_TASKS, com.android.vending: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.STATUS_BAR, com.huawei.camera: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.DUMP, com.android.vending: android.permission.GET_APP_OPS_STATS, com.android.vending: android.permission.CONNECTIVITY_INTERNAL, com.android.vending: android.permission.DELETE_PACKAGES, com.huawei.camera: android.permission.REAL_GET_TASKS, com.huawei.camera: android.permission.MANAGE_USERS, com.android.vending: android.permission.BATTERY_STATS, com.huawei.camera: android.permission.READ_FRAME_BUFFER, com.android.vending: android.permission.MANAGE_USERS, com.android.vending: android.permission.INSTALL_PACKAGES, com.huawei.camera: android.permission.WRITE_MEDIA_STORAGE, com.android.vending: android.permission.UPDATE_DEVICE_STATS, com.android.vending: android.permission.READ_RUNTIME_PROFILES, com.android.vending: android.permission.ALLOCATE_AGGRESSIVE, com.android.vending: android.permission.READ_PRIVILEGED_PHONE_STATE, com.android.vending: android.permission.PACKAGE_USAGE_STATS, com.android.vending: android.permission.SEND_SMS_NO_CONFIRMATION}
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2005)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:89)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.systemReady(PermissionManagerService.java:2052)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21393)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.SystemServer.startOtherServices(SystemServer.java:1760)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.SystemServer.run(SystemServer.java:457)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.SystemServer.main(SystemServer.java:302)
08-28 04:32:43.746 2256 2256 E Zygote : at java.lang.reflect.Method.invoke(Native Method)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
08-28 04:32:43.746 2256 2256 D AndroidRuntime: Shutting down VM
08-28 04:32:43.746 2256 2256 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
08-28 04:32:43.746 2256 2256 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.vending: android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME, com.android.vending: android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, com.android.vending: android.permission.BACKUP, com.android.vending: android.permission.WRITE_SECURE_SETTINGS, com.android.vending: android.permission.FORCE_STOP_PACKAGES, com.android.vending: android.permission.REBOOT, com.android.vending: android.permission.CLEAR_APP_CACHE, com.android.vending: android.permission.PACKAGE_VERIFICATION_AGENT, com.huawei.camera: android.permission.WRITE_SECURE_SETTINGS, com.huawei.camera: android.permission.STOP_APP_SWITCHES, com.android.vending: android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.android.vending: android.permission.GET_ACCOUNTS_PRIVILEGED, com.android.vending: android.permission.REAL_GET_TASKS, com.android.vending: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.STATUS_BAR, com.huawei.camera: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.DUMP, com.android.vending: android.permission.GET_APP_OPS_STATS, com.android.vending: android.permission.CONNECTIVITY_INTERNAL, com.android.vending: android.permission.DELETE_PACKAGES, com.huawei.camera: android.permission.REAL_GET_TASKS, com.huawei.camera: android.permission.MANAGE_USERS, com.android.vending: android.permission.BATTERY_STATS, com.huawei.camera: android.permission.READ_FRAME_BUFFER, com.android.vending: android.permission.MANAGE_USERS, com.android.vending: android.permission.INSTALL_PACKAGES, com.huawei.camera: android.permission.WRITE_MEDIA_STORAGE, com.android.vending: android.permission.UPDATE_DEVICE_STATS, com.android.vending: android.permission.READ_RUNTIME_PROFILES, com.android.vending: android.permission.ALLOCATE_AGGRESSIVE, com.android.vending: android.permission.READ_PRIVILEGED_PHONE_STATE, com.android.vending: android.permission.PACKAGE_USAGE_STATS, com.android.vending: android.permission.SEND_SMS_NO_CONFIRMATION}
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2005)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:89)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.systemReady(PermissionManagerService.java:2052)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21393)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:1760)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:457)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:302)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
08-28 04:32:43.761 2256 2256 I Process : Sending signal. PID: 2256 SIG: 9
08-28 04:32:43.909 2405 2405 W vendor.huawei.h: type=1400 audit(0.0:686): avc: denied { noatsecure } for scontext=u:r:init:s0 tcontext=u:r:hi110x_daemon:s0 tclass=process permissive=0
08-28 04:32:43.950 2405 2405 D vndksupport: Loading /vendor/lib64/hw/hisupl.hi1102.default.so from current namespace instead of sphal namespace.
08-28 04:32:43.951 2405 2405 E HAL : load: id=hisupl.hi1102 != hmi->id=hisupl
08-28 04:32:43.951 2405 2405 E HiSuplHAL_HiSuplInterface: supl hw_get_module hisupl failed: -22
08-28 04:32:43.952 2405 2405 E [email protected]: Could not get passthrough implementation for [email protected]::ISuplclienttoserverInterface/default.
08-28 04:32:43.979 2406 2406 W vendor.huawei.h: type=1400 audit(0.0:687): avc: denied { noatsecure } for scontext=u:r:init:s0 tcontext=u:r:hal_displayengine_default:s0 tclass=process permissive=0
08-28 04:32:44.009 2406 2406 I [email protected]: main:27: We're the service for display engine hal.
08-28 04:32:44.011 423 423 E SELinux : avc: denied { find } for interface=vendor.huawei.hardware.hwdisplay.displayengine::IDisplayEngineWrapper sid=u:r:hal_displayengine_default:s0 pid=2406 scontext=u:r:hal_displayengine_default:s0 tcontext=u:object_r:displayengine_hwservice:s0 tclass=hwservice_manager permissive=0
08-28 04:32:44.014 423 423 E SELinux : avc: denied { find } for interface=vendor.huawei.hardware.hwdisplay.displayengine::IDisplayEngineWrapper sid=u:r:hal_displayengine_default:s0 pid=2406 scontext=u:r:hal_displayengine_default:s0 tcontext=u:object_r:displayengine_hwservice:s0 tclass=hwservice_manager permissive=0
08-28 04:32:44.015 2406 2406 I ServiceManagement: Removing namespace from process name [email protected] to [email protected]
08-28 04:32:44.016 423 423 E SELinux : avc: denied { add } for interface=vendor.huawei.hardware.hwdisplay.displayengine::IDisplayEngineWrapper sid=u:r:hal_displayengine_default:s0 pid=2406 scontext=u:r:hal_displayengine_default:s0 tcontext=u:object_r:displayengine_hwservice:s0 tclass=hwservice_manager permissive=0
08-28 04:32:44.016 2406 2406 E [email protected]: Could not register service [email protected]::IDisplayEngineWrapper/default (-2147483648).
08-28 04:32:44.308 792 792 I WifiHAL : Initializing wifi
08-28 04:32:44.308 792 792 I WifiHAL : Creating socket
08-28 04:32:44.309 792 792 I WifiHAL : Initialized Wifi HAL Successfully; vendor cmd = 103
08-28 04:32:44.310 792 792 E [email protected]: Failed to invoke onChipReconfigured callback
08-28 04:32:44.310 792 792 E hw-IPCThreadState: binder thread pool (1 threads) starved for 600 ms
08-28 04:32:44.428 798 798 I lowmemorykiller: lmkd data connection dropped
08-28 04:32:44.428 798 798 I lowmemorykiller: closing lmkd data connection
08-28 04:32:44.429 422 422 I ServiceManager: service 'wifip2p' died
08-28 04:32:44.429 422 422 I ServiceManager: service 'ethernet' died
08-28 04:32:44.429 422 422 I ServiceManager: service 'connectivity' died
08-28 04:32:44.429 422 422 I ServiceManager: service 'servicediscovery' died
08-28 04:32:44.429 422 422 I ServiceManager: service 'system_update' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'updatelock' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'notification' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'devicestoragemonitor' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'location' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'country_detector' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'search' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'wallpaper' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'audio' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'DockObserver' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'midi' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'device_identifiers' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'contexthub' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'usb' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'serial' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'hardware_properties' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'jobscheduler' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'soundtrigger' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'trust' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'appwidget' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'voiceinteraction' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'diskstats' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'network_time_update_service' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'commontime_management' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'dreams' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'graphicsstats' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'restrictions' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'media_session' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'media_router' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'fingerprint' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'shortcut' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'launcherapps' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'crossprofileapps' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'media_projection' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'slice' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'media.camera.proxy' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'statscompanion' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'imms' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'profile' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'lineagehardware' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'batterystats' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'appops' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'power' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'recovery' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'display' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'lineageperformance' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'lineageweather' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'lineagelivedisplay' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'lineageaudio' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'lineagestyle' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'lineagetrust' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'bluetooth_manager' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'connmetrics' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'netd_listener' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'overlay' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'procstats' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'meminfo' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'gfxinfo' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'dbinfo' died
08-28 04:32:44.433 2207 2207 I Zygote : Process 2256 exited due to signal (9)
08-28 04:32:44.433 422 422 I ServiceManager: service 'cpuinfo' died
08-28 04:32:44.434 2207 2207 E Zygote : Exit zygote because system server (2256) has terminated
08-28 04:32:44.434 422 422 I ServiceManager: service 'permission' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'processinfo' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'sensorservice' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'battery' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'batteryproperties' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'usagestats' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'webviewupdate' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'binder_calls_stats' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'sec_key_att_app_id_provider' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'scheduling_policy' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'telephony.registry' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'account' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'content' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'settings' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'dropbox' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'activity' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'user' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'otadexopt' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'package_native' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'package' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'vibrator' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'consumer_ir' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'alarm' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'window' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'input' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'device_policy' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'deviceidle' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'network_management' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'pinner' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'network_watchlist' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'input_method' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'accessibility' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'mount' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'storagestats' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'uimode' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'lock_settings' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'statusbar' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'network_score' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'ipsec' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'textservices' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'clipboard' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'textclassification' died
08-28 04:32:44.436 2207 2207 F libc : Fatal signal 6 (SIGABRT), code 0 (SI_USER) in tid 2207 (main), pid 2207 (main)
08-28 04:32:44.436 422 422 I ServiceManager: service 'netstats' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'netpolicy' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'wifi' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'wifiscanner' died

Phie said:
You can have a try ! It could work if your device is treble.
For the camera support, here is my commit https://github.com/PhieF/device_phh_treble/commit/008a6ec4de6709521f564928cff922cea74d322f
thanks to openkirin work
Click to expand...
Click to collapse
Thank you sir camera is finally working.

lo_ol said:
Thanks for looking into it! However the Emui Camera is causing bootloops with the new build. Also trying to install the Playstore is now causing bootloops as well (And a minor bug I discovered is app crash when trying to open Bluetooth/nfc connection menu with either build)
albelushi7 I have not tried any further than copying playstore to priv-app folder because we can’t sing in for now after. Not sure what else is needed to make it work actually . I use P9-EVA-8.0.0-TWRP-v4.img from rebrand thread
Logcat
Code:
08-28 04:32:43.745 2256 2256 E System : ******************************************
08-28 04:32:43.745 2256 2256 E System : ************ Failure starting system services
08-28 04:32:43.745 2256 2256 E System : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.vending: android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME, com.android.vending: android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, com.android.vending: android.permission.BACKUP, com.android.vending: android.permission.WRITE_SECURE_SETTINGS, com.android.vending: android.permission.FORCE_STOP_PACKAGES, com.android.vending: android.permission.REBOOT, com.android.vending: android.permission.CLEAR_APP_CACHE, com.android.vending: android.permission.PACKAGE_VERIFICATION_AGENT, com.huawei.camera: android.permission.WRITE_SECURE_SETTINGS, com.huawei.camera: android.permission.STOP_APP_SWITCHES, com.android.vending: android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.android.vending: android.permission.GET_ACCOUNTS_PRIVILEGED, com.android.vending: android.permission.REAL_GET_TASKS, com.android.vending: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.STATUS_BAR, com.huawei.camera: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.DUMP, com.android.vending: android.permission.GET_APP_OPS_STATS, com.android.vending: android.permission.CONNECTIVITY_INTERNAL, com.android.vending: android.permission.DELETE_PACKAGES, com.huawei.camera: android.permission.REAL_GET_TASKS, com.huawei.camera: android.permission.MANAGE_USERS, com.android.vending: android.permission.BATTERY_STATS, com.huawei.camera: android.permission.READ_FRAME_BUFFER, com.android.vending: android.permission.MANAGE_USERS, com.android.vending: android.permission.INSTALL_PACKAGES, com.huawei.camera: android.permission.WRITE_MEDIA_STORAGE, com.android.vending: android.permission.UPDATE_DEVICE_STATS, com.android.vending: android.permission.READ_RUNTIME_PROFILES, com.android.vending: android.permission.ALLOCATE_AGGRESSIVE, com.android.vending: android.permission.READ_PRIVILEGED_PHONE_STATE, com.android.vending: android.permission.PACKAGE_USAGE_STATS, com.android.vending: android.permission.SEND_SMS_NO_CONFIRMATION}
08-28 04:32:43.745 2256 2256 E System : at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2005)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:89)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.systemReady(PermissionManagerService.java:2052)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21393)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:1760)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.SystemServer.run(SystemServer.java:457)
08-28 04:32:43.745 2256 2256 E System : at com.android.server.SystemServer.main(SystemServer.java:302)
08-28 04:32:43.745 2256 2256 E System : at java.lang.reflect.Method.invoke(Native Method)
08-28 04:32:43.745 2256 2256 E System : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-28 04:32:43.745 2256 2256 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
08-28 04:32:43.746 2256 2256 E Zygote : System zygote died with exception
08-28 04:32:43.746 2256 2256 E Zygote : java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.vending: android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME, com.android.vending: android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, com.android.vending: android.permission.BACKUP, com.android.vending: android.permission.WRITE_SECURE_SETTINGS, com.android.vending: android.permission.FORCE_STOP_PACKAGES, com.android.vending: android.permission.REBOOT, com.android.vending: android.permission.CLEAR_APP_CACHE, com.android.vending: android.permission.PACKAGE_VERIFICATION_AGENT, com.huawei.camera: android.permission.WRITE_SECURE_SETTINGS, com.huawei.camera: android.permission.STOP_APP_SWITCHES, com.android.vending: android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.android.vending: android.permission.GET_ACCOUNTS_PRIVILEGED, com.android.vending: android.permission.REAL_GET_TASKS, com.android.vending: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.STATUS_BAR, com.huawei.camera: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.DUMP, com.android.vending: android.permission.GET_APP_OPS_STATS, com.android.vending: android.permission.CONNECTIVITY_INTERNAL, com.android.vending: android.permission.DELETE_PACKAGES, com.huawei.camera: android.permission.REAL_GET_TASKS, com.huawei.camera: android.permission.MANAGE_USERS, com.android.vending: android.permission.BATTERY_STATS, com.huawei.camera: android.permission.READ_FRAME_BUFFER, com.android.vending: android.permission.MANAGE_USERS, com.android.vending: android.permission.INSTALL_PACKAGES, com.huawei.camera: android.permission.WRITE_MEDIA_STORAGE, com.android.vending: android.permission.UPDATE_DEVICE_STATS, com.android.vending: android.permission.READ_RUNTIME_PROFILES, com.android.vending: android.permission.ALLOCATE_AGGRESSIVE, com.android.vending: android.permission.READ_PRIVILEGED_PHONE_STATE, com.android.vending: android.permission.PACKAGE_USAGE_STATS, com.android.vending: android.permission.SEND_SMS_NO_CONFIRMATION}
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2005)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:89)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.systemReady(PermissionManagerService.java:2052)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21393)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.SystemServer.startOtherServices(SystemServer.java:1760)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.SystemServer.run(SystemServer.java:457)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.server.SystemServer.main(SystemServer.java:302)
08-28 04:32:43.746 2256 2256 E Zygote : at java.lang.reflect.Method.invoke(Native Method)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-28 04:32:43.746 2256 2256 E Zygote : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
08-28 04:32:43.746 2256 2256 D AndroidRuntime: Shutting down VM
08-28 04:32:43.746 2256 2256 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
08-28 04:32:43.746 2256 2256 E AndroidRuntime: java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.android.vending: android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME, com.android.vending: android.permission.CHANGE_DEVICE_IDLE_TEMP_WHITELIST, com.android.vending: android.permission.BACKUP, com.android.vending: android.permission.WRITE_SECURE_SETTINGS, com.android.vending: android.permission.FORCE_STOP_PACKAGES, com.android.vending: android.permission.REBOOT, com.android.vending: android.permission.CLEAR_APP_CACHE, com.android.vending: android.permission.PACKAGE_VERIFICATION_AGENT, com.huawei.camera: android.permission.WRITE_SECURE_SETTINGS, com.huawei.camera: android.permission.STOP_APP_SWITCHES, com.android.vending: android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.android.vending: android.permission.GET_ACCOUNTS_PRIVILEGED, com.android.vending: android.permission.REAL_GET_TASKS, com.android.vending: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.STATUS_BAR, com.huawei.camera: android.permission.INTERACT_ACROSS_USERS, com.android.vending: android.permission.DUMP, com.android.vending: android.permission.GET_APP_OPS_STATS, com.android.vending: android.permission.CONNECTIVITY_INTERNAL, com.android.vending: android.permission.DELETE_PACKAGES, com.huawei.camera: android.permission.REAL_GET_TASKS, com.huawei.camera: android.permission.MANAGE_USERS, com.android.vending: android.permission.BATTERY_STATS, com.huawei.camera: android.permission.READ_FRAME_BUFFER, com.android.vending: android.permission.MANAGE_USERS, com.android.vending: android.permission.INSTALL_PACKAGES, com.huawei.camera: android.permission.WRITE_MEDIA_STORAGE, com.android.vending: android.permission.UPDATE_DEVICE_STATS, com.android.vending: android.permission.READ_RUNTIME_PROFILES, com.android.vending: android.permission.ALLOCATE_AGGRESSIVE, com.android.vending: android.permission.READ_PRIVILEGED_PHONE_STATE, com.android.vending: android.permission.PACKAGE_USAGE_STATS, com.android.vending: android.permission.SEND_SMS_NO_CONFIRMATION}
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.systemReady(PermissionManagerService.java:2005)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService.access$100(PermissionManagerService.java:89)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.systemReady(PermissionManagerService.java:2052)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21393)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:1760)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:457)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:302)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
08-28 04:32:43.746 2256 2256 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
08-28 04:32:43.761 2256 2256 I Process : Sending signal. PID: 2256 SIG: 9
08-28 04:32:43.909 2405 2405 W vendor.huawei.h: type=1400 audit(0.0:686): avc: denied { noatsecure } for scontext=u:r:init:s0 tcontext=u:r:hi110x_daemon:s0 tclass=process permissive=0
08-28 04:32:43.950 2405 2405 D vndksupport: Loading /vendor/lib64/hw/hisupl.hi1102.default.so from current namespace instead of sphal namespace.
08-28 04:32:43.951 2405 2405 E HAL : load: id=hisupl.hi1102 != hmi->id=hisupl
08-28 04:32:43.951 2405 2405 E HiSuplHAL_HiSuplInterface: supl hw_get_module hisupl failed: -22
08-28 04:32:43.952 2405 2405 E [email protected]: Could not get passthrough implementation for [email protected]::ISuplclienttoserverInterface/default.
08-28 04:32:43.979 2406 2406 W vendor.huawei.h: type=1400 audit(0.0:687): avc: denied { noatsecure } for scontext=u:r:init:s0 tcontext=u:r:hal_displayengine_default:s0 tclass=process permissive=0
08-28 04:32:44.009 2406 2406 I [email protected]: main:27: We're the service for display engine hal.
08-28 04:32:44.011 423 423 E SELinux : avc: denied { find } for interface=vendor.huawei.hardware.hwdisplay.displayengine::IDisplayEngineWrapper sid=u:r:hal_displayengine_default:s0 pid=2406 scontext=u:r:hal_displayengine_default:s0 tcontext=u:object_r:displayengine_hwservice:s0 tclass=hwservice_manager permissive=0
08-28 04:32:44.014 423 423 E SELinux : avc: denied { find } for interface=vendor.huawei.hardware.hwdisplay.displayengine::IDisplayEngineWrapper sid=u:r:hal_displayengine_default:s0 pid=2406 scontext=u:r:hal_displayengine_default:s0 tcontext=u:object_r:displayengine_hwservice:s0 tclass=hwservice_manager permissive=0
08-28 04:32:44.015 2406 2406 I ServiceManagement: Removing namespace from process name [email protected] to [email protected]
08-28 04:32:44.016 423 423 E SELinux : avc: denied { add } for interface=vendor.huawei.hardware.hwdisplay.displayengine::IDisplayEngineWrapper sid=u:r:hal_displayengine_default:s0 pid=2406 scontext=u:r:hal_displayengine_default:s0 tcontext=u:object_r:displayengine_hwservice:s0 tclass=hwservice_manager permissive=0
08-28 04:32:44.016 2406 2406 E [email protected]: Could not register service [email protected]::IDisplayEngineWrapper/default (-2147483648).
08-28 04:32:44.308 792 792 I WifiHAL : Initializing wifi
08-28 04:32:44.308 792 792 I WifiHAL : Creating socket
08-28 04:32:44.309 792 792 I WifiHAL : Initialized Wifi HAL Successfully; vendor cmd = 103
08-28 04:32:44.310 792 792 E [email protected]: Failed to invoke onChipReconfigured callback
08-28 04:32:44.310 792 792 E hw-IPCThreadState: binder thread pool (1 threads) starved for 600 ms
08-28 04:32:44.428 798 798 I lowmemorykiller: lmkd data connection dropped
08-28 04:32:44.428 798 798 I lowmemorykiller: closing lmkd data connection
08-28 04:32:44.429 422 422 I ServiceManager: service 'wifip2p' died
08-28 04:32:44.429 422 422 I ServiceManager: service 'ethernet' died
08-28 04:32:44.429 422 422 I ServiceManager: service 'connectivity' died
08-28 04:32:44.429 422 422 I ServiceManager: service 'servicediscovery' died
08-28 04:32:44.429 422 422 I ServiceManager: service 'system_update' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'updatelock' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'notification' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'devicestoragemonitor' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'location' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'country_detector' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'search' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'wallpaper' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'audio' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'DockObserver' died
08-28 04:32:44.430 422 422 I ServiceManager: service 'midi' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'device_identifiers' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'contexthub' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'usb' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'serial' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'hardware_properties' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'jobscheduler' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'soundtrigger' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'trust' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'appwidget' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'voiceinteraction' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'diskstats' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'network_time_update_service' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'commontime_management' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'dreams' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'graphicsstats' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'restrictions' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'media_session' died
08-28 04:32:44.431 422 422 I ServiceManager: service 'media_router' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'fingerprint' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'shortcut' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'launcherapps' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'crossprofileapps' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'media_projection' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'slice' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'media.camera.proxy' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'statscompanion' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'imms' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'profile' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'lineagehardware' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'batterystats' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'appops' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'power' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'recovery' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'display' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'lineageperformance' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'lineageweather' died
08-28 04:32:44.432 422 422 I ServiceManager: service 'lineagelivedisplay' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'lineageaudio' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'lineagestyle' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'lineagetrust' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'bluetooth_manager' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'connmetrics' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'netd_listener' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'overlay' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'procstats' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'meminfo' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'gfxinfo' died
08-28 04:32:44.433 422 422 I ServiceManager: service 'dbinfo' died
08-28 04:32:44.433 2207 2207 I Zygote : Process 2256 exited due to signal (9)
08-28 04:32:44.433 422 422 I ServiceManager: service 'cpuinfo' died
08-28 04:32:44.434 2207 2207 E Zygote : Exit zygote because system server (2256) has terminated
08-28 04:32:44.434 422 422 I ServiceManager: service 'permission' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'processinfo' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'sensorservice' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'battery' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'batteryproperties' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'usagestats' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'webviewupdate' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'binder_calls_stats' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'sec_key_att_app_id_provider' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'scheduling_policy' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'telephony.registry' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'account' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'content' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'settings' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'dropbox' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'activity' died
08-28 04:32:44.434 422 422 I ServiceManager: service 'user' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'otadexopt' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'package_native' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'package' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'vibrator' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'consumer_ir' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'alarm' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'window' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'input' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'device_policy' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'deviceidle' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'network_management' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'pinner' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'network_watchlist' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'input_method' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'accessibility' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'mount' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'storagestats' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'uimode' died
08-28 04:32:44.435 422 422 I ServiceManager: service 'lock_settings' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'statusbar' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'network_score' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'ipsec' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'textservices' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'clipboard' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'textclassification' died
08-28 04:32:44.436 2207 2207 F libc : Fatal signal 6 (SIGABRT), code 0 (SI_USER) in tid 2207 (main), pid 2207 (main)
08-28 04:32:44.436 422 422 I ServiceManager: service 'netstats' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'netpolicy' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'wifi' died
08-28 04:32:44.436 422 422 I ServiceManager: service 'wifiscanner' died
Click to expand...
Click to collapse
use this for huawei camera install use magisk
https://drive.google.com/file/d/1S5IUalWig0o5F_Nxha7KEeerLF7sB0sw/view
Somehow Google Play works for me, and I think also the services are working, I've copied the Google Play file to Inside the app system's roots and into priv-app folder For the first time did not work. Then unexpectedly I saw an icon and I have tried more than one version for Google Play Store, so I think you should choose the appropriate version and it will work. I will try upload the correct apk. so Try these steps to work Google Play Store and google account
-Delete Google Play Store
- install Google Chrome And sign in
-sign in google account Through the settings(setting>account>Select Google Account and enter your account)
_copy the Google Play apk to Inside the app system's roots and into priv-app folder
-Restart and the account in Google Play will be registered automatically in phone and Google Play Store.
You do not need to gapps Because the system originally seems to contain Google services Just choose the correct version of apk.

Hmm thanks, very strange. Yes I can log in using the white google icon which opens the browser in settings/accounts too. This lets me sync contacts and gmail works as well. But when I tap sign in in Chrome settings/account/sign to chrome just nothing happens and browsing to accounts.google.com and logging into my account from there with Chrome doesn’t seem to change anything for me. And the camera app from the magisk module doen’t let me shoot any photos somehow. Video recording works but when I tap the shutter in any photo mode, nothing happens for me, no pics getting saved

albelushi7 said:
It's good to see another ROM for p9
installed It looks good, neat and very smooth
The camera is normal, maybe using the official camera app or the Google camera app will improve it,There's a little battery drainage ،generally awesome
Click to expand...
Click to collapse
I can tell battery life is pretty excellent on this rom. An issue I came across is that if Magisk is active then 'phhTrebleApp' will constantly cause high cpu load. Hiding in magisk doesn’t help but force closing does, next to no drain anymore

lo_ol said:
I can tell battery life is pretty excellent on this rom. An issue I came across is that if Magisk is active then 'phhTrebleApp' will constantly cause high cpu load. Hiding in magisk doesn’t help but force closing does, next to no drain anymore
Click to expand...
Click to collapse
Sorry for noob question
I manage to install this ROM via fastboot.
But I am having problem how to install Google related apps so that it will sync all my Google data to phone.
Can you describe more the steps to make Google functioned.
Thank you.

lo_ol said:
I can tell battery life is pretty excellent on this rom. An issue I came across is that if Magisk is active then 'phhTrebleApp' will constantly cause high cpu load. Hiding in magisk doesn’t help but force closing does, next to no drain anymore
Click to expand...
Click to collapse
I don't know why I have drain battery ! . I'll try this... also Maybe that's because high cpu load Most of the time.
Also fast charging does not work ,Even if it is activated from the settings .Maybe you may check it @Phie
---------- Post added at 09:12 PM ---------- Previous post was at 08:58 PM ----------
nadliw said:
Sorry for noob question
I manage to install this ROM via fastboot.
But I am having problem how to install Google related apps so that it will sync all my Google data to phone.
Can you describe more the steps to make Google functioned.
Thank you.
Click to expand...
Click to collapse
-enable Sync in settings
- Add a Google account through the settings and sync.
-Download Google Chrome Add Google Account there too
- create a folder into priv-app and copy the Google Play apk to Inside the app system's roots and into folder in priv-app .Restart and should see the Google Play Store and your account registered

Related

Market causes reboot on self compiled CM6

hi!
I compiled for myself CM6 with newest pershoot's kernel with enabled 2708-radio support and little OC.
The problem is that when i try to install app via Market. When it's installing my phone is freezeing and rebooting (boot loop)
here's the log:
Code:
D/vending ( 550): [27] AssetDownloader.downloadAndInstall(): Initiating Download for 1 applications.
I/vending ( 550): [27] DownloadManagerUtil.enqueueDownload(): Enqueue for download [email protected]
D/vending ( 550): [27] LocalAssetDatabase.notifyListener(): -5781525206773732665 / null
D/vending ( 550): [27] LocalAssetDatabase.notifyListener(): -5781525206773732665 / DOWNLOADING
D/dalvikvm( 160): GC_FOR_MALLOC freed 11628 objects / 587920 bytes in 179ms
D/dalvikvm( 295): GC_FOR_MALLOC freed 10210 objects / 624656 bytes in 111ms
I/vending ( 550): [28] AssetDownloader$DownloadManagerBroadcastReceiver.startNextDownload(): Found Paused URI null
I/vending ( 550): [28] AssetDownloader$DownloadManagerBroadcastReceiver.startNextDownload(): No more paused downloads.
D/vending ( 550): [28] AssetDownloader$DownloadManagerBroadcastReceiver.handleDownloadCompletedAction(): Got a download completed intent.
D/vending ( 550): [28] LocalAssetDatabase.notifyListener(): -5781525206773732665 / null
D/vending ( 550): [29] AssetDownloader$DownloadManagerBroadcastReceiver.installFromUri(): Calling install uri=content://downloads/download/2 src=null asset=-5781525206773732665 (com.rechild.advancedtaskkiller:0) [DOWNLOADING] name=Advanced Task Killer last=TRUE
D/vending ( 550): [29] LocalAssetDatabase.notifyListener(): -5781525206773732665 / INSTALLING
D/vending ( 550): [29] VendingNotificationManager.showNotification(): Showing notification: [AssetID=-5781525206773732665, NotificationID=2076704426, Title=Advanced Task Killer, Message=Instalowanie...]
I/ActivityManager( 160): Start proc com.android.defcontainer for service com.android.defcontainer/.DefaultContainerService: pid=620 uid=10007 gids={1015, 2001}
D/MediaScannerService( 295): IMediaScannerService.scanFile: /mnt/sdcard/download/downloadfile.apk mimeType: application/vnd.android.package-archive
D/dalvikvm( 620): GC_EXPLICIT freed 657 objects / 51256 bytes in 84ms
V/MediaProvider( 295): /mnt/sdcard volume ID: -290918062
E/PackageManager( 160): Couldn't create temp file for downloaded package file.
W/dalvikvm( 160): threadid=10: thread exiting with uncaught exception (group=0x400207f0)
E/AndroidRuntime( 160): *** FATAL EXCEPTION IN SYSTEM PROCESS: PackageManager
E/AndroidRuntime( 160): java.lang.NullPointerException
E/AndroidRuntime( 160): at com.android.server.PackageManagerService$FileInstallArgs.createCopyFile(PackageManagerService.java:5144)
E/AndroidRuntime( 160): at com.android.server.PackageManagerService$FileInstallArgs.copyApk(PackageManagerService.java:5152)
E/AndroidRuntime( 160): at com.android.server.PackageManagerService$InstallParams.handleStartCopy(PackageManagerService.java:4962)
E/AndroidRuntime( 160): at com.android.server.PackageManagerService$HandlerParams.startCopy(PackageManagerService.java:4821)
E/AndroidRuntime( 160): at com.android.server.PackageManagerService$PackageHandler.doHandleMessage(PackageManagerService.java:470)
E/AndroidRuntime( 160): at com.android.server.PackageManagerService$PackageHandler.handleMessage(PackageManagerService.java:415)
E/AndroidRuntime( 160): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 160): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 160): at android.os.HandlerThread.run(HandlerThread.java:60)
I/Process ( 160): Sending signal. PID: 160 SIG: 9
I/ServiceManager( 118): service 'uimode' died
I/ServiceManager( 118): service 'backup' died
I/ServiceManager( 118): service 'appwidget' died
I/ServiceManager( 118): service 'SurfaceFlinger' died
How to fix that problem?

Cm12.1 mtk6752 boot issue

hello i have tried to port cm12.1 to my Lenovo p70 have Chipset MTK 6752
first it boot and optimize apps then it stuck on starting apps
i found this in logs
Code:
I/auditd ( 808): Starting up
E/audit_log( 808): Could not stat audit logfile /data/misc/audit/audit.log: Permission denied
E/auditd ( 808): Failed on audit_log_open
I/auditd ( 808): Exiting
I/AKMD2 ( 810): AKMD PG and DOEPlus v20140729 (Library for AK9911: v7.2.0.729.314) started.
I/AKMD2 ( 810): Debug: ON
E/AKMD2 ( 810): AKD_InitDevice:93 open Error (No such file or directory).
I/AKMD2 ( 810): AKMD end (-2).
I/ServiceManager( 678): Waiting for service media.audio_policy...
I/ServiceManager( 678): Waiting for service media.audio_flinger...
I/ServiceManager( 678): Waiting for service media.audio_policy...
I/ServiceManager( 678): Waiting for service media.audio_flinger...
I/ServiceManager( 678): Waiting for service media.audio_policy...
I/ServiceManager( 678): Waiting for service media.audio_flinger...
W/AudioSystem( 678): AudioPolicyService not published, waiting...
W/AudioSystem( 678): AudioFlinger not published, waiting...
I/ServiceManager( 678): Waiting for service media.audio_policy...
I/ServiceManager( 678): Waiting for service media.audio_flinger...
I/ServiceManager( 678): Waiting for service media.audio_policy...
I/ServiceManager( 678): Waiting for service media.audio_flinger...
I/auditd ( 814): Starting up
E/audit_log( 814): Could not stat audit logfile /data/misc/audit/audit.log: Permission denied
E/auditd ( 814): Failed on audit_log_open
I/auditd ( 814): Exiting
I/AKMD2 ( 816): AKMD PG and DOEPlus v20140729 (Library for AK9911: v7.2.0.729.314) started.
I/AKMD2 ( 816): Debug: ON
E/AKMD2 ( 816): AKD_InitDevice:93 open Error (No such file or directory).
I/AKMD2 ( 816): AKMD end (-2).
I/ServiceManager( 678): Waiting for service media.audio_policy...
I/ServiceManager( 678): Waiting for service media.audio_flinger...
so i tried to change audio libs in system/lib & system/lib64 but didn't fix the problem
somebody help!
Can someone help me ??? what can i do to boot it ????

Services Start fails. BootLoop. (Stuck at BootAnimation)

Hi. I built CM13 for the Samsung S6. It shows the BootAnimation and then enters a BootLoop. I don't know where the problem is, something related with the services startup. I also get BOOT FAILURE performing boot dexopt.
And a NullPointerException:
void com.android.server.wm.WindowManagerService.updateBootProgress(int, android.content.pm.ApplicationInfo, int, int, boolean)' on a null object reference
Looking at the source from ActivityManagerService, I saw that the NullPointerException comes from executing the method "updateBootProgress" on "mWindowManager", that is null. That object comes from the method "setWindowManager" that is basically a setter. It gets a WindowManagerService object and sets "mWindowManager" to that object. I don't know when this setter is used...
I can't post the LogCat because I'm a new user... Thanks.
Here's the error part:
10-31 23:04:46.689 4122 4122 E System : ******************************************
10-31 23:04:46.690 4122 4122 E System : ************ Failure starting core service
10-31 23:04:46.690 4122 4122 E System : java.lang.RuntimeException: Failed to create service com.android.server.AlarmManagerService: service constructor threw an exception
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:100)
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:512)
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.690 4122 4122 E System : at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.690 4122 4122 E System : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.690 4122 4122 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.690 4122 4122 E System : Caused by: java.lang.reflect.InvocationTargetException
10-31 23:04:46.690 4122 4122 E System : at java.lang.reflect.Constructor.newInstance(Native Method)
10-31 23:04:46.690 4122 4122 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:89)
10-31 23:04:46.690 4122 4122 E System : ... 6 more
10-31 23:04:46.690 4122 4122 E System : Caused by: java.lang.NoClassDefFoundError: com.android.server.AlarmManagerService$1
10-31 23:04:46.690 4122 4122 E System : at com.android.server.AlarmManagerService.<init>(AlarmManagerService.java:310)
10-31 23:04:46.690 4122 4122 E System : ... 8 more
10-31 23:04:46.690 4122 4122 I SystemServer: Input Method Service
10-31 23:04:46.692 4122 4122 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.server.InputMethodManagerService$1>
10-31 23:04:46.692 4122 4122 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.server.InputMethodManagerService$1>
10-31 23:04:46.717 4122 4122 I art : Rejecting re-init on previously-failed class java.lang.Class<com.android.server.InputMethodManagerService$1>
10-31 23:04:46.717 4122 4122 W SystemServer: ***********************************************
10-31 23:04:46.717 4122 4122 E SystemServer: BOOT FAILURE starting Input Manager Service
10-31 23:04:46.717 4122 4122 E SystemServer: java.lang.NoClassDefFoundError: com.android.server.InputMethodManagerService$1
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:209)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.server.SystemServer.startOtherServices(SystemServer.java:575)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.717 4122 4122 E SystemServer: at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.717 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.717 4122 4122 I SystemServer: Accessibility Manager
10-31 23:04:46.720 4122 4122 W SystemServer: ***********************************************
10-31 23:04:46.720 4122 4122 E SystemServer: BOOT FAILURE making display ready
10-31 23:04:46.720 4122 4122 E SystemServer: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.displayReady()' on a null object reference
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.server.SystemServer.startOtherServices(SystemServer.java:591)
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.720 4122 4122 E SystemServer: at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.720 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.721 4122 4122 I SystemServiceManager: Starting com.android.server.MountService$Lifecycle
10-31 23:04:46.728 4122 5062 D MountService: Thinking about reset, mSystemReady=false, mDaemonConnected=true
10-31 23:04:46.729 4122 5062 D MountService: Thinking about reset, mSystemReady=false, mDaemonConnected=true
10-31 23:04:46.729 4122 5062 D CryptdConnector: SND -> {1 cryptfs getfield SystemLocale}
10-31 23:04:46.729 4122 4122 I SystemServiceManager: Starting com.android.server.UiModeManagerService
10-31 23:04:46.729 2969 3020 I Ext4Crypt: ext4 crypto complete called on /data
10-31 23:04:46.730 2969 3020 I Ext4Crypt: No master key, so not ext4enc
10-31 23:04:46.731 4122 4122 I ActivityManager: Config changes=200 {1.0 ?mcc?mnc en_US ldltr ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?touch ?keyb/?/? ?nav/? s.2 themeResource=null}
10-31 23:04:46.731 4122 5064 D CryptdConnector: RCV <- {200 1 -1}
10-31 23:04:46.732 4122 5062 W MountService: No primary storage mounted!
10-31 23:04:46.733 4122 5062 D VoldConnector: SND -> {1 asec list}
10-31 23:04:46.733 4122 4122 W PackageManager: No disk maintenance in 1477955086733; running immediately
10-31 23:04:46.733 4122 5063 D VoldConnector: RCV <- {400 1 Failed to open asec dir (No such file or directory)}
10-31 23:04:46.734 4122 5062 I PackageManager: No secure containers found
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.INTERACT_ACROSS_USERS_FULL to package org.cyanogenmod.snap (protectionLevel=258 flags=0x38d8bc45)
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.SET_ORIENTATION to package org.cyanogenmod.snap (protectionLevel=2 flags=0x38d8bc45)
10-31 23:04:46.734 4122 5063 D VoldConnector: RCV <- {200 1 asec operation succeeded}
10-31 23:04:46.734 4122 5062 W PackageManager: Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.calendar
10-31 23:04:46.734 4122 5062 W PackageManager: Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package com.android.providers.calendar
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.REAL_GET_TASKS to package org.cyanogenmod.wallpapers.photophase (protectionLevel=18 flags=0x3898be45)
10-31 23:04:46.734 4122 5062 W PackageManager: Unknown permission android.permission.CANCEL_NOTIFICATIONS in package org.cyanogenmod.theme.chooser2
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.ACCESS_DOWNLOAD_MANAGER to package org.cyanogenmod.gello.browser (protectionLevel=18 flags=0x3889be45)
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package org.cyanogenmod.gello.browser (protectionLevel=2 flags=0x3889be45)
10-31 23:04:46.734 4122 5062 W PackageManager: Not granting permission android.permission.WRITE_MEDIA_STORAGE to package org.cyanogenmod.gello.browser (protectionLevel=18 flags=0x3889be45)
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission org.cyanogenmod.gello.browser.permission.READ_HOMEPAGE in package org.cyanogenmod.gello.browser
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission org.cyanogenmod.gello.browser.permission.WRITE_HOMEPAGE in package org.cyanogenmod.gello.browser
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_CALLER_INFO in package com.android.messaging
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_RIDEINPROGRESS_SERVICE in package com.android.messaging
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_RIDESHARING_SERVICE in package com.android.messaging
10-31 23:04:46.735 4122 4122 W SystemServer: ***********************************************
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyngn.stats.SEND_ANALYTICS in package com.cyanogenmod.setupwizard
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.permission.REQUEST_KILL_SWITCH_OP in package com.cyanogenmod.setupwizard
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_INCALL_SERVICE in package com.android.contacts
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.PLUGIN_STATUS_CHANGED in package com.android.contacts
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_CALLER_INFO in package com.android.contacts
10-31 23:04:46.735 4122 4122 E SystemServer: BOOT FAILURE performing boot dexopt
10-31 23:04:46.735 4122 4122 E SystemServer: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.updateBootProgress(int, android.content.pm.ApplicationInfo, int, int, boolean)' on a null object reference
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.am.ActivityManagerService.updateBootProgress(ActivityManagerService.java:6578)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.pm.PackageManagerService.performBootDexOpt(PackageManagerService.java:6495)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.pm.PackageManagerService.performBootDexOpt(PackageManagerService.java:6442)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.SystemServer.startOtherServices(SystemServer.java:618)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.735 4122 4122 E SystemServer: at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.735 4122 4122 E SystemServer: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.calendar
10-31 23:04:46.735 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.onetimeinitializer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.onetimeinitializer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_INCALL_SERVICE in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.PLUGIN_STATUS_CHANGED in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.PUBLISH_DISCOVERY_NUDGE in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_DEEPLINK_SERVICE in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.READ_DEEPLINK_DATABASE in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogen.ambient.permission.BIND_CALLER_INFO in package com.android.dialer
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.cyanogenmod.trebuchet
10-31 23:04:46.736 4122 4122 E System : ******************************************
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.cyanogenmod.trebuchet
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyngn.stats.SEND_ANALYTICS in package com.cyanogenmod.trebuchet
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.google.android.permission.INSTALL_WEARABLE_PACKAGES in package com.android.packageinstaller
10-31 23:04:46.736 4122 5062 W PackageManager: Not granting permission android.permission.DELETE_PACKAGES to package com.svox.pico (protectionLevel=18 flags=0x3888be45)
10-31 23:04:46.736 4122 4122 E System : ************ Failure starting system services
10-31 23:04:46.736 4122 4122 E System : java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.updateBootProgress(int, android.content.pm.ApplicationInfo, int, int, boolean)' on a null object reference
10-31 23:04:46.736 4122 4122 E System : at com.android.server.am.ActivityManagerService.updateBootProgress(ActivityManagerService.java:6578)
10-31 23:04:46.736 4122 4122 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:624)
10-31 23:04:46.736 4122 4122 E System : at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.736 4122 4122 E System : at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.736 4122 4122 E System : at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.736 4122 4122 E System : at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.736 4122 4122 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission android.permission.ACCESS_SUPERUSER in package com.cyanogenmod.filemanager
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.cyanogenmod.filemanager.permissions.READ_THEME in package com.cyanogenmod.filemanager
10-31 23:04:46.736 4122 4122 D AndroidRuntime: Shutting down VM
--------- beginning of crash
10-31 23:04:46.736 4122 4122 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
10-31 23:04:46.736 4122 4122 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.server.wm.WindowManagerService.updateBootProgress(int, android.content.pm.ApplicationInfo, int, int, boolean)' on a null object reference
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.server.am.ActivityManagerService.updateBootProgress(ActivityManagerService.java:6578)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:624)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:291)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:176)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-31 23:04:46.736 4122 4122 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.google.android.gallery3d.permission.PICASA_STORE in package com.android.dreams.phototable
10-31 23:04:46.736 4122 5062 W PackageManager: Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
10-31 23:04:46.737 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.READ_SETTINGS in package com.android.settings
10-31 23:04:46.737 4122 5062 W PackageManager: Unknown permission com.android.launcher.permission.WRITE_SETTINGS in package com.android.settings
10-31 23:04:46.737 4122 4122 I Process : Sending signal. PID: 4122 SIG: 9
10-31 23:04:46.737 4122 5062 W PackageManager: Not granting permission android.permission.REAL_GET_TASKS to package com.cyanogenmod.eleven (protectionLevel=18 flags=0x3898be65)
10-31 23:04:46.755 3038 3038 E installd: eof
10-31 23:04:46.756 3038 3038 E installd: failed to read size
10-31 23:04:46.756 3038 3038 I installd: closing connection
10-31 23:04:46.756 3022 3022 I lowmemorykiller: ActivityManager disconnected
10-31 23:04:46.756 3022 3022 I lowmemorykiller: Closing Activity Manager data connection
10-31 23:04:46.757 3023 3023 I ServiceManager: service 'procstats' died
10-31 23:04:46.757 3023 3023 I ServiceManager: service 'meminfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'gfxinfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'dbinfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'cpuinfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'permission' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'processinfo' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'batterymanager' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'usagestats' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'webviewupdate' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'scheduling_policy' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'telephony.registry' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'media.camera.proxy' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'account' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'content' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'user' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'activity' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'vibrator' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'consumer_ir' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'accessibility' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'sensorservice' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'mount' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'uimode' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'batterystats' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'appops' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'power' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'display' died
10-31 23:04:46.758 3023 3023 I ServiceManager: service 'package' died
10-31 23:04:48.138 3046 3046 E Zygote : Exit zygote because system server (4122) has terminated
10-31 23:04:48.201 3023 3023 I ServiceManager: service 'media.radio' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.sound_trigger_hw' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.audio_flinger' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.player' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.resource_manager' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.camera' died
10-31 23:04:48.202 3023 3023 I ServiceManager: service 'media.audio_policy' died
Click to expand...
Click to collapse

[Completed] S6 Edge+ SM-G928T Stuck in Bootloop after phone was rebooted

I was on a Custom Rom Darthstaler. Everything(Xposex, Su) was running perfectly. After like a week, my phone froze during a video call. I restarted it and found it stuck on samsung bootsplash screen. I tried cleaning everything and flashing rom again, flashed stock rom using Odin and Smart Switch emergency rom install. None of them worked. I tried repairing the partition using PIT file but that did not worked either. Today I decided to check what waas causing the endless splashscreen , so I connected it to my computer and used ADB logcat feature. What is saw was audio process dying again and again in a loop.
Code:
02-02 07:44:35.430 2986 2986 F DEBUG : Tombstone written to: /data/tombstones/tombstone_06
02-02 07:44:35.430 2986 2986 E : ro.product_ship = true
02-02 07:44:35.430 2986 2986 E : ro.debug_level = 0x4f4c
02-02 07:44:35.430 2986 2986 E : sys.mobilecare.preload = false
02-02 07:44:35.460 2975 2975 I ServiceManager: service 'media.audio_flinger' died
02-02 07:44:35.460 2975 2975 I ServiceManager: service 'media.player' died
02-02 07:44:35.460 2975 2975 I ServiceManager: service 'media.resource_manager' died
02-02 07:44:35.460 2975 2975 I ServiceManager: service 'media.camera' died
02-02 07:44:35.500 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:35.610 5139 16315 I ServiceManager: Waiting for service media.audio_policy...
02-02 07:44:35.700 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:35.900 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.100 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.300 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.500 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.610 5139 16315 I ServiceManager: Waiting for service media.audio_policy...
02-02 07:44:36.710 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:36.830 5139 5548 D BatteryService: [email protected] : batteryPropertiesChanged!
02-02 07:44:36.830 5139 5548 D BatteryService: level:34, scale:100, status:2, health:2, present:true, voltage: 3876, temperature: 369, technology: Li-ion, AC powered:false, USB powered:true, POGO powered:false, Wireless powered:false, icon:17303445, invalid charger:0, maxChargingCurrent:0
02-02 07:44:36.830 5139 5548 D BatteryService: online:6, current avg:487, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, batterySWSelfDischarging:false, current_now:738
02-02 07:44:36.910 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.110 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.310 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.510 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.610 5139 16315 I ServiceManager: Waiting for service media.audio_policy...
02-02 07:44:37.710 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:37.910 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:38.120 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:38.320 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:38.520 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
02-02 07:44:38.610 5139 16315 W AudioSystem: AudioPolicyService not published, waiting...
02-02 07:44:38.720 3331 3331 E SamsungPowerSound: media.audio_policy not published, waiting...
Hi there,
It seems that you already found the best place on XDA to post your question.
Please continue your journey there.
Stuck in Bootloop after phone was rebooted
This section is more to help new users with their problem .
Good luck!

Xperia Open project and GApps [HELP WANTED]

After some tinkering and headbashing I was able to compile and flash AOSP 9 to the almighty XZP. (If anyone interested I can share the images to flash).
What works:
As far as I can tell everything works.
I was able to make calls, use BT, listen to music, send sms, make pictures with camera ETC.
I was able to switch to [email protected] Can't tell the difference tho.
I was unable to switch to [email protected], it switches back to [email protected] right away.
I didn't not tested it thoroughly tho. The problem I'm facing currently is GApps and here I have no more ideas how to approach.
What I tried:
1. Installing pico Open GApps
2. Installing super Open GApps
The result is same in both cases:
Phone reaches the "Android" logo and stuck there. Logcat show the following:
Code:
11-23 16:51:09.430 1107 1107 E SettingsState: Failed parsing settings file: /data/system/users/0/settings_secure.xml
11-23 16:51:09.434 1107 1107 E System : ******************************************
11-23 16:51:09.434 1107 1107 E System : ************ Failure starting core service
11-23 16:51:09.434 1107 1107 E System : java.lang.RuntimeException: Unable to get provider com.android.providers.settings.SettingsProvider: java.lang.IllegalStateException: Failed parsing settings file: /data/system/users/0/settings_secure.xml
11-23 16:51:09.434 1107 1107 E System : at android.app.ActivityThread.installProvider(ActivityThread.java:6407)
11-23 16:51:09.434 1107 1107 E System : at android.app.ActivityThread.installContentProviders(ActivityThread.java:5949)
11-23 16:51:09.434 1107 1107 E System : at android.app.ActivityThread.installSystemProviders(ActivityThread.java:6589)
11-23 16:51:09.434 1107 1107 E System : at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:12901)
11-23 16:51:09.434 1107 1107 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:834)
11-23 16:51:09.434 1107 1107 E System : at com.android.server.SystemServer.run(SystemServer.java:437)
11-23 16:51:09.434 1107 1107 E System : at com.android.server.SystemServer.main(SystemServer.java:296)
11-23 16:51:09.434 1107 1107 E System : at java.lang.reflect.Method.invoke(Native Method)
11-23 16:51:09.434 1107 1107 E System : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 16:51:09.434 1107 1107 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
11-23 16:51:09.434 1107 1107 E System : Caused by: java.lang.IllegalStateException: Failed parsing settings file: /data/system/users/0/settings_secure.xml
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsState.readStateSyncLocked(SettingsState.java:790)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsState.<init>(SettingsState.java:272)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsProvider$SettingsRegistry.ensureSettingsStateLocked(SettingsProvider.java:2322)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsProvider$SettingsRegistry.ensureSettingsForUserLocked(SettingsProvider.java:2298)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsProvider$SettingsRegistry.peekSettingsStateLocked(SettingsProvider.java:2578)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsProvider$SettingsRegistry.getSettingsNamesLocked(SettingsProvider.java:2259)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsProvider$SettingsRegistry.syncSsaidTableOnStart(SettingsProvider.java:2241)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsProvider$SettingsRegistry.<init>(SettingsProvider.java:2137)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsProvider.onCreate(SettingsProvider.java:318)
11-23 16:51:09.434 1107 1107 E System : at android.content.ContentProvider.attachInfo(ContentProvider.java:1917)
11-23 16:51:09.434 1107 1107 E System : at android.content.ContentProvider.attachInfo(ContentProvider.java:1892)
11-23 16:51:09.434 1107 1107 E System : at android.app.ActivityThread.installProvider(ActivityThread.java:6402)
11-23 16:51:09.434 1107 1107 E System : ... 9 more
11-23 16:51:09.434 1107 1107 E System : Caused by: org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT @1:163 in [email protected])
11-23 16:51:09.434 1107 1107 E System : at org.kxml2.io.KXmlParser.readEntity(KXmlParser.java:1220)
11-23 16:51:09.434 1107 1107 E System : at org.kxml2.io.KXmlParser.readValue(KXmlParser.java:1402)
11-23 16:51:09.434 1107 1107 E System : at org.kxml2.io.KXmlParser.next(KXmlParser.java:393)
11-23 16:51:09.434 1107 1107 E System : at org.kxml2.io.KXmlParser.next(KXmlParser.java:313)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsState.parseStateLocked(SettingsState.java:810)
11-23 16:51:09.434 1107 1107 E System : at com.android.providers.settings.SettingsState.readStateSyncLocked(SettingsState.java:786)
11-23 16:51:09.434 1107 1107 E System : ... 20 more
11-23 16:51:09.436 1107 1107 I SystemServer: StartInputMethodManagerLifecycle
11-23 16:51:09.436 1107 1107 I SystemServiceManager: Starting com.android.server.InputMethodManagerService$Lifecycle
11-23 16:51:09.439 606 606 D ZygoteInitTiming_lazy: BeginIcuCachePinning took to complete: 14ms
11-23 16:51:09.439 606 606 I Zygote : Preloading classes...
11-23 16:51:09.441 1107 1107 E System : ******************************************
11-23 16:51:09.442 1107 1107 E System : ************ Failure starting system services
11-23 16:51:09.442 1107 1107 E System : java.lang.RuntimeException: Failed to create service com.android.server.InputMethodManagerService$Lifecycle: service constructor threw an exception
11-23 16:51:09.442 1107 1107 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:109)
11-23 16:51:09.442 1107 1107 E System : at com.android.server.SystemServer.startOtherServices(SystemServer.java:961)
11-23 16:51:09.442 1107 1107 E System : at com.android.server.SystemServer.run(SystemServer.java:437)
11-23 16:51:09.442 1107 1107 E System : at com.android.server.SystemServer.main(SystemServer.java:296)
11-23 16:51:09.442 1107 1107 E System : at java.lang.reflect.Method.invoke(Native Method)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
11-23 16:51:09.442 1107 1107 E System : Caused by: java.lang.reflect.InvocationTargetException
11-23 16:51:09.442 1107 1107 E System : at java.lang.reflect.Constructor.newInstance0(Native Method)
11-23 16:51:09.442 1107 1107 E System : at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
11-23 16:51:09.442 1107 1107 E System : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:98)
11-23 16:51:09.442 1107 1107 E System : ... 6 more
11-23 16:51:09.442 1107 1107 E System : Caused by: java.lang.IllegalStateException: Cannot access system provider: 'settings' before system providers are installed!
11-23 16:51:09.442 1107 1107 E System : at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:12341)
11-23 16:51:09.442 1107 1107 E System : at com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:12606)
11-23 16:51:09.442 1107 1107 E System : at android.app.ActivityThread.acquireProvider(ActivityThread.java:5981)
11-23 16:51:09.442 1107 1107 E System : at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:2573)
11-23 16:51:09.442 1107 1107 E System : at android.content.ContentResolver.acquireProvider(ContentResolver.java:1812)
11-23 16:51:09.442 1107 1107 E System : at android.provider.Settings$ContentProviderHolder.getProvider(Settings.java:1964)
11-23 16:51:09.442 1107 1107 E System : at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:2056)
11-23 16:51:09.442 1107 1107 E System : at android.provider.Settings$Secure.getStringForUser(Settings.java:4898)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getString(InputMethodUtils.java:960)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsStr(InputMethodUtils.java:1125)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1047)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodListLocked(InputMethodUtils.java:1007)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getExplicitlyOrImplicitlyEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1385)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController$InputMethodAndSubtypeList.getSortedInputMethodAndSubtypeList(InputMethodSubtypeSwitchingController.java:206)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.resetCircularListLocked(InputMethodSubtypeSwitchingController.java:581)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.<init>(InputMethodSubtypeSwitchingController.java:560)
11-23 16:51:09.442 1107 1107 E System : at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.createInstanceLocked(InputMethodSubtypeSwitchingController.java:565)
11-23 16:51:09.442 1107 1107 E System : at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:1400)
11-23 16:51:09.442 1107 1107 E System : at com.android.server.InputMethodManagerService$Lifecycle.<init>(InputMethodManagerService.java:1282)
11-23 16:51:09.442 1107 1107 E System : ... 9 more
11-23 16:51:09.444 1107 1107 D SystemServerTiming: StartInputMethodManagerLifecycle took to complete: 7ms
11-23 16:51:09.444 1107 1107 E Zygote : System zygote died with exception
11-23 16:51:09.444 1107 1107 E Zygote : java.lang.RuntimeException: Failed to create service com.android.server.InputMethodManagerService$Lifecycle: service constructor threw an exception
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:109)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.SystemServer.startOtherServices(SystemServer.java:961)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.SystemServer.run(SystemServer.java:437)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.SystemServer.main(SystemServer.java:296)
11-23 16:51:09.444 1107 1107 E Zygote : at java.lang.reflect.Method.invoke(Native Method)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
11-23 16:51:09.444 1107 1107 E Zygote : Caused by: java.lang.reflect.InvocationTargetException
11-23 16:51:09.444 1107 1107 E Zygote : at java.lang.reflect.Constructor.newInstance0(Native Method)
11-23 16:51:09.444 1107 1107 E Zygote : at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:98)
11-23 16:51:09.444 1107 1107 E Zygote : ... 6 more
11-23 16:51:09.444 1107 1107 E Zygote : Caused by: java.lang.IllegalStateException: Cannot access system provider: 'settings' before system providers are installed!
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:12341)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:12606)
11-23 16:51:09.444 1107 1107 E Zygote : at android.app.ActivityThread.acquireProvider(ActivityThread.java:5981)
11-23 16:51:09.444 1107 1107 E Zygote : at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:2573)
11-23 16:51:09.444 1107 1107 E Zygote : at android.content.ContentResolver.acquireProvider(ContentResolver.java:1812)
11-23 16:51:09.444 1107 1107 E Zygote : at android.provider.Settings$ContentProviderHolder.getProvider(Settings.java:1964)
11-23 16:51:09.444 1107 1107 E Zygote : at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:2056)
11-23 16:51:09.444 1107 1107 E Zygote : at android.provider.Settings$Secure.getStringForUser(Settings.java:4898)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getString(InputMethodUtils.java:960)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsStr(InputMethodUtils.java:1125)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1047)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodListLocked(InputMethodUtils.java:1007)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getExplicitlyOrImplicitlyEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1385)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController$InputMethodAndSubtypeList.getSortedInputMethodAndSubtypeList(InputMethodSubtypeSwitchingController.java:206)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.resetCircularListLocked(InputMethodSubtypeSwitchingController.java:581)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.<init>(InputMethodSubtypeSwitchingController.java:560)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.createInstanceLocked(InputMethodSubtypeSwitchingController.java:565)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:1400)
11-23 16:51:09.444 1107 1107 E Zygote : at com.android.server.InputMethodManagerService$Lifecycle.<init>(InputMethodManagerService.java:1282)
11-23 16:51:09.444 1107 1107 E Zygote : ... 9 more
11-23 16:51:09.446 1107 1107 D AndroidRuntime: Shutting down VM
--------- beginning of crash
11-23 16:51:09.446 1107 1107 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
11-23 16:51:09.446 1107 1107 E AndroidRuntime: java.lang.RuntimeException: Failed to create service com.android.server.InputMethodManagerService$Lifecycle: service constructor threw an exception
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:109)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.SystemServer.startOtherServices(SystemServer.java:961)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.SystemServer.run(SystemServer.java:437)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.SystemServer.main(SystemServer.java:296)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:838)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: Caused by: java.lang.reflect.InvocationTargetException
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance0(Native Method)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:98)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: ... 6 more
11-23 16:51:09.446 1107 1107 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Cannot access system provider: 'settings' before system providers are installed!
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:12341)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:12606)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at android.app.ActivityThread.acquireProvider(ActivityThread.java:5981)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at android.app.ContextImpl$ApplicationContentResolver.acquireProvider(ContextImpl.java:2573)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at android.content.ContentResolver.acquireProvider(ContentResolver.java:1812)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at android.provider.Settings$ContentProviderHolder.getProvider(Settings.java:1964)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at android.provider.Settings$NameValueCache.getStringForUser(Settings.java:2056)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at android.provider.Settings$Secure.getStringForUser(Settings.java:4898)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getString(InputMethodUtils.java:960)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsStr(InputMethodUtils.java:1125)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1047)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getEnabledInputMethodListLocked(InputMethodUtils.java:1007)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodUtils$InputMethodSettings.getExplicitlyOrImplicitlyEnabledInputMethodsAndSubtypeListLocked(InputMethodUtils.java:1385)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController$InputMethodAndSubtypeList.getSortedInputMethodAndSubtypeList(InputMethodSubtypeSwitchingController.java:206)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.resetCircularListLocked(InputMethodSubtypeSwitchingController.java:581)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.<init>(InputMethodSubtypeSwitchingController.java:560)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.internal.inputmethod.InputMethodSubtypeSwitchingController.createInstanceLocked(InputMethodSubtypeSwitchingController.java:565)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:1400)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: at com.android.server.InputMethodManagerService$Lifecycle.<init>(InputMethodManagerService.java:1282)
11-23 16:51:09.446 1107 1107 E AndroidRuntime: ... 9 more
11-23 16:51:09.448 1107 1107 I Process : Sending signal. PID: 1107 SIG: 9
11-23 16:51:09.459 606 606 I PackageBackwardCompatibility: Loaded android.content.pm.OrgApacheHttpLegacyUpdater
11-23 16:51:09.460 606 606 I PackageBackwardCompatibility: Could not find android.content.pm.AndroidTestBaseUpdater, ignoring
11-23 16:51:09.471 650 650 I lowmemorykiller: lmkd data connection dropped
11-23 16:51:09.472 650 650 I lowmemorykiller: closing lmkd data connection
11-23 16:51:09.473 543 543 I ServiceManager: service 'display' died
11-23 16:51:09.473 543 543 I ServiceManager: service 'dbinfo' died
11-23 16:51:09.474 543 543 I ServiceManager: service 'cpuinfo' died
11-23 16:51:09.474 543 543 I ServiceManager: service 'permission' died
11-23 16:51:09.474 543 543 I ServiceManager: service 'processinfo' died
11-23 16:51:09.474 543 543 I ServiceManager: service 'gfxinfo' died
11-23 16:51:09.475 543 543 I ServiceManager: service 'meminfo' died
11-23 16:51:09.475 543 543 I ServiceManager: service 'procstats' died
11-23 16:51:09.475 543 543 I ServiceManager: service 'activity' died
11-23 16:51:09.476 543 543 I ServiceManager: service 'user' died
11-23 16:51:09.476 543 543 I ServiceManager: service 'otadexopt' died
11-23 16:51:09.476 605 605 I Zygote : Process 1107 exited due to signal (9)
11-23 16:51:09.476 543 543 I ServiceManager: service 'package_native' died
11-23 16:51:09.476 605 605 E Zygote : Exit zygote because system server (1107) has terminated
11-23 16:51:09.477 543 543 I ServiceManager: service 'package' died
11-23 16:51:09.477 543 543 I ServiceManager: service 'sensorservice' died
11-23 16:51:09.477 543 543 I ServiceManager: service 'battery' died
11-23 16:51:09.478 543 543 I ServiceManager: service 'batteryproperties' died
11-23 16:51:09.478 543 543 I ServiceManager: service 'usagestats' died
11-23 16:51:09.478 543 543 I ServiceManager: service 'webviewupdate' died
11-23 16:51:09.478 543 543 I ServiceManager: service 'binder_calls_stats' died
11-23 16:51:09.479 543 543 I ServiceManager: service 'sec_key_att_app_id_provider' died
11-23 16:51:09.479 543 543 I ServiceManager: service 'scheduling_policy' died
11-23 16:51:09.479 543 543 I ServiceManager: service 'telephony.registry' died
11-23 16:51:09.479 543 543 I ServiceManager: service 'account' died
11-23 16:51:09.480 543 543 I ServiceManager: service 'content' died
11-23 16:51:09.480 543 543 I ServiceManager: service 'device_identifiers' died
11-23 16:51:09.480 543 543 I ServiceManager: service 'batterystats' died
11-23 16:51:09.481 543 543 I ServiceManager: service 'appops' died
11-23 16:51:09.481 543 543 I ServiceManager: service 'power' died
11-23 16:51:09.481 543 543 I ServiceManager: service 'recovery' died
11-23 16:51:09.490 543 543 I ServiceManager: service 'media.audio_flinger' died
11-23 16:51:09.490 615 1058 I r_submix: adev_close()
11-23 16:51:09.491 543 543 I ServiceManager: service 'media.audio_policy' died
11-23 16:51:09.491 543 543 I ServiceManager: service 'media.sound_trigger_hw' died
11-23 16:51:09.496 543 543 I ServiceManager: service 'media.camera' died
11-23 16:51:09.502 543 543 I ServiceManager: service 'media.player' died
11-23 16:51:09.502 543 543 I ServiceManager: service 'media.resource_manager' died
11-23 16:51:09.506 543 543 I ServiceManager: service 'netd' died
11-23 16:51:09.511 543 543 I ServiceManager: service 'wificond' died
And this just repeats itself. So it seems that something gets borken after installing GApps.
Any ideas how to fix that are welcome.
Also, if you want, I can share the compiled images for Dual sim variant.
Maybe try Mindthegapps. I remember I used it when installing Paranoid Android. Open gapps didn't work on it. Is google camera working? Hdr+ and slow motion.
But where is the link of all this?
Envoyé de mon G8142 en utilisant Tapatalk
I also built it a few days before and it worked flawlessly with OpenGapps and surprisingly ran quite well. But that was also with Oreo which then slowed down like hell in a few days.
Also I didn't stay with it because I couldn't get 4k working in a way it's usable (huge stuttering and jumping while scrolling and similar), but YouTube 4k interestingly worked well with close to 0 framedrops while playing (only the few usual ones while starting and maximizing which also are with stock).
I was able to switch to [email protected]
Click to expand...
Click to collapse
Is there any utilities to configure and confirm whether it's really 120Hz?
Besides, are there any specific build parameters (or code changes) needed for properly enabling 120Hz?
On the other hand, I'm trying to look for a way to build 9.0 (CarbonROM 7.0) on my device as well, but I'm at a loss at where to look for the vendor tree (vendor/sony/maple). Besides, I don't even know whether CarbonROM (at least existing Oreo ROM) actually supported 120Hz or not.
LSS4181 said:
Is there any utilities to configure and confirm whether it's really 120Hz?
Besides, are there any specific build parameters (or code changes) needed for properly enabling 120Hz?
On the other hand, I'm trying to look for a way to build 9.0 (CarbonROM 7.0) on my device as well, but I'm at a loss at where to look for the vendor tree (vendor/sony/maple). Besides, I don't even know whether CarbonROM (at least existing Oreo ROM) actually supported 120Hz or not.
Click to expand...
Click to collapse
hey bro carbon doesn't support 120 hz and here is vendor tree https://github.com/obsd39/proprietary_vendor_sony
Can someone share a 9.0 Build with Me? Flashing Magisk with GApps together should fix the Problems the OP had here...
Is also someone interested on bringing Treble A-Only Support to the XZ Premium!? Ive seen it worked on the XZ1 which allows to flash GSI System Images...
uditrawat said:
hey bro carbon doesn't support 120 hz and here is vendor tree https://github.com/obsd39/proprietary_vendor_sony
Click to expand...
Click to collapse
Thanks, I'll take a look at it.
Still, as for 120Hz, I'm interested in whether the kernel could be defaulted to that mode as mentioned here.
LSS4181 said:
Thanks, I'll take a look at it.
Still, as for 120Hz, I'm interested in whether the kernel could be defaulted to that mode as mentioned here.
Click to expand...
Click to collapse
man it needs really good kernel developer to make it work
What am I doing wrong here?
For now I'm currently trying to build stock AOSP under Manjaro (Arch-based) as when building CarbonROM there were some errors.
EDIT: The CarbonROM-related error question has been moved to here. This thread will be mainly about AOSP.
The thing is, with stock AOSP I'm having some problems with the ./repo_update.sh.
It's supposed to get some upstream patches (as it'll encounter some known errors when making without running that script), but in my case, I'm getting this instead:
Code:
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> android-9.0.0_r16
And nothing happens, nor does it solve the error that was kind of previously documented... such as this one.
Code:
[375/977] including hardware/qcom/gps/Android.mk ...
build/make/core/base_rules.mk:260: error: hardware/qcom/gps/msm8998/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core.
For convenience, I let lineage-devel (AUR) to pull all the necessary dependencies needed for building and I'm using openjdk-8 according to the wiki. On the other hand, I think I'll bring up a Ubuntu VM if Arch's tools are indeed breaking things, but versions like Ubuntu 16.04 LTS can be a real pain to set up at times (notably, 16.04's curl was built against gnutls and it's not working properly, preventing some repos from being synced properly as they throw the error "The TLS connection was non-properly terminated.")...
LSS4181 said:
For now I'm currently trying to build stock AOSP under Manjaro (Arch-based) as when building CarbonROM there were some errors.
Code:
In file included from device/sony/yoshino-common/init/init_yoshino.cpp:39:
In file included from system/core/init/util.h:31:
system/core/init/result.h:150:12: error: call to deleted constructor of 'android::init::Error'
return Error(errno);
^~~~~~~~~~~~
system/core/init/result.h:139:5: note: 'Error' has been explicitly marked deleted here
Error(Error&&) = delete;
^
system/core/init/result.h:159:50: error: no template named 'is_same_v' in namespace 'std'; did you mean 'is_same'?
typename = std::enable_if_t, Result> &&
~~~~~^~~~~~~~~
is_same
external/libcxx/include/type_traits:856:61: note: 'is_same' declared here
template struct _LIBCPP_TEMPLATE_VIS is_same : public false_type {};
^
In file included from device/sony/yoshino-common/init/init_yoshino.cpp:39:
In file included from system/core/init/util.h:31:
system/core/init/result.h:160:45: error: expected ')'
sizeof...(V) == 0)>>
^
system/core/init/result.h:159:44: note: to match this '('
typename = std::enable_if_t, Result> &&
^
system/core/init/result.h:160:63: error: expected expression
sizeof...(V) == 0)>>
^
system/core/init/result.h:203:34: error: expected ',' or '>' in template-parameter-list
std::variant contents_;
^
system/core/init/result.h:203:43: warning: declaration does not declare anything [-Wmissing-declarations]
std::variant contents_;
^
system/core/init/result.h:206:22: error: no type named 'monostate' in namespace 'std'
using Success = std::monostate;
~~~~~^
In file included from device/sony/yoshino-common/init/init_yoshino.cpp:39:
system/core/init/util.h:45:8: error: use of undeclared identifier 'Success'; did you mean 'access'?
Result WriteFile(const std::string& path, const std::string& content);
^~~~~~~
access
bionic/libc/include/unistd.h:127:5: note: 'access' declared here
int access(const char* __path, int __mode);
^
In file included from device/sony/yoshino-common/init/init_yoshino.cpp:39:
system/core/init/util.h:45:8: error: template argument for template type parameter must be a type
Result WriteFile(const std::string& path, const std::string& content);
^~~~~~~
system/core/init/result.h:153:20: note: template parameter is declared here
template
^
device/sony/yoshino-common/init/init_yoshino.cpp:102:10: error: no matching function for call to 'ReadFile'
if (!ReadFile(filename, &data, &err)) {
^~~~~~~~
system/core/init/util.h:44:21: note: candidate function not viable: requires single argument 'path', but 3 arguments were provided
Result ReadFile(const std::string& path);
^
1 warning and 9 errors generated.
The thing is, with stock AOSP I'm having some problems with the ./repo_update.sh.
It's supposed to get some upstream patches (as it'll encounter some known errors when making without running that script), but in my case, I'm getting this instead:
Code:
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/ android-9.0.0_r16
And nothing happens, nor does it solve the error that was kind of previously documented... such as this one.
Code:
[375/977] including hardware/qcom/gps/Android.mk ...
build/make/core/base_rules.mk:260: error: hardware/qcom/gps/msm8998/core: MODULE.TARGET.SHARED_LIBRARIES.libloc_core already defined by hardware/qcom/gps/sdm845/core.
For convenience, I let lineage-devel (AUR) to pull all the necessary dependencies needed for building and I'm using openjdk-8 according to the wiki. On the other hand, I think I'll bring up a Ubuntu VM if Arch's tools are indeed breaking things, but versions like Ubuntu 16.04 LTS can be a real pain to set up at times (notably, 16.04's curl was built against gnutls and it's not working properly, preventing some repos from being synced properly as they throw the error "The TLS connection was non-properly terminated.")...
Click to expand...
Click to collapse
Did you clone Sony's local manifests into .repo folder?
Did you try the set-upstream?
If you already cloned it try some
cd .repo/local_manifests
git fetch origin
git checkout origin/android-9.0.0_r16
cd ../..
./repo_update.sh
super_extreme said:
Did you clone Sony's local manifests into .repo folder?
Did you try the set-upstream?
If you already cloned it try some
cd .repo/local_manifests
git fetch origin
git checkout origin/android-9.0.0_r16
cd ../..
./repo_update.sh
Click to expand...
Click to collapse
I just tried what you mentioned, and now I'm getting this:
Code:
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
1. "git fetch origin" exited without a message. Is this correct?
2. "git branch --set-upstream-to=origin/ android-9.0.0_r16" would error saying "origin/" is not found. I assumed it might be a typo, so I did "git branch --set-upstream-to=origin android-9.0.0_r16" (without the slash) which worked... I don't know exactly how the command should be done, maybe I'm not doing right here.
3. The first time I typed "git checkout origin/android-9.0.0_r16" it said I'm now in a detached HEAD state.
EDIT: Okay... got through this one... apparently I just need to checkout android-9.0.0_r16 again, this time without "origin". The ./repo_update.sh started merging... will see if I could proceed further.
EDIT 2: It's building now... although I'm still yet to know what it could offer with a build built using only official build instructions.
What could be causing issues with hiddenapi?
On Manjaro (Arch based), it seems I need to replace the prebuilt flex binary or it'll complain about an assertion failed (locale-related). After replacing the flex binary the build could continue, but near the end of the build process another error occurred. For some reasons, the hiddenapi is saying about "No DEX files specified".
By the way, I'm trying to build this on a PC with a AMD Ryzen CPU (in case the error might be CPU-related as far as google results could tell).
Code:
[ 96% 74769/77225] build out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/classes.dex
FAILED: out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/classes.dex
/bin/bash -c "(rm -rf out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (mkdir -p out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex/ -maxdepth 1 -name \"classes*.dex\" | sort | xargs -I{} cp -f {} out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ -name \"classes*.dex\" | sort | sed 's/^/--dex=/' | xargs out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt )"
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] No DEX files specified
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] Command: out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] Usage: hiddenapi [options]...
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47]
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --dex=<filename>: specify dex file whose members' access flags are to be set.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] At least one --dex parameter must be specified.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47]
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --light-greylist=<filename>:
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --dark-greylist=<filename>:
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --blacklist=<filename>: text files with signatures of methods/fields to be marked
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] greylisted/blacklisted respectively. At least one list must be provided.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47]
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --print-hidden-api: dump a list of marked methods/fields to the standard output.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] There is no indication which API category they belong to.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47]
[ 96% 74809/77225] //frameworks/native/services/surfaceflinger:libsurfaceflinger link libsurfaceflinger.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74810/77225] //frameworks/native/services/surfaceflinger:libsurfaceflinger link libsurfaceflinger.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74811/77225] //art/runtime:libart link libart.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74812/77225] //art/runtime:libart link libart.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74813/77225] //frameworks/base/libs/hwui:libhwui link libhwui.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74814/77225] //frameworks/base/libs/hwui:libhwui link libhwui.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
ninja: build stopped: subcommand failed.
01:32:14 ninja failed with: exit status 1
EDIT: Finally managed to complete the build. Maybe some repos weren't synced properly or for some other reasons.
By the way, for some reasons, during the build process, clang managed to segfault at a particular point (it seems Ryzen 7 isn't a good CPU of choice when compiling), although it's not a real problem as the build eventually succeeded after resuming the build process.
Code:
[ 72% 64457/88626] //external/libvpx:libvpx clang libvpx/vp9/encoder/vp9_encoder.c [arm]
FAILED: out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o
PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4691093/bin/clang -c -Iexternal/libvpx/libvpx -Iexternal/libvpx/config/arm-neon -Iexternal/libvpx/config/arm -Iexternal/libvpx -fstrict-aliasing -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -msoft-float -march=armv8-a -mfloat-abi=softfp -mfpu=neon-fp-armv8 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -D__ARM_FEATURE_LPAE=1 -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Iout/soong/.intermediates/external/libvpx/libvpx_arm_neon_asm_srcs_converted/gen/external/libvpx/libvpx -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -Ilibnativehelper/include_jni -Wall -Werror -O3 -Wno-unused-parameter -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fPIC -D_USING_LIBCXX -std=gnu99 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o.d -o out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o external/libvpx/libvpx/vp9/encoder/vp9_encoder.c
#0 0x00000000014b9f84 (prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real+0x14b9f84)
#1 0x00000000014ba1b6 (prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real+0x14ba1b6)
#2 0x00007f408fe9b3c0 __restore_rt (/usr/lib/libpthread.so.0+0x123c0)
#3 0x0000000005dc1918
Stack dump:
0. Program arguments: prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real -cc1 -triple armv8--linux-android -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name vp9_encoder.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu cortex-a53 -target-feature +soft-float-abi -target-feature +crc -target-feature +dsp -target-feature -ras -target-feature -dotprod -target-feature +hwdiv-arm -target-feature +hwdiv -target-feature -fp-only-sp -target-feature -d16 -target-feature +fp-armv8 -target-feature +neon -target-feature -crypto -target-abi aapcs-linux -mfloat-abi soft -fallow-half-arguments-and-returns -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage-notes-file /proc/self/cwd/out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.gcno -nostdsysteminc -resource-dir prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2 -dependency-file out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o.d -MT out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o -sys-header-deps -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -I external/libvpx/libvpx -I external/libvpx/config/arm-neon -I external/libvpx/config/arm -I external/libvpx -D ANDROID -D NDEBUG -U DEBUG -D __compiler_offsetof=__builtin_offsetof -D _FORTIFY_SOURCE=2 -D __ARM_FEATURE_LPAE=1 -I external/libcxx/include -I external/libcxxabi/include -I out/soong/.intermediates/external/libvpx/libvpx_arm_neon_asm_srcs_converted/gen/external/libvpx/libvpx -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -I libnativehelper/include_jni -D _USING_LIBCXX -internal-isystem prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2/include -O3 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wno-multichar -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -Wall -Werror -Wno-unused-parameter -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -std=gnu99 -fdebug-compilation-dir /proc/self/cwd -fdebug-prefix-map=/proc/self/cwd= -fdebug-prefix-map=/extdata/AOSP/= -ferror-limit 19 -fmessage-length 0 -femulated-tls -stack-protector 2 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o -x c external/libvpx/libvpx/vp9/encoder/vp9_encoder.c
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module 'external/libvpx/libvpx/vp9/encoder/vp9_encoder.c'.
4. Running pass 'Conditionally eliminate dead library calls' on function '@encode_with_recode_loop'
clang.real: error: unable to execute command: Segmentation fault (core dumped)
clang.real: error: clang frontend command failed due to signal (use -v to see invocation)
Android (4691093 based on r316199) clang version 6.0.2 (https://android.googlesource.com/toolchain/clang 183abd29fc496f55536e7d904e0abae47888fc7f) (https://android.googlesource.com/toolchain/llvm 34361f192e41ed6e4e8f9aca80a4ea7e9856f327) (based on LLVM 6.0.2svn)
Target: arm--linux-android
Thread model: posix
InstalledDir: prebuilts/clang/host/linux-x86/clang-4691093/bin
clang.real: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang.real: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang.real: note: diagnostic msg: /tmp/vp9_encoder-aaef8f.c
clang.real: note: diagnostic msg: /tmp/vp9_encoder-aaef8f.sh
clang.real: note: diagnostic msg:
********************
[ 72% 64468/88626] //external/libvpx:libvpx clang libvpx/vpx_dsp/variance.c [arm]
ninja: build stopped: subcommand failed.
12:29:18 ninja failed with: exit status 1
#### failed to build some targets (53:04 (mm:ss)) ####
EDIT 2: Is there a way to flash the image without wiping "internal storage" (/data/media)? Although I could go to the recovery right away to perform such a wipe post-flash, it's just that I recall there wasn't a way to go to recovery via fastboot...
Flashed the AOSP image and other stuffs (boot, system, oem), did not flash userdata because I still have stuffs in the internal storage.
Then immediately went to Recovery and flashed stuffs such as MindTheGapps, Magisk, NanoDroid (not for replacing Google services but for systemlessly debloat and substitute stuffs with open source counterparts). After booting, the screen went dark (implying it might be waiting for a password as my phone was encrypted with a PIN), but no password input is showing up.
If things are otherwise failing I might have to pull data from the internal storage (/sdcard) then flash the userdata to see if I could proceed any further (very low success rate)...
I've no way back now that I've flashed the oem image, because if I ever want to go back to CarbonROM I need to flash a stock OEM image (which involves FlashTool and my current Linux environment doesn't have a working one)...
EDIT: Flashing userdata (after backing up all internal storage stuffs using adb pull) and the phone now boots. However, since it was booted without flashing gapps and other stuffs, I might run into issues again... (it's so hard to make sure I get to boot to recovery before first boot after flashing from fastboot)
EDIT 2: Nope... it's not working. Upon boot it says android.process.media and bluetooth keep stopping and then powers itself off. I'm giving up... it's going to take too much time to diagnose what might be causing the issues, and that I still need to actively use the device so not much time to spare.
I would like the images also a tutorial if you can( just what commands to use and what to wipe).
also did you modified the images for example with stock camera or anything?
Since no one shares a Build should the Thread be moved to the right section...
LSS4181 said:
On Manjaro (Arch based), it seems I need to replace the prebuilt flex binary or it'll complain about an assertion failed (locale-related). After replacing the flex binary the build could continue, but near the end of the build process another error occurred. For some reasons, the hiddenapi is saying about "No DEX files specified".
By the way, I'm trying to build this on a PC with a AMD Ryzen CPU (in case the error might be CPU-related as far as google results could tell).
Code:
[ 96% 74769/77225] build out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/classes.dex
FAILED: out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/classes.dex
/bin/bash -c "(rm -rf out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (mkdir -p out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex/ -maxdepth 1 -name \"classes*.dex\" | sort | xargs -I{} cp -f {} out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ ) && (find out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/dex-hiddenapi/ -name \"classes*.dex\" | sort | sed 's/^/--dex=/' | xargs out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt )"
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] No DEX files specified
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] Command: out/host/linux-x86/bin/hiddenapi --light-greylist=out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt --dark-greylist=out/target/common/obj/PACKAGING/hiddenapi-dark-greylist.txt --blacklist=out/target/common/obj/PACKAGING/hiddenapi-blacklist.txt
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] Usage: hiddenapi [options]...
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47]
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --dex=<filename>: specify dex file whose members' access flags are to be set.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] At least one --dex parameter must be specified.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47]
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --light-greylist=<filename>:
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --dark-greylist=<filename>:
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --blacklist=<filename>: text files with signatures of methods/fields to be marked
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] greylisted/blacklisted respectively. At least one list must be provided.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47]
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] --print-hidden-api: dump a list of marked methods/fields to the standard output.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47] There is no indication which API category they belong to.
hiddenapi E 11-29 01:27:58 51753 51753 hiddenapi.cc:47]
[ 96% 74809/77225] //frameworks/native/services/surfaceflinger:libsurfaceflinger link libsurfaceflinger.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74810/77225] //frameworks/native/services/surfaceflinger:libsurfaceflinger link libsurfaceflinger.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74811/77225] //art/runtime:libart link libart.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74812/77225] //art/runtime:libart link libart.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74813/77225] //frameworks/base/libs/hwui:libhwui link libhwui.so
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
[ 96% 74814/77225] //frameworks/base/libs/hwui:libhwui link libhwui.so [arm]
Warning: request a ThreadPool with 1 threads, but LLVM_ENABLE_THREADS has been turned off
ninja: build stopped: subcommand failed.
01:32:14 ninja failed with: exit status 1
EDIT: Finally managed to complete the build. Maybe some repos weren't synced properly or for some other reasons.
By the way, for some reasons, during the build process, clang managed to segfault at a particular point (it seems Ryzen 7 isn't a good CPU of choice when compiling), although it's not a real problem as the build eventually succeeded after resuming the build process.
Code:
[ 72% 64457/88626] //external/libvpx:libvpx clang libvpx/vp9/encoder/vp9_encoder.c [arm]
FAILED: out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o
PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4691093/bin/clang -c -Iexternal/libvpx/libvpx -Iexternal/libvpx/config/arm-neon -Iexternal/libvpx/config/arm -Iexternal/libvpx -fstrict-aliasing -fomit-frame-pointer -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -fdebug-prefix-map=$PWD/= -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -msoft-float -march=armv8-a -mfloat-abi=softfp -mfpu=neon-fp-armv8 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -D__ARM_FEATURE_LPAE=1 -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Iout/soong/.intermediates/external/libvpx/libvpx_arm_neon_asm_srcs_converted/gen/external/libvpx/libvpx -Isystem/core/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Ilibnativehelper/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -Ilibnativehelper/include_jni -Wall -Werror -O3 -Wno-unused-parameter -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -fPIC -D_USING_LIBCXX -std=gnu99 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -MD -MF out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o.d -o out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o external/libvpx/libvpx/vp9/encoder/vp9_encoder.c
#0 0x00000000014b9f84 (prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real+0x14b9f84)
#1 0x00000000014ba1b6 (prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real+0x14ba1b6)
#2 0x00007f408fe9b3c0 __restore_rt (/usr/lib/libpthread.so.0+0x123c0)
#3 0x0000000005dc1918
Stack dump:
0. Program arguments: prebuilts/clang/host/linux-x86/clang-4691093/bin/clang.real -cc1 -triple armv8--linux-android -emit-obj -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name vp9_encoder.c -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu cortex-a53 -target-feature +soft-float-abi -target-feature +crc -target-feature +dsp -target-feature -ras -target-feature -dotprod -target-feature +hwdiv-arm -target-feature +hwdiv -target-feature -fp-only-sp -target-feature -d16 -target-feature +fp-armv8 -target-feature +neon -target-feature -crypto -target-abi aapcs-linux -mfloat-abi soft -fallow-half-arguments-and-returns -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -ffunction-sections -fdata-sections -coverage-notes-file /proc/self/cwd/out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.gcno -nostdsysteminc -resource-dir prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2 -dependency-file out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o.d -MT out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o -sys-header-deps -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -I external/libvpx/libvpx -I external/libvpx/config/arm-neon -I external/libvpx/config/arm -I external/libvpx -D ANDROID -D NDEBUG -U DEBUG -D __compiler_offsetof=__builtin_offsetof -D _FORTIFY_SOURCE=2 -D __ARM_FEATURE_LPAE=1 -I external/libcxx/include -I external/libcxxabi/include -I out/soong/.intermediates/external/libvpx/libvpx_arm_neon_asm_srcs_converted/gen/external/libvpx/libvpx -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -I libnativehelper/include_jni -D _USING_LIBCXX -internal-isystem prebuilts/clang/host/linux-x86/clang-4691093/lib64/clang/6.0.2/include -O3 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wno-multichar -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -Wno-expansion-to-defined -Wno-zero-as-null-pointer-constant -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -Wall -Werror -Wno-unused-parameter -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-null-pointer-arithmetic -Wno-enum-compare -Wno-enum-compare-switch -std=gnu99 -fdebug-compilation-dir /proc/self/cwd -fdebug-prefix-map=/proc/self/cwd= -fdebug-prefix-map=/extdata/AOSP/= -ferror-limit 19 -fmessage-length 0 -femulated-tls -stack-protector 2 -fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o out/soong/.intermediates/external/libvpx/libvpx/android_arm_armv8-a_cortex-a73_core_static/obj/external/libvpx/libvpx/vp9/encoder/vp9_encoder.o -x c external/libvpx/libvpx/vp9/encoder/vp9_encoder.c
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module 'external/libvpx/libvpx/vp9/encoder/vp9_encoder.c'.
4. Running pass 'Conditionally eliminate dead library calls' on function '@encode_with_recode_loop'
clang.real: error: unable to execute command: Segmentation fault (core dumped)
clang.real: error: clang frontend command failed due to signal (use -v to see invocation)
Android (4691093 based on r316199) clang version 6.0.2 (https://android.googlesource.com/toolchain/clang 183abd29fc496f55536e7d904e0abae47888fc7f) (https://android.googlesource.com/toolchain/llvm 34361f192e41ed6e4e8f9aca80a4ea7e9856f327) (based on LLVM 6.0.2svn)
Target: arm--linux-android
Thread model: posix
InstalledDir: prebuilts/clang/host/linux-x86/clang-4691093/bin
clang.real: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang.real: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang.real: note: diagnostic msg: /tmp/vp9_encoder-aaef8f.c
clang.real: note: diagnostic msg: /tmp/vp9_encoder-aaef8f.sh
clang.real: note: diagnostic msg:
********************
[ 72% 64468/88626] //external/libvpx:libvpx clang libvpx/vpx_dsp/variance.c [arm]
ninja: build stopped: subcommand failed.
12:29:18 ninja failed with: exit status 1
#### failed to build some targets (53:04 (mm:ss)) ####
EDIT 2: Is there a way to flash the image without wiping "internal storage" (/data/media)? Although I could go to the recovery right away to perform such a wipe post-flash, it's just that I recall there wasn't a way to go to recovery via fastboot...
Click to expand...
Click to collapse
I'm getting that hiddenapi error on Manjaro, how did you fix it?
theOriginalSuperl2 said:
I'm getting that hiddenapi error on Manjaro, how did you fix it?
Click to expand...
Click to collapse
At that time I simply synced the repo again and it worked. What exactly caused it was unknown, but most likely I was building while the repos were in the middle of merging commits.
However, it seems my Ryzen-based laptop is not stable when it comes to compiling, as when building with many threads, the compiler has a low chance of segfaulting halfway (with no apparent reasons) and I need to run make again (and it'll continue and finish compiling without issues).

Categories

Resources