Hi, I downloaded the CustomTheme.apk for dxTop, changed couple of things and wanted to pack my work to apk. But when I pack it with zip and rename it to *.apk, phone tells me that my .apk isnt valuable .apk file. Is there any way creating the .apk without the SDK, or do i need the developer kit?
Thanks for feedback.
Related
I'd hate to be that guy who starts a whole thread for something...but I've looked everywhere and can't find the answer.
I'm working on my first theme, and I unzipped the framework recourse apk files, made the changes to the files inside, and now I want to turn them back into apk format so I can make everything into a flashable update.
I can't figure out how to turn these framework recourse folders into framework recourse apk files! Can anyone help me!? Thanks! If all goes well, I'll have a new theme out for you guys by tonight.
Thanks in advance!
alexthearmo said:
I'd hate to be that guy who starts a whole thread for something...but I've looked everywhere and can't find the answer.
I'm working on my first theme, and I unzipped the framework recourse apk files, made the changes to the files inside, and now I want to turn them back into apk format so I can make everything into a flashable update.
I can't figure out how to turn these framework recourse folders into framework recourse apk files! Can anyone help me!? Thanks! If all goes well, I'll have a new theme out for you guys by tonight.
Thanks in advance!
Click to expand...
Click to collapse
http://www.4shared.com/file/1LIk07D5/Avabox.html
download for windows. it has auto sign. as for changing back to apk just change extension back to .apk
so...do i use that program to zip up the file, then just change the extension?
........................
alexthearmo said:
so...do i use that program to zip up the file, then just change the extension?
Click to expand...
Click to collapse
Yes. Zip up file, change .zip to .apk.
What? You dont need to resign .apk's. In fact, you're making too much work for yourself. Im sure you extracted the .apk to a folder. All you need to do is reopen that .apk with 7zip. Drag and drop your changes into the .apk and you're done. No need to resign or anything.
VinceOB said:
What? You dont need to resign .apk's. In fact, you're making too much work for yourself. Im sure you extracted the .apk to a folder. All you need to do is reopen that .apk with 7zip. Drag and drop your changes into the .apk and you're done. No need to resign or anything.
Click to expand...
Click to collapse
Thanks for your help guys. I ran into some trouble with all this, and even realized that I mistakenly used some of the wrong files (from a theme that I actually didn't want to use)...so I'm gonna have to spend more time working on this. Hopefully I can get it finished and uploaded tomorrow. But thank you for your help. Right now I got homework to do. bleh.
Thanks for the post. I've been looking all over for this answer.
sweet...........
Well I haven't had much time lately to make themes but I figured i got enough time to explain how. This is how i do it in windows 7.
1) First thing i assume that you already have androidsdk on the root of your C drive. Lets go ahead and add it to your system path. If it's not called androidsdk go ahead and change it to that. Now open up your startmenu, right click computer, click properties, then click advanced system settings, in the advance system settings select environment variables. In the second box down look for path select it and choose edit. copy and paste this
Code:
;C:\androidsdk\tools
in there. Click okay.
2) download the jre and jdk from here and install them. Now you need to add them to your system path so copy paste this
Code:
;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files (x86)\Java\jdk1.6.0_20\bin
to your system path just like you did in the first step.
3) Download apk manager from here. Now run it and when it says clean out all current projects click yes. Now thats ready to go.
4) Download an image editing program. I use gimp. Also if you don't have it 7-zip
your all set to go now so lets start over with the numbers
1) choose a mymode apk and extract it with 7-zip. Open up the res folder select a png that you want to change and change it with the image editor you chose.
2) when you've changed the images you want open up the original apk as an archive with 7zip. Then place the res folder of the modified unzipped apk into the archive and close the archive.
3) Now open up apk manager and place the mymode apk into the place here for signing folder click script batch choose no then type 15.
4) Now put the newly signed apk into your androidsdk/tools folder and close apk manager.
5) open command prompt and type this
Code:
cd\
cd androidsdk/tools
adb install whatever.apk
I'll update this with pics a more thorough guide.
Thanks to everyone that made this easy
reserved for themes to come
Thanks been waiting for a thread like this.
thanks, if i ever get any free-time between jobs and kid and fiancee i will look into this a little more
This is an awesome guide! I messed around with theming mytouch/g1 back when I had one.. so this will be great to make some themes for the slide..
One question though.. let's say you pull the nest theme.. theme it and re install it.. will it just override the nest theme or in the theme listing will it appear as a new theme and still allow you to have the original theme?
Sent from my T-Mobile myTouch 3G Slide using XDA App
ryanolson7 said:
One question though.. let's say you pull the nest theme.. theme it and re install it.. will it just override the nest theme or in the theme listing will it appear as a new theme and still allow you to have the original theme?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
The nest theme is in the framework, its not an .apk like the rest, its built into the system. The rest of the mymodes themes are .apks and if you edit those they will override the stock "nest" theme. The only way it will show up different in the theme chooser is if you edit the preview snapshot to be a preview of your theme. If you wanna keep the original theme, the nest theme is it and you should edit a different theme .apk...
-BMFC
Sent from my ROOTED MyTouch3G Slide
Okay so I got the next three days off and I already got two mymode themes pretty much done well their done but I just learned of a way to change the name so they are there own standalone apk instead of using another apk name. I've been using puppypride (which by the way isn't puppies those are full grown dogs) and switching out the pngs and you couldn't have the regular puppypride now you can have both
hope you don't mind but I did a mod of your themes and took out the bubbles since some people always create threads about it
Help with following guide
I am a newb at this so please don't attack me if I am doing something wrong. I have been struggling with following the guide posted to make mymode themes. I have successfully got up to the step of signing the apk file. I modified the files in the free_kick.apk. When I try to use APK Manager 4.8 and using the directions given the file just gets erased and nothing happens. My log file just shows errors. Any help with a more detailed directions one what to do in APK manager as I am trying different things and not getting anywhere. I use the option 15 like told in the guide. I can send my modified apk file to anyone if they can get this to work and get it installed that would be appreciated so much. I hope I can figure this out my own but thought I would try get help from the forums. Thanks in advance.
impimms said:
I am a newb at this so please don't attack me if I am doing something wrong. I have been struggling with following the guide posted to make mymode themes. I have successfully got up to the step of signing the apk file. I modified the files in the free_kick.apk. When I try to use APK Manager 4.8 and using the directions given the file just gets erased and nothing happens. My log file just shows errors. Any help with a more detailed directions one what to do in APK manager as I am trying different things and not getting anywhere. I use the option 15 like told in the guide. I can send my modified apk file to anyone if they can get this to work and get it installed that would be appreciated so much. I hope I can figure this out my own but thought I would try get help from the forums. Thanks in advance.
Click to expand...
Click to collapse
Actually the guide needs to be fixed a little because i'm guessing your getting compiling errors when using apk manager? But the best way to do this is to open up the mymode theme (using 7zip) as an archive delete meta-inf folder then replace the pngs with ones of your choice as long as they are the same scale. Then resign. and install
totally lost
I've followed these directions to a T and when it comes to using the apk manager i am getting nothing, please help
You guys that are having trouble with apk manager...its honestly not necessary to use Apk Manager for this. Mymodes themes are system .apks and shouldn't be re-signed. What you need to do is forget about apk manager (for now) and drop the UNsigned .apk into the ROM update you are using, and resign the whole ROM using the autosign tool created by jesusfreke. Or just adbpush the .apk. but don't resign the .apk.
Here's the link for the autosign tool to sign ROM updates. its in the THIRD POST and its auto-sign .zip, NOT the signing.zip in the first post. you can put it anywhere you want and you just drop (a copy of) your ROM update in the autosign folder, rename it update.zip, then run the sign.bat to sign. it will create another file, update-signed.zip. you shouldnt need to wipe when flashing the same ROM over itself, but i cant guarantee this is true for all ROMs.
you can also make an update that will only flash the .apk to /system/app, and nothing else will be changed. basically just make a copy of the update for the ROM youre using, then delete everything but the /system directory from the zip. then go into that /system directory and delete everything but the /app directory, then go into it and delete all the .apks and odex file or whatevers in there. ALL OF IT. when you are finished you should have an update with nothing in it but a /system/app directory. you put your modded .apk in there in /system/app, and thats it for that.
then you must edit the update script and remove MOST of its contents so that it only does what you want it to. THIS IS IMPORTANT! Go here to learn how to create an update script. what youll need is way simpler than the examples, youll want it to look basically like this...
Code:
assert compatible_with("0.2") == "true"
show_progress 0.1 0
copy_dir PACKAGE:system SYSTEM:
show_progress 0.1 10
this update script will copy ANYTHING in the /system directory to /system on your device, regardless of subdirectories. that means anything in /system will go in /system, anything in /system/app will go to /system/app, etc. but since you only have one .apk in there it wont mess with anything but what you put in there. this way, you have a NOWIPE update for...well, whatever you want to put in it.
so you just drop the new shortened update-script in /META-INF/com/google/android/
and then use the autosign tool to resign your new update then flash away! This also takes less time cus its only flashing one file instead of flashing a whole ROM just to replace that one file...
hope this helps...
-BMFC
Sent from my T-Mobile myTouch 3G Slide using XDA App
So you cannot do this on t-mobile's rom which is 2.1 right now? I'm leery of rooting in case they ever release froyo
Tbrewer80 said:
So you cannot do this on t-mobile's rom which is 2.1 right now? I'm leery of rooting in case they ever release froyo
Click to expand...
Click to collapse
I'm having issues with this as well... After I do the whole signing apk thing, it installs fine, but when I go to MyModes, the preview is black and when I select it, the MyModes app force closes. I don't get it.
I like the simplistic theme(metamoprh) bt it is not working for me. so i removed the orignal files n added the files from the theme in many apps. but now they arent installin so what can i do to make them work??
Do you have the android sdk installed? If not I do not believe you can sign apks. If you do, then the process is fairly easy which I've indicated below:
If you do not have it already, download 7-zip. It is a free archive viewer and extractor that enables opening and editing archives without having to extract them. Also download Stericsons autosign tool. Here is the link:
http://forum.xda-developers.com/showthread.php?t=473580
Once it is installed, simply right click on the apk and in the 7-zip options which appear, select "open archive." Once opened you can do all sorts of things like swap out images and so forth but in this instance all you want to do is delete the Meta*** folder. (The Meta folder contains the signatures.)
Once that is complete simply close the window and your apk is still intact. Now, all you need to do is drag your apk onto the autosign tool icon and it will create a copy of your apk with a -signed at the end. At this point you can delete the original unsigned one and install the signed one like you would any other apk.
Again, you need the sdk installed to sign apks. But, if you don't have it installed and there are not that many of them go ahead and post links to them and I'll sign them for you
okolowicz said:
Do you have the android sdk installed? If not I do not believe you can sign apks. If you do, then the process is fairly easy which I've indicated below:
If you do not have it already, download 7-zip. It is a free archive viewer and extractor that enables opening and editing archives without having to extract them. Also download Stericsons autosign tool. Here is the link:
http://forum.xda-developers.com/showthread.php?t=473580
Once it is installed, simply right click on the apk and in the 7-zip options which appear, select "open archive." Once opened you can do all sorts of things like swap out images and so forth but in this instance all you want to do is delete the Meta*** folder. (The Meta folder contains the signatures.)
Once that is complete simply close the window and your apk is still intact. Now, all you need to do is drag your apk onto the autosign tool icon and it will create a copy of your apk with a -signed at the end. At this point you can delete the original unsigned one and install the signed one like you would any other apk.
Again, you need the sdk installed to sign apks. But, if you don't have it installed and there are not that many of them go ahead and post links to them and I'll sign them for you
Click to expand...
Click to collapse
Does this make it possible to sign Torch (2.2) to work on 2.1 roms? Espresso for example.
really helping!!
i can signed with my own now!!
thanks!!!
We've all seen/have/tried the Honeycomb Music Player apk. Now, for some of us, the cloud sync is working, and I'm suddenly really impressed by the player. But man, the widget it hideous. I know themers can't add album art support to the widget, but what about just matching it the honeycomb theme? The black with blue trim thing...
I've tried to ninjamorph, and I've a different way which used to work when theming the old widgetlocker, but every time the installation won't succeed. It seems that it's as simple as opening the files of the apk and changed "app_widget_bg", but it doens't work.
I attached the honeycomb dock that I wish to make the widget theme. I would just need to quickly add the trim all around it rather then just the edges, but, still, this would help so much.
Any help would greatly appreciated!
irish22022 said:
We've all seen/have/tried the Honeycomb Music Player apk. Now, for some of us, the cloud sync is working, and I'm suddenly really impressed by the player. But man, the widget it hideous. I know themers can't add album art support to the widget, but what about just matching it the honeycomb theme? The black with blue trim thing...
I've tried to ninjamorph, and I've a different way which used to work when theming the old widgetlocker, but every time the installation won't succeed. It seems that it's as simple as opening the files of the apk and changed "app_widget_bg", but it doens't work.
I attached the honeycomb dock that I wish to make the widget theme. I would just need to quickly add the trim all around it rather then just the edges, but, still, this would help so much.
Any help would greatly appreciated!
Click to expand...
Click to collapse
All you have to do is edit /replace the pngs in the apk then resign it. That was why it didn't install, you didn't resign. To resign:
1) Download the attached zip
2) extract it and you should get folder called SignApk
3) rename your honeycomb musik player.apk to "app.apk" (after modifying it ofcourse)
4) put it into the SignAPK folder
5) run "sign.bat"
6) an apk called app-signed should have been created
You can then rename this app if you want (it wont make a difference) and install it normally.
If you modify the image in the APK and then push to /system/app/, no installation should be necessary, nor resigning.
hettbeans said:
If you modify the image in the APK and then push to /system/app/, no installation should be necessary, nor resigning.
Click to expand...
Click to collapse
Push meaning ADB? I don't know how use that monster yet. I'm on a mac, and I've found that apkmanager or really any desktop version of android is much more difficult to find and run on macs.
If I get the modded .apk onto my SD card, then move it using root explorer to system/app , what does that do? Will it just automatically appear in my app drawer without being installed?
joeshmoe08 said:
All you have to do is edit /replace the pngs in the apk then resign it. That was why it didn't install, you didn't resign. To resign:
1) Download the attached zip
2) extract it and you should get folder called SignApk
3) rename your honeycomb musik player.apk to "app.apk" (after modifying it ofcourse)
4) put it into the SignAPK folder
5) run "sign.bat"
6) an apk called app-signed should have been created
You can then rename this app if you want (it wont make a difference) and install it normally.
Click to expand...
Click to collapse
Is this different then using zipsigner on the phone? I put the modded folder onto my SD card, zip it up, rename it .apk, sign it using zip signer ... still no good.
Do I do your method from my computer or my phone?
So I tried to do it via the attached the zip, and it didn't work. I couldn't even run sign.bat to begin with (on either my phone of my computer).
I also modded the image using ninjamorph then put it in my system/app - and nothing happened.
Surely theming a simple widget is easy enough. Does anyone on here know the easiest way?
Hi im a total no0b to android dev and such..
what im trying to do is unzip an icon pack apk, change some pngs (keeping the same file name) and rezipping or pasting the files/folder back into the original zip and renaming file back to apk
i transfer it to my phone, i can see the apk has the official logo but when i try to install it on my phone (oneplus one) it just says "X App not installed."
can someone help me? or show me where i can find a tut to use some of the existing apk/or make my own?
i appreciate any help
romyrider said:
Hi im a total no0b to android dev and such..
what im trying to do is unzip an icon pack apk, change some pngs (keeping the same file name) and rezipping or pasting the files/folder back into the original zip and renaming file back to apk
i transfer it to my phone, i can see the apk has the official logo but when i try to install it on my phone (oneplus one) it just says "X App not installed."
can someone help me? or show me where i can find a tut to use some of the existing apk/or make my own?
i appreciate any help
Click to expand...
Click to collapse
You won't be able to do that with a signed apk. It might be possible to replace pngs without unzipping. Try opening the apk as an archive and dragging in the new pngs.
upndwn4par said:
You won't be able to do that with a signed apk. It might be possible to replace pngs without unzipping. Try opening the apk as an archive and dragging in the new pngs.
Click to expand...
Click to collapse
already did that and it didnt work aswell...
i dont have the time neither the knowledge to make and icon pack myself from scratch