[Q] Constantly receiving com.google.process.location and Google Play has stopped - AT&T Samsung Galaxy S 5

After every reboot I receive the following messages
Code:
com.google.process.location
Code:
Google Play services has stopped
I am running a Samsung Galaxy S5 Active (G870AuCU1ANE4) - rooted with stock ROM, this all just started a week or two ago, and it happens randomly during charging as well. I was reading this thread http://forum.xda-developers.com/galaxy-s3/help/how-to-fix-unfortunately-process-com-t2410896/page4 related to the S3, but no luck with those recommendations, and it was for a different error message and different phone, hence this thread. Any assistance would be appreciated.

DrSeussFreak said:
After every reboot I receive the following messages
Code:
com.google.process.location
Code:
Google Play services has stopped
I am running a Samsung Galaxy S5 Active (G870AuCU1ANE4) - rooted with stock ROM, this all just started a week or two ago, and it happens randomly during charging as well. I was reading this thread http://forum.xda-developers.com/galaxy-s3/help/how-to-fix-unfortunately-process-com-t2410896/page4 related to the S3, but no luck with those recommendations, and it was for a different error message and different phone, hence this thread. Any assistance would be appreciated.
Click to expand...
Click to collapse
did you freeze/delete any system apps? that can cause these type of issues
if you have a root browser installed go to /data/log there should be a set of error logs zipped into a tar.gz file copy that out to your sdcard extract it and search the contents for fatal errors or missing files that should tell you what the root cause is.

cstayton said:
did you freeze/delete any system apps? that can cause these type of issues
if you have a root browser installed go to /data/log there should be a set of error logs zipped into a tar.gz file copy that out to your sdcard extract it and search the contents for fatal errors or missing files that should tell you what the root cause is.
Click to expand...
Click to collapse
So I have froze multiple AT&T applications, but nothing recently, and I had reset app preferences (which unfroze everything) and the issue still existed.
What I found in "dumpstate_app_error.txt" was
Code:
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:11 height:12 bitmap id is 270
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:3 height:69 bitmap id is 271
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 272
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 273
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 274
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 275
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 276
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 277
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 278
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 279
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 280
10-22 18:33:33.636 22940 22940 I dalvikvm: Could not find method android.os.PowerManager.isPowerSaveMode, referenced from method com.google.android.location.n.y.d
10-22 18:33:33.636 22940 22940 W dalvikvm: VFY: unable to resolve virtual method 1458: Landroid/os/PowerManager;.isPowerSaveMode ()Z
10-22 18:33:33.636 22940 22940 D dalvikvm: VFY: replacing opcode 0x6e at 0x000a
10-22 18:33:33.646 30602 30619 D skia : GFXPNG PNG bitmap created width:13 height:64 bitmap id is 281
10-22 18:33:33.646 30602 30619 D skia : GFXPNG PNG bitmap created width:12 height:12 bitmap id is 282
10-22 18:33:33.646 30602 30619 D skia : GFXPNG PNG bitmap created width:32 height:32 bitmap id is 283
10-22 18:33:33.656 893 1879 D EnterpriseDeviceManager: ContainerId: 0
10-22 18:33:33.666 30602 30619 D skia : GFXPNG PNG bitmap created width:16 height:16 bitmap id is 284
10-22 18:33:33.666 30602 30619 D skia : GFXPNG PNG bitmap created width:32 height:32 bitmap id is 285
10-22 18:33:33.676 30602 30620 D skia : GFXPNG PNG bitmap created width:96 height:96 bitmap id is 286
10-22 18:33:33.676 30602 30617 D skia : GFXPNG PNG bitmap created width:16 height:16 bitmap id is 287
10-22 18:33:33.676 893 1000 E LightSensor: RED : 0, GREEN : 0, BLUE : 0, CLEAR : 0, CALCULATED LUX : 0.000000, CCT : 1596.000000, REAL LUX : 0.000000 a_time = 238, gain = 64, ir=0, rp1=1, gp1=0, bp1=0, cp1=0, cpl=3202560
10-22 18:33:33.686 30602 30617 D skia : GFXPNG PNG bitmap created width:32 height:32 bitmap id is 288
10-22 18:33:33.686 30602 30621 D skia : GFXPNG PNG bitmap created width:16 height:16 bitmap id is 289
10-22 18:33:33.686 30602 30621 D skia : GFXPNG PNG bitmap created width:32 height:32 bitmap id is 290
10-22 18:33:33.696 22940 22940 D AndroidRuntime: Shutting down VM
10-22 18:33:33.696 22940 22940 W dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4178eda0)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: FATAL EXCEPTION: main
10-22 18:33:33.696 22940 22940 E AndroidRuntime: Process: com.google.process.location, PID: 22940
10-22 18:33:33.696 22940 22940 E AndroidRuntime: java.lang.RuntimeException: Unable to bind to service [email protected]388 with Intent { act=com.android.location.service.v3.NetworkLocationProvider pkg=com.google.android.gms }: java.lang.NullPointerException: null result when primitive expected
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread.handleBindService(ActivityThread.java:2842)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread.access$2000(ActivityThread.java:173)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1390)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.os.Looper.loop(Looper.java:136)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5579)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:515)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: Caused by: java.lang.NullPointerException: null result when primitive expected
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at com.google.android.location.network.NetworkLocationService.a(Native Method)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at com.google.android.location.network.NetworkLocationService.onBind(SourceFile:55)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread.handleBindService(ActivityThread.java:2829)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: ... 11 more

DrSeussFreak said:
So I have froze multiple AT&T applications, but nothing recently, and I had reset app preferences (which unfroze everything) and the issue still existed.
What I found in "dumpstate_app_error.txt" was
Code:
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:11 height:12 bitmap id is 270
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:3 height:69 bitmap id is 271
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 272
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 273
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 274
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 275
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 276
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 277
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 278
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 279
10-22 18:33:33.636 30602 30619 D skia : GFXPNG PNG bitmap created width:64 height:64 bitmap id is 280
10-22 18:33:33.636 22940 22940 I dalvikvm: Could not find method android.os.PowerManager.isPowerSaveMode, referenced from method com.google.android.location.n.y.d
10-22 18:33:33.636 22940 22940 W dalvikvm: VFY: unable to resolve virtual method 1458: Landroid/os/PowerManager;.isPowerSaveMode ()Z
10-22 18:33:33.636 22940 22940 D dalvikvm: VFY: replacing opcode 0x6e at 0x000a
10-22 18:33:33.646 30602 30619 D skia : GFXPNG PNG bitmap created width:13 height:64 bitmap id is 281
10-22 18:33:33.646 30602 30619 D skia : GFXPNG PNG bitmap created width:12 height:12 bitmap id is 282
10-22 18:33:33.646 30602 30619 D skia : GFXPNG PNG bitmap created width:32 height:32 bitmap id is 283
10-22 18:33:33.656 893 1879 D EnterpriseDeviceManager: ContainerId: 0
10-22 18:33:33.666 30602 30619 D skia : GFXPNG PNG bitmap created width:16 height:16 bitmap id is 284
10-22 18:33:33.666 30602 30619 D skia : GFXPNG PNG bitmap created width:32 height:32 bitmap id is 285
10-22 18:33:33.676 30602 30620 D skia : GFXPNG PNG bitmap created width:96 height:96 bitmap id is 286
10-22 18:33:33.676 30602 30617 D skia : GFXPNG PNG bitmap created width:16 height:16 bitmap id is 287
10-22 18:33:33.676 893 1000 E LightSensor: RED : 0, GREEN : 0, BLUE : 0, CLEAR : 0, CALCULATED LUX : 0.000000, CCT : 1596.000000, REAL LUX : 0.000000 a_time = 238, gain = 64, ir=0, rp1=1, gp1=0, bp1=0, cp1=0, cpl=3202560
10-22 18:33:33.686 30602 30617 D skia : GFXPNG PNG bitmap created width:32 height:32 bitmap id is 288
10-22 18:33:33.686 30602 30621 D skia : GFXPNG PNG bitmap created width:16 height:16 bitmap id is 289
10-22 18:33:33.686 30602 30621 D skia : GFXPNG PNG bitmap created width:32 height:32 bitmap id is 290
10-22 18:33:33.696 22940 22940 D AndroidRuntime: Shutting down VM
10-22 18:33:33.696 22940 22940 W dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4178eda0)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: FATAL EXCEPTION: main
10-22 18:33:33.696 22940 22940 E AndroidRuntime: Process: com.google.process.location, PID: 22940
10-22 18:33:33.696 22940 22940 E AndroidRuntime: java.lang.RuntimeException: Unable to bind to service [email protected]388 with Intent { act=com.android.location.service.v3.NetworkLocationProvider pkg=com.google.android.gms }: java.lang.NullPointerException: null result when primitive expected
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread.handleBindService(ActivityThread.java:2842)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread.access$2000(ActivityThread.java:173)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1390)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.os.Looper.loop(Looper.java:136)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5579)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at java.lang.reflect.Method.invokeNative(Native Method)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at java.lang.reflect.Method.invoke(Method.java:515)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at dalvik.system.NativeStart.main(Native Method)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: Caused by: java.lang.NullPointerException: null result when primitive expected
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at com.google.android.location.network.NetworkLocationService.a(Native Method)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at com.google.android.location.network.NetworkLocationService.onBind(SourceFile:55)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: at android.app.ActivityThread.handleBindService(ActivityThread.java:2829)
10-22 18:33:33.696 22940 22940 E AndroidRuntime: ... 11 more
Click to expand...
Click to collapse
the two lines from your log below reference the issue at hand, one of two things is happening either the /data/data/<app folder> is missing
or the apps were frozen or deleted. both power saving and location services have more than one call from several system apks as well as user apks. if you have titanium backup and used that to freeze apps try restoring data for the apps that you froze see if that helps, otherwise my next sugestion would be to odin back to stock and start over.
10-22 18:33:33.636 22940 22940 I dalvikvm: Could not find method android.os.PowerManager.isPowerSaveMode, referenced from method com.google.android.location.n.y.d
10-22 18:33:33.696 22940 22940 E AndroidRuntime: java.lang.RuntimeException: Unable to bind to service [email protected]388 with Intent { act=com.android.location.service.v3.NetworkLocationProvider pkg=com.google.android.gms }: java.lang.NullPointerException: null result when primitive expected
Click to expand...
Click to collapse

