[HELP] Phone suddenly "shutdowns" - Asus ZenFone Max Pro M1 Questions & Answers

PLEASE HELP. My phone (J8, ZB602KL, NFC) suddenly reboots to Qualcomm Diagnostics Mode on all roms after 26.05.19.
So I'm turning on wifi and connecting to my home network then I watch youtube/surf net/etc., screen freezes and turns black. When I connect phone to PC I see "Qualcomm...Diagnostics" device:
{
"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"
}
When I connect to hotspot wifi everything works fine. Changing ROMs, recoveries, kernels, formating data, flashing fastboot ROM, flashing firmware, relocking bootloader NOT WORKING! Flashing custom roms on my router (ASUS RT-N12VP), changing wifi type (b/g/n) and factory resetting router NOT WORKS TOO.
I JUST WANT TO EVERYONE UNDERSTAND THAT THIS IS A PROBLEM. And I want to fix it
Logcat before reboot said:
10-01 18:00:44.638 1380 1426 I ActivityManager: Start proc 12507:com.android.webview:sandboxed_process0/u0i2 for webview_service com.google.android.apps.searchlite/org.chromium.content.app.SandboxedProcessService0
10-01 18:00:44.638 1380 1426 W ActivityManager: Slow operation: 300ms so far, now at startProcess: starting to update pids map
10-01 18:00:44.638 1380 1426 W ActivityManager: Slow operation: 300ms so far, now at startProcess: done updating pids map
10-01 18:00:44.641 2883 2883 I QcrilOemhookMsgTunnel: [0]invokeOemRilRequestRaw: serial=1102 length=24
10-01 18:00:44.642 2883 2901 I QcrilOemhookMsgTunnel: [0]processOemHookResponse serial no: 1102 error: 0length=0
10-01 18:00:44.645 2883 2883 I QcrilOemhookMsgTunnel: [1]invokeOemRilRequestRaw: serial=1103 length=24
10-01 18:00:44.648 2883 2901 I QcrilOemhookMsgTunnel: [0]processOemHookIndication length=28
10-01 18:00:44.649 2883 2901 I QcrilOemhookMsgTunnel: [1]processOemHookResponse serial no: 1103 error: 0length=0
10-01 18:00:44.656 2883 2901 I QcrilOemhookMsgTunnel: [1]processOemHookIndication length=28
10-01 18:00:44.674 12507 12507 E dboxed_process: Not starting debugger since process cannot load the jdwp agent.
10-01 18:00:44.713 12213 12492 W cr_media: Requires BLUETOOTH permission
10-01 18:00:44.715 12213 12484 E cr_SBApiBridge: Failed to init handler: Attempt to invoke virtual method 'java.lang.reflect.Constructor java.lang.Class.getDeclaredConstructor(java.lang.Class[])' on a null object reference
10-01 18:00:44.723 2883 2883 I QcrilOemhookMsgTunnel: [0]invokeOemRilRequestRaw: serial=1104 length=24
10-01 18:00:44.724 2883 2901 I QcrilOemhookMsgTunnel: [0]processOemHookResponse serial no: 1104 error: 0length=0
10-01 18:00:44.726 2883 2901 I QcrilOemhookMsgTunnel: [0]processOemHookIndication length=28
10-01 18:00:44.727 2883 2883 I QcrilOemhookMsgTunnel: [1]invokeOemRilRequestRaw: serial=1105 length=24
10-01 18:00:44.727 2883 2901 I QcrilOemhookMsgTunnel: [1]processOemHookResponse serial no: 1105 error: 0length=0
10-01 18:00:44.730 2883 2901 I QcrilOemhookMsgTunnel: [1]processOemHookIndication length=28
10-01 18:00:44.731 12487 12487 I Perf : Connecting to perf service.
10-01 18:00:44.732 12213 12213 W MediaSessionCompat: Couldn't find a unique registered media button receiver in the given context.
10-01 18:00:44.746 2467 2939 I Avrcp : Skipping update due to invalid playback state
10-01 18:00:44.748 12213 12213 W Player : Cannot navigate to first paragraph
10-01 18:00:44.756 12507 12507 I LoadedApk: No resource references to update in package com.android.webview
10-01 18:00:44.756 12487 12487 I LoadedApk: No resource references to update in package com.android.webview
10-01 18:00:44.772 12507 12507 I cr_ChildProcessService: Creating new ChildProcessService pid=12507
10-01 18:00:44.789 12507 12527 I cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 6529-6530)
10-01 18:00:44.816 12213 12213 E ubw : *~*~*~ Channel {0} was not shutdown properly!!! ~*~*~*
10-01 18:00:44.816 12213 12213 E ubw : Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.
10-01 18:00:44.816 12213 12213 E ubw : java.lang.RuntimeException: ManagedChannel allocation site
10-01 18:00:44.816 12213 12213 E ubw : at ubv.<init>(PG:2)
10-01 18:00:44.816 12213 12213 E ubw : at ubw.<init>(PG:2)
10-01 18:00:44.816 12213 12213 E ubw : at tvl.a(PG:19)
10-01 18:00:44.816 12213 12213 E ubw : at cwa.a(PG:183)
10-01 18:00:44.816 12213 12213 E ubw : at gml.call(Unknown Source:2)
10-01 18:00:44.816 12213 12213 E ubw : at qre.call(PG:2)
10-01 18:00:44.816 12213 12213 E ubw : at rzz.b(Unknown Source:2)
10-01 18:00:44.816 12213 12213 E ubw : at rza.run(PG:7)
10-01 18:00:44.816 12213 12213 E ubw : at saa.run(PG:1)
10-01 18:00:44.816 12213 12213 E ubw : at j
Click to expand...
Click to collapse

Related

[BUG] Dialer has stopped - Xperia ZL

