Changes to /system/app and priv-app doesn't save. - OnePlus 6 Questions & Answers

Hi
I have trouble making Greenify a system app.
Everytime I reboot all my changes to /system/app and/or /system/priv-app reverts itself. All my changes are gone after reboot.
Tried to just make folders etc and they won't stick after reboot.
My banking app looses the fingerprint verifikation as well.
How do this happen and why? How do I fix this?
My Guess is that System is corrupted and needed to be formated or removed and added again to fix this?
Thanks.

Problem solved.
Did a repair filsystem on System and then a Factory Reset.

Related

System App install W/O reinstall on reboot

Hi Guys
Im stuck, I tried installing ADW launcher as a system app. After installing it, and successfully setting it up, Im facing issues, the main issue is I have put into root mode, system/app but everytimne I reboot my machine, the settings get wiped out, its asif a freshinstall happens each time. How can I get it to keep my settings on rebooting? and ODEX file?

System ui stops after fixing permissions

After fixing permission and rebooting I get the Unfortunately system ui has stopped working error. I have tried fixing the permissions in ROM manager and in cwm recovery, same thing happens.
I have tried wiping cache and dalvik after both methods and still the same thing.
I have tried restoring data to system ui with titanium backup after fixing permission and before rebooting and still get the error on reboot.
When I run fix permissions it fixes a lot of them, and I have deleted a lot of unnessary apks from my system apps, but my system has been running great without them, haven't had any issues before fixing permissions.
I have up to date nandroid and titanium backups so I am not in a panic, I am able to restore everything back again, but I just want to know WHY I can't fix permissions.
Any ideas? I am stumped.
Thanks in advance!
Sent from my GT-p5110 using Tapatalk HD

[Q] Deleting APKs from /data/app

Thinking like Linux, the APKs being stored in /data/app (in Adroid) that I could delete these installer files. Then everything started crashing, so I figured I would force a reboot. Now my Nexus 5 is stuck in an animated bootup. I cannot force it OFF to do a factory reset, as I cannot pull a battery. I will have to let the battery drain.
Factory reset as I understand is VOL UP & DOWN and POWER buttons
Any comments?
What name file are you deleted
Sent from my PICOpadGCE
fresti said:
What name file are you deleted
Sent from my PICOpadGCE
Click to expand...
Click to collapse
all the APKs similar to deleting the DEB/RPM installer files in Linux ROOT
However, I resolved this issue with:
Nexus ROOT Toolkit v1.8.0 to reset to factory
I am now back to factory
BTW, do NOT delete APKs from /data/app unless you do not want that app anymore.
I think your deleting apk is system app... so u always go to boot loop cause your system cant load data system after you delete that...
Sent from my PICOpadGCE

system/etc/permissions/ platform.xml

I have a known problem. My device won't boot, apps all crash because of a file permissions error.
I replaced system/etc/permissions/ platform.xml
I tried to re-enable the original the simple way, using a root explorer, but permissions to write are.. well corrupted. This is causing all system services to fail at boot and the tablet to crash. Basically it looks like I'm stuck with trying to repair it from recovery, or download mode (Odin) and I do not have a custom recovery installed, stock only.
UPDATE:
I now have Phil-Z recovery and Aroma File Manager. I replaced the platform.xml with the original file. Still, System is crashing on boot with several crashed app dialogs.
Seems I fixed what should have been the problem, but the problem persists.. help?
Solved
I did a factory reset after making a Nandroid backup then restored select apps with Nandroid Manager APK.

LG Sunset (LG33L) deleted wrong app question

I know this is probably a shot in the dark, but the phone was rooted with kingroot and working great, I decided to be an idiot and factory reset. I must've deleted a system app that made the phone function properly. The lock screen doesn't work. The recent apps button does nothing either. Also, when I restart the phone it starts the whole factory reset process over. Does anyone have any idea what LG app may govern these things? The phone works besides this, but that is pretty major stuff. I know it's a cheap phone but I thought it was worth asking.
CaptainPatterson said:
I know this is probably a shot in the dark, but the phone was rooted with kingroot and working great, I decided to be an idiot and factory reset. I must've deleted a system app that made the phone function properly. The lock screen doesn't work. The recent apps button does nothing either. Also, when I restart the phone it starts the whole factory reset process over. Does anyone have any idea what LG app may govern these things? The phone works besides this, but that is pretty major stuff. I know it's a cheap phone but I thought it was worth asking.
Click to expand...
Click to collapse
If you can find a copy of your stock firmware, you can:
1) extract the system apps from the firmware(they'll be in the /system/app and /system/priv-app folder, extract the ones that you don't currently have on the device), then push those apps to the corresponding folder on the device using adb push or by using an app that has a root browser.
2) extract the /system/app folder and the /system/priv-app folder, then use adb push to push them back to /system on the device.
3) extract the entire system.img from the firmware then use adb shell and a dd command to dd the system.img on the device to replace the corrupted system with a complete system.
Or you can get copies of what you don't have from another member here with the same device and firmware then use those to replace the deleted apps
After getting them back to where they go, boot to recovery and wipe cache but don't factory reset.
It's always best to disable or hibernate system apps first to determine whether they are needed, if disabling/hibernating them cause issues then you know they can't be deleted, in this case, re-enable/unhibernate the app. If disabling/hibernating an app doesn't cause an issue, then it's safe to remove/uninstall that app. Do this process one app at a time and you'll figure out what you have to keep and what can be gotten rid of. And remember, after removing or adding system apps, you have to boot to recovery and wipe cache partition (and/or dalvik/ART cache if you have custom recovery). Failing to do the wipe will definitely cause issues.
@CaptainPatterson, I added more info.
I DO NOT PROVIDE HELP IN PM, KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Categories

Resources