Can't install any app as a system app. - Xiaomi Mi A1 Questions & Answers

Hello
I own a Mi A1 smartphone currently running on Nougat 7.1.2. It is rooted. I am unable to install any app (for example:- Fake GPS) as a system app.
I have tried many methods. Using ES Explorer, Root Explorer, Link2SD, flashing app zip from TWRP recovery and lukcy patcher. But none of them are working. (Although ES Explorer did the job with some manual settings but the app didn't work as it was supposed to)
I am getting the following errors.
Link2SD - FAILURE - mount: 'rootfs';>'/': No such device
Lucky Patcher - Error: there is not enough space within the system partition to move the application (although I have 126 MB free)
TWRP - installs successfully but app never shows.
Please help me

Related

Cannot Convert User App to System App

Hello
Why I can't move user app from data/app to system/priv-data? I've tried different apps to convert the app to system app ,tried tby, system app mover, link2sd..still can't get it done
It says "not enough storage space", I looked at the storage but it has 18 gb free..Im running on android L 5.0.1 SM-N910G rooted.
Any help is very appreciated ..thnx
I use ROMToolboxPro to do this. It ussually gets the job done.
Link playstore:
https://play.google.com/store/apps/details?id=com.jrummy.liberty.toolboxpro
Tutorial:
https://www.youtube.com/watch?v=m13Im2P1ong
Same here, im using Stock Marshmallow 6.0.1 - Permissive SElinux
Tried Romtoolboxpro, link2sd, System app mover, etc.
Mount system RW and move the app folder manually didn't work either.

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

Solved the problem of writing to external storage on marshmallow and nougat ( and lol

I had a problem writing to external storage (Micro SD card) on madOS (android 7.1.2)
After an install I just could not write to the SD card , even after root ...
And this is a problem that affects android from marshmallow onwards (android 5.1 and later)
So here is how I solved the problem...
1) I downloaded on my computer and then transfered to the SD card the following files:
1-- a recovery image of madOS (android 7.1.2) I got from here
https://forum.xda-developers.com/devdb/project/?id=16842#downloads
2-- the pico package of opengapps from here
http://opengapps.org/
(choose your platform , your android version and the pico variant)
3-- magisk manager (an apk ) and the magisk zip from
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
magisk roots like SuperSU , but its the new form of root called systemless root and to pokemo go , safetyNet etc , it appears like your phone is not root and you can use them - but you can do much more with it than the other root applications !!
2) I inserted the SD card into the phone (a jiayu s3 ) and booted into recovery (by pressing the vol up + power button untill the phone switches on and then releasing the power button but keep holding the vol up
I already have twrp 3.1.1-0 installed (madOS requires its own version of twrp otherwise you can't install it. You can download their twrp from here - scroll down on the page to find the link https://forum.xda-developers.com/jiayu-s3/development/rom-unofficial-aosp-n-jiayu-s3-t3451923 )
3) I wiped everything except system and external storage (I wanted a clean install !!)
4) I installed madOS
5) Without doing a wipe I intalled opengapps then wiped cache and delvicahe and rebooted into system
6) I did a few settings on the phone then shutdown the phone and booted into recovery again
7) I installed magisk zip file , wiped cache and delvic cache , and rebooted into the system
8) Now I was rooted (by magisk) - a systemless root , which means there is nothing writen to /system and so it looks like the phone is not rooted to applications that check root !!
9) I installed magisk manager apk , loaded the app , saw that I was properly rooted (be connected to the internet), clicked the downloads button , and clicked to install "App Systemizer". After the install you get a "AppSystemizer" app
I then installed the apps I want from google play store
What App Systemizer does is make a user installed app behave like it was a system app.
SYSTEM APPS CAN WRITE TO EXTERNAL STORAGE SD CARD !!! because they are trusted by the system !!
So I opened AppSystemizer and choose ES file explorer to make it a system app ( when you save you have to reboot phone) , and after that I can use ES file explorer on SD card without problems !!
I did the same to some other applications that I wanted to be able to write to the SD card ...
AND THE GOOD THING IS YOU DONT HAVE TO GRANT ROOT TO ANY APPLICATION !!!
I was always afraid to grant root to ES file explorer because while its the best or one of the best file managers , it has many ads , requires too many permissions when it installs , writes some files to /system when you give it root and I beleive its a chineese spy software .
So now I can now use ES file explorer as I want and without root and so without fear !!!
10) Another good app to install is adaway - it stops all those adds from applications , including ES file explorer
https://labs.xda-developers.com/store/app/org.adaway
After this you will have a smooth android experience
I beleive this is applicable to any marshmallow and Nougat rom (stock or custom)

could not remount /system

Guys, i am on stock os, 7.0 , recently flashed magisk for systemless root and when i tried to use app mover to move some apps to system, i get error as could not remount/system. Tried supersu root as well but same result, im a newbie here. please help Used both Vegito and Ex kernel too. but i get the error everytime. But root checker shows i have root.
You could try the Magisk module named "App Systemizer". It can convert user apps to system apps, but systemlessly.
thorin0815 said:
You could try the Magisk module named "App Systemizer". It can convert user apps to system apps, but systemlessly.
Click to expand...
Click to collapse
Thanks, Is there a way to edit system files , like modifying host file ? It seems i have been using system root all these days. Is it still available ?

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