[APP][NO ROOT] Fire TV system apps hacked to get system permissions - Fire TV Android Development

ADB disable or uninstall fails for system apps in new builds.
install this apk to block installing new update from amazon. it will still download the ota bin file for you to experiment, but the ota install will fail as the code to install bin is removed.
For anyone interested to try other exploits
https://forum.xda-developers.com/fire-tv/general/fire-os-5-2-6-3-bin-extract-fire-stick-t3780621

I'm a little confused and was hoping you could clarify. Which update does this block? And are you saying the newest update has hidden or disabled developer features / ADB option?

The uninstall / disable parameter doesn't work on newest fireTV devices, which means you cannot prevent newer fireTV devices from automatically updating
This over-writes the existing softwareOTA.apk, instead of uninstalling/disabling.
The modifications present in this modded version disable the firmware update functionality from the original softwareOTA.apk
--
@ranjeet choudhary, can we get an equivalent dummy apk to disable com.amazon.tv.launcher?
I tried to do it myself with the janus exploit, but it doesn't work on my windows device. Looks like I will have to install Linux/Mac for further testing.
I am trying to modify com/amazon/tv/launcher/AppKeyService.smali

redacted

Speeddymon said:
You likely don't want to do that until you have full root. The Amazon Settings app is built into the launcher on FireTV Stick Gen 2 devices. Killing the launcher will will any access to settings unless you want to edit everything via adb .
Click to expand...
Click to collapse
The important settings can be accessed via confireator as they are separate from the launcher.
Really all you need is WiFi, Bluetooth, and Adb.
App uninstall can be triggered from the new launcher.
As you say, adb is a backup plan for anyone that messes up too bad.

freshjr said:
The important settings can be accessed via confireator as they are separate from the launcher.
Really all you need is WiFi, Bluetooth, and Adb.
App uninstall can be triggered from the new launcher.
As you say, adb is a backup plan for anyone that messes up too bad.
Click to expand...
Click to collapse
I'll have to check out confireator.
I've been forced to manually add permissions via adb for Accessibility Service and certain permissions Amazon doesn't want you using (SYSTEM_ALERT_WINDOW for overlays, for example) in order to even use CetusPlay on the device.
If confireator can give me a GUI for that, I'm SOLD.

Speeddymon said:
I'll have to check out confireator.
I've been forced to manually add permissions via adb for Accessibility Service and certain permissions Amazon doesn't want you using (SYSTEM_ALERT_WINDOW for overlays, for example) in order to even use CetusPlay on the device.
If confireator can give me a GUI for that, I'm SOLD.
Click to expand...
Click to collapse
If you have a gutted amazon launcher, mind sharing?
I don’t care if you only got rid of home button or if you prevented it from executing its startup process so it fails to launch entirely, it has to go.

freshjr said:
If you have a gutted amazon launcher, mind sharing?
I don’t care if you only got rid of home button or if you prevented it from executing its startup process so it fails to launch entirely, it has to go.
Click to expand...
Click to collapse
I don't have that. Sorry.
Try Launcher Hijack V3. It will replace your launcher without needing to actually replace it.
https://forum.xda-developers.com/amazon-fire/general/launcher-root-launcher-hijack-v2-t3561026

Speeddymon said:
I don't have that. Sorry.
Try Launcher Hijack V3. It will replace your launcher without needing to actually replace it.
https://forum.xda-developers.com/amazon-fire/general/launcher-root-launcher-hijack-v2-t3561026
Click to expand...
Click to collapse
with the janus exploit we can now actually replace it without needing to get rid of it.
I just got a linux distro up and running so I can try executing the script. Windows is a nightmare.

Speeddymon said:
I'll have to check out confireator.
I've been forced to manually add permissions via adb for Accessibility Service and certain permissions Amazon doesn't want you using (SYSTEM_ALERT_WINDOW for overlays, for example) in order to even use CetusPlay on the device.
If confireator can give me a GUI for that, I'm SOLD.
Click to expand...
Click to collapse
Confireator works!! I can finally replace the FireTV Cube launcher!! Thank you!
Edit: Still no access to the Accessibility service settings tho. Oh well, was worth a try!

freshjr said:
The uninstall / disable parameter doesn't work on newest fireTV devices, which means you cannot prevent newer fireTV devices from automatically updating
This over-writes the existing softwareOTA.apk, instead of uninstalling/disabling.
The modifications present in this modded version disable the firmware update functionality from the original softwareOTA.apk
--
@ranjeet choudhary, can we get an equivalent dummy apk to disable com.amazon.tv.launcher?
I tried to do it myself with the janus exploit, but it doesn't work on my windows device. Looks like I will have to install Linux/Mac for further testing.
I am trying to modify com/amazon/tv/launcher/AppKeyService.smali
Click to expand...
Click to collapse
you can try this https://forum.xda-developers.com/showpost.php?p=77289712&postcount=12

Related

several apps having issues now on rooted Marshmallow

