Custom Systems Apps - Moto G4 Plus Questions & Answers

How do I replace the system apps on custom ROMS with apps that I would like something that has more features as system app? If yes, how can I do it as part of the zip I'm flashing. Like for example, in Invicta I would like to replace the gallery app with Sony album app that's more useful (no offence here just my preference) then what can I do to replace the app in system even before I flash the ROM that is replace on the zip?

Satzz said:
How do I replace the system apps on custom ROMS with apps that I would like something that has more features as system app? If yes, how can I do it as part of the zip I'm flashing. Like for example, in Invicta I would like to replace the gallery app with Sony album app that's more useful (no offence here just my preference) then what can I do to replace the app in system even before I flash the ROM that is replace on the zip?
Click to expand...
Click to collapse
I just download system app remover after flashing ROM. I delete all apps I don't want then flash ones I do want.

Satzz said:
How do I replace the system apps on custom ROMS with apps that I would like something that has more features as system app? If yes, how can I do it as part of the zip I'm flashing. Like for example, in Invicta I would like to replace the gallery app with Sony album app that's more useful (no offence here just my preference) then what can I do to replace the app in system even before I flash the ROM that is replace on the zip?
Click to expand...
Click to collapse
Just delete the apk in /system/app or /system/priv-app.
Then flash.

Related

[Q] making system apks Into regular installable apks.

I was wondering how to make a system apk such as idk the browser into a regular installable apk so that someone with no knowledge of pushing apks can install it along side their apk.
Generally system apps are just normal apps, only installed on a system partition. If you pull a system apk from a device, then you should be able to install it normally on any other device.
There are exceptions from this rule:
You can't install an app if you have it installed already. Many system apps are installed on most devices by default and this is the reason, why you can't install e.g. Browser.apk pulled from other device - most probably you have it installed already.
There are 2 solutions: you could remove system app before installation of new one or just replace it - but this isn't what you want. To create normal, installable apk you would have to modify its package name as I did with Google Maps.
Some system apps use system internals, private APIs or privileges, some additional libraries, etc. For example Settings.apk changes internal settings of OS - you can't do that in normal apk.
You can't easily move/install such apps, they're integrated with system.
thanks for this long great reply. So lets say I pulled my dialer apk changed the package name, could I install it on a friends phone NOT on the system partition ?
I'm trying to pull the dialer apk from gingerbread and port it into a normal apk using apk tool, but once and changed the package name and all that and compile it I go to install it on my phone but it says that it could not open it as an apk file. Any ideas?
Newklearx3 said:
thanks for this long great reply. So lets say I pulled my dialer apk changed the package name, could I install it on a friends phone NOT on the system partition ?
Click to expand...
Click to collapse
I think not. Note that Phone.apk is only one app that can dial, you can't add such feature to your own app, so most probably it uses private APIs to do that. It's integrated-with-system one. Same for Settings.apk and PackageManager.apk, but you should be able to pull Browser.apk, Launcher.apk, MMS.apk, Gmail.apk, Talk.apk, etc., change their package name and install on another device.
Ahh, there is one more group: SenseUI, Motoblur, etc. apps, which use additional framework resources: images, colors, texts. They won't work on a device lacking this framework, but it should be possible to make these apps framework-independent by copying all dependencies to app itself. Not that easy, but possible
Brut.all said:
I think not. Note that Phone.apk is only one app that can dial, you can't add such feature to your own app, so most probably it uses private APIs to do that. It's integrated-with-system one. Same for Settings.apk and PackageManager.apk, but you should be able to pull Browser.apk, Launcher.apk, MMS.apk, Gmail.apk, Talk.apk, etc., change their package name and install on another device.
Ahh, there is one more group: SenseUI, Motoblur, etc. apps, which use additional framework resources: images, colors, texts. They won't work on a device lacking this framework, but it should be possible to make these apps framework-independent by copying all dependents to app itself. Not that easy, but possible
Click to expand...
Click to collapse
Dude, you're amazing! So how would I go about porting the gingerbread dialer to workable installable apk?
I might be doing something wrong but I pulled the launcher and changed the package name and still the same error
Okay, i guess I'm not. I copied the apk ( unmodded ) from the rom zip and placed it on my SD card to install it and the same error, so there must be something wrong.
figured out it was the sdk version, got it to show up but wont install now.
im also interested in porting specific development apk, lets say.. CM Settings into a non Cyanogen. Tried that once by pulling CM*.apk and push it to other non Cyanogen but got cant be installed message.. any hints on this?
phoezies said:
im also interested in porting specific development apk, lets say.. CM Settings into a non Cyanogen. Tried that once by pulling CM*.apk and push it to other non Cyanogen but got cant be installed message.. any hints on this?
Click to expand...
Click to collapse
Use logcat as a start to see dependencies
XDA App

[Q] Own ROM issues?

