Problem moving app to /system/apps - Moto Z Play Questions & Answers

Hello!
Well, basically my problem is when I try to move an app to /system/app.
I am user of GPS spoofers and today I've unlocked my bootloader, flashed latest twrp by @Alberto97 and followed this thread to use Magisk:
https://forum.xda-developers.com/moto-z-play/how-to/how-to-safetynet-7-1-1-update-stock-rom-t3669086
I'm using Nougat 7.1.1 security patch December 1.
As I use GPS spoofers, I wanted to move GPS Location app to /system/app to do not use mock locations, and then hide Magisk to play Pokemon go, but every time I tried to move it to system with Link2sd, after trying, it was just showing the following error when I tried to to move the app to system:
"mount '/dev/block/dm-0'- '/system' device or resource busy"
I really don't want to downgrade to MM to try to move it, and maybe if I downgrade, the problem will not be fixed too... So, can anyone help me with it? I really want to move it to system, and I don't know what to do, I'm really new with this error.
Thanks, hope you help me!

/system write is disabled when the device is turned on, security
Use twrp. First mount /system in the mount menu, then advanced and file manager to move it from /data/app to system
And maybe it also needs to go to /system/priv-app, but I am not sure about that

user822 said:
/system write is disabled when the device is turned on, security
Use twrp. First mount /system in the mount menu, then advanced and file manager to move it from /data/app to system
And maybe it also needs to go to /system/priv-app, but I am not sure about that
Click to expand...
Click to collapse
So, I need to go to mount menu of twrp, mount /system, go to advanced, file manager and search all the app folder or just .app(?) And move it to /system/app(or just /system?) And also copy(or move?) It to priv-app?

xdaVTU said:
So, I need to go to mount menu of twrp, mount /system, go to advanced, file manager and search all the app folderAnd move it to /system/app
Click to expand...
Click to collapse
Yes, there should be a folder in /data/app/ that has the right name
xdaVTU said:
And also copy(or move?) It to priv-app?
Click to expand...
Click to collapse
Yes, move the folder to /system/app
Only if then the app does not work, try to move it to /system/priv-app instead

user822 said:
Yes, there should be a folder in /data/app/ that has the right name
Yes, move the folder to /system/app
Only if then the app does not work, try to move it to /system/priv-app instead
Click to expand...
Click to collapse
So after doing that, will I need to use Link2sd to something or your tutorial is enough?

xdaVTU said:
So, I need to go to mount menu of twrp, mount /system, go to advanced, file manager and search all the app folder or just .app(?) And move it to /system/app(or just /system?) And also copy(or move?) It to priv-app?
Click to expand...
Click to collapse
xdaVTU said:
So after doing that, will I need to use Link2sd or lucky Patcher to something or your tutorial is enough?
Click to expand...
Click to collapse
No that makes an app into a system app, that is all

user822 said:
No that makes an app into a system app, that is all
Click to expand...
Click to collapse
thank you for the help, but... Everything was okay until I test the app, i don't know if you use this kind of app, but when I moved it to system/app it should allow me to access the system functions. As the attached image shows, I cannot access it yet, but it's already in /system/app.
Please dude, help me, i really want to use this functions
Edit. And when i try to convert the app to a user app, link2sd show me the error showed by the error image.

First: never EVER even mention LP anywhere. It is strictly forbidden to even mention it, it's warez since you can crack Apps with it to not have to pay while still using paid functions, please all edit your posts!
Second: you are using Magisk @xdaVTU. So learn to use its full potential! Magisk was made to make changes especially to /sytem without actually changing that partition in order to allow OTA updates since they would scan partitions like the system partition which are cryptographically secured. If they where even mounted r/w the update will abort.
So if you want to make changes to /system, just make a module or use existing ones, it's actually very easy. In your case there should be a module in manager called app systemizer (or something like that, haven't used Magisk in about a month), that should do the job.
But in general, you can simply "write" your own module, you don't need much for that. Just get the module template from github, it should be linked in the Magisk release thread. Unzip it. open the module.prop in a text editor and edit it how you want (only the text behind the = signs, very self explainatory). Save it. Then open the folder "system" and create the sub-folder app (or priv-app) and inside create some folder for the app. Put the apk file of the app you want to install in /sytem/app/foldername inside. At the end, put everything back into a zip file (the folders common, META-INF and system together with the files. Make sure it's a simple zip file thats not encrypted and that inside the files and folders aren't inside another folder (which is the case when you download the zip from github) otherwise it will fail to install. Then just install your new zip through the Magisk Manager or TWRP and done. Everyting should work now.