cstayton said:
the two lines from your log below reference the issue at hand, one of two things is happening either the /data/data/<app folder> is missing
or the apps were frozen or deleted. both power saving and location services have more than one call from several system apks as well as user apks. if you have titanium backup and used that to freeze apps try restoring data for the apps that you froze see if that helps, otherwise my next sugestion would be to odin back to stock and start over.
Click to expand...
Click to collapse
so this issue occured when ALL apps were unfrozen, no apps have ever been deleted, and I am running stock.

So I figured it out, in Xposed, I had a module called "Disable Location Consent" enabled, and as soon as I disabled and rebooted this error went away, enabled rebooted and it came back, disabled and rebooted and it is gone, so I am just waiting for an update, will contact the developer to let them know.
//edit
http://forum.xda-developers.com/xposed/modules/mod-disable-google-location-consent-t2449926/page27 -- looks like I don't need too

DrSeussFreak said:
So I figured it out, in Xposed, I had a module called "Disable Location Consent" enabled, and as soon as I disabled and rebooted this error went away, enabled rebooted and it came back, disabled and rebooted and it is gone, so I am just waiting for an update, will contact the developer to let them know.
//edit
http://forum.xda-developers.com/xposed/modules/mod-disable-google-location-consent-t2449926/page27 -- looks like I don't need too
Click to expand...
Click to collapse
ahhh yes, good ol xPosed framework it can cause wierd issues

cstayton said:
ahhh yes, good ol xPosed framework it can cause wierd issues
Click to expand...
Click to collapse
indeed

cstayton said:
did you freeze/delete any system apps? that can cause these type of issues
if you have a root browser installed go to /data/log there should be a set of error logs zipped into a tar.gz file copy that out to your sdcard extract it and search the contents for fatal errors or missing files that should tell you what the root cause is.
Click to expand...
Click to collapse
I get this when I use the Xposed app to grant the location pop ups. Can't remember the exact name but it is supposed to stop the lil pop up from asking can it say where I am...
You using ANY xposed modules?

DrSeussFreak said:
So I figured it out, in Xposed, I had a module called "Disable Location Consent" enabled, and as soon as I disabled and rebooted this error went away, enabled rebooted and it came back, disabled and rebooted and it is gone, so I am just waiting for an update, will contact the developer to let them know.
//edit
http://forum.xda-developers.com/xposed/modules/mod-disable-google-location-consent-t2449926/page27 -- looks like I don't need too
Click to expand...
Click to collapse
Oh my god... This was driving me NUTS all day :S I can't believe that Xposed module "Disable Location Consent" was causing this problem... THANKS!!!!

xddd00 said:
Oh my god... This was driving me NUTS all day :S I can't believe that Xposed module "Disable Location Consent" was causing this problem... THANKS!!!!
Click to expand...
Click to collapse
Happy this helped somebody else

Related

[ROM][6.0][Read OP!]Official nightly Cyanogenmod 13 for Peregrine

