[Q] Apps adding to ROM before flashing - Vibrant Q&A, Help & Troubleshooting

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

Related

Axura 204, Gtalk and Market fails

Not sure how this happened, but missing two files in my system - long names but they include:
providers.talk
apps.gtalkservice
Just noticed the problem after installing Axura 204 yesterday, my first custom rom. Prior, I was OCLF and root, did the ext, etc stuff with oclf..
In TB, they show up as backed up and un-unstalled, if that makes any sense. There is no option to restore the files in TB. Is it possible that the rom itself delivered with the files botched? Any way to get them replaced?
As has been mentioned many before, I can't download from market and can't log into gtalk. I've already tried the oft mentioned tricks, n nothing works. In my case the 2 files are missing.
That is odd they are missing... everything running okay? You might want to flash again or check the md5 sum (probably not the case).
OR, you could just extract the zip on your pc and grab those .apk files and drop them in system/app and reboot.
Excellent thinking. I'll have a look tonite. Wonder if this happened during batch restore app's w TB? Otherwise, totally stoked with the flash!
I always choose to re-load via Odin then install the custom ROM. Axura's have never been a challenge for me.
Guys, I'm prob going to reflash the rom and then do a careful restore app's - one at a time. Anything I need to be be cautious about? I'm not into Odin yet, and haven't connected to computer yet. Would prefer not to.
Hehe, my first custom rom and now my first re-flash..
Continuing on, and hope someone is still with me on this. Couldn't figure out how to reflash Axura with Rom Manager, so then connected to comp and copied Axura 204 Zip to comp and extracted files. A full search of these files showed only one result for "talk" :
Talk.apk
A search of my phone's sys shows 3 files - the ones I mentioned initially above and:
Android.talk
Please note that these are tar.gz files within my original, pre 2.2 TB backup. Expanding these out shows mostly just empty folders, no .apk files..
Is it likely that a 2.2 build only requires the (talk.apk) to log into Gtalk and use the Market? After all, it's the only talk file present in my axura 204 zip which was acquired thru the official site. Can someone with working Axura 204 and Market search their phone for files including "talk". Mine only includes Talk.apk

[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

Random curiosity apk/rom question.

Is it okay to take a file (DSP manager) out of an RC rom and put in into the RLS rom (Same Rom, Just the RLS version) (Being Newts One S) that happens to not include that? Theoreticly I can just place it in system/apps in the zip and flash it again right?? I tried just taking the apk and putting it on my SD card but it said install failed, Could I flash the apk through recovery and maybe it would work??
I use DSP Manager on ROMs that don't include it all the time. I usually restore from a backup I made with ROM Toolbox Pro. I installed the ROM that included it, backed it up, and then restored it on the ROM that did not include it.
Another option that should work is to load the ROM onto your phone then use a root browser to copy the apk into system/apps. Change the permissions (I think rw-r--r-- should work) and then restart the phone.
I love how you reply to all my posts no matter where they are
coal686 said:
I use DSP Manager on ROMs that don't include it all the time. I usually restore from a backup I made with ROM Toolbox Pro. I installed the ROM that included it, backed it up, and then restored it on the ROM that did not include it.
Another option that should work is to load the ROM onto your phone then use a root browser to copy the apk into system/apps. Change the permissions (I think rw-r--r-- should work) and then restart the phone.
Click to expand...
Click to collapse
So simply loading it to the root of the sd and using es file browser to install doesn't work? (Because it doesn't lol)
I'll do the titanium back up thing if this doesn't work, I've already put the .apk and the .odex into the newts rom zip. And put it on my sd card. So I'm about to flash it, Though I will wait a moment for a responce for you to make sure this method is safe??
Can't_Live_Without_My_Evo said:
So simply loading it to the root of the sd and using es file browser to install doesn't work? (Because it doesn't lol)
I'll do the titanium back up thing if this doesn't work, I've already put the .apk and the .odex into the newts rom zip. And put it on my sd card. So I'm about to flash it, Though I will wait a moment for a responce for you to make sure this method is safe??
Click to expand...
Click to collapse
Go for it and let me know (maybe Nandroid your current setup first).
Save the Drama for your Mama with Tapatalk 2
coal686 said:
Go for it and let me know (maybe Nandroid your current setup first).
Save the Drama for your Mama with Tapatalk 2
Click to expand...
Click to collapse
So theres actually no need to do so for my phone I'm already running the RLS and the Volume+ app on that is BLOWING ME AWAY! I have a pair of Klipsch Image S4 headphones, which is strongly recommend they retail for $99 but you can get lucky on ebay
Anyway back on subject, Since my girlfriend is actually running the RC version currently and I've already tinkered with the RLS by putting in the dsp manager apk and odex so I'm gonna go ahead and test it on hers (That's not mean is it??) she's s-off and downgraded to 1.40 and all that jazz so it should be a breeze
Also!! THIS IS MY 10TH post, I passed the noob era! and no longer have silly restrictions, I'm a type-a-holic and have to wait 5 minutes between posts ]=

Noob'd out- Jellybean camera help

I use quickpic so I deleted the Gallery and didnt back it up. :crying:
I backed up lots of stuff but I "knew" I wouldn't need this, well little did I know it's a package deal
Anywhere to get this, rather not wipe/flash the ROM on again as I just did Alpha 7 from FJ ROM yesterday from Alpha 5.
Thanks very much
liftedzuki said:
I use quickpic so I deleted the Gallery and didnt back it up. :crying:
I backed up lots of stuff but I "knew" I wouldn't need this, well little did I know it's a package deal
Anywhere to get this, rather not wipe/flash the ROM on again as I just did Alpha 7 from FJ ROM yesterday from Alpha 5.
Thanks very much
Click to expand...
Click to collapse
Just extract it from your ROMs zip file and put it in /system/app then change permissions to rw-r--r-- (644 I think) and reboot.
I cold send you mine, but I'm on ParanoidAndroid and I'm not sure if the app is the same. It will be Gallery.apk or Gallery2.apk depending on your ROM.
Just reflash your rom zip file. It won't do anything but replace the deleted stuff.
For future experiments, use Titanium Backup and freeze any app to see what else that app affects.

[Q] Customizing CyanogenMod 10.2 prior to installing

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!

Categories

Resources