[SOLVED] Gear Vr support in a custom rom - Galaxy S6 Q&A, Help & Troubleshooting

Hi all, i've flashed "the griffin rom" in my 920f (i've selected "gearvr support" in aroma installer) . But i have a problem with my gear vr that, once installed all required apps by samsung, when i insert my phone it appears a blank (black) screen with a small cross in the angle..
i've done a logcat
i see different particular errors:
it seems that OVRPlugin is not installed and that there is other problems like OVRCameraRig ..
12-11 11:23:34.910 16555 16799 W Unity : The referenced script on this Behaviour (Game Object 'LoaderImage') is missing!
12-11 11:23:34.910 16555 16799 W Unity :
12-11 11:23:34.910 16555 16799 W Unity : (Filename: Line: 1655)
12-11 11:23:34.910 16555 16799 W Unity :
12-11 11:23:34.940 16555 16621 E Unity : [VRDevice] Initialization of device oculus failed.
12-11 11:23:34.940 16555 16621 E Unity :
12-11 11:23:34.940 16555 16621 E Unity :
12-11 11:23:34.940 16555 16621 E Unity : (Filename: Line: 88)
12-11 11:23:34.940 16555 16621 E Unity :
12-11 11:23:34.940 5448 5448 E audit : type=1400 msg=audit(1481451814.940:330): avc: denied { read } for pid=16621 comm="UnityMain" name="libGLESv3.so" dev="sda15" ino=220830 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=ubject_r:unlabeled:s0 tclass=lnk_file permissive=0
12-11 11:23:34.950 5448 5448 E audit : SEPF_SECMOBILE_6.0.1_0030
12-11 11:23:34.950 5448 5448 E audit : type=1300 msg=audit(1481451814.940:330): arch=40000028 syscall=322 per=8 success=no exit=-13 a0=ffffff9c a1=da747f10 a2=a0000 a3=0 items=0 ppid=3523 ppcomm=main pid=16621 auid=4294967295 uid=10258 gid=10258 euid=10258 suid=10258 fsuid=10258 egid=10258 sgid=10258 fsgid=10258 ses=4294967295 tty=(none) comm="UnityMain" exe="/system/bin/app_process32_xposed" subj=u:r:untrusted_app:s0:c512,c768 key=(null)
12-11 11:23:34.950 5448 5448 E audit : type=1327 msg=audit(1481451814.940:330): proctitle="com.oculus.home"
12-11 11:23:34.950 5448 5448 E audit : type=1320 msg=audit(1481451814.940:330):
12-11 11:23:35.060 16555 16621 I Unity : PlatformNotSupportedException: Oculus Utilities version 1.9.0 is too new for OVRPlugin version 0.0.0. Update to the latest version of Unity.
12-11 11:23:35.060 16555 16621 I Unity : at OVRPlugin.get_version () [0x00000] in <filename unknown>:0
12-11 11:23:35.060 16555 16621 I Unity : at OVRManager.Awake () [0x00000] in <filename unknown>:0
12-11 11:23:35.060 16555 16621 I Unity :
12-11 11:23:35.060 16555 16621 I Unity : (Filename: Line: -1)
12-11 11:23:35.060 16555 16621 I Unity :
12-11 11:23:35.080 16555 16621 I Unity : DllNotFoundException: OVRPlugin
12-11 11:23:35.080 16555 16621 I Unity : at (wrapper managed-to-native) OVRPlugin/OVRP_1_1_0vrp_GetNodePresent (OVRPlugin/Node)
12-11 11:23:35.080 16555 16621 I Unity : at OVRPlugin.get_hmdPresent () [0x00000] in <filename unknown>:0
12-11 11:23:35.080 16555 16621 I Unity : at OVRManager.get_isHmdPresent () [0x00000] in <filename unknown>:0
12-11 11:23:35.080 16555 16621 I Unity : at Assets.Scripts.OVROverlayForLoader.OnEnable () [0x00000] in <filename unknown>:0
12-11 11:23:35.080 16555 16621 I Unity :
12-11 11:23:35.080 16555 16621 I Unity : (Filename: Line: -1)
12-11 11:23:35.080 16555 16621 I Unity :
12-11 11:23:35.090 3913 4906 W SensorService: sensor 00000000 already enabled in connection 0x7f91e4a860 (ignoring)
12-11 11:23:35.100 3913 4533 I MediaFocusControl: AudioFocus requestAudioFocus() from android.media.AudioManager$5213e7b<native proxy object> req=1flags=0x0
12-11 11:23:35.110 16555 16621 I Unity : NullReferenceException: Object reference not set to an instance of an object
12-11 11:23:35.110 16555 16621 I Unity : at OVRCameraRig.UpdateAnchors () [0x00000] in <filename unknown>:0
12-11 11:23:35.110 16555 16621 I Unity : at OVRCameraRig.Start () [0x00000] in <filename unknown>:0
12-11 11:23:35.110 16555 16621 I Unity :
12-11 11:23:35.110 16555 16621 I Unity : (Filename: Line: -1)
12-11 11:23:35.110 16555 16621 I Unity :
12-11 11:23:35.120 16555 16621 I Unity : DllNotFoundException: OVRPlugin
12-11 11:23:35.120 16555 16621 I Unity : at (wrapper managed-to-native) OVRPlugin/OVRP_1_1_0vrp_SetSystemGpuLevel (int)
12-11 11:23:35.120 16555 16621 I Unity : at OVRPlugin.set_gpuLevel (Int32 value) [0x00000] in <filename unknown>:0
12-11 11:23:35.120 16555 16621 I Unity : at Assets.Scripts.Loader+<Start>c__Iterator29.MoveNext () [0x00000] in <filename unknown>:0
12-11 11:23:35.120 16555 16621 I Unity : at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0
...ETC.......
Click to expand...
Click to collapse
or
12-11 11:23:45.130 16606 17047 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
Click to expand...
Click to collapse
i don't know what i could do ..
i've selected gear vr support in aroma installer..
but i'm in this situation now..
Thanks!
Full LOG here:
http://cloud.tapatalk.com/s/584d2a5e60af2/Log_2016-12-11_11-23-55.txt
Any suggestions?

Solved.. Only have to flash a custom kernel (in my case hacker kernel 15.5)
Inviato dal mio SM-G935F utilizzando Tapatalk

Related

[Q] Random restarts