When in Dialer history, press the clock icon then the Dialer has stopped as screenshot. Got this bug since nightly build updated to 4.4.3
{
"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"
}
Sent from my Xperia ZL using Tapatalk
Can you please grab a logcat of the issue?
iurnait said:
Can you please grab a logcat of the issue?
Click to expand...
Click to collapse
Here is the logcat of Dialer
---- Jun 23, 2014 2:50:13 PM ----
06-23 14:50:25.102 1652 1652 I Timeline: Timeline: Activity_launch_request id:com.android.dialer time:6552546
06-23 14:50:25.102 727 1650 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.dialer/.DialtactsActivity bnds=[22,1631][229,1802]} from pid 1652
06-23 14:50:25.183 727 1647 I ActivityManager: Start proc com.android.dialer for activity com.android.dialer/.DialtactsActivity: pid=7315 uid=10013 gids={50013, 3003, 1028, 1015, 1023}
06-23 14:50:26.043 727 801 I ActivityManager: Displayed com.android.dialer/.DialtactsActivity: +879ms
06-23 14:50:26.043 727 801 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{42193450 u0 com.android.dialer/.DialtactsActivity t11} time:6553481
06-23 14:50:27.415 7315 7315 I Timeline: Timeline: Activity_launch_request id:com.android.dialer time:6554856
06-23 14:50:27.415 727 1541 I ActivityManager: START u0 {cmp=com.android.dialer/.calllog.CallLogActivity} from pid 7315
06-23 14:50:27.745 727 801 I ActivityManager: Displayed com.android.dialer/.calllog.CallLogActivity: +317ms
06-23 14:50:27.945 727 801 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{43122a10 u0 com.android.dialer/.calllog.CallLogActivity t11} time:6555389
06-23 14:50:29.617 7315 7315 I Timeline: Timeline: Activity_launch_request id:com.android.dialer time:6557058
06-23 14:50:29.617 727 1541 I ActivityManager: START u0 {dat=content://call_log/calls/1063?allow_voicemails=true cmp=com.android.dialer/.CallDetailActivity (has extras)} from pid 7315
06-23 14:50:29.687 7315 7315 E ActivityThread: at com.android.dialer.CallDetailActivity.onCreate(CallDetailActivity.java:208)
06-23 14:50:29.707 7315 7315 E AndroidRuntime: Process: com.android.dialer, PID: 7315
06-23 14:50:29.707 7315 7315 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.dialer/com.android.dialer.CallDetailActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class <unknown>
06-23 14:50:29.707 7315 7315 E AndroidRuntime: at com.android.dialer.CallDetailActivity.onCreate(CallDetailActivity.java:208)
06-23 14:50:29.717 727 738 W ActivityManager: Force finishing activity com.android.dialer/.CallDetailActivity
06-23 14:50:29.717 727 738 W ActivityManager: Force finishing activity com.android.dialer/.calllog.CallLogActivity
06-23 14:50:30.217 727 804 W ActivityManager: Activity pause timeout for ActivityRecord{421afe08 u0 com.android.dialer/.CallDetailActivity t11 f}
06-23 14:50:31.539 727 1541 I ActivityManager: Process com.android.dialer (pid 7315) has died.
06-23 14:50:31.539 727 1631 I WindowState: WIN DEATH: Window{43179c10 u0 com.android.dialer/com.android.dialer.calllog.CallLogActivity}
06-23 14:50:31.559 727 1272 W InputDispatcher: channel '43116a10 com.android.dialer/com.android.dialer.DialtactsActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
06-23 14:50:31.559 727 1272 E InputDispatcher: channel '43116a10 com.android.dialer/com.android.dialer.DialtactsActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
06-23 14:50:31.559 727 824 W InputDispatcher: Attempted to unregister already unregistered input channel '43116a10 com.android.dialer/com.android.dialer.DialtactsActivity (server)'
06-23 14:50:31.559 727 824 I WindowState: WIN DEATH: Window{43116a10 u0 com.android.dialer/com.android.dialer.DialtactsActivity}
06-23 14:50:31.599 727 1541 I ActivityManager: Start proc com.android.dialer for activity com.android.dialer/.DialtactsActivity: pid=7417 uid=10013 gids={50013, 3003, 1028, 1015, 1023}
06-23 14:50:32.460 727 801 I ActivityManager: Displayed com.android.dialer/.DialtactsActivity: +893ms (total +2s839ms)
06-23 14:50:32.460 727 801 I Timeline: Timeline: Activity_windows_visible id: ActivityRecord{42193450 u0 com.android.dialer/.DialtactsActivity t11} time:6559908
---- Jun 23, 2014 2:50:59 PM ----

setools-android with sepolicy-inject

Introduction
In Android 5.0, SELinux is in enforcing mode and sometimes you (or some root application) need to change SELinux policy. There has been only one tool capable of this at runtime - Chainfire's supolicy (part of SuperSU). But this tool is closed source and closed source root apps are great security risk. So I have fixed and enhanced sepolicy-inject from Joshua Brindle and combined it with setools-android by Dmitry Podgorny (pasis) to make it buildable with Android NDK.
Installation instructions
You must have android-ndk installed. Then run:
Code:
git clone https://github.com/xmikos/setools-android.git
cd setools-android
ndk-build
Now you can copy executables from libs/armeabi directory (sepolicy-inject, sesearch and seinfo) to /system/xbin directory on your device.
Usage
Code:
sepolicy-inject -s <source type> -t <target type> -c <class> -p <perm>[,<perm2>,<perm3>,...] [-P <policy file>] [-o <output file>] [-l|--load]
sepolicy-inject -Z type_to_make_permissive [-P <policy file>] [-o <output file>] [-l|--load]
sepolicy-inject -z type_to_make_nonpermissive [-P <policy file>] [-o <output file>] [-l|--load]
For example if you want to allow vdc to write to pseudo-terminal (so you can see replies from vdc command):
Code:
sepolicy-inject -s vdc -t devpts -c chr_file -p read,write -l
Download
Latest binaries for all architectures
Project on GitHub
XDA:DevDB Information
setools-android with sepolicy-inject, Tool/Utility for all devices (see above for details)
Contributors
Mikos, joshua_brindle, Dmitry Podgorny (pasis)
Source Code: https://github.com/xmikos/setools-android
Version Information
Status: Stable
Current Stable Version: 1.3
Stable Release Date: 2017-08-22
Created 2014-12-19
Last Updated 2017-08-22
Mikos,
hi,
i was wondering if you would go further into depth on the command line options,
specifically can i "piggy-back" supolicy onto sepolicy or can you provide a non-generic example of
how to inject say a static su binary with the proper context [seapp_context,file_context,property_context,service_context]
i would be doing this in a debian arm chroot,
the policy is for samsung galaxy tab 4 8.0 sm-t330nu LP 5.1.1 firmware release.
i'm battling apparently selinux AND knox
my current adventure is outlined here..,
http://forum.xda-developers.com/tab-4/general/sm-lp-5-1-1-supersu-t3160110
i have clone your repo and am downloading either ndk or studio.
thanks
m
moonbutt74 said:
Mikos,
i was wondering if you would go further into depth on the command line options,
specifically can i "piggy-back" supolicy onto sepolicy or can you provide a non-generic example of
how to inject say a static su binary with the proper context [seapp_context,file_context,property_context,service_context]
Click to expand...
Click to collapse
Hello, the syntax is simple, if you want comparison with supolicy, here is one example (taken from my SnooperStopper app):
Code:
supolicy --live 'allow vdc init fifo_file {read write getattr}'
is equivalent to:
Code:
sepolicy-inject -s vdc -t init -c fifo_file -p read,write,getattr -l
Mikos,
thanks i got your toolkit built API 19 armeabi-v7a
seinfo is neat.
okay so i am a bit of a dumb dumb, would be up for jumping in on my thread and helping out.
the problem with supersu seems to be at app_process -> /system/xbin/daemonsu
Code:
F/appproc ( 305): Error changing dalvik-cache ownership : Permission denied
F/libc ( 305): Fatal signal 6 (SIGABRT), code -6 in tid 305 (app_process32_o)
and that's where i'm stuck,
also how do i build these tools fully static if possible ? the deb arm chroot doesn't seem to like them
thanks
m
I have released version 1.1 (with support for allowing multiple SELinux permissions at once). I have also updated binaries (now built for armeabi, armeabi-v7a, mips and x86). You can download them from XDA Developers or GitHub.
moonbutt74 said:
okay so i am a bit of a dumb dumb, would be up for jumping in on my thread and helping out.
the problem with supersu seems to be at app_process -> /system/xbin/daemonsu
Code:
F/appproc ( 305): Error changing dalvik-cache ownership : Permission denied
F/libc ( 305): Fatal signal 6 (SIGABRT), code -6 in tid 305 (app_process32_o)
Click to expand...
Click to collapse
Sorry, I don't know what can be your problem. But have you looked at logcat? You should see exact missing SELinux permissions there...
moonbutt74 said:
also how do i build these tools fully static if possible ? the deb arm chroot doesn't seem to like them
Click to expand...
Click to collapse
These binaries are built static. Or at least static for Android (standard NDK build). Debian in chroot may use different libc or something like that.
Mikos,
hi , thanks again i got sorted on working with the toolkit :good:
i am 33 permissive domains and numerous modified permissions in and still haven't hit on the right one yet, but i'm having fun.
i am guessing file_lnk or a trans permission is what i should be focusing on ?
a quick question, the policy injection is permanent or do i need to script out an init.rc or init.d function ?
i ask because i did an experiment while in recovery with system mounted to restrict/remove a permission/permissive domain and on rebooting to recovery the change stuck, i modified access to sbin and sure enough after rebooting to recovery i could not run the custom utillities i have installed even with root access.
also i can not access allow/neverallow [av rules] rules when using sesearch, is this an intended limitation, or is there some additional code/patching required?
thanks.
m
Nice tool, thanks. Is there a way to inject new source and target types or is it only possible to expand existing contexts?
cloooned said:
Nice tool, thanks. Is there a way to inject new source and target types or is it only possible to expand existing contexts?
Click to expand...
Click to collapse
C,
hi, you can only work with what's in the policy if i'm doing the following correctly
for -s <source type>
Code:
sepolicy-inject -s [COLOR="Red"]hack[/COLOR] -t system -c process -p write -P sepolicy -o sepolicy-UNdead
libsepol.policydb_index_others: security: 1 users, 2 roles, 1331 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 86 classes, 15661 rules, 0 cond rules
source type hack does not exist
Could not add rule
same for -t <target type>
Code:
sepolicy-inject -s shell -t [COLOR="Red"]hack[/COLOR] -c process -p write -P sepolicy -o sepolicy-UNdead
"blah blah"
target type hack does not exist
Could not add rule
NOT the same for -c <class> , with class i was looking through external/sepolicy/security_classes to find a valid class not in policy
# More SE-X Windows stuff
class x_resource # userspace
so
Code:
sepolicy-inject -s shell -t system -c [COLOR="Red"]x_resource[/COLOR] -p write -P sepolicy -o sepolicy-UNdead
libsepol.policydb_index_others: security: 1 users, 2 roles, 1331 types, 0 bools
libsepol.policydb_index_others: security: 1 sens, 1024 cats
libsepol.policydb_index_others: security: 86 classes, 15661 rules, 0 cond rules
sesearch -A -c x_resource sepolicy-UNdead
Found 1 semantic av rules:
allow shell system_server : [COLOR="Red"]x_resource[/COLOR] write ;
so, again i am probably doing the first two wrong but i'm having a difficult time finding out what valid entries i can attempt
for <source> and <target> that aren't in the policy. <class> was easier as i figured there would be any x_window stuff.
m
Mikos said:
In Android 5.0, SELinux is in enforcing mode and sometimes you (or some root application) need to change SELinux policy. There has been only one tool capable of this at runtime - Chainfire's supolicy (part of SuperSU). But this tool is closed source and closed source root apps are great security risk. So I have fixed and enhanced sepolicy-inject from Joshua Brindle and combined it with setools-android by Dmitry Podgorny (pasis) to make it buildable with Android NDK.
Click to expand...
Click to collapse
Hi and thank you for the awesome tool!
A little question (probably also a dumb one) - will it work if called for init service, user root group root, default init service context?
Something like
Code:
service humble_sepatcher /system/bin/sh /system/xbin/sepolicy-inject "[ [I]parameters go here I suppose ;)[/I] ]"
user root
group root
class core
oneshot
Usecase:
I want to temporarily switch Selinux to Permissive mode very early in the init sequence (adding early initd to a ROM I don't have sources for)
setenforce and "write /sys/fs/selinux/enforce 0" do not work during init (but after the system boots completely and SUperSu finally does its deed, I can do setenforce 0 and enter permissive mode)
Also, since I am rather lame when it comes to Selinux what would be the best way to go about it ? (I suspect that allowing /system/bin/sh and echo to write to /sys/fs/selinux/enforce might be enough, but so far I can't even think of where to start)
Hello @Mikos,
I was wondering if your tool would get an update to support android 6 and policydb version 30. In the attachment is the error I receive.
I made a modification to sepolicy-inject to add a command (sepolicy-inject -R) to revert all the sepolicy changes. It does this by simply loading the original sepolicy in the ramdisk (/sepolicy) without modifying it.
http://pastebin.com/fKTu3FRC
@pittvandewitt I have uploaded new version 1.2 which does support policydb version 30 (Android 6) and also supports 64-bit architectures (arm64-v8a, mips64, x86_64).
Mikos said:
@pittvandewitt I have uploaded new version 1.2 which does support policydb version 30 (Android 6) and also supports 64-bit architectures (arm64-v8a, mips64, x86_64).
Click to expand...
Click to collapse
This is awesome news! Thank you for your work and also for letting me know
Is there anywhere that explains the usage of the injection tools - specifically how to manipulate the commands to achieve your intent? The instructions are limited and my time with selinux has only just begun and I am having a difficult time getting good search results on making the sepolicy changes I need. I specifically need to create an allowance to let a kernel script run at boot. I currently have a kernel script that gets pushed to the system partition during the flash and runs on boot without superSU installed in marshmallow, but on N-preview it does not run and I get sepolicy denials. If anyone can either give me a few pointers on using this tool, or knows of a good guide somewhere for me to get going - it would be much appreciated. TIA.
delete this somehow plz
Hy, everyone
This tool is musthave for the root\kernel devs, but it is so "unfinished"
I have added a few lines of code to make it powerfull and understand tool.
(#) Usage:
Injecting a rule:
./sepolicy-inject -s <source>[,...] -t <target>[,...] -c <class> -p <perm>[,...] [-N] -P <input> [-o <output>] [-v]
Injecting a rule no-audit (AUDITDENY):
./sepolicy-inject -s <source>[,...] -t <target>[,...] -c <class> -p <perm>[,...] -n [-N] -P <inpit> [-o <output>] [-v]
Change a permissive domain to non-permissive:
./sepolicy-inject -z <type> -P <input> [-o <output>] [-v]
Injecting a permissive domain, create new if missing:
./sepolicy-inject -Z <type> -P <input> [-o <output>] [-v]
Add a type attribute to a domain:
./sepolicy-inject -s <type>[,...] -a <attribute>[,...] -P <input> [-o <output>] [-v]
Remove a type attribute from a domain:
./sepolicy-inject -s <type>[,...] -A <attribute>[,...] -P <input> [-o <output>] [-v]
Add a transition source-->target (class) [new]:
./sepolicy-inject -s <source> -t <target> -c <class> -f <new> -P <input> [-o <output>] [-v]
Test a SELinux type exists:
./sepolicy-inject -e -s <type> -P <input> [-v]
Test a SELinux class exists:
./sepolicy-inject -e -c <class> -P <input> [-v]
Test a SELinux type has attribute:
./sepolicy-inject -e -s <type> -a <attribute> -P <input> [-v]
Test a SELinux type missing attribute:
./sepolicy-inject -e -s <type> -A <attribute> -P <input> [-v]
Use -v for verbose
Use -o for output file, rewriting the input file otherwise
Click to expand...
Click to collapse
This way it can work lke this:
.
/sepolicy-inject -s system_server,system_app,untrusted_app -t logd -c dir -p search,add_name,remove_name,open,read,write,getattr,setattr,relabelfrom,relabelto -P sepolicy
./sepolicy-inject -n -s shell -t kernel -c system -p module_request,ipc_info,syslog_console -N -P sepolicy
./sepolicy-inject -s shell -a system_domain,mlstrustedsubject -P sepolicy
./sepolicy-inject -s shell -A trstdomain_no_access_subject -P sepolicy
Click to expand...
Click to collapse
Attaching the source and precompiled cygwin and android binaries
darkmen said:
Hy, everyone
This tool is musthave for the root\kernel devs, but it is so "unfinished"
I have added a few lines of code to make it powerfull and understand tool.
This way it can work lke this:
.
Attaching the source and precompiled cygwin and android binaries
Click to expand...
Click to collapse
Hi, I'm using CM14.1 right now, I am having issue modifying system files, for examples, I am using FasterGPS to modify /system/etc/gps.conf, but FasterGPS failed to modify that file because of selinux is enforcing, because FasterGPS is working normally if I set set selinux is permissive using command setenforce=0 from root shell...
Can I use this setools-android to add rule(s) to selinux policy to allow some certain apps to modify system files without have to manually set selinux as permissive first?
If I can do that using this tool, how do I do it?
I have logcat from the app with selinux=enforce and selinux=policy to compare:
selinux=enforce
Code:
12-10 20:02:49.309 15389 15389 I FasterGPS: Loading /system/etc/gps.conf...
12-10 20:02:49.336 4598 4598 I MicroDetector: Keeping mic open: false
12-10 20:02:49.336 4598 16532 I DeviceStateChecker: DeviceStateChecker cancelled
12-10 20:02:49.337 4598 16514 I AudioController: internalShutdown
12-10 20:02:49.337 4598 16514 I MicrophoneInputStream: mic_close [email protected]
12-10 20:02:49.337 4598 9769 I MicroRecognitionRunner: Stopping hotword detection.
12-10 20:02:49.341 4598 4598 W SearchService: Abort, client detached.
12-10 20:02:49.353 369 369 I MSM-irqbalance: Decided to move IRQ128 from CPU5 to CPU4
12-10 20:02:49.357 1128 16590 D audio_hw_primary: in_standby: enter: stream (0xf6351f80) usecase(7: audio-record)
12-10 20:02:49.390 1128 16590 D audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record
12-10 20:02:49.391 1128 16590 D hardware_info: hw_info_append_hw_type : device_name = voice-rec-mic
12-10 20:02:49.391 1128 16590 D audio_hw_primary: disable_snd_device: snd_device(66: voice-rec-mic)
12-10 20:02:49.394 1128 16590 D audio_hw_primary: in_set_parameters: enter: kvpairs=routing=0
12-10 20:02:49.397 1981 2106 I ActivityManager: Displayed org.fastergps/.ui.BaseActivity: +189ms
12-10 20:02:49.403 4598 16533 I MicroRecognitionRunner: Detection finished
12-10 20:02:49.406 1128 1326 D audio_hw_primary: adev_close_input_stream: enter:stream_handle(0xf6351f80)
12-10 20:02:49.406 1128 1326 D audio_hw_primary: in_standby: enter: stream (0xf6351f80) usecase(7: audio-record)
12-10 20:02:49.651 372 372 W SurfaceFlinger: couldn't log to binary event log: overflow.
12-10 20:02:49.883 16740 16740 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:02:49.887 16740 16740 D AndroidRuntime: CheckJNI is OFF
12-10 20:02:49.976 16740 16740 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
12-10 20:02:49.975 16740 16740 W main : type=1400 audit(0.0:207): avc: denied { write } for name="arm64" dev="mmcblk0p31" ino=278530 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
12-10 20:02:49.975 16740 16740 W main : type=1400 audit(0.0:208): avc: denied { write } for name="arm64" dev="mmcblk0p31" ino=278530 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
12-10 20:02:50.025 16740 16740 I Radio-JNI: register_android_hardware_Radio DONE
12-10 20:02:50.042 16740 16740 D AndroidRuntime: Calling main entry com.android.commands.am.Am
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:209): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:210): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:211): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.045 16757 16757 W main : type=1400 audit(0.0:212): avc: denied { dac_override } for capability=1 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=0
12-10 20:02:50.081 16740 16740 D AndroidRuntime: Shutting down VM
12-10 20:02:52.089 1981 1981 W WindowManager: Attempted to remove non-existing token: [email protected]
12-10 20:02:53.159 3698 3698 W InputMethodService: Window size has been changed. This may cause jankiness of resizing window: -1 -> -2
12-10 20:02:53.197 3698 3698 I LatinIME: Starting input. Cursor position = 0,0
12-10 20:02:53.333 379 379 E VM_BMS : failed to set wake_lock rc=-13
12-10 20:02:53.333 379 379 D VM_BMS : New BMS data - Size=56
12-10 20:02:53.333 379 379 D VM_BMS : Start process_bms_data
12-10 20:02:53.337 379 379 D VM_BMS : For batt_temp=338 fcc_mah=4032
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4196145 batt_temp=338 soc=86
12-10 20:02:53.337 379 379 D VM_BMS : fifo_count=5 acc_count=0
12-10 20:02:53.337 379 379 D VM_BMS : INIT: ocv=4196145 last_ocv=4196145 batt_temp=338 soc=86
12-10 20:02:53.337 379 379 D VM_BMS : For soc=86 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=86 batt_temp=338 rbatt_sf=92
12-10 20:02:53.337 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=110, sf=92 batt_temp=338
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4195968 batt_temp=338 soc=85
12-10 20:02:53.337 379 379 D VM_BMS : FIFO=0 fifo_avg=4.166385 rbatt=0.120000 slope=1.160000 ibatt=0.247261 ocv=4.195968 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.337 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.337 379 379 D VM_BMS : For ocv=4195738 batt_temp=338 soc=85
12-10 20:02:53.337 379 379 D VM_BMS : FIFO=1 fifo_avg=4.156925 rbatt=0.121000 slope=1.160000 ibatt=0.321717 ocv=4.195738 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.337 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195592 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=2 fifo_avg=4.171121 rbatt=0.121000 slope=1.160000 ibatt=0.202844 ocv=4.195592 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195721 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=3 fifo_avg=4.217594 rbatt=0.121000 slope=1.160000 ibatt=-0.181300 ocv=4.195722 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 slope=11600
12-10 20:02:53.338 379 379 D VM_BMS : For soc=85 batt_temp=338 rbatt_sf=93
12-10 20:02:53.338 379 379 D VM_BMS : rbatt_mohm_default=120, rbatt_mohm=111, sf=93 batt_temp=338
12-10 20:02:53.338 379 379 D VM_BMS : For ocv=4195817 batt_temp=338 soc=85
12-10 20:02:53.338 379 379 D VM_BMS : FIFO=4 fifo_avg=4.211973 rbatt=0.121000 slope=1.160000 ibatt=-0.133918 ocv=4.195817 soc=85 fcc_ah=4.032000 sample_count=128 sample_interval=70 seq_num=80
12-10 20:02:53.338 379 379 I VM_BMS : power_supply_update: ocv_uv=4195817 ibatt=-133918 soc=85 seq_num=80
12-10 20:02:53.338 379 379 D VM_BMS : End process_bms_data
12-10 20:02:53.338 379 379 E VM_BMS : failed to wake_unlock rc=-13
12-10 20:02:53.540 380 498 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 1 at 43.0 degC
12-10 20:02:53.540 380 498 E ThermalEngine: Unable to set battery charging mitigation to 1
12-10 20:02:54.353 369 369 I MSM-irqbalance: Decided to move IRQ166 from CPU5 to CPU4
12-10 20:02:54.359 11980 13827 I PlayCommon: [497] com.google.android.play.a.g.e(900): Preparing logs for uploading
12-10 20:02:54.360 11980 13827 I PlayCommon: [497] com.google.android.play.a.g.e(902): No file ready to send
12-10 20:02:54.803 11980 12020 I PlayCommon: [444] com.google.android.play.a.g.e(900): Preparing logs for uploading
12-10 20:02:54.804 11980 12020 I PlayCommon: [444] com.google.android.play.a.g.e(902): No file ready to send
12-10 20:02:55.638 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:55.638 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:55.639 3698 3698 W InputMethodService: Window size has been changed. This may cause jankiness of resizing window: -1 -> -2
12-10 20:02:55.640 15389 15389 W IInputConnectionWrapper: finishComposingText on inactive InputConnection
12-10 20:02:58.920 1981 4461 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
12-10 20:02:59.354 369 369 I MSM-irqbalance: Decided to move IRQ155 from CPU7 to CPU4
12-10 20:03:04.353 369 369 I MSM-irqbalance: Decided to move IRQ215 from CPU7 to CPU6
12-10 20:03:06.102 15389 15389 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:03:06.102 15389 15389 I FasterGPS: Writing gps.conf to private files...
12-10 20:03:06.108 16797 16797 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:03:06.108 16797 16797 W linker : Warning: unable to normalize "null"
12-10 20:03:06.145 15389 15389 I FasterGPS: Remounting for RW...
12-10 20:03:06.149 16807 16807 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:03:06.149 16807 16807 W linker : Warning: unable to normalize "null"
12-10 20:03:06.215 15389 15389 W org.fastergps: type=1400 audit(0.0:213): avc: denied { read } for name="RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=0
12-10 20:03:06.225 15389 15389 E RootCommands: Exception
12-10 20:03:06.225 15389 15389 E RootCommands: java.io.FileNotFoundException: /data/local/RootToolsMounts (Permission denied)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.open(Native Method)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.<init>(FileInputStream.java:146)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileInputStream.<init>(FileInputStream.java:99)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.io.FileReader.<init>(FileReader.java:58)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Remounter.getMounts(Remounter.java:173)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Remounter.remount(Remounter.java:66)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.sufficientlysecure.rootcommands.Toolbox.remount(Toolbox.java:733)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.fastergps.util.Utils.writeConfig(Utils.java:241)
12-10 20:03:06.225 15389 15389 E RootCommands: at org.fastergps.ui.BaseActivity$2.onPreferenceChange(BaseActivity.java:250)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.Preference.callChangeListener(Preference.java:939)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.ListPreference.onDialogClosed(ListPreference.java:282)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.preference.DialogPreference.onDismiss(DialogPreference.java:402)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.app.Dialog$ListenersHandler.handleMessage(Dialog.java:1343)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.os.Handler.dispatchMessage(Handler.java:102)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.os.Looper.loop(Looper.java:154)
12-10 20:03:06.225 15389 15389 E RootCommands: at android.app.ActivityThread.main(ActivityThread.java:6126)
12-10 20:03:06.225 15389 15389 E RootCommands: at java.lang.reflect.Method.invoke(Native Method)
12-10 20:03:06.225 15389 15389 E RootCommands: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
12-10 20:03:06.225 15389 15389 E RootCommands: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
12-10 20:03:06.225 15389 15389 E FasterGPS: remount failed!
selinux=permissive
Code:
12-10 20:19:13.707 9292 9292 I FasterGPS: Loading /system/etc/gps.conf...
12-10 20:19:13.774 9292 9324 I Adreno : QUALCOMM build : d842ad3, Ia10634f51b
12-10 20:19:13.774 9292 9324 I Adreno : Build Date : 01/04/16
12-10 20:19:13.774 9292 9324 I Adreno : OpenGL ES Shader Compiler Version: XE031.06.00.05
12-10 20:19:13.774 9292 9324 I Adreno : Local Branch : mybranch17585849
12-10 20:19:13.774 9292 9324 I Adreno : Remote Branch : quic/LA.BR.1.2.6_rb1.7
12-10 20:19:13.774 9292 9324 I Adreno : Remote Branch : NONE
12-10 20:19:13.774 9292 9324 I Adreno : Reconstruct Branch : NOTHING
12-10 20:19:13.780 9292 9324 I OpenGLRenderer: Initialized EGL, version 1.4
12-10 20:19:13.780 9292 9324 D OpenGLRenderer: Swap behavior 1
12-10 20:19:13.851 1277 1305 I ActivityManager: Displayed org.fastergps/.ui.BaseActivity: +459ms
12-10 20:19:13.886 371 371 W SurfaceFlinger: couldn't log to binary event log: overflow.
12-10 20:19:13.919 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 2 at 45.0 degC
12-10 20:19:13.920 388 511 E ThermalEngine: Unable to set battery charging mitigation to 2
12-10 20:19:14.273 9322 9322 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:19:14.277 9322 9322 D AndroidRuntime: CheckJNI is OFF
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:26): avc: denied { execmem } for scontext=u:r:zygote:s0 tcontext=u:r:zygote:s0 tclass=process permissive=1
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:27): avc: denied { execute } for path="/dev/ashmem" dev="tmpfs" ino=5858 scontext=u:r:zygote:s0 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=1
12-10 20:19:14.422 9322 9322 I main : type=1400 audit(0.0:28): avc: denied { execute } for path=2F6465762F6173686D656D2F64616C76696B2D6A69742D636F64652D6361636865202864656C6574656429 dev="tmpfs" ino=85393 scontext=u:r:zygote:s0 tcontext=u:object_r:zygote_tmpfs:s0 tclass=file permissive=1
12-10 20:19:14.448 9322 9322 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
--------- beginning of crash
12-10 20:19:14.471 9328 9328 F libc : CANNOT LINK EXECUTABLE "/system/bin/dex2oat": "/system/lib64/libsigchain.so" is 64-bit instead of 32-bit
12-10 20:19:14.471 9328 9328 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 9328 (dex2oat)
12-10 20:19:14.478 243 243 W : debuggerd: handling request: pid=9328 uid=0 gid=0 tid=9328
12-10 20:19:14.544 9329 9329 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-10 20:19:14.544 9329 9329 F DEBUG : CM Version: '14.1-20161210-NIGHTLY-ido'
12-10 20:19:14.544 9329 9329 F DEBUG : Build fingerprint: 'Xiaomi/cm_ido/ido:7.1.1/NMF26O/40801d0bc7:userdebug/test-keys'
12-10 20:19:14.544 9329 9329 F DEBUG : Revision: '0'
12-10 20:19:14.544 9329 9329 F DEBUG : ABI: 'arm'
12-10 20:19:14.545 9329 9329 F DEBUG : pid: 9328, tid: 9328, name: dex2oat >>> /system/bin/dex2oat <<<
12-10 20:19:14.545 9329 9329 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
12-10 20:19:14.545 9329 9329 F DEBUG : r0 00000000 r1 00002470 r2 00000006 r3 00000008
12-10 20:19:14.545 9329 9329 F DEBUG : r4 f744258c r5 00000006 r6 f7442534 r7 0000010c
12-10 20:19:14.545 9329 9329 F DEBUG : r8 fff2ea58 r9 00000001 sl fff2ea80 fp f73d0010
12-10 20:19:14.545 9329 9329 F DEBUG : ip 00000002 sp fff2e9f0 lr f7422d5f pc f7423778 cpsr 200f0010
12-10 20:19:14.559 9329 9329 F DEBUG :
12-10 20:19:14.559 9329 9329 F DEBUG : backtrace:
12-10 20:19:14.562 9329 9329 F DEBUG : #00 pc 00046778 /system/bin/linker (__dl_tgkill+12)
12-10 20:19:14.562 9329 9329 F DEBUG : #01 pc 00045d5b /system/bin/linker (__dl_pthread_kill+34)
12-10 20:19:14.562 9329 9329 F DEBUG : #02 pc 0003e0ff /system/bin/linker (__dl_raise+10)
12-10 20:19:14.562 9329 9329 F DEBUG : #03 pc 0003cbbb /system/bin/linker (__dl___libc_android_abort+34)
12-10 20:19:14.562 9329 9329 F DEBUG : #04 pc 0003bb18 /system/bin/linker (__dl_abort+4)
12-10 20:19:14.563 9329 9329 F DEBUG : #05 pc 0003dbfb /system/bin/linker (__dl___libc_fatal+22)
12-10 20:19:14.563 9329 9329 F DEBUG : #06 pc 00009c47 /system/bin/linker (__dl__ZL29__linker_init_post_relocationR19KernelArgumentBlockj+3146)
12-10 20:19:14.563 9329 9329 F DEBUG : #07 pc 00008f67 /system/bin/linker (__dl___linker_init+358)
12-10 20:19:14.563 9329 9329 F DEBUG : #08 pc 000027c0 /system/bin/linker (_start+4)
12-10 20:19:14.604 1277 2062 W NativeCrashListener: Couldn't find ProcessRecord for pid 9328
12-10 20:19:14.607 243 243 W : debuggerd: resuming target 9328
12-10 20:19:14.607 243 243 E : debuggerd: failed to send signal 18 to target: No such process
12-10 20:19:14.614 1277 1302 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
12-10 20:19:14.622 9322 9322 W art : Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg /system/framework/am.jar --instruction-set=arm64 --instruction-set-features=smp,a53 --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --no-watch-dog --dex-file=/system/framework/am.jar --oat-fd=11 --oat-location=/data/dalvik-cache/arm64/[email protected]@[email protected] --compiler-filter=speed) because non-0 exit status
12-10 20:19:14.690 9322 9322 I Radio-JNI: register_android_hardware_Radio DONE
12-10 20:19:14.715 9322 9322 D AndroidRuntime: Calling main entry com.android.commands.am.Am
12-10 20:19:14.733 370 370 E SELinux : avc: denied { find } for service=activity pid=9322 uid=0 scontext=u:r:zygote:s0 tcontext=u:object_r:activity_service:s0 tclass=service_manager permissive=1
12-10 20:19:14.734 370 370 E SELinux : avc: denied { find } for service=package pid=9322 uid=0 scontext=u:r:zygote:s0 tcontext=u:object_r:package_service:s0 tclass=service_manager permissive=1
12-10 20:19:14.732 9322 9322 I main : type=1400 audit(0.0:29): avc: denied { call } for scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1
12-10 20:19:14.732 9322 9322 I main : type=1400 audit(0.0:30): avc: denied { transfer } for scontext=u:r:zygote:s0 tcontext=u:r:system_server:s0 tclass=binder permissive=1
12-10 20:19:14.762 3169 3169 I Binder:1277_7: type=1400 audit(0.0:31): avc: denied { call } for scontext=u:r:system_server:s0 tcontext=u:r:zygote:s0 tclass=binder permissive=1
12-10 20:19:14.774 9322 9322 D AndroidRuntime: Shutting down VM
12-10 20:19:16.169 368 368 I MSM-irqbalance: Decided to move IRQ166 from CPU7 to CPU6
12-10 20:19:16.789 1277 1277 W WindowManager: Attempted to remove non-existing token: [email protected]
12-10 20:19:16.979 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm cleared 2 at 43.0 degC
12-10 20:19:16.979 388 511 E ThermalEngine: Unable to set battery charging mitigation to 1
12-10 20:19:18.558 3073 3497 E ctxmgr : [ProducerActiveIntervalImpl]closeActiveInterval: Error: ongoing, trying to close
12-10 20:19:18.593 3073 5394 I PlaceInferenceEngine: [anon] Setup for configuration 105:[]
12-10 20:19:18.593 3073 5394 I PlaceInferenceEngine: [anon] Active modules after start(): 0
12-10 20:19:21.168 368 368 I MSM-irqbalance: Decided to move IRQ155 from CPU7 to CPU6
12-10 20:19:22.869 9292 9292 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:19:22.878 1277 6085 W InputMethodManagerService: Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
12-10 20:19:26.168 368 368 I MSM-irqbalance: Decided to move IRQ57 from CPU7 to CPU6
12-10 20:19:27.781 388 513 I ThermalEngine: Mitigation:CLUSTER[1]:1459200 Khz
12-10 20:19:28.486 9292 9292 W InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
12-10 20:19:28.486 9292 9292 I FasterGPS: Writing gps.conf to private files...
12-10 20:19:28.493 9371 9371 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.493 9371 9371 W linker : Warning: unable to normalize "null"
12-10 20:19:28.529 9292 9292 I FasterGPS: Remounting for RW...
12-10 20:19:28.532 9381 9381 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.532 9381 9381 W linker : Warning: unable to normalize "null"
12-10 20:19:28.602 9292 9292 I org.fastergps: type=1400 audit(0.0:32): avc: denied { read } for name="RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
12-10 20:19:28.602 9292 9292 I org.fastergps: type=1400 audit(0.0:33): avc: denied { getattr } for path="/data/local/RootToolsMounts" dev="mmcblk0p31" ino=565251 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_data_file:s0 tclass=file permissive=1
12-10 20:19:28.612 9394 9394 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.613 9394 9394 W linker : Warning: unable to normalize "null"
12-10 20:19:28.702 388 511 I ThermalEngine: TM Id 'CHARGING_MONITOR' Sensor 'pop_mem' - alarm raised 2 at 45.0 degC
12-10 20:19:28.702 388 511 E ThermalEngine: Unable to set battery charging mitigation to 2
12-10 20:19:28.715 9407 9407 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.715 9407 9407 W linker : Warning: unable to normalize "null"
12-10 20:19:28.815 9421 9421 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:28.815 9421 9421 W linker : Warning: unable to normalize "null"
12-10 20:19:29.039 9438 9438 E linker : normalize_path - invalid input: "null", the input path should be absolute
12-10 20:19:29.039 9438 9438 W linker : Warning: unable to normalize "null"
12-10 20:19:29.122 9292 9292 I FasterGPS: Copying gps.conf from private files to system partition...
12-10 20:19:29.124 9378 9378 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
12-10 20:19:29.128 9378 9378 D AndroidRuntime: CheckJNI is OFF
12-10 20:19:29.161 9292 9292 I FasterGPS: Remounting back to RO...
--------------------- update ---------------------
I try one of your example command I get this error:
Code:
1|ido:/system/xbin # ./sepolicy-inject -e -c untrusted_app -P /sepolicy -v
libsepol.avtab_read_item: more than one specifier
libsepol.avtab_read: failed on entry 100 of 19609
error(s) encountered while parsing configuration
Could not load policy
Failed
Help me please with the rule. I'm having an error when running the APPS.
E dex2oat : Failed to create oat file: /data/dalvik-cache/arm/[email protected]@[email protected][email protected]: Permission denied
E dex2oat : Failed to create oat file: /data/dalvik-cache/arm/[email protected]@[email protected][email protected]: Permission denied
I think "sepolicy-inject" help me.
Andrew.
can u update it to inject into android 7.1.x sepolicy ...