Please search the thread and read the OP before postings to reduce the numbers of unneeded reposting by everyone.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0(MM), which is designed to increase performance and reliability over stock Android for your device.
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Tips and notes:
When choosing a Gapps package ensure it can fit into /system when flashed. Micro gapps is recommend as it fits and provides everything in a base package you will need for gapps support you can install the other google apps from the store as want later on.
Remember nightly builds are experimental they can and will be broken from time to time. Always have a backup at hand.
Storage in Marshmallow is dynamically mounted. That means you will get a prompt at boot to mount as either portable storage or internal storage. Use portable storage to continue using it as like in previous versions of android.
To transfer file to PC when plugged in you will get the charging mode prompt status in the status bar click it to change from charging mode to transfer files.
TWRP cannot read internal formatted sdcards at the moment in order to flash a new nightly try one of these suggestions -
Adb sideloading - http://forum.xda-developers.com/showpost.php?p=64194455&postcount=398
USB OTG - http://forum.xda-developers.com/showpost.php?p=64194957&postcount=401
Using PC file manager to place the file where TWRP can see it - http://forum.xda-developers.com/showpost.php?p=64194157&postcount=397
TWRP 3 now supports internal formatted sdcards - http://forum.xda-developers.com/moto-g/4g-development/unofficial-twrp-3-0-0-0-moto-g-lte-t3310450
If you want to use Supersu see here for non-systemless root. For systemless root use a zip from the SuperSu page othwerwise inbuilt superuser from development settings works fine.
Having issues with Titanium Backup? This should help - https://www.youtube.com/watch?v=DrOuUtlqz9w&ab_channel=AbhinavSrivastava
Want to mount system as read write for apps like Adaway use this(For builds before 29 Nov 2015)
Builds 29Nov 2015+ from a terminal app use
Code:
su
mount -o rw,remount /system
then after changes use
Code:
mount -o ro,remount /system
to mount it back as read-only or reboot.
what doesn't work:
-You tell me as am not sure atm [emoji14]
Downloads:
Older Unofficial builds
Official builds nightly builds
Install instructions:
IMPORTANT! When coming from older builds to CM13 24 Nov+ builds if you have FCs with phone
LuK1337 said:
From now after flashing 20151121 build you will have to remove /data/data/com.android.providers.telephony/databases/telephony.db file due to db scheme updates. Otherwise com.android.phone crash will happen.
You can use TWRP file manager to do it.
Click to expand...
Click to collapse
Contrary to popular belief(me included) wiping between versions is not needed - https://plus.google.com/u/0/+DanPasanen/posts/GKnirTFjojg
Coming from an official CM12.1 rom
Reboot to recovery
Install Rom
Optional Gapps, Kernel, etc
Reboot
Make sure to install Gapps before booting are you will have FCs with Setup wizard.
Coming from a different rom or stock
Wipe data and cache
Flash the CM13zip
Install opengapps or any other perffered gapps if you want
Reboot
Profit
Changelog - http://www.cmxlog.com/13/peregrine/
Source:
base: https://github.com/CyanogenMod
kernel: https://github.com/CyanogenMod/android_kernel_motorola_msm8226/tree/cm-13.0
Device: https://github.com/CyanogenMod/android_device_motorola_msm8226-common/tree/cm-13.0, https://github.com/CyanogenMod/android_device_motorola_peregrine/tree/cm-13.0
Vendor: https://github.com/TheMuppets/proprietary_vendor_motorola/tree/cm-13.0
Rest of the stuff is all unmerged stuff from gerrit
Credits:- (not in a order)
AOSParadox team @h2o64
@luca020400 @LuK1337
@srisurya95 for helping me spot my error with compiling.
CM Team
Google
Motorola
And any one else that I forgot to mention [emoji14]
Thanks a lot for this, I'll test on weekend
Enviado desde mi XT1040 mediante Tapatalk
keep up the good work
Whoa, thank you! <3
First of all, thanks! Just installed it.
In the first boot, when cm confugration wizard started, I tried to change language, and system soft rebooted, never to boot up again. Tried it a couple of times with same result. Wiping data/cache solves the issue. So using it in english for now. I will report if more things come up!
Edit: After installing cm, installed gapps, and upon booting the "setup wizard had to close" (or similar xD) message appeared once and again. This happened the 2 times I tried.
gartzen said:
First of all, thanks! Just installed it.
In the first boot, when cm confugration wizard started, I tried to change language, and system soft rebooted, never to boot up again. Tried it a couple of times with same result. Wiping data/cache solves the issue. So using it in english for now. I will report if more things come up!
Edit: After installing cm, installed gapps, and upon booting the "setup wizard had to close" (or similar xD) message appeared once and again. This happened the 2 times I tried.
Click to expand...
Click to collapse
Same here
I have the same problem when i try to change language. Is someone also having a problem of fc with titanium backup ?
Nice work, the only issue i have ran into at the moment is when you go Under More in settings and go into Mobile networks you get an FC on com.android.phone posted the logcat below for you
Code:
10-22 20:06:34.340 646 656 I art : Background partial concurrent mark sweep GC freed 22291(1385KB) AllocSpace objects, 6(120KB) LOS objects, 33% free, 23MB/35MB, paused 2.507ms total 133.930ms
10-22 20:06:34.341 31441 31441 D AndroidRuntime: Shutting down VM
10-22 20:06:34.350 31441 31441 E AndroidRuntime: FATAL EXCEPTION: main
10-22 20:06:34.350 31441 31441 E AndroidRuntime: Process: com.android.phone, PID: 31441
10-22 20:06:34.350 31441 31441 E AndroidRuntime: java.lang.ArrayIndexOutOfBoundsException: length=13; index=13
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.ListPreference.getEntry(ListPreference.java:220)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.ListPreference.getSummary(ListPreference.java:165)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.Preference.onBindView(Preference.java:558)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.Preference.getView(Preference.java:495)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.preference.PreferenceGroupAdapter.getView(PreferenceGroupAdapter.java:246)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.AbsListView.obtainView(AbsListView.java:2346)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.ListView.makeAndAddView(ListView.java:1875)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.ListView.fillDown(ListView.java:702)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.ListView.fillFromTop(ListView.java:763)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.ListView.layoutChildren(ListView.java:1684)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.AbsListView.onLayout(AbsListView.java:2148)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1732)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1497)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:493)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:2678)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.View.layout(View.java:16633)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewGroup.layout(ViewGroup.java:5437)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2171)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1931)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:670)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:606)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-22 20:06:34.350 31441 31441 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-22 20:06:34.356 646 1619 W ActivityManager: Force finishing activity com.android.phone/.MobileNetworkSettings
10-22 20:06:34.359 646 1619 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
10-22 20:06:34.365 8632 8632 I art : Starting a blocking GC Explicit
10-22 20:06:34.407 8632 8632 I art : Explicit concurrent mark sweep GC freed 2328(136KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 13MB/22MB, paused 708us total 41.399ms
10-22 20:06:34.414 646 882 I OpenGLRenderer: Initialized EGL, version 1.4
10-22 20:06:34.431 8632 8632 I art : Starting a blocking GC Explicit
10-22 20:06:34.466 8632 8632 I art : Explicit concurrent mark sweep GC freed 584(33KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 13MB/22MB, paused 594us total 34.252ms
10-22 20:06:34.466 8632 8632 I art : Starting a blocking GC Explicit
10-22 20:06:34.499 8632 8632 I art : Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 40% free, 13MB/22MB, paused 555us total 32.508ms
10-22 20:06:34.537 8632 8706 E Surface : getSlotFromBufferLocked: unknown buffer: 0xb90366d0
10-22 20:06:34.538 8632 8706 D OpenGLRenderer: endAllStagingAnimators on 0xb9328d68 (ListView) with handle 0xb90440e0
10-22 20:06:34.860 646 663 W ActivityManager: Activity pause timeout for ActivityRecord{b1c66fa u0 com.android.phone/.MobileNetworkSettings t133 f}
10-22 20:06:35.004 8632 8632 D DashboardSummary: rebuildUI took: 88 ms
10-22 20:06:37.131 6307 6434 D audio_hw_primary: out_standby: enter: stream (0xb8446ac0) usecase(1: low-latency-playback)
10-22 20:06:37.182 6307 6434 D hardware_info: hw_info_append_hw_type : device_name = speaker-lite
10-22 20:06:38.408 253 367 I ThermalEngine: Sensor:xo_therm_pu2:25000 mC
• Camera crashes (Cannot connect to the camera error) right after you take a picture
• Facebook crashes as soon as you start to write your username on the login screen
• File Manager crashes (some kind of "no privileges" error)
I also don't have the option to set Google Now launcher as default launcher, like if it wasn't installed, but it works with Nova Launcher.
edit : problem solve after rebooting sorry
Camera has already been fixed on Falcon's build... so it's just a mater of time @Kayant merges it!
I have also seen the issues with camera, file manager, TB. Can't really say too much because my limited knowledge doesn't give me too much insight into what exactly is going on but am going through some logs and will see what I can understand from them. @ebol94 I already had the camera fix merged in but maybe is because I don't have an updated lib which is why it's not completed fixed? Will test that in a build later.
Kayant said:
I have also seen the issues with camera, file manager, TB. Can't really say too much because my limited knowledge doesn't give me too much insight into what exactly is going on but am going through some logs and will see what I can understand from them. @ebol94 I already had the camera fix merged in but maybe is because I don't have an updated lib which is why it's not completed fixed? Will test that in a build later.
Click to expand...
Click to collapse
You need to add this branch to your repo in order to use the new libs
Code:
<project path="external/sony/boringssl-compat" name="CyanogenMod/android_external_sony_boringssl-compat" revision="cm-13.0" />
By the way, I managed to get working data but not LTE on my build, but I'm not quite sure the state of yours since I haven't flashed it. Could anybody tell me? :silly:
Nevermind, LTE is working good here too . So far there's pretty much everything working, the only thing left is that I'm not having my sdcard partition mounted (at least on my build). Maybe it can be forced through terminal, I'll try later. How about on this build?
Regards!
beeeto said:
You need to add this branch to your repo in order to use the new libs
Code:
<project path="external/sony/boringssl-compat" name="CyanogenMod/android_external_sony_boringssl-compat" revision="cm-13.0" />
By the way, I managed to get working data but not LTE on my build, but I'm not quite sure the state of yours since I haven't flashed it. Could anybody tell me? :silly:
Nevermind, LTE is working good here too . So far there's pretty much everything working, the only thing left is that I'm not having my sdcard partition mounted (at least on my build). Maybe it can be forced through terminal, I'll try later. How about on this build?
Regards!
Click to expand...
Click to collapse
I already have the necessary things. The only thing that may have changed is h2o64's lib being newer than luk1337's one
There's how SDcard works in MM now because you can choose to use it as internal storage so how it mounts at boot has changed - http://source.android.com/devices/storage/config.html
You need to click the notification and choose which option you want.
Kayant said:
I already have the necessary things. The only thing that may have changed is h2o64's lib being newer than luk1337's one
There's how SDcard works in MM now because you can choose to use it as internal storage so how it mounts at boot has changed - http://source.android.com/devices/storage/config.html
You need to click the notification and choose which option you want.
Click to expand...
Click to collapse
My lib is based o, the 5.1 blobs, and Luk's one is based off 5.0.2.
So if you wanna use mine, you must have all the other libs from 5.1
PS : I like the "not in order" xD :justkidding:
h2o64 said:
My lib is based o, the 5.1 blobs, and Luk's one is based off 5.0.2.
So if you wanna use mine, you must have all the other libs from 5.1
PS : I like the "not in order" xD :justkidding:
Click to expand...
Click to collapse
Hey you should hunt srisurya95 down for that
Thanks for the heads up.
Great work guys! I love it
One quick question: is the mobile radio active bug still present? On Lollipop, Chrome and Google Play Services are killing my battery for no apparent reason.
I have a question, if I install this Alpha build on my Motorola Moto G when the nightly builds start would it be a case of simply upgrading to this from the device via Cyanogenmod updates?
also, what recovery did you guys use? I am currently running CM recovery but its very basic and no options for nandroid backup so looking to do this before trying out CM13
ceanth said:
also, what recovery did you guys use? I am currently running CM recovery but its very basic and no options for nandroid backup so looking to do this before trying out CM13
Click to expand...
Click to collapse
I am using the TWRP-v2.8.7.0 from here - http://forum.xda-developers.com/mot...ection-somcom3xs-experimental-corner-t2996266

App craches on AlertDialog .show()

Hello there!
I'm building an app but whenever it comes to the AlertDialog .show() it chrashes. I've reserached but couldn't find any solution.
Most of them were got their problem fixed by changing Context on
AlertDialog.Builder example = new AlertDialog.Builder(Context)
to
AlertDialog.Builder example = new AlertDialog.Builder(MyActivity.this);
But that's not my case, I've beeing using MyActivity.this all long and still crashes.
Here's my code:
ublic class MainActivity extends AppCompatActivity {
Button btMudaTela;
final Funcoes funcao = new Funcoes();
@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button btMudaTela = (Button) findViewById(R.id.btMudaTela);
//Ao clicar no botão outra activity será aberta (ActivityCadastro)
btMudaTela.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View v) {
AlertDialog.Builder adb = new AlertDialog.Builder(MainActivity.this);
adb.setTitle("teste");
adb.setMessage("ok");
adb.show();
funcao.mudaActivity(MainActivity.this, ActivityCadastro.class);
finish();
}
});
}
}
And here's my Logcat:
06-23 07:41:42.113 3303 3303 E AndroidRuntime: Process: com.example.teste.projetofinal, PID: 3303
06-23 07:41:42.113 3303 3303 E AndroidRuntime: at com.example.teste.projetofinal.MainActivity$1.onClick(MainActivity.java:46)
06-23 07:41:42.123 954 1367 W ActivityManager: Force finishing activity com.example.teste.projetofinal/.MainActivity
06-23 07:41:43.334 954 1602 I ActivityManager: Process com.example.teste.projetofinal (pid 3303) (adj 9) has died.
06-23 07:41:43.334 954 1454 I WindowState: WIN DEATH: Window{444ca450 u0 com.example.teste.projetofinal/com.example.teste.projetofinal.MainActivity}
06-23 07:50:39.406 6806 6806 W InstallAppProgress: Replacing package:com.example.teste.projetofinal
06-23 07:50:42.219 5389 5389 I Finsky : [1] com.google.android.finsky.verifier.impl.br.c(104): Verification complete: id=0, package_name=com.example.teste.projetofinal
06-23 07:50:42.960 954 1046 I PackageManager: Package com.example.teste.projetofinal codePath changed from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk; Retaining data and using new
06-23 07:50:43.921 954 1046 W PackageManager: Code path for pkg : com.example.teste.projetofinal changing from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk
06-23 07:50:43.921 954 1046 W PackageManager: Resource path for pkg : com.example.teste.projetofinal changing from /data/app/com.example.teste.projetofinal-19.apk to /data/app/com.example.teste.projetofinal-20.apk
06-23 07:50:45.592 954 1036 I CrashAnrDetector: onPackageUpdateFinished : com.example.teste.projetofinal
06-23 07:50:46.073 6987 6987 E dalvikvm: >>>>> com.example.teste.projetofinal [ userId:0 | appId:10200 ]
06-23 07:50:47.444 6987 6987 E AndroidRuntime: Process: com.example.teste.projetofinal, PID: 6987
06-23 07:50:47.444 6987 6987 E AndroidRuntime: at com.example.teste.projetofinal.MainActivity$1.onClick(MainActivity.java:40)
06-23 07:50:47.444 954 1602 W ActivityManager: Force finishing activity com.example.teste.projetofinal/.MainActivity
06-23 07:50:48.806 954 1602 I WindowState: WIN DEATH: Window{433e3670 u0 com.example.teste.projetofinal/com.example.teste.projetofinal.MainActivity}
06-23 07:50:48.836 954 1545 I ActivityManager: Process com.example.teste.projetofinal (pid 6987) (adj 9) has died.
06-23 07:50:51.188 3939 3939 E SPPClientService: [PackageInfoChangeReceiver] [handlePkgRemovedEvent] PackageName : com.example.teste.projetofinal, true, false
06-23 07:50:54.531 5389 5389 I Finsky : [1] com.google.android.finsky.externalreferrer.d.run(9): Package state data is missing for com.example.teste.projetofinal
06-23 07:50:55.792 3498 7271 I FontsPackageChangeOp: Package com.example.teste.projetofinal has no metadata
I've found solution
Yeah!!!! After 2 days of digging on the Internet I finally found solution here:
https://stackoverflow.com/questions...der-when-android-suport-library-updated-to-24
You need to import this for your AlertDialog:
Code:
import android.app.AlertDialog;
instead of this:
Code:
import android.support.v7.app.AlertDialog;

