[Q] Customizing CyanogenMod 10.2 prior to installing - Android Q&A, Help & Troubleshooting

As the topic states, there are a bunch of prebundled apps that come with cyanogen I'd like to remove & replace (listed below); is it as simple as removing them from the .zip and adding the ones I want? Or is there more to it?
Also the apps I want to add, can I also include their backup data from the /data folder or does that have to be done after?
I think its just as simple as, extracting the zip files, removing the apks, and adding the ones I want, then repacking the zip?
Replace:
- Apollo with Poweramp
- Trebeck (or w/e it is) with Nova Prime
- AOSP Keyboard with SwiftKeyboard
- a custom kernel (just copy/replace the kernel zips files with whatever comes in cyanogens zip?)
- some others, but you get the gist
Remove:
- DSP Manager
- Exchange Services
- Email
- News & Weather
- some others (I know about the list(s) of safe apps to delete [1][2])
Add:
- Fonts
- Apps that I always install on a fresh install (Titanium Backup, Busybox, ROM Toolbox, etc)
I know about This Thread explaining how to build your own ROM, but I feel like that is more complicated process for (what seems simple) what I want to do.

BUMP
Bumping this question

I have done this with mr-cook's cooked ROM but have never tried it on a cm one. Sammy roms you just cut and paste the apk into the preload folder. I don't see why couldn't do that with the gapps zip. If it doesn't work you can just wipe and start over.
Also you can use titanium back up pro to do the same thing within the ROM

razen_kain said:
I have done this with mr-cook's cooked ROM but have never tried it on a cm one. Sammy roms you just cut and paste the apk into the preload folder. I don't see why couldn't do that with the gapps zip. If it doesn't work you can just wipe and start over.
Also you can use titanium back up pro to do the same thing within the ROM
Click to expand...
Click to collapse
i would put them in the /preload folder? i thought i would put them with the other .apks (/system/app/)?

ksaul said:
i would put them in the /preload folder? i thought i would put them with the other .apks (/system/app/)?
Click to expand...
Click to collapse
That is if you were using a Samsung based ROM. I don't think cm will be the same but like i said you can try it.
On a Samsung ROM it would need to be placed in preload/symlink/system/app in the zip file before you flash it. I don't think cm has this file.
You could try putting it in the system app file But like i said if it doesn't work, the worst thing that could happen is the ROM doesn't flash, doesn't boot, or it boots and you get a bunch of fc of apps. All you have to do is wipe and start over.

ksaul said:
is it as simple as removing them from the .zip and adding the ones I want?
Click to expand...
Click to collapse
Yes.
ksaul said:
Also the apps I want to add, can I also include their backup data from the /data folder or does that have to be done after?
Click to expand...
Click to collapse
Not as easy as the apps as it would require changes to the updater script. Plus it could cause issues.
ksaul said:
I think its just as simple as, extracting the zip files, removing the apks, and adding the ones I want, then repacking the zip?
Click to expand...
Click to collapse
Actually your better off if you just use 7zip or WinRAR and open the zip instead of extract it. Navigate to the system apps folder and delete or add what your need to. It's as simple as drag and drop.
ksaul said:
Add:
- Fonts
- Apps that I always install on a fresh install (Titanium Backup, Busybox, ROM Toolbox, etc)
Click to expand...
Click to collapse
The fonts I have no clue. These apps would require changes to the updater script to put them in data where they belong.
Sent from my SGH-S959G

mr-cook said:
Yes.
Not as easy as the apps as it would require changes to the updater script. Plus it could cause issues.
Actually your better off if you just use 7zip or WinRAR and open the zip instead of extract it. Navigate to the system apps folder and delete or add what your need to. It's as simple as drag and drop.
The fonts I have no clue. These apps would require changes to the updater script to put them in data where they belong.
Sent from my SGH-S959G
Click to expand...
Click to collapse
great thank you mr-cook!
and the .apks that i put in the system/app folder, (specifically Nova launcher), i put the install .apk correct, as thats the only .apk i have for it.
And I also want to replace Browser.apk with Chrome; same procedure as the rest?
I guess its really just a trial-and-run scenario instead of asking questions... best way to learn

for those curious, or come across the same question: it worked out perfectly.
As far as the fonts go, I just added them to the system/fonts folder- worked as planned!

Related

[Q] How to remove a theme or add-on

Hi all,
Is there a way to remove a theme or an add-on to a theme without having to do a system restore?
Specifically, I'm running the Sensed VirusROM and just added a theme with a bunch of other add-ons, including one that adds a custom sound on bootup. I'd like to remove that sound, but didn't know if that is possible without having to restore a nandroid backup and then reinstalling the theme and other add-ons that I'd like to keep.
Thanks!
you could reflash the rom, that would remove all the themes but you would keep your data.
if you just want to remove the sound delete or rename the sound file.
on bamf its system/media/finalthunder.mp3
if youre looking to change the sound the new file will have to have the same name as the old one.
root explorer or super manager is the easiest way to do this.
headcheese said:
you could reflash the rom, that would remove all the themes but you would keep your data.
if you just want to remove the sound delete or rename the sound file.
on bamf its system/media/finalthunder.mp3
if youre looking to change the sound the new file will have to have the same name as the old one.
root explorer or super manager is the easiest way to do this.
Click to expand...
Click to collapse
Sounds like what I need. Now I just need to figure out what the file is named and where it's located for this VirusROM boot sound.
Thanks!
Hmmm, I found the file alright (/system/customize/resource/vrsound.mp3), but ASTRO or Super Manger aren't letting me either delete or rename the file.
Any idea why I can't do that, or another method I could try to delete it?
You have to mount /system as R/W, by default it's R/O.
Some themes are so invasive that the amount of time it would take to remove would possibly exceed the amount of time it would take to restore a backup. I always backup before trying themes for this (and other) reason.

