Android 10 user app into system app boot failure - Essential Phone Questions & Answers

Each time I attempt to make an user app a system app by moving app from /data/app to /system/priv-app, changing permissions, and then restarting phone I get a failure to boot Android and have to reflash to fix it. This method worked for Android 9 without issue. Any ideas what is causing it and how to fix it

There was a change in 10 that prevents mounting system. You'll have to use a Magisk module. Pleas read the Magisk help thread for more discussions.

tribulationwolf said:
Each time I attempt to make an user app a system app by moving app from /data/app to /system/priv-app, changing permissions, and then restarting phone I get a failure to boot Android and have to reflash to fix it. This method worked for Android 9 without issue. Any ideas what is causing it and how to fix it
Click to expand...
Click to collapse
You're breaking verity... At the least

Related

Adaway ad block disable on reboot.

This app is starting to disable after reboot which never done that before. Is there a way to prevent this from happening?
Love the 90s good times
E The Magnificent said:
This app is starting to disable after reboot which never done that before. Is there a way to prevent this from happening?
Love the 90s good times
Click to expand...
Click to collapse
Try using Titanium to convert it to a system app. I had that problem with a few apps in the past disabling themselves and making them a system app solved the problem. I haven't had that problem with Ad-away,,, yet.
lcovel said:
Try using Titanium to convert it to a system app. I had that problem with a few apps in the past disabling themselves and making them a system app solved the problem. I haven't had that problem with Ad-away,,, yet.
Click to expand...
Click to collapse
That Doesn't Work!:silly:
Finally Fixed It...Its Due To some Mods like crossbreader, etc... It Replaces Hosts File on Every Reboot! Delete it from that Directory or uninstalling it will work Surely!

GPS keeps searching

It seems random but when I enable data sometimes the GPS icon will show up and it says searching using GPS. I have no apps open that would use GPS I even tried disabling it and putting the phone on airplane mode and it won't go away. Only a reboot gets rid of it. What could be causing this? How do I fix it cuz it's really annoying and drains my battery. I'm running a goldeneye ROM 4.4.2 but this problem started pretty recently. Any ideas?
I-TensE-I said:
Any ideas?
Click to expand...
Click to collapse
Too small amount of data needed. It may be caused by ANY app you have installed which:
a) starts with system in background;
b) uese the : Access_location_fine permission
Install permissions denied or other permissions explorer and look for it.
spamtrash said:
Too small amount of data needed. It may be caused by ANY app you have installed which:
a) starts with system in background;
b) uese the : Access_location_fine permission
Install permissions denied or other permissions explorer and look for it.
Click to expand...
Click to collapse
I'll try with the permissions but like I said it shows up at random not after boot up. So if it was a startup program it would be there all the time. Is there any app that can show which apps are currently using the GPS?
I-TensE-I said:
I'll try with the permissions but like I said it shows up at random not after boot up. So if it was a startup program it would be there all the time. Is there any app that can show which apps are currently using the GPS?
Click to expand...
Click to collapse
Disagree.app can look for location to change the add (if localized), therefore can be random.
Of course, you can filter the apps by permissions it uses in most of permissions managers/explorers.

kjrnl.nb

Hi,
The file kjrnl.nb was seeking root access from SuperSU today. I granted it and it proceeded to make changes to iptables. Anyone know what this file is? Upon entering super SU gui I was asked to update the super su binary.
Sent from my iPad using Tapatalk
cantenna said:
Hi,
The file kjrnl.nb was seeking root access from SuperSU today. I granted it and it proceeded to make changes to iptables. Anyone know what this file is? Upon entering super SU gui I was asked to update the super su binary.
Sent from my iPad using Tapatalk
Click to expand...
Click to collapse
If I were you I would immediately do a full wipe of your system and reflash your rom. Sound like a virus/trojan etc.
If you don't know what it is then DO NOT give it root acces. If you don't know what it is, then you don't need it.
Thanks, it hasn't popes back up. Since my restored nand droid. I've narrowed it down to 20 or so possible apps. When I have more time I may try to pin poi t the app. Wish there was an app I found run in the background that would log in detail.
,...................
cantenna said:
Thanks, it hasn't popes back up. Since my restored nand droid. I've narrowed it down to 20 or so possible apps. When I have more time I may try to pin poi t the app. Wish there was an app I found run in the background that would log in detail.
Click to expand...
Click to collapse
Hi, have you found the origin of this file? It runs only when I boot the phone (n910c) and I can't find the file kjrnl.nb but it shows running with "busybox ps". It might be something that gets uncompressed realtime during boot. I have always to kill the PID after boot.
Thanks for any insight.

disable automatic updating?