Strange problem with supersu

The problem
situation1:
- SuperSU app is active on the foreground
- When I su from adb shell i get the confirmation prompt and get root without any problems
situation2:
- SuperSU app is not running
- When I su from adb shell
sometimes it keeps waiting indefinite but SuperSU. app never starts and therefore never asks confirmation.
other times it works like expected
situation3
- SuperSU app is not running
- Start rootexplorer it waits indefinite (super supersu app never starts)
- If i manually start SuperSU then it sometimes ask for permission for rootexplorer
Device & Rooting info
DEVICE: wiko sunny2 [v2510]
OS: Android 6.0 [MRA58K]
SuperSU version: 2.79
Rooting: Installed official SUinstaller zip version 2.79 from twrp recovery
- installation proceeded without any errors
Parts of logcat
logcat extract of situation 1
Code:
03-13 13:32:00.094 1461 10939 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{c86c211 u-1 android.intent.action.TIME_TICK}, [foreground], remain = 0
03-13 13:32:00.096 1461 1461 D AlarmManager: onSendFinished begin
03-13 13:32:00.886 540 626 D phoneserver: rsrp[0]=6,rscp[0]=0,rxlev[0]=0 ind_str= M
03-13 13:32:00.886 540 626 D phoneserver: +CSQ: 6,0M
03-13 13:32:01.743 535 784 D WCND : is_cp2_alive_ok: open polling interface: /dev/spipe_wcn0, fd = 13
03-13 13:32:01.744 535 784 D WCND : is_cp2_alive_ok: loop: /dev/spipe_wcn0 is OK
03-13 13:32:03.551 16049 16049 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
03-13 13:32:03.562 16049 16049 D AndroidRuntime: CheckJNI is OFF
03-13 13:32:03.559 16049 16049 W app_process: type=1400 audit(0.0:496): avc: denied { write } for name="[email protected]@boot.art" dev="mmcblk0p23" ino=14597 scontext=u:r:shell:s0 tcontext=u:object_r:dal
03-13 13:32:03.570 16049 16049 W art : 707e5000-71201000 rw-p 00000000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:32:03.570 16049 16049 W art : b11f3000-b31cb000 r--p 00000000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b31cb000-b49dd000 r-xp 01fd8000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b49dd000-b49de000 rw-p 037ea000 b3:11 1176 /system/framework/arm/boot.oat
03-13 13:32:03.570 16049 16049 W art : b49de000-b49fc000 r--p 00a1c000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:32:03.570 16049 16049 W art : b49fc000-b49fd000 rw-p 00000000 00:00 0 [anon:linker_alloc_vector]
{....full callstack removed...}
03-13 13:32:03.581 16049 16049 W art : b6f9b000-b6f9c000 rw-p 00000000 00:00 0
03-13 13:32:03.581 16049 16049 W art : b8e2b000-b8e5d000 rw-p 00000000 00:00 0 [heap]
03-13 13:32:03.581 16049 16049 W art : be7e4000-be805000 rw-p 00000000 00:00 0 [stack]
03-13 13:32:03.581 16049 16049 W art : ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
03-13 13:32:03.581 16049 16049 W art :
03-13 13:32:03.646 16049 16049 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-13 13:32:03.659 16049 16049 W main : type=1400 audit(0.0:497): avc: denied { write } for name="arm" dev="mmcblk0p23" ino=14595 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tcl
03-13 13:32:03.707 16049 16049 E memtrack: Couldn't load memtrack module (No such file or directory)
03-13 13:32:03.707 16049 16049 E android.os.Debug: failed to load memtrack module: -2
03-13 13:32:03.712 16049 16049 I Radio-JNI: register_android_hardware_Radio DONE
03-13 13:32:03.753 16049 16049 D AndroidRuntime: Calling main entry com.android.commands.am.Am
03-13 13:32:03.749 16059 16059 W Binder_1: type=1400 audit(0.0:498): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16059 16059 W Binder_1: type=1400 audit(0.0:499): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16060 16060 W Binder_2: type=1400 audit(0.0:500): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.749 16060 16060 W Binder_2: type=1400 audit(0.0:501): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:32:03.761 1461 1471 D BroadcastQueue: Add broadcastBroadcastRecord{ea7ff76 u0 eu.chainfire.supersu.NativeAccess} into (background/order), now header = BroadcastRecord{ea7ff76 u0 eu.chainfire.s
03-13 13:32:03.773 1461 1474 I ActivityManager: Start proc 16061:eu.chainfire.supersu/u0a104 for broadcast eu.chainfire.supersu/.NativeAccessReceiver
03-13 13:32:03.813 16061 16061 E linker : readlink('') failed: No such file or directory [fd=17]
03-13 13:32:03.813 16061 16061 E linker : warning: unable to get realpath for the library "/data/app/eu.chainfire.supersu-1/oat/arm/base.odex". Will use given name.
03-13 13:32:03.815 16061 16061 W System : ClassLoader referenced unknown path: /data/app/eu.chainfire.supersu-1/lib/arm
03-13 13:32:04.152 1461 10941 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x50840000 cmp=eu.chainfire.supersu/.PromptActivity (has extras)} from uid 10104 on display 0
03-13 13:32:04.152 1461 10941 D ActivityManager: DEBUG_POWER_HINT start activityh
03-13 13:32:04.169 1461 10941 V WindowManager: Pausing WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:32:04.181 501 501 D gralloc.sc8830: fb_post fps = 0.728464
03-13 13:32:04.181 1461 10941 D WindowManager: Input focus has changed to null
03-13 13:32:04.182 1461 10941 D ActivityManager: startActivityUncheckedLocked return : 0
03-13 13:32:04.183 1461 1781 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{ea7ff76 u0 eu.chainfire.supersu.NativeAccess}, [background], remain = 0
03-13 13:32:04.185 16049 16049 D AndroidRuntime: Shutting down VM
03-13 13:32:04.196 1461 10940 V WindowManager: Resuming WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:32:04.209 16061 16061 D AccessibilityManager: getInstance() new sInstance = [email protected], context = [email protected], userId
03-13 13:32:04.299 16061 16117 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
03-13 13:32:04.302 16061 16061 E linker : readlink('') failed: No such file or directory [fd=25]
03-13 13:32:04.302 16061 16061 E linker : warning: unable to get realpath for the library "/system/lib/hw/gralloc.sc8830.so". Will use given name.
03-13 13:32:04.308 1461 1616 V WindowManager: addWindow: New client [email protected]: window=Window{53e1a05 u0 eu.chainfire.supersu/eu.chainfire.supersu.PromptActivity} Callers=com.androi
03-13 13:32:04.329 1461 2231 D WindowManager: Input focus has changed to Window{53e1a05 u0 eu.chainfire.supersu/eu.chainfire.supersu.PromptActivity}
03-13 13:32:04.350 16061 16117 I OpenGLRenderer: Initialized EGL, version 1.4
03-13 13:32:04.421 1461 1491 I ActivityManager: Displayed eu.chainfire.supersu/.PromptActivity: +233ms
logcat extract of situation 2
Code:
03-13 13:19:41.861 13245 13245 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
03-13 13:19:41.872 13245 13245 D AndroidRuntime: CheckJNI is OFF
03-13 13:19:41.865 13245 13245 W app_process: type=1400 audit(0.0:412): avc: denied { write } for name="[email protected]@boot.art" dev="mmcblk0p23" ino=14597 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0
03-13 13:19:41.879 13245 13245 W art : 707e5000-71201000 rw-p 00000000 b3:17 14597 /data/dalvik-cache/arm/[email protected]@boot.art
03-13 13:19:41.880 13245 13245 W art : b123b000-b3213000 r--p 00000000 b3:11 1176 /system/framework/arm/boot.oat
{....full callstack removed...}
03-13 13:19:41.891 13245 13245 W art : b6fd9000-b6fdb000 rw-p 0001f000 b3:11 522 /system/bin/linker
03-13 13:19:41.891 13245 13245 W art : b6fdb000-b6fdd000 rw-p 00000000 00:00 0
03-13 13:19:41.891 13245 13245 W art : b6fdd000-b6fe2000 r-xp 00000000 b3:11 398 /system/bin/app_process32
03-13 13:19:41.891 13245 13245 W art : b6fe2000-b6fe3000 r--p 00004000 b3:11 398 /system/bin/app_process32
03-13 13:19:41.891 13245 13245 W art : b6fe3000-b6fe4000 rw-p 00000000 00:00 0
03-13 13:19:41.891 13245 13245 W art : b8337000-b8369000 rw-p 00000000 00:00 0 [heap]
03-13 13:19:41.891 13245 13245 W art : beadd000-beafe000 rw-p 00000000 00:00 0 [stack]
03-13 13:19:41.891 13245 13245 W art : ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]
03-13 13:19:41.891 13245 13245 W art :
03-13 13:19:41.952 13245 13245 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
03-13 13:19:41.955 13245 13245 W main : type=1400 audit(0.0:413): avc: denied { write } for name="arm" dev="mmcblk0p23" ino=14595 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
03-13 13:19:42.017 13245 13245 E memtrack: Couldn't load memtrack module (No such file or directory)
03-13 13:19:42.017 13245 13245 E android.os.Debug: failed to load memtrack module: -2
03-13 13:19:42.023 13245 13245 I Radio-JNI: register_android_hardware_Radio DONE
03-13 13:19:42.067 13245 13245 D AndroidRuntime: Calling main entry com.android.commands.am.Am
03-13 13:19:42.055 13255 13255 W Binder_1: type=1400 audit(0.0:414): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13255 13255 W Binder_1: type=1400 audit(0.0:415): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13256 13256 W Binder_2: type=1400 audit(0.0:416): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.055 13256 13256 W Binder_2: type=1400 audit(0.0:417): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
--------- beginning of system
03-13 13:19:42.077 1461 3330 D BroadcastQueue: Add broadcastBroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess} into (background/order), now header = BroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess}, size = 1
03-13 13:19:42.093 1461 1474 I ActivityManager: Start proc 13257:eu.chainfire.supersu/u0a104 for broadcast eu.chainfire.supersu/.NativeAccessReceiver
03-13 13:19:42.145 13257 13257 E linker : readlink('') failed: No such file or directory [fd=17]
03-13 13:19:42.145 13257 13257 E linker : warning: unable to get realpath for the library "/data/app/eu.chainfire.supersu-1/oat/arm/base.odex". Will use given name.
03-13 13:19:42.149 13257 13257 W System : ClassLoader referenced unknown path: /data/app/eu.chainfire.supersu-1/lib/arm
03-13 13:19:42.497 1461 3692 I ActivityManager: START u0 {act=android.intent.action.MAIN flg=0x50840000 cmp=eu.chainfire.supersu/.PromptActivity (has extras)} from uid 10104 on display 0
03-13 13:19:42.497 1461 3692 D ActivityManager: DEBUG_POWER_HINT start activityh
03-13 13:19:42.504 1461 3692 V WindowManager: Pausing WindowToken AppWindowToken{551b974 token=Token{7c74d47 ActivityRecord{c585086 u0 com.wiko.launcher/com.wiko.WikoLauncher t6}}}
03-13 13:19:42.508 1461 3692 D WindowManager: Input focus has changed to null
03-13 13:19:42.509 1461 3692 D ActivityManager: startActivityUncheckedLocked return : 0
03-13 13:19:42.513 1461 2242 V BroadcastQueue: Finished with ordered broadcast BroadcastRecord{1901c00 u0 eu.chainfire.supersu.NativeAccess}, [background], remain = 0
03-13 13:19:42.506 13255 13255 W Binder_1: type=1400 audit(0.0:418): avc: denied { sys_nice } for capability=23 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
03-13 13:19:42.515 13245 13245 D AndroidRuntime: Shutting down VM
Questions/Remarks
It looks like app_process (app_process32) is started in the wrong context
Any hints or tips on how to proceed ?
Reflashed stock and twrp and installed SuperSU the classic way (on /system)
Now everything works as expected