[Q] make custom app pack for flashing

So I'm pretty sure im not the only one who has asked but after searching i couldn't find a guide that helped explaind how to actually make one.
Is there a guide that helps me make a custom zip to flash favorite apps that i always install after a flash. That way i can flash my favorite apps with out the need of a data connection.
2nd follow up ?-
Can i flash user settings like wifi logins?
3rd?-
If i flash from Sense ROM to an AOSP can i still you backups like Titanium to restore apps and user settings or does it have to be Sense to Sense.
You should only restore data from sense to sense or asop to aosp. Not from one to the other. You can install apps with titanium with or without data. I highly recommend you never restore system data. It has a habit of screwing **** up sometimes. And as to your first question. It would be fairly straightforward to build a flashable zip with any apps you want. Actually what I did was use a cwm backup and used it to create a flashable zip that I can restore. I just named it update.zip and choose apply update.zip from recovery and I'm back up. If you build up a ROM how you like it. The way you want it to be on every flash I can convert it for you. Just need to zip up the backup and pm me a dl link for it. Then u can have your own flashable custom ROM.
Sent from my PG86100 using Tapatalk
Artanis said:
So I'm pretty sure im not the only one who has asked but after searching i couldn't find a guide that helped explaind how to actually make one.
Is there a guide that helps me make a custom zip to flash favorite apps that i always install after a flash. That way i can flash my favorite apps with out the need of a data connection.
2nd follow up ?-
Can i flash user settings like wifi logins?
3rd?-
If i flash from Sense ROM to an AOSP can i still you backups like Titanium to restore apps and user settings or does it have to be Sense to Sense.
Click to expand...
Click to collapse
1) When I'm looking for Edify syntax to clarify I have it memorized correctly, I usually google the terms, Edify syntax android and you'll find there are tons of guides on how to write the Edify syntax which operates an update .zip file.
2) Good question. I'm sure you could copy this setting file to your sdcard. Whenever you needed to, you could probably copy the settings from your sdcard back to the /data partition. Be aware that going from Sense to AOSP there *might* be issues, but if everything works, you copy over one file and it stops working, should be easy to figure out what caused the issue.
3)If you're restoring 3rd party apps from one ROM to another, usually 3rd party apps will work. These are basically .apk files all stored in /data/app. You can also manually do this by copying the /data/app directory to your sdcard, switch ROMs and then copy the apk files back.
If you're also interested in keeping the 3rd party app settings, they are stored in /data/data . Copying back this directory is slightly different than copying back the .apk files as the Android package manager assigns user and group permissions to the /data/data directories which need to match the apk file.
If you modify the user/group permissions to match the new assigned permissions via the package manager, there shouldnt be any problems!
Hope that helps!

[Q] Editing Gapps

Hey guys im flashing joker's cm9 beta. With this you have to flash gapps. This is all working great with no complaints. However, I was wondering how I would edit the gapps file to so that I can add in some apps that I like to use ie Titanium back up, root explore....
I have tried unzipping the file and adding in the the apps to the /system/app folder. However after flashing the gapps while the app is there it will crash when i try to run it. If install from the apk over it, then the programs work fine.
Thanks for the help!
Bit_Reaper said:
Hey guys im flashing joker's cm9 beta. With this you have to flash gapps. This is all working great with no complaints. However, I was wondering how I would edit the gapps file to so that I can add in some apps that I like to use ie Titanium back up, root explore....
I have tried unzipping the file and adding in the the apps to the /system/app folder. However after flashing the gapps while the app is there it will crash when i try to run it. If install from the apk over it, then the programs work fine.
Thanks for the help!
Click to expand...
Click to collapse
There will have to be some codework done in order for it to actually install, you cant just toss some apks in there. AFAIK atleast.. I personally would just backup all your apps with TI and then all you have to do is install TI and restore them all. Its how I personally do it. If your hellbent on having them there on your first flash you *might* be able to put them in the /system/apps folder of the actual rom before flashing. Not 100% sure that'd do the trick but ive installed a few apps that way myself.
w0lf215 said:
There will have to be some codework done in order for it to actually install, you cant just toss some apks in there. AFAIK atleast.. I personally would just backup all your apps with TI and then all you have to do is install TI and restore them all. Its how I personally do it. If your hellbent on having them there on your first flash you *might* be able to put them in the /system/apps folder of the actual rom before flashing. Not 100% sure that'd do the trick but ive installed a few apps that way myself.
Click to expand...
Click to collapse
Edit: I tried this but with no luck. I even tried rebooting to see if that would help and it did not. Does anyone know of a guide how to create gapps or how to edit a build of one?
Yeah, that's what I have been doing with TI. It would just be faster if it was already there and I wouldn't have to navigate to it. Install and then have it install all my apps. I will try putting the apps in the rom and see if that works. I was hoping there was some tutorial on how to make your own gapps or how to edit an existing one. It would have been awesome if there was a program that made the gapps for you haha.
I'd like to know as well. I am about to try the rom thing myself, but it would be quite handy to add into the gapps file and use it instead of the rom, then I could switch roms and still have gapps file with my chosen installs without having to adjust each rom file and just adjusting a single file for all.
update:
I tried adding apps to the rom zip file and for whatever reason I can't add to it. I can remove from it, just not add to it.
That happens with certain zips. Extract the zip, add in the files you want and zip it again at the root folder level (select all the folders and send to compressed zip folder in Windows). That's how I always do it to avoid errors if I want to add anything to a zip.
Take a look here to learn how to make your own flashable zips - http://forum.xda-developers.com/showthread.php?p=31624265
Sent from my Desire HD using xda premium
easyrider77 said:
I'd like to know as well. I am about to try the rom thing myself, but it would be quite handy to add into the gapps file and use it instead of the rom, then I could switch roms and still have gapps file with my chosen installs without having to adjust each rom file and just adjusting a single file for all.
update:
I tried adding apps to the rom zip file and for whatever reason I can't add to it. I can remove from it, just not add to it.
Click to expand...
Click to collapse
All you have to do is open it with 7zip. Youll be able to drag/drop as you please.
Sent from my MB855 using xda premium