I'm currently rooted and restoring my apps, however it seems like with each new version of Android the external SD gets trickier and trickier. A lot of apps these days use the round about method of having you choose the card to write to via the file manager, unfortunately not all apps do this and one of them looks to be the ever popular Tasker. am I missing the option or am I screwed and have to rewrite all my tasks to write to the internal storage?
another issue is with Secure Settings mainly used in conjunction with Tasker... when I start it up it fails to recognize su and never prompts me via SuperSU for permissions to grant. anyone have any workarounds or fix for this?
lastly, is BusyBox still usable under Marshmallow? i loaded it up and everything seemed fine, but after a reboot Google Play Services, Amazon, Youtube and some others kept crashing.
My observations:
MyProfiles Pro not able to turn data ON/OFF with ROOT permissions even if the root permission is there for the app.
One Power Guard battery app works, but cannot tweak the profiles, it says root needed. I seriously doubt if it really is working.
njaustin123 said:
My observations:
MyProfiles Pro not able to turn data ON/OFF with ROOT permissions even if the root permission is there for the app.
One Power Guard battery app works, but cannot tweak the profiles, it says root needed. I seriously doubt if it really is working.
Click to expand...
Click to collapse
what I've realized is that SuperSU is running in systemless mode, which is causing some issues for outdated apps that were hardcoded to find 'su' in /system. some workarounds are putting a dummy file named su in /system or getting SuperSU to run in /system.
dimm0k said:
I'm currently rooted and restoring my apps, however it seems like with each new version of Android the external SD gets trickier and trickier. A lot of apps these days use the round about method of having you choose the card to write to via the file manager, unfortunately not all apps do this and one of them looks to be the ever popular Tasker. am I missing the option or am I screwed and have to rewrite all my tasks to write to the internal storage?
another issue is with Secure Settings mainly used in conjunction with Tasker... when I start it up it fails to recognize su and never prompts me via SuperSU for permissions to grant. anyone have any workarounds or fix for this?
lastly, is BusyBox still usable under Marshmallow? i loaded it up and everything seemed fine, but after a reboot Google Play Services, Amazon, Youtube and some others kept crashing.
Click to expand...
Click to collapse
I learned this the hard way in updating from LP to MM; do NOT restore your apps from a backup under LP. I did that, and was having nothing but issue after issue. Best bet, backup everything not an app, go back to the google play store, and reinstall everything from there. Any apk's you had you installed, install them fresh. I was literally to the point of shipping the phone back to T-Mobile and going to an S7 it was such a pain in the neck. After I learned after the 4th factory reset from LG Bridge, I've never had any issues since.
chernabog88008 said:
I learned this the hard way in updating from LP to MM; do NOT restore your apps from a backup under LP. I did that, and was having nothing but issue after issue. Best bet, backup everything not an app, go back to the google play store, and reinstall everything from there. Any apk's you had you installed, install them fresh. I was literally to the point of shipping the phone back to T-Mobile and going to an S7 it was such a pain in the neck. After I learned after the 4th factory reset from LG Bridge, I've never had any issues since.
Click to expand...
Click to collapse
Whenever you do a clean fresh flash Rom at the setup most rooms let you restore all your previous apps from google, no need to go to the play store it does it automatic. If you made a backup just restore the data.
Sent from my LG-H901 using XDA-Developers mobile app
dimm0k said:
what I've realized is that SuperSU is running in systemless mode, which is causing some issues for outdated apps that were hardcoded to find 'su' in /system. some workarounds are putting a dummy file named su in /system or getting SuperSU to run in /system.
Click to expand...
Click to collapse
Thanks. But can you give me little bit more details on that. How can I get SuperSU to run in /system? I checked settings of SuperSU app, but could not find.
Also I tried to create a new file called su in /system with Root Browser of ROM Toolbox, but it says 'failed'
chernabog88008 said:
I learned this the hard way in updating from LP to MM; do NOT restore your apps from a backup under LP. I did that, and was having nothing but issue after issue. Best bet, backup everything not an app, go back to the google play store, and reinstall everything from there. Any apk's you had you installed, install them fresh. I was literally to the point of shipping the phone back to T-Mobile and going to an S7 it was such a pain in the neck. After I learned after the 4th factory reset from LG Bridge, I've never had any issues since.
Click to expand...
Click to collapse
I have witnessed this, mainly with Google apps. after restoring the app with data the app would randomly crash... removing the app and installing it from Google fixes it, but I have not experienced this with non-Google apps. I'll keep this in mind the next go around when restoring my stuff.
njaustin123 said:
Thanks. But can you give me little bit more details on that. How can I get SuperSU to run in /system? I checked settings of SuperSU app, but could not find.
Also I tried to create a new file called su in /system with Root Browser of ROM Toolbox, but it says 'failed'
Click to expand...
Click to collapse
you won't be able to change SuperSU to be in systemless mode within SuperSU... look here for the non-systemless root method that you'll need to flash in TWRP. realize that if you do this flash that it most likely will break Android Pay. not sure if you need to mount /system as rw in Root Browser before you can create files there or if Root Browser does it for you automatically?
I am having issues with the camera in manual mode it keeps force closing
Sent from my LG-H901 using XDA-Developers mobile app
after doing some research and from my understanding, the bad news is that it looks like it's up to devs to add the feature of writing to the external SD via the Storage Access Framework (SAF). unfortunately it doesn't look like an easy task, as the developer of Tasker mentioned that he won't be implementing this since the number of external SD users are far and few =( and would revisit it if that number changes.
the good news for those of us smart and brave enough to root our devices, this is solvable via editing packages.xml and adding in one line for each app you want to "fix". this is documented here
justice26 said:
I am having issues with the camera in manual mode it keeps force closing
Sent from my LG-H901 using XDA-Developers mobile app
Click to expand...
Click to collapse
works fine for me here... are you using stock ROM?
dimm0k said:
you won't be able to change SuperSU to be in systemless mode within SuperSU... look here for the non-systemless root method that you'll need to flash in TWRP. realize that if you do this flash that it most likely will break Android Pay. not sure if you need to mount /system as rw in Root Browser before you can create files there or if Root Browser does it for you automatically?
Click to expand...
Click to collapse
I don't want to break stuff like Android Pay though I am not using it right now.
And about putting the file, in ROM Toolbox it says rwxr-xr-x for /system. Doesn't that mean write is there?
njaustin123 said:
I don't want to break stuff like Android Pay though I am not using it right now.
And about putting the file, in ROM Toolbox it says rwxr-xr-x for /system. Doesn't that mean write is there?
Click to expand...
Click to collapse
I believe non-systemless root only breaks Android Pay because of the way Android Pay is designed, as I believe it needs /system to be "pure". just want you to know that I have not done anything and have left everything as is, systemless root. seems like the only app I had that needed root was Secure Settings, which doesn't look like it will ever be updated anytime soon so I'm trying to ween myself away from that and do everything via Tasker without that plugin. as for you, if you're lucky, write to the apps you're having issues with and have them update it for systemless root. the issue is that their apps were looking for root specifically in /system, but with systemless root the su binary is now in /su/bin. as for putting a dummy su file in /system, I'm not entirely sure that would make your apps work and if it would break Android Pay if you did so. regardless, it doesn't hurt to try as you can simply remove the dummy su file to revert back to systemless. I believe those permissions you've listed for /system does does mean it can be written to, however it has to also be mounted as rw. check that via a terminal by issuing "mount | grep /system". you will probably see a ro in parenthesis or simply try to put a file in there.
dimm0k said:
I believe non-systemless root only breaks Android Pay because of the way Android Pay is designed, as I believe it needs /system to be "pure". just want you to know that I have not done anything and have left everything as is, systemless root. seems like the only app I had that needed root was Secure Settings, which doesn't look like it will ever be updated anytime soon so I'm trying to ween myself away from that and do everything via Tasker without that plugin. as for you, if you're lucky, write to the apps you're having issues with and have them update it for systemless root. the issue is that their apps were looking for root specifically in /system, but with systemless root the su binary is now in /su/bin. as for putting a dummy su file in /system, I'm not entirely sure that would make your apps work and if it would break Android Pay if you did so. regardless, it doesn't hurt to try as you can simply remove the dummy su file to revert back to systemless. I believe those permissions you've listed for /system does does mean it can be written to, however it has to also be mounted as rw. check that via a terminal by issuing "mount | grep /system". you will probably see a ro in parenthesis or simply try to put a file in there.
Click to expand...
Click to collapse
OK, so here is it: I was able to mount /system as rw with the terminal emulator in ROM toolbox and then create a dummy file named su. Rebooted the phone, both the apps still fail. I will write to the developers. For the time being, I am OK turning data on/off manually along with using MyProfiles for other things. And for the One Power Guard, I believe freezing many of the T-Mobile and LG junk using Titanium and having SetCPU with a little bit under-clocking have already made the battery better. So I can wait. Am also evaluating Craig's Root Battery App instead of OPG. Thank you anyways.