@Artim_96
I'm sorry for that, I'll edit the posts.
About the Magisk, I don't know how does it work fully, and would like just to use that GPS as a system app, so I would need a little help for that. I didn't understand anything about the modules, and the only reason I'm using Magisk than SuperSU is because I've seen some users saying SuperSU wasn't stable in Nougat and they've got into bootloop...
Is this security of just Nougat or marshmallow also have it?
Should I use SuperSU instead of Magisk for that?
Please help me with it.
Ah, one more question, should I downgrade to Marshmallow to get it to work?

xdaVTU said:
@Artim_96
I'm sorry for that, I'll edit the posts.
About the Magisk, I don't know how does it work fully, and would like just to use that GPS as a system app, so I would need a little help for that. I didn't understand anything about the modules, and the only reason I'm using Magisk than SuperSU is because I've seen some users saying SuperSU wasn't stable in Nougat and they've got into bootloop...
Is this security of just Nougat or marshmallow also have it?
Should I use SuperSU instead of Magisk for that?
Please help me with it.
Ah, one more question, should I downgrade to Marshmallow to get it to work?
Click to expand...
Click to collapse
I already told you what to do. Just do one of the two things

Artim_96 said:
I already told you what to do. Just do one of the two things
Click to expand...
Click to collapse
As I said, I didn't understand

xdaVTU said:
As I said, I didn't understand
Click to expand...
Click to collapse
Just read. I told you just use app systemize, it will do the job

Artim_96 said:
I already told you what to do. Just do one of the two things
Click to expand...
Click to collapse
Artim_96 said:
Just read. I told you just use app systemize, it will do the job
Click to expand...
Click to collapse
I forgot to Tell you, i tried to use systemizer but i dont know what happened, It failed when I tried to install It with magisk

xdaVTU said:
I forgot to Tell you, i tried to use systemizer but i dont know what happened, It failed when I tried to install It with magisk
Click to expand...
Click to collapse
That's something for the Magisk forum. Otherwise try terminal app systemizer too.

Artim_96 said:
That's something for the Magisk forum. Otherwise try terminal app systemizer too.
Click to expand...
Click to collapse
As i just want to move an app to /system/priv-app(yes, priv-app), can I just use TWRP terminal and move it? Without rooting my phone neither with magisk nor supersu? Or it isn't gonna work?

xdaVTU said:
As i just want to move an app to /system/priv-app(yes, priv-app), can I just use TWRP terminal and move it? Without rooting my phone neither with magisk nor supersu? Or it isn't gonna work?
Click to expand...
Click to collapse
It will work, but keep in mind you won't be able to make OTA updates. So if you want to update your firmware you'll probably have to use either Motorola device manager or manually flush it through RSD lite. Using Magisk should give you root, it's huge possibilities and still keep OTA updates working. But with Motorola devices it's a bit of work to get it to work because there is a bug in the kernel for years now

I don't have sure if its gonna help because is a little complicated to do, i don't have sure if its gonna work with newer versions of magisk or the way that you installed because some module won't work in the way that you install but you can try this. I used some time ago in aosp rom maybe works on stock too
https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053
This gonna allow fake location without selection on settings or put app in systen

@Artim_96 @jst98 @user822
Thank you all for helping me, mainly Artim and user, because with user's help I learned that tarp also can make some system modifications with file manager, but it seems to need root as well(I'm not sure about that actually), and Artim, you really helped me with those things about magisk modules. I've just flashed nougat 7.0, then I flashed twrp 3.0.2-0 and flashed magisk, it works very well!
And I found a kernel download link that really worked for me, with magisk modules(systemizer and appsystemizer) I could do what I wanted to.
Everything is working now, but I'd like to know if that f2fs fix kernel really works.. When I was using 6.0.1, I downloaded the kernel fixed for that Android version, but I just caused me a bootloop, so now I'm afraid about trying the 7.1.1 version...

xdaVTU said:
@[email protected]@user822
Thank you all for helping me, mainly Artim and user, because with user's help I learned that tarp also can make some system modifications with file manager, but it seems to need root as well(I'm not sure about that actually), and Artim, you really helped me with those things about magisk modules. I've just flashed nougat 7.0, then I flashed twrp 3.0.2-0 and flashed magisk, it works very well!
And I found a kernel download link that really worked for me, with magisk modules(systemizer and appsystemizer) I could do what I wanted to.
Everything is working now, but I'd like to know if that f2fs fix kernel really works.. When I was using 6.0.1, I downloaded the kernel fixed for that Android version, but I just caused me a bootloop, so now I'm afraid about trying the 7.1.1 version...
Click to expand...
Click to collapse
Of course you need the Kernel matching your Android version.
There also is a Magisk module that's supposed to fix it, but I don't know if it even works