last night i was using my nexus player and out of nowhere it just randomly decided to shut down. next thing i know upon reboot it tried to update but since im rooted and such it failed. the problem here was that it screwed up boot and i had to wipe the cache which erased most settings.
Is there a way to make the nexus player not try to automatically update? disable update in settings for that matter (in case someone tried to get cute and do it while im not around)?
unvaluablespace said:
last night i was using my nexus player and out of nowhere it just randomly decided to shut down. next thing i know upon reboot it tried to update but since im rooted and such it failed. the problem here was that it screwed up boot and i had to wipe the cache which erased most settings.
Is there a way to make the nexus player not try to automatically update? disable update in settings for that matter (in case someone tried to get cute and do it while im not around)?
Click to expand...
Click to collapse
LOL!!!! I'm going through this frustration right now. Couple things I've done first install a custom recovery it won't let you update. if you do get the endless bootloop clear cache and it will stop (the update is downloaded to the cache). It might do that twice then will pass. This worked for me until factory restored my device. I ended up forgetting and now I'm marshmallow.
Next thing I'm gonna try is pushing a build.prop from the next update to /system. It hasn't been pushed yet but they usually release it on the site with the factory images. If I don't flash aosp first.
Yes but i wonder if theres a way to disable it. it sucks that i have to clear cache every time it attempts to update. its happened 3 times on me now. i will try to install my own custom recovery so hopefully thats all thats needed but i noticed android also downloads the update in the background, which probably wastes more space if your not planning on upgrading.
Once you clear the cache it deletes the update. Almost forgot I read some where here on xda that deleting otacerts.zip will stop it from downloading entirely. Not suggesting you try it but next update I'm gonna
You might want to try the method I suggested at http://forum.xda-developers.com/showpost.php?p=62865084&postcount=6 and see if that works or not.
Thanks for your solution but unfortunately, at least for me, i cant seem to get it to work. i can sideload and launch the disable service app, but when i try going to ANY actual apps or system services, it just crashes. Not sure why. :/
Asadullah said:
Once you clear the cache it deletes the update. Almost forgot I read some where here on xda that deleting otacerts.zip will stop it from downloading entirely. Not suggesting you try it but next update I'm gonna
Click to expand...
Click to collapse
Tried this, and while it did stop the download from verifying, it just caused the nexus player to loop over and over by constantly downloading the update again, only to fail and repeat the process. This worked for a couple of days while i found the proper workaround, so thanks. keep in mind though that because it just caused the device to keep redownloading, this method could cause those on limited data plans to quickly go over.
GabbyWC said:
You might want to try the method I suggested at http://forum.xda-developers.com/showpost.php?p=62865084&postcount=6 and see if that works or not.
Click to expand...
Click to collapse
for whatever reason service disabler did not want to work for me. it caused a constant crash every time i tried clicking on any service within the app. I did however, eventually come across "My Android Tools" by the same developer as service disabler. Using this app i was able to disable the systemupdateservice within both google framework and google play services. I had to use a bluetooth mouse to navigate though, as the remote didnt want to work on its own. Once i used this app and followed your directions, now when i attempt to do a manual system update in settings, it just acts like im on the current version, which i assume means it fails instantly. Thanks so much man! so far so good!
For anyone curious, the app is:
https://play.google.com/store/apps/details?id=cn.wq.myandroidtools&hl=en
keep in mind you may need to connect a mouse somehow to the nexus player to navigate and disable the services.
Thanks I'm gonna downgrade today and find out
unvaluablespace said:
for whatever reason service disabler did not want to work for me. it caused a constant crash every time i tried clicking on any service within the app. I did however, eventually come across "My Android Tools" by the same developer as service disabler. Using this app i was able to disable the systemupdateservice within both google framework and google play services. I had to use a bluetooth mouse to navigate though, as the remote didnt want to work on its own. Once i used this app and followed your directions, now when i attempt to do a manual system update in settings, it just acts like im on the current version, which i assume means it fails instantly. Thanks so much man! so far so good!
Click to expand...
Click to collapse
I'm glad to hear that things worked out for you with this method and the alternate app by the same developer. I've been running Android 6.0 Marshmallow after flashing its factory image but once the monthly security updates and unwanted reboots in to TWRP start happening, I may disable the updates using this method.
How do you sideload either service disabler app? Neither are listed on apkmirror and searching the play store in browser doesn't give an option to install for nexus player.
cpuspeed said:
How do you sideload either service disabler app? Neither are listed on apkmirror and searching the play store in browser doesn't give an option to install for nexus player.
Click to expand...
Click to collapse
Copy and paste the Google Play URL for the app (which was posted earlier in this thread) in to box at the top of https://apkpure.com/region-free-apk-download and press the green download button. Then upload the APK to your Google Drive account and install it through ES File Explorer on your Nexus Player.
please correct me if I'm wrong
As the title said, please correct me if I'm wrong but this method isn't working in the nexus player MRA58K since the apk used to disable the updated only supports Lolipop, I tried in my nexus 7 running 5.0 and it's working flawless but the apk crash on Android 6.0, thanks in advance for your help.
eL_pELoN said:
As the title said, please correct me if I'm wrong but this method isn't working in the nexus player MRA58K since the apk used to disable the updated only supports Lolipop, I tried in my nexus 7 running 5.0 and it's working flawless but the apk crash on Android 6.0, thanks in advance for your help.
Click to expand...
Click to collapse
The "My Android Tools" app does not crash on a Nexus Player with Android 6.0 installed.
GabbyWC said:
The "My Android Tools" app does not crash on a Nexus Player with Android 6.0 installed.
Click to expand...
Click to collapse
Not for me. After granting "my android tools" access, I go to disable systemupdateservice, and popup says it can't access root privelages ( Supersu is up to date. I'm not really sure why I even rooted and installed twrp recovery on this device, but I wish I had stock recovery back so I wouldn't be in this mess.
@pokes135, make sure you have the latest version of My Android Tools installed. You can flash a stock system or recovery image using Nexus Root Toolkit if necessary.
cpuspeed said:
How do you sideload either service disabler app? Neither are listed on apkmirror and searching the play store in browser doesn't give an option to install for nexus player.
Click to expand...
Click to collapse
You can install a firefox browser addon called apk downloader which will inject a button when you view the app in google play website to download the apk.
Use any root explorer or es file explore
make/mount system as rw
navigate to /system/etc/security
rename otacerts.zip into otacerts.zip.bak or whatever you want.
It will stiop the automatic update completely.
If you need ota update you need to rename th otacerts.zip back
Virus in My Android Tools APK?
I'm also trying to disable automatic updating of my rooted nexus player for the same reasons everyone else is but when I try to download the My Android Tools apk I get his virus warning.
a variant of Android/Package.Jiagu.A
hoodred said:
Use any root explorer or es file explore
make/mount system as rw
navigate to /system/etc/security
rename otacerts.zip into otacerts.zip.bak or whatever you want.
It will stiop the automatic update completely.
If you need ota update you need to rename th otacerts.zip back
Click to expand...
Click to collapse
Thanks for the info. Much more straight forward to do then sideloading app while hoping the app won't force close.
adb connect 192.168.xxx.xxx:5555
adb shell
su
mount -o remount,rw /system
mv /system/etc/security/otacerts.zip /system/etc/security/otacerts-disabled.zip
mount -o remount,ro /system
Pr-requisite: must be rooted and ADB Wireless already installed.
Don't use this method (renaming ota_certs)! It will just cause the updates to continuously download and fail, then start downloading again. You'll use a lot of bandwidth this way, and if you have a data cap, this is a sure fire way to bust through it.