Hi i hope this is the right forum for this question.
I get random restarts on most of my phones whenever mobile data is enabled. If i dissable mobile data the phone works fine, the restarts/shutdowns only occur when the phone is moving(maybe whenever its switching data cells)
I used different phones with different android versions but the problem was never fixed.
When i use another SIM-Card in my phone, it seems to work fine. So i ordered a new SIM-Card from my isp but the error was not fixed.
I started logging with logcat and so far two restarts occured, in both cases the log file ended very similar:
Code:
....
12-11 17:28:34.001 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:28:34.001 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:28:34.001 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:28:34.001 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:28:34.001 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:28:34.001 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:28:35.562 V/AlarmManager( 433): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP: android
12-11 17:28:35.562 V/AlarmManager( 433): waitForAlarm result :4
12-11 17:28:35.562 W/AlarmManager( 433): FACTORY_ON= 0
12-11 17:28:39.000 D/BatteryService( 433): update start
12-11 17:28:39.000 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4078 temperature: 324 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:28:39.010 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =324
12-11 17:28:39.010 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:28:39.010 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:28:39.010 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:28:39.010 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:28:39.010 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:28:39.010 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:28:39.020 W/AlarmManager( 433): FACTORY_ON= 0
12-11 17:28:39.480 D/BatteryService( 433): update start
12-11 17:28:39.480 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4081 temperature: 324 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:28:39.490 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =324
12-11 17:28:39.490 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:28:39.490 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:28:39.490 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:28:39.490 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:28:39.510 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:28:39.510 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:28:41.001 D/BatteryService( 433): update start
12-11 17:28:41.001 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4097 temperature: 326 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:28:41.011 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:28:41.011 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:28:41.011 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:28:41.011 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:28:41.011 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:28:41.011 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:28:41.011 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =326
12-11 17:28:42.001 D/BatteryService( 433): update start
12-11 17:28:42.001 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4087 temperature: 326 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:28:42.001 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =326
12-11 17:28:42.011 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:28:42.011 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:28:42.011 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:28:42.011 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:28:42.031 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:28:42.031 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:29:05.002 D/BatteryService( 433): update start
12-11 17:29:05.002 V/AlarmManager( 433): waitForAlarm result :8
12-11 17:29:05.012 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4108 temperature: 318 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:29:05.012 V/AlarmManager( 433): ClockReceiver onReceive() ACTION_TIME_TICK
12-11 17:29:05.012 W/AlarmManager( 433): FACTORY_ON= 0
12-11 17:29:05.022 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:29:05.022 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:29:05.022 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:29:05.022 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:29:05.022 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:29:05.022 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:29:05.022 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =318
12-11 17:29:05.042 D/STATUSBAR-Clock( 555): onReceive() - ACTION_TIME_TICK
12-11 17:29:05.062 D/STATUSBAR-Clock( 555): onReceive() - ACTION_TIME_TICK
12-11 17:29:05.572 V/AlarmManager( 433): waitForAlarm result :4
12-11 17:29:05.572 V/AlarmManager( 433): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP: android
12-11 17:29:05.602 W/AlarmManager( 433): FACTORY_ON= 0
12-11 17:29:07.002 D/BatteryService( 433): update start
12-11 17:29:07.002 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4088 temperature: 323 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:29:07.012 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =323
12-11 17:29:07.012 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:29:07.012 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:29:07.012 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:29:07.012 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:29:07.032 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:29:07.032 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:29:35.001 D/BatteryService( 433): update start
12-11 17:29:35.001 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4096 temperature: 318 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:29:35.001 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =318
12-11 17:29:35.001 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:29:35.001 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:29:35.001 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:29:35.001 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:29:35.031 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:29:35.031 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:29:35.081 D/dalvikvm( 433): GC_CONCURRENT freed 2029K, 24% free 28102K/36615K, paused 21ms+11ms, total 1019ms
12-11 17:29:35.602 V/AlarmManager( 433): waitForAlarm result :4
12-11 17:29:35.602 V/AlarmManager( 433): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP: android
12-11 17:29:35.612 W/AlarmManager( 433): FACTORY_ON= 0
12-11 17:29:36.167 D/BatteryService( 433): update start
12-11 17:29:36.177 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4082 temperature: 320 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:29:36.177 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =320
12-11 17:29:36.177 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:29:36.177 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:29:36.177 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:29:36.177 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:29:36.187 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:29:36.187 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:29:56.001 D/BatteryService( 433): update start
12-11 17:29:56.001 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4115 temperature: 320 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:29:56.011 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =320
12-11 17:29:56.011 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:29:56.011 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:29:56.011 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:29:56.011 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:29:56.021 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:29:56.021 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:29:57.012 D/BatteryService( 433): update start
12-11 17:29:57.012 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4057 temperature: 323 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:29:57.012 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =323
12-11 17:29:57.012 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:29:57.012 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:29:57.012 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:29:57.012 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:29:57.022 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:29:57.022 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:30:02.001 D/BatteryService( 433): update start
12-11 17:30:02.001 V/AlarmManager( 433): waitForAlarm result :8
12-11 17:30:02.001 V/AlarmManager( 433): ClockReceiver onReceive() ACTION_TIME_TICK
12-11 17:30:02.001 W/AlarmManager( 433): FACTORY_ON= 0
12-11 17:30:02.011 D/BatteryService( 433): level:99 scale:100 status:3 health:2 present:true voltage: 4096 temperature: 327 technology: Li-ion AC powered:false USB powered:false icon:17303251 invalid charger:0 online:0 charge type:0 current avg:0
12-11 17:30:02.011 D/STATUSBAR-BatteryController( 555): onReceive() - ACTION_BATTERY_CHANGED
12-11 17:30:02.011 D/STATUSBAR-BatteryController( 555): onReceive() - level:99
12-11 17:30:02.011 D/STATUSBAR-BatteryController( 555): onReceive() - plugged:0
12-11 17:30:02.011 D/STATUSBAR-BatteryController( 555): onReceive() - BATTERY_STATUS_DISCHARGING: stat_sys_battery
12-11 17:30:02.011 D/STATUSBAR-PhoneStatusBar( 555): ACTION_BATTERY_CHANGED
12-11 17:30:02.021 D/STATUSBAR-PhoneStatusBar( 555): NORMAL_BATTERY
12-11 17:30:02.021 D/ThermistorObserver( 433): mBatteryBRForAMOLED :: onReceive(). newTemperature =327
12-11 17:30:02.031 D/STATUSBAR-Clock( 555): onReceive() - ACTION_TIME_TICK
12-11 17:30:02.051 D/STATUSBAR-Clock( 555): onReceive() - ACTION_TIME_TICK
12-11 17:30:03.042 V/AlarmManager( 433): waitForAlarm result :4
12-11 17:30:03.042 V/AlarmManager( 433): trigger ELAPSED_REALTIME_WAKEUP or RTC_WAKEUP: gms
12-11 17:30:03.052 W/AlarmManager( 433): FACTORY_ON= 0
12-11 17:30:03.062 W/AlarmManager( 433): FACTORY_ON= 0
I am currently using a Samsung Galaxy S2P
Current Android Version 4.1.2
Baseband: I19105PXXAMC1
Kernel: 3.03.1-1040387
I hope someone can help me fix the error.
As soon as you try different devices and different versions then you should specify the joint thing between all these devices.
Maybe there is a virus on your SD card files or you have installed some bad apps on your devices which cause this problem.
There are many reasons for random restarts so google for "random restarts in android" and i think you will find useful links with more information
eng.ahmed.android said:
As soon as you try different devices and different versions then you should specify the joint thing between all these devices.
Maybe there is a virus on your SD card files or you have installed some bad apps on your devices which cause this problem.
There are many reasons for random restarts so google for "random restarts in android" and i think you will find useful links with more information
Click to expand...
Click to collapse
Do you think i ordered a new sim card and started logging everything the device does without googling my error first?
Well I dont know either.
Maybe u can flash ur device.
U need to ask to the right forum for ur device
try here http://forum.xda-developers.com/galaxy-s2-plus/help
Sankede said:
Do you think i ordered a new sim card and started logging everything the device does without googling my error first?
Click to expand...
Click to collapse
Maybe
But could you tell us what is the joint thing in all devices ??

