[ROM][6.0] AOSP MRA85K - Nexus 5 Android Development

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

Related

Front facing camera doesn't work; startPreview failed

I use CM10.2, but this bug existed also on CM10.1, I don't know if this is a hard- or software problem.
When I try to use the front facing camera (in various apps, doesn't matter if it's just Camera or Instagram), the application crashes. Here's the log. The most interesting part (I think) is:
Code:
08-28 16:38:17.407 16834 17189 E AndroidRuntime: FATAL EXCEPTION: Camera Handler Thread
08-28 16:38:17.407 16834 17189 E AndroidRuntime: java.lang.RuntimeException: startPreview failed
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.hardware.Camera.startPreview(Native Method)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at com.android.camera.CameraManager$CameraHandler.handleMessage(CameraManager.java:181)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.Looper.loop(Looper.java:137)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
Bump.
r7s said:
I use CM10.2, but this bug existed also on CM10.1, I don't know if this is a hard- or software problem.
When I try to use the front facing camera (in various apps, doesn't matter if it's just Camera or Instagram), the application crashes. Here's the log. The most interesting part (I think) is:
Code:
08-28 16:38:17.407 16834 17189 E AndroidRuntime: FATAL EXCEPTION: Camera Handler Thread
08-28 16:38:17.407 16834 17189 E AndroidRuntime: java.lang.RuntimeException: startPreview failed
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.hardware.Camera.startPreview(Native Method)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at com.android.camera.CameraManager$CameraHandler.handleMessage(CameraManager.java:181)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.Looper.loop(Looper.java:137)
08-28 16:38:17.407 16834 17189 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
Click to expand...
Click to collapse
It definitely a Software problem as CM 10.1 & CM 10.2 are in Nightly state. Problem has been reported in known issues section in CM 10.2 thread here at XDA. It says "Front-facing Camera buggy".
Problem has been reported in known issues section in CM 10.2 thread here at XDA. It says "Front-facing Camera buggy".
Click to expand...
Click to collapse
Thanks, didn't know about it. The thing I've been experiencing this problem under 10.1, too, but I haven't seen anybody complaining about it in the 10.1 thread.
I just flashed another ROM (Chameleon 3.0.3) and I still have the same problem. I think it might be a hardware issue.
Bumpity bump.
Have you tried flashing full stock ROM? Non point in concluding it's a hardware fault unless you've eliminated the software side of things. So far you haven't.
Sent from a galaxy far, far away

"Unfortunately, the process android.process.media has stopped" on MIUI 8 by shumxin