Related

[Q] EX SD card not writable for Titanium backup on 5.0

Hey guys
Im running low on space in my phone so i decided to move my titanium backup folder to the external sd card. However, its says the folder is not writable. Any way I can solve this ? Im running 5.0 and have xposed installed
Solved: I flashed the ex sd card fix zip and it worked like a charm
Think you have to use the stock File Manager as Android doesn't allow direct writing to an external memory source
EddyOS said:
Think you have to use the stock File Manager as Android doesn't allow direct writing to an external memory source
Click to expand...
Click to collapse
Yes I am aware but I was wondering are there any root solutions currently available to fix this ?
Just root then apply the sd card fix. Job done.
Sent from my SM-T805 using XDA Free mobile app
It says that the system partition on stockhtc kernel is protected and hence the method will not work
You likely need S-OFF in that case?
Wait... Did you actually root the phone yet?
Darth said:
Wait... Did you actually root the phone yet?
Click to expand...
Click to collapse
Yup phones rooted. Its been checked with root checker and I am running titanium backup, xposed alpha, and automagic premium with it
Then I'm not sure, sorry.
Darth said:
Then I'm not sure, sorry.
Click to expand...
Click to collapse
Is there a way to manually remove the protection for the system partition and make it writable ? I have twrp recovery
xdaaccount123 said:
Is there a way to manually remove the protection for the system partition and make it writable ? I have twrp recovery
Click to expand...
Click to collapse
You're already rooted... That's not the issue.
But I'm not sure what is unfortunately.
Darth said:
You're already rooted... That's not the issue.
But I'm not sure what is unfortunately.
Click to expand...
Click to collapse
should I maybe run through the root process again ? Like reflash supersu ?
Sounds like you have root.
I think you're barking up the wrong tree here. Lol
Here's some things to try,
http://forum.xda-developers.com/htc-one-m8/help/lollipop-titanium-backup-extsd-error-t3009584
http://forum.xda-developers.com/htc-one-m8/help/lollipop-grant-access-to-sdcard-t3015672 (same as above I think)
http://forum.xda-developers.com/htc-one-m8/help/lollipop-blocking-writes-to-external-t2969254
See if anything there helps.
Darth said:
Here's some things to try,
http://forum.xda-developers.com/htc-one-m8/help/lollipop-titanium-backup-extsd-error-t3009584
http://forum.xda-developers.com/htc-one-m8/help/lollipop-grant-access-to-sdcard-t3015672 (same as above I think)
http://forum.xda-developers.com/htc-one-m8/help/lollipop-blocking-writes-to-external-t2969254
See if anything there helps.
Click to expand...
Click to collapse
Unfortunately ive already tried all of those :S
Ive found a really interesting thing though I dont know if its pertinent. When I edit the xml file, it doesnt save after reboot
EddyOS said:
Think you have to use the stock File Manager as Android doesn't allow direct writing to an external memory source
Click to expand...
Click to collapse
Sorry for the noob question, but could you explain that? With the stock File manager I can copy/move files to the external memory card. So is that file manager not part of Android or do you mean that apps are not allowed to write to the sd card? But the the stock camera can - all my photos are on sd card ...
xdaaccount123 said:
Ive found a really interesting thing though I dont know if its pertinent. When I edit the xml file, it doesnt save after reboot
Click to expand...
Click to collapse
try a custom kernel; stock kernel usually has /system write protection enabled so it won't allow changes to stick to the system partition
EDIT: or change the file while booted into custom recovery (ie pull the file, edit it, push it back, make sure permissions are correct)
---------- Post added at 06:51 PM ---------- Previous post was at 06:42 PM ----------
unifex_ said:
Sorry for the noob question, but could you explain that? With the stock File manager I can copy/move files to the external memory card. So is that file manager not part of Android or do you mean that apps are not allowed to write to the sd card? But the the stock camera can - all my photos are on sd card ...
Click to expand...
Click to collapse
IF (yes big if) i remember correctly, only system apps have [full] access to the sdcard, all user apps only have access to their respective directories.
feel free to correct me, havent been keeping up to date :angel:
nkk71 said:
try a custom kernel; stock kernel usually has /system write protection enabled so it won't allow changes to stick to the system partition
EDIT: or change the file while booted into custom recovery (ie pull the file, edit it, push it back, make sure permissions are correct)
Click to expand...
Click to collapse
I think I am going to do that. Can you recommend a custom kernel for flashing ? And I have no idea how to change the file while booted into custom recovery, could you please walk me through it if its not too much trouble ?
xdaaccount123 said:
I think I am going to do that. Can you recommend a custom kernel for flashing ? And I have no idea how to change the file while booted into custom recovery, could you please walk me through it if its not too much trouble ?
Click to expand...
Click to collapse
i'm still on KK, but have always used ElementalX (both on M7 and M8), but if you rather do it through TWRP, can you upload the xml for me, i'll change it and post instructions back on how to push it back in TWRP

