[Q] Adding own apps into cm7? - Desire Q&A, Help & Troubleshooting

hi guys, just switched to cm7.1, its a good rom, i was wondering if its possible to add your own apps into the rom and then flashing it? what i mean is to add your own essential apps into the rom and then to zip it so it uses up more rom space and leaves more internal space. if there is a method, can some one please give some idea on it. thanks

Of course it is. Just copy the app's apk from /data/app in the /system/app folder of the zip file.

Thanks but can you explain abit more in detail please, like if i put the apks in that folder, will the apps automaically be installed? and as for the rom zip file, will that need to be zipped up back in a special way? also will the apk's need to be signed with a special program? a small accurate guid would be sweet. thanks

There are two ways, either manually open the zip (no need to extract it) then just drag and drop your apk files to the System/app folder or data/app folder then close the window. Sometimes it doesnt work it depends I think on how the files was compiled or something.
Or use ROM manager. Look it up in the forums.
Edit: Its Rom Editor if my memory recalls it correctly.

kuljit55 said:
Thanks but can you explain abit more in detail please, like if i put the apks in that folder, will the apps automaically be installed? and as for the rom zip file, will that need to be zipped up back in a special way? also will the apk's need to be signed with a special program? a small accurate guid would be sweet. thanks
Click to expand...
Click to collapse
No, just open the zip and stick the apk's in that directory. Then when you go to flash just disable signature verification..
I'm not sure as to how this will go about saving space though.. it's the same as installing apps AFAIK

bortak said:
I'm not sure as to how this will go about saving space though.. it's the same as installing apps AFAIK
Click to expand...
Click to collapse
In a way it does save space. I remove some apps that I don't need from the CM zip like ROM Manager, live wall paper etc and then add my apk files on system instead of it being saved in data folder.

Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.

kuljit55 said:
Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.
Click to expand...
Click to collapse
with root explorer yes, but I don't think they'll actually be installed just by putting them there..

kuljit55 said:
Sthankyou, can i manually move apps in the data folder into the system with root explorer? i am s-off.
Click to expand...
Click to collapse
Yes you can manually install apks to the system/app using root explorer. But you have to modify the permission of the apk file upon transferring. It is best that you first copy the apk from the data/app folder to sd. Then uninstall the app. Then use root explorer to transfer the app from sd to system/app. Update the permission then reboot.
Take note that not all apps will work with this method. Some apps just needed to be on the data/app folder based on my experience.
Sent from HTC Desire via XDA App

Or use titanium backups "Covert to system app" functionaility

rootSU said:
Or use titanium backups "Covert to system app" functionaility
Click to expand...
Click to collapse
Yup. I forgot about that. Yeah damn easy too.

Related

Integrate apps to custom rom some help!.

Hi im using OD's rom, but i wanna make some personal stuff to it.
I have found out to integrate apks to the zip file, but after i integrate the apps and install it on my desire, it does not show the files on the market under downloads.
Is there any way to let them show up in there so i could uninstall them if thats what i want?.
Download any app from the market and they should show up... you are putting them in /data/app and not /system/app aren't you?
ephumuris said:
Download any app from the market and they should show up... you are putting them in /data/app and not /system/app aren't you?
Click to expand...
Click to collapse
I put them in system/app,
so if the data folder its not there i just make data/app and place them in there correct?.
Thanks for the reply.
Okay i tryed to make the folder data and inside that i made the app folder and placed all the apk i need.
Seems not to work they dont install automatic when installing the custom rom?
bump!!!!
bump.......
Put them in /data/app. They will show up. If they don't, you're doing something wrong.
Sent from my HTC Desire using XDA App
ehm, okay.
I took opendesire 3.6.0. i opend it with winrar and made the folder data and app folder, in the root of the zip file okay? its not there on standard. And then i putted the files in in zip file and signed it.
It does not work. Is there a guide somewhere?. Have trying to search but no luck yet.
bump!.......
when you install an app without using the market, there is no market link for the market to... well... link to.
I use aTrackDog to keep track of my constant backups and flashes etc. it even provides you a market link if you want to update.
Have a look at Titanium Backup as a different way of keeping market links. when restored it can restore the market link necessary for it to show up in the market downloads section
If there is no /data/app folder in the ZIP then simply adding it won't work as the update script won't look for it and flash them - you'd need to ask AdamG (or someone else) to add the lines to the script to make the ROM flash that information as well...

