[Q] Replacing system apps - G1 Q&A, Help & Troubleshooting

Im currently using froyo by laszlo... and it has its own default system apps...
i want to replace it with some off my own prefer things...
to be direct...
i want to replace the launcher contacts dialer and messaging apps...
i want it to have go launcher, go contacts, go dialer, go messaging
would it be just like unzipping then remove the apps i dont want, put in the apps that i want sign the apks, then zip and sign?

1. im pretty sure you can just put the apk's in system/app folder... but since they're apps from market they might need to go into data/app folder.. not sure
2. you dont need to sign the apk's if your signing the rom.zip...

I would suggest just installing the apps you want and pretending the others aren't there.
Removing important system apps can break stuff pretty badly. There is a page on the cyanogenmod wiki about what can and can't be removed. Read that then remove what you want. Also since the apps you want are market apps I would recommend installing them from there so you don't have to redo everything every time one of them updates

this is true^^^

Related

Dev question's

Hiya,
I've been tinkering to make my own ROM (not completed yet)
I've been struggeling with apk optimalisation.
http://forum.xda-developers.com/showthread.php?t=560271
I followed the guide and thought I test it out om my fav ROM CyanogenMOD 4.0.4
Ok so it reduced the size, resigned it without any problems.
I flash the rom and it doesn't go any further then the android loading screen. I should be seeing the setupwizard.
Are there certain apk's that you musn't optimize ??
-----------------------
Second question.
I'd like to add apps and remove apps. how do I do this ??
- Can I just put them in the /system/app directory ?
- Or in the /data/app directory ?
As you noticed I'm abit of a newbie.
thanks for any help
For adding and removing cooked in apps
-Don't remove anything from /system/app even if you don't want it, because whatever app it is probably part of the framework...
-You can add third party apps to /system/apps like twidroid, but neither the market or aTrackDog will show update.
-You can add third party apps to /data/app but you will take a look in the update script to make sure they will be flashed.
thnQ for answering.
Is there also a way I can remove apps from a ROM completely?
I tried to remove amazon mp3 cause i never use it but after I sign it again it won't go beyond the loading screen. it turns black then
I'm having problems adding apps to a them or rom for some reason it installs fine but when it is at the loading screen it stops and turn black.
I added apps to /system/apps on a theme and on a ROM without any luck.
Some help is appriciated.
if you dont have the haykuro spl....you have to make sure everything will fit on the ~44mb system partition

How to add Hero widgets and gapps after an install?

Ive been looking in the threads for a while and find hints and clues, but cannot get a definitive solution to my problem:
Im using CRISPhero.zip rom and love its speed, but miss some google apps like calendar and a few unincluded HTC hero widgets like picture album and calendar.
So I thought Id try at first just to add the calendar stuff:
I have tried pushing Calendar.apk, CalendarProvider.apk, htccalendarwidgets.apk (as well as all their .odex files) to /data/app_s
With the .odex files in the directory, i get a boot loop. Without the odex files, the phone runs fine but no apps or widgets have been added. WHAT AM I MISSING HERE? How do I install these widgets?
a little more info
I should also add that I tried opening each of these .apks in the app manager but simply got a message saying they could not be installed on this device. This IS a HERO rom, so that shouldnt be the issue, I dont think.
sorry, but you posted in the wrong section
Id like to know this as well....but like the post above it is the wrong section to post this.
ok
What section should it be posted in?
get root explorer and place the apks in the correct directory thats the easiest way....but if the apk has an odex with it the apk is no good try dloading another rom & taking the apk from their
being a question...surely it makes sense that it should be asked in the QUESTIONS and answers section
dont start a new thread there, il request this one gets moved
will widgets show up then?
mccurt29 said:
get root explorer and place the apks in the correct directory thats the easiest way....but if the apk has an odex with it the apk is no good try dloading another rom & taking the apk from their
Click to expand...
Click to collapse
So I'm assuming the appropriate directory for hero widgets /data/app_s, right?
Is there another step after that, like installing with app manager or should the automatically show up on next boot?
Try a newer hero, they are unodexed. Most come with what your looking for anyways.
Some success, but...
I've had some success pushing an UNOBEXEDCalendar.apk and CalendarProvider.apk to /data/app_s. I got them from the KiNgxKxKlair-Hero-Eclair-v1.0.zip Rom. Now the apps are listed in the app menu and work properly!
***BUT*** Gcal won't sync. Under the data sync settings, I am unable to make gCal sync. Contacts and Gmail sync just fine, but even with the calendar box checked, Calendar will not sync.
I suspect this is due to a setting with the ROM (which originally did not have calendar installed), but I have no idea where to adjust this setting.
Any suggestions?
wkustu said:
I've had some success pushing an UNOBEXEDCalendar.apk and CalendarProvider.apk to /data/app_s. I got them from the KiNgxKxKlair-Hero-Eclair-v1.0.zip Rom. Now the apps are listed in the app menu and work properly!
***BUT*** Gcal won't sync. Under the data sync settings, I am unable to make gCal sync. Contacts and Gmail sync just fine, but even with the calendar box checked, Calendar will not sync.
I suspect this is due to a setting with the ROM (which originally did not have calendar installed), but I have no idea where to adjust this setting.
Any suggestions?
Click to expand...
Click to collapse
Well, seeing as your pushing eclair apps into what I think is a cupcake build.... I'll let you finish that statement
I assumed the issue isn't with the apps themselves, as they are functioning fine (and I believe the rom is not a TRUE eclair rom, anyway--just bits & pieces). I think the problem is that since the original rom did not include calendar apps, that the calendar sync function has been disabled. I want to re-enable it.

