Related
Hello,
I would like to ask this question in superSU thread but i am not allowed to post there and it redirects me to this general forum section.
Here is the whole process, which makes me think that it is about superSU.
i have nexus 5 with 4.4.4 which is installed by flashing *.img files directly from recovery and only software i used to do this was adb.exe. Later i used superUS's CF-Auto-Root-hammerhead-hammerhead-nexus5.zip file to root. And i didn't set up any google account, just got catlog app from here and start to read it. At first boot of device, there was no error, nothing in catlog file like below and i didn't feel anything about error while using device. But at second reboot and later on "in this time i just granted su rights to catlog when superSU prompted" i saw this fatal errors in log cat file. These errors happen just after i type sim card's password and it happens in seconds, you feel this just a tiny freezing when you want to browse home to app section but later on, i guess this fatal errors caused all random reboots, i have. Do you have any idea? Please let me know, you may see log cat below, thank you.
Code:
07-27 01:06:14.865 I/ActivityManager(821): Start proc com.android.systemui for service com.android.keyguard/.KeyguardService: pid=891 uid=10012 gids={50012, 1028, 1015, 1035, 3002, 3001}
07-27 01:06:14.885 F/SystemServer(821): BOOT FAILURE making Package Manager Service ready
07-27 01:06:14.885 F/SystemServer(821): java.lang.SecurityException: Unable to find app for caller [email protected] (pid=821) when registering receiver [email protected]
07-27 01:06:14.885 F/SystemServer(821): at com.android.server.am.ActivityManagerService.registerReceiver(ActivityManagerService.java:13021)
07-27 01:06:14.885 F/SystemServer(821): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1450)
07-27 01:06:14.885 F/SystemServer(821): at android.app.ContextImpl.registerReceiverAsUser(ContextImpl.java:1425)
07-27 01:06:14.885 F/SystemServer(821): at com.android.internal.content.PackageMonitor.register(PackageMonitor.java:84)
07-27 01:06:14.885 F/SystemServer(821): at com.android.server.pm.UserManagerService.systemReady(UserManagerService.java:237)
07-27 01:06:14.885 F/SystemServer(821): at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:10476)
07-27 01:06:14.885 F/SystemServer(821): at com.android.server.ServerThread.initAndLoop(SystemServer.java:893)
07-27 01:06:14.885 F/SystemServer(821): at com.android.server.SystemServer.main(SystemServer.java:1179)
07-27 01:06:14.885 F/SystemServer(821): at java.lang.reflect.Method.invokeNative(Native Method)
07-27 01:06:14.885 F/SystemServer(821): at java.lang.reflect.Method.invoke(Method.java:515)
07-27 01:06:14.885 F/SystemServer(821): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
07-27 01:06:14.885 F/SystemServer(821): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
07-27 01:06:14.885 F/SystemServer(821): at dalvik.system.NativeStart.main(Native Method)
07-27 01:06:14.885 W/SystemServer(821): ***********************************************
07-27 01:06:14.905 I/AppOps (821): Pruning old package media/1013: new uid=-1
07-27 01:06:14.905 I/ActivityManager(821): System now ready
Hello,
Tonight i installed 4.4.4. Release 2 and the result was same like 4.4.4 and error happened again with random reboots.
Later i installer Android L and rooted with superSU and get log cat, the above error was not there anymore but there were another errors, and after whole google update error stayed there and caused random reboots again. Log cats below..
Code:
07-27 04:08:45.218 W/Adreno-GSL(2203): <ioctl_kgsl_device_getproperty:663>: mmap failed: errno 22 Invalid argument
07-27 04:08:45.218 I/Adreno-EGL(2203): <qeglDrvAPI_eglInitialize:320>: EGL 1.4 QUALCOMM Build: I10246dbd022c719c705be805d5642cc8fdfbd2a2Date: 03/07/14
07-27 04:08:45.219 I/CanvasContext(2203): Initialized EGL, version 1.4
07-27 04:08:45.238 D/OpenGLRenderer(2203): Enabling debug mode 0
07-27 04:08:45.246 I/art (2261): Heap transition to ProcessStateJankImperceptible took 16.842864ms saved at least 761KB
07-27 04:08:45.305 E/libsigchain(2834): Unable to find next sigaction in signal chain
07-27 04:08:45.305 F/libc (2834): Fatal signal 6 (SIGABRT), code -6 in tid 2834 (main)
07-27 04:08:45.317 I/am_activity_launch_time(793): [0,681945986,eu.chainfire.supersu/.PromptActivity,234,234]
07-27 04:08:45.318 I/ActivityManager(793): Displayed eu.chainfire.supersu/.PromptActivity: +234ms
07-27 04:08:45.412 I/DEBUG (188): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-27 04:08:45.412 I/DEBUG (188): Build fingerprint: 'google/hammerhead/hammerhead:L/LPV79/1236599:user/release-keys'
07-27 04:08:45.412 I/DEBUG (188): Revision: '11'
07-27 04:08:45.412 I/DEBUG (188): pid: 2834, tid: 2834, name: main >>> app_process <<<
07-27 04:08:45.412 I/DEBUG (188): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-27 04:08:45.412 W/NativeCrashListener(793): Couldn't find ProcessRecord for pid 2834
07-27 04:08:45.441 I/DEBUG (188): r0 00000000 r1 00000b12 r2 00000006 r3 00000000
07-27 04:08:45.441 I/DEBUG (188): AM write failure (32 / Broken pipe)
07-27 04:08:45.441 I/DEBUG (188): r4 00000006 r5 00000000 r6 00000b12 r7 0000010c
07-27 04:08:45.441 I/DEBUG (188): r8 b6e31000 r9 000000cd sl 0000000c fp 000000cc
07-27 04:08:45.441 I/DEBUG (188): ip 0000000b sp be8066c0 lr b6d10371 pc b6d330d0 cpsr 000f0010
07-27 04:08:45.441 I/DEBUG (188): d0 ffffffffffffffff d1 ffffffffffffffff
07-27 04:08:45.441 I/DEBUG (188): d2 0000000000000000 d3 0000000000000000
07-27 04:08:45.441 I/DEBUG (188): d4 00740061004e002e d5 0041006500760069
Code:
07-27 04:44:08.076 D/GCM (1286): GcmService start Intent { act=com.google.android.gms.INITIALIZE flg=0x10 pkg=com.google.android.gms cmp=com.google.android.gms/.gcm.GcmService } com.google.android.gms.INITIALIZE
07-27 04:44:08.076 I/am_create_service(819): [0,84197316,.InitializeIntentService,10009,1315]
07-27 04:44:08.106 I/am_destroy_service(819): [0,84197316,1315]
07-27 04:44:08.230 D/AndroidRuntime(2904): Shutting down VM
07-27 04:44:08.275 I/am_create_service(819): [0,722177709,.CalendarProviderIntentService,10001,2450]
07-27 04:44:08.339 D/AndroidRuntime(2953): Shutting down VM
07-27 04:44:08.402 I/am_destroy_service(819): [0,722177709,2450]
07-27 04:44:08.442 E/libsigchain(2904): Unable to find next sigaction in signal chain
07-27 04:44:08.442 F/libc (2904): Fatal signal 6 (SIGABRT), code -6 in tid 2904 (main)
07-27 04:44:08.467 D/AndroidRuntime(2978): Shutting down VM
07-27 04:44:08.471 I/am_destroy_service(819): [0,537148119,1315]
07-27 04:44:08.488 I/am_create_service(819): [0,25537999,.IndexWorkerService,10009,1315]
07-27 04:44:08.549 D/AndroidRuntime(2993): Shutting down VM
07-27 04:44:08.550 E/libsigchain(2953): Unable to find next sigaction in signal chain
07-27 04:44:08.550 F/libc (2953): Fatal signal 6 (SIGABRT), code -6 in tid 2953 (main)
07-27 04:44:08.554 I/DEBUG (182): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-27 04:44:08.554 I/DEBUG (182): Build fingerprint: 'google/hammerhead/hammerhead:L/LPV79/1236599:user/release-keys'
07-27 04:44:08.554 I/DEBUG (182): Revision: '11'
07-27 04:44:08.555 I/DEBUG (182): pid: 2904, tid: 2904, name: main >>> app_process <<<
07-27 04:44:08.555 I/DEBUG (182): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-27 04:44:08.564 W/NativeCrashListener(819): Couldn't find ProcessRecord for pid 2904
07-27 04:44:08.602 I/am_create_service(819): [0,502940508,.AutoCacheSchedulingService,10057,2778]
07-27 04:44:08.606 I/am_destroy_service(819): [0,25537999,1315]
07-27 04:44:08.607 I/DEBUG (182): r0 00000000 r1 00000b58 r2 00000006 r3 00000000
07-27 04:44:08.607 I/DEBUG (182): AM write failure (32 / Broken pipe)
07-27 04:44:08.607 I/DEBUG (182): r4 00000006 r5 00000000 r6 00000b58 r7 0000010c
07-27 04:44:08.607 I/DEBUG (182): r8 b6e0f000 r9 000000cd sl 0000000c fp 000000cc
07-27 04:44:08.607 I/DEBUG (182): ip 0000000b sp bec736c0 lr b6cee371 pc b6d110d0 cpsr 000f0010
07-27 04:44:08.607 I/DEBUG (182): d0 ffffffffffffffff d1 ffffffffffffffff
07-27 04:44:08.607 I/DEBUG (182): d2 0000000000000000 d3 0000000000000000
07-27 04:44:08.607 I/DEBUG (182): d4 00740061004e002e d5 0041006500760069
07-27 04:44:08.607 I/DEBUG (182): d6 0073006500630063 d7 0063006500520073
Hello,
I followed log cat closely, this fatal signal 6 and followed long debug log only happens when an application interacts with superSU expacially when it asks for root access, meaning after first install on default access promt window and after every fresh starting and closing with toast notifications.
This happens on Android L and i am not sure if same thing happens in 4.4.4 by "BOOT FAILURE making Package Manager Service ready" error?
Please somebody let @Chainfire know this issue or bug (not sure), this is my 3 messages on this forum, i cant post this on superSU subforum.
Regards
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
CHANGELOG:
Code:
[CENTER]
2015-10-06:
Initial Release[/CENTER]
DOWNLOADS:
AOSP Release 2
KNOWN BUGS:
Code:
[CENTER]
* You tell me[/CENTER]
Gapps:
OpenGapps 6.0
Reserved for beta purposes!
Is selinux set to permissive in your kernel? If so, I'm going to give this a shot now
mad_fitter said:
Is selinux set to permissive in your kernel? If so, I'm going to give this a shot now
Click to expand...
Click to collapse
I'm using stock pre-built kernel provided by Google, so it should be enforced. Thought, I don't see necessary to have a permissive kernel atm. If someone is interested into do it, they have public sources and I would have no problem to link it on the OP.
Cheers!
in screenshot I see OLD homescreen icons and google search widget. Maybe you uploaded the wrong image?
ghanipradita said:
in screenshot I see OLD homescreen icons and google search widget. Maybe you uploaded the wrong image?
Click to expand...
Click to collapse
This is what comes with AOSP. I did not share any wrong screenshot.
Thought, next build that is coming soon includes a newer icon for Dialer app. I will be deleting unused stuff these days, and change old icons, but not today, I'm tired.
Nice work, I was going to build this but my laziness stopped me. Oh well, time to test then
Yeah, let's the play begin! I will wait for new version with new dialer icon
I had 2 issues. AOSP keyboard will not work. Also, tried to download a different gapps package, but the browser crashed every time the download started. Looks awesome though. Can't wait for 6.x gapps are available too.
mad_fitter said:
I had 2 issues. AOSP keyboard will not work. Also, tried to download a different gapps package, but the browser crashed every time the download started. Looks awesome though. Can't wait for 6.x gapps are available too.
Click to expand...
Click to collapse
Seems the browser error is coming also from Android 5.0 Lollipop release, so I guess I will have to replace it.
About keyboard I did not try, the stock one works good for me.
I will do Gapps tomorrow, I wish.
How are performance on aosp 6.0? I was thinking about switching to an aosp based ROM but I don't have time to test it... Anyone tried?
Sent from my Nexus 5 using Tapatalk
anyone have working GApps? i've tried latest PA-GApps & Open GApps (5.1.1) none of both working
@herna
Nice to see u again!
kancrutt said:
anyone have working GApps? i've tried latest PA-GApps & Open GApps (5.1.1) none of both working
Click to expand...
Click to collapse
You have to wait for real 6.0 GApps.
If you have patience for a few days, later this week official pre-built 6.0 GApps will be available on opengapps.org.
If you have NO patience, you can download our sources and already build them yourself (though I cannot guarantee you they would give you a 100% error-less working installation yet)
Hello guys! We've got root!
@Chainfire has released a new SuperSU build, 2.50, which is compatible with Android Marshmallow.
If you want to root your phone you'll need just to follow the steps provided in the below thread.
http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344
With all of the information there you'll have your custom AOSP rooted.
Enviado desde mi JY-S3 mediante Tapatalk
@herna Can you post the AOSP keyboard's apk built from the lastest sources?
For those that want to keep using stock kernel & have root access on Marshmallow 6.0;
You have to flash modified boot.img by Chainfire
http://forum.xda-developers.com/apps/supersu/wip-android-6-0-marshmellow-t3219344
Then flash SuperSU 2.50 Beta
http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Done!
So what is the best way to get any kind of pico-gapps on to this AOSP ROM? Waiting for OpenGapps? Or is there any other way?
regards, mistersixt.
Here is a 6.0 BETA Open GApps Pico. It includes as an experiment Google's configupdater. So please report back if there are any issues arising from that.
Here is an ALPHA version of Open GApps Stock package for 6.0, which contains new apps like the new Google Calculator, and under the hood Google's new package installer. But it also includes e.g. Google Dialer and Contacts, because we are very curious if these would work on AOSP 6.0 ROMs.
You really MUST back-up your system before trying this version, please report back all issues or success.
Hi,
I get contantly "Unfortunately, Setup Wizard has stopped" ... and I cannot get through this error message, when pressing "OK" that error popup shows up again straight away .
Reagrds, mistersixt.
Logcat is showing:
Code:
10-08 14:18:02.826 4484 4484 W System : ClassLoader referenced unknown path: /system/priv-app/SetupWizard/lib/arm
10-08 14:18:02.840 4484 4484 D AndroidRuntime: Shutting down VM
10-08 14:18:02.840 4484 4484 E AndroidRuntime: FATAL EXCEPTION: main
10-08 14:18:02.840 4484 4484 E AndroidRuntime: Process: com.google.android.setupwizard, PID: 4484
10-08 14:18:02.840 4484 4484 E AndroidRuntime: java.lang.RuntimeException: Unable to create application com.google.android.setupwizard.SetupWizardApplication: java.lang.SecurityException: addOnSubscriptionsChangedListener: Neither user 10058 nor current process has android.permission.READ_PHONE_STATE.
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4710)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.app.ActivityThread.-wrap1(ActivityThread.java)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: Caused by: java.lang.SecurityException: addOnSubscriptionsChangedListener: Neither user 10058 nor current process has android.permission.READ_PHONE_STATE.
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1599)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1552)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at com.android.internal.telephony.ITelephonyRegistry$Stub$Proxy.addOnSubscriptionsChangedListener(ITelephonyRegistry.java:500)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.telephony.SubscriptionManager.addOnSubscriptionsChangedListener(SubscriptionManager.java:424)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at com.google.android.setupwizard.carrier.PhoneMonitor.<init>(PhoneMonitor.java:509)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at com.google.android.setupwizard.carrier.PhoneMonitor.initInstance(PhoneMonitor.java:70)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at com.google.android.setupwizard.SetupWizardApplication.onCreate(SetupWizardApplication.java:27)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
10-08 14:18:02.840 4484 4484 E AndroidRuntime: ... 8 more
10-08 14:18:02.842 804 978 W ActivityManager: Force finishing activity com.google.android.setupwizard/.SetupWizardActivity
10-08 14:18:02.882 804 1391 I OpenGLRenderer: Initialized EGL, version 1.4
MastahF said:
Here is a 6.0 BETA Open GApps Pico. It includes as an experiment Google's configupdater. So please report back if there are any issues arising from that.
Click to expand...
Click to collapse
Background:
I created a script that pretty much factory resets the phone and starts deleting apps from system/app and system/priv-app.
My problem pretty much is that when I try to add those apps back
When I add them via another flashable zip and I reboot, the apps don't start up and start crashing upon trying to open them up
I extracted the whole folder located in system/priv-app from the system.img of a previous firmware version
When I extract the folder of my current firmware version, it works. Which makes me believe that these apps are firmware specific?
The only problem is that I am trying to share these zips with other people and since they have different firmware versions (usually due to some carriers taking longer to release firmware or stuff like that)
Problem:
Anyway, here's the deal (I will use Samsung's Gallery app as an example). I have this script to add the Samsung Gallery's app:
Code:
ui_print ("Let's begin, mounting /system...");
run_program("/sbin/busybox","mount", "/system");
ui_print ("Extracting necessary files...");
package_extract_dir("system", "/system");
ui_print ("Setting necessary permission...");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015/oat");
set_perm(0, 0, 0755, "/system/priv-app/SecGallery2015/oat/arm");
set_perm(0, 0, 0644, "/system/priv-app/SecGallery2015/oat/arm/SecGallery2015.odex");
ui_print ("Done, unmounting /system...");
run_program("/sbin/busybox", "umount", "/system");
But it doesn't work. I see that the app is added in the app drawer, but opening it up crashes it and closes it.
Here is the section of the logcat that is showing me what's wrong, maybe it'll show more clearly what the problem is (I have NO idea how to read logcats or even debug them :crying: )
Code:
01-25 16:04:00.297 4321 4321 E AndroidRuntime: FATAL EXCEPTION: main
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Process: com.sec.android.gallery3d, PID: 4321
01-25 16:04:00.297 4321 4321 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.sec.android.gallery3d.app.GalleryAppImpl: java.lang.ClassNotFoundException: Didn't find class "com.sec.android.gallery3d.app.GalleryAppImpl" on path: DexPathList[[zip file "/system/framework/secvision.jar", zip file "/system/framework/allshare.jar", zip file "/system/framework/com.google.android.media.effects.jar", zip file "/system/framework/saiv.jar", zip file "/system/framework/secimaging.jar", zip file "/system/framework/twframework.jar", zip file "/system/framework/com.google.android.maps.jar", zip file "/system/framework/sechardware.jar", zip file "/system/priv-app/SecGallery2015/SecGallery2015.apk"],nativeLibraryDirectories=[/system/priv-app/SecGallery2015/lib/arm, /vendor/lib, /system/lib]]
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:680)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6469)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:229)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1887)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7406)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sec.android.gallery3d.app.GalleryAppImpl" on path: DexPathList[[zip file "/system/framework/secvision.jar", zip file "/system/framework/allshare.jar", zip file "/system/framework/com.google.android.media.effects.jar", zip file "/system/framework/saiv.jar", zip file "/system/framework/secimaging.jar", zip file "/system/framework/twframework.jar", zip file "/system/framework/com.google.android.maps.jar", zip file "/system/framework/sechardware.jar", zip file "/system/priv-app/SecGallery2015/SecGallery2015.apk"],nativeLibraryDirectories=[/system/priv-app/SecGallery2015/lib/arm, /vendor/lib, /system/lib]]
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.Instrumentation.newApplication(Instrumentation.java:1005)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:670)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 9 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Suppressed: java.io.IOException: No original dex files found for dex location (arm) /system/priv-app/SecGallery2015/SecGallery2015.apk ()
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.openDexFileNative(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.openDexFile(DexFile.java:295)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:80)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:59)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.DexPathList.<init>(DexPathList.java:120)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:86)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:47)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.getClassLoader(LoadedApk.java:438)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:663)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 9 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Suppressed: java.lang.ClassNotFoundException: com.sec.android.gallery3d.app.GalleryAppImpl
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.Class.classForName(Native Method)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
01-25 16:04:00.297 4321 4321 E AndroidRuntime: ... 12 more
01-25 16:04:00.297 4321 4321 E AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
01-25 16:04:00.297 823 2839 D InputDispatcher: Focused application set to: xxxx
01-25 16:04:00.297 823 2839 D ActivityTrigger: ActivityTrigger activityPauseTrigger
01-25 16:04:00.297 823 2839 W ActivityManager: Force finishing activity com.sec.android.gallery3d/.app.GalleryOpaqueActivity
Any help is appreciated
I am having issues with custom rom that i built using lineage-15.1. My device is sanders. The camera is not working. The camera 2 app disappears soon after booting after installation. I installed open camera and it says camera is in use.
I got the logcats and i see this error -
02-12 10:46:44.252 760 760 F DEBUG : Abort message: 'CANNOT LINK EXECUTABLE "/system/vendor/bin/mm-qcamera-daemon": cannot locate symbol "_Z35eglQueryStringImplementationANDROIDPvi" referenced by "/system/vendor/lib/libguy.so"...'
I ran the nm command on the libguy.so and I find an undefined symbol there. I searched and found a shim that has this very symbol - libshim_camera_hal.so, I also found source files for this and found the function in device/motorola/sanders/libshims/camera_hal.cpp
I checked the shim file on the device, the shim file is present in /system/lib64 and /system/lib folders. libguy.so is in /system/vendor/lib and is 32bit.
Is this an LD_LIBRARY_PATH issue?
What can i do to fix this issue.
doors666 said:
I am having issues with custom rom that i built using lineage-15.1. My device is sanders. The camera is not working. The camera 2 app disappears soon after booting after installation. I installed open camera and it says camera is in use...
Click to expand...
Click to collapse
I don't have this device but, the following threads, that's device specific, may be helpful for what you are looking for and don't be afraid to ask for some member guidance within one of them.
https://forum.xda-developers.com/showthread.php?t=3722844
https://forum.xda-developers.com/showthread.php?t=3708082
https://forum.xda-developers.com/showthread.php?t=3708997
If all else fails, try posting your question within the following thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=3593531
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
are you building that lib shims?
in libshims/Android.mk
and in device.mk
Refer to this tree: https://github.com/Keertesh19/device_motorola_sanders
yes I am building that. the files do have slight differences though as I took the device,vendor,kernel from validus links. I also downloaded the validus tree using the manifest and built it and i get the same issue there also. but its not there in the latest published rom.
I still have this issue, tried a lot of things, but still no fix.
I downloaded the latest validus published ROM build and that works fine, no issues with the camera.
I synced the validus repo using the manifest file and made a build, camera does not work.
Steps -
repo sync with validus manifest.
lunch validus_sanders-userdebug
brunch sanders
clean install.
Am I missing some step here? One thing that bothered me is that brunch works fine, but make fails. The error (I think it was about java doc, it asks me to run make update-api, that also fails.
I extracted both the ROMs and did a compare on both ramdisk and /system, no significant difference that could cause this.
I extracted the shims from good rom and copied it onto the phone which had my built rom and it still did not work.
I tried fedora (26 and 27) and ubuntu (17.10 and 16.04 LTS) to make build, no difference.
I modified the initrc and modified the LD_SHIM_LIBS to include the full path for the shims, still does not work.
This is the error that I get in the logs -
03-02 09:32:31.853 2558 2558 I init : type=1400 audit(0.0:520): avc: denied { execute_no_trans } for uid=1006 path="/system/vendor/bin/mm-qcamera-daemon" dev="mmcblk0p53" ino=2817 scontext=u:r:init:s0 tcontext=ubject_r:vendor_file:s0 tclass=file permissive=1
03-02 09:32:31.924 2558 2558 F libc : CANNOT LINK EXECUTABLE "/system/vendor/bin/mm-qcamera-daemon": cannot locate symbol "_Z35eglQueryStringImplementationANDROIDPvi" referenced by "/system/vendor/lib/libguy.so"...
03-02 09:32:31.924 2558 2558 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2558 (mm-qcamera-daem), pid 2558 (mm-qcamera-daem)
03-02 09:32:31.939 2561 2561 E cutils-trace: Error opening trace file: No such file or directory (2)
03-02 09:32:31.936 2562 2562 I crash_dump32: type=1400 audit(0.0:521): avc: denied { ptrace } for uid=1006 scontext=u:r:crash_dump:s0 tcontext=u:r:init:s0 tclass=process permissive=1
03-02 09:32:31.945 2562 2562 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
03-02 09:32:31.946 691 691 I /system/bin/tombstoned: received crash request for pid 2558
03-02 09:32:31.947 2562 2562 I crash_dump32: performing dump of process 2558 (target tid = 2558)
03-02 09:32:31.947 2562 2562 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-02 09:32:31.947 2562 2562 F DEBUG : Build fingerprint: 'google/walleye/walleye:8.1.0/OPM1.171019.011/4448085:user/release-keys'
03-02 09:32:31.947 2562 2562 F DEBUG : Revision: '0'
03-02 09:32:31.947 2562 2562 F DEBUG : ABI: 'arm'
03-02 09:32:31.947 2562 2562 F DEBUG : pid: 2558, tid: 2558, name: mm-qcamera-daem >>> /system/vendor/bin/mm-qcamera-daemon <<<
03-02 09:32:31.947 2562 2562 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
03-02 09:32:31.948 2562 2562 F DEBUG : Abort message: 'CANNOT LINK EXECUTABLE "/system/vendor/bin/mm-qcamera-daemon": cannot locate symbol "_Z35eglQueryStringImplementationANDROIDPvi" referenced by "/system/vendor/lib/libguy.so"...'
03-02 09:32:31.948 2562 2562 F DEBUG : r0 00000000 r1 000009fe r2 00000006 r3 00000008
03-02 09:32:31.948 2562 2562 F DEBUG : r4 000009fe r5 000009fe r6 ff8a460c r7 0000010c
03-02 09:32:31.949 2562 2562 F DEBUG : r8 00000000 r9 ed86e010 sl 00000000 fp ff8a58a4
03-02 09:32:31.949 2562 2562 F DEBUG : ip ff8a4630 sp ff8a45f8 lr ed907309 pc ed905808 cpsr 200f0030
03-02 09:32:31.950 2562 2562 F DEBUG :
03-02 09:32:31.950 2562 2562 F DEBUG : backtrace:
03-02 09:32:31.950 2562 2562 F DEBUG : #00 pc 0005f808 /system/bin/linker (__dl_abort+63)
03-02 09:32:31.950 2562 2562 F DEBUG : #01 pc 00010931 /system/bin/linker (__dl___linker_init+2820)
03-02 09:32:31.950 2562 2562 F DEBUG : #02 pc 000156a4 /system/bin/linker (_start+4)
the latest changes to the device tree seems to have fixed this issue. thanx guys. though would love to know what was causing this issue.
I have been having this issue with my S10 5G magisk rooted and edxposed running.
The problem is when I install a new app, my other apps fail to read any of their private data. When I chmod -R 777 /data they can read their data again.
I am not sure if this is EdXposed or what, other than its really annoying. I am begging anyone for help with this.
@elesbb
Device ID ( often refered to as Android ID ) is generated when you boot your Android phone first time and will be there forever. When you format everything and factory reset your device then this device ID is overwritten and re-generated and stored again. Similarly, if you ever install a new ROM on your Android device, then this device ID will be overwritten and re-generated when you boot the device first time.
Have never heard or read it that Magisk or EdXposed changes device's Device ID. And even then a change of Device ID is guaranteed to have nothing to do with file/folders and/or user permissions.
jwoegerbauer said:
@elesbb
Device ID ( often refered to as Android ID ) is generated when you boot your Android phone first time and will be there forever. When you format everything and factory reset your device then this device ID is overwritten and re-generated and stored again. Similarly, if you ever install a new ROM on your Android device, then this device ID will be overwritten and re-generated when you boot the device first time.
Have never heard or read it that Magisk or EdXposed changes device's Device ID. And even then a change of Device ID is guaranteed to have nothing to do with file/folders and/or user permissions.
Click to expand...
Click to collapse
Yes, this is what my exact understanding of this was as well.
What I discovered though, was each install of an application now cycles the "Device ID". And apps should not rely on the "Device ID/Android ID" as a forms of security for things like encryption, etc. This is coming from this here: https://android-developers.googleblog.com/2017/04/changes-to-device-identifiers-in.html
All I know is when I update my xposed module (being the course of debugging), I would then reboot the device. It does the "android is starting" prompt as if it was a fresh wipe of the device. All my data is still there. The system apps loose their settings though. The apps are there and all of its data. However, if I try to launch an app, it immediately force closes. Here is a logcat snippet of the Facebook, and textra app.
Facebook
Code:
11-23 14:33:40.830 14391 14391 W ContextImpl: Failed to ensure /data/user_de/0/com.facebook.lite/code_cache: mkdir failed: EACCES (Permission denied)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: FATAL EXCEPTION: main
11-23 14:33:40.950 14391 14391 E AndroidRuntime: Process: com.facebook.lite, PID: 14391
11-23 14:33:40.950 14391 14391 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.facebook.lite.ClientApplicationSplittedShell: java.lang.IllegalArgumentException: Optimized data directory /data/user/0/com.facebook.lite/dex is not owned by the current user. Shared storage cannot protect your application from code injection attacks.
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:1296)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.ActivityThread.handleMakeApplication(ActivityThread.java:7152)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7134)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at com.swift.sandhook.SandHook.callOriginMethod(SandHook.java:185)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at com.swift.sandhook.xposedcompat.hookstub.HookStubManager.hookBridge(HookStubManager.java:376)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at SandHookerNew_5sm3dthec8858ee0to4kj3c1ge.hook(Unknown Source:51)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.ActivityThread.access$1600(ActivityThread.java:274)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2102)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:107)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.os.Looper.loop(Looper.java:237)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8167)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
[COLOR="Red"]11-23 14:33:40.950 14391 14391 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Optimized data directory /data/user/0/com.facebook.lite/dex is not owned by the current user. Shared storage cannot protect your application from code injection attacks.[/COLOR]
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:141)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at dalvik.system.DexFile.loadDex(DexFile.java:210)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at dalvik.system.DexFile.loadDex(DexFile.java:177)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at X.02Q.A00(:67)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at X.01U.A04(:61)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at com.facebook.lite.ClientApplicationSplittedShell.attachBaseContext(:4738)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.Application.attach(Application.java:370)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.Instrumentation.newApplication(Instrumentation.java:1157)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:1288)
11-23 14:33:40.950 14391 14391 E AndroidRuntime: ... 14 more
Textra
Code:
11-23 14:34:20.354 9346 9346 W ContextImpl: Failed to ensure /data/user/0/com.textra/cache: mkdir failed: EACCES (Permission denied)
11-23 14:34:20.354 9346 9346 W ContextImpl: Failed to update user.inode_cache: stat failed: EACCES (Permission denied)
11-23 14:34:20.355 9346 9346 W ContextImpl: Failed to ensure /data/user_de/0/com.textra/code_cache: mkdir failed: EACCES (Permission denied)
11-23 14:34:20.355 9346 9346 W ContextImpl: Failed to update user.inode_code_cache: stat failed: EACCES (Permission denied)
[COLOR="red"]11-23 14:34:20.432 9346 26624 E SQLiteDatabase: Failed to open database '/data/user/0/com.textra/databases/messaging.db'.
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1806 SQLITE_CANTOPEN_EACCES[1806]): Could not open database[/COLOR]
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:300)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:218)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:737)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:284)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:251)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:1394)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:1339)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:974)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:448)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:391)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at com.mplus.lib.lg1.d(SourceFile:1)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at com.mplus.lib.mg1.<init>(SourceFile:6)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at com.mplus.lib.mg1.j0(SourceFile:1)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at com.mplus.lib.af1.run(Unknown Source:2)
11-23 14:34:20.432 9346 26624 E SQLiteDatabase: at java.lang.Thread.run(Thread.java:919)
So here you can see all the force closing is caused by the wrong owner/permissions. This also happens with the system apps, but the system apps just reset themselves and makes a new directory. Something is definitely changing the owner or whatever, which causes the device to think it has not been setup, prompting the "android is starting" prompt. It is EXTREMELY annoying to deal with and I am desperate for help.
Also,
running
Code:
chmod -R 777 /data
allows some apps to open (because they can now access the data), I do not know what is causing this device owner change..