[ROM][STOCK][Lolipop][deodexed,resigned,zipaligned] D5503 14.5.A.0.270 Enhanced LP

Hi, just to share with you!
Whats this? In short, it is deodexed -> resigned -> zipaligned, installed busybox, supersu, dual recovery (vol up for twrp, vol down for cwm), 5way reboot menu ...and some other changes which you can read about it here -> https://github.com/munjeni/D5503_14.5.A.0.242/commits/master .
How to download rom:
- go to here -> https://github.com/munjeni/D5503_14.5.A.0.242/tree/ae7b18de7faa97eaf01eff1c2b6abeb540feaf6f and on the right side you have "Download zip"
- after downloading rom is not ready, do not flash!!!
How to install:
- after you download rom you must repack zip since git always add things into new folder inside zip so you will need repack it first before installing!
- simple open main zip and go to folder "14.5.A.0.242.master", select all files from these folder, drag and drop it to a new empty zip, you are done. Before you flash rom please read "iportant" section! Flash these new zip with any recovery. Done.
Mirrored download link (using this you no need to repack anything, just download and install!):
- https://mega.co.nz/#!Co1yERia!eJVCBjTZrjXok3KXZxM9xp_28I9Pos-LPYKjigJ6Bok
Important:
- you must fully wipe /data partition (mean delete everything from /data folder)! Or another solution, flash only userdata from any LolyPop ftf! Why? Because all old files from internal storage is not relabeled and you will encounter a lot of problems and all these files can not be accessed from android, pictures, private files... etc is not accessible than! Don't think it will work without wipe, it will not! Wioe data factory reset have no sense, I recomend installing userdata from ftf since its more a safe way!
Changelog:
- https://github.com/munjeni/D5503_14.5.A.0.242/commits/master
Enjoy!
munjeni said:
Hi, just to share with you!
Whats this? In short, it is deodexed -> resigned -> zipaligned, installed busybox, supersu, dual recovery (vol up for twrp, vol down for cwm), ...and some other changes which you can read about it here -> https://github.com/munjeni/D5503_14.5.A.0.242/commits/master . Curently I am stoped development on this rom since I am unable to solve thing like this -> lolipop have two classpaths (BOOTCKLASSPATH and SYSTEMSERVERCLASSPATH) and I not understand how to access classes from one classpath to another classpath, if you have idea how I can get this than I will probably continue development. My plan was implementing privacy guard rom cm12 but since I have problem accessing classes I am temporary stoped
How to download rom:
- go to here -> https://github.com/munjeni/D5503_14.5.A.0.242 and on the right side you have "Download zip"
- after downloading rom is not ready, do not flash!!!
How to install:
- after you download rom you must repack zip since git always add things into new folder inside zip so you will need repack it first before installing!
- simple open main zip and go to folder "14.5.A.0.242.master", select all files from these folder, drag and drop it to a new empty zip, you are done. Flash these new zip with any recovery. I have made some automated scripts so you no need to wipe anything since everything needed will be done auto so just click "install" and wait until rom get installed.
Enjoy!
Click to expand...
Click to collapse
Flashed this ROM and it is amazing.
Debloated it, installed some mods like xposed, xposed fix, modded services.jar for superuser mode, modified mixer_paths.xml for more loudness and some apps like MyAndroidTools, TitaniumBackup, Greenify.
Works like a charm and good battery life.
Only thing is the aweful toogle change by Google (no silent, vibrate toggle on quick settings) - but this depends NOT on your ROM.
Thx munjeni (one more time) for your time, work and effort.
m.
Investigated and got solution for 5 way reboot menu
Where you got moded services with superuser mod? I wanted to start porting it from cm12 but if it is allready exist I will be glad to look into it
munjeni said:
Investigated and got solution for 5 way reboot menu, you can download from here (just download android.policy.jar and replace) -> https://github.com/munjeni/D5503_14.../system/framework/android.policy.jar?raw=true enjoy
Where you got moded services with superuser mod? I wanted to start porting it from cm12 but if it is allready exist I will be glad to look into it
Click to expand...
Click to collapse
http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-accent-systemui-t3088719
moonryder said:
http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-accent-systemui-t3088719
Click to expand...
Click to collapse
I have no idea why it is caled SuperUser Mod since it have nothing related to SuperUser. It is just SignatureDisable mod, author stupidly gave these name to these mod which apsolutly have nothing related to superuser If you look into commits on my git you will notice that you no need his services.jar since my rom allready have disabled signature verification, I not guarant you how his services is patched, but I can sugest you to replace services.jar whith one from my rom since compatibility is guaranted
This http://www.androidauthority.com/cyanogenmod-12-superuser-577985/ is what I call superuser mod (I have plan to port it here), and diferencie between "wrongly named" superusermod and real superusermod like one from cm12 is like this and this
munjeni said:
...and diferencie between "wrongly named" superusermod and real superusermod like one from cm12 is like this and this
Click to expand...
Click to collapse
LOL
Ok bro will wait for a "real" PrivacyGuard for LP 5.0.2, modded by the master munjeni itself
When trying to install an app from sd card, I am getting out of space message, can't install apps from sd card
btw.. already wiped everything, and system storage shows correct info
nemphis said:
When trying to install an app from sd card, I am getting out of space message, can't install apps from sd card
btw.. already wiped everything, and system storage shows correct info
Click to expand...
Click to collapse
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
I can install apps from sdcard [emoji18]
But I am unable to download some apps from playstore
munjeni said:
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
Click to expand...
Click to collapse
NO problems here, i can install apps from sd card am on stock rooted lollipop with unlocked boot-loader.
I'll wait for another simplified flashable version of your rom.
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Freshly installed and everything is perfect ! Thank you very much brah !!
D5503 UB Dstriker ROM KK.157
Winb33 said:
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Click to expand...
Click to collapse
i tried that and / or replaced some things like bootanimation, fonts etc.
Flashing failed, so flash it untouched and remove / add things then.
pathaniya said:
NO problems here, i can install apps from sd card am on stock rooted lollipop with unlocked boot-loader.
I'll wait for another simplified flashable version of your rom.
Click to expand...
Click to collapse
I'm trying to solve this but have no idea how to do it, it is selinux restriction (if somebody have idea how it can be solved let me know please), but temporary solution is: via terminal emulator disable selinux, than install app, than enable selinux. To disable selinux write "setenforce 0", than install app, than enable selinux "setenforce 1"
Winb33 said:
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Click to expand...
Click to collapse
You can but only if you propertly remove lines from updater-script since it is hardcoded with our rom, instead recovery will abort installation if you missed something in updater-script ! My sugestion is, remove things manualy using an root file explorer, or at least add some lines in updater script which will remove things that you want
munjeni said:
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
Click to expand...
Click to collapse
First when installed FR version same problems with SD card. Also ESexplorer had problems accessing SD card
Now on stock rooted works everything fine related to SD card.
Run also SDfix app becouse Titanium problem
Sent from my D5503 using XDA Free mobile app
EasySR said:
First when installed FR version same problems with SD card. Also ESexplorer had problems accessing SD card
Now on stock rooted works everything fine related to SD card.
Run also SDfix app becouse Titanium problem
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
No man, you no need sdcard fix. I allready included sdcard fix https://github.com/munjeni/D5503_14.5.A.0.242/commit/21b396daf721791c3675de417c543ba6184e21d1 and you can read / write any storage without problems, but we speak about problem related to the "installing apps from sdcard"! For example, if you try to install blablabla.apk which is on any storage you will get "no free space" error since selinux DENIED installing it, I don't have idea why it happen since I am not familiar with selinux, only very basic things by now. I will try to solve this problem!
munjeni said:
No man, you no need sdcard fix. I allready included sdcard fix https://github.com/munjeni/D5503_14.5.A.0.242/commit/21b396daf721791c3675de417c543ba6184e21d1 and you can read / write any storage without problems, but we speak about problem related to the "installing apps from sdcard"! For example, if you try to install blablabla.apk which is on any storage you will get "no free space" error since selinux DENIED installing it, I don't have idea why it happen since I am not familiar with selinux, only very basic things by now. I will try to solve this problem!
Click to expand...
Click to collapse
Just installed app on stock rooted lolipop (3G Watchdog) from SD card
Sent from my GT-P5110 using XDA Free mobile app
Hey guys, I'm having a hard time installing xposed installer, I get "not enough space" error. Could any of you help out a fellow user..?
D5503 UB Dstriker ROM KK.157
EasySR said:
Just installed app on stock rooted lolipop (3G Watchdog) from SD card
Sent from my GT-P5110 using XDA Free mobile app
Click to expand...
Click to collapse
Ok thanks for info. On my rom selinux must be disabled temporary before installing any app from sdcard, than enabled. I will try to understand why it happening. For sure it is related to selinux. I replaced platform key in selinux_policy.xml since all apks on our rom is resigned and zipaligned but it was not solved problem related to the installing apks from sdcard.