[MOD] Camera supporting 60FPS 120FPS

About:
This is a modification of the LineageOS camera wrapper, Snapdragon Camera app, libstagefright, and media profiles to allow recording video at 60FPS and 120FPS with stereo audio at 256kbps, also allows recording files over 4GB (the selected storage filesystem must support files larger than 4GB), and the ability to change AV bitrates/codecs on the fly. Album preference has been added in 1.3.
Q Users: Backup before install!
/system/lib/libstagefright.so
/system/product/priv-app/Snap/Snap.apk
/system/product/priv-app/Snap/oat/arm/Snap.odex
/system/product/priv-app/Snap/oat/arm/Snap.vdex
/system/vendor/etc/media_profiles_V1_0.xml
/system/vendor/lib/hw/camera.msm8974.so
P/O Users: Backup before install!
/system/lib/libstagefright.so
/system/priv-app/Snap/Snap.apk
/system/priv-app/Snap/oat/arm/Snap.odex
/system/priv-app/Snap/oat/arm/Snap.vdex
/system/vendor/etc/media_profiles_V1_0.xml (or /system/etc/media_profiles.xml)
/system/vendor/lib/hw/camera.msm8974.so
N Users: Backup before install!
/system/etc/media_profiles.xml
/system/lib/libstagefright.so
/system/lib/hw/camera.msm8974.so
/system/priv-app/Snap/Snap.apk
Download ZIP:
If you experience bugs or crashes please attach the adb log file, also include your mod version, OS, and device model in the post!
Q v1.3, TWRP 3.3.1: https://drive.google.com/file/d/1T3d6tIj_aM_zcfS7Q-RNNrT2IkvMwwvf/view?usp=sharing
P v1.3, TWRP 3.3.1: https://drive.google.com/file/d/1MPOfu7UXV-1RfWbW4EBJfSwmbVSnPXkC/view?usp=sharing
----------------
Q v1.2: https://drive.google.com/file/d/1wL5QeTFPaBGhbT3l3x4J52Q6f-fF9w8-/view?usp=sharing
P v1.2: https://drive.google.com/file/d/1Pjzu_Y5L0H8qqszYzwHJptD3uESvFKkB/view?usp=sharing
----------------
O v0.6: https://drive.google.com/open?id=1fM-SMDZT2iYxaX3AoYWCRegu918PqRFp
N v0.6: https://drive.google.com/open?id=1t2HalWYSObez0Xar0MOfk7opcLaSf0AD
----------------
Old versions: https://drive.google.com/drive/folders/1oFLPaoDmfDJlD8FAoRVhAk2haETI_dH6
v1.3 Changelog:
snap: Album preference: This will store media into subdirectories: Default, Date, Custom, Hidden.
snap: Media is now stored using the MediaStore API for Android 10 / LOS 17.1 builds.
Past Changelogs:
v1.2 Changelog:
snap: Merge upstream
snap: PiP and Multi-Window Removed (Bugs)
stagefright: Merge upstream
v1.1 Changelog:
snap: Added Picture-in-Picture support
snap: Fixed Multi-Window handling
profiles: Updated to proper location (again)
v0.9 Changelog:
snap: Merge upstream
stagefright: Merge upstream
profiles: Set all audio channels to stereo
v0.8-2 Changelog:
profiles: Updated path from upstream change, moved from /system/etc/media_profiles.xml to /system/vendor/etc/media_profiles_V1_0.xml
v0.8 Changelog:
snap: Upstream change now saves files in /Android/data/org.lineageos.snap/files instead of /DCIM/Camera
v0.7 Changelog:
snap: Fix compilation for Pie
v0.6 Changelog:
snap: Added new advanced video preferences: Video bitrate, Audio bitrate
To access these preferences, tap the "Bright screen" preference until it enables advanced camera preferences
Auto: Run the original code.
Profile: Use bitrate found in media profile, no scaling.
Manual: Set custom bitrate with slider dialog, based on the minimum and maximum bitrate caps, saving the preference for each codec.
Max: Set maximum bitrate from the encoder cap.
snap: Disabled 4GB file size limit
snap: Separate video denoise and photo denoise preferences
stagefright: Disabled 4GB file size limit
profiles: Cleanup
v0.5-3 Changelog:
wrapper: Fix quick settings flash
wrapper: Fix flash "On" photo mode
v0.5 Changelog:
wrapper: Fix hang during selfie shot
profiles: Increase audio bitrates in media_profiles.xml
v0.4 Changelog:
snap: Added "Denoise" setting to Video menu
wrapper: Restart flash during preview changes
wrapper: Removed focus modes from previous versions
wrapper: Code optimizations
profiles: Cleanup
v0.3 Changelog:
snap: Handle resource error
wrapper: Fix flash mode "On" in photo mode
v0.2 Changelog:
snap: Enabled advanced settings by default
wrapper: If torch is set, turn back on once recording in 60FPS
Known Bugs:
Camera name becomes assigned to a different resource ID on Android 9 and below. Android 10 does not have this issue.
On certain devices, front camera does not load or fails to save pictures.
1.2 Q is not parsing Snaps external storage, the files exist but they will not appear in the Gallery. In 1.3 this is fixed.
Android 9 still has the sdcard deletion bug.. if you do your own builds you can fix it with the commits below:
https://github.com/tomm1e/android_vendor_lineage/commit/6ad07dee60e26bdf88d9ac07face4d7a0fbe5610
https://github.com/tomm1e/android_p...mmit/7cad0838a254f6422343d17d5a578d2e09382359
https://github.com/LineageOS/android_frameworks_base/commit/c3f4b30d8e15228a12ca6bd1f4037d5c69dda6ea
Notes:
To access the Advanced camera preferences in Snap, tap the "Bright screen" preference until it enables.
Bitrates can be changed in media_profiles.xml. To reload them, clear the camera out of recent apps.
O+ users should force rebuild of dalvik cache after installing or upgrading: adb shell cmd package compile -m speed -f org.lineageos.snap
P and below should clear Data after upgrading so the Camera name does not get reassigned.
Source Code:
All of my changes can be found at Github:
https://github.com/tomm1e/android_device_samsung_klte-common
https://github.com/tomm1e/android_packages_apps_Snap
https://github.com/tomm1e/android_frameworks_av
Thanks to everyone at LOS and XDA! :good:
-Tom
Why to buy a new phone when we have a huge ,great support for our old S5 ,with Dev's like you ?
S5 Resurrected!
This is great! Im gonna test it
Does it works with Klte?
razor17 said:
Does it works with Klte?
Click to expand...
Click to collapse
Duh.. Read the op.
Sent from my SM-G900V using XDA Labs
Tested on klte + dotOS 2.3, does not work:
06-26 22:14:06.422 470 3336 I ActivityManager: Start proc 17888rg.lineageos.snap/u0a26 for activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:06.406 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:06.473 470 8663 I OpenGLRenderer: Initialized EGL, version 1.4
06-26 22:14:06.473 470 8663 D OpenGLRenderer: Swap behavior 1
06-26 22:14:06.487 470 8663 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:06.530 470 707 W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
06-26 22:14:06.563 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_VGA
06-26 22:14:06.563 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_TIME_LAPSE_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_TIME_LAPSE_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_TIME_LAPSE_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_TIME_LAPSE_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_CIF
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_CIF
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_VGA
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_4KDCI
06-26 22:14:06.565 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_HIGH_SPEED_4KDCI
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_QHD
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_QHD
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_2k
06-26 22:14:06.566 17888 17888 D Wrapper : getField:class android.media.CamcorderProfile QUALITY_2k
06-26 22:14:06.569 377 822 W QCamera2Factory: getCameraInfo: E, camera_id = 0
06-26 22:14:06.569 377 822 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.569 377 822 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.570 377 5565 W QCamera2Factory: getCameraInfo: E, camera_id = 1
06-26 22:14:06.570 377 5565 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.570 377 5565 W QCamera2HWI: __dbg: info->orientation : 270 rc = 0
06-26 22:14:06.570 377 5565 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.571 17888 17888 I CameraManagerGlobal: Connecting to camera service
06-26 22:14:06.574 377 822 W QCamera2Factory: getCameraInfo: E, camera_id = 0
06-26 22:14:06.574 377 822 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.574 377 822 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.594 17888 17888 D SnapCam_SettingsManager: cameraIdList size =2
06-26 22:14:06.601 377 377 W QCamera2Factory: getCameraInfo: E, camera_id = 1
06-26 22:14:06.601 377 377 W QCamera2HWI: __dbg: info->orientation : 90 rc = 0
06-26 22:14:06.601 377 377 W QCamera2HWI: __dbg: info->orientation : 270 rc = 0
06-26 22:14:06.601 377 377 W QCamera2Factory: getCameraInfo: X
06-26 22:14:06.608 17888 17888 D SnapCam_SettingsManager: cameraIdList size =2
06-26 22:14:06.613 17888 17888 W ResourceType: No known package when getting value for resource number 0x3f080009
06-26 22:14:06.614 17888 17888 D AndroidRuntime: Shutting down VM
06-26 22:14:06.614 17888 17888 E AndroidRuntime: FATAL EXCEPTION: main
06-26 22:14:06.614 17888 17888 E AndroidRuntime: Process: org.lineageos.snap, PID: 17888
06-26 22:14:06.614 17888 17888 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.android.camera.app.CameraApp: android.content.res.Resources$NotFoundException: Resource ID #0x3f080009
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5774)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6525)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x3f080009
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:215)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.content.res.Resources.getInteger(Resources.java:1083)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.camera.util.CameraUtil.initialize(CameraUtil.java:247)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at com.android.camera.app.CameraApp.onCreate(CameraApp.java:47)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5771)
06-26 22:14:06.614 17888 17888 E AndroidRuntime: ... 8 more
06-26 22:14:06.616 470 2724 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:06.622 470 486 I ActivityManager: Showing crash dialog for package org.lineageos.snap u0
06-26 22:14:06.656 470 8663 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:06.661 470 8663 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.119 470 485 W ActivityManager: Activity pause timeout for ActivityRecord{3c30b0 u0 org.lineageos.snap/com.android.camera.CameraActivity t5012 f}
06-26 22:14:07.155 1519 8622 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:07.170 1519 8622 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.173 1430 1566 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
06-26 22:14:07.186 1430 1566 D vndksupport: Loading /vendor/lib/hw/gralloc.msm8974.so from current namespace instead of sphal namespace.
06-26 22:14:07.203 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:07.203 1430 1566 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-26 22:14:07.210 1519 1519 W StaticLayout: maxLineHeight should not be -1. maxLines:2 lineCount:2
06-26 22:14:07.237 470 2724 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraActivity
06-26 22:14:07.227 1519 1519 I chatty : uid=10040 com.google.android.googlequicksearchbox:search identical 6 lines
Inviato dal mio SM-G900F utilizzando Tapatalk
cinghio71 said:
Tested on klte + dotOS 2.3, does not work
No known package when getting value for resource number 0x3f080009
Click to expand...
Click to collapse
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
socialentry said:
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
Click to expand...
Click to collapse
G900F AEX v5.6 works like a charm ,test video record 720p/120fps slow motion ,perfect .
The Camera name changed to "enable" ,can you change to default name "Camera".
Thanks ! :good:
Edit :screenshot is set to 1080p ,just to show the active slow motion FPS .
Bosket said:
G900F AEX v5.6 works like a charm ,test video record 720p/120fps slow motion ,perfect .
The Camera name changed to "enable" ,can you change to default name "Camera".
Thanks ! :good:
Edit :screenshot is set to 1080p ,just to show the active slow motion FPS .
Click to expand...
Click to collapse
Awesome, does the High Speed work as well?
I'll look into that app name problem
Tested on lineage 15.1 klte build (SM-G900P model)
Everything works well, one bug i noticed was it doesn't work without flash, its not concerning but I'd like to point it out as a bug.
But I'd like to personally thank you so much for working on this mod as 60fps recording was one of the reasons I switched back and forth from AOSP to stock as I use this feature alot, I'm happy to know awesome devs like you are finally working on this, I wish you all the best with this project and I will keep testing and report back accordingly
rulex231 said:
Tested on lineage 15.1 klte build (SM-G900P model)
Everything works well, one bug i noticed was it doesn't work without flash, its not concerning but I'd like to point it out as a bug.
But I'd like to personally thank you so much for working on this mod as 60fps recording was one of the reasons I switched back and forth from AOSP to stock as I use this feature alot, I'm happy to know awesome devs like you are finally working on this, I wish you all the best with this project and I will keep testing and report back accordingly
Click to expand...
Click to collapse
Thank you!
With flash or without? I noticed it turned the torch off once recording starts, for now I made it so torch turns back on if it was set. New links in the OP. More changes are needed to properly switch into 60FPS after selecting it from the menu, that way the torch won't turn off.
socialentry said:
Awesome, does the High Speed work as well?
I'll look into that app name problem
Click to expand...
Click to collapse
Yes ,high speed work as well.
Camera name is not a problem ,just a suggestion.
socialentry said:
Ok, that error comes from a request to LineageOS 15.1 resources, I removed that request and recompiled it, try this version:
https://drive.google.com/file/d/1VVColk1q8D7_bM48QXo7hjDrB12pDolr/view?usp=sharing
Let me know if it works
Click to expand...
Click to collapse
Tested, works perfectly. Thanks.
Inviato dal mio SM-G900F utilizzando Tapatalk
Thanks, big biproject.
Does the front camera work?
I have not worked in my klte.
Using a KTLE S5. The front camera doesn't work instead the camera app crashes. Highspeed and Slow-mo both seemed to working great. Would love to see the front camera get fixed. Thanks
Delete
tomm1e said:
Thank you!
With flash or without? I noticed it turned the torch off once recording starts, for now I made it so torch turns back on if it was set. New links in the OP. More changes are needed to properly switch into 60FPS after selecting it from the menu, that way the torch won't turn off.
Click to expand...
Click to collapse
Installed it this morning, works great now thank you, even the front camera works regardless as well.
So, whats the difference between the LOS and Others?? What am asking is, which one should i install in example, Resurrection Remix?? Sorry if its a dumb question, i just thought since RR is based on LOS......
Also, what are the exact bugs?
Ano01 said:
So, whats the difference between the LOS and Others?? What am asking is, which one should i install in example, Resurrection Remix?? Sorry if its a dumb question, i just thought since RR is based on LOS......
Also, what are the exact bugs?
Click to expand...
Click to collapse
I'm not sure if RR uses lineageos resource names, if LOS doesn't work the Others one should work. Only difference in those LOS versions is that Snap requests a resource from LOS configuration during startup, specifically which hardware keys are present for the camera, like home/back/menu, those will crash if you are not on lineageos. Others just keep a default hardware key set so no crash should happen in any android. Future versions will just handle the error, it will go back to one release if it still works across all android builds.
Bugs? Nothing major, currently the flash/torch has to restart when switching into 60fps. Maybe there should be a preference to keep the camera displaying 60fps while recording or not, to save battery. Trying to rewrite the wrapper to do this currently. Some say their front camera isn't working but I think that is only for certain variants, I need their logs to see what's going on.
On my S5 G9008W (kltechnduo), with LOS 15.1, this just makes snap crash.

