I have been trying to install the stock Motorola Razr camera and gallery apps on CM10 and CM10.1 builds but with no luck. The camera app installs but everytime I open it, it says "Unfortunately, Camera has stopped.". The gallery app won't even install. I have tried various things including:
- pushing it to /system/app, changing permissions and rebooting
- pushing it to /system/app, changing permissions and installing through a root browser
- installing like a third party app
But the result is the same every time. I have tried both the odexed (with the correponding odex files) and the deodexed versions. Have also tried the camera and gallery files from Razr M ICS and JB firmwares, but the result is always the same.
The 4.2 Camera as well as third party apps (Camera360, Camera ZoomFX, etc) all work fine (no high-res widescreen option available though). Can anyone help me here please?
I think you can't install stock camera on any non.blur ROM. Anyway, you always need the libraries, (on /system/lib) but probably you'll also need the framework, so it's not possible to have Blur camera on non-blur ROMs. (Maybe it is/will be possible thanks to the devs, but will not be easy)
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.