"Unfortunately, the process android.process.media has stopped" on MIUI 8 by shumxin
I would like to use MIUI on my OnePlus X, but the error mentioned in the title of this post keeps on popping up very frequently and it renders this beautiful ROM unusable for me.
I've downloaded the ROM from here - https://drive.google.com/file/d/0BzLtOy-IJENIVHpFVURBbjF4UVE/view (after watching this video - https://www.youtube.com/watch?v=7u25-UAe6JA).
In order to resolve the issue, I've tried a lot of things like clearing data/cache for apps like Google Play Services, Downloads, etc. but nothing helps.
I've installed GApps from http://opengapps.org (ARM, 6.0, pico), but this issue is seen even without GApps.
Any help in resolving the issue would be highly appreciated.
Here's the logcat snippet pertaining to the crash:
09-05 15:28:54.818 29920 29920 E MediaProvider: Can't obtain external volume ID even though it's mounted.
09-05 15:28:54.819 29920 29920 D AndroidRuntime: Shutting down VM
09-05 15:28:54.820 29920 29920 E AndroidRuntime: FATAL EXCEPTION: main
09-05 15:28:54.820 29920 29920 E AndroidRuntime: Process: android.process.media, PID: 29920
09-05 15:28:54.820 29920 29920 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:5270)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:4862)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4802)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.access$1700(ActivityThread.java:155)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1482)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5539)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:5458)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:656)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.content.ContentProvider.attachInfo(ContentProvider.java:1748)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.content.ContentProvider.attachInfo(ContentProvider.java:1723)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:5267)
09-05 15:28:54.820 29920 29920 E AndroidRuntime: ... 10 more
Click to expand...
Click to collapse
Clean flash the ROM and try not to use gapps. See whether the problem persists. if not use this to app to get play store
https://drive.google.com/file/d/0B1MKgV6T8Z20YWFCVUtmOHhkY28/view?usp=sharing
sundhar88 said:
Clean flash the ROM and try not to use gapps. See whether the problem persists. if not use this to app to get play store
https://drive.google.com/file/d/0B1MKgV6T8Z20YWFCVUtmOHhkY28/view?usp=sharing
Click to expand...
Click to collapse
What do you mean by clean flash? My OnePlus X was running Paranoid Android 7.2.1 ROM and TWRP 3.1.1.1 version. I installed the MIUI ROM by shumxin after cleaning system, boot, data, cache partitions. Also, as mentioned in the OP, I get this issue even without any GApps installed. Also, the link you shared gives this message "We're sorry. You can't access this item because it is in violation of our Terms of Service".
amaldhure said:
I would like to use MIUI on my OnePlus X, but the error mentioned in the title of this post keeps on popping up very frequently and it renders this beautiful ROM unusable for me.
I've downloaded the ROM from here - https://drive.google.com/file/d/0BzLtOy-IJENIVHpFVURBbjF4UVE/view (after watching this video - https://www.youtube.com/watch?v=7u25-UAe6JA).
In order to resolve the issue, I've tried a lot of things like clearing data/cache for apps like Google Play Services, Downloads, etc. but nothing helps.
I've installed GApps from http://opengapps.org (ARM, 6.0, pico), but this issue is seen even without GApps.
Any help in resolving the issue would be highly appreciated.
Here's the logcat snippet pertaining to the crash:
Click to expand...
Click to collapse
Download this rom, its pretty stable than the one installed https://drive.google.com/file/d/0B1MKgV6T8Z20STNiUGN2R09iazg/view
cva_kabil said:
Download this rom, its pretty stable than the one installed https://drive.google.com/file/d/0B1MKgV6T8Z20STNiUGN2R09iazg/view
Click to expand...
Click to collapse
I've tried that ROM as well. But it was giving the same error after installing GApps.
I think I've figured out the root cause of this issue. This issue does not occur for me in case of no SD card in my phone. Could formatting the SD card from MIUI help?
Do not flash gapps with MIUI, Which is the cause.
And clean flash mean you don't have to wipe system. Before flashing MIUI try to flash OOS (latest), boot it up, reboot to recovery and then flash the MIUI.
And PLEASE DON'T USE GAPPS FOR MIUI. IT WON'T WORK AND EVEN IF IT DOES IT MAY CAUSE PROBLEMS.
sundhar88 said:
Do not flash gapps with MIUI, Which is the cause.
And clean flash mean you don't have to wipe system. Before flashing MIUI try to flash OOS (latest), boot it up, reboot to recovery and then flash the MIUI.
And PLEASE DON'T USE GAPPS FOR MIUI. IT WON'T WORK AND EVEN IF IT DOES IT MAY CAUSE PROBLEMS.
Click to expand...
Click to collapse
Ah, I see. So if I follow the flashing process you suggested, will the gapps from Oxygen OS be used in MIUI?
amaldhure said:
Ah, I see. So if I follow the flashing process you suggested, will the gapps from Oxygen OS be used in MIUI?
Click to expand...
Click to collapse
NO.
But there will be less errors
Did you download MIUI from this thread?
https://forum.xda-developers.com/oneplus-x/general/rom-miui-v8-oneplus-x-t3591453
Use this app (chinese app) to get play store. It is the only working way.
https://drive.google.com/file/d/0B1MKgV6T8Z20YWFCVUtmOHhkY28/view?usp=sharing
No, I'm using the ROM from this thread https://forum.xda-developers.com/oneplus-x/general/rom-miui-8-oneplus-x-ported-shumxin-t3479012
The other Google Drive link you've shared gives error.
Also, I'm unable to flash OOS 3.1.4 build. Tried from TWRP recovery as well as adb sideload. The process appears to be stuck at 8% progress, tried to keep it for about 35-40 minutes. Also, I'm unable to boot into stock Oxygen OS recovery.
I think I'll try doing a clean flash of the ROM, and install that Play Store app from somewhere.

Installing an app via TWRP (updater-script) unsuccessful, HELP!

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

FATAL EXCEPTION: ContactsProviderWorker

Hello,
When I use Facebook, there IS thé following error :
Code:
FATAL EXCEPTION: ContactsProviderWorker
Process: android.process.acore, PID: 6295
java.lang.RuntimeException: Package manager has died
at android.app.ApplicationPackageManager.queryContentProviders(ApplicationPackageManager.java:696)
at com.android.providers.contacts.ContactDirectoryManager.getDirectoryProviderPackages(ContactDirectoryManager.java:219)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackages(ContactDirectoryManager.java:256)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackagesIfNeeded(ContactDirectoryManager.java:191)
at com.android.providers.contacts.ContactDirectoryManager.scanAllPackages(ContactDirectoryManager.java:181)
at com.android.providers.contacts.ContactsProvider2.updateDirectoriesInBackground(ContactsProvider2.java:1885)
at com.android.providers.contacts.ContactsProvider2.performBackgroundTask(ContactsProvider2.java:1704)
at com.android.providers.contacts.ContactsProvider2$1.handleMessage(ContactsProvider2.java:1523)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: android.os.TransactionTooLargeException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:496)
at android.content.pm.IPackageManager$Stub$Proxy.queryContentProviders(IPackageManager.java:2842)
at android.app.ApplicationPackageManager.queryContentProviders(ApplicationPackageManager.java:694)
... 10 more
What is the origin of problem and how correct?
I use WIKO PULP 4G with ANDROID 5.1.1
Thanks.

Device ID changing, causes "new device" setup to happen

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

Categories

Resources