Extracting apk's

I'm working on cooking my own rom but I'm not sure how to take an apk from my current rom to copy it to my computer.
Sent from my PC36100 using XDA App
I would just download the rom you're using and use 7 zip to copy out the apks u want. Just right click on the rom, choose 7 zip then select open archive. You can copy out any file/apk u want.
Sent from my HTC Supersonic
thanks, I forgot to mention that I'm running on mac osx, looks like there may be a similar program for mac.
dglowe343 said:
I would just download the rom you're using and use 7 zip to copy out the apks u want. Just right click on the rom, choose 7 zip then select open archive. You can copy out any file/apk u want.
Sent from my HTC Supersonic
Click to expand...
Click to collapse
So heres what I'm trying to do, I would like to use other apps that I've downloaded after my rom was installed. So Instead of flashing a rom then deleting apps and downloading app and making all kinds of customizations, I would like to create one just for me. So is there a way to pull an apk from my phone through adb? Or are the apps not stored on my phone in .apk format?
Michael61182 said:
So heres what I'm trying to do, I would like to use other apps that I've downloaded after my rom was installed. So Instead of flashing a rom then deleting apps and downloading app and making all kinds of customizations, I would like to create one just for me. So is there a way to pull an apk from my phone through adb? Or are the apps not stored on my phone in .apk format?
Click to expand...
Click to collapse
adb or root explorer.
If you haven't already install DROPBOX on your mac and your phone.
With dropbox setup use root explorer to go into your data/app folder and copy the apk to your sdcard root.
Then use dropbox to upload the apk.
Wait for your mac to sync and you now have your app apks on your mac.
Just to give you a heads up, some aftermarket apps need some extra work just to get them to install AND work with the rom installation.
I use MYBackup pro or get the trial one. back up all the apps you want to you SD card then open the SD card and look for rerward folder open it and all the .APK you backed up will be there.

where do apps install to?

hello, I'm rooted and I wanted to change a few of my icons so they are changed in the app drawer. on my ipod touch I used iFile to find the app's folder and overwrite the icon.png, I tried to use Root Explorer to do this but I can't figure out where the apps install to. Could anyone give me a hint? thanks in advance.
12gage said:
hello, I'm rooted and I wanted to change a few of my icons so they are changed in the app drawer. on my ipod touch I used iFile to find the app's folder and overwrite the icon.png, I tried to use Root Explorer to do this but I can't figure out where the apps install to. Could anyone give me a hint? thanks in advance.
Click to expand...
Click to collapse
System apps would be /system/app
User apps would be /data/app
thank you, sorry for the ignorant reply but all I found were apk's. the apps don't unpack files into a directory when installed? they stay and run from an apk on your phone?
12gage said:
thank you, sorry for the ignorant reply but all I found were apk's. the apps don't unpack files into a directory when installed? they stay and run from an apk on your phone?
Click to expand...
Click to collapse
Yes, and the data from them is stored in /data/data/
freeza said:
Yes, and the data from them is stored in /data/data/
Click to expand...
Click to collapse
thank you, so if I don't see the icon files in data/data then I'm screwed as far as being able to change it?
Iirc here are the general steps.
Search to get the exact syntax.
Make a copy of the apk.
Rename the copy suffix to .zip from . apk
Extract the image stuff and replace it.
Repack the zip.
Rename it to apk
/system/app/ or sometimes /data/app/ if you modify an app you have to sign it again or the phone won't recognize it
EDIT: Use ninjamorph and just drag and drop the pings in there and here is myn's method of signing
myn's post
ninjamorph thread

[Q] freeze system app