Device is Rooted,Still Cannot Remove Bloatware

My device is rooted.
I've read a few other topics regarding this issue, but I'm still confused. As I understand it, using typical uninstall apps such as Titanium or Root Uninstaller do not remove the manufacturer apps from the phone still because of an S feature? I'm new to this process, so please forgive my naive rhetoric. I tried those programs, and as previously stated in other posts, the bloatware comes back.
I installed AROMA file manager to try and manually find the bloatware and delete the physical files, but I can't find the files that I'm looking to delete. I don't mind taking the time and manually deleting these unnecessary files, but, I need some guidance on where to look (or any other viable solutions.)
Thanks for your time!
Download this patch and edit update-binary file what application need remove then flash via recovery mode .
espmma said:
My device is rooted.
I've read a few other topics regarding this issue, but I'm still confused. As I understand it, using typical uninstall apps such as Titanium or Root Uninstaller do not remove the manufacturer apps from the phone still because of an S feature? I'm new to this process, so please forgive my naive rhetoric. I tried those programs, and as previously stated in other posts, the bloatware comes back.
I installed AROMA file manager to try and manually find the bloatware and delete the physical files, but I can't find the files that I'm looking to delete. I don't mind taking the time and manually deleting these unnecessary files, but, I need some guidance on where to look (or any other viable solutions.)
HTC devices are set "S on" from the manufacture. That means there are certain partitions in the nand storage that you can't access without S off ( boot partition, radio partition). The write permissions to the system partition are also not accessible unless you either obtain S off through the Sunshine app which costs $25 or a another option that is not true S off is a write permission mod called WP.MOD_ko that you flash to your phone and it installs a script and changes your phone's SElinux permissions and enables the system partition write permissions to be able to uninstall system apps or fully use certain root apps like Link2SD that also need the system write permissions at bootup.
1st option " fully" unlocks your phone and all partitions. 2nd option just installs scripts to kind of trick your system partition to allow apps to write to it and you to be able to uninstall system apps. It also changes your SElinux permissions from enforcing to permissive so be aware that's disabling the phone's security system. Not a problem unless you get malware but you should be aware of what any mod does to your phone. They have to do that because the mod can't get the phone to be true S off so this is a workaround for that one partition.
Click to expand...
Click to collapse
Okay cool, thank you for breaking that down for me. So, if I use what pham posted, then that would be a script change? But, even if it were a script change I could still fully uninstall the bloatware, with the risk of a potential virus. Is that correct?
espmma said:
Okay cool, thank you for breaking that down for me. So, if I use what pham posted, then that would be a script change? But, even if it were a script change I could still fully uninstall the bloatware, with the risk of a potential virus. Is that correct?
Click to expand...
Click to collapse
You're welcome. I'm not familiar with what Pham linked you but I'm sure it's similar to the 2nd option I mentioned. The one I was referring to was written for lollipop versions by CaptainTitti I believe is his handle but if you search XDA for our phone WP_MOD.ko that forum should be for kit Kat and a few pages forward is the link to the lollipop version with instructions from CaptainTitti on how to install it. The malware risk is minimal i just wanted to mention it. You have that as well with just rooting and also full S off it's just those 2 leave your SElinux permissions set to enforcing not permissive. Just giving you the info so your informed because no one but us pays for our devices so we should have as much info as possible I believe but good info .
The only one of these I've actually tried is the full S off one with Sunshine so understand and read the whole forum for the other before flashing so you know all the feedback but it does work. Also be aware that the WP_MOD.ko would have to be fully removed and SElinux reenabled to be able to do stock updates and there's not just an " uninstall" box with them. You have to use a root file explorer and remove what was changed and replace with the stock files I believe. Good idea to do a stock Android backup using your custom recovery before flashing any of these, S off excepted as it doesn't mess with doing stock updates. Not knocking the others but these are the things you don't find out about till after you flash them. Now you know before.
Below is the link to the forum page for the kitkat mod and if you scroll down a bit CaptainTiiti had a link to the one for lollipop.
http://forum.xda-developers.com/showthread.php?t=2707378&page=7
Can't you just use Root Browser, then go to system/app & system/priv-app to remove the bloat? That's what I do on my phone everytime I install a new ROM [emoji1]
Stachura5 said:
Can't you just use Root Browser, then go to system/app & system/priv-app to remove the bloat? That's what I do on my phone everytime I install a new ROM [emoji1]
Click to expand...
Click to collapse
I don't know my friend I've never tried that. Maybe he can try it first and see if it works. To be honest I never tried to just remove system apps before i was S off I just read of all the people here on XDA saying they couldn't without S off so I did it. Turns out I switched to debloated CM roms soon after and never even debloated my stock rom, which definitely needed it ! I used Titanium backup to debloat my Samsung tablet after root to get rid of Knox and Samsung junk but it wasn't nand locked like the HTC's are. Can't hurt for him to try it because S off costs and the other mods have their down sides also.
i have completely deleted their bloatware folder, but bloatware will appear if the device boots without root and there is no app folder in user app or system folder but they can run and update normally, maybe it specially designed. Will the above patch zip help me clear the problem completely? i want to clean up the crap, and my device uses system as root so i need to flash modified binary in boot.img separately after signing.

