User App To System App in Marshmallow - Galaxy S 5 Q&A, Help & Troubleshooting

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

Related

Can't Delete nandroid backup

Ok, never seen this before and suspect SD card corruption.
I did a nandroid backup today before I flashed a custom kernel. Everything went well. Now I am getting low space alerts (got the 8GB model). I want to delete the backup which comes in at 1.8GB. Problem is, the permissions are wacky - the folder perms are rwsrwsr-t (775 with set uid, set gid and sticky).
I can't delete or change permissions with either root explorer or from the shell as root!
Has anyone seen this before, or have a solution ?
timekillerj said:
Ok, never seen this before and suspect SD card corruption.
I did a nandroid backup today before I flashed a custom kernel. Everything went well. Now I am getting low space alerts (got the 8GB model). I want to delete the backup which comes in at 1.8GB. Problem is, the permissions are wacky - the folder perms are rwsrwsr-t (775 with set uid, set gid and sticky).
I can't delete or change permissions with either root explorer or from the shell as root!
Has anyone seen this before, or have a solution ?
Click to expand...
Click to collapse
Same here. No clue how to get rid of it.
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Its a common issue with some versions of CWM, but Koush has released a (radically) new version
fix is as Wiithepeng said
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
"I can't delete or change permissions with either root explorer or from the shell as root!"
If I delete with root explorer I get "delete failed". If I adb shell in and `busybox rm -fR` I get "Operation not permitted"
With those steps?
Sent from my i777 using xda app-developers app
When I tried deleting from /mnt/sdcard or /sdcard or /storage/sdcard0 it would not work until I tried /data/media
Sent from my i777 using xda app-developers app
Phonic posted a script in the "[RECOVERY] r3 (6.0.0.4) - Interim ClockworkMod recovery for Nexus 7" thread in the Android Dev forum,
when executed thru CWM will delete undeleteable backups
didnt use it myself, I used Solid Explorer to delete /data/media/clockworkmod/backup/......
Ok, I rebooted into recovery and was able to delete the files with adb shell.
wiithepeng: Sorry, didn't see the /data/media path at first glance, I was going straight to /sdcard - so it might have worked your way.
Thanks for the help.
No problem. Glad you delete those backups
Sent from my i777 using xda app-developers app
Try THIS. Common problem and fixed in the newest version of the Recovery from that thread AND apparently the newest CWM directly from Koush.
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thank Bro, this was bugging the crap out of me. I had no idea to navigate through data/media etc. Good fix!
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thanks! I was about to tear my hair out! I used ES File Explorer though.
wiithepeng said:
This is what I did when I switched from CWM to TWRP
1. Get Root Explorer
2. Navigate to /data/media/clockworkmod/backup
3. Delete whatever backups
4. ?????
5. PROFIT!
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
Thanks bro... Root Explorer is premium so even ES File Explorer works as long as you are rooted and grant it SU access, which would be anyway as you have CWM.
Sent from my Nexus 7 using Tapatalk 2
wiithepeng said:
When I tried deleting from /mnt/sdcard or /sdcard or /storage/sdcard0 it would not work until I tried /data/media
Sent from my i777 using xda app-developers app
Click to expand...
Click to collapse
This worked for me :good:
Wahay, Fix ed
I was going to make a zip and flash as i thought all was lost but then I just fixed this via adb using the following commands, I didn't get any errors and it was successful, here is what I did,
# cd /data/media/clockworkmod/
# chmod 777 backup
# cd backup
# rm -rf <backupfilename>
Hope this helps others,

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

Not able to acess root system file on MM

I am on n910u stock MM ROOTED
and I just found that I am not able to copy or edit anything in the the system root dir. I am using SOLID EXPLORER file manager, which worked fine on LP 5.1.1
Any fix or.suggestion
Thanks [emoji4]
Sent from my SM-N910U using XDA-Developers mobile app
Make sure Solid Explorer was granted root permission in SuperSU. Also in Solid Explorer settings, tick show root storage.
GrippingSphere said:
Make sure Solid Explorer was granted root permission in SuperSU. Also in Solid Explorer settings, tick show root storage.
Click to expand...
Click to collapse
Thks
It never asks for the root permission for super su and I have already tick show.root storage
Thing is I can see the root storage but cant edit or copy paste or change any permission if I want to
Sent from my SM-N910U using XDA-Developers mobile app
Check in SuperSU apps and logs sections if Solid Explorer is there. You should see Solid Explorer there.
GrippingSphere said:
Check in SuperSU apps and logs sections if Solid Explorer is there. You should see Solid Explorer there.
Click to expand...
Click to collapse
Not there,in super su
I Installed solid exp. again but didn't ask to grant the root permission
So.how to add In super su
Sent from my SM-N910U using XDA-Developers mobile app
mihir880 said:
Not there,in super su
I Installed solid exp. again but didn't ask to grant the root permission
So.how to add In super su
Sent from my SM-N910U using XDA-Developers mobile app
Click to expand...
Click to collapse
Try x-plore. In configuration>root access set superuser+mount rewritable.
It could replace any system file without we have manually resetting the permissions.
Sent from my SM-G925F
Rosli59564 said:
Try x-plore. In configuration>root access set superuser+mount rewritable.
It could replace any system file without we have manually resetting the permissions.
Sent from my SM-G925F
Click to expand...
Click to collapse
Thks bro will give it a try
Sent from my SM-N910U using XDA-Developers mobile app

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.

Boot freeze after moving an app top priv-app

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

Categories

Resources