are there any way to freeze any system application without uninstall?
Does any one use root uninstall?
is it possible to rename file in system/app/ .apk to .backup
Thanks in advance to everyone..
1) Titanium Backup usually used to freeze apps effectively.
2) Root Explorer can be use to rename apk file and preventing it from running. I normally rename apk to rem. No reboot is required as it work immediately after rename done. If you ever need the app run again, just rename it back to apk and it run again.
Thanks so mutch....i think this question will be useful for everyone...
so...only one doubt....is it necessary to remve the relative file in data/data and in data/dalvik-cache??
Not need to remove anything if you're only want to freeze it or disable it like what I mentioned above.
thanks....i will try immediatly
I think,,, rooted device can use R.E renname the *.apk files (/system/app, /data/app)
dos5gw said:
I think,,, rooted device can use R.E renname the *.apk files (/system/app, /data/app)
Click to expand...
Click to collapse
We already talk about it if you read again above. It's assumed OP Defy's is rooted...
bloat freezer is back on the market

Saving or Storing .apk's

I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
zero86ea said:
Download astro file manager (free) from the market and u can back up your apk's. Save them to ur sd card and transfer it to ur pc.
Sent from my SGH-T989 using XDA
Click to expand...
Click to collapse
+1
Sent from my SGH-T989 using XDA
You can also use JRUMMY6 apps - Ultimate app manager pro or ROM Toolbox Pro. This will save the apk as well as the settings for that app.
CincoDeDrinko said:
I'm about to start buying a few different apps, and want to save them on my PC so I can have them for either future use or if I am gonna be wiping my phone, returning it, getting another phone, etc... Anybody save them straight to their computer from amazon.com, or can I pull them off my phone thru Kies after dowloading from the market? Then I guess I'll also need to know how would I get the apk running once I put it on my SD Card? Sorry in advance if this is a dummy question- it's my first run at this and there are tons of different opinions and people pitching their softwares on google search and youtube that span back to 2009, so I'd like to see what someone who knows how and has a T989, Thanks!
Click to expand...
Click to collapse
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
yoft1 said:
Here's a quick guide:
1) Download and install a file explorer application that can write to the system partition. You can use ROOT explorer or ES file explorer. I'm not sure if astro has system writing capabilities.
2) Go into the application and enable root access and the ability to write to system. For ES, you go into settings then scroll down and check "Up to Root" and "Root Explorer" and "Mount File System"
3) Navigate to the apk files that you want to save. For user apps, it's under /data/apps and for system apps (memo, contacts, etc.) it's under /system/apps. Now you probably default to /sdcard so you'll have to go up one more level to reach the root directory (it'll just be "/") to access system or data. Save those apks.
4) If you want to restore these apks to a future phone/ROM, it's the same idea, except you just have to copy paste the files to the directory that you found them in. But you have to watch out for odexed/deodexed apps because they're not compatible. So if you go into /system/apps or /data/apps and you see a .odex file after each respective .apk file, you won't be able to install those apps to a ROM that is deodexed. If you go into those directories and you only see .apk files, you won't be able to install those apps on a stock ROM (almost all custom ROMs are deodexed).
5) All you have to do is copy the files into the directories and reboot, you don't have to install them or anything. Some will say that you should change the permissions to (rw- r-- r--) but I've tried both ways anecdotally and I don't think it makes a difference whether you do or not.
Although I'm not sure why you want to go about it this way, if you have titanium backup it'll do all your backing up and restoring for you. The only thing that I use this method for is for the memo.apk which I use but isn't included on all ROMs. TB doesn't back this up because it's a system app. So this process is really only necessary for system apps.
Click to expand...
Click to collapse
TI backup also just requires the pro license key to be stored in the same location as the backup directory. this way you can change roms and get Ti pro back without needing to re purchase.
Sent from my SGH-T989
try using root explorer
then goto the data/app directory copy your apps and move to whatever folder that you like. then if you want you could sign up for minus and upload all your apks (they have a 2gb upload limit so it works great). Or just connect hercules to computer and pull files from folder you copied to to your computer.
rom tool box pro backs up ALL your installed apks on your sd. manual install and market installed.

Categories

Resources