[T710/T715] LineageOS 15.1 (Experimental stuff)

These are my experimental builds. They are not pretend to be stable and have a lot of issues. Flash it if you know how to restore your tablet from brick. This stuff is not for daily usage. Just for testing and helping me to find bugs.
Feel free to write your feedback about builds.
I will upload roms for t710 and t715 only. Don't ask about t81x roms here please.
if you don't know how to flash recovery or flash rom, this topic is not for you.
compatible twrp:
T710: https://drive.google.com/open?id=1F-RA6OEXpWSJx2LgxsRKum2KoROGrIhd
T715: https://drive.google.com/open?id=1Icux5fPJqxDveYAjvMWASnfUpfWzO4xj
rom:
t710 only: https://drive.google.com/open?id=1-abtJDh5CbnC2ijCoAL8AdVHzP47hfCe
I'm trying to make compatibility with phh gsi builds., but for now I have error with composer. To run his builds is dirty hack: replace /system/lib/libsurcafeflinger*.so two libs from my working build.
sources:
http://github.com/bonuzzz
one more build for today
https://drive.google.com/open?id=1cIV5WN-VZUngamcNCQCNZfHS_BDIMO_W
this universal build for both models (t710 and t715)
modem stuff doesn't work here. I haven't included in config yet, but all sensors should work.
bonuzzz said:
one more build for today
https://drive.google.com/open?id=1cIV5WN-VZUngamcNCQCNZfHS_BDIMO_W
this universal build for both models (t710 and t715)
modem stuff doesn't work here. I haven't included in config yet, but all sensors should work.
Click to expand...
Click to collapse
Hello, thanks for those builds! I've been trying your lineage 15.1 ROM and I think everything is working there already. So I'll start testing these ones now... Is there something in particular you want me to logcat?
Sent from my Aquaris M5 using Tapatalk
So like these build are treble enabled? @ripee and @bonuzzz
mtnez.david said:
Hello, thanks for those builds! I've been trying your lineage 15.1 ROM and I think everything is working there already. So I'll start testing these ones now... Is there something in particular you want me to logcat?
Sent from my Aquaris M5 using Tapatalk
Click to expand...
Click to collapse
if you want something to test, there is new build https://drive.google.com/open?id=1Mu-XjXbskSXzft11onGL3mrY_I1llVKX
bonuzzz said:
if you want something to test, there is new build https://drive.google.com/open?id=1Mu-XjXbskSXzft11onGL3mrY_I1llVKX
Click to expand...
Click to collapse
Downloading again then
Sent from my Aquaris M5 using Tapatalk
mtnez.david said:
Downloading again then
Sent from my Aquaris M5 using Tapatalk
Click to expand...
Click to collapse
Hi, I am getting an error while trying to flash this rom... what does the script /tmp/install/bin/custom_t710.sh test?
mtnez.david said:
Hi, I am getting an error while trying to flash this rom... what does the script /tmp/install/bin/custom_t710.sh test?
Click to expand...
Click to collapse
no. it replaces some parameters in build.prop
will check later
bonuzzz said:
no. it replaces some parameters in build.prop
will check later
Click to expand...
Click to collapse
ok, so you are writing into the /system/build.prop my device atributes (model, device name, stuff ...). I guess you do that there in order to have same build for both t710 and t715, am i right?
---------- Post added at 01:10 PM ---------- Previous post was at 12:51 PM ----------
bonuzzz said:
no. it replaces some parameters in build.prop
will check later
Click to expand...
Click to collapse
So in this line:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys/' /system/build.prop
I suppose you're trying to replace the "ro.build.fingerprint=samsung/lineage ... " with "ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys" but I think sed can not understand that ... don't you have to scape the "/" stuff on your string there?
---------- Post added at 01:21 PM ---------- Previous post was at 01:10 PM ----------
in any case the '/' in the substituting expression crashes, I just tested it
Sent from my Aquaris M5 using Tapatalk
---------- Post added at 01:41 PM ---------- Previous post was at 01:21 PM ----------
mtnez.david said:
ok, so you are writing into the /system/build.prop my device atributes (model, device name, stuff ...). I guess you do that there in order to have same build for both t710 and t715, am i right?
---------- Post added at 01:10 PM ---------- Previous post was at 12:51 PM ----------
So in this line:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys/' /system/build.prop
I suppose you're trying to replace the "ro.build.fingerprint=samsung/lineage ... " with "ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys" but I think sed can not understand that ... don't you have to scape the "/" stuff on your string there?
---------- Post added at 01:21 PM ---------- Previous post was at 01:10 PM ----------
in any case the '/' in the substituting expression crashes, I just tested it
Sent from my Aquaris M5 using Tapatalk
Click to expand...
Click to collapse
So this works:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung\/gts28wifixx\/gts28wifi:7.0\/NRD90M\/T710XXU2DRB1:user\/release-keys/' /system/build.prop
sed -i 's/.*ro.vendor.build.fingerprint.*/ro.build.fingerprint=samsung\/gts28wifixx\/gts28wifi:7.0\/NRD90M\/T710XXU2DRB1:user\/release-keys/' /system/vendor/build.prop
mtnez.david said:
ok, so you are writing into the /system/build.prop my device atributes (model, device name, stuff ...). I guess you do that there in order to have same build for both t710 and t715, am i right?
Yes. You're right.
---------- Post added at 01:10 PM ---------- Previous post was at 12:51 PM ----------
So in this line:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys/' /system/build.prop
I suppose you're trying to replace the "ro.build.fingerprint=samsung/lineage ... " with "ro.build.fingerprint=samsung/gts28wifixx/gts28wifi:7.0/NRD90M/T710XXU2DRB1:user/release-keys" but I think sed can not understand that ... don't you have to scape the "/" stuff on your string there?
---------- Post added at 01:21 PM ---------- Previous post was at 01:10 PM ----------
in any case the '/' in the substituting expression crashes, I just tested it
Sent from my Aquaris M5 using Tapatalk
---------- Post added at 01:41 PM ---------- Previous post was at 01:21 PM ----------
So this works:
sed -i 's/.*ro.build.fingerprint.*/ro.build.fingerprint=samsung\/gts28wifixx\/gts28wifi:7.0\/NRD90M\/T710XXU2DRB1:user\/release-keys/' /system/build.prop
sed -i 's/.*ro.vendor.build.fingerprint.*/ro.build.fingerprint=samsung\/gts28wifixx\/gts28wifi:7.0\/NRD90M\/T710XXU2DRB1:user\/release-keys/' /system/vendor/build.prop
Click to expand...
Click to collapse
I haven't checked this script on t710 yet. Working mostly on t715 tablet. Thanks for fix.
bonuzzz said:
I haven't checked this script on t710 yet. Working mostly on t715 tablet. Thanks for fix.
Click to expand...
Click to collapse
You're welcome, that's what this thread is about ... :good:
new build with fixed install script for t710 and some more things. one issue with lock screen (mobicore/keystore stuff) left. at least what I know
https://drive.google.com/open?id=1Uk3YISTssJ9h2-C8-K-XwlpGP3tpyMnk
Ok, im installing it real quick
bonuzzz said:
new build with fixed install script for t710 and some more things. one issue with lock screen (mobicore/keystore stuff) left. at least what I know
https://drive.google.com/open?id=1Uk3YISTssJ9h2-C8-K-XwlpGP3tpyMnk
Click to expand...
Click to collapse
Enviado desde mi Aquaris M5 mediante Tapatalk
---------- Post added at 10:46 PM ---------- Previous post was at 10:02 PM ----------
fingerprint settings is crashing:
Code:
08-04 00:50:45.441 7591 7591 E AndroidRuntime: FATAL EXCEPTION: main
08-04 00:50:45.441 7591 7591 E AndroidRuntime: Process: com.android.settings, PID: 7591
08-04 00:50:45.441 7591 7591 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=android:fragment:0, request=100, result=-1, data=null} to activity {com.android.settings/com.android.settings.password.ChooseLockGeneric}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4268)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.handleSendResult(ActivityThread.java:4312)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.-wrap19(Unknown Source:0)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at com.android.settings.password.ChooseLockGeneric$ChooseLockGenericFragment.onActivityResult(ChooseLockGeneric.java:344)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.Activity.dispatchActivityResult(Activity.java:7303)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4264)
08-04 00:50:45.441 7591 7591 E AndroidRuntime: ... 9 more
08-04 00:50:45.448 3604 4687 W ActivityManager: Force finishing activity com.android.settings/.password.ChooseLockGeneric
08-04 00:50:45.458 3604 4687 W ActivityManager: Force finishing activity com.android.settings/.fingerprint.FingerprintEnrollIntroduction
08-04 00:50:45.466 3604 3620 I ActivityManager: Showing crash dialog for package com.android.settings u0
---------- Post added at 10:59 PM ---------- Previous post was at 10:46 PM ----------
screen lock as well:
Code:
08-04 00:57:44.415 4955 4955 D SubSettings: Launching fragment com.android.settings.password.ChooseLockGeneric$ChooseLockGenericFragment
08-04 00:57:44.423 3594 3786 I ActivityManager: START u0 {cmp=com.android.settings/.password.ConfirmLockPattern$InternalActivity (has extras)} from uid 1000
08-04 00:57:44.457 4955 5043 W TileUtils: Found com.android.settings.backup.BackupSettingsActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
08-04 00:57:44.460 4955 5043 W TileUtils: Found org.lineageos.lineageparts.trust.TrustPreferences for intent Intent { act=org.lineageos.lineageparts.action.SETTINGS pkg=org.lineageos.lineageparts } missing metadata
08-04 00:57:44.474 4955 4979 D mali_winsys: EGLint new_window_surface(egl_winsys_display*, void*, EGLSurface, EGLConfig, egl_winsys_surface**, egl_color_buffer_format*, EGLBoolean) returns 0x3000, [1536x2048]-format:1
08-04 00:57:44.474 4955 4955 E RecyclerView: No adapter attached; skipping layout
08-04 00:57:44.476 4955 5044 D Settings: No enabled state changed, skipping updateCategory call
08-04 00:57:44.643 4955 4955 D AndroidRuntime: Shutting down VM
--------- beginning of crash
08-04 00:57:44.643 4955 4955 E AndroidRuntime: FATAL EXCEPTION: main
08-04 00:57:44.643 4955 4955 E AndroidRuntime: Process: com.android.settings, PID: 4955
08-04 00:57:44.643 4955 4955 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=android:fragment:0, request=100, result=-1, data=null} to activity {com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4268)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.handleSendResult(ActivityThread.java:4312)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.-wrap19(Unknown Source:0)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1644)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6494)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getStringExtra(java.lang.String)' on a null object reference
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at com.android.settings.password.ChooseLockGeneric$ChooseLockGenericFragment.onActivityResult(ChooseLockGeneric.java:344)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.Activity.dispatchActivityResult(Activity.java:7303)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: at android.app.ActivityThread.deliverResults(ActivityThread.java:4264)
08-04 00:57:44.643 4955 4955 E AndroidRuntime: ... 9 more
08-04 00:57:44.647 3594 3786 W ActivityManager: Force finishing activity com.android.settings/.SubSettings
08-04 00:57:44.651 3594 3786 W ActivityManager: Force finishing activity com.android.settings/.Settings$SecuritySettingsActivity
08-04 00:57:44.661 3594 3610 I ActivityManager: Showing crash dialog for package com.android.settings u0
@mtnez.david I said about it in previous message
I confirm it then. I'll see if I find something else
Enviado desde mi Aquaris M5 mediante Tapatalk
today's build
https://drive.google.com/open?id=1yJQ8Pu1VnZddFr7YMeX9n7NQ_M5DkBE6
I haven't got any crash today in today's build, I've been installing apps, not games, all seem to work properly. I could install nexflix from play store but I got the apk and it works fine.
Is there something specific that is supposed not to work?
Sent from my Aquaris M5 using Tapatalk
@mtnez.david no. everything should work
Is it supposed to be treble enabled?
Sent from my SM-T710 using Tapatalk
@mtnez.david no, only build in first post was treble enabled. I have broken camera and I don't want to upload new builds until I fix it. But I'm not even sure I will fix it.

Categories

Resources