Accidentally went too far adb uninstalling system apps, system now half broken, how to fix? - Samsung Galaxy S21 Questions

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

Related

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.

aggressive doze does not stick after reboot

hey everybody!
running taimen 8.1 rooted stock with the greenify magisk module and (ofc) the app from the playstore. whenever enabling aggressive doze in greenify settings, it gets reset to "off" after a reboot.
anyone knows why?
thanks!
I have been searching for hours if there is an answer for that, no luck so far.
My Xiaomi phones have most apps that came with it as unoptimized, and when you optimize them, they get reset after a boot. Same with user apps that we install, I unoptimize important apps like Whatsapp, but after a reboot, it gets reset to optimized.
My Asus phone is the opposite, all apps including Google services are Optimized, and for my user apps as well as system apps that I set, they don't get reset after reboot.
No problem to set it all over again, IF I rarely reboot. Unfortunately, Xiaomi gives me weekly developer rom updates, and I have 4 Xiaomis to update. I also like to backup using TWRP, saved me countless times when I accidentally screw up the phone (and Titanium Backup to restore more recent updates backed up).
I can systemize the app in question and it will stick, but I've a phobia now for systemizing apps.
Does anyone knows where the system stores the information we set for Battery Optimization ? i.e. which file, directory ...

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

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

Notifications only coming when opening app!

Hey guys,
I'm on latest MIUI 11.0.8.0 Global Stable, bootloader unlocked, rooted, and with TWRP. I debloated using XiaomiADBFastbootTools, but then went a little overboard and removed all "the crap" using SD Maid Pro's App Control. I made sure I searched on google before removing anything. I've even removed the Battery Saver app.
But now after doing this, the problem is my notifications are not coming. It's as if the phone kills all apps in the background. Like I'll open WhatsApp and all the messages will load at once. Same with Hangouts, Gmail, etc.
I downloaded the current rom again by going into Settings > About Phone > System Update > Download latest package. It downloaded the 2gb rom and booted into TWRP and flashed. I again rooted, installed Magisk, etc, but this is not fixing it.
What should I do? I even cleared Cache/Dalvik Cache and that didn't fix it.
Please help
Change battery optimization settings
Hello,
Open your app settings and set battery restrictions settings to no restrictions.
For example, you wanna do it with whatsapp:
1. Tap and hold whatsapp icon.
2. Select app info.
3. Select battery optimization/restrictions.
4. Change to No restrictions from MIUI battery saver.
5. Move one step back again and turn on Auto start option.
I hope this will solve your issue.
this happens when I restore with migrate, it is something related to interaction between apps and google play services as i recall.
for the apps like WhatsApp, gmail.... and g pl services, try to clear storage of the apps then sign in again, then go to twrp and clear caches, hope these steps solve your problem
I tried all of the above, and I'm still facing issues. Something interesting happened. I have the Outlook app installed, and there is an option of "Test push notifications" in Troubleshooting. I tried it and it gave me the message "Timed out waiting for a notification. Make sure you have enabled notifications for Outlook in the Android settings."
Another issue happened with the Warframe Android app, where it was not able to enable push notifications.
Now I am 100% certain I have removed/deleted an essential process using the SD Maid Appcontrol (mentioned above).
How do I reinstall the complete ROM and reset all the settings without losing data?
Download apk from chrome dirty install again same apk this only happens with social media apps cozz of data restoration process of migrate and titanium...
Thank me later... ?
[email protected] said:
Download apk from chrome dirty install again same apk this only happens with social media apps cozz of data restoration process of migrate and titanium...
Thank me later...
Click to expand...
Click to collapse
I don't remember what processes I deleted. They all seemed "crap".
Is there any way I can reinstall the entire ROM, reset all the inner settings, but still keep data?
If not, I guess I'll start taking backup coz I just lost a job because I didn't read the email on time -_-
Kazekage Gaara said:
I don't remember what processes I deleted. They all seemed "crap".
Is there any way I can reinstall the entire ROM, reset all the inner settings, but still keep data?
If not, I guess I'll start taking backup coz I just lost a job because I didn't read the email on time -_-
Click to expand...
Click to collapse
Use migrate you can change entire rom and migrate data... Dont format interal
[email protected] said:
Use migrate you can change entire rom and migrate data... Dont format interal
Click to expand...
Click to collapse
Thanx. Installing Migrate.
BTW, another weird thing. I don't get notifications that there are updates available for my apps in play store. I manually opened my Play Store, clicked My Apps, and it showed 15 of my apps had updates available. I'm really getting pissed off now -_-
I fixed it I took backup of the important apps with Migrate and then wiped everything, even the internal, and then using TWRP, I installed the latest Global Stable (V11.0.9.0.QEJMIXM) recovery rom and then rooted and installed Magisk and restored the backup with Migrate. I even debloated again but this time using XiaomiADBFastbootTools 7.0.
This fixed all the problems I was facing, and everything is working perfectly fine.
Thank you so much guys, for all the help. Really appreciate it
Kazekage Gaara said:
Thanx. Installing Migrate.
BTW, another weird thing. I don't get notifications that there are updates available for my apps in play store. I manually opened my Play Store, clicked My Apps, and it showed 15 of my apps had updates available. I'm really getting pissed off now -_-
Click to expand...
Click to collapse
distry flash the APK download it from chrome

Categories

Resources