Help with CM13 boot loop - logcat included

Hi,
my oneplus one with CM13 (14_06 build) is stuck in a bootloop and I don't know how to solve.
Here's what I have tried to do:
Wipe cache
Flash a previous build
Delete the last apps I have installed via adb (pm uninstall APPNAME)
The last thing I have done before rebooting is installing the GMSCore from MicroG project (Yes, I don't have gapps).
http://forum.xda-developers.com/android/apps-games/app-microg-gmscore-floss-play-services-t3217616
Then I have successfully removed the gsmcore via adb but the bootloop continued.
The phone reboots when "Prearing contacts storage" appears....
Here's my logcat (*:E)
Code:
06-14 14:46:46.384 3660 3660 E Minikin : addFont failed to create font /system/fonts/DroidSansFallback.ttf
06-14 14:46:46.384 3660 3660 E Minikin : addFont failed to create font /system/fonts/MTLmr3m.ttf
06-14 14:46:48.623 3654 3654 E installd: eof
06-14 14:46:48.623 3654 3654 E installd: failed to read size
06-14 14:46:49.304 4935 4935 E QCOM PowerHAL: Unable to open prefetcher: dlopen failed: library "libqti-iop-client.so" not found
06-14 14:46:49.304 4935 4935 E QCOM PowerHAL: Failed to get prefetcher handle.
06-14 14:46:49.305 4935 4935 E QCOM PowerHAL: Invalid hint ID.
06-14 14:46:49.894 4935 4935 E art : DexFile_getDexOptNeeded file '/system/framework/org.apache.http.legacy.jar' does not exist
06-14 14:46:51.356 3653 3653 E msm8974_platform: hw_util_open Opening device /dev/snd/hwC0D1000
06-14 14:46:51.356 3653 3653 E msm8974_platform: hw_util_open success
06-14 14:46:51.356 3653 3653 E msm8974_platform: send_codec_cal cal sent for anc_cal
06-14 14:46:51.356 3653 3653 E ACDB-LOADER: ACDB -> send_codec_cal
06-14 14:46:51.356 3653 3653 E msm8974_platform: send_codec_cal cal sent for mad_cal
06-14 14:46:51.357 3653 3653 E msm8974_platform: send_codec_cal cal sent for mbhc_cal
06-14 14:46:51.358 3653 3653 E audio_hw_primary: Amplifier initialization failed
06-14 14:46:51.358 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.358 3653 3653 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-14 14:46:51.377 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.377 3653 3653 E ACDB-LOADER: Error: ACDB AFE returned = -19
06-14 14:46:51.386 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.397 3653 3653 E ACDB-LOADER: Error: ACDB AudProc vol returned = -19
06-14 14:46:51.430 3653 3653 E MonoPipe: Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
06-14 14:46:51.435 3653 5160 E AudioFlinger: no wake lock to update!
06-14 14:46:51.437 3653 5161 E AudioFlinger: no wake lock to update!
06-14 14:46:51.443 3653 5163 E AudioFlinger: no wake lock to update!
06-14 14:46:51.455 3653 3653 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
06-14 14:46:51.460 3653 3653 E RadioService: couldn't load radio module radio.primary (No such file or directory)
06-14 14:46:52.409 3649 3649 E Netd : netlink response contains error (File exists)
06-14 14:46:52.409 3649 3649 E Netd : Can't add IPv4 default route to dummy0: File exists
06-14 14:46:53.221 3657 5266 E QC-QMI : qmi_client [3657] 16: failed to locate client data
06-14 14:46:53.222 3656 3656 E QC-QMI : qmuxd: RX on fd=27 returned error=0 errno[11:Try again]
06-14 14:46:53.222 3656 3656 E QC-QMI : QMUX qmux_client_id=16 not found in qmux client list, unable to remove
06-14 14:46:53.228 3657 5272 E QC-QMI : qmi_client [3657] 17: failed to locate client data
06-14 14:46:53.229 3656 3656 E QC-QMI : qmuxd: RX on fd=27 returned error=0 errno[11:Try again]
06-14 14:46:53.229 3656 3656 E QC-QMI : QMUX qmux_client_id=17 not found in qmux client list, unable to remove
06-14 14:46:53.328 3656 3718 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:53.562 3656 3729 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:53.848 3656 3735 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.073 3656 3745 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.252 3656 3749 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.538 3656 3756 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:54.800 3656 3760 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:46:55.083 3656 3776 E QC-QMI : qmi_ctl_handle_set_data_format_rsp, skipping unknown type = 18
06-14 14:47:22.040 4935 4935 E PackageManager: updateAllSharedLibrariesLPw failed: Package com.android.dialer requires unavailable shared library com.qualcomm.qti.smartsearch; failing!
06-14 14:47:22.042 3654 3654 E installd: invalid apk path '/system/framework/org.cyanogenmod.platform-res.apk' (bad prefix)
06-14 14:47:22.225 4935 5987 E qti_sensors_hal: SensorsContext: Hal opened lib /system/lib/hw/sensors.oem.so failed!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.268 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle is -1 or error is true or mSensors[handle] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5990 E qti_sensors_hal: processSingleSensorInfoResp: either handle_wakeup is -1 or error is true or mSensors[handle_wakeup] is NULL!
06-14 14:47:22.269 4935 5987 E qti_sensors_hal: OEMAddSensors : The OEM_module is NULL!
06-14 14:47:22.350 4935 4935 E ConsumerIrService: Can't open consumer IR HW Module, error: -2
06-14 14:47:22.504 4935 6037 E EventHub: could not get driver version for /dev/input/mice, Not a typewriter
06-14 14:47:22.550 4935 6037 E filemap : mmap(0,4096) failed: No such device

Help request for Camera on port rom

@Allooosh98 , @moluntic , @nhlalukoG
guy's i request your help i know you port rom and i think you facing this issue
can someone tell me where find Camera_native_setup
really any help will be precious :fingers-crossed:
Code:
12-07 22:12:17.488 8782 10910 E SecCamera-JNI-Java: SecCamera.open()
12-07 22:12:17.498 9669 9682 E CameraService: companion_disable property set to enable
12-07 22:12:17.508 2892 3440 E GpsLocationProvider: Invalid ss_family found: 0
12-07 22:12:17.508 2892 3440 E GpsLocationProvider: Invalid ss_family found: 0
12-07 22:12:17.508 9669 9682 F libc : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xf742afb4 in tid 9682 (Binder_2)
12-07 22:12:17.508 9669 9682 F libc : Unable to open connection to debuggerd: Connection refused
12-07 22:12:17.508 4337 4337 E audit : type=1701 msg=audit(1481145137.508:266): auid=4294967295 uid=1013 gid=1000 ses=4294967295 subj=u:r:mediaserver:s0 pid=9682 comm="Binder_2" exe="/system/bin/mediaserver" sig=11
12-07 22:12:17.508 2892 3382 E GNSS : 411429:12:17.521|E| betp_helper.c.0255| Error encoding proto 2 midsid 0165 len 20, dir 1
12-07 22:12:17.528 8782 10910 E SecCamera-JNI-Cpp: SecCamera_native_setup fail -32
12-07 22:12:17.538 2892 3123 E AudioService: Media server died.
12-07 22:12:17.548 10919 10919 E ICD : idx: 0
12-07 22:12:17.548 8782 8782 E AXLOG : onResume**End[1481145137561]**[128]**[]**
12-07 22:12:17.558 8782 8782 E AXLOG : surfaceCreate**EndU[1481145137569]**
12-07 22:12:17.568 10921 10921 E Zygote : v2
12-07 22:12:17.568 10921 10921 E Zygote : accessInfo : 0
12-07 22:12:17.568 8782 8802 E AXLOG : GLSurfaceChanged**EndU[1481145137579]**
12-07 22:12:17.568 8782 10926 E AXLOG : BaseMenu-loading**StartU[1481145137580]**
12-07 22:12:17.578 8782 10926 E AXLOG : BaseMenu-loading**EndU[1481145137584]**
12-07 22:12:17.578 8782 10926 E AXLOG : Total-CameraUILoading(TSP)**EndU[1481145137584]**
12-07 22:12:17.578 8782 8802 E GLContext: Start drawing frame #1
12-07 22:12:17.578 8782 10907 E AXLOG : updateLatestMedia**StartU[1481145137585]**
12-07 22:12:17.578 8782 8802 E GLContext: End drawing frame #1 Elapsed time: 2ms
12-07 22:12:17.578 8782 8802 E AXLOG : GLSurfaceChanged**EndU[1481145137591]**
12-07 22:12:17.588 8782 8802 E GLContext: Start drawing frame #2
12-07 22:12:17.588 8782 8802 E GLContext: End drawing frame #2 Elapsed time: 1ms
12-07 22:12:17.598 8782 8802 E GLContext: Start drawing frame #3
12-07 22:12:17.598 8782 8802 E GLContext: End drawing frame #3 Elapsed time: 1ms
12-07 22:12:17.648 8782 10907 E AXLOG : updateLatestMedia**EndU[1481145137658]**[73]
12-07 22:12:17.648 8782 10907 E AXLOG : updateThumbnail.latest**StartU[1481145137658]**
12-07 22:12:17.678 8782 8802 E GLContext: Start drawing frame #4
12-07 22:12:17.678 8782 8802 E GLContext: End drawing frame #4 Elapsed time: 1ms
12-07 22:12:17.728 8782 10910 E SecCamera-JNI-Java: SecCamera.open()
12-07 22:12:18.038 2892 3123 E AudioService: Media server died.
12-07 22:12:18.268 10919 10919 E ICD : idx: 5
12-07 22:12:18.438 2892 3382 E GNSS : 411429:12:18.446|E| betp_helper.c.0255| Error encoding proto 2 midsid 0165 len 20, dir 1
12-07 22:12:18.528 2892 3017 E CameraManagerGlobal: Camera service is unavailable
12-07 22:12:18.538 3186 3524 E CameraManagerGlobal: Camera service is unavailable
12-07 22:12:18.538 2892 3123 E AudioService: Media server died.
12-07 22:12:18.708 8782 8789 E SecCamera-JNI-Java: release mQueue FD Size = 0
12-07 22:12:19.038 2892 3123 E AudioService: Media server died.
12-07 22:12:19.468 10918 10918 E CameraService: setUpVendorTags: Vendor tag operations not fully defined. Ignoring definitions.
12-07 22:12:19.508 10918 10918 E Parcel : Reading a NULL string not supported here.
12-07 22:12:19.538 2892 3123 E AudioService: Media server started.
12-07 22:12:19.568 10918 10918 E EffectStageModule: SoundAlivePlus_Proxy EffectCreate fail
12-07 22:12:19.568 10918 10918 E AudioEffectStage: fail to create EffectStageModule SoundAlivePlus_Proxy, stage# 2, stageSessionId -10
12-07 22:12:19.568 10918 10918 E EffectStageModule: MySound_Proxy EffectCreate fail
12-07 22:12:19.568 10918 10918 E AudioEffectStage: fail to create EffectStageModule MySound_Proxy, stage# 2, stageSessionId -10
12-07 22:12:19.568 10918 10950 E AudioFlinger: no wake lock to update!
12-07 22:12:19.568 10918 10918 E MonoPipe: Failed to fetch local time frequency when constructing a MonoPipe (res = -32). getNextWriteTimestamp calls will be non-functional
12-07 22:12:19.568 10918 10952 E AudioFlinger: no wake lock to update!
12-07 22:12:19.568 10918 10918 E audio_hw_primary: adev_close_input_stream, set jack_in to null
12-07 22:12:19.578 10918 10918 E AudioPolicyEffects: inputSourceNameToEnum found source mic 0
12-07 22:12:19.578 10918 10918 E AudioPolicyEffects: inputSourceNameToEnum found source camcorder 4
12-07 22:12:19.578 10918 10918 E AudioPolicyEffects: inputSourceNameToEnum found source voice_communication 6
12-07 22:12:19.578 10918 10918 E AudioPolicyEffects: inputSourceNameToEnum found source sec_voice_recognition 10
12-07 22:12:19.578 10918 10918 E AudioPolicyEffects: inputSourceNameToEnum found source sec_bargein_driving 18
12-07 22:12:19.578 10918 10918 E AudioPolicyEffects: inputSourceNameToEnum found source sec_voice_communication 11
12-07 22:12:19.578 10918 10918 E SoundTriggerHwService: couldn't load sound trigger module sound_trigger.primary (No such file or directory)
12-07 22:12:19.578 10918 10918 E RadioService: couldn't load radio module radio.primary (No such file or directory)
12-07 22:12:19.598 10959 10959 E Zygote : v2
12-07 22:12:19.598 10959 10959 E Zygote : accessInfo : 0
12-07 22:12:19.658 10959 10959 E SAControlPanelReceiver: audioPathUpdate : mEffectManager.mPolicyManager.isAudioPathEarjack() = false
12-07 22:12:19.658 10959 10959 E SAControlPanelReceiver: audioPathUpdate : mEffectManager.mPolicyManager.getAudioPath() = 0
12-07 22:12:19.668 10959 10959 E SAEffectManager: SAControlPanel Activity is Null
12-07 22:12:19.728 10918 10958 E CameraService: companion_disable property set to enable
12-07 22:12:19.738 10918 10958 F libc : Fatal signal 11 (SIGSEGV), code 2, fault addr 0xf75fafb4 in tid 10958 (Binder_4)
12-07 22:12:19.748 10918 10958 F libc : Unable to open connection to debuggerd: Connection refused
12-07 22:12:19.748 4337 4337 E audit : type=1701 msg=audit(1481145139.748:267): auid=4294967295 uid=1013 gid=1000 ses=4294967295 subj=u:r:mediaserver:s0 pid=10958 comm="Binder_4" exe="/system/bin/mediaserver" sig=11
12-07 22:12:19.768 8782 10910 E SecCamera-JNI-Cpp: SecCamera_native_setup fail -32
12-07 22:12:19.768 10959 10959 E AudioEffect-JAVA: NATIVE_EVENT_ERROR
12-07 22:12:19.768 2892 3123 E AudioService: Media server died.
12-07 22:12:19.798 10977 10977 E ICD : idx: 0
12-07 22:12:19.868 8782 10910 E AXLOG : HW Open**StartU[1481145139873]**
12-07 22:12:19.868 8782 10910 E SecCamera-JNI-Java: SecCamera.open()
Bro join us in J7 group in telegram so we can work together ... it is easy to talk in telegram
https://telegram.me/joinchat/CW43pz6m8XLP1KbN2qS_6Q

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).