Right.
So, when I open up .ext3 files in 7zip I notice they have "users" and "modes".
Things I'm curious of:
1. How can I remove apps in my ROM via .ext3 editing?
2. How can I install apps in my ROM (via .ext3 editing)?
3. Just simply removing the .apk for, let's say, the Phone app (BlurPhone.apk) and putting a different apk named Phone.apk, but with the same function and simply being a port from a different phone, will it be a issue?
4. GO Launcher EX/Go Locker - can it be installed in a ROM?...
Also, I got some issues regarding the MD5 Sum ("mismatched " but it actually is a duplicate ). Was it because I had a vanilla copy of my backup in the backup folder?..
Bump?...
Firtst if all, learn to make an cwm zip , its much easier to make changes that way.
To remove an app, just remove the apk file. Do the opposite when adding apps.
Any launcher can be added to rom.
Sent from my MB525 using xda app-developers app
This excellent instruction might help you with building from source:
http://forum.xda-developers.com/showthread.php?t=1593117
thanks, but sadly I'm not going to develop 4.0/4.1 stuff, only 2.3 skins for the moment. Thanks for the help tho
Another (kinda random, but hey): how's the lockscreen app named?...Or is it a sub-part of a motoblur app?

[Q] how can i change the launcher and gallery in a rom

hey im really new into this i just want to know somthing about the launchers and deh gallery....
i just rooted my dhd and flashed icecoldsandwitch on it...
didnt found any bugs jet working very well...
but i want to get rid of the 3 launchers and the standard gallery... is there a way i can repleace the gallery with quickpic and the launchers with launcherpro??? so i can get rid of em ...
would be nice if smb could help me...
There are several apps out there that allow u to uninstall system apps. I use Link2SD myself. With it u can uninstall any syestem app or if don't want to uninstall it u can just freeze it. It also has an option to convert 3rd party apps to system apps so u could convert QuickPik to system/app if u wanted. And u could use it to get rid of or freeze all those launchers too. I believe Titanium Backup can do all of that too. Or an app call Root Uninstaller. Just look on the Play Store & u'll see several but i recommend Link2SD personally. Good luck
Open the ROM zip file in 7-zip or WinRAR, Delete the Apex, Nova, and Trebuchet Launcher apks from /system/app and put in the launcher you want. Preferably keep Trebuchet (Launcher2.apk) along with the launcher you want. So in case it doesn't work, there's a launcher for your phone to use to rather than pull out the battery and re-flash ROM. Same with gallery. Delete Gallery2.apk and put QuickPic apk in /system/app. Finally flash ROM. No need to wipe anything, the IceColdSandwich updater script formats /system, /cache and dalvik-cache.
Sent from my Desire HD using xda premium
davemclow said:
hey im really new into this i just want to know somthing about the launchers and deh gallery....
i just rooted my dhd and flashed icecoldsandwitch on it...
didnt found any bugs jet working very well...
but i want to get rid of the 3 launchers and the standard gallery... is there a way i can repleace the gallery with quickpic and the launchers with launcherpro??? so i can get rid of em ...
would be nice if smb could help me...
Click to expand...
Click to collapse
U cn uninstal the launcher . .
Its given in the ics thread. .

Data\app functionality based question.......