Question Root file manager impossible delete system file on Android 11

Hello all I want to delete Facebook services and Facebook installer app folder in root>system>priv-app directory... I installed some file manager app with root access but none can delete that folders... Anyone know how fix this problem ? This is a big problem for me...
Thanks to everyone.
Is the application running in the background. You can't modify files if they are currently in use
However otherwise it might be an issue with the way magisk works and so there might not be a solution (i.e magisk is systemless so it doesn't actually modify system files it just mounts modified file in such a way that Android sees the file changes whilst the actual system remains unmodified)
Angyone1 said:
Hello all I want to delete Facebook services and Facebook installer app folder in root>system>priv-app directory... I installed some file manager app with root access but none can delete that folders... Anyone know how fix this problem ? This is a big problem for me...
Thanks to everyone.
Click to expand...
Click to collapse
This is very complicated now. Systemless root has a lot of benefits but it also has lost some of its power. This is 1 area that is hard because technically no you can't touch the system otherwise it'll bootloop on all of my devices. If your rooted with magisk you have busybox magisk installed than you want to get system debloater module on magisk manager and use termux or terminal emulator but termux is the best than you can use the system debloater module to find system apps and uninstall them. It works on some of my android 11 devices not all it's getting outdated. I use it to uninstall Facebook and actually YouTube on Samsung that way I can use vanced YouTube properly. I don't understand why you can't just delete the app but the system isn't writable I believe. You would have to use adb or twrp recovery and there's no real information on this topic. Magisk isn't as good as people think though for instance the build prop module if it was really able to hide your device when I signed into my Google account it would say I was on a new device not the device I'm using trying to hide
Have you tried to remove them using TWRP? That shall do it.
Techguy777 said:
This is very complicated now. Systemless root has a lot of benefits but it also has lost some of its power. This is 1 area that is hard because technically no you can't touch the system otherwise it'll bootloop on all of my devices. If your rooted with magisk you have busybox magisk installed than you want to get system debloater module on magisk manager and use termux or terminal emulator but termux is the best than you can use the system debloater module to find system apps and uninstall them. It works on some of my android 11 devices not all it's getting outdated. I use it to uninstall Facebook and actually YouTube on Samsung that way I can use vanced YouTube properly. I don't understand why you can't just delete the app but the system isn't writable I believe. You would have to use adb or twrp recovery and there's no real information on this topic. Magisk isn't as good as people think though for instance the build prop module if it was really able to hide your device when I signed into my Google account it would say I was on a new device not the device I'm using trying to hide
Click to expand...
Click to collapse
thanks for the reply, I have tried with my old phone, mi note 3 with crdroid 7.8 rom and android 11 and I have rooted with magisk and installed the file manager, so I can delete and modified all the files ! why with mi note 3 yes and with poco f3 no? very strange...
laid1995 said:
Have you tried to remove them using TWRP? That shall do it.
Click to expand...
Click to collapse
yes thanks I think that in this way works... tomorrow I try... thx
Was it done in TWRP recovery mode? If yes please guide me with the steps... I actually tried the TWRP method unsuccessfully...
With swift backup, you can uninstall system apps using root.
Animesh Singh said:
With swift backup, you can uninstall system apps using root.
Click to expand...
Click to collapse
I installed Swift Backup (paid latest version) and tried uninstalling system app. But there is only option to disable system apps.
Also I need a way by which I can even paste files in system/app folder so that apps behave like system apps.
By the way I did use magisk module Systemizer. It was a bit complicated for me and did not give full access to the root folders.
[GUIDE] How to make your System RW / Super R/W read/write-able
Welcome to the one and only, the original, universal SystemRW / SuperRW feat. MakeRW / ro2rw by lebigmac This script removes the read-only lock of all partitions embedded in the super partition of your stock firmware. This allows you to mount...
forum.xda-developers.com
pl1992aw said:
[GUIDE] How to make your System RW / Super R/W read/write-able
Welcome to the one and only, the original, universal SystemRW / SuperRW feat. MakeRW / ro2rw by lebigmac This script removes the read-only lock of all partitions embedded in the super partition of your stock firmware. This allows you to mount...
forum.xda-developers.com
Click to expand...
Click to collapse
If anyone tries it successfully and it will work on F3, please let me know here. Thanks.
I can verify that the above procedure worked flawlessly in first attempt. My installed rom was Xiaomi.eu 12.5.4.0 on Poco F3/ Mi 11x btw. Thanks a lot...

Question With Root Moving app to system app.

I have never created a thread before because I normally can find my answers by browsing. However, in this situation, I come up snake eyes each and every time. If this is the wrong place to post, I apologize. I am trying to move a GPS app to a system app. However, when I try to move it, I get an error that there is not enough space in the system ROM (/system) for this. (There is only 2.73 MB free.) I do not need much as I am only looking to move this one gps spoofing app. I have tried everything I could find to do from uninstalling system apps, etc., but no matter what I do, it stays free space 2.73 MB. Any help is most definitely appreciated as I am at a loss, and this was the only thing I rooted to do. Please help!
Edit: I forgot to say it earlier, but I am not a pro at all this so speak to me as if I were 10 yrs old. Thanks alot!
You can use lucky patcher to rebuild/install fake gps apps as system apps. Copying by hand is not gonna do the trick.
There should be plenty of tutorials out there, just search for something along the lines:
Spoof GPS Pokemon Go Luckypatcher
Beware though, that those tutorials will not have been written with Android 12 in mind; I have not yet meddled with GPS spoofing with my P6 and do not know whether Google has implemented certain mechanisms to prevent spoofing system apps. You might get into a bootloop or even softbrick your device (I'd say rather unlikely, but there's always a certain chance).
Magisk is your friend. Not very complicated. Create a module with a /system/app or priv-app directory.
foobar66 said:
Magisk is your friend. Not very complicated. Create a module with a /system/app or priv-app directory.
Click to expand...
Click to collapse
He said that he is not a pro and needs everything explained like a 10 year old, you're sure that creating a magisk module isn't a tad too much to ask?
There are solutions that only require a couple clicks in a premade app interface, intuitive and easy. Going in and coding a couple lines is not my definition of 10 year old not pro stuff. I mean it's not a big deal breaker, there are plenty of tutorials to go around (topjohnwu even offers templates), but it still requires some knowhow and poses more risk.
I appreciate your help but I have already done all the recommendations. As I said, when I uninstall apps from the system ROM I gain no space. I have been using lucky patcher to move files to system apps but it says there is not enough room. This is why I asked, according to what I read, it should have worked. I don't know if I am doing it wrong , but when I try to move app to a system app, I click on it and choose tools and move to system/app in lucky. Any help to help me with this issue is really appreciated.
Install the attached version of the App Systemizer Magisk module and reboot. Open a terminal (install Termux app from Play Store if you need a terminal app), su [enter], systemize [enter] and follow the instructions.
If you are willing to share the APK, I can make a magisk module to install it as a system app.
foobar66 said:
If you are willing to share the APK, I can make a magisk module to install it as a system app.
Click to expand...
Click to collapse
are you asking me for the apk?
Roll3r said:
Install the attached version of the App Systemizer Magisk module and reboot. Open a terminal (install Termux app from Play Store if you need a terminal app), su [enter], systemize [enter] and follow the instructions.
Click to expand...
Click to collapse
I am unsure what I am supposed to do as the menu is not to clear?
michaelrager said:
are you asking me for the apk?
Click to expand...
Click to collapse
Yes but only if you're willing to share it, send me a PM if you want ...
michaelrager said:
I am unsure what I am supposed to do as the menu is not to clear?
Click to expand...
Click to collapse
At the menu, type 1 and hit enter. It'll bring up a list of all installed apps, with a number next to each one. Type in the number of the app and hit enter. It'll probably throw an error, but the app should still be systemized - I've seen seen errors since Android 11 but it's always worked
Roll3r said:
At the menu, type 1 and hit enter. It'll bring up a list of all installed apps, with a number next to each one. Type in the number of the app and hit enter. It'll probably throw an error, but the app should still be systemized - I've seen seen errors since Android 11 but it's always worked
Click to expand...
Click to collapse
Thank you! I got it as a system app but for some reason when I click on the app it doesn't load and freezes. Any ideas are much obliged!

Categories

Resources