Related
if app requesting permissions at runtime, it's may be through API:shouldShowRequestPermissionRationale to detect that whether permission has refused, same app e.g. Alipay need dangerous permissions to read and write sdcard but i thought that permission isn't necessary, if refuse it has will not to use, but i just use it to pay, can i hack into the android permission mechanism to change API:shouldShowRequestPermissionRational alway return has granted?
ideaman924 said:
I guess you could, but transactions won't work since Alipay couldn't save 'temporary' data to the SDCard.
Click to expand...
Click to collapse
My another phone is Android 5.1, XPrivacy has restricted access sdcard, at the same this time the Private Guard has restricted all dangerous permissions on Alipay but that no complaints and it's work fine. since Android 6.0(RR ROM, Xposed Version 85) Xprivacy can not restrict storage permissions even though i selected restrict all storage subitems.
EDIT: SEE POST #8 FOR THE WORK-AROUND TO UNINSTALL SYSTEM APPS
Rooted last night and one of the first things I did was install TB so I could remove some of the system apps.
But while TB says they're removed (like Chrome & easter egg), I reboot and they're still there.
I did have latest BusyBox installed.
So I tried using TB's built-in BusyBox and had the same issue.
I also made sure to get /system_root Read/Write and still couldn't uninstall using TB.
Are we gonna have to wait for either SuperSU or TB to get an update with fixes.
Any suggestions on a way to get TB working? Other than manually removing apps via Root Explorer which I already know how to do and is not the point of this thread.
try system remove app
Sent from my Nexus 6P using Tapatalk
Isn't current root system-less.?
Root is actually in system_root and system is not being mounted rw?
If its true you cant change anything in system until it can be switched to rw..
I've already set it to R/W using this command: mount -o rw,remount /system_root.
Didn't help. The apps are still there after rebooting.
An odd thing I noticed. Titanium is showing "Android System Webview" and "Device setup 7.1" as frozen. And I didn't do it. Anyone else noticing this?
DinarQ8 said:
try system remove app
Click to expand...
Click to collapse
Just tried it. Doesn't work either.
Thanks for helping me rule out Titanium Backup specifically though.
Definitely something to do with Google's partition setup (or with root) then.
No big deal, I'll just use Root Explorer to remove the ~35 system apk's I'm trying to get rid of.
I just feel safer seeing app names rather than guessing at apk names when I'm removing stuff.
Plus, TB is just faster & more convenient. And I'm probably going to have to do this a few times over the next few weeks as I make & break my phone.
Btw, I'm a little disappointed there are a bunch of Verizon apps on my Google purchased phone.
DM-Verity, I think it is, is still active with this root. Think that's what your running into.
By the way, I found a work-around.
If you want to uninstall SYSTEM apps via Titanium Backup (or any other method), it helps to do the following first.
Open up a terminal session on your phone.
I use the free app Termux to do this:
https://play.google.com/store/apps/details?id=com.termux
Then type the following two commands:
Code:
su
setenforce 0
This sets SElinux to "permissive". Then you can uninstall all your system apps. Then after you reboot, the phone automatically goes back to "enforcing" for SElinux.
Works great. Doesn't screw up any of my user apps after removing the system apps I don't want (like Chrome, Messaging, etc).
If you want permissive on a permanent basis then check out this thread.
I haven't tried it yet, don't need to:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
CZ Eddie said:
By the way, I found a work-around.
If you want to uninstall SYSTEM apps via Titanium Backup (or any other method), it helps to do the following first.
Open up a terminal session on your phone.
I use the free app Termux to do this:
https://play.google.com/store/apps/details?id=com.termux
Then type the following two commands:
Code:
su
setenforce 0
This sets SElinux to "permissive". Then you can uninstall all your system apps. Then after you reboot, the phone automatically goes back to "enforcing" for SElinux.
Works great. Doesn't screw up any of my user apps after removing the system apps I don't want (like Chrome, Messaging, etc).
If you want permissive on a permanent basis then check out this thread.
I haven't tried it yet, don't need to:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
Click to expand...
Click to collapse
I really only wanted to backup, switch chrome from a system app to a user app, and restore data but couldn't do this using TiB until I ran these commands. Thanks!!!
CZ Eddie said:
By the way, I found a work-around.
If you want to uninstall SYSTEM apps via Titanium Backup (or any other method), it helps to do the following first.
Open up a terminal session on your phone.
I use the free app Termux to do this:
https://play.google.com/store/apps/details?id=com.termux
Then type the following two commands:
Code:
su
setenforce 0
This sets SElinux to "permissive". Then you can uninstall all your system apps. Then after you reboot, the phone automatically goes back to "enforcing" for SElinux.
Works great. Doesn't screw up any of my user apps after removing the system apps I don't want (like Chrome, Messaging, etc).
If you want permissive on a permanent basis then check out this thread.
I haven't tried it yet, don't need to:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
Click to expand...
Click to collapse
this.. worked..
i friggin love you guys here on xda... combined knowledge ftw
The workaround doesn't work for me. After reboot, selinux is back to 'enforcing' but the app still isn't Uninstalled.
However, thanks for letting me know about the apk delete method from system/app. It's the only method that works with some MIUI apps.
Yeah, setenforce 0 doesn't work for my N9100ZC (6.0.1)
What's working is, reboot into TWRP, choose Mount -> System -> Internal memory. TWRP main menu -> Advanced -> File Manager.
Make sure to delete the folder and subfolder of your bloatware (\system\app and \system\priv-app).
Hope this help
CZ Eddie said:
By the way, I found a work-around.
If you want to uninstall SYSTEM apps via Titanium Backup (or any other method), it helps to do the following first.
Open up a terminal session on your phone.
I use the free app Termux to do this:
https://play.google.com/store/apps/details?id=com.termux
Then type the following two commands:
Code:
su
setenforce 0
This sets SElinux to "permissive". Then you can uninstall all your system apps. Then after you reboot, the phone automatically goes back to "enforcing" for SElinux.
Works great. Doesn't screw up any of my user apps after removing the system apps I don't want (like Chrome, Messaging, etc).
If you want permissive on a permanent basis then check out this thread.
I haven't tried it yet, don't need to:
http://forum.xda-developers.com/xposed/how-to-set-selinux-to-permissive-boot-t3034245
Click to expand...
Click to collapse
It seems that the workaround doesn't work anymore.
Have you find another one ?
chimmot307 said:
Yeah, setenforce 0 doesn't work for my N9100ZC (6.0.1)
What's working is, reboot into TWRP, choose Mount -> System -> Internal memory. TWRP main menu -> Advanced -> File Manager.
Make sure to delete the folder and subfolder of your bloatware (\system\app and \system\priv-app).
Hope this help
Click to expand...
Click to collapse
Thanks that worked for me.
chimmot307 said:
Yeah, setenforce 0 doesn't work for my N9100ZC (6.0.1)
What's working is, reboot into TWRP, choose Mount -> System -> Internal memory. TWRP main menu -> Advanced -> File Manager.
Make sure to delete the folder and subfolder of your bloatware (\system\app and \system\priv-app).
Hope this help
Click to expand...
Click to collapse
this work for me on my redmi note 8 stock rom miui 11.0.40
Yeah setenforce did not work for me too
DinarQ8 said:
try system remove app
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Atleast name the app properly
Atharkhan101 said:
Atleast name the app properly
Click to expand...
Click to collapse
You ask me a question after been 5 years anyway just search in Play Store System App Remove and choose what work with you
Well to assist with peeps installing new Samsung Kitkat firmwares released this year, I made a quick list of odd issues that will pop up with rooting.
The new kernal will not allow titanium backup to find su. I use super su, so depending on which su you use, you may be able to operate titanium backup.
My fix, custom kernel.
Smanager fails to use rw permissions in terminal, though you can set rw permissions in advanced.
I removed asks packages, as with knox packages, so as far as I can tell asks v1.2 has no effect and is a bridge to selinux and knox.
Will try using busybox pro intead of a generic busybox with smanager, but feel the issue is within the app its self.
Will end up using jack term as a work around, until smanger is updated.
Would like to see titanium backup updated as well. So I can use the stock kernel and be happy this Kitkat is the best and most secure without the vulnerability issues still being addressed with newer builds of amdroid.
Found I get a wee better speeds, not just by the kernel replacement, but possibley from fixes done and tuning of this build.
If I find anything new I will add, but xposed and its modules seems bug free with is new kitkat.
Ok, I found the issue with term usage with rw permission.
You must use the mount remount command when at a terminal session. Unless your terminal app has a command toggle or macro to perform the proper command without typing.
Remember to also do the mount remount command for ro to close the rw session.
Everything else seems good to go. The new security seems more in tune to linux with apps needing to be more careful with setting permissions through the system perameters.
Looks like Samsung is making headway with blocking Google apps... starting with Chrome browser. Using Boeffla kernel on 4.4.2 you must use a script to make selinux passive. Never had to do that with any kernel running bare without a kernel manager before.
so after upgrading to android 10 on the 3xl there is no room left on the system partition. both titanium backup and root explorer show there is only 2.75mb free. the problem is that Adaway cannot write a new hosts file with no free space on that partition and errors out.
question is, can anything be safely removed from this partition without messing anything up? are there any arbitrary files that can be safely deleted to free up space?
DsturbD said:
so after upgrading to android 10 on the 3xl there is no room left on the system partition. both titanium backup and root explorer show there is only 2.75mb free. the problem is that Adaway cannot write a new hosts file with no free space on that partition and errors out.
question is, can anything be safely removed from this partition without messing anything up? are there any arbitrary files that can be safely deleted to free up space?
Click to expand...
Click to collapse
You can't write to system on 10, it's locked down. You'll need a magisk module for systemless host file.
DsturbD said:
so after upgrading to android 10 on the 3xl there is no room left on the system partition. both titanium backup and root explorer show there is only 2.75mb free. the problem is that Adaway cannot write a new hosts file with no free space on that partition and errors out.
question is, can anything be safely removed from this partition without messing anything up? are there any arbitrary files that can be safely deleted to free up space?
Click to expand...
Click to collapse
As mentioned, you need systemless hosts enabled in Magisk. You also need to make sure you have the current version of AdAway that supports it. You are not really out of space as the AdAway installer claims. The partition is locked out. The installer does what it needs to if you have made the change in Magisk and rebooted before installing AdAway.
DsturbD said:
so after upgrading to android 10 on the 3xl there is no room left on the system partition. both titanium backup and root explorer show there is only 2.75mb free. the problem is that Adaway cannot write a new hosts file with no free space on that partition and errors out.
question is, can anything be safely removed from this partition without messing anything up? are there any arbitrary files that can be safely deleted to free up space?
Click to expand...
Click to collapse
Hi,
Go in Magisk > settings and tap once on: "Systemless hosts" and the module will be automatically enabled upon next reboot.
Also, be sure the option: "Enable ystemless mode" is ticked in Adaway options.
Once you rebot after Magisk systemless host module is enabled, you can go in Adaway and update your host file!
Just one thing: I have to update the host twice in Adaway. Thus reboot twice. Weird, I know. But I have no clue why... Oh well, at least it works..! :good:
Cheers...
Sébastien.
wow thank you all, this was spot on and is now working. i was using dns66 but it wasnt starting back up after a reboot like its supposed to. thanks again gang. much appreciated!
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...