remove some stock apps and then disable/ restrict any further software changes

After I root a phone, I would like to be able to uninstall/remove some stock apps (for example, stock Messaging app) and add some new apps (for example, 3d-party Messaging app).
Do I need Titanium app to achieve that? Or is there something more lightweight?
After I complete the setup, I want to disable/ restrict any further software changes. Pretty much the same as Window OS "Admin" VS "Standard User"
So I guess I would need some app manager capable of permission managing.
Any advice on my project? Will my phone be as stable as the original stock after such modding?
The phones: Moto E2 and Moto G2 and G3, Android 5.01 or 6.01
Well, Backing Up the Stock Content before doing any Modding to your Phone is a Good Practice and Extremely Recommended in Case of any worst case scenarios and you can achieve the same by Titanium Back or any Other app Readily available on Play Store.
After Back up, Yes, you can Uninstall PreInstalled apps or any other bloatware that you may don't want in your phone. And Install 3rd Party apps in place of stock Ones.
Talking about Permissions, until/unless you give Root Access to that App, it won't be able to Make any changes in the System. So, you also have to keep a check on giving Root permissions to apps.
Your Phone Will remain stable When you know what actually you are doing with it and what measures could be taken to revert it.
abhinavp649 said:
Talking about Permissions, until/unless you give Root Access to that App, it won't be able to Make a.
Click to expand...
Click to collapse
Once the phone is rooted, will I be able to block/restrict both: uninstalling apps (which are already installed) and installing new apps? The phone will be used by my kids, so I want to prevent them from making any phone changes.
rybshik said:
Once the phone is rooted, will I be able to block/restrict both: uninstalling apps (which are already installed) and installing new apps? The phone will be used by my kids, so I want to prevent them from making any phone changes.
Click to expand...
Click to collapse
You can't restrict to install and uninstall apps. As abhinavp649 said the application makes modifications to the system if you give root permission to them. If you are using SuperSU superuser app then you can set pin to grant root permission to the app from the settings of supersu
rybshik said:
Once the phone is rooted, will I be able to block/restrict both: uninstalling apps (which are already installed) and installing new apps? The phone will be used by my kids, so I want to prevent them from making any phone changes.
Click to expand...
Click to collapse
To Prevent app from uninstalling the best way is to hide it From Home screen Or Make that as System.
And Revoke SU permissions from those apps which can uninstall system apps or any similar one.
Hit thanks if Helped :laugh:
abhinavp649 said:
to hide it From Home screen Or Make that as System.:
Click to expand...
Click to collapse
How can I do that?
Additionally, can I, for example, turn on Location (GPS) and prevent the phone user from turning it OFF? thanks!
rybshik said:
How can I do that?
Additionally, can I, for example, turn on Location (GPS) and prevent the phone user from turning it OFF? thanks!
Click to expand...
Click to collapse
Installing an App as system is a easy and you can find tools easily on play store. Just search 'make app system' or something else similar.
Using GPS to prevent Turn off? I think you are expecting too too much out of a device.
However, you can disable Power Off from options you get by holding lock button.
To do this You Have to Install Xposed Framework in your Device.
Xposed Framework allows you to do Amazing modding to your Android device. You can just do everything with the device(Exceptions are always present)
rybshik said:
How can I do that?
Additionally, can I, for example, turn on Location (GPS) and prevent the phone user from turning it OFF? thanks!
Click to expand...
Click to collapse
If you are thinking of turning on GPS for the sake of tracking your kids, then make sure you tell them you are doing so. Have known a few people that got into legal trouble for not doing so.
In the end if the kids are smart enough there will be nothing you can really do as they can just reset the device and everything you did is gone.
zelendel said:
nothing you can really do as they can just reset the device
Click to expand...
Click to collapse
So, can I prevent that by disabling/removing or password-protecting the option of "Factory Reset" on a rooted Android 6.0?
rybshik said:
So, can I prevent that by disabling/removing or password-protecting the option of "Factory Reset" on a rooted Android 6.0?
Click to expand...
Click to collapse
No. You can not restrict or disable factory data reset option by any ways even you are rooted. Some brands like Samsung gives FRP (factory reset protection) to their device. Devices without FRP easily factory data reset by entering in recovery mode or in settings.