Remove all apps

is there a way to remove all apps with out flashing to a clean rom?
Use root explorer and delete your /data/app folder. Then, go into /system/app and delete any apps (.apk files) that you don't want, but be careful in /system/app because alot of those .apk's in there are necessary for Android to work at all. Delete only what you really need to remove from there.
Why do you want to remove all your apps anrways?
Sent from my HTC HD2 using XDA App
Sadly I also newbie here but I do understand the feeling to get rid of unneccesary apps. Got myself a SE ARC recently and so had converted my old HTC HD2 to an Android rom. I love my new SE Arc but hated that stupid foursquare apps that drain tons of resources and battery as well as my data plan. Tried to uninstall it but to no avail. It can be irritating as well as frustrating. And if you install all the nice juicy apps that you love from the market, together with the existing apps, there hardly much resouces left. And the battery drained even faster. sad case really....
huggs said:
Use root explorer and delete your /data/app folder. Then, go into /system/app and delete any apps (.apk files) that you don't want, but be careful in /system/app because alot of those .apk's in there are necessary for Android to work at all. Delete only what you really need to remove from there.
Why do you want to remove all your apps anrways?
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
thanks for the walk-through - the reason i want to remove all is i have dowloaded so many and i want to start over as much as i can with out removing and reinstalling the base rom. again thank you it worked out just as you said
Delete your Data.img that's all.

Some Rom questions about apps

Hello, i have some questions about the inbuilt apps in a rom.
1. There are always tons of useless apps in the roms, are there roms without apps? i mean why the hell is someone preinstalling facebook, twitter, google+ apps for me??? If i need them i can install them... :/
2. Can i remove the normal "browser" or will the phone get buggy then, couse who needs 2 browsers?
3. Why are so much Rom builders are using this ES filebrowser? I never saw a bad app like that.. it can't even tell me how much free space my sd card has..
rockyy said:
Hello, i have some questions about the inbuilt apps in a rom.
1. There are always tons of useless apps in the roms, are there roms without apps? i mean why the hell is someone preinstalling facebook, twitter, google+ apps for me??? If i need them i can install them... :/
2. Can i remove the normal "browser" or will the phone get buggy then, couse who needs 2 browsers?
3. Why are so much Rom builders are using this ES filebrowser? I never saw a bad app like that.. it can't even tell me how much free space my sd card has..
Click to expand...
Click to collapse
1. you can just uninstall them by rooting your phone and use titanium backup to remove those useless application, there are no rom without any application installed if there is the phone will not work on how it supposedly work
2. yes you can use titanium backup but do nandroid backup just to be sure that you can back to phone normal state if there is a problem exist
3. for this i really don't know just wait and there's someone surely answer your questions more intelligently
Ah okay.. yeah well sure an android phone need apps to work, but its just that i had to remove them all again
about the browser... i also can freeze them - if i freeze an app it won't use any ram memory right? so i could just freeze the browser.. Apps that are not system relevant i really delete.. speak memo, twitter, google+, googlemail and so
I made a backup of my CM7 with titanbackup - how can i get some data out of the backup? like phone numbers that aren't synched with google - or whatsapp messages? The first time i did recover the whole CM7 was recovered
And is there a way to "cook" the rom myself? i hope its the same word like it was for nokia roms there you had a rom browser and could delete apps or add apps you wanted to install with the rom and that was called cooking.. So if i get a rom i would check what apps are in and could remove the .apk
rockyy said:
Ah okay.. yeah well sure an android phone need apps to work, but its just that i had to remove them all again
about the browser... i also can freeze them - if i freeze an app it won't use any ram memory right? so i could just freeze the browser.. Apps that are not system relevant i really delete.. speak memo, twitter, google+, googlemail and so
I made a backup of my CM7 with titanbackup - how can i get some data out of the backup? like phone numbers that aren't synched with google - or whatsapp messages? The first time i did recover the whole CM7 was recovered
And is there a way to "cook" the rom myself? i hope its the same word like it was for nokia roms there you had a rom browser and could delete apps or add apps you wanted to install with the rom and that was called cooking.. So if i get a rom i would check what apps are in and could remove the .apk
Click to expand...
Click to collapse
Yes you can free ram if your browser keep running but you can force stop the browser in "manage application"
In backup i think you can extract it? Not so sure so we should wait for answer for this
I think the right word is compiling in android terms? Yes you can compile your own rom there's a some tutorial in development section
Sent from my Optimus 2X using xda premium
Ah okay.. i found the folder "apps" in the .zip with "system" apps - maybe the system apps that are not removeable without root and the normal.. can i just remove them and add others?

