Related
Decided to run Debloater after upgrading to Nougat last night. Surprised to see that it only finds two packages to hide.
BeamService.apk
Velvet.apk
Any thoughts about this. I know there are other Samsung specific disabling apps but i also have liked Debloater. As far as i can tell, theres no update for the program.
I recall reading a post (I can't find the link, it was when I was looking up how to use GatesJunior debloater on the Nougat beta) that mentioned that a certain aspect of ADB that this debloater utilized was locked/removed (I'm fairly positive the wording I'm using is wrong). That being the case, the debloater no longer works with Nougat.
I'd recommend using the Package Disabler. I have the premium version and it still works just fine.
Debloat manually using ADB:
Code:
adb shell
pm hide com.package.name
pm hide com.package.name2
...
alarsama said:
I recall reading a post (I can't find the link, it was when I was looking up how to use GatesJunior debloater on the Nougat beta) that mentioned that a certain aspect of ADB that this debloater utilized was locked/removed (I'm fairly positive the wording I'm using is wrong). That being the case, the debloater no longer works with Nougat.
I'd recommend using the Package Disabler. I have the premium version and it still works just fine.
Click to expand...
Click to collapse
BK Package Disabler? I have the paid version but license wont activate on Nougat update.
macasus76 said:
BK Package Disabler? I have the paid version but license wont activate on Nougat update.
Click to expand...
Click to collapse
Yeah, quite a few people have suggested that Samsung just killed ALL those Package Disabler apps by updating something in their KNOX Security Suite (those apps used a hole in the KNOX suite to work.) Apparently incensed Note7 users who desperately cling onto the devices disabled the Samsung software bits through Package Disablers and Debloater, and disabling the software bits that forced that 60% battery charge limit and showed the recall warning.
Here are some threads of folks using Package Disabler Pro to disable that charging limit...
https://us.community.samsung.com/t5/Galaxy-Note-Phones/Note-7-PSA-Avoid-60-battery-cap/td-p/43369
https://www.reddit.com/r/GalaxyNote7/comments/59rj7h/dont_update_package_disabler_pro/
There's a new tool that exploits Android's built-in work mode to clone and then freeze apps without root. Beware, it is highly experimental. Enjoy!
https://forum.xda-developers.com/android/apps-games/closed-beta-test-incoming-companion-app-t3366295
So I rooted Nougat, 930U variant (Snapdragon), and now I can't disable any system apps. BK Disabler, Titanium Backup, 3C Toolbox, App Quarantine -- I tried them all , and none of them will disable anything. What am I doing wrong? I confirmed root is good and those apps a granted access through SU...
Use a root tool like this?
https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp&hl=en_GB
*Detection* said:
Use a root tool like this?
https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp&hl=en_GB
Click to expand...
Click to collapse
Yep I tried that one too, and App Quarantine. They don't successfully disable anything. And turns out I can't get BusyBox installed either. I don't know what's going on LOL
Update: re-rooted and fixed it. I was using an older version of the root.bat.
Good stuff :good:
Hello, folks! I've written a Magisk Module which includes a modified version of the Linux activation script for Andromeda, allowing you to enable Andromeda with a single command (two, if you count su)! I was inspired by the OTHER local Andromeda enabler script here on XDA, as I had downloaded it but discovered that it only worked intermittently on my device. Now, I know, you may be thinking to yourself "OP, is there something wrong with you? Andromeda exists so you DON'T have to be rooted!" Yes, this is true. However, from what I've gathered, there is a speed boost from using Andromeda, and that alone makes this worth it for me, and hopefully others. Plus, I was bored and wanted to see if I could make it work.
This module is written to work with Magisk v15. It will NOT work on Magisk v14, however, it is a single binary, so you could very easily extract it and place it on your phone or make a v14 module yourself.
To activate Andromeda, all you have to do is install this module, reboot, launch a Terminal Emulator, and type:
Code:
su
andromeda
Substratum should launch with Andromeda permissions, as if you'd used the Desktop Application.
@saccentekennedy has made an app! Flash the module, install his app, and when you launch his app, it will grant Andromeda permissions! No commands needed! Be sure to thank his post!
https://forum.xda-developers.com/ap...ndromeda-enabler-enable-t3728325/post75053802
UPDATE 1/12/2018 - The script did not properly set SELinux back to Enforcing, this is now fixed. Please update! Thanks to @Floydfire for the heads up
Works perfectly!
I've created a Tasker task to run this... But I can't figure out how to trigger it. In other words, how can I get Tasker to detect that the Andromeda isn't properly running and connected? I know I get a notification when the service goes down. I suppose I could use this as a trigger? Any thoughts?
saccentekennedy said:
I've created a Tasker task to run this... But I can't figure out how to trigger it. In other words, how can I get Tasker to detect that the Andromeda isn't properly running and connected? I know I get a notification when the service goes down. I suppose I could use this as a trigger? Any thoughts?
Click to expand...
Click to collapse
You could potentially use AutoNotifications with Tasker to detect the notification but I'd probably just set the trigger to the device booting or being unlocked, or make a widget with an app, like SManager, so you can just tap it.
I created a little app with Tasker. It works. I've used Tasker plenty but never created an app. Anyway, I don't know if this will work for anyone else, but this works for me at least
You need the Magisk module installed, BTW.
saccentekennedy said:
I created a little app with Tasker. It works. I've used Tasker plenty but never created an app. Anyway, I don't know if this will work for anyone else, but this works for me at least
You need the Magisk module installed, BTW.
Click to expand...
Click to collapse
Works fine for me. I'm gonna link this in the OP, if that's okay with you. What's the code that went into it? Just executes 'andromeda' when you launch it?
PokemonTotalWar said:
Works fine for me. I'm gonna link this in the OP, if that's okay with you. What's the code that went into it? Just executes 'andromeda' when you launch it?
Click to expand...
Click to collapse
Yup! My first app. Lol.
So congrats this is very interesting!
I'm curious, though.. I'm rooted and I've got substratum and magisk 15.x installed (current version). I purchased and installed Andromeda. I downloaded and installed y'alls zip and the apk. Is there a way to check that it's working properly? What I do have is the module in magisk is enabled but the actual Andromeda app keeps closing when I tap it (wasn't sure if it was even supposed to be opened or if it was a background app)
lido said:
So congrats this is very interesting!
I'm curious, though.. I'm rooted and I've got substratum and magisk 15.x installed (current version). I purchased and installed Andromeda. I downloaded and installed y'alls zip and the apk. Is there a way to check that it's working properly? What I do have is the module in magisk is enabled but the actual Andromeda app keeps closing when I tap it (wasn't sure if it was even supposed to be opened or if it was a background app)
Click to expand...
Click to collapse
When you launch it, Andromeda mode should be activated and you can just launch Substratum. You can check if Andromeda mode is on by checking under the Substratum settings. Under System Certification it should say Andromeda mode (Certified). Substratum should also launch after you launch the Andromeda app included here
Sent from my OnePlus 5 using XDA Labs
Ah well sadly it's not activating for me....
I will keep my eye on this though!
lido said:
Ah well sadly it's not activating for me....
I will keep my eye on this though!
Click to expand...
Click to collapse
Have you tried running the commands in the terminal? It might be that the app just isn't working for you for some reason
Sent from my OnePlus 5 using XDA Labs
Yes the terminal emulator works. I was just hoping the app would work to survive a reboot (which I do frequently) I'm just lazy!
lido said:
Yes the terminal emulator works. I was just hoping the app would work to survive a reboot (which I do frequently) I'm just lazy!
Click to expand...
Click to collapse
Do you own Tasker? If you do, I actually made a profile to enable Andromeda whenever I launch Substratum, and I'll upload it if anyone is interested. I don't know how to make an application-triggered task into an app, though.
Sent from my OnePlus 5 using XDA Labs
I have noticed that I can't seem to use this module alongside anything else that also adds to /system/xbin (specifically "Busybox for Android NDK" by osm0sis). Only one seems to stick. I don't know if that's just a side effect of the way magisk works or an issue with one of the scripts. Could anyone provide any insight into this issue?
qwer777 said:
I have noticed that I can't seem to use this module alongside anything else that also adds to /system/xbin (specifically "Busybox for Android NDK" by osm0sis). Only one seems to stick. I don't know if that's just a side effect of the way magisk works or an issue with one of the scripts. Could anyone provide any insight into this issue?
Click to expand...
Click to collapse
I honestly have no idea, mine works
Sent from my OnePlus 5 using XDA Labs
qwer777 said:
I have noticed that I can't seem to use this module alongside anything else that also adds to /system/xbin (specifically "Busybox for Android NDK" by osm0sis). Only one seems to stick. I don't know if that's just a side effect of the way magisk works or an issue with one of the scripts. Could anyone provide any insight into this issue?
Click to expand...
Click to collapse
I honestly have no idea, mine works fine and I have both enabled. What's your Magisk version and other modules?
Sent from my OnePlus 5 using XDA Labs
PokemonTotalWar said:
I honestly have no idea, mine works fine and I have both enabled. What's your Magisk version and other modules?
Click to expand...
Click to collapse
Magisk Version: 15.2
Device: Pixel 2 XL (Taimen)
Modules:
qwer777 said:
Magisk Version: 15.2
Device: Pixel 2 XL (Taimen)
Modules:
Click to expand...
Click to collapse
I honestly have no idea. It might just be a quirk of the Pixels or something. I have no idea how to fix it. I'll look into it a little to see if something obvious is happening and I'm missing it, but no problems. Can you share your Magisk Log?
Sent from my OnePlus 5 using XDA Labs
Ran this script. Rebooted. My navbar disappeared and all icons went square with no option to change icons back to circle. Pixel 2. Magisk with factory Jan. 8.1. I'm not sure what could have caused this. I had to edit my build.prop to get the softkeys back. I guess no more OTAs for me. Anyone know how to get circle icons back?
btreu1 said:
Ran this script. Rebooted. My navbar disappeared and all icons went square with no option to change icons back to circle. Pixel 2. Magisk with factory Jan. 8.1. I'm not sure what could have caused this. I had to edit my build.prop to get the softkeys back. I guess no more OTAs for me. Anyone know how to get circle icons back?
Click to expand...
Click to collapse
I don't know what would have caused this issue, this script only enables Andromeda, nothing more. Did you do anything in Substratum before rebooting?
Sent from my OnePlus 5 using XDA Labs
Due to mounting issues with the current root solution on Android 10, Adaway doesn't seem to be able to either write to the hosts file or modify it. Has anyone found a solution?
Thanks....
floepie said:
Due to mounting issues with the current root solution on Android 10, Adaway doesn't seem to be able to either write to the hosts file or modify it. Has anyone found a solution?
Thanks....
Click to expand...
Click to collapse
Really? Mine is working exactly as in Pie. I am rooted with magisk 19.3 and have systemless hosts module installed. Adaway has no issue writing to this hosts file.
clcdev said:
Really? Mine is working exactly as in Pie. I am rooted with magisk 19.3 and have systemless hosts module installed. Adaway has no issue writing to this hosts file.
Click to expand...
Click to collapse
Thanks! Got it working. There is no module any longer, as it is a setting in the app itself - a setting which you just tap with no dialog, only a "toasted" confirmation.
floepie said:
Thanks! Got it working. There is no module any longer, as it is a setting in the app itself - a setting which you just tap with no dialog, only a "toasted" confirmation.
Click to expand...
Click to collapse
When I click that checkbox, I got the confirmation on the bottom that says Adaway was granted Superuser rights, but the box doesn't actually check, and nothing changes. Am I missing something stupid?
Go to setting in magisk and enable this module, restart, and then adaway should work.
I've tried that. Got all messages showing up that it's fine. Rebooted and still see ads in certain pages.
Unfortunately best solution thus far is the AdGuard app but that's VPN and draining juice.
wbgenetic said:
I've tried that. Got all messages showing up that it's fine. Rebooted and still see ads in certain pages.
Unfortunately best solution thus far is the AdGuard app but that's VPN and draining juice.
Click to expand...
Click to collapse
Just to make sure; you also checked the systemless mode in AdAway?
(after reboot to enable magisk systemless module)
If it blocks most ads you may want to add another hosts source.
Mother_Teresa said:
Just to make sure; you also checked the systemless mode in AdAway?
(after reboot to enable magisk systemless module)
If it blocks most ads you may want to add another hosts source.
Click to expand...
Click to collapse
I have the same problem. Pixel 2 XL, Android 10. Magisk works, safetynet works. Adaway doesn't. The systemless hosts module in magisk shows as enabled, the tick box on adaway doesn't work (when I tap it nothing happens). When I select enable adblocking in Adaway it starts building the hosts file and ends with an error message "remount failed. Remounting the partition as read/write failed!".
airmark said:
I have the same problem. Pixel 2 XL, Android 10. Magisk works, safetynet works. Adaway doesn't. The systemless hosts module in magisk shows as enabled, the tick box on adaway doesn't work (when I tap it nothing happens). When I select enable adblocking in Adaway it starts building the hosts file and ends with an error message "remount failed. Remounting the partition as read/write failed!".
Click to expand...
Click to collapse
Are you using the latest AdAway? Maybe you need to update the app itself.
Hmmm can I add other stuff to the hosts file? Sort of like easy lists for different languages like adblocker on chrome for PC? This might do the trick if possible.
hunfatal said:
Are you using the latest AdAway? Maybe you need to update the app itself.
Click to expand...
Click to collapse
Version 4.2.9. F-droid says it's the latest
wbgenetic said:
Hmmm can I add other stuff to the hosts file? Sort of like easy lists for different languages like adblocker on chrome for PC? This might do the trick if possible.
Click to expand...
Click to collapse
Yes, checks settings
So most ads get blocked but not all?
adaway forum to get latest version and gossip.
I also had issues getting AdAway running on Android 10, but managed to get it going eventually. I had the same issues as the others: "Enable systemless mode" checkbox was "toasting" but not checking in AdAway, despite tapping the "Systemless hosts" item in Magisk and getting successful-looking toast notifications.
Steps that worked for me:
Take note of any settings you have in AdAway, as they are about to go away
Completely uninstall AdAway. This means Force Stop, Clear Cache, Clear Data, then Uninstall
Reboot
Open Magisk Manager --> Settings --> Tab the "Systemless hosts" item. You should get the toast notification.
Install the latest version of AdAway (v4.2.9 as of now, as others have mentioned)
Open AdAway --> Preferences. With luck, you'll see that Enable systemless mode is checked already (pretty sure mine was). If not...maybe try checking it now.
AdAway should work now. Make sure to poke around and add back any customizations you used to have.
Hope that helps!
I stopped using adaway in favor of DNS66 for about two years now. Might be worth a shot if you're still having issues with Adaway
https://f-droid.org/en/packages/org.jak_linux.dns66/
HypromanGT said:
I also had issues getting AdAway running on Android 10, but managed to get it going eventually. I had the same issues as the others: "Enable systemless mode" checkbox was "toasting" but not checking in AdAway, despite tapping the "Systemless hosts" item in Magisk and getting successful-looking toast notifications.
Steps that worked for me:
Take note of any settings you have in AdAway, as they are about to go away
Completely uninstall AdAway. This means Force Stop, Clear Cache, Clear Data, then Uninstall
Reboot
Open Magisk Manager --> Settings --> Tab the "Systemless hosts" item. You should get the toast notification.
Install the latest version of AdAway (v4.2.9 as of now, as others have mentioned)
Open AdAway --> Preferences. With luck, you'll see that Enable systemless mode is checked already (pretty sure mine was). If not...maybe try checking it now.
AdAway should work now. Make sure to poke around and add back any customizations you used to have.
Hope that helps!
Click to expand...
Click to collapse
FIXED : Did same twice didn't work untill i gave permission of storage to the app before launching it
driss.sadok said:
FIXED : Did same twice didn't work untill i gave permission of storage to the app before launching it
Click to expand...
Click to collapse
I have done step by step and doesnt work, i've got android 9, but it doesnt metter still cant make it work. Root works, hosts i've checked with file menager is also full, updated sources. Checked with 3 browsers and i still see alot of ads...
smile20 said:
I have done step by step and doesnt work, i've got android 9, but it doesnt metter still cant make it work. Root works, hosts i've checked with file menager is also full, updated sources. Checked with 3 browsers and i still see alot of ads...
Click to expand...
Click to collapse
have you enabled systemless hosts in magisk?
gvsukids said:
have you enabled systemless hosts in magisk?
Click to expand...
Click to collapse
Yes, in magisk manager, restarted system, then installed adaway, gave permission to storage before first turn on, then checked systemless host setting in Adaway menu, but it was already on, downloaded sources, restarted system and now it supposed to wotk, but it doesn....There was just one reason i've rooted system, and it doesnt work...
Try enabling the hosts before installing adaway. Are you using the fdroid version?
gvsukids said:
Try enabling the hosts before installing adaway. Are you using the fdroid version?
Click to expand...
Click to collapse
This is how i've done . First enabled in magisk manager, then installed Adaway. I've downloaded direct Adaway apk from frdroid site.
Tried debloating a few things in terminal with magisk module and apparently broke something and dirty flashed to get it back is there any guide or list for debloating 8T? Hopefully the TMO variant
spart0n said:
Tried debloating a few things in terminal with magisk module and apparently broke something and dirty flashed to get it back is there any guide or list for debloating 8T? Hopefully the TMO variant
Click to expand...
Click to collapse
Best way is :
> REMOVE using ADB, edit your list and copy/past for remove all unwanted apps
https://technastic.com/oneplus-bloatware-list-oxygen-os-debloater/
I advice to select only things that you know
or
> FREEZE unwanted apps using "Disable Application" or "Titanium Backup Pro"
Advantage to only freeze apps is after an OTA, all apps keep freezed, not if you have removed them
spart0n said:
Tried debloating a few things in terminal with magisk module and apparently broke something and dirty flashed to get it back is there any guide or list for debloating 8T? Hopefully the TMO variant
Click to expand...
Click to collapse
I too have the T-Mobile model, and while I have my bootloader unlock token I have yet to actually pull the trigger on rooting, so for now I'm using ADB to disable or delete s**t apps. Be careful with what you disable or uninstall. Both links below suggest using an app called App Inspector so you can find the app's package name, but this app is doubly helpful because you can use it to download a copy of the system app APK for a backup, in case your phone decides it's not happy with what you have done.
-App Inspector Play Store Link:
https://play.google.com/store/apps/details?id=com.ubqsoft.sec01
-This link is a guide to disable built-in apps (NOT to delete/uninstall, simply disable, so the app is still there but dormant until you re-enable).
https://www.xda-developers.com/disable-system-app-bloatware-android/
-This link is a guide on how to fully uninstall/delete apps though.
https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
I personally used the uninstall guide to get rid of the built-in "GameSpace" app & my phone has been fine (I play ZERO games ever). I noticed GameSpace was basically running constantly & using up battery on standby even though I've never used it. My standby battery drain is much better...thanks T-Mobile & OnePlus!
I use jOnePlus Tools from the Play Store for forcing screen refresh rates universally already (although AutoHz is a great option too!), using ADB to enable it because I don't yet have root. It also provides the option to disable "OnePlus Analytics" if you have root, but if you don't it gives you the ADB shell commands to do it without root.
-jOnePlus Tools Play Store Link:
https://play.google.com/store/apps/details?id=net.jroot3d.joneplustools
Sent from my OnePlus 8T using XDA Labs
Are there any guides for Mac users? I know that we don't use the command but use the terminal... but I'm not sure