Related
I've recently upgraded to Nougat on my rooted phone and wondered how best to replicate my old Tasker profiles that were reliant on Secure Settings which appears to no longer work on Nougat (it says it cannot find root)/
The main functionality i want is the ability to turn on/off:
Airplane mode
Location Completely (when screen off)
GPS when opening apps that use maps
Mobile data
Can anyone suggest the best way to get this functionality back if its possible?
farquea said:
I've recently upgraded to Nougat on my rooted phone and wondered how best to replicate my old Tasker profiles that were reliant on Secure Settings which appears to no longer work on Nougat (it says it cannot find root)/
The main functionality i want is the ability to turn on/off:
Airplane mode
Location Completely (when screen off)
GPS when opening apps that use maps
Mobile data
Can anyone suggest the best way to get this functionality back if its possible?
Click to expand...
Click to collapse
You could try some of the run shell commands from this thread https://forum.xda-developers.com/u/tasker-tips-tricks/best-run-shell-commands-tasker-t3419204 or use the AutoTools plugin https://play.google.com/store/apps/details?id=com.joaomgcd.autotools
Majority (if not all) of Secure settings stuff is now easily available on AutoTools.
Thanks, just installed it and playing around with it and when i try to run a task it tells me 'No pemission to change settings' i see the adb command being talked about. Do i have to run that even though i'm rooted or do i just have something configured wrong?
farquea said:
Thanks, just installed it and playing around with it and when i try to run a task it tells me 'No pemission to change settings' i see the adb command being talked about. Do i have to run that even though i'm rooted or do i just have something configured wrong?
Click to expand...
Click to collapse
You're gonna have to run that command. It should work fine then.
farquea said:
Thanks, just installed it and playing around with it and when i try to run a task it tells me 'No pemission to change settings' i see the adb command being talked about. Do i have to run that even though i'm rooted or do i just have something configured wrong?
Click to expand...
Click to collapse
What ADB command are you talking about?
farquea said:
I've recently upgraded to Nougat on my rooted phone and wondered how best to replicate my old Tasker profiles that were reliant on Secure Settings which appears to no longer work on Nougat (it says it cannot find root)
Click to expand...
Click to collapse
I'm on Nougat as well and I'm using Secure Settings every day, it works fine for me...
The adb command worked but my bigger problem was that my phone had lost root. All fixed now tho
You can replace Secure Settings with SecureTask plugin. Free and it works great.
kitkat85 said:
You can replace Secure Settings with SecureTask plugin. Free and it works great.
Click to expand...
Click to collapse
Sounds great. Can you please provide a link? Thanks!
AJH101 said:
Sounds great. Can you please provide a link? Thanks!
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.balda.securetask
kitkat85 said:
https://play.google.com/store/apps/details?id=com.balda.securetask
Click to expand...
Click to collapse
Fantastic, thank you.
---------- Post added at 08:07 AM ---------- Previous post was at 07:25 AM ----------
kitkat85 said:
https://play.google.com/store/apps/details?id=com.balda.securetask
Click to expand...
Click to collapse
Forgive me, is this not very similar to the Auto Tools plug in? [emoji4]
AJH101 said:
Fantastic, thank you.
---------- Post added at 08:07 AM ---------- Previous post was at 07:25 AM ----------
Forgive me, is this not very similar to the Auto Tools plug in? [emoji4]
Click to expand...
Click to collapse
Simply better. First of all it's free. In addition it has a lot of features like sync settings, failed login monitoring, settings monitoring, change pin/password, log information, data usage and much more, nothing comparing to automess.
kitkat85 said:
Simply better. First of all it's free. In addition it has a lot of features like sync settings, failed login monitoring, settings monitoring, change pin/password, log information, data usage and much more, nothing comparing to automess.
Click to expand...
Click to collapse
Thanks. I will start digging!
kitkat85 said:
Simply better. First of all it's free. In addition it has a lot of features like sync settings, failed login monitoring, settings monitoring, change pin/password, log information, data usage and much more, nothing comparing to automess.
Click to expand...
Click to collapse
@automess... I have used both and though autotools is 2.99 I find it more user friendly. But both are equally up to task.
digitalpig82 said:
What ADB command are you talking about?
I'm on Nougat as well and I'm using Secure Settings every day, it works fine for me...
Click to expand...
Click to collapse
Hi, I'm in nougat with a ROM but I can't open tasker. I hope anyone can help
@farquea,::if you want to stick with securesettings in noughat,here is the work around i am using, found the fixfrom superSu forum..
Obviously i am using superSu to give root access for secure settings..
First flash superSu in systemless mode in twrp.
After reboot, using terminal emulataor type the following command
su
echo "BINDSYSTEMXBIN=true" >> /data/.supersu
and reflash superSU from twrp..securesettings will be enabled...
Reference :
1) https://plus.google.com/+Chainfire/posts/N6EARb8LF3d
2) https://forum.xda-developers.com/showpost.php?p=66140836&postcount=5493
This may help you if u want to stick with securesettings
vedhavyga said:
@farquea,::if you want to stick with securesettings in noughat,here is the work around i am using, found the fixfrom superSu forum..
Obviously i am using superSu to give root access for secure settings..
First flash superSu in systemless mode in twrp.
After reboot, using terminal emulataor type the following command
su
echo "BINDSYSTEMXBIN=true" >> /data/.supersu
and reflash superSU from twrp..securesettings will be enabled...
Reference :
1) https://plus.google.com/+Chainfire/posts/N6EARb8LF3d
2) https://forum.xda-developers.com/showpost.php?p=66140836&postcount=5493
This may help you if u want to stick with securesettings
Click to expand...
Click to collapse
You can actually enter that command in TWRP's terminal as well before you flash SuperSU. Saves that one extra reboot.
JRJ442 said:
You can actually enter that command in TWRP's terminal as well before you flash SuperSU. Saves that one extra reboot.
Click to expand...
Click to collapse
i think dat also..but not sure if enter both the values, will supersu install in systemless mode?
JRJ442 said:
You can actually enter that command in TWRP's terminal as well before you flash SuperSU. Saves that one extra reboot.
Click to expand...
Click to collapse
I'm using the Magisk interface and Secure Settings just works with the root method that is built into Magisk,
Also thinks like AndroidPay work with Magisk
[Terminal] App Systemizer
Terminal App Systemizer systemizes Apps systemlessly! This is inspired by App Systemizer by stangri. I then decided to make a script/UI in Terminal emulator for it to make 'app systemizing' easier.
How to use:
Install from recovery
Type su and
Code:
systemize
in Terminal emulator or adb shell (use -nc, -a, -d, refer below)
Systemize Chosen App/APK!
And reboot to apply changes
OPTIONS:
** If you don't want those colors, use -nc.
Code:
systemize -nc
** To directly systemize (without ui) a given package name/s, use -a
Code:
systemize -a com.oasisfeng.greenify org.adaway
** To directly systemize (without ui) a given apk/s, use -d
Code:
systemize -d /sdcard/example.apk /sdcard/example2.apk
** Uploading logs
Go to the menu and type `logs`, this will upload the log files of this module and will generate a link. Send that
Alternatively, Send `/cache/terminal_debloater-verbose.log` here. I'll examine it for problems and will try to fix it.
Dowloads are here!
Github
Telegram Channel
Notification Channel
DONATE? If you want to (ノ・ω・)ノ゙
HERE'S A LITTLE VIDEO ON HOW TO USE IT:
F.A.Q
Q. Why do I need to systemize apps?
A. Some apps provide extra functionality as a system app (like Greenify, Launchers, etc). And if you just want an app to be a system app for no reason .
Q. Is A/B Devices (Pixel, Essential, MI A1 etc.) supported?
A. YES
Q. What's the advantage of using this over the other systemizers?
A. This one is very light weight (since it's just a script). And it's also very versatile and supports almost all devices.
Q. Something's not right??
A. Report in this thread...
When a systemizied app is updated, how do you re-systemize it? Do you just rerun the terminal UI and choose the updated app and reboot? After reboot, does the updated app replace the old one?
JERW28 said:
When a systemizied app is updated, how do you re-systemize it? Do you just rerun the terminal UI and choose the updated app and reboot? After reboot, does the updated app replace the old one?
Click to expand...
Click to collapse
No, it's like when you update a system app from play store, it stays as a system app.
No need to do anything if it's updated :good:
veez21 said:
No, it's like when you update a system app from play store, it stays as a system app.
No need to do anything if it's updated :good:
Click to expand...
Click to collapse
What if we wanted to use this as a tool to save space on internal memory? Once the systemized app is updated, it would take space on internal storage right? Anyway to put it back into system?
iG0tB0lts said:
What if we wanted to use this as a tool to save space on internal memory? Once the systemized app is updated, it would take space on internal storage right? Anyway to put it back into system?
Click to expand...
Click to collapse
Apks are not stored in internal mem. It's stored in /data. This only affects apks so i think saving space is out of this module's fuctionality.
After choosing option 1 for installed apps, this is all I get:
Code:
Search packages: packages search <query>
===========================
Installed Apps
===========================
Loading Apps...
0 - Exit
[CHOICE]:
yochananmarqos said:
After choosing option 1 for installed apps, this is all I get:
Click to expand...
Click to collapse
Could you do this command in terminal emulator:
Code:
pm list packages -3
veez21 said:
Could you do this command in terminal emulator:
Click to expand...
Click to collapse
Code:
$ pm list packages -3
android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:615)
at android.os.BinderProxy.shellCommand(Binder.java:662)
at com.android.commands.pm.Pm.runShellCommand(Pm.java:295)
at com.android.commands.pm.Pm.runList(Pm.java:666)
at com.android.commands.pm.Pm.run(Pm.java:130)
at com.android.commands.pm.Pm.main(Pm.java:99)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:262)
Sent from my Nexus 5X using XDA Labs
Damn, what happened? What rom?
Anyways, I'll try to find a workaround for this without using pm
veez21 said:
Damn, what happened? What rom?
Anyways, I'll try to find a workaround for this without using pm
Click to expand...
Click to collapse
No idea why that's happening. Stock 7.1.2, just did a factory reset a few days ago.
Sent from my Nexus 5X using XDA Labs
yochananmarqos said:
No idea why that's happening. Stock 7.1.2, just did a factory reset a few days ago.
Click to expand...
Click to collapse
I couldn't find a workaround for this, sadly. You have installed 3rd apps after factory reset?
veez21 said:
I couldn't find a workaround for this, sadly. You have installed 3rd apps after factory reset?
Click to expand...
Click to collapse
Yes, I have quite a few apps installed. It does the same thing without the -3 option, too.I wonder what could be causing it?
Sent from my Nexus 5X using XDA Labs
yochananmarqos said:
Yes, I have quite a few apps installed. It does the same thing without the -3 option, too.I wonder what could be causing it?
Click to expand...
Click to collapse
Okay, could you send me the output on 'pm' command only? I want to look on what's with it.
veez21 said:
Okay, could you send me the output on 'pm' command only? I want to look on what's with it.
Click to expand...
Click to collapse
Just pm by itself just gives the --help output.
Sent from my Nexus 5X using XDA Labs
yochananmarqos said:
Just pm by itself just gives the --help output.
Sent from my Nexus 5X using XDA Labs
Click to expand...
Click to collapse
Some users got this problem with my snapshot updater module & I had to remove "pm" from it... I think is a common problem with Nougat, because in Lollipop & Marshmallow all is fine... Do you may enable all usb debug options under developer settings in Android?
Deic said:
Some users got this problem with my snapshot updater module & I had to remove "pm" from it... I think is a common problem with Nougat, because in Lollipop & Marshmallow all is fine... Do you may enable all usb debug options under developer settings in Android?
Click to expand...
Click to collapse
I have USB Debugging enabled, yes. I'm not sure what you mean by "all usb debug options".
Sent from my Nexus 5X using XDA Labs
yochananmarqos said:
I have USB Debugging enabled, yes. I'm not sure what you mean by "all usb debug options".
Sent from my Nexus 5X using XDA Labs
Click to expand...
Click to collapse
All options related to install/verify from Debugging section (maybe different in your ROM).
I'm not trying to get on you, or burst your bubble, so please don't get mad. I want to know what the difference between this, and titaniumbackup pro? It has a function to turn user apps into system apps. I'd rather use this, cause titanium can get wonky sometimes.
Does anyone know how to completely remove Google services on EMUI 10? Maybe some ADB commands because I can not disable core services from GUI? I don't need their bloatware, especially after they added COVID s*it inside.
Thanks a lot and have a nice day!
domy_os said:
Does anyone know how to completely remove Google services on EMUI 10? Maybe some ADB commands because I can not disable core services from GUI? I don't need their bloatware, especially after they added COVID s*it inside.
Thanks a lot and have a nice day!
Click to expand...
Click to collapse
Download "package name viewer 2.0" from market then open it and Search for "package name" for the app you want to delete,,
Open adb on your computer
Put those codes :
- adb devices
If you see an entry listed under the “List of devices” section, then your device is connected.
- adb shell
- pm uninstall -k --user 0 package-name
For example you want to delete google play services app,, open package name app and search for package name for that app,, will be "com.google.android.gms"
So..
- pm uninstall -k --user 0 com.google.android.gms
So do this with the rest of the apps you want to delete..
Will factory reset restore all removed packages, just in case something goes wrong?
domy_os said:
Will factory reset restore all removed packages, just in case something goes wrong?
Click to expand...
Click to collapse
Yes... I think so
Damn, I have to be 100% sure because the phone is not rooted so no way to make full system image. Maybe reflash with HiSuite will help, I don't know...
domy_os said:
Will factory reset restore all removed packages, just in case something goes wrong?
Click to expand...
Click to collapse
Hi @domy_os, did you ever manage to remove Google Play Services? And did you find out if it came back after a factory reset?
thefish123 said:
Hi @domy_os, did you ever manage to remove Google Play Services? And did you find out if it came back after a factory reset?
Click to expand...
Click to collapse
Yes, but I have restored it because some crypto apps (still) depend on Google.
Take a look on Universal Android Debloater, it's a nice tool...
GitHub - 0x192/universal-android-debloater: Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device.
Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device. - GitHub - 0x192/universal-android-debloater:...
github.com
domy_os said:
Yes, but I have restored it because some crypto apps (still) depend on Google.
Take a look on Universal Android Debloater, it's a nice tool...
GitHub - 0x192/universal-android-debloater: Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device.
Cross-platform GUI written in Rust using ADB to debloat non-rooted android devices. Improve your privacy, the security and battery life of your device. - GitHub - 0x192/universal-android-debloater:...
github.com
Click to expand...
Click to collapse
That is an interesting tool. I will have to check that out. Right now, I am running LineageOS with MicroG (an open source replacement for Google Play Services) on a Samsung S10+ (SM-G975F). But because it is the international model (the only ones that support unlocking the bootloader) I do not have all LTE bands enabled and so I have poor reception in places (not terrible but I am concerned about when I go into rural areas).
So, now I am thinking about getting a Canadian model and de-bloating it instead of running an alternative ROM.
The Fish
Last night I used bugjaegar to uninstall some bloatwares along with REALME THEME SERVICES. In the morning the screen is flicking and fingerprint and all functions are not working. Just suggest some way how to fix this?
How to install that THEME SERVICES without accessing phone (screen not working) and I don't want to reset the device. Please guys help me here in this situation.
I just ran into the same problem after debloating my Realme 8 5G (RMX3241). Have you found a solution yet?
Edit: Had to do a full wipe from recovery mode. I ended up just debloating google apps. I'll leave the other system apps as they are.
I don't know what bugjaegar is. But the same thing happened when I uninstalled com.coloros.weather.service with adb (My screen started to turn on and off). I don't know if bugjaegar fully uninstalls the system app or not, but if its the same as uninstalling it with adb, then you can do
adb shell cmd package install-existing com.coloros.weather.service
if this doesn't fix your problem, try figuring out the package name of theme services and install it with the same adb command but replace com.coloros.weather.service with the theme service package name.
melforx said:
I just ran into the same problem after debloating my Realme 8 5G (RMX3241). Have you found a solution yet?
Edit: Had to do a full wipe from recovery mode. I ended up just debloating google apps. I'll leave the other system apps as they are.
Click to expand...
Click to collapse
I used this list to debloat my Realme 8. I hope this helps.
I had also once to do the recovery mode, in my case I suspect I should not have removed com.heytap.appplatform but it would be good to know for sure. Maybe everyone could list the apps that he removed without bricking the device (adb shell "pm list packages -d | cut -c 9- | sort") so we could compile a list?
I think you have debloated 'Weather and weather service' app. Although u can rebloat them through adb.
Weather app linked is with clock app/widget ... seems too tightly ... may be clock app removal to fully debloating ...
So, I was going through and removing bloat from my phone and was trying to remove the Samsung Contacts app through `adb`, but apparently I removed the wrong thing and now the Phone, Messages, and Contacts app are crashing every time I try to open them. I removed "package:/system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk=com.samsung.android.providers.contacts" which is apparently a core service. I'm wondering if anyone might know how I could reinstall that APK?
install this apk should solve the problem
If worse comes to worse a factory reset will.
A lot of the bloatware is useful. I prefer to use a package disabler as I can easily toggle them on or off as needed real time.
rtd4 said:
install this apk should solve the problem
Click to expand...
Click to collapse
It sat for a minute trying to install and then came up with, "App not installed" and says that every time I retry.
Trying install via adb I get: "
Performing Streamed Install
adb: failed to install /home/mhicks/Downloads/SamsungContactsProvider.apk: Failure [INSTALL_FAILED_DUPLICATE_PERMISSION: Package com.samsung.android.providers.contacts attempting to redeclare permission android.permission.SEND_CALL_LOG_CHANGE already owned by com.android.providers.contacts]"
Hmmm, perhaps I should remove Google Contacts first...
Okay, that helped, but now I'm getting: "
Performing Streamed Install
adb: failed to install /home/mhicks/Downloads/SamsungContactsProvider.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]"
I thought deleting the "com.samsung.android.providers.contacts" might solve the problem, but trying gave me: "
./adb -d uninstall com.samsung.android.providers.contacts
Failure [DELETE_FAILED_INTERNAL_ERROR]"
darkfrog26 said:
It sat for a minute trying to install and then came up with, "App not installed" and says that every time I retry.
Click to expand...
Click to collapse
try these commands on pc
adb shell cmd package install-existing com.samsung.android.providers.contacts
adb shell pm install -r --user 0 /system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk
The first command returns: "Package com.samsung.android.providers.contacts installed for user: 0", but the second command returns: "Failure [-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE]"
If you have deleted the apk with root you just have to paste it again in the folder /system/priv-app/SamsungContactsProvider
@rtd4, unfortunately, this device isn't rooted.
darkfrog26 said:
@rtd4, unfortunately, this device isn't rooted.
Click to expand...
Click to collapse
It is somewhat complicated to recover the device without wipe in the past I had these problems, it was solved with a higher version of the application
@rtd4, I suppose it's time for a wipe... Thanks for trying to help me.
If you had made a copy of all your apps including system apks with ApkExport you could now use that copy to restore it.
Now before you factory reset make a copy of your installed apps and any system updates then save it on the PC or SD card. After the reload you won't need Playstore. It speeds things up a lot...
APK Export (Backup & Share) - Apps on Google Play
Manage and extract your apps.
play.google.com
@blackhawk, thanks for the tip. Right now, I'm trying to set up a Telegram account so I can root my phone (US version) if I'm going to go through the trouble of wiping. Unfortunately, Telegram's SMS verification appears to be broken or at least doesn't like Mint Mobile... Fun day.
darkfrog26 said:
@blackhawk, thanks for the tip. Right now, I'm trying to set up a Telegram account so I can root my phone (US version) if I'm going to go through the trouble of wiping. Unfortunately, Telegram's SMS verification appears to be broken or at least doesn't like Mint Mobile... Fun day.
Click to expand...
Click to collapse
You're welcome.
You really don't need to root.
Consider the possible consequences carefully.
Package Disabler will easily block apks you don't want running.
Well, it would appear it's moot anyway since I'm at Baseband v4 and only v1 can be rooted apparently...
darkfrog26 said:
Well, it would appear it's moot anyway since I'm at Baseband v4 and only v1 can be rooted apparently...
Click to expand...
Click to collapse
This is the one I use:
Home - Package Disabler
The only NON-root solution that let’s you disable any unwanted packages that come pre-installed / installed with your phone / tablet.
www.packagedisabler.com
It has an interactive widget that allows you to toggle selected entries on/off. It runs even in Safe mode so be careful what you disable. I've never had to do a factory reset because of it but the potential is there.
Unfortunately it no longer disables Google play Services but will disable all carrier bloatware including OTA updates.
darkfrog26 said:
@rtd4, unfortunately, this device isn't rooted.
Click to expand...
Click to collapse
Then how come you have removed apk from system?
In case you have used command like
pm disable packageName . Then try pm enable packageName
Or
If you have used
pm hide packageName then try
pm unhide packageName
darkfrog26 said:
So, I was going through and removing bloat from my phone and was trying to remove the Samsung Contacts app through `adb`, but apparently I removed the wrong thing and now the Phone, Messages, and Contacts app are crashing every time I try to open them. I removed "package:/system/priv-app/SamsungContactsProvider/SamsungContactsProvider.apk=com.samsung.android.providers.contacts" which is apparently a core service. I'm wondering if anyone might know how I could reinstall that APK?
Click to expand...
Click to collapse
Next time use this, so you don't make mistakes:
[TOOL] ADB AppControl 1.8.0 🚀 Ultimate App Manager & Debloat Tool + Tweaks
ADB AppControl 🚀 Root is not required. Works with any Android device. Can do almost everything you dreamed about with applications. ADB AppControl - the desktop program, that will allow you to easily manage applications on your android device...
forum.xda-developers.com