Help! Google Contacts/Download Manager crashing with ClassNotFoundException

Hello,
Please help as my AT&T bootloader is updated/locked so I can't downgrade to any OEM firmware image from odin. Here is what I did:
Root --> Removed too many apps-->TB restore--xposed-->security update -->reboot loop-->factory reset-->re-root-->installing packages manually through adb-->flashing update.zips
Finally, I have the phone somewhat running. However, various Google apps (app store, setup wizard, contacts) are crashing with a ClassNotFoundException. I have manually installed these .apk using instructions in the forums here. Now, I'm trying to figure out what I did wrong and how to resolve it.
I wasn't sure about the package name/file owner/package permissions or if I need to restore more of the .apks that I removed. Some of the Samsung/Knox/Att apps are still removed. I also came across a post regarding some settings in system/framework/arm/boot.oat, framework-classes2.dex, oat2dex.jar. However, I wasn't sure what to type to check it.
I can run commands and provide any output that will help. Thanks in advance since I just bought this expensive phone!
"Unfortunately, the process android.process.acore has stopped."
09-29 22:52:03.242 8960 8960 E AndroidRuntime: FATAL EXCEPTION: main
09-29 22:52:03.242 8960 8960 E AndroidRuntime: Process: android.process.acore, PID: 8960
09-29 22:52:03.242 8960 8960 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.userdictionary.UserDictionaryProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.userdictionary.UserDictionaryProvider" on path: DexPathList[[zip file "/system/app/UserDictionaryProvider/base.apk"],nativeLibraryDirectories=[/system/app/UserDictionaryProvider/lib/arm64, /vendor/lib64, /system/lib64]]
09-29 22:52:03.242 8960 8960 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6770)
09-29 22:52:03.242 8960 8960 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6362)
[email protected]:/system/app # ls -l ./UserDictionaryProvider/*
ls -l ./UserDictionaryProvider/*
-rw-r--r-- root root 4568 2016-09-29 20:02 base.apk
================================
I get errors like "Unfortunately, Download manager has stopped"
09-29 22:50:39.032 8812 8812 E AndroidRuntime: FATAL EXCEPTION: main
09-29 22:50:39.032 8812 8812 E AndroidRuntime: Process: android.process.media, PID: 8812
09-29 22:50:39.032 8812 8812 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.downloads.DownloadStorageProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.downloads.DownloadStorageProvider" on path: DexPathList[[zip file "/system/framework/secsmartcard.jar", zip file "/system/priv-app/DownloadsProvider/Base.apk"],nativeLibraryDirectories=[/system/priv-app/DownloadsProvider/lib/arm64, /vendor/lib64, /system/lib64]]
[email protected]:/system/app # ls -l /system/priv-app/DownloadsProvider/*
ls -l /system/priv-app/DownloadsProvider/*
-rw-r--r-- root sdcard_rw 66309 2016-09-29 22:10 Base.apk
----------------------------------------------
Bad processes:
Bad process android.process.acore uid 10004: crashed at time 747214
Short msg: java.lang.ClassNotFoundException
Long msg: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.userdictionary.UserDictionaryProvider" on path: DexPathList[[zip file "/system/app/UserDictionaryProvider.apk"],nativeLibraryDirectories=[/system/lib64/UserDictionaryProvider, /vendor/lib64, /system/lib64]]
Stack:
java.lang.RuntimeException: Unable to get provider com.android.providers.userdictionary.UserDictionaryProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.userdictionary.UserDictionaryProvider" on path: DexPathList[[zip file "/system/app/UserDictionaryProvider.apk"],nativeLibraryDirectories=[/system/lib64/UserDictionaryProvider, /vendor/lib64, /system/lib64]]
at android.app.ActivityThread.installProvider(ActivityThread.java:6770)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6362)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6302)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:755)
at android.app.ActivityThread.handleBindApplication(<Xposed>)
at android.app.ActivityThread.access$1800(ActivityThread.java:222)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1861)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7229)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.userdictionary.UserDictionaryProvider" on path: DexPathList[[zip file "/system/app/UserDictionaryProvider.apk"],nativeLibraryDirectories=[/system/lib64/UserDictionaryProvider, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.app.ActivityThread.installProvider(ActivityThread.java:6755)
... 14 more
Suppressed: java.io.IOException: No original dex files found for dex location /system/app/UserDictionaryProvider.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:295)
at dalvik.system.DexFile.<init>(DexFile.java:80)
at dalvik.system.DexFile.<init>(DexFile.java:59)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
at dalvik.system.DexPathList.<init>(DexPathList.java:120)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:84)
at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:45)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:434)
at de.robv.android.xposed.XposedBridge$4.afterHookedMethod(XposedBridge.java:282)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:769)
at android.app.LoadedApk.<init>(<Xposed>)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2559)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2450)
at android.app.ActivityThread.getPackageInfo(ActivityThread.java:2422)
at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:1854)
at android.app.ContextImpl.createPackageContext(ContextImpl.java:1841)
at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:774)
at android.app.ActivityThread.installProvider(ActivityThread.java:6740)
... 14 more
Suppressed: java.lang.ClassNotFoundException: com.android.providers.userdictionary.UserDictionaryProvider
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 16 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
This cause the system process to loop with acore crashing until I disable all the contact related apps and then the crash rate slows and I can work on the phone
--------------------------------
09-29 21:02:00.409 5754 5833 D CapabilityDiscoveryModule: requestInitialCapabilitiesQuery:
09-29 21:02:00.409 5754 5833 D CapabilityDiscoveryModule: requestInitialCapabilitiesQuery: contact is not ready. retry in 1 second.
09-29 21:02:01.419 5754 5833 D CapabilityDiscoveryModule: handleMessage: evt 3
09-29 21:02:01.419 5754 5833 D CapabilityDiscoveryModule: requestInitialCapabilitiesQuery:
09-29 21:02:01.419 5754 5833 D CapabilityDiscoveryModule: requestInitialCapabilitiesQuery: contact is not ready. retry in 1 second.
09-29 21:02:01.909 656 656 I rmt_storage: rmt_storage_connect_cb: clnt_h=0xd conn_h=0x7fa84ba000
09-29 21:02:01.909 656 656 I rmt_storage: rmt_storage_rw_iovec_cb: /boot/modem_fs1: clnt_h=0xd: req_h=0xd msg_id=3: R/W request received
09-29 21:02:01.909 656 656 I rmt_storage: wakelock acquired: 1, error no: 42
09-29 21:02:01.909 656 1008 I rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0xd Unblock worker thread (th_id: 548280202304)
09-29 21:02:01.929 656 1008 I rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0xd: req_h=0xd msg_id=3: Bytes written = 1572864
09-29 21:02:01.929 656 1008 I rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0xd: req_h=0xd msg_id=3: Send response: res=0 err=0
09-29 21:02:01.929 656 1008 I rmt_storage: read_debugfs_status_info: Read status: 0
09-29 21:02:01.929 656 1008 I rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: clnt_h=0xd About to block rmt_storage client thread (th_id: 548280202304) wakelock released: 1, error no: 0
09-29 21:02:01.929 656 1008 I rmt_storage:
====================
Time since processes crashed:
Process com.android.contacts uid 10004: last crashed +1m41s950ms ago
Process android.process.acore uid 10004: last crashed +3m0s72ms ago
Process android.process.media uid 10061: last crashed +5s479ms ago
Phone info (might be out of date due to updates)
=================
Model: SM-G935A
Sales Code: ATT
Android Version: 6.0.1 [MMB29M]
Build Date: Tue Aug 2 18:04:41 KST 2016
PDA Version: G935AUCS2APH1 [august 2016, rev1]
Phone Version: G935AUCS2APH1 [august 2016, rev1]
CSC Version: G935AATT2APH1 [august 2016, rev1]
Product Code: SM-G935AZSAATT
Knox Version: v30
Warranty Bit: 0
Security Patch: 2016-08-01
current binary: samsung official
========================
127|[email protected]:/system/app # dumpsys package com.android.providers.userdictionary
umpsys package com.android.providers.userdictionary <
Registered ContentProviders:
com.android.providers.userdictionary/.UserDictionaryProvider:
Provider{f4ce69c com.android.providers.userdictionary/.UserDictionaryProvider}
ContentProvider Authorities:
[user_dictionary]:
Provider{f4ce69c com.android.providers.userdictionary/.UserDictionaryProvider}
applicationInfo=ApplicationInfo{aa9e8a5 com.android.providers.userdictionary}
Key Set Manager:
[com.android.providers.userdictionary]
Signing KeySets: 2
Packages:
Package [com.android.providers.userdictionary] (64cc22f):
userId=10004
sharedUser=SharedUserSetting{be9c42b android.uid.shared/10004}
pkg=Package{ff56a21 com.android.providers.userdictionary}
codePath=/system/app/UserDictionaryProvider
resourcePath=/system/app/UserDictionaryProvider
legacyNativeLibraryDir=/system/app/UserDictionaryProvider/lib
primaryCpuAbi=null
secondaryCpuAbi=null
nativeLibraryRootDir=/system/app/UserDictionaryProvider/lib
nativeLibraryDir=/system/app/UserDictionaryProvider/lib/arm64
secondaryNativeLibraryDir=null
nativeLibraryRootRequiresIsa=true
dexMode=unknown
versionCode=23 targetSdk=23
versionName=6.0.1
splits=[base]
applicationInfo=ApplicationInfo{85a6e46 com.android.providers.userdictionary}
flags=[ SYSTEM HAS_CODE ALLOW_BACKUP ]
dataDir=/data/user/0/com.android.providers.userdictionary
supportsScreens=[small, medium, large, xlarge, resizeable, anyDensity]
timeStamp=2016-09-29 21:44:27
firstInstallTime=2016-09-29 20:02:04
lastUpdateTime=2016-09-29 20:02:04
signatures=PackageSignatures{c3e7807 [b956d34]}
installPermissionsFixed=true installStatus=1
pkgFlags=[ SYSTEM HAS_CODE ALLOW_BACKUP ]
install permissions:
com.cequint.ecid.CALLER_ID_LOOKUP, granted=true, flags=0x0
android.permission.WRITE_SETTINGS, granted=true, flags=0x0
com.samsung.android.memo.READ, granted=true, flags=0x0
android.permission.USE_CREDENTIALS, granted=true, flags=0x0
com.sec.android.app.parser.permission.SERVICE, granted=true, flags=0x0
android.permission.MODIFY_AUDIO_SETTINGS, granted=true, flags=0x0
com.sec.android.app.sns3.permission.RECEIVE_SNS_BROADCAST, granted=true, flags=0x0
com.google.android.providers.gsf.permission.READ_GSERVICES, granted=true, flags=0x0
android.permission.MANAGE_ACCOUNTS, granted=true, flags=0x0
com.sec.imsservice.PERMISSION, granted=true, flags=0x0
android.permission.SEND_RESPOND_VIA_MESSAGE, granted=true, flags=0x0
com.sec.phone.permission.SEC_FACTORY_PHONE, granted=true, flags=0x0
android.permission.NFC, granted=true, flags=0x0
android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION, granted=true, flags=0x0
com.samsung.android.providers.context.permission.WRITE_EXCHANGE_CALL, granted=true, flags=0x0
android.permission.CALL_PRIVILEGED, granted=true, flags=0x0
android.permission.CHANGE_NETWORK_STATE, granted=true, flags=0x0
android.permission.WRITE_SYNC_SETTINGS, granted=true, flags=0x0
com.sec.imsservice.READ_IMS_PERMISSION, granted=true, flags=0x0
android.permission.RECEIVE_BOOT_COMPLETED, granted=true, flags=0x0
com.sec.android.app.sns3.permission.READ_SNS_DB, granted=true, flags=0x0
com.wssnps.permission.COM_WSSNPS, granted=true, flags=0x0
com.sec.android.settings.permission.SOFT_RESET, granted=true, flags=0x0
com.samsung.rcs.presence.WRITE_PERMISSION, granted=true, flags=0x0
com.android.launcher.permission.UNINSTALL_SHORTCUT, granted=true, flags=0x0
android.permission.READ_PROFILE, granted=true, flags=0x0
android.permission.BLUETOOTH, granted=true, flags=0x0
com.samsung.android.email.permission.ACCESS_PROVIDER, granted=true, flags=0x0
android.permission.WRITE_MEDIA_STORAGE, granted=true, flags=0x0
com.android.voicemail.permission.READ_VOICEMAIL, granted=true, flags=0x0
android.permission.GET_TASKS, granted=true, flags=0x0
com.android.incallui.remotecall.RemoteCallIntentService, granted=true, flags=0x0
android.permission.INTERNET, granted=true, flags=0x0
com.sec.android.phone.permission.WRITE_CALL_SETTINGS, granted=true, flags=0x0
com.sec.android.provider.emergencymode.READ_DATABASE, granted=true, flags=0x0
com.samsung.android.provider.filterprovider.permission.READ_FILTER, granted=true, flags=0x0
android.permission.WRITE_PROFILE, granted=true, flags=0x0
android.permission.WRITE_SECURE_SETTINGS, granted=true, flags=0x0
com.samsung.android.dualscreen.permission.USE_INTERNAL_APIS, granted=true, flags=0x0
com.sec.permission.BACKUP_RESTORE_HOMESCREEN, granted=true, flags=0x0
com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY, granted=true, flags=0x0
com.samsung.android.permission.MANAGE_CUSTOM_STARTING_WINDOW, granted=true, flags=0x0
android.permission.CHANGE_WIFI_STATE, granted=true, flags=0x0
android.permission.MANAGE_USERS, granted=true, flags=0x0
android.permission.ACCESS_NETWORK_STATE, granted=true, flags=0x0
com.sec.android.app.snsimagecache.permission.READ_SNSIMAGECACHE_DB, granted=true, flags=0x0
com.sec.android.phone.permission.READ_CALL_SETTINGS, granted=true, flags=0x0
android.permission.INTERACT_ACROSS_USERS, granted=true, flags=0x0
com.samsung.rcs.presence.READ_PERMISSION, granted=true, flags=0x0
com.sec.imsservice.WRITE_IMS_PERMISSION, granted=true, flags=0x0
com.sec.enterprise.knox.MDM_CONTENT_PROVIDER, granted=true, flags=0x0
android.permission.BIND_DIRECTORY_SEARCH, granted=true, flags=0x0
android.permission.READ_SYNC_STATS, granted=true, flags=0x0
android.permission.REBOOT, granted=true, flags=0x0
com.sec.android.permission.VOIP_INTERFACE, granted=true, flags=0x0
android.permission.READ_SYNC_SETTINGS, granted=true, flags=0x0
android.permission.VIBRATE, granted=true, flags=0x0
android.permission.SEND_CALL_LOG_CHANGE, granted=true, flags=0x0
com.sec.android.kies.calllog.BROADCAST_DETECT, granted=true, flags=0x0
com.android.voicemail.permission.WRITE_VOICEMAIL, granted=true, flags=0x0
android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK, granted=true, flags=0x0
android.permission.ACCESS_WIFI_STATE, granted=true, flags=0x0
com.samsung.android.app.assistantmenu.permission.ADVERTISE_ASSISTANTMENU, granted=true, flags=0x0
android.permission.MODIFY_PHONE_STATE, granted=true, flags=0x0
com.android.launcher.permission.INSTALL_SHORTCUT, granted=true, flags=0x0
android.permission.STATUS_BAR, granted=true, flags=0x0
android.permission.READ_SOCIAL_STREAM, granted=true, flags=0x0
android.permission.WAKE_LOCK, granted=true, flags=0x0
com.sec.ims.android.rcs.READ_PERMISSION, granted=true, flags=0x0
android.permission.UPDATE_APP_OPS_STATS, granted=true, flags=0x0
User 0: installed=true hidden=false stopped=false notLaunched=false enabled=0
mPackagesOnlyForOwnerUser:
mComponentsOnlyForOwnerUser:
Shared users:
SharedUser [android.uid.shared] (be9c42b):
userId=10004
install permissions:
com.cequint.ecid.CALLER_ID_LOOKUP, granted=true, flags=0x0
android.permission.WRITE_SETTINGS, granted=true, flags=0x0
com.samsung.android.memo.READ, granted=true, flags=0x0
android.permission.USE_CREDENTIALS, granted=true, flags=0x0
com.sec.android.app.parser.permission.SERVICE, granted=true, flags=0x0
android.permission.MODIFY_AUDIO_SETTINGS, granted=true, flags=0x0
com.sec.android.app.sns3.permission.RECEIVE_SNS_BROADCAST, granted=true, flags=0x0
com.google.android.providers.gsf.permission.READ_GSERVICES, granted=true, flags=0x0
android.permission.MANAGE_ACCOUNTS, granted=true, flags=0x0
com.sec.imsservice.PERMISSION, granted=true, flags=0x0
android.permission.SEND_RESPOND_VIA_MESSAGE, granted=true, flags=0x0
com.sec.phone.permission.SEC_FACTORY_PHONE, granted=true, flags=0x0
android.permission.NFC, granted=true, flags=0x0
android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION, granted=true, flags=0x0
com.samsung.android.providers.context.permission.WRITE_EXCHANGE_CALL, granted=true, flags=0x0
android.permission.CALL_PRIVILEGED, granted=true, flags=0x0
android.permission.CHANGE_NETWORK_STATE, granted=true, flags=0x0
android.permission.WRITE_SYNC_SETTINGS, granted=true, flags=0x0
com.sec.imsservice.READ_IMS_PERMISSION, granted=true, flags=0x0
android.permission.RECEIVE_BOOT_COMPLETED, granted=true, flags=0x0
com.sec.android.app.sns3.permission.READ_SNS_DB, granted=true, flags=0x0
com.wssnps.permission.COM_WSSNPS, granted=true, flags=0x0
com.sec.android.settings.permission.SOFT_RESET, granted=true, flags=0x0
com.samsung.rcs.presence.WRITE_PERMISSION, granted=true, flags=0x0
com.android.launcher.permission.UNINSTALL_SHORTCUT, granted=true, flags=0x0
android.permission.READ_PROFILE, granted=true, flags=0x0
android.permission.BLUETOOTH, granted=true, flags=0x0
com.samsung.android.email.permission.ACCESS_PROVIDER, granted=true, flags=0x0
android.permission.WRITE_MEDIA_STORAGE, granted=true, flags=0x0
com.android.voicemail.permission.READ_VOICEMAIL, granted=true, flags=0x0
android.permission.GET_TASKS, granted=true, flags=0x0
com.android.incallui.remotecall.RemoteCallIntentService, granted=true, flags=0x0
android.permission.INTERNET, granted=true, flags=0x0
com.sec.android.phone.permission.WRITE_CALL_SETTINGS, granted=true, flags=0x0
com.sec.android.provider.emergencymode.READ_DATABASE, granted=true, flags=0x0
com.samsung.android.provider.filterprovider.permission.READ_FILTER, granted=true, flags=0x0
android.permission.WRITE_PROFILE, granted=true, flags=0x0
android.permission.WRITE_SECURE_SETTINGS, granted=true, flags=0x0
com.samsung.android.dualscreen.permission.USE_INTERNAL_APIS, granted=true, flags=0x0
com.sec.permission.BACKUP_RESTORE_HOMESCREEN, granted=true, flags=0x0
com.samsung.android.providers.context.permission.WRITE_USE_APP_FEATURE_SURVEY, granted=true, flags=0x0
com.samsung.android.permission.MANAGE_CUSTOM_STARTING_WINDOW, granted=true, flags=0x0
android.permission.CHANGE_WIFI_STATE, granted=true, flags=0x0
android.permission.MANAGE_USERS, granted=true, flags=0x0
android.permission.ACCESS_NETWORK_STATE, granted=true, flags=0x0
com.sec.android.app.snsimagecache.permission.READ_SNSIMAGECACHE_DB, granted=true, flags=0x0
com.sec.android.phone.permission.READ_CALL_SETTINGS, granted=true, flags=0x0
android.permission.INTERACT_ACROSS_USERS, granted=true, flags=0x0
com.samsung.rcs.presence.READ_PERMISSION, granted=true, flags=0x0
com.sec.imsservice.WRITE_IMS_PERMISSION, granted=true, flags=0x0
com.sec.enterprise.knox.MDM_CONTENT_PROVIDER, granted=true, flags=0x0
android.permission.BIND_DIRECTORY_SEARCH, granted=true, flags=0x0
android.permission.READ_SYNC_STATS, granted=true, flags=0x0
android.permission.REBOOT, granted=true, flags=0x0
com.sec.android.permission.VOIP_INTERFACE, granted=true, flags=0x0
android.permission.READ_SYNC_SETTINGS, granted=true, flags=0x0
android.permission.VIBRATE, granted=true, flags=0x0
android.permission.SEND_CALL_LOG_CHANGE, granted=true, flags=0x0
com.sec.android.kies.calllog.BROADCAST_DETECT, granted=true, flags=0x0
com.android.voicemail.permission.WRITE_VOICEMAIL, granted=true, flags=0x0
android.permission.ALLOW_ANY_CODEC_FOR_PLAYBACK, granted=true, flags=0x0
android.permission.ACCESS_WIFI_STATE, granted=true, flags=0x0
com.samsung.android.app.assistantmenu.permission.ADVERTISE_ASSISTANTMENU, granted=true, flags=0x0
android.permission.MODIFY_PHONE_STATE, granted=true, flags=0x0
com.android.launcher.permission.INSTALL_SHORTCUT, granted=true, flags=0x0
android.permission.STATUS_BAR, granted=true, flags=0x0
android.permission.READ_SOCIAL_STREAM, granted=true, flags=0x0
android.permission.WAKE_LOCK, granted=true, flags=0x0
com.sec.ims.android.rcs.READ_PERMISSION, granted=true, flags=0x0
android.permission.UPDATE_APP_OPS_STATS, granted=true, flags=0x0
User 0:
gids=[3002, 1023, 1015, 3003]
runtime permissions:
android.permission.READ_SMS, granted=true, flags=0x20
android.permission.READ_CALL_LOG, granted=true, flags=0x20
android.permission.READ_EXTERNAL_STORAGE, granted=true, flags=0x20
android.permission.READ_PHONE_STATE, granted=true, flags=0x20
android.permission.CALL_PHONE, granted=true, flags=0x20
android.permission.WRITE_CONTACTS, granted=true, flags=0x20
android.permission.CAMERA, granted=true, flags=0x20
android.permission.WRITE_CALL_LOG, granted=true, flags=0x20
android.permission.GET_ACCOUNTS, granted=true, flags=0x20
android.permission.WRITE_EXTERNAL_STORAGE, granted=true, flags=0x20
android.permission.READ_CONTACTS, granted=true, flags=0x20
com.android.voicemail.permission.ADD_VOICEMAIL, granted=true, flags=0x20
Not granted runtime permissions:
android.permission.ACCESS_FINE_LOCATION
android.permission.ACCESS_COARSE_LOCATION
android.permission.READ_CALENDAR
[email protected]:/system/app #
------------------------
[email protected]:/ # pm list packages | grep providers
pm list packages | grep providers
package:com.sec.android.providers.mapcon
package:com.android.providers.telephony
package:com.sec.android.providers.iwlansettings
package:com.android.providers.calendar
package:com.android.providers.downloads
package:com.sec.android.providers.security
package:com.samsung.android.providers.context
package:com.android.providers.settings
package:com.sec.android.providers.tasks
package:com.android.providers.partnerbookmarks
package:com.android.providers.userdictionary
package:com.android.providers.contacts
[email protected]:/ # pm list packages | grep google
pm list packages | grep google
package:com.google.android.youtube
package:com.google.android.googlequicksearchbox
package:com.google.android.onetimeinitializer
package:com.google.android.configupdater
package:com.google.android.setupwizard
package:com.google.android.apps.cloudprint
package:com.google.android.apps.docs
package:com.google.android.apps.maps
package:com.google.android.webview
package:com.google.android.syncadapters.contacts
package:com.google.android.packageinstaller
package:com.google.android.gms
package:com.google.android.gsf
package:com.google.android.tts
package:com.google.android.apps.walletnfcrel
package:com.google.android.partnersetup
package:com.google.android.feedback
package:com.google.android.apps.photos
package:com.google.android.calendar
package:com.google.android.syncadapters.calendar
package:com.google.android.gsf.login
package:com.google.android.backuptransport
Update: It appears that my .apk files from my TB are missing the .dex files. See the directory listing below They must have gotten corrupted somehow. I downloaded a ROM and extracted the package for comparison. The directory output is listed below. I am going to try to install the package from the Rom to my phone and see if that works.
c:\ADB\Fix\SecDownloadProvider\SecDownloadProvider.apk>dir *.*
Volume in drive C is OSDisk
Volume Serial Number is 9479-1398
Directory of c:\ADB\Fix\SecDownloadProvider\SecDownloadProvider.apk
09/30/2016 04:58 AM <DIR> .
09/30/2016 04:58 AM <DIR> ..
06/22/2011 10:25 PM 11,056 AndroidManifest.xml
09/01/2016 06:55 PM 508,400 classes.dex
09/30/2016 04:58 AM <DIR> META-INF
09/30/2016 04:58 AM <DIR> res
06/22/2011 10:25 PM 325,344 resources.arsc
09/30/2016 04:58 AM <DIR> SEC-INF
3 File(s) 844,800 bytes
5 Dir(s) 9,350,660,096 bytes free
c:\ADB\Fix\SecDownloadProvider\SecDownloadProvider.apk>cd ..\..\original\com.android.providers.downloads-d2fe90ec39edf21aa56916fa5fd4a87f.apk
c:\ADB\Fix\original\com.android.providers.downloads-d2fe90ec39edf21aa56916fa5fd4a87f.apk>dir *.*
Volume in drive C is OSDisk
Volume Serial Number is 9479-1398
Directory of c:\ADB\Fix\original\com.android.providers.downloads-d2fe90ec39edf21aa56916fa5fd4a87f.apk
09/30/2016 04:59 AM <DIR> .
09/30/2016 04:59 AM <DIR> ..
06/22/2011 10:25 PM 10,824 AndroidManifest.xml
09/30/2016 04:59 AM <DIR> META-INF
09/30/2016 04:59 AM <DIR> res
06/22/2011 10:25 PM 37,608 resources.arsc
2 File(s) 48,432 bytes
4 Dir(s) 9,350,660,096 bytes free
c:\ADB\Fix\original\com.android.providers.userdictionary-70d22165a8fd663e8b760301ad62e796.apk>dir *.dex
Volume in drive C is OSDisk
Volume Serial Number is 9479-1398
Directory of c:\ADB\Fix\original\com.android.providers.userdictionary-70d22165a8fd663e8b760301ad62e796.apk
File Not Found
c:\ADB\Fix\original\com.android.providers.userdictionary-70d22165a8fd663e8b760301ad62e796.apk>dir cd ..\..\UserDictionaryProvider\UserDictionaryProvider.apk\*.dex
Volume in drive C is OSDisk
Volume Serial Number is 9479-1398
Directory of c:\ADB\Fix\original\com.android.providers.userdictionary-70d22165a8fd663e8b760301ad62e796.apk
File Not Found
Directory of c:\ADB\Fix\UserDictionaryProvider\UserDictionaryProvider.apk
09/01/2016 06:50 PM 16,308 classes.dex
1 File(s) 16,308 bytes
0 Dir(s) 9,350,332,416 bytes free
Update: I installed those two .apk files and flashed gapps. Now I'm getting a crash in the setup wizard. It might be related to this post on github.com /opengapps/opengapps/wiki/Notes-for-CMSetupWizard. I'm not sure yet.
Steps used to try and install the version of the two .apk files that I got from the ROM
[email protected]:/ #
mount -o rw,remount /system
mount -o rw,remount rootfs /
[email protected]:/ # mount -o rw,remount /system
mkdir /system/app/UserDictionaryProvider
mkdir /system/app/UserDictionaryProvider
[email protected]:/ # chmod 755 /system/app/UserDictionaryProvider
chmod 755 /system/app/UserDictionaryProvider
[email protected]:/ # cp /storage/6585-415F/Fix/UserDictionaryProvider/UserDictionaryProvider.apk /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
ystem/app/UserDictionaryProvider/UserDictionaryProvider.apk <
[email protected]:/ # chmod 644 /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
od 644 /system/app/UserDictionaryProvider/UserDictionaryProvider.apk <
[email protected]:/ # ls /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
/system/app/UserDictionaryProvider/UserDictionaryProvider.apk <
/system/app/UserDictionaryProvider/UserDictionaryProvider.apk
[email protected]:/ # ls -l /system/app/UserDictionaryProvider/UserDictionaryProvider.apk
-rw-r--r-- root root 22845 2016-09-30 05:14 UserDictionaryProvider.apk
[email protected]:/ # ls /system/priv-app/SecDownloadProvider.apk
/system/priv-app/SecDownloadProvider.apk: No such file or directory
|[email protected]:/ # ls /system/priv-app/SecDownloadProvider/*
/system/priv-app/SecDownloadProvider/*: No such file or directory
[email protected]:/ # mkdir /system/priv-app/SecDownloadProvider
mkdir /system/priv-app/SecDownloadProvider
[email protected]:/ # chmod 755 /system/priv-app/SecDownloadProvider
chmod 755 /system/priv-app/SecDownloadProvider
[email protected]:/ # cp /storage/6585-415F/Fix/SecDownloadProvider/SecDownloadProvider.apk /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
m/priv-app/SecDownloadProvider/SecDownloadProvider.apk
[email protected]:/ # chmod 644 /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
od 644 /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
[email protected]:/ # ls -l /system/priv-app/SecDownloadProvider/SecDownloadProvider.apk
-rw-r--r-- root root 558572 2016-09-30 05:19 SecDownloadProvider.apk
Error that I am getting now
=========================
09-30 06:55:20.875 10384 10384 I WifiSettings: Registering receiver concurrent Wifi and MHS
09-30 06:55:20.885 1351 2888 D SettingsProvider: isChangeAllowed() : name = wifi_watchdog_poor_network_test_enabled
09-30 06:55:20.885 1351 2196 D SettingsProvider: isChangeAllowed() : name = wifi_poor_connection_warning
09-30 06:55:20.885 10384 10384 D AndroidRuntime: Shutting down VM
09-30 06:55:20.885 10384 10384 E AndroidRuntime: FATAL EXCEPTION: main
09-30 06:55:20.885 10384 10384 E AndroidRuntime: Process: com.android.settings, PID: 10384
09-30 06:55:20.885 10384 10384 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'android.widget.ListAdapter android.preference.PreferenceScreen.getRootAdapter()' on a null object reference
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.settings.wifi.WifiSettingsForSetupWizard.onActivityCreated(WifiSettingsForSetupWizard.java:106)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.Fragment.performActivityCreated(Fragment.java:2289)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1007)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1163)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.BackStackRecord.run(BackStackRecord.java:793)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1552)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:567)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:2217)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.settings.SettingsActivity$8.run(SettingsActivity.java:1350)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.os.Looper.loop(Looper.java:158)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7229)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
09-30 06:55:20.885 10384 10384 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
09-30 06:55:20.895 1351 3652 I PersonaManager: mKnoxInfo is empty
09-30 06:55:20.895 1351 3652 W ActivityManager: Force finishing activity com.android.settings/.wifi.WifiSetupActivity
Update:
I tried updating all the permissions for every google app, but still no luck. Finally I got the system to boot by disabling the setup wizard
pm disable com.google.android.setupwizard
I setup wiFi and then I tried to start some google apps and I found that google play services was not installed. I check the pm list packages output and gms was not showing up in the list of packages.
I downloaded the correct version of gms apk and installed it. After this I enabled package manager
pm enable com.google.android.setupwizard
The wizard still crashed with the same class not found error. However, it then moved past the error and setup the phone anyway. The phone logged in and most things are working. I am updating all apps from the store and am working on a few issues like the contacts not working.
The phone is up and running now. I am having some issues with packages which see to be related to the odex.
To get around the issue, I connect with adb shell catlog and search up for FATAL to see the crash stack.
I am still working on it to try to figure out what is wrong. From some searched on odex files,
I might have to deodex the file or find a deodex one from a ROM. I think what happened to my installation
is that I got corrupted/missing odx odex data for the system service providers. This might have
been from TB "integrate into system rom" operations that I did. I'll continue tomorrow.
//had some issues trying to set ringtones and other problems
//found that the media storage provider was not installed
//from adb shell, logcat shows the following crash over and over when searching up for FATAL in the output
--------------------------
10-01 05:36:53.589 4214 4226 I art : Wrote stack traces to '/data/anr/traces.txt'
10-01 05:36:53.589 1396 2217 I Process : Sending signal. PID: 4206 SIG: 3
10-01 05:36:53.589 4206 4212 I art : Thread[2,tid=4212,WaitingInMainSignalCatcherLoop,Thread*=0x7f8c71c000,peer=0x12c6d0a0,"Signal Catcher"]: reacting to signal 3
10-01 05:36:53.589 6347 6347 D AndroidRuntime: Shutting down VM
10-01 05:36:53.599 6347 6347 E AndroidRuntime: FATAL EXCEPTION: main
10-01 05:36:53.599 6347 6347 E AndroidRuntime: Process: android.process.media, PID: 6347
10-01 05:36:53.599 6347 6347 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaDocumentsProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.media.MediaDocumentsProvider" on path: DexPathList[[zip file "/system/priv-app/SecMediaProvider/SecMediaProvider.apk"],nativeLibraryDirectories=[/system/priv-app/SecMediaProvider/lib/arm64, /vendor/lib64, /system/lib64]]
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6770)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6362)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6302)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:755)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(<Xposed>)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:222)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1861)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.os.Looper.loop(Looper.java:158)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7229)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
10-01 05:36:53.599 6347 6347 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
//cpu is pegged due to system process looping as the media provider crashes
[email protected]:/ # top -m 4
top -m 4
User 27%, System 36%, IOW 0%, IRQ 1%
User 360 + Nice 1 + Sys 487 + Idle 464 + IOW 8 + IRQ 8 + SIRQ 9 = 1337
PID PR CPU% S #THR VSS RSS PCY UID Name
1396 3 30% S 205 2569632K 273356K fg system system_server
6697 1 16% S 17 2192572K 99180K bg u0_a181 com.wunderground.android.weather
6750 1 2% R 1 7568K 2836K fg root top
1015 1 0% S 5 2143016K 114400K fg root zygote64
//then I disabled the media provider
1|[email protected]:/ # pm disable com.android.providers.media
pm disable com.android.providers.media
Package com.android.providers.media new state: disabled
//cpu dropped
ser 14%, System 32%, IOW 0%, IRQ 1%
User 111 + Nice 89 + Sys 442 + Idle 692 + IOW 3 + IRQ 10 + SIRQ 13 = 1360
PID PR CPU% S #THR VSS RSS PCY UID Name
1396 0 15% S 221 2621096K 223988K fg system system_server
651 3 5% S 1 7284K 2360K fg system /system/bin/servicemanager
135 0 4% S 1 0K 0K fg root kswapd0
983 3 2% S 1 65284K 9728K fg root /system/bin/installd
here is the current directory structure
[email protected]:/system/priv-app/SecMediaProvider # ls
ls
SecMediaProvider.apk
arm64
[email protected]:/system/priv-app/SecMediaProvider # cd arm64
cd arm64
[email protected]:/system/priv-app/SecMediaProvider/arm64 # ls
ls
SecMediaProvider.odex
//then I used TB(Titanium Backup) to clean up dalvik cache
//However, when enabling the provider again, it still hung.
//Since the crash error listed a lib directory, I tried moving the .odex there,
[email protected]:/system/priv-app/SecMediaProvider/arm64 #
mount -o rw,remount /system
mount -o rw,remount rootfs /
<
[email protected]:/system/priv-app/SecMediaProvider/arm64 # cd ..
cd ..
127|[email protected]:/system/priv-app/SecMediaProvider # mkdir lib
mkdir lib
[email protected]:/system/priv-app/SecMediaProvider # mv arm64 lib/arm64
mv arm64 lib/arm64
[email protected]:/system/priv-app/SecMediaProvider # ls
ls
SecMediaProvider.apk
lib
[email protected]:/system/priv-app/SecMediaProvider # cd lib
cd lib
[email protected]:/system/priv-app/SecMediaProvider/lib # ls
ls
arm64
[email protected]:/system/priv-app/SecMediaProvider/lib # cd arm64
cd arm64
[email protected]:/system/priv-app/SecMediaProvider/lib/arm64 # ls
ls
SecMediaProvider.odex
[email protected]:/system/priv-app/SecMediaProvider/lib/arm64 # pm enable com.android.providers.media
m enable com.android.providers.media
<
Package com.android.providers.media new state: enabled
[email protected]:/system/priv-app/SecMediaProvider/lib/arm64 #
//still got a hang; however, the CPU was not pegged and I was able to navigate a bit
//went to devices\Applications\Application Manager --> more\show system apps
// Then I went to Media Storage and cleared the cache and data
10-01 06:04:19.009 976 1368 I APM::AudioPolicyManager: stopOutput() output 4, stream 1, session 190
10-01 06:04:19.019 19156 19156 I InjectionManager: Inside getClassLibPath caller
10-01 06:04:19.029 19156 19156 D RelationGraph: garbageCollect()
10-01 06:04:19.029 19156 19156 I InjectionManager: Inside getClassLibPath + mLibMap{0=, 1=}
10-01 06:04:19.029 19156 19156 D ContextRelationManager: ContextRelationManager() : FEATURE_ENABLED=true
10-01 06:04:19.029 19156 19156 W ResourcesManager: getTopLevelResources: /system/priv-app/SecMediaProvider/SecMediaProvider.apk / 1.0 running in com.android.providers.media rsrc of package com.android.providers.media
10-01 06:04:19.029 1396 3479 I InjectionManagerService -AppFeature: getCoreFeaturePkgList :[]
10-01 06:04:19.029 19156 19156 D ResourcesManager: For user 0 new overlays fetched [/data/overlays/style/com.s6theme.Astarlitnight/com.s6theme.Astarlitnight.common.apk, /data/overlays/style/com.s6theme.Astarlitnight/com.s6theme.Astarlitnight.touchwiz.apk, /data/overlays/style/com.s6theme.Astarlitnight/com.s6theme.Astarlitnight.media.apk]
10-01 06:04:19.039 19156 19156 D AndroidRuntime: Shutting down VM
10-01 06:04:19.049 19156 19156 E AndroidRuntime: FATAL EXCEPTION: main
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Process: android.process.media, PID: 19156
10-01 06:04:19.049 19156 19156 E AndroidRuntime: java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaDocumentsProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.media.MediaDocumentsProvider" on path: DexPathList[[zip file "/system/priv-app/SecMediaProvider/SecMediaProvider.apk"],nativeLibraryDirectories=[/system/priv-app/SecMediaProvider/lib/arm64, /vendor/lib64, /system/lib64]]
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6770)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6362)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6302)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:755)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(<Xposed>)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:222)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1861)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.os.Looper.loop(Looper.java:158)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7229)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:133)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.media.MediaDocumentsProvider" on path: DexPathList[[zip file "/system/priv-app/SecMediaProvider/SecMediaProvider.apk"],nativeLibraryDirectories=[/system/priv-app/SecMediaProvider/lib/arm64, /vendor/lib64, /system/lib64]]
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6755)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: ... 14 more
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Suppressed: java.io.IOException: No original dex files found for dex location /system/priv-app/SecMediaProvider/SecMediaProvider.apk
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexFile.openDexFileNative(Native Method)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexFile.openDexFile(DexFile.java:295)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:80)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexFile.<init>(DexFile.java:59)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.DexPathList.<init>(DexPathList.java:120)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:84)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:45)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at android.app.LoadedApk.getClassLoader(LoadedApk.java:434)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:200)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:735)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: ... 10 more
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Suppressed: java.lang.ClassNotFoundException: com.android.providers.media.MediaDocumentsProvider
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.Class.classForName(Native Method)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
10-01 06:04:19.049 19156 19156 E AndroidRuntime: ... 16 more
10-01 06:04:19.049 19156 19156 E AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
10-01 06:04:19.049 1396 3519 I PersonaManager: mKnoxInfo is empty
10-01 06:04:19.049 1396 3760 I Process : Sending signal. PID: 1396 SIG: 3
10-01 06:04:19.049 1396 3760 I Process : Sending signal. PID: 18955 SIG: 3
10-01 06:04:19.049 1396 1402 I art : Thread[2,tid=1402,WaitingInMainSignalCatcherLoop,Thread*=0x7f8c71c000,peer=0x12c010a0,"Signal Catcher"]: reacting to signal 3
10-01 06:04:19.049 1396 3519 W ActivityManager: Process android.process.media has crashed too many times: killing!
10-01 06:04:19.049 1396 3519 I ActivityManager: Killing 19156:android.process.media/u0a61 (adj 0): crash
10-01 06:04:19.049 1396 3519 D ActivityManager: isAutoRunBlockedApp:: com.android.providers.media, Auto Run ON
10-01 06:04:19.049 1396 3760 W ActivityManager: Unable to launch app com.android.providers.media/10061 for provider media: launching app became null
10-01 06:04:19.049 18955 18997 E ActivityThread: Failed to find provider info for media
10-01 06:04:19.059 18955 18960 I art : Thread[2,tid=18960,WaitingInMainSignalCatcherLoop,Thread*=0x7f8bc1d000,peer=0x12c6f0a0,"Signal Catcher"]: reacting to signal 3
Update: I got this resolved. I was able to find a deodexed ROM for an S7 edge. I copied the .apk file for the SecMediaProvider from the Rom to my device and everything appears to be working properly now.

HavocOS_2.9 Fastboot ROM

This file is exclusively prepared by BN_P
for
Asus Zenfone Max M2 (X01AD). It is havoc Pie 2.9 on pie vendor, Firmware-JP-16.2018.1910.52.
How to ::
1. Confirm your device model as above.
2. No need to be worried on which build your device is presently. This Rom can be flashed on any build. Also seperate unlock bootloader not required... It will b done by flash process automatically.
3. Only for windows users, flashing can be done in windows only.
Before start flashing,
Unzip the downloaded file. Put it in a folder in desktop.
There is a file named "system+vendor.zip" or something like that, unzip that, refer readme guide for details.
Put those above unzipped .img files in the main folder i.e same location of flash_all.cmd.
4. Put your device in fastboot mode, connect to PC and run the flash_all.cmd, just double click on it.
5. Follow the pop up screen.
6. Data erase will be required after flashing before boot.
Detailed process available in readme file inside.
Best of luck
This ROM is included
TWRP+Magisk
opengapps pico
Gcam
Ampere app
Viper sound mod
Google Phone Dialer
Safetynet Fixed
Bugs::
You tell me.
Thanks to::
@vincent for HavocOS GSI image.
[MENTION=268073]topjhonwu for magisk
Link for file...
https://www.androidfilehost.com/?w=files&flid=293310
NB Drop a line in comment section mentioning your feedback / bugs / experience
Updated version V2
Changelog
Magisk19.3 (magisk20 creating problem)
Updated gapps
Fastboot flashscript errors removed
added viper sound mod
updated twrp3.3.1-0
(NB:: Need to unzip system.zip, vendor.zip,recovery.zip,boot.zip to get corrsponding img files before flash)
what are the differences from havoc 2.9 gsi? (besides TWRP + Magisk20.1 opengapps pico Gcam Ampere app Google Phone Dialer Safetynet Fixed)
Gcam version? all work fine?
KLozhev said:
what are the differences from havoc 2.9 gsi? (besides TWRP + Magisk20.1 opengapps pico Gcam Ampere app Google Phone Dialer Safetynet Fixed)
Gcam version? all work fine?
Click to expand...
Click to collapse
It is a fastboot rom.... Can b flashed thru fastboot mode without twrp/custom recovery. No need to unlock bootloader seperately.
Everything will b done thru flashing script... U can say
Its a one click install rom.
[email protected] said:
It is a fastboot rom.... Can b flashed thru fastboot mode without twrp/custom recovery. No need to unlock bootloader seperately.
Everything will b done thru flashing script... U can say
Its a one click install rom.
Click to expand...
Click to collapse
thx
[email protected] said:
TWRP+Magisk20.1
Gcam
Click to expand...
Click to collapse
Gcam not work
without root
in TWRP 3.2.3(!) not work, mtp, adb, microsb
in archive missing generate_image.exe
Code:
934 I ActivityManager: START u0 {act=android.content.pm.action.REQUEST_PERMISSIONS pkg=com.google.android.packageinstaller cmp=com.google.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity (has extras)} from uid 10230
10-28 16:42:04.510 1532 3811 D StorageManagerService: UID 10230 is actively using camera; letting them defy reserved cached data
--------- beginning of crash
10-28 16:42:04.570 8619 8665 E AndroidRuntime: FATAL EXCEPTION: GoogleApiHandler
10-28 16:42:04.570 8619 8665 E AndroidRuntime: Process: com.google.android.GoogleCamera, PID: 8619
10-28 16:42:04.570 8619 8665 E AndroidRuntime: java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.google.android.GoogleCamera, sha1=61ed377e85d386a8dfee6b864bd85b0bfaa5af81, atk=false, ver=14848037.true
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:1950)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1918)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1868)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at ksy.a(Unknown Source:35)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at krq.a(Unknown Source:98)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at lar.run(Unknown Source:54)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
10-28 16:42:04.570 8619 8665 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:65)
10-28 16:42:04.620 1532 8279 W ActivityManager: Force finishing activity com.google.android.GoogleCamera/com.android.camera.CameraLauncher
10-28 16:42:04.639 1532 8279 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1005 com.android.server.am.AppErrors.crashApplicationInner:469 com.android.server.am.AppErrors.crashApplication:392 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:15805 com.android.server.am.ActivityManagerService.handleApplicationCrash:15771
10-28 16:42:04.644 1532 1585 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
10-28 16:42:04.644 1532 1585 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
--------- beginning of main
10-28 16:42:04.693 949 8767 I chatty : uid=1047(cameraserver) /system/bin/cameraserver expire 3 lines
10-28 16:42:04.708 1532 5145 I WindowManager: WIN DEATH: Window{a97e4c3 u0 com.google.android.GoogleCamera/com.android.camera.CameraLauncher}
10-28 16:42:04.708 1532 8108 I ActivityManager: Process com.google.android.GoogleCamera (pid 8619) has died: vis +99TOP
10-28 16:42:04.710 1532 1588 I chatty : uid=1000(system) ActivityManager expire 8 lines
10-28 16:42:04.710 795 8752 I chatty : uid=1047(cameraserver) [email protected] expire 4 lines
10-28 16:42:04.713 1532 3227 I WindowManager: WIN DEATH: Window{263b47e u0 Toast}
10-28 16:42:04.713 1532 3227 I chatty : uid=1000(system) Binder:1532_3 expire 1 line
10-28 16:42:04.732 831 1286 W SurfaceFlinger: Attempting to set client state on removed layer: com.google.android.GoogleCamera/com.android.camera.CameraLauncher#0
10-28 16:42:04.732 831 1286 W SurfaceFlinger: Attempting to destroy on removed layer: com.google.android.GoogleCamera/com.android.camera.CameraLauncher#0
10-28 16:42:04.736 795 8785 I chatty : uid=1047(cameraserver) [email protected] expire 2 lines
10-28 16:42:04.739 831 906 E BufferQueueProducer: [SurfaceView - com.google.android.GoogleCamera/com.android.camera.CameraLauncher#0] queueBuffer: BufferQueue has been abandoned
10-28 16:42:04.743 815 840 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
10-28 16:42:04.743 815 840 E ANDR-PERF-OPTSHANDLER: Perflock resource /sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_load not supported
10-28 16:42:04.743 815 840 E ANDR-PERF-OPTSHANDLER: Perflock resource /sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq not supported
10-28 16:42:04.749 1532 1587 W ActivityManager: Slow operation: 142ms so far, now at startProcess: returned from zygote!
10-28 16:42:04.752 746 746 I Zygote : Process 8619 exited due to signal (9)
10-28 16:42:04.763 8821 8821 I chatty : uid=10230(u0_a230) expire 4 lines
10-28 16:42:04.763 1532 1587 W ActivityManager: Slow operation: 156ms so far, now at startProcess: done updating battery stats
10-28 16:42:04.763 1532 1587 W ActivityManager: Slow operation: 156ms so far, now at startProcess: building log message
10-28 16:42:04.763 1532 1587 I ActivityManager: Start proc 8821:com.google.android.GoogleCamera:crash_report/u0a230 for service com.google.android.GoogleCamera/com.google.android.apps.camera.app.silentfeedback.SilentFeedbackService
10-28 16:42:04.763 1532 1587 W ActivityManager: Slow operation: 156ms so far, now at startProcess: starting to update pids map
10-28 16:42:04.763 1532 1587 W ActivityManager: Slow operation: 156ms so far, now at startProcess: done updating pids map
10-28 16:42:04.768 831 1286 E BufferQueueProducer: [SurfaceView - com.google.android.GoogleCamera/com.android.camera.CameraLauncher#0] queueBuffer: BufferQueue has been abandoned
10-28 16:42:04.769 949 1913 I chatty : uid=1047(cameraserver) HwBinder:949_3 expire 12 lines
10-28 16:42:04.771 4271 4271 D Launcher.Utilities: onLauncherStart: 0
10-28 16:42:04.773 1532 3811 W ActivityManager: Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://ch.deletescape.lawnchair.ci:10038?v=7&cv=9 pkg=com.google.android.googlequicksearchbox } U=0: not found
10-28 16:42:04.803 831 3852 E BufferQueueProducer: [SurfaceView - com.google.android.GoogleCamera/com.android.camera.CameraLauncher#0] queueBuffer: BufferQueue has been abandoned
10-28 16:42:04.815 795 1794 I chatty : uid=1047(cameraserver) HwBinder:795_1 expire 122 lines
10-28 16:42:04.818 815 840 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only
10-28 16:42:04.853 795 8804 I chatty : uid=1047(cameraserver) [email protected] expire 1 line
10-28 16:42:04.893 795 8841 I chatty : uid=1047(cameraserver) [email protected] expire 2 lines
10-28 16:42:04.894 795 8842 I chatty : uid=1047(cameraserver) [email protected] expire 2 lines
10-28 16:42:04.895 795 8843 I chatty : uid=1047(cameraserver) [email protected] expire 3 lines
10-28 16:42:04.896 795 8844 I chatty : uid=1047(cameraserver) [email protected] expire 2 lines
10-28 16:42:04.903 8821 8821 E AndroidRuntime: FATAL EXCEPTION: main
10-28 16:42:04.903 8821 8821 E AndroidRuntime: Process: com.google.android.GoogleCamera:crash_report, PID: 8821
10-28 16:42:04.903 8821 8821 E AndroidRuntime: java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.google.android.GoogleCamera, sha1=61ed377e85d386a8dfee6b864bd85b0bfaa5af81, atk=false, ver=14848037.true
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:1950)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1918)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1868)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at ksy.a(Unknown Source:35)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at krq.a(Unknown Source:98)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at kzw.a(Unknown Source:98)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at laa.run(Unknown Source:21)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:266)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at kwm.run(Unknown Source:7)
10-28 16:42:04.903 8821 8821 E AndroidRuntime: at java.lang.Thread.run(Thread.java:764)
10-28 16:42:04.908 1532 8820 W ActivityManager: Process com.google.android.GoogleCamera has crashed too many times: killing!
10-28 16:42:04.910 1532 8820 I ActivityManager: Killing 8821:com.google.android.GoogleCamera:crash_report/u0a230 (adj 500): crash
10-28 16:42:04.914 795 8846 I chatty : uid=1047(cameraserver) [email protected] expire 5 lines
10-28 16:42:04.918 795 8848 I chatty : uid=1047(cameraserver) [email protected] expire 2 lines
10-28 16:42:04.932 1532 1585 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
10-28 16:42:04.933 1532 1585 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
10-28 16:42:04.937 802 843 I SDM : ResourceImpl::SetMaxBandwidthMode: new bandwidth mode=0
10-28 16:42:04.947 439 439 E SELinux : avc: denied { find } for interface=vendor.lineage.camera.motor::ICameraMotor sid=u:r:cameraserver:s0 pid=949 scontext=u:r:cameraserver:s0 tcontext=u:object_r:default_android_hwservice:s0 tclass=hwservice_manager permissive=0
THANK YOU!!!!!!
[email protected] said:
This file is exclusively prepared by BN_P
for
Asus Zenfone Max M2 (X01AD). It is havoc Pie 2.9 on pie vendor, Firmware-JP-16.2018.1910.52.
How to ::
1. Confirm your device model as above.
2. No need to be worried on which build your device is presently. This Rom can be flashed on any build.
3. Only for windows users, flashing can be done in windows only.
Before start flashing,
There is a file named "system+vendor.zip", unzip that, it will generate two file i.e. system.img and vendor.img
Put the above two .img files in the main folder i.e same location of flash_all.cmd.
4. Put your device in fastboot mode, connect to PC and run the flash_all.cmd, just double click on it.
5. Follow the pop up screen.
6. Data erase will be required after flashing before boot.
Best of luck
This ROM is included
TWRP+Magisk20.1
opengapps pico
Gcam
Ampere app
Google Phone Dialer
Safetynet Fixed
Bugs::
You tell me.
Thanks to::
@vincent for HavocOS GSI image.
[MENTION=268073]topjhonwu for magisk
Link for file
https://www.androidfilehost.com/?fid=4349826312261607460
Click to expand...
Click to collapse
Bootloader unlocking required or not ???
Techgaming432 said:
Bootloader unlocking required or not ???
Click to expand...
Click to collapse
Not required... Unlock will b done automatically by flash script
[email protected] said:
This file is exclusively prepared by BN_P
for
Asus Zenfone Max M2 (X01AD). It is havoc Pie 2.9 on pie vendor, Firmware-JP-16.2018.1910.52.
How to ::
1. Confirm your device model as above.
2. No need to be worried on which build your device is presently. This Rom can be flashed on any build.
3. Only for windows users, flashing can be done in windows only.
Before start flashing,
There is a file named "system+vendor.zip", unzip that, it will generate two file i.e. system.img and vendor.img
Put the above two .img files in the main folder i.e same location of flash_all.cmd.
4. Put your device in fastboot mode, connect to PC and run the flash_all.cmd, just double click on it.
5. Follow the pop up screen.
6. Data erase will be required after flashing before boot.
Best of luck
This ROM is included
TWRP+Magisk20.1
opengapps pico
Gcam
Ampere app
Google Phone Dialer
Safetynet Fixed
Bugs::
You tell me.
Thanks to::
@vincent for HavocOS GSI image.
[MENTION=268073]topjhonwu for magisk
Link for file
https://www.androidfilehost.com/?fid=4349826312261607460
Click to expand...
Click to collapse
Any other ROM like MIUI or Oxygen OS have for X01AD ??
Techgaming432 said:
Any other ROM like MIUI or Oxygen OS have for X01AD ??
Click to expand...
Click to collapse
Search.... I hv not made yet
[email protected] said:
Search.... I hv not made yet
Click to expand...
Click to collapse
Please made a MIUI 10 stable ROM i will give what you want but please made a MIUI 10 stable ROM
Techgaming432 said:
Please made a MIUI 10 stable ROM i will give what you want but please made a MIUI 10 stable ROM
Click to expand...
Click to collapse
May b in future
please tell me full process step by step
nixsting said:
please tell me full process step by step
Click to expand...
Click to collapse
Follow readme file inside
An error occurred when flashing the system image it says invalid sparse system in command prompt window and skips the system image from flashing
Please tell me the solve of the problem
Techgaming432 said:
An error occurred when flashing the system image it says invalid sparse system in command prompt window and skips the system image from flashing
Please tell me the solve of the problem
Click to expand...
Click to collapse
Did u unzipped system.zip and kept the system.img file at flashing folder....?
Plz follow readme file inside.
Before flashing ensure all img files are present
Sydtem.img
Vendor
Boot
Recovery
Other firmwire images
[email protected] said:
Did u unzipped system.zip and kept the system.img file at flashing folder....?
Plz follow readme file inside.
Click to expand...
Click to collapse
Yes i extracted the system+vendor zip file and moved the system.img and vendor.img file into the same location on flashall.cmd and exactly follow the guide but the error occurres
Techgaming432 said:
Yes i extracted the system+vendor zip file and moved the system.img and vendor.img file into the same location on flashall.cmd and exactly follow the guide but the error occurres
Click to expand...
Click to collapse
Post a screenshot
[email protected] said:
Post a screenshot
Click to expand...
Click to collapse
Ok I will try another time to flash if the erro occure then i will take a screenshot of the command prompt window and send it to you by today evening

[ROM][11.0][OFFICIAL] Pixel Experience [AOSP] [16-12-2021]

{
"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"
}
PixelExperience for MI 8 SE
What is this?
Pixel Experience is an AOSP based ROM, with Google apps included and all Pixel goodies (launcher, wallpapers, icons, fonts, bootanimation)
Our mission is to offer the maximum possible stability and security, along with essential and useful features for the proper functioning of the device
Based on Android 11.0
Whats working?
WiFi
RIL
Mobile data
GPS
Camera
Flashlight
Camcorder
Bluetooth
Fingerprint reader
IR
Lights
Sound / vibration
Audio
Android Auto
Known issues
You tell me
DON'T FLASH GAPPS, ALREADY INCLUDED
Download
Donate
Main PixelExperience Developer
Translation
Help with project translation
Stay tuned
Our Telegram channel
Our blog​
Android OS version: 11.0.0_r46
Security patch level: December 2021
Device Source code: https://github.com/PixelExperience-Devices
ROM Developer: jhenrique09
Install
1 - Flash Recovery (link: https://dl.twrp.me/xmsirius/)
2 - Reboot recovery
3 - Factory Reset and Format Data (backup sdcard before format)
4 - reboot recovery
5 - Flash ROM (GAPPS included)
6 - reboot system
Update
1 - Reboot recovery
2- Flash Rom
3- Wipe cache and dalvik
4- Reboot system
Contributors
-etylix
-uixdess
-kudproject
-guoxiao1213
ROM OS Version: Android 11
ROM Kernel: Linux 4.9.293
Based on: AOSP
Version Information
Status: Stable
Current Version: 2021-12-16
Which twrp version to use??
0967894983 said:
Which twrp version to use??
Click to expand...
Click to collapse
U can use this https://drive.google.com/open?id=1yEGgkthRNeJIinpPRrN_K2OtzRO8KA4P
Gonna try right away, thanks
@solidv
Can't figure out why the media doesn't play over my Bluetooth earphone. Play media to: set as my Bluetooth device though.
Calling over Bluetooth does work.
tanjir.h said:
Gonna try right away, thanks
@solidv
Can't figure out why the media doesn't play over my Bluetooth earphone. Play media to: set as my Bluetooth device though.
Calling over Bluetooth does work.
Click to expand...
Click to collapse
yap, thats a bug
solidv said:
yap, thats a bug
Click to expand...
Click to collapse
Is Wi-fi display working ?
UPDATE 24-01-2020
Changelog:
- Fixes bluetooth audio coming from phone speakers instead of bluetooth device
- kernel updated to 4.9.211
Download: https://drive.google.com/open?id=1qXkzp1EVX3eWku7-IMNtZ_H_It5MUoZz
Good job as usual mate ?
solidv said:
UPDATE 24-01-2020
Changelog:
- Fixes bluetooth audio coming from phone speakers instead of bluetooth device
- kernel updated to 4.9.211
Download: https://drive.google.com/open?id=1qXkzp1EVX3eWku7-IMNtZ_H_It5MUoZz
Click to expand...
Click to collapse
Whoa, that was quick! Gonna be my new daily driver. Was using your Pie build earlier. Thanks, bro
Best Android 10 ROM for this device. Awesome performance, sound etc.
Using chrome for a while seems to totally freeze the phone. I will post a logcat later.
Thank you!
Code:
--------- beginning of crash
01-25 10:56:03.727 10645 10682 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 10682 (GpuWatchdog), pid 10645 (ileged_process0)
01-25 10:56:03.731 18693 18693 E chromium: [0125/105603.730469:ERROR:socket.cc(181)] incorrect payload size 0
01-25 10:56:03.896 18697 18697 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-25 10:56:03.897 18697 18697 F DEBUG : Build fingerprint: 'Xiaomi/sirius/sirius8.1.0/OPM1.171019.019/V9.5.6.0.OEBCNFA:user/release-keys'
01-25 10:56:03.897 18697 18697 F DEBUG : Revision: '0'
01-25 10:56:03.897 18697 18697 F DEBUG : ABI: 'arm'
01-25 10:56:03.898 18697 18697 F DEBUG : Timestamp: 2020-01-25 10:56:03+0200
01-25 10:56:03.898 18697 18697 F DEBUG : pid: 10645, tid: 10682, name: GpuWatchdog >>> com.android.chrome:privileged_process0 <<<
01-25 10:56:03.898 18697 18697 F DEBUG : uid: 10130
01-25 10:56:03.898 18697 18697 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
01-25 10:56:03.898 18697 18697 F DEBUG : Cause: null pointer dereference
01-25 10:56:03.898 18697 18697 F DEBUG : r0 00000000 r1 00001337 r2 e0410880 r3 00000002
01-25 10:56:03.898 18697 18697 F DEBUG : r4 e0465840 r5 00000001 r6 00000003 r7 c727db84
01-25 10:56:03.898 18697 18697 F DEBUG : r8 c777f37c r9 00000000 r10 00000000 r11 00000000
01-25 10:56:03.898 18697 18697 F DEBUG : ip c727b4f8 sp c3a4df58 lr c58df587 pc c66a6682
01-25 10:56:03.899 18697 18697 F DEBUG :
01-25 10:56:03.899 18697 18697 F DEBUG : backtrace:
01-25 10:56:03.899 18697 18697 F DEBUG : #00 pc 024dd682 /data/app/com.google.android.trichromelibrary_394513638-8pGlc3lR2RCvdAaRdCNZbQ==/base.apk!libmonochrome.so (offset 0x65e000) (BuildId: e023ba4ed532cc8658145f5844463ff920b5f3a5)
01-25 10:56:05.745 1160 1160 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_13
01-25 10:56:05.923 18711 18711 E ileged_process: Not starting debugger since process cannot load the jdwp agent.
01-25 10:56:05.943 658 18710 E ResolverController: No valid NAT64 prefix (100, <unspecified>/0)
01-25 10:56:06.055 658 18736 E ResolverController: No valid NAT64 prefix (100, <unspecified>/0)
01-25 10:56:06.059 12837 12989 E GoogleConversionReporter: Error sending ping
01-25 10:56:06.059 12837 12989 E GoogleConversionReporter: bgqf: Exception in CronetUrlRequest: net::ERR_CONNECTION_REFUSED, ErrorCode=7, InternalErrorCode=-102, Retryable=false
01-25 10:56:06.059 12837 12989 E GoogleConversionReporter: at org.chromium.net.impl.CronetUrlRequest.onError(PG:59)
01-25 10:56:07.940 1491 2074 E LightsService: Light requested not available on this device. 2
01-25 10:56:11.065 800 1675 E Fence : Throttling EGL Production: fence 292 didn't signal in 3000 ms
01-25 10:56:12.218 3092 7861 E cibw : *~*~*~ Channel {0} was not shutdown properly!!! ~*~*~*
01-25 10:56:12.218 3092 7861 E cibw : Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.
01-25 10:56:12.218 3092 7861 E cibw : java.lang.RuntimeException: ManagedChannel allocation site
01-25 10:56:12.218 3092 7861 E cibw : at cibv.<init>(:[email protected]@19.8.31 (120408-284611645):2)
01-25 10:56:12.218 3092 7861 E cibw : at cibw.<init>(:[email protected]@19.8.31 (120408-284611645):2)
01-25 10:56:12.218 3092 7861 E cibw : at chuq.b(:[email protected]@19.8.31 (120408-284611645):8)
01-25 10:56:12.218 3092 7861 E cibw : at srl.a(:[email protected]@19.8.31 (120408-284611645):24)
01-25 10:56:12.218 3092 7861 E cibw : at srl.a(:[email protected]@19.8.31 (120408-284611645):33)
01-25 10:56:12.218 3092 7861 E cibw : at awbt.a(:[email protected]@19.8.31 (120408-284611645):108)
01-25 10:56:12.218 3092 7861 E cibw : at awbt.a(:[email protected]@19.8.31 (120408-284611645):205)
01-25 10:56:12.218 3092 7861 E cibw : at awbt.a(:[email protected]@19.8.31 (120408-284611645):209)
01-25 10:56:12.218 3092 7861 E cibw : at awan.a(:[email protected]@19.8.31 (120408-284611645):2)
01-25 10:56:12.218 3092 7861 E cibw : at aeug.a(:[email protected]@19.8.31 (120408-284611645):29)
01-25 10:56:12.218 3092 7861 E cibw : at aetv.a(Unknown Source:6)
01-25 10:56:12.218 3092 7861 E cibw : at brdw.a(:[email protected]@19.8.31 (120408-284611645):2)
01-25 10:56:12.218 3092 7861 E cibw : at brfy.b(:[email protected]@19.8.31 (120408-284611645):2)
01-25 10:56:12.218 3092 7861 E cibw : at brex.run(:[email protected]@19.8.31 (120408-284611645):7)
01-25 10:56:12.218 3092 7861 E cibw : at brga.run(:[email protected]@19.8.31 (120408-284611645):1)
01-25 10:56:12.218 3092 7861 E cibw : at sym.b(:[email protected]@19.8.31 (120408-284611645):15)
01-25 10:56:12.218 3092 7861 E cibw : at sym.run(:[email protected]@19.8.31 (120408-284611645):10)
01-25 10:56:12.218 3092 7861 E cibw : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
01-25 10:56:12.218 3092 7861 E cibw : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
01-25 10:56:12.218 3092 7861 E cibw : at tej.run(Unknown Source:7)
01-25 10:56:12.218 3092 7861 E cibw : at java.lang.Thread.run(Thread.java:919)
01-25 10:56:12.339 658 18766 E ResolverController: No valid NAT64 prefix (100, <unspecified>/0)
01-25 10:56:12.340 658 18765 E ResolverController: No valid NAT64 prefix (100, <unspecified>/0)
01-25 10:56:12.599 800 800 E ClientCache: failed to get buffer, invalid process token
01-25 10:56:12.599 800 800 E ClientCache: failed to register erased recipient, could not retrieve buffer
01-25 10:56:18.016 1491 1669 E LightsService: Light requested not available on this device. 2
Managed to trace it down.
In /vendor/default.prop the properties
Code:
ro.bionic.2nd_cpu_variant=kryo385
dalvik.vm.isa.arm.variant=kryo385
should be changed to cortex-a9
Reboot and force a recompile
Code:
su
cmd package compile -m speed-profile -a -f
Currently chrome (webview) runs stable for 1 hour.
Wow, thanks, it was great rom
Just minor bug, IR blaster not working for me
gbrezak1 said:
Is Wi-fi display working ?
Click to expand...
Click to collapse
screen cast working
kreuks said:
Just minor bug, IR blaster not working for me
Click to expand...
Click to collapse
in the next build IR will be working. We added this stuff
UPDATE 26-01-2020
Changelog:
- IR Blater is now working
- Some minor fixes
Download : https://drive.google.com/open?id=1ZCMEkYfKliY-WHVSnl2ZwI65-40B4tBE
solidv said:
UPDATE 26-01-2020
Changelog:
- IR Blater is now working
- Some minor fixes
Click to expand...
Click to collapse
So fast, already flashed and IR works
Thank you
Can I upload it to one drive
I'm from China. Due to various domestic reasons, I can't use VPN to access Google cloud temporarily. Can you upload to one drive? If you like.
Grain_Rain said:
I'm from China. Due to various domestic reasons, I can't use VPN to access Google cloud temporarily. Can you upload to one drive? If you like.
Click to expand...
Click to collapse
Sure
https://1drv.ms/u/s!AnbQhUZB4-WDg2imCj6crz3QcRHu?e=kCjug3
Thank you, very good rom
If someone is experiencing freezes while using Chrome, try to dowload Webview beta from Play Store and change it to default via dev settings
One strange thing: YouTube and Instagram sound doesn't work in Bluetooth headset from time to time, haven't noticed any regularity yet. Also, voice messages via Telegram sometimes are playing muted. So, maybe BT part needs some work.
Sometimes icons on desktop are disappearing
Screen keeps waking up while charging (?)
black.ic3 said:
Thank you, very good rom
If someone is experiencing freezes while using Chrome, try to dowload Webview beta from Play Store and change it to default via dev settings
One strange thing: YouTube and Instagram sound doesn't work in Bluetooth headset from time to time, haven't noticed any regularity yet. Also, voice messages via Telegram sometimes are playing muted. So, maybe BT part needs some work.
Sometimes icons on desktop are disappearing
Screen keeps waking up while charging (?)
Click to expand...
Click to collapse
probably systemUI freezes will be solved soon. I have found a error in DT, testing now
i am using bluetooth very often and didnt find such problems.
About icons: maybe problem in the launcher or missclicks?
About screen: did you have auto-lock time for screen? Just tested now and it getting dark after 30sec, as in my screen options
Help me go to the ROM
When I followed the steps wipe out/system/cache/dalvik/data, installed the firmware and ROM then reboot my device.It automatically went into fastboot,couldn't get into rec or the system.Every time I start the phone,there's nothing except the fastboot logo.It drives me crazy.Help me plz.

Categories

Resources