[Q] Apps adding to ROM before flashing

Hello,
I would like to try one of the FishmanMod ROM but would like to add my own apps into the FishmanMod ROM. Can I just copy them into /system/app and they will get installed when I flash the ROM?
The_Toggle
Vibrant - Droid Razr - FishmanMod (for example)
The_Toggle said:
Hello,
I would like to try one of the FishmanMod ROM but would like to add my own apps into the FishmanMod ROM. Can I just copy them into /system/app and they will get installed when I flash the ROM?
The_Toggle
Vibrant - Droid Razr - FishmanMod (for example)
Click to expand...
Click to collapse
Get 7zip if you don't have it. Use 7zip to "open" the rom, not extract it.
Copy the .apk's to /system/app or data/app whatever's appropriate, then close the zip. Be aware some apps have dependent files or are dependent on the framework so they might not work.
Thanks, will give it a spin!
So technically, I can use all the .apks from my titanium backup save, and put them into system/app and have it all flash pretty quick >10 minutes and be good?
Just curious seems like a better idea than
Flashing ROM
Waiting for first boot
setup wifi
going to market to find and install titanium backup
waiting for everything to finish restoring after 20 minutes
etc.
Not sure about that bc of some variables with the services.jar and framework-res files but for generic apps like Angry Birds or something like that it seems like it should work. Batch restore suck with TB and usually cause more problems than worth it, so this could be a better option for that.
I am piece some theme parts for a Froyo build and was thinking of trying this out.
Tip for you buddy. Make a flashable zip of Titanium and you can flash it right after your ROM as either a /system or /data app. Then when your ROM boots up, launch it, search for your back up folder, restore your pro key and away you go without ever logging into the market. I do this all the time.
Love your new signature btw.
I've been doing this for a while now, but I do it with root explorer. I extract the ROM onto my SD, replace the mms.apk, and add a few others in system/app, then rezip, and flash. Haven't tried putting anything like TB in data/app, but probably will now.
Sent from my Kindle Fire using Tapatalk 2 Beta-5

GAPPS

Can we reorganize the applications inside the 'Gapps_ ics_ xxxxxx.signed zip'?
I mean can we eliminate or add some more applications inside of CWM flashable zip file, instead of working with TitaniumBackup to restore our own favorite applications after every wipe Rom Flash ?
I mean just deleting or adding some xxxxx .apk files...
Do you think it works ?
You could probably just make your own gapps zip with titanium so you could always flash the ones you want
Sent from my M886 using Tapatalk 2
I did not know TB has such feature though I have been using it for a long time..
I use it w/ batch feature to restore my apps after every flash.
I will try to find out how to create CWM flashable zip file contains my favorite apps.
Edited,
I found 'create update zip' under settings.
I created zip file from user apps but the file created is only 3 mb though I have araund 100 apps installed and backedup by TB.
it seems it made only for itself not all the other backedup apps..
Am I wrong ?
How to all together apps?
Titanium can only make an update.zip which flashes Titanium.
Feel free to use 7zip to add or remove apks directly from the gapps zip.
Michealtbh said:
Titanium can only make an update.zip which flashes Titanium.
Feel free to use 7zip to add or remove apks directly from the gapps zip.
Click to expand...
Click to collapse
Sorry for the confusion, I guess I just assumed that with all of TB features "create update.zip" would do more than just flash itself. Guess I should try a feature before suggesting it - duh
Sent from my M886 using Tapatalk 2

Categories

Resources