Settings -> Apps crashes after update: "Call to getInstalledModules before metadata loaded"

I recently updated my G9700 to version G9700ZHU5FUCA. Since then, any time I try to access Settings -> Notifications or Settings -> Apps, the phone crashes and reboots itself. I suspect some debloated package needs to be reinstalled but I can't tell which package it's complaining about from the log (see below). Any ideas?
Code:
--------- beginning of main
04-13 14:29:29.078 31754 10447 I sensors-hal: handle_sns_client_event:660, [0][300] accel_sample [ 0.049, -0.001, 9.948] 426664215884241
--------- beginning of system
04-13 14:29:29.119 686 686 I io_stats: [email protected] 8,0 r 5926117 202740980 w 2955211 53050260 d 318687 62669196 f 1019072 1421871 iot 3149520 2732359 th 102400 102400 66176 pt 2140 inp 0 0 213459.315
04-13 14:29:29.437 32002 32267 D PowerManagerService: UserActivityStateListenerState: 0
04-13 14:29:29.469 32002 32422 D NetSpeedPolicy: total speed is down
04-13 14:29:29.785 3030 3030 I perfsdkserver: Server: request to connection
04-13 14:29:29.786 3030 3038 I perfsdkserver: Request connection
04-13 14:29:29.786 3030 3038 E perfsdkserver: [Interface] BpPerfSDKService::connectionRequest()
04-13 14:29:29.787 3030 3038 I perfsdkserver: serviceConnection is done
04-13 14:29:29.923 16786 16786 I wpa_supplicant: Heartbeat 3184
04-13 14:29:30.453 32002 32450 D WifiConnectivityMonitor.NetworkStatsAnalyzer: Backhaul result - RSSI:-52, CE:20, PE:20, TI:20, PTI:20, TW:10, PTW:17, Tx:0, Rx:0, TxS:0, RxS:0, RESULT:true, IC:0, ICT:5, WC:0, WCT:5, R:0, RC:0, IE:0, EC:0
04-13 14:29:30.925 31754 11386 I sensors-hal: handle_sns_client_event:175, auto_rotation_event: mode:255, type:1:0
04-13 14:29:31.119 31754 10447 I sensors-hal: handle_sns_client_event:660, [0][310] accel_sample [ 0.048, 0.002, 9.931] 426666257513407
04-13 14:29:31.127 686 686 I io_stats: [email protected] 8,0 r 5926117 202740980 w 2955273 53050828 d 318690 62669208 f 1019076 1421879 iot 3149540 2732375 th 102400 102400 66176 pt 2140 inp 0 0 213461.323
04-13 14:29:31.408 32002 32002 V SmartBondingService: getSBEnabled() : check setting
04-13 14:29:31.408 32002 32002 V SmartBondingService: getSBEnabled() enabled =false
04-13 14:29:31.408 32002 32002 V SmartBondingService: getSBInterfaceState : TYPE_MOBILE doesn't exist
04-13 14:29:31.431 32002 32367 D InputReader: Btn_touch(11): value=1 when=213461.628289
04-13 14:29:31.431 32002 32367 I InputReader: Touch event's action is 0x0 (id=3, t=0) [pCnt=1, s=0.23317 ] when=213461.628289
04-13 14:29:31.431 32002 32002 D PowerManagerService: [api] userActivity : event: 0 flags: 0 (uid: 1000 pid: 32002) eventTime = 213461628
04-13 14:29:31.432 32002 32002 D InputDispatcher: Inject motion (0): action=0x0, time=213461628289000, f=0x0, d=0
04-13 14:29:31.432 32002 32366 I InputDispatcher: Delivering touch to (32563): action: 0x4, f=0x0, d=0, '7d5bb42', t=1
04-13 14:29:31.432 32002 32366 I InputDispatcher: Delivering touch to (7065): action: 0x0, f=0x0, d=0, '236b705', t=1
04-13 14:29:31.433 32002 32366 D PowerManagerService: UserActivityStateListenerState: 1
04-13 14:29:31.433 7065 7065 I [email protected][SettingsHomepageActivity]: ViewPostIme pointer 0
04-13 14:29:31.438 2108 2108 I SemDvfsHyPerManager: acquire hyper - TABoost/[email protected], type = 1090523139
04-13 14:29:31.438 31763 31775 I HYPER-HAL: [RequestManager.cpp]acquire(): Acquired ID : 2248272 [2108 / 12] HINT : list : [TABoost / 30] [TIMEOUT / 1500]
04-13 14:29:31.448 32002 32002 D PowerManagerService: [api] userActivity : event: 0 flags: 0 (uid: 1000 pid: 32002) eventTime = 213461645
04-13 14:29:31.457 32002 32002 D PowerManagerService: [api] userActivity : event: 0 flags: 0 (uid: 1000 pid: 32002) eventTime = 213461654
04-13 14:29:31.465 32002 32367 D InputReader: Btn_touch(11): value=0 when=213461.662548
04-13 14:29:31.465 32002 32367 I InputReader: Touch event's action is 0x1 (id=3, t=0) [pCnt=1, s=] when=213461.662548
04-13 14:29:31.465 32002 32002 D PowerManagerService: [api] userActivity : event: 0 flags: 0 (uid: 1000 pid: 32002) eventTime = 213461662
04-13 14:29:31.466 32002 32002 D InputDispatcher: Inject motion (0): action=0x1, time=213461662548000, f=0x0, d=0
04-13 14:29:31.466 32002 32366 I InputDispatcher: Delivering touch to (7065): action: 0x1, f=0x0, d=0, '236b705', t=1
04-13 14:29:31.468 7065 7065 I [email protected][SettingsHomepageActivity]: ViewPostIme pointer 1
04-13 14:29:31.479 32002 2067 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from uid 1000
04-13 14:29:31.479 32002 2067 D RestrictionPolicy: isSettingsChangesAllowedAsUser, userId 0 : true
04-13 14:29:31.480 32002 2067 I SemDvfsHyPerManager: acquire hyper - AMS_ACT_START/[email protected], type = -999
04-13 14:29:31.481 32002 2067 D ActivityManagerPerformance: AMP_acquire() ACT_START
04-13 14:29:31.481 31763 31775 I HYPER-HAL: [RequestManager.cpp]acquire(): Acquired ID : 512656228 [32002 / 18] HINT : AMS_ACT_START list :
04-13 14:29:31.481 32002 2067 D ActivityTaskManager: TaskLaunchParamsModifier:task=null activity=ActivityRecord{e7975d4 u0 com.android.settings/.SubSettings [email protected] [email protected] display-area-windowing-mode=1
04-13 14:29:31.481 32002 2067 D ActivityTaskManager: TaskLaunchParamsModifier:task=Task{40eb9c7 #6440 visible=true type=standard mode=fullscreen translucent=false A=1000:com.android.settings.root U=0 StackId=6440 sz=1} activity=ActivityRecord{e7975d4 u0 com.android.settings/.SubSettings t-1} display-from-task=0 [email protected] display-area-windowing-mode=1 inherit-from-source=fullscreen activity-options-fullscreen=Rect(0, 0 - 0, 0) non-freeform-display maximized-bounds
04-13 14:29:31.483 955 1021 I SurfaceFlinger: id=49656 createSurf (0x0),-1 flag=80004, ActivityRecord{e7975d4 u0 com.android.settings/.SubSettings t6440}#0
04-13 14:29:31.485 32002 2067 V WindowManager: Prepare app transition: transit=TRANSIT_ACTIVITY_OPEN mNextAppTransition=TRANSIT_UNSET alwaysKeepCurrent=false displayId=0 Callers=com.android.server.wm.DisplayContent.prepareAppTransition:5807 com.android.server.wm.DisplayContent.prepareAppTransition:5801 com.android.server.wm.ActivityStack.startActivityLocked:2595 com.android.server.wm.ActivityStarter.startActivityInner:2674 com.android.server.wm.ActivityStarter.startActivityUnchecked:2205
04-13 14:29:31.485 32002 2067 D WindowManager: CustomStartingWindowData: className=com.android.settings.SubSettings, packageName=com.android.settings, taskUserId=0
04-13 14:29:31.485 31763 31775 I HYPER-HAL: [ResourceManager.cpp]updateResource(): [CPUMinFreq] UpdateResource Request ID : 512656228 Value : 1804800
04-13 14:29:31.487 32002 2067 D SurfaceControl: hide : mNativeObject = -5476376674425808096 - sc.mNativeObject = -5476376674424596512 - Surface(name=ActivityRecord{e7975d4 u0 com.android.settings/.SubSettings t6440})/@0x195f37d
04-13 14:29:31.487 32002 2067 D SurfaceControl: nativeSetFlags Done : Surface(name=ActivityRecord{e7975d4 u0 com.android.settings/.SubSettings t6440})/@0x195f37d
04-13 14:29:31.489 32002 32085 D SurfaceControl: hide : mNativeObject = -5476376674425819536 - sc.mNativeObject = -5476376674425117120 - Surface(name=Input Consumer recents_animation_input_consumer)/@0xeaccfd7
04-13 14:29:31.489 32002 32085 D SurfaceControl: nativeSetFlags Done : Surface(name=Input Consumer recents_animation_input_consumer)/@0xeaccfd7
04-13 14:29:31.493 7065 7065 E AccessibilityManager: semUpdateAssitantMenu invoking from manager:
04-13 14:29:31.495 32002 2659 D MARsPolicyManager: onPackageResumedFG pkgName = com.android.settings, userId = 0
04-13 14:29:31.495 32002 32084 D GameManagerService: notePauseComponent(), received paused-component: com.android.settings
04-13 14:29:31.495 32002 2659 V WindowManager: Prepare app transition: transit=TRANSIT_ACTIVITY_OPEN mNextAppTransition=TRANSIT_ACTIVITY_OPEN alwaysKeepCurrent=false displayId=0 Callers=com.android.server.wm.DisplayContent.prepareAppTransition:5807 com.android.server.wm.DisplayContent.prepareAppTransition:5801 com.android.server.wm.ActivityStack.resumeTopActivityInnerLocked:2255 com.android.server.wm.ActivityStack.resumeTopActivityUncheckedLocked:1873 com.android.server.wm.RootWindowContainer.resumeFocusedStacksTopActivities:2665
04-13 14:29:31.495 32002 2659 W ActivityTaskManager: Tried to set launchTime (0) < mLastActivityLaunchTime (213453289)
04-13 14:29:31.496 32002 2659 V WindowManager: rotationForOrientation(orient=SCREEN_ORIENTATION_UNSPECIFIED (-1), last=ROTATION_0 (0)); user=ROTATION_90 (1)
04-13 14:29:31.496 32002 2659 D WindowManager: rotationForOrientation, orientationSource=ActivityRecord{e7975d4 u0 com.android.settings/.SubSettings t6440}
04-13 14:29:31.496 32002 2659 V WindowOrientationListener: getProposedRotation: -1
04-13 14:29:31.496 32002 2659 V WindowManager: rotationForOrientation(orient=SCREEN_ORIENTATION_UNSPECIFIED (-1), last=ROTATION_0 (0)); user=ROTATION_90 (1)
04-13 14:29:31.496 32002 2659 D WindowManager: rotationForOrientation, orientationSource=ActivityRecord{e7975d4 u0 com.android.settings/.SubSettings t6440}
04-13 14:29:31.496 32002 2659 V WindowOrientationListener: getProposedRotation: -1
04-13 14:29:31.496 32002 2659 V WindowManager: Computed rotation=ROTATION_0 (0) for display id=0 based on lastOrientation=SCREEN_ORIENTATION_UNSPECIFIED (-1) and oldRotation=ROTATION_0 (0), caller=com.android.server.wm.DisplayRotation.updateOrientation:394 com.android.server.wm.DisplayContent.updateOrientation:1698 com.android.server.wm.DisplayContent.updateOrientation:1626 com.android.server.wm.RootWindowContainer.ensureVisibilityAndConfig:2152 com.android.server.wm.ActivityStackSupervisor.realStartActivityLocked:923 com.android.server.wm.ActivityStackSupervisor.startSpecificActivity:1239
04-13 14:29:31.496 32002 2659 D TspStateManager: updateCustomValue customSetting=
04-13 14:29:31.496 32002 2659 V WindowManager: rotationForOrientation(orient=SCREEN_ORIENTATION_UNSPECIFIED (-1), last=ROTATION_0 (0)); user=ROTATION_90 (1)
04-13 14:29:31.496 32002 2659 D WindowManager: rotationForOrientation, orientationSource=ActivityRecord{e7975d4 u0 com.android.settings/.SubSettings t6440}
04-13 14:29:31.496 32002 2659 V WindowOrientationListener: getProposedRotation: -1
04-13 14:29:31.497 32002 2659 D TspStateManager: updateCustomValue customSetting=
04-13 14:29:31.497 32002 2659 D PkgDataHelper: notifyAppCreate(), pkgName: com.android.settings, sendRet: true
04-13 14:29:31.497 32002 32372 D GameManagerService: onLooperPrepared(), msg: MSG_APP_CREATE, pkgName: com.android.settings
04-13 14:29:31.498 32002 2659 D InputDispatcher: Focused application set to (0): e7975d4
04-13 14:29:31.498 32002 2659 V WindowManager: Changing focus from Window{236b705 u0 com.android.settings/com.android.settings.homepage.SettingsHomepageActivity} to null displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:566 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6297 com.android.server.wm.DisplayContent.setFocusedApp:6774 com.android.server.wm.ActivityTaskManagerService.setResumedActivityUncheckLocked:6690
04-13 14:29:31.499 32002 2659 D StatusBarManagerService: notifyRequestedSystemKey recent=false home=false
04-13 14:29:31.499 32002 2659 D MARsPolicyManager: onPackageResumedFG pkgName = com.android.settings, userId = 0
04-13 14:29:31.499 32002 2659 W WindowManager: Execute app transition: mNextAppTransition=TRANSIT_ACTIVITY_OPEN, displayId: 0 Callers=com.android.server.wm.RootWindowContainer.executeAppTransitionForAllDisplay:2586 com.android.server.wm.ActivityStackSupervisor.reportResumedActivityLocked:2265 com.android.server.wm.ActivityRecord.completeResumeLocked:5686 com.android.server.wm.ActivityStack.minimalResumeActivityLocked:1225 com.android.server.wm.ActivityStackSupervisor.realStartActivityLocked:1152
04-13 14:29:31.502 32002 32085 D SurfaceControl: hide : mNativeObject = -5476376674425819536 - sc.mNativeObject = -5476376674425117120 - Surface(name=Input Consumer recents_animation_input_consumer)/@0xeaccfd7
04-13 14:29:31.502 32002 32085 D SurfaceControl: nativeSetFlags Done : Surface(name=Input Consumer recents_animation_input_consumer)/@0xeaccfd7
04-13 14:29:31.506 32002 32084 D GameManagerService: noteResumeComponent(), received resumed-component: com.android.settings
04-13 14:29:31.506 32002 32372 D GameManagerService: onLooperPrepared(), msg: MSG_APP_RESUME, resumeComponent: ComponentInfo{com.android.settings/com.android.settings.SubSettings}
04-13 14:29:31.506 32002 32372 D GameManagerService: handleResume().
04-13 14:29:31.506 32002 32084 I [email protected]: noteResumeComponent(): package name : com.android.settings
04-13 14:29:31.506 32002 32372 D GameManagerService: sendFocusOutConditionally() - mPrevNotiPackage: (unknown)
04-13 14:29:31.506 32002 32372 D GameManagerService: handleResume(). pkgName: com.android.settings, isTunableApp: null
04-13 14:29:31.507 32002 32372 D GameManagerService: notifyFocusInOut(). of pkg: com.android.settings, type: 4, isMinimized: false, isTunableApp: false
04-13 14:29:31.507 32002 32372 D GameManagerService: notifyFocusInOut(). unexpected mPrevNotiType: -1
04-13 14:29:31.507 32002 32372 D GameManagerService:NetworkLimit: callRelease
04-13 14:29:31.507 32002 32372 D GM:SystemHelper: callReleaseBlock needReleaseBlock:false
04-13 14:29:31.507 7065 7065 I DecorView: [INFO] isPopOver=false, config=true
04-13 14:29:31.507 7065 7065 I DecorView: updateCaptionType >> [email protected][], isFloating=false, isApplication=true, hasWindowDecorCaption=false, hasWindowControllerCallback=true
04-13 14:29:31.507 7065 7065 D DecorView: setCaptionType = 0, this = [email protected][]
04-13 14:29:31.512 7065 7065 I Sesl_CTL: updateTitleLayout : context : com.android.settings.SubSe[email protected], testSize : 38.0, fontScale : 1.0, mSubTitleEnabled : false
04-13 14:29:31.512 7065 7065 I Sesl_CTL: updateTitleLayout : context : [email protected], testSize : 38.0, fontScale : 1.0, mSubTitleEnabled : false
04-13 14:29:31.514 7065 7065 I Settings: getContentFrameWidthRatio screenWidthDp : 360 , screenHeightDp : 673 , LightTheme : true , Context : [email protected]
04-13 14:29:31.514 7065 7065 I Settings: densityDpi : 480 , smallestScreenWidthDp : 360 , semDesktopModeEnabled : 0
04-13 14:29:31.514 7065 7065 D SettingsBaseActivity: measureContentFrame : 1.0 : 0.0
04-13 14:29:31.515 7065 7065 D SettingsActivity: Starting onCreate
04-13 14:29:31.525 7065 7065 D SettingsActivity: Starting to set activity title
04-13 14:29:31.525 7065 7065 I Sesl_CTL: updateTitleLayout : context : [email protected], testSize : 38.0, fontScale : 1.0, mSubTitleEnabled : false
04-13 14:29:31.525 7065 7065 D SettingsActivity: Done setting title
04-13 14:29:31.525 7065 7065 I SettingsActivity: Switching to fragment com.android.settings.applications.manageapplications.ManageApplications
04-13 14:29:31.525 7065 7065 I SubSettings: Launching fragment com.android.settings.applications.manageapplications.ManageApplications
04-13 14:29:31.527 7065 7065 D SamsungAnalytics605015: user do not agree
04-13 14:29:31.529 32002 2067 I InputDispatcher: Focus left window (7065): 236b705 in display 0 0
04-13 14:29:31.532 32002 2067 E PackageManager: Package Manager Crash
04-13 14:29:31.532 32002 2067 E PackageManager: java.lang.IllegalStateException: Call to getInstalledModules before metadata loaded
04-13 14:29:31.532 32002 2067 E PackageManager: at com.android.server.pm.ModuleInfoProvider.getInstalledModules(ModuleInfoProvider.java:177)
04-13 14:29:31.532 32002 2067 E PackageManager: at com.android.server.pm.PackageManagerService.getInstalledModules(PackageManagerService.java:6796)
04-13 14:29:31.532 32002 2067 E PackageManager: at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4767)
04-13 14:29:31.532 32002 2067 E PackageManager: at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:5281)
04-13 14:29:31.532 32002 2067 E PackageManager: at android.os.Binder.execTransactInternal(Binder.java:1190)
04-13 14:29:31.532 32002 2067 E PackageManager: at android.os.Binder.execTransact(Binder.java:1159)
04-13 14:29:31.532 7065 7065 D AndroidRuntime: Shutting down VM
04-13 14:29:31.533 32002 32121 I DropBoxManagerService: add tag=system_server_wtf isTagEnabled=true flags=0x2
--------- beginning of crash
04-13 14:29:31.536 7065 7065 E AndroidRuntime: FATAL EXCEPTION: main
04-13 14:29:31.536 7065 7065 E AndroidRuntime: Process: com.android.settings, PID: 7065
04-13 14:29:31.536 7065 7065 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.IllegalStateException: Call to getInstalledModules before metadata loaded
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3792)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3968)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2307)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.os.Looper.loop(Looper.java:246)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8506)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: Caused by: java.lang.IllegalStateException: Call to getInstalledModules before metadata loaded
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2393)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2369)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2352)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2294)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.content.pm.IPackageManager$Stub$Proxy.getInstalledModules(IPackageManager.java:9956)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.ApplicationPackageManager.getInstalledModules(ApplicationPackageManager.java:1095)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.settingslib.applications.ApplicationsState.<init>(ApplicationsState.java:268)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.settingslib.applications.ApplicationsState.getInstance(ApplicationsState.java:133)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.settingslib.applications.ApplicationsState.getInstance(ApplicationsState.java:126)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.settings.applications.manageapplications.ManageApplications.onCreate(ManageApplications.java:508)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.Fragment.performCreate(Fragment.java:2710)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:270)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1173)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentTransition.addToFirstInLastOut(FragmentTransition.java:1255)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentTransition.calculateFragments(FragmentTransition.java:1138)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentTransition.startTransitions(FragmentTransition.java:136)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1990)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1948)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1850)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at androidx.fragment.app.FragmentManager.executePendingTransactions(FragmentManager.java:489)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:773)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:751)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:436)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:333)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8198)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8182)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3765)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: ... 11 more
04-13 14:29:31.536 7065 7065 E AndroidRuntime: Caused by: android.os.RemoteException: Remote stack trace:
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.server.pm.ModuleInfoProvider.getInstalledModules(ModuleInfoProvider.java:177)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.server.pm.PackageManagerService.getInstalledModules(PackageManagerService.java:6796)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:4767)
04-13 14:29:31.536 7065 7065 E AndroidRuntime: at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:5281)
04-13 14:29:31.537 7065 7065 E AndroidRuntime: at android.os.Binder.execTransactInternal(Binder.java:1190)
04-13 14:29:31.537 7065 7065 E AndroidRuntime:
04-13 14:29:31.540 32002 11514 I DropBoxManagerService: add tag=system_app_crash isTagEnabled=true flags=0x2
04-13 14:29:31.541 32002 2067 D Debug : low && ship && 3rdparty app crash, do not dump
04-13 14:29:31.542 32002 2067 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1162 com.android.server.am.AppErrors.crashApplicationInner:579 com.android.server.am.AppErrors.crashApplication:443 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:12321 com.android.server.am.ActivityManagerService.handleApplicationCrash:12256
04-13 14:29:31.549 32002 2067 W ActivityTaskManager: Force finishing activity com.android.settings/.SubSettings
04-13 14:29:31.551 32002 2067 V WindowManager: Prepare app transition: transit=TRANSIT_CRASHING_ACTIVITY_CLOSE mNextAppTransition=TRANSIT_ACTIVITY_OPEN alwaysKeepCurrent=false displayId=0 Callers=com.android.server.wm.DisplayContent.prepareAppTransition:5807 com.android.server.wm.DisplayContent.prepareAppTransition:5801 com.android.server.wm.ActivityStack.finishTopCrashedActivityLocked:2733 com.android.server.wm.RootWindowContainer.finishTopCrashedActivities:2641 com.android.server.wm.ActivityTaskManagerService$LocalService.finishTopCrashedActivities:8886
04-13 14:29:31.551 32002 2067 V WindowManager: Prepare app transition: transit=TRANSIT_ACTIVITY_CLOSE mNextAppTransition=TRANSIT_CRASHING_ACTIVITY_CLOSE alwaysKeepCurrent=false displayId=0 Callers=com.android.server.wm.DisplayContent.prepareAppTransition:5807 com.android.server.wm.DisplayContent.prepareAppTransition:5801 com.android.server.wm.ActivityRecord.finishIfPossible:3163 com.android.server.wm.ActivityRecord.finishIfPossible:3035 com.android.server.wm.ActivityStack.finishTopCrashedActivityLocked:2735
04-13 14:29:31.552 32002 32118 E AndroidRuntime: [email protected]*** FATAL EXCEPTION IN SYSTEM PROCESS: android.bg
04-13 14:29:31.552 32002 32118 E AndroidRuntime: java.lang.IllegalStateException: Call to getModuleInfo before metadata loaded
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at com.android.server.pm.ModuleInfoProvider.getModuleInfo(ModuleInfoProvider.java:205)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at com.android.server.pm.PackageManagerService.getModuleInfo(PackageManagerService.java:6791)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at android.app.ApplicationPackageManager.getModuleInfo(ApplicationPackageManager.java:1104)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at com.android.server.RescueParty$RescuePartyObserver.mayObservePackage(RescueParty.java:692)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at com.android.server.PackageWatchdog$ObserverInternal.onPackageFailureLocked(PackageWatchdog.java:1117)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at com.android.server.PackageWatchdog.lambda$onPackageFailure$4$PackageWatchdog(PackageWatchdog.java:394)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at com.android.server.-$$Lambda$PackageWatchdog$Ya4lYGbdDy3Dda20wvc2AHBqIMM.run(Unknown Source:6)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at android.os.Looper.loop(Looper.java:246)
04-13 14:29:31.552 32002 32118 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
I started reinstalling some apps based on educated assumptions and I think I found the culprit:
Code:
com.samsung.android.service.stplatform
I reinstalled that package, then saw there was an update for it in Galaxy Store. I installed the update and now everything seems to be working again.

Categories

Resources