Replacing Sony's apps

I'm looking for a way to replace the system apps with their AOSP counter part.
E.g. dialer, email, contacts etc.
Does someone know if it's possible for all apps or are their any problems to be expected?
And second question, is there probably a flash able zip for this?
I'd be curious to know as well. Coming from a Nexus device I hate Sony's attempts to "improve" the basic apps like dialer and messaging. They all look like they were designed in 1998.
That should be possible....
Nebucatnetzer said:
I'm looking for a way to replace the system apps with their AOSP counter part.
E.g. dialer, email, contacts etc.
Does someone know if it's possible for all apps or are their any problems to be expected?
And second question, is there probably a flash able zip for this?
Click to expand...
Click to collapse
I think at the moment there is no available zip. You need CWM for your idea - do you have your phone rooted ?
If so there should be a possiblity to create such a flashable zip , that erase the not needed apps and install the new apps...
If your phone is not rooted maybe a batch file could do the trick via ADB for you - in a first step it should block the not wanted apps and in a second step it should install the new apps.
So you need the Names of the packages / apps that should be erased and before that, you should find the AOSP-Apps that run on the Z3C.
pipspeak said:
I'd be curious to know as well. Coming from a Nexus device I hate Sony's attempts to "improve" the basic apps like dialer and messaging. They all look like they were designed in 1998.
Click to expand...
Click to collapse
My favorites are
Textra for messaging
Quickpic for album
MX Player for Videos
Rhonin86 said:
I think at the moment there is no available zip. You need CWM for your idea - do you have your phone rooted ?
If so there should be a possiblity to create such a flashable zip , that erase the not needed apps and install the new apps...
If your phone is not rooted maybe a batch file could do the trick via ADB for you - in a first step it should block the not wanted apps and in a second step it should install the new apps.
So you need the Names of the packages / apps that should be erased and before that, you should find the AOSP-Apps that run on the Z3C.
Click to expand...
Click to collapse
Yes it's rooted.
I would be happy too, to replace the dialer & contact apps with AOSP ones.
Regarding messaging, i'm using this one : https://play.google.com/store/apps/details?id=fr.slvn.mms
Collecting of required information
Hi folx,
in this post i try to get all required information to replace the not wanted SONY stuff by the desired stuff mostly AOSP.
Your phone should be rooted and CWM should be installed.
Then we have to build a fitting flashable zip file.
But to succeed we fist need to test if the wanted apps will work on our phone. (i will test for example: Dialer from CM11)
If these Apps work, then we should have a deeper look on the creating of such a flashable.zip file. I have found a lot of howtos in the web. But to be sure we should backup those SONY-Apps
Here are 2 links i would use:
http://www.android-hilfe.de/root-hacking-modding-fuer-lenovo-ideapad-a1/268272-how-cwm-update-zips-erstellen.html german
http://forum.xda-developers.com/showthread.php?t=1721680 english here at XDA
http://forum.xda-developers.com/showthread.php?t=2764533 this can also be useful
The updater - script within this zip-file could be adjusted to our needs. Deleting the not wanted Sony.apps from /system /app and replace them with the wanted Apps. If i find the time i could provide such a file - but i can't test it.
The simple Trick:
But you could do it more simple - you just need a root explorer (i prefer ES File Explorer). Go to the above mentioned folder /system/app or system/private. There you should find the not wanted apps. Just copy them in a backup folder on your sdcard, delete the sony apk in the system - partition, copy your desired apk in the folder, where you have deleted the Sony-apk, give the right permissions and then reboot.
If the new app fails - just delete it in the same manner as described above and copy the backupped app in the corresponding folder and check the permissions again. - reboot.
I would really appreciate posting your results and if there are any further questions.... do not hesitate - we are all here to learn and get our phone better
Cheers
Rhonin
I probably have time to test this on the weekend.
I'll let you know how it goes.
I copied over Contacts, Contacts Prvovider and the Dialer apks.
However I couldn't get them to work.
Neither the Contacts nor the Dialer app showed up in the app drawer.
Email didn't work either.
Deskclock works fine. I'd love dialler to work...

Categories

Resources