Boot freeze after moving an app top priv-app - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Good morning
It's my first post, but xda saved my phone many times these years and now I've a new problem and can't find a solution.
I'm just trying to move an app (fakegps) in System/priv-app with:
Link2sd and superusers by magisk, error like "mount: '/system' not in /proc/mounts"
Systemize by magisk module and Termux with superuser, but it doesn't work
Moving directly the app folder in system/priv-app changing permission (like other priv-app) to folder and app with the best manager "MiXplorer Silver" but rebooting the system will freeze to boot logo.
Now i've flashed stock firmware global (twrp for mi9t european version can't see system folder) and now when it freeze I just delete the app folder from priv-app to unlock the phone, but the problem is still the same... is there a working way to move an app to priv-app in Xiaomi Mi 9T?

Your point of this post is that u want to make an installed app in your data to a system one ? move it into system/app not priv-app

Yes, in system/app the app works, but for expert mode of fakegps I need to put it in priv-app...

Related

[System App Help] Apps in priv-app not showing in Android System

For clarity sake here is what im trying to do.
take camera folder that has camera.apk in it with camera.odex in the arm64 folder and move it into my system/priv-app/ that should hypothetically install it as a system app after a reboot.
Im doing this on a nexus 6p with android N preview 2 and the only file explorer that mounts the system as R/W is FX File Explorer (While in booted system; i have full control via TWRP though)
I do reboot because i know 5.x+ requires reboots between system changes.
I have done this via FX and is stays there even after reboots. Ive done this via TWRP and stays after reboot.
my issue is that after a reboot, the camera app does not show in the system. Its not is the app list in settings and i cant find any instance of the android system recognizing it.
I have this issue no matter what the app is unless i install the app as a non-system app first then manually create its folder system in system/priv-app/ and copy the apk to its newly created folder then uninstall the non-system app version and reboot. But i cannont do that with every app. Some have to be system apps from the beginning or they refuse to install (as expected)
Any help on this will be hugely appreciated!
Any ideas guys?
Same problem on my Nexus 5 with Nougat rom. I hope someone can help.

User App To System App in Marshmallow

Hi, I cannot convert an User App into a System App in Marshmallow.
Moving the Folder of the App from Data/App to System/Priv-App OR System/App does't work.
So I would know if there is a solution?
I tried also Link2SD function to Convert the APP into a System One but nothing.
It just dissapear like with moving the folder.
Permissions are set-up correctly.
Thanks.
Sent from my SM-G900F using XDA-Developers mobile app
Mount /system to RW
Well system must be in R/W to move the stuff. So can provide me a real help someone?
Sent from my SM-G900F using XDA-Developers mobile app
Jv1391 said:
Well system must be in R/W to move the stuff. So can provide me a real help someone?
Click to expand...
Click to collapse
Use this app to mount /system:
https://play.google.com/store/apps/details?id=com.blogspot.superthomaslab.mountsystemrorw
Use this root explorer:
https://play.google.com/store/apps/details?id=com.jrummy.root.browserfree
It's recommended to have busybox installed.
Or use TWRP:
Boot to recovery->go to mount->check /system and reboot
It doesn't work. I think is a limitation of Marshmallow Permissions.
The only way I found is using Lucky Patcher and selecting the option "Rebuild and install" to Install the file .APK as System from the beginning. Otherwise it doesn't work. Anyway thanks.
Sent from my SM-G900F using XDA-Developers mobile app
I had the same problem today.
I think I found solution !
I think you flashed wrong supersu version.
Try to flash this through twrp:
https://download.chainfire.eu/924/SuperSU/BETA-SuperSU-v2.68-20160228150503.zip
After that go to es explorer enable root explorer. Next, click on root explorer and choose mount r/w check r/w on /system
Jv1391 said:
Hi, I cannot convert an User App into a System App in Marshmallow.
Moving the Folder of the App from Data/App to System/Priv-App OR System/App does't work.
So I would know if there is a solution?
I tried also Link2SD function to Convert the APP into a System One but nothing.
It just dissapear like with moving the folder.
Permissions are set-up correctly.
Thanks.
Click to expand...
Click to collapse
Hi I have the solution-install a user app(don't move to SD) ,in es file manager mount system to rw ,copy whole folder of that user app from /data/app to /system/priv app ,now set permissions to folder similar to that of other folders present there ,now inside the folder set permissions to apk as rwrr (don't touch other folders present there). ,mount system ro ,now uninstall that user app from launcher and finally REEBOOOOT!!!! DONE

Unable to modify /system folder