Optimising App message on every boot problem

After not using my car for a few weeks everytime I start my car and boot the headunit now it shows the 'Android is Starting Optimising App 1 of 1' message then continues to boot normally. Not sure why this is happening now as I changed any software or installed any new apps since not using the car.
WishiHadAnR32 said:
After not using my car for a few weeks everytime I start my car and boot the headunit now it shows the 'Android is Starting Optimising App 1 of 1' message then continues to boot normally. Not sure why this is happening now as I changed any software or installed any new apps since not using the car.
Click to expand...
Click to collapse
which head unit brand? custom rom or not? xposed installed?
It is a 3rd part installed app but something is indeed wrong. Mostly uninstalling and reinstalling fixes it.
Check your android log (logcat) which app is optimizing as that is written to the logcat.
and I mention xposed as some xposed module hack into an apk and thereby "corrupt" the dalvik cache leading to a new optimisation on every boot.
Joying Intel unit with 2GB on stock ROM but rooted, no Xposed. I've installed a logcat app so what should I search for to find optimising apps?
WishiHadAnR32 said:
Joying Intel unit with 2GB on stock ROM but rooted, no Xposed. I've installed a logcat app so what should I search for to find optimising apps?
Click to expand...
Click to collapse
You should search for that optimizing message in the logcat.
The other (very boring and time consuming) action you can do is to uninstall and reinstall the third party apps one by one and do a reboot.
surfer63 said:
You should search for that optimizing message in the logcat.
The other (very boring and time consuming) action you can do is to uninstall and reinstall the third party apps one by one and do a reboot.
Click to expand...
Click to collapse
I've checked the log after every reboot and it never mentions anything to do with optimising apps. Is it possible logcat does not have permission to view this as when I start the app it request extra permissions via ADB to view 'all logs'?
Why would this only start happening now, could it just be a recent app update that has triggered it?
WishiHadAnR32 said:
I've checked the log after every reboot and it never mentions anything to do with optimising apps. Is it possible logcat does not have permission to view this as when I start the app it request extra permissions via ADB to view 'all logs'?
Why would this only start happening now, could it just be a recent app update that has triggered it?
Click to expand...
Click to collapse
As you are rooted you should be able to see everything.
It could very well be a recent app installation or a recent update.
But I already mentioned that in post 2
Ok thanks I'll try another log app or grant the ADB permissions etc.
It must be an app update as I have not installed any apps before it started and I have very few 3rd party apps installed anyway which update via the Play Store.
Would it be safe to say that I only really need to try uninstalling apps which recently updated before the optimising error started?
Problem solved. Turns out it was my Speedometer app causing it.

Categories

Resources