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...
So I'm running cm6.1 and have sprint vvm installed and working just fine but I want the green vanilla icon instead of the sprint icon. Does anyone know of an existing apk with that icon already on it? I have already tried to modify the current vvm apk I have and replace the vanilla icon with no avail. For whatever reason when I change the icons in better zip, it does not save the changes. I have tried everything so now I'm hoping I can just find an apk that someone has already modified. Any help would be great!! Thanks!
Oh and I can't use 7zip because I'm on a Mac.
The reason the icon won't stick is probably because you've updated vvm apk. If you apply the icon to the apk in /system/app it won't work because the updated apk is in /data/app. Look for the vvm apk in /data/app and try that.
I just looked in the data folder but it is empty... hmm. And the current vvm app I have is stored on my SD card. I initially downloaded the original apk and then installed through astro. Also there is no voicemail apk in system/app either. I never imagined I would have this hard of a time! Lol any other suggestions? And thanks for the help thus far!
You don't have Sprint_VVM.apk in your /system/app folder? And there is nothing like com.voicemailblahblah-1.apk in your /data/app folder? I don't know if astro can read teh /data folder, if you see nothing in /data/app you need another file explorer or use ADB.
I am using the file explorer that came with cm6.1. When I access the data folder from the root it is empty. Would the fact that the voicemail app doesn't come with cyanogen have to do with it? I initially just took the vvm apk from fresh 3.4 and installed it through astro. And it worked just fine. So now I figured out how to add the. PNG files to the apk and save it successfully, however after I uninstalled the original vvm apk and install the new apk it says application did not install.. does that make sense? Lol
After about 30 failed attempts I finally got it figured out! I didn't realize I needed to delete the meta-inf folder before really signing it. Again thanks for helping!
Yeah, all your market apps are in /data/app along with any updated system apps. You can't see those apps with astro or the cm explorer but they are there.
Sent from your mom's phone.
my first attempt into creating a new theme it's just a swype keyboard however i get fc when i try to open it. i am on starburst 1.95 i wipe after applying before launching. i modded png files compressed them originally i thought the apk being 6 megs was my issue but i have the same issue after compressing them. I didn't know if the apk needed to be resigned so i first tried without signing then with signing with the same result. can someone help me find what i screwed up.
didn't download your file to look but did you change any .9.png's ?
if all you changed were png's the .9.are probably causing your problems.
try this.
if just changing normal pngs just unzip the .apk (its a zip file) edit your png files and zip it back up.
see if that works.
once you get that going there are quite a few good tutorials out there on modding .9 files.
they take a few extra steps.
they are all .png
i have noticed swype themes for other phones don't completely work or they don't swype at least, but they do work for standard typing. my failed theme however just force closes so i am thinking this is a different issue not necessarily compatibility. the swype i modded was pulled from starburst, my current rom.
their is a com.swypeinputmethod file under data/data i am not sure if or how this effects the swupe.apk in system/app. thanks for the reply
try replacing the png files without decompiling the .apk first
just rename .apk to .zip and extract to a folder then rezip and change back to .apk
or easier just open the zip without extracting and copy the files to thier spots and close.
this way you don't have to worry about all the decompiling and signing.
it works
i got it
since it is a no install system app i just put it into the rom and installed the rom, i also got a fresh apk to dump the png's into not sure what did it but it is now working and i can look for something else to theme, skin or play with.
thanks guys
Trying to edit some of the images of the yahoo mail app. The previous version I pulled the images I wanted to change from the apk, edited them (just changed the color) and pushed them back into the apk. Put the apk on my phone and installed it...no problems. Now yahoo released a newer verison of its mail app and I go to do the same thing. I used the 10 images I edited from the previous version and put them into the new version since the unedited ones in the new version were the same file names as the ones I edited. I pushed my edited images to the new version and sent the apk to my phone. But it won't install. I have tried everything I can find (or Google) and still the apk will not install. Attached are my two versions. The old version which has the edited images and works perfect, and the newer version that has the edited images and does not want to work. The zip file has the images I edited. Anyone want to tell me what I'm doing wrong?
Put it in system/app
Sent from my Samsung Legendary 4G, a Universe UTES phone, running "two.three.five"
Pushed to system/app, tried to open app and it gives an FC. I tried redownloading from market, backing up, copying and editing the backup and repushing to system/app (after uninstalling the untouched version) but still gives FC. I know its something with the edited images since the newer untouched version installs fine with no problems.
Did you sign the files?
Make sure there weren't any .9.pngs that you edited also. Those are special.
No I did not sign the apk. I was told before that you don't need to resign an apk, just check the "unknown sources" checkbox in the application menu under settings. But quite a few of these do have .9.PNG in the filename. I looked up DrawPatch9 images and am confused about what they are and how to modify a png into one. I am surprised the modded images will work in 1.3.6 and not 1.3.7.
So I googled and D/L'ed a signing tool, signed the apk (or at least the program told me it was signed) and tried to install on my phone with no success. I tried pushing it manually again and it gave an FC when I try to run it. Most likely the .9.PNG's are the problem. Anyone recommend a site/program to use to fix the .9.PNG's?
Ok forum, so I got this idea: because a lot of people ask for CWM packages of this and that, why not let them create CWM flashable stuff without having to beg devs or other users to make them?
I think it saves them (yes, I am talking about YOU!) and us the trouble. So I created these two base CWM flashable zips to get everyone started:
Data_Skeleton.zip - Used for apps that you can uninstall afterwards.
System_Skeleton.zip - Used for anything that should be installed as a system app
Now, a short guide on how to use them:
1. Download the appropriate ZIP for what you plan to package. If you want to make a regular app package use Data_Skeleton.zip, for system apps, use System_Skeleton.zip.
2. Open the zip file with anything else other than Windows Explorer! Use 7zip, winzip, winrar or anything else, just not Explorer!
3. Look inside the zip! DO NOT DELETE ANYTHING! All you need to do is ADD STUFF!
4. Browse into the "data" or "system" zip folders, then down into the "app" folder inside.
5. After you get to the "app" folder, copy and paste the APKs you want to flash in the folder.
REMEMBER: do not DELETE anything! ADD APK files ONLY in the "app" folder.
6. Wait for the APK files you copy to get added to the archive.
7. Close the archive.
8. Rename and copy the archive to your SD card.
9. Boot into CWM and flash the copied zip file you just created.
10. Enjoy!!
Sooooo, quick 10-step process into cooking you own CWM Zips. You can do much more with them than flashing apps, but for general purpose usage, this should be enough!
Thanks and complaints go underneath.
PS: this idea was given to me by lambstone in a separate thread! Thanks a lot mate!!!
Peace,
C.
Nice thread, waiting for other..............
There's market apps that does this I.e apps2zip
Sent from my LG-P999 using Tapatalk 2 Beta-2
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
cheatman said:
Ayysr,
App2zip works well for this purpose, but only when it works. There are apps that can't be zipped correctly, mainly those that rely on libs, media and/or other files that can't be included automagically. Needless to say that some apps (mainly games and such) store data on the SD card.
All of this can be easily accomplished by copying the files in a zip file; also learning something about Android in the process, wouldn't you say?
Peace,
C.
Click to expand...
Click to collapse
Your right, I was not trying to deny your effort in any way
Sent from my LG-P999 using Tapatalk 2 Beta-2
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
cheatman said:
I actually wasn't expecting anyone to comment on this thread to begin with
The fact that you mentioned app2zip is perfect! I know the intent is not to deny my effort, in fact, I am happy new information surfaced because it's useful and appropriate.
Very few contribute to such posts with relevant info for others. I think this is the point: sharing insightful and relevant stuff with others. But judging by the number of thanks you have, you already know this very well already
So, thanks! And glad to have you in my thread
Peace,
C.
Click to expand...
Click to collapse
have trying to put 5 apk files on data/app exactly doing what it's in your post, then rename it to apk.zip, but when i'm trying flashing from cwm it's geting error
E:Can't open /sdcard/apk.zip
(bad)
Installation aborted
do I miss something??
edit: i'm using data_skeleton.zip
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
cheatman said:
Make sure you don't extract the ZIP. Open it and add files. If you extract it, you get that error message (usually). That is a problem related to the unzip process in CWM, it's not very "compatible"
Click to expand...
Click to collapse
No dude, I do not extract the zip file, I do exzctly what you said in 1st post, just open it with winrar, look for Data-app, then adding apk files on app section/folder inside the zip files, i just try once again to make sure, and i just add 1 different apk file, but still not work, btw i always use this same method before when I' want to replace boot animation for ICS CM9 ROM and adding some apk file to ROM file, and it's always work.
cheatman said:
I have also re-upped the DATA CWM zip, maybe it got borked in the process. So download again from first post. It works on my tab. You can test it by just getting the zip and flashing it empty, like that.
Click to expand...
Click to collapse
will try this one..,
EDIT: have try your 2nd Data_skeleton.zip, it's work when flashing from cwm with or without add apk files, but not with previous zip file, thought the problem it's coming from your zip file..,
Glad the second one works!
Thanks for letting me know the first zip was borked!
Its a good thread man, makes creating flash able zips simple, you should also look into zipsigner2 on the play market
Sent from my LG-P999 using Tapatalk 2 Beta-2
Thx for the great work!!
Does this one only works for apks?? say i would like to add some files to system/bin or system/lib what do i need to add??
Thx again
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Sounds more complicated than it is. With these CWM Zips you can create any zip that changes either "/data/*" or "/system/*"
Anything, including full ROMs, libs, firmware etc (i.e. except kernel!) can go inside. Play with them. You can't mess your tab with them. Worst case, you need to flash again your ICS copy and factory reset...
Peace,
C.
yeah jejeje i just mess up i am trying to flash a sound driver for my phone (by the way it works in my live with walkman) but they are not working so.
but it is great because i was able to use your file to flash my phone it seems to be universal.
thx again for your work.
Is it possible for this to work for radio images?
Sent from my Nexus S 4G using Tapatalk 2 Beta-5
No, it can't be used for radio images.
First off, radio images need to be flashed (i.e. not copied to a folder as this script does) and secondly because as far as I know with the latest versions of CWM don't support this anymore.
The old zips used to flash radio don't seem to be supported anymore. I recently encountered this problem while flashing a friend's HTC Buzz/Wildfire. So, no, I have no idea how to flash radio using CWM anymore. You can flash using Odin, though...
Peace,
C.
cheatman said:
You need to create the appropriate folder structure on your PC/Laptop/Mac drive (system/bin or system/lib as per your example) and add it to the archive.
Do not create the folders directly inside the archive as they seem to get borked. Instead archive the folders after you create them locally. It also works if you extract the skeleton archive as an example, delete the "system" folder from inside it and add to the archive the system folder from your drive to replace the original one.
Click to expand...
Click to collapse
Ah, this explains how come my /system/app zips were coming out fine but my /system/framework were messed up, thanks for the explanation.
I wonder if it's possible for a small tutorial in how to add our own text to a zip when it's being flashed.
I guess I could reupload the zips without the intro section (stating my nickname and galaxy tab / version etc.) if I weren't so lazy...
The problem with changing the text is that although a tutorial can be made, it requires external tools and such, which would make this waaay to complicated and out of the scope of this thread.
For your purposes (I assume you are using some version of Windows), here's my advice: extract the Zip archive, look for the "updater-script" file, change it and make sure you run it through a "dos2unix" tool to convert CR/LFs. Then add it back to the archive.
To everyone else: if this doesn't work for you, just stick to adding apps to the zip. You should be safe, there's no need to edit any files anyway!
Peace,
C.
Great, apparently it was just that simple, worked great, <3
Dumb question - is this only for Galaxy tab? Or can I use it on my Captivate?