ok guyz i was building a rom through dsixda kitchen
i added data\app functionlaity but all those apps which i have moved to data\app are installed as user apps.I have included many apps in system\app folder so i added some apps to data\app so that they can be updated and i will have some space in system partition...but why are these apps are being installed as user apps.they all get removed if i do a data wipe...please help me or tell me a way of not allowing this to hapen
I don't know your question's answer but many devs outta there in XDA may know so please make the title more informative.
abhishekr700 said:
ok guyz i was building a rom through dsixda kitchen
i added data\app functionlaity but all those apps which i have moved to data\app are installed as user apps.I have included many apps in system\app folder so i added some apps to data\app so that they can be updated and i will have some space in system partition...but why are these apps are being installed as user apps.they all get removed if i do a data wipe...please help me or tell me a way of not allowing this to hapen
Click to expand...
Click to collapse
All system apps sgould be in system/app.They are a bit hard to be deleted.
Whereas user apps can be easily uninstalled via settings or so.
You need user apps to be in data/app.
san122 said:
All system apps sgould be in system/app.They are a bit hard to be deleted.
Whereas user apps can be easily uninstalled via settings or so.
You need user apps to be in data/app.
Click to expand...
Click to collapse
what if i have a system app that needs upgrading from market??
abhishekr700 said:
what if i have a system app that needs upgrading from market??
Click to expand...
Click to collapse
then use link2sd to uninstall the system app - download it from market and then convert it to system app again with link2sd and restart if thats what you want to do
you can update system apps from market but they will not replace the system app - instead you have a duplicate app which means if you uninstall the update it will roll back to the version that orig system app was
if you want to overwrite the system app with the new version simply use link2sd to intergrate update into system then restart
marcussmith2626 said:
then use link2sd to uninstall the system app - download it from market and then convert it to system app again with link2sd and restart if thats what you want to do
you can update system apps from market but they will not replace the system app - instead you have a duplicate app which means if you uninstall the update it will roll back to the version that orig system app was
if you want to overwrite the system app with the new version simply use link2sd to intergrate update into system then restart
Click to expand...
Click to collapse
that means when i was on stock rom annd updated apps like gmaill,maps etc then i got 2 vesions of same apps in my phone......
#feelingcheated
marcussmith2626 said:
then use link2sd to uninstall the system app - download it from market and then convert it to system app again with link2sd and restart if thats what you want to do
you can update system apps from market but they will not replace the system app - instead you have a duplicate app which means if you uninstall the update it will roll back to the version that orig system app was
if you want to overwrite the system app with the new version simply use link2sd to intergrate update into system then restart
Click to expand...
Click to collapse
that means when i was on stock rom annd updated apps like gmaill,maps etc then i got 2 vesions of same apps in my phone......
#feelingcheated
abhishekr700 said:
that means when i was on stock rom annd updated apps like gmaill,maps etc then i got 2 vesions of same apps in my phone......
#feelingcheated
Click to expand...
Click to collapse
yes in a sense
you will have the orig system app in system/app and then the new version stored in data
so if you uninstalled the new version it will roll back to the system app which you cannot uninstall by normal means (you can uninstall system apps with link2sd)
if you look through apps with link2sd anything with the word updated next to it in green means its a system app that has been updated by the user and so the update can be intergrated into system if you wish

TWRP Flashable Zip to remove unwanted system apps after ROM Flashing

Hi Flashaholics out there.
One of the common issues with people who frequently flash roms is removing those unused system applications.
There are various methods of doing this.
Using apps like Titanium Backup to Freeze.
Deleting apps from /system/app or /system/priv-app using root explorer apps.
mounting system partition in Twrp and removing respective directories etc.
But when flashing multiple roms every day/week . after a few times even these methods seem boring and time taking (atleast I am lazy to do this).
So i just modified the updater script in a twrp flashable zip to remove unwanted apps.
Link to download : https://goo.gl/5zQWNd
Here is the list of apps removed.
AntHalService,
BasicDreams,
Calendar,
Email,
ExactCalculator,
messaging,
NexusLauncher,
OnePlusCamera_Luis,
OnePlusGallery_Luis,
LatinIME,
GoogleCamera_Luis,
AudioFX,
Eleven,
Gallery2,
Gcam,
OnePlusCamera,
OnePlusCameraService,
Trebuchet
Added
SwiftKey keyboard app to data partition.
Instructions :
Flash your Rom along with Gapps, Root Package , Modules etc in usual manner.
Flash this zip file.
Reboot.
Incase anyone want to modify/add/delete/undelete any of the folders,apps you are free to modify the contents of the Updater script.
Hit Thanks button.
A Cup of green tea doesn't hurt - Click Here
You should definitely add a disclaimer stating that users who use this zip should NOT expect any support from their ROM maintainers.
Deleting system apps is can cause several issues and it would be very unreasonable to expect support after you have made so many modifications.
legendavey said:
You should definitely add a disclaimer stating that users who use this zip should NOT expect any support from their ROM maintainers.
Deleting system apps is can cause several issues and it would be very unreasonable to expect support after you have made so many modifications.
Click to expand...
Click to collapse
I
I am very open to add such Disclaimer if i really remove something that can cause an unstable system.
But whatever apps i removed are just basic apps and DO NOT effect the system in any manner.
Sent from my OnePlus3T using XDA Labs
Babloo289 said:
I
I am very open to add such Disclaimer if i really remove something that can cause an unstable system.
But whatever apps i removed are just basic apps and DO NOT effect the system in any manner.
Sent from my OnePlus3T using XDA Labs
Click to expand...
Click to collapse
Check your device logs once you've removed these apps and compare them with logs from before you remove them. Modifying system files definitely has an effect on the system.
legendavey said:
Check your device logs once you've removed these apps and compare them with logs from before you remove them. Modifying system files definitely has an effect on the system.
Click to expand...
Click to collapse
I really wish you could help me with logs....
As long as you don't open these apps they won't be having any effect.
Anyways you are free to use / edit / share this zip file. No compulsion.
Sent from my ONEPLUS A3003 using Tapatalk
I know this is an old topic, but anyone know a Flashable Zip to actually freeze an app? (Not remove)
I want to know how to create such uninstaller files!!
Bcoz the rom I'm using isn't rooted and I don't want to root it!!
Rooting often makes my device unstable and so I want to delete system apps without rooting using these ZIP files!!!

Categories

Resources