Is it possible to replace the bundled/default apps?

I know I can download new apps and make them the default but what I am wondering is if I could completely delete some of the stock/bundled apps that come with the phone with different versions.
For example, instead of Huawei's Contacts or Dialer or SMS applications, I want to use the Google provided ones (assuming they are compatible)
[Google Play URL]/store/apps/details?id=com.google.android.dialer
[Google Play URL]/store/apps/details?id=com.google.android.contacts
[Google Play URL]/store/apps/details?id=com.google.android.apps.messaging
Is this do-able? If so, how?
I am using the US version of Honor 8 that has been unlocked and rooted and running Android 6.0, if that matters.
YaddaSwamy said:
I know I can download new apps and make them the default but what I am wondering is if I could completely delete some of the stock/bundled apps that come with the phone with different versions.
For example, instead of Huawei's Contacts or Dialer or SMS applications, I want to use the Google provided ones (assuming they are compatible)
[Google Play URL]/store/apps/details?id=com.google.android.dialer
[Google Play URL]/store/apps/details?id=com.google.android.contacts
[Google Play URL]/store/apps/details?id=com.google.android.apps.messaging
Is this do-able? If so, how?
I am using the US version of Honor 8 that has been unlocked and rooted and running Android 6.0, if that matters.
Click to expand...
Click to collapse
U can for some apps. This is there in EMUI 5.0. I'm not really sure about EMUI 4 becoz I updated to EMUI 5.0 the day I got my phone.
Good luck!
Sent from my Honor 8 using XDA Labs
You need to be rooted to delete system apps and replace them with ones you download.
SolarisSixth said:
You need to be rooted to delete system apps and replace them with ones you download.
Click to expand...
Click to collapse
Do you have any instructions on how to do so? Or can you point me to where I can find them?
My phone is rooted, so if I can do it, I would love to.
ayush rao said:
U can for some apps. This is there in EMUI 5.0. I'm not really sure about EMUI 4 becoz I updated to EMUI 5.0 the day I got my phone.
Good luck!
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
There is something similar in EMUI 4 as well but all that does is make a new app the default. It doesn't get rid of the bundled apps from the system.
What I want to do is get rid of them completely from the system, so that there are no traces of them.
YaddaSwamy said:
I know I can download new apps and make them the default but what I am wondering is if I could completely delete some of the stock/bundled apps that come with the phone with different versions. Is this do-able? If so, how?
I am using the US version of Honor 8 that has been unlocked and rooted and running Android 6.0, if that matters
Click to expand...
Click to collapse
Install Magisk 11.1 from your custom recovery (11.1 is the only one that works right now).
Flash the linked zip from your custom recovery
This is a Magisk module I created to replace the Dialer, Messages, Calendar, and Contacts with the Google versions. It also replaces the stock Gallery with QuickPic. Like any other Magisk module, if you want to go back to stock, just disable the module and reboot.
https://drive.google.com/open?id=0B0zE1Kk8sIB6LU55Rm5POF9pV1U
Telperion said:
Install Magisk 11.1 from your custom recovery (11.1 is the only one that works right now).
Flash the linked zip from your custom recovery
This is a Magisk module I created to replace the Dialer, Messages, Calendar, and Contacts with the Google versions. It also replaces the stock Gallery with QuickPic. Like any other Magisk module, if you want to go back to stock, just disable the module and reboot.
https://drive.google.com/open?id=0B0zE1Kk8sIB6LU55Rm5POF9pV1U
Click to expand...
Click to collapse
Awesome! This is exactly what I was looking for. :good:
I don't know much about Magisk but is this compatible with any version of Honor 8? Or is limited to specific models? I have the US version (FRD-L04 running Android 6.0).
Also how easy is to modify this? For example, instead of using QuickPic, I would like to use Google Photos. I would also like to replace the Calculator, Clock, Email apps with the Google versions. Is that (easily) do-able?
YaddaSwamy said:
Awesome! This is exactly what I was looking for. :good:
I don't know much about Magisk but is this compatible with any version of Honor 8? Or is limited to specific models? I have the US version (FRD-L04 running Android 6.0).
Also how easy is to modify this? For example, instead of using QuickPic, I would like to use Google Photos. I would also like to replace the Calculator, Clock, Email apps with the Google versions. Is that (easily) do-able?
Click to expand...
Click to collapse
To answer your question, I'll give a brief answer on what Magisk does. Magisk stores all the mods to /system/ in a disk image on the /data/ partition. It injects itself early in the boot process to mount the Magisk image and mount/symlink the mods over top of your /system/ partition. This allows the end user to effectively modify /system/, without actually modifying /system/ -- the actual underlying stock files are untouched.
Conceptually this mod is compatible with all Honor 8 models -- at worst, it will add the Google versions in addition to the stock versions. In my zip I mount the new versions over top of the Huawei stock apps which is what "replaces" them.
It's pretty easily do-able to mod the zip. Just follow the instructions in config.sh and you should be good to go. Install App Inspector from the Play Store to find the install directory of the system apps you want to replace -- either in /system/app/ or /system/priv-app/ and note what they're named. From there, just drop the APK's you want into the proper folder in the zip, update the REPLACE directories as needed in the config, and then load it into Magisk. If a stock app you're replacing has library folders inside the app directory, you have to explicitly name that folder in config.sh so that it mounts over the entire folder instead of a merge-mount.
You may not be able to replace the stock Email client though since I think that will break the email intent service. But worst case scenario, just toggle your module off and keep editing it until it works the way you want. In the case of system apps that aren't tightly integrated, like the Calculator, I'd recommend just mounting a blank folder over top of the system app (essentially disabling it) and then installing your preferred calculator from the Play Store (RealCalc is what I use).
YaddaSwamy said:
There is something similar in EMUI 4 as well but all that does is make a new app the default. It doesn't get rid of the bundled apps from the system.
What I want to do is get rid of them completely from the system, so that there are no traces of them.
Click to expand...
Click to collapse
Aren't u rooted? Then just install titanium backup and uninstall the system apps.
Sent from my Honor 8 using XDA Labs
ayush rao said:
Aren't u rooted? Then just install titanium backup and uninstall the system apps.
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
Kind of new to the rooting/tweaking scene, so I wasn't aware I had other options. I went through most of the threads in the Honor 8 forum and there weren't a lot of mentions of how to uninstall the system apps. That's what led me to ask the question in the first place.
Titanium Backup looks cool. What would the benefit be between using Titanium Backup vs. Magisk?
YaddaSwamy said:
Kind of new to the rooting/tweaking scene, so I wasn't aware I had other options. I went through most of the threads in the Honor 8 forum and there weren't a lot of mentions of how to uninstall the system apps. That's what led me to ask the question in the first place.
Titanium Backup looks cool. What would the benefit be between using Titanium Backup vs. Magisk?
Click to expand...
Click to collapse
See titanium backup and Magisk r 2 completely different things.
So using Magisk u can use a module which can help u but if u want to edit it it gets complex. Magisk is like SuperSU on steroids. So it's main function is to provide root without modifying system so that Safetynet is bypassed. It also provides system-less modules to get more functionality.
Titanium backup is an app which can perform various functions with root access. Like backing up apps and their data or uninstalling system ones or moving apps to the SD card etc.
But if all u want is to uninstall system apps and if u already have SuperSU then just install this app: https://goo.gl/hK4n5H
It will simply uninstall the applications u select. Also once u uninstall the apps reboot ur phone.
Sent from my Honor 8 using XDA Labs
ayush rao said:
See titanium backup and Magisk r 2 completely different things.
So using Magisk u can use a module which can help u but if u want to edit it it gets complex. Magisk is like SuperSU on steroids. So it's main function is to provide root without modifying system so that Safetynet is bypassed. It also provides system-less modules to get more functionality.
Titanium backup is an app which can perform various functions with root access. Like backing up apps and their data or uninstalling system ones or moving apps to the SD card etc.
But if all u want is to uninstall system apps and if u already have SuperSU then just install this app: https://goo.gl/hK4n5H
It will simply uninstall the applications u select. Also once u uninstall the apps reboot ur phone.
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
Awesome. Thanks for the info! This is the first time I've looked at rooting/tweaking my phone, so I am learning a lot in a short time. :good:
Anyways, my intent is to have as close to a stock ROM as possible and until the custom ROMs stabilize, I thought I could get rid of the stock apps (such as Clock, Contacts, Dialer, etc.) and replace them with the Google version from the Play Store. Secondly, I also wanted to get rid of the unnecessary Google stuff and flash OpenGApps just to have the bare minimum.
For the first, @Telperion gave a Magisk module that he had written for himself to do exactly that but based on what you described, it sounds like I could just install Titanium Backup and uninstall those apps myself. That might be easier to do.
For the second part, there was a script @ganeshbiyer wrote to uninstall all the Google apps (https://forum.xda-developers.com/ho...-apps-list-t3521225/post71093292#post71093292) but I couldn't get it to work. But if I understand you correctly, I should be able to do that with Titanium Backup as well.
YaddaSwamy said:
Awesome. Thanks for the info! This is the first time I've looked at rooting/tweaking my phone, so I am learning a lot in a short time. :good:
Anyways, my intent is to have as close to a stock ROM as possible and until the custom ROMs stabilize, I thought I could get rid of the stock apps (such as Clock, Contacts, Dialer, etc.) and replace them with the Google version from the Play Store. Secondly, I also wanted to get rid of the unnecessary Google stuff and flash OpenGApps just to have the bare minimum.
For the first, @Telperion gave a Magisk module that he had written for himself to do exactly that but based on what you described, it sounds like I could just install Titanium Backup and uninstall those apps myself. That might be easier to do.
For the second part, there was a script @ganeshbiyer wrote to uninstall all the Google apps (https://forum.xda-developers.com/ho...apps-list-t3521225/post71093292#post71093292) but I couldn't get it to work. But if I understand you correctly, I should be able to do that with Titanium Backup as well.
Click to expand...
Click to collapse
Yup all can be done with Titanium​ Backup.
Sent from my Honor 8 using XDA Labs
TB fully removes/replaces the apps -- this might be desirable, but might not be. It's hard to go back and forth between the two once you uninstall.
Magisk mounts over top of the old ones so you get all the benefit without any actual changes to /system/ -- this is more flexible and more desirable for some users.
Personally, I think Magisk and other systemless mods are the future of custom tweaks so I'd suggest that if you think you'll be a tinkerer, learn Magisk modules and do it that way. Ultimately though it's preference.
Telperion said:
Install Magisk 11.1 from your custom recovery (11.1 is the only one that works right now).
Flash the linked zip from your custom recovery
This is a Magisk module I created to replace the Dialer, Messages, Calendar, and Contacts with the Google versions. It also replaces the stock Gallery with QuickPic. Like any other Magisk module, if you want to go back to stock, just disable the module and reboot.
https://drive.google.com/open?id=0B0zE1Kk8sIB6LU55Rm5POF9pV1U
Click to expand...
Click to collapse
Hey @Telperion,
I ran this module and it seemed to work OK for the most part. The Dialer, Messages, Calendar and Contacts all updated properly. But QuickPic doesn't seem to work though. I see that it's installed but when I try to open the app, it just closes and takes me back to the home screen. Any ideas on what might have happened?
YaddaSwamy said:
Hey @Telperion,
I ran this module and it seemed to work OK for the most part. The Dialer, Messages, Calendar and Contacts all updated properly. But QuickPic doesn't seem to work though. I see that it's installed but when I try to open the app, it just closes and takes me back to the home screen. Any ideas on what might have happened?
Click to expand...
Click to collapse
Strange, that happened to me in the first version of my zip, I set it as a merge-mod and for some reason the existing libraries in the /Gallery2/ folder cause QuickPic to crash. When I set it to 'overwrite' /system/priv-app/Gallery2 which made the libraries disappear, then QuickPic launched normally.
Do you have QuickPic currently installed from the Play Store? If so, uninstall first.
Update: Looked over the zip, it looks good. Try downloading and flashing the mod again, perhaps from Recovery this time (if you added from UI the first go-round). Let me know how that goes.
Telperion said:
Strange, that happened to me in the first version of my zip, I set it as a merge-mod and for some reason the existing libraries in the /Gallery2/ folder cause QuickPic to crash. When I set it to 'overwrite' /system/priv-app/Gallery2 which made the libraries disappear, then QuickPic launched normally.
Do you have QuickPic currently installed from the Play Store? If so, uninstall first.
Update: Looked over the zip, it looks good. Try downloading and flashing the mod again, perhaps from Recovery this time (if you added from UI the first go-round). Let me know how that goes.
Click to expand...
Click to collapse
No, I don't have QuickPic installed from the store. I ran the update on the stock device, before I even set up by Google account on it. And I did flash it from TWRP recovery, so I don't believe that is the issue either. But I'll try again and let you know if it works.

Help needed in unlocking ACT Stream 4K TV Box

Recently i got a 4K Android Stream box for my network plan from my ISP - ACT Fibernet in india
I have disconnected the connection due to relocation and have no ACT in the new place
The issue is the Android Box only runs in the ACT network and doesnt work in other network
Is there a way to make the android box work in other networks?
Or flash a Android TV os and make it standalone ?
As the new box has good specs and supports Steam Link and other features
New to this android TV experience. Any help would do.. :fingers-crossed:
Tech Specs
Operating System : Android 9
Main Chipset : Hi Silicon 3798M V200
RAM : 2GB
Flash : 8GB
DRM : Widevine & Playready
WiFi : Dual band (2.4G & 5G) & 802.11 ac
Ports Available : 2 USB ports, 1 Ethernal port, 1 HDMI port, 1 AV output, 1 SD crad slot
Me too looking for the same info.
Hey me to..
when they have network issue.. this is useless.
need same info
I need the same info too.. is there a way to root or install custom rom like how you do traditional android tv boxes?
I have not found the way to unlock it, but there is a work around to use it without ACT network.
----------------------
Install below two apps by sideloading the apk files.
1. Sideload Launcher
2. Launch on Boot
Open Launch on boot and mark 'Sideload launcher' as the app to boot.
---------------------
if you press accidentally home button while NOT using ACT network,
you can then also use 'Google play store' button in the remote to select the app 'Launch on boot' and open 'sideload Launcher' app.
Thanks
SK
Thank you for the sideload launcher idea and it works as expected.
I wish we have an option to install a custom launcher on this as its the Act Launcher that is causing problem when its not connected to an Act Network.
I am looking for the same - unlock the Android TV from ACT
---------- Post added at 02:24 AM ---------- Previous post was at 02:23 AM ----------
prashanth678 said:
Thank you for the sideload launcher idea and it works as expected.
I wish we have an option to install a custom launcher on this as its the Act Launcher that is causing problem when its not connected to an Act Network.
Click to expand...
Click to collapse
Were you able to use the ACT TV outside of ACT network? Please let me know. Thanks
Yes I am able to use it as per above launch on boot and sideload launcher method.
How were you able to access the settings or play store when on the non-ACT network page? My device will not let me access them other than the network selection.
I'm able to access play store and other apps right from the day I bought it. On the top banner you have different pages the 2nd one is apps. Select that and scroll down, then you can see play store and other apps you have installed. Only the TV section won't work if the device is not connected to act network.
Regarding Choosing "Launch On Boot" option
How do i select the "Launch On Boot" option, please help.
If you could provide the steps or screenshot, it would be really helpful.
Alternate launchers
All my attempts at installing alternate launcher fail with
Code:
$ adb install ~/Downloads/Taskbar-5.0.1.apk
adb: failed to install /home/reshma/Downloads/Taskbar-5.0.1.apk: Failure [INSTALL_PARSE_FAILED_BAD_PACKAGE_NAME: Package couldn't be installed in /data/app/com.farmerbb.taskbar-NJD_XsOJWsvV-uhprRNnOw==: Package com.farmerbb.taskbar do not allow to install.]
Have you guys been able to find any way to install other launcher apps?
Works!
I managed to make it work with the two apps. I was looking through the Airtel internet TV forum and for that, you can enablee developer mode and use adb bridge to completely remove the associated apps to get a stock OS. However, when I try to click on build option 7 times (and more), it does not work on ACT TV. Has it been disabled on this? How can we enable developer options in this? If anyone can confirm with the same issue.
djxtwicee said:
I managed to make it work with the two apps. I was looking through the Airtel internet TV forum and for that, you can enablee developer mode and use adb bridge to completely remove the associated apps to get a stock OS. However, when I try to click on build option 7 times (and more), it does not work on ACT TV. Has it been disabled on this? How can we enable developer options in this? If anyone can confirm with the same issue.
Click to expand...
Click to collapse
Try using developer tools app from playstore. They have disabled the 7 tap option now. Please let us know if you succeed.
Successfully worked!
Vimz999 said:
Try using developer tools app from playstore. They have disabled the 7 tap option now. Please let us know if you succeed.
Click to expand...
Click to collapse
Thanks for the idea. I installed the app from play store (it installs but it will not show up, you can use voice command to open or from settings). Then, it enables developer options following which I ran adblink to uninstall all apks which began with in.actcorp. One note is that the normal uninstall option in adblink will not enable you to delete all apps, it is required to use pm uninstall -k --user 0 [apk name] in the adb shell to get it done. Once done, the box works, however I'm not too sure on how to get the default android TV launcher to open up, pressing the home button on remote takes to a blank screen only. If someone can help, I'll be grateful!
djxtwicee said:
Thanks for the idea. I installed the app from play store (it installs but it will not show up, you can use voice command to open or from settings). Then, it enables developer options following which I ran adblink to uninstall all apks which began with in.actcorp. One note is that the normal uninstall option in adblink will not enable you to delete all apps, it is required to use pm uninstall -k --user 0 [apk name] in the adb shell to get it done. Once done, the box works, however I'm not too sure on how to get the default android TV launcher to open up, pressing the home button on remote takes to a blank screen only. If someone can help, I'll be grateful!
Click to expand...
Click to collapse
Wow. This is great progress. Let me try these steps too. What I can tell you now is if you can install apks, try installing atv launcher or open play store using the voice assistant and install a launcher from there. I'll try this on my end too and see what can be done about the default launcher. Earlier, it never used to let us install any launcher apps. Sideload launcher was the only app we could install.
Vimz999 said:
Wow. This is great progress. Let me try these steps too. What I can tell you now is if you can install apks, try installing atv launcher or open play store using the voice assistant and install a launcher from there. I'll try this on my end too and see what can be done about the default launcher. Earlier, it never used to let us install any launcher apps. Sideload launcher was the only app we could install.
Click to expand...
Click to collapse
I was able to uninstall all the act apps. But something is blocking launcher apps from installing. Android tv home launcher is what we need to install but can't install it either from adb or from playstore. Do you have some command to force install or do you know where the blocked list is?
Vimz999 said:
I was able to uninstall all the act apps. But something is blocking launcher apps from installing. Android tv home launcher is what we need to install but can't install it either from adb or from playstore. Do you have some command to force install or do you know where the blocked list is?
Click to expand...
Click to collapse
I faced the same issue, that's why it is hard to not reach the blank home page often. Hopefully someone has a way to install the launcher apps.
djxtwicee said:
I faced the same issue, that's why it is hard to not reach the blank home page often. Hopefully someone has a way to install the launcher apps.
Click to expand...
Click to collapse
have you tried resetting your device after removing act core applications ?
kmani49 said:
have you tried resetting your device after removing act core applications ?
Click to expand...
Click to collapse
Resetting restores all the apps you have uninstalled. Including the act launcher app. Another way that may work is to somehow rename the android home launcher apk to in.actcorp.actottlauncher.
And make it to install over the current app.

Accidentally went too far adb uninstalling system apps, system now half broken, how to fix?

A few days ago I had a joyful night uninstalling a bunch of system apps with adb pm uninstall. Maybe because I did not check thoroughly on which package I should uninstall, now I have faced some consequences: OneUI Home crashing on widget page, settings crash on accessibility page etc..
So I am fixing the phone right now. Since I deleted system apps, so factory reset may not work (?). I think I can also flash a factory rom on the phone if needed. However, it would be great if I do not have to wipe everything since some of my apps' data cannot be backed up easily.
I am thinking about grabbing a factory firmware, extract all original apk and try adb install them back, that will make the app a user app, so will that work? Also for future references, is there a safer way to backup an apk file before I attempt to adb uninstall?
Edit: S21 home screen pinch to widget screen crash: Apparently I am not the only one. There might be a bug at One UI Home's late February update.
Factory reset.
A package disabler can be an easier/better option plus you can do it on the fly as needed.
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
blackhawk said:
Factory reset.
A package disabler can be an easier/better option plus you can do it on the fly as needed.
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
Click to expand...
Click to collapse
I actually decided to adb uninstall instead of package disabling due to my previous ccswe app manager only works for like a week...
920329 said:
I actually decided to adb uninstall instead of package disabling due to my previous ccswe app manager only works for like a week...
Click to expand...
Click to collapse
I've been using this one for years.
I know it works with Pie. Lol, no Q for me.
Updates can kill it so if it works... leave it be.
blackhawk said:
I've been using this one for years.
I know it works with Pie. Lol, no Q for me.
Updates can kill it so if it works... leave it be.
Click to expand...
Click to collapse
I was thinking about making a script to do that. (And my baby step almost killed my phone).
Forgot to mention I actually did not know the existence of package disabler you linked. I should give it a try.
920329 said:
I was thinking about making a script to do that. (And my baby step almost killed my phone).
Forgot to mention I actually did not know the existence of package disabler you linked. I should give it a try.
Click to expand...
Click to collapse
It's a good app. Useful in tracking down issues as well since it's running in real time.
It can also clear system apk caches that Settings can't touch presumably because the latter leaves nulls. I was able the repair a system apk cache glitch like this saving me a factory reset.
Just protect your critical data; OS's are expendable
ADB AppControl appears to be safe as it backs up .apk if user selects Uninstall

Categories

Resources