I've looked all over and I'm unable to find a solution or even what's stopping me from modifying the /system folder in the root directory. I can remove files from that folder and all of it's subfolders but I'm unable to add any files into that directory. I am rooted on the T-mobile OnePlus 6t that has been converted to the international ROM. I know my root works cause I can perform other root functions. I also cannot modify the /system folder from TWRP either which is really strange to me. Also, when TWRP prompts me to install the app, it just reboots recovery since it's trying to install it as a system app which I can't do for this odd reason I have yet to find out. This issue all of a sudden showed up after an OTA update and re-rooting after. I have tried reinstalling TWRP, Magisk and Oxygen OS itself but the issue persists. I have also tried running "reboot disemmcwp" as root in a terminal window AND using adb but I guess that command no longer works. Any suggestions welcome as this is the last place I can find an answer to this issue.
Edit: found out I'm unable to uninstall system apps for some reason. So the issue isn't space related.
Toilet Clauger said:
I've looked all over and I'm unable to find a solution or even what's stopping me from modifying the /system folder in the root directory. I can remove files from that folder and all of it's subfolders but I'm unable to add any files into that directory. I am rooted on the T-mobile OnePlus 6t that has been converted to the international ROM. I know my root works cause I can perform other root functions. I also cannot modify the /system folder from TWRP either which is really strange to me. Also, when TWRP prompts me to install the app, it just reboots recovery since it's trying to install it as a system app which I can't do for this odd reason I have yet to find out. This issue all of a sudden showed up after an OTA update and re-rooting after. I have tried reinstalling TWRP, Magisk and Oxygen OS itself but the issue persists. I have also tried running "reboot disemmcwp" as root in a terminal window AND using adb but I guess that command no longer works. Any suggestions welcome as this is the last place I can find an answer to this issue.
Click to expand...
Click to collapse
Known issue that in the Newer OxygenOS versions there is no free space in /system. I'd download Solid Explorer and check the Free Space in the Root Directory.
Sent from my OnePlus6T using XDA Labs
Mannan Qamar said:
Known issue that in the Newer OxygenOS versions there is no free space in /system. I'd download Solid Explorer and check the Free Space in the Root Directory.
Click to expand...
Click to collapse
I've thought about that before. I use root explorer and can see there's more space than needed for the files I want to insert. Is there some buffer space needed in there and how much?
Toilet Clauger said:
I've thought about that before. I use root explorer and can see there's more space than needed for the files I want to insert. Is there some buffer space needed in there and how much?
Click to expand...
Click to collapse
Well, if you go to magisk and select core only mode then reboot you will be able to modify system
toolhas4degrees said:
Well, if you go to magisk and select core only mode then reboot you will be able to modify system
Click to expand...
Click to collapse
I was actually able to find the issue. Space was the issue. I guess there's a space buffer needed from what a file explorer says is left and what's actually left. I uninstalled a couple system apps I disable anyway and was able to insert files/apps into system again.
I made space easy I have the new OnePlus camera apk 125mb the old one is 67mb

How to delete system apps on rooted stock 10?

Hi everyone, Titanium says "failed to locate apk", system apps remover shows it deletes the app but after reboot it's still there. I used Mixplorer to go to root /system/apps to find YouTube but it wasn't there. Then went to /data/app found YouTube, deleted and rebooted into a bootloop. What's the way to delete system apps on 10? Thanks.
SD Maid.
Enviado desde mi PH-1 mediante Tapatalk
Google made changes in Q that prevents /system from being mounted.
The Magisk way to do this is to use a module like [MODULE][Terminal] Debloater v17.3.2 - Debloat Systemlessly.
This works by putting an empty file in place of the app you are removing. It doesn't actually reclaim any system space.
Otherwise, you can use ADB to disable apps. My guess is that TiBu will freeze apps also.

Moving app to /system not working

Hi.
I am new to this rooting and stuff. I got my pixel 4 rooted with magisk manager. (To activate motion sense). But now i am trying to convert user app to system app And it doesn't work. I have tried link2sd,system app mover even use fx file explorer to paste the app in /system/app. It just doesn't work.
Also tried with magisk module systemizer, the app get transferred to system but that app only crashes.
What to do? Am i doing something wrong?
spitfire700 said:
Hi.
I am new to this rooting and stuff. I got my pixel 4 rooted with magisk manager. (To activate motion sense). But now i am trying to convert user app to system app And it doesn't work. I have tried link2sd,system app mover even use fx file explorer to paste the app in /system/app. It just doesn't work.
Also tried with magisk module systemizer, the app get transferred to system but that app only crashes.
What to do? Am i doing something wrong?
Click to expand...
Click to collapse
I can't say anything about the mentioned magisk module because i don't use it.
But i think your system is ready-only as it is by many other phone nowadays and that is probably the problem. For example i can't modify system on my pixel 4 xl because it is mount as read-only (and i have installed Magisk, too)
That's the main reason why Magisk is the root tool nowadays: it works systemless so it doesn't need to touch the system partition.
I know some apps could mount the system as read-write in the past and i think adb could do this too theoretically.
But i can't give you detailed steps because i didn't need to mount my system as read-write in the past.

Categories

Resources