hello
I just installed froyo 2.2 and I want to do some mod for framework and twframework. However, all I can find in root dir is twframework-res.apk but I don't see any Framework-res.apk
Any idea where I can find it?
thanks
They should be in /system/framework I believe..
a) open the files with WinRAR (don't extract them, just drop new files in the right places and then close, it will automatically save)
or
b) extract the files with WinRar or something similar, modify what you need, then find a program that will repackage apk's for you, I know theres one floating around on the forums somewhere but not sure where to be honest.
hey thanks for helping. I found it using the Root Manager but I don't why I can't find it using Droid Explorer. The Program I will use is call APK manager.
Related
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 would like to flash a new ROM but i like the stock captivate theme the best.
is there any update.zip packages of the default theme floating around? i want to wait until i know i can do it before i flash. Also, is there any way to "rip" the theme from my ROM? because then i can just do that
I posted a request for this a few weeks back and got really no help.... What I did was unzip the framework.apk's from the theme I wanted and from the JH7_OTA that's floating around here somewhere and compared the images in the drawbale-hdpi folder. I think there are some files in tw-framework.apk that need to be changed if you want to change the pull down menu.
Hope this helps
The themes are mostly inside framework-res.apk, which is very ROM-specific. You can't just install them randomly inside one another.
If you'd like to port a theme, you can either replace the image files using 7-zip, WinRAR, etc. or decompile the .apk using APK Manager for more extensive changes (things like battery mods, etc.).
MikeyMike01 said:
The themes are mostly inside framework-res.apk, which is very ROM-specific. You can't just install them randomly inside one another.
If you'd like to port a theme, you can either replace the image files using 7-zip, WinRAR, etc. or decompile the .apk using APK Manager for more extensive changes (things like battery mods, etc.).
Click to expand...
Click to collapse
what he said ^^^^
but as a beginner's guide, you will need to pull your FRAMEWORK-RES.APK and TWFRAMEWORK-RES.APK from /system/framework folder
For this, you will need to use either ADB or an app like ASTRO or ROOTEXPLORER
when you copy these two apk's to your computer, you will need to open it up (NOT extract it) and simply replace the images inside with those from a stock FRAMEWORK-RES.APK & TWFRAMEWORK-RES.APK
The images you want to change are going to be in res/drawable-hdpi folder
Don't just replace everything, you will need to see which one's are different.. if there is something you want to change and don't know what .png file it is, just post it back up here and I will help you out
I'm trying to change the icons on the app drawer with Root Explorer but I can't find the correct PNG to replace that on the system/app/"application.apk"/res/drawable/_____.png
Anyone knows the right name of the icon?
Thanks!
res/drawable-hdpi/file_manager_r.png ypu will have to turn the apk into a zip then put your new file into the hdpi folder and change the zip back to an apk then re install
Can I follow this steps with the Captivate or I need to do this on the computer?
Any easy way?
Thanks for the tip!
hi, i changed an image in drawable-hdpi in "phone.apk" (ic_jog_dial_unlock.png) like aceman said, but if i try to install new phone.apk it says "application not installed" (or something similar, my language phone is not english). how can i install new phone.apk??
I tried to istall it from recovery and there is the same result
thanks
You have to push the phone.apk file into /system/app with a root explorer or adb. Just installing it won't work like most other apks.
i have "root browser", can i use it? can u say to me all the steps i have to do with it or adb? i'm not an android expert user...
up...anyone ca help me?
install a different launcher app that lets you customize it. try launcherpro from the android market.
you wont understand the mod instructions.
screw it here they are...
mod instructions... basic if you need more info. learn to search there are 4000 guides on how to change an app image.
you need winrar on windows. if you arent running windows you should know better.
use root level file manager to go to 'system/app' folder and copy your launcher.apk to sdcard.
copy to PC
right click .apk > open with... > choose program > WinRar
look through folders inside APK and copy all folders with .PNG images to desktop (or work folder)
look through the images in the folders (change veiw to thumbnails) and find the name of the image you want to change and the name of the folder it was in.
Go get, or create your custom image, and name it that name. **Close to original shape size.
Use winRar to open the .APK again and naviage to the place where your image goes and drop the new one into that folder.
A window with options will come up and select Compression Profile : STORE
Click ok
Close winrar.
Copy .apk to SDcard
Use root file manager to rename original /system/app/launcher.apk to launcher.apk.bak (backup)
Then copy your modded .apk to /system/app.
Reboot (pull battery)
DONT MESS WITH ANY IMAGE ENDING IN .9.PNG only regular .pngs
for more on .9.pngs... search google.. what is ....
i*have*to*modify*phone.apk,*no*launcher.apk..*i*just*did*steps*you*sayd,*but*if*i*try*to*rename*phone.apk,*my*nexus*goes*in*full*crash
fist off this is the Captivate forums. not nexus.
and i was giving help to OP question not yours. either way the *stars*and*sp ac*es are friggin annoying. use your computer if your phone is messed up.
if you "tried" to modify the name... DID IT? try doesnt tell me much.
if it wouldnt let you, then nothing changed and your phone is screwed up from something else.
if it DID rename, then CHANGE IT BACK.. duh.
sorry for space and *, i wrote it with the mouse using google translate keybord and i saw them when i cut/past the text
i "tried" to rename phone.apk, so the phone went in a full crash and i had to restore system using an old backup in recovery
paino85 said:
sorry for space and *, i wrote it with the mouse using google translate keybord and i saw them when i cut/past the text
i "tried" to rename phone.apk, so the phone went in a full crash and i had to restore system using an old backup in recovery
Click to expand...
Click to collapse
Try apktool to extract all replace wteva ocon u want to and rebuild apk using the same tool and u need to sign the apk usin signapk tool so that device can recognise the.apk file for installation. I have done this and everything went fine in galaxy note. But i couldn't locate the file to rename the icon. Icon changing was not a prob.
im currently on phoenix 4.5 and was missing the unified inbox and program monitor widget from rogers 2.2 so i opened up my stock flash and took out the files for:
seven.apk, unifiedInbox.apk +.odex and SamsungWidget_ProgramMonitor.apk +.odex
I tried mounting as R/W and dropped them in System/apps then tried installing...
only the first program installed
"Application not installed"
I dont think its a coinsidence that the ones with .odex files didnt install.
Looked up odex... then Deodexing....
Custom roms are DEODEXED...
deodexing isnt as easy as dropping the odex file into the zip and renaming apk.. is it? because that didnt work either...
ok how can i intall these? what am i missing?
really? no suggestions yet?
deodex the programs, drop into system/app, reboot. No need to install system apps.
Sent from my Craptivate with the leaky rom
what is the proper way to deodex the apps?
i tried rename .apk as .zip
drop in the odex files with windows explorer
rename back to .apk
is there something i missed? anytime i try to repackage an app it wont install.
I tried replaceing the default icons in LauncherPro once before. didnt work either.
am i supposed to zip with a certain program? no compression?
i cant seem to find any instructions on how to do this without digging through hours of app programming first.
Trusselo said:
what is the proper way to deodex the apps?
i tried rename .apk as .zip
drop in the odex files with windows explorer
rename back to .apk
is there something i missed? anytime i try to repackage an app it wont install.
I tried replaceing the default icons in LauncherPro once before. didnt work either.
am i supposed to zip with a certain program? no compression?
i cant seem to find any instructions on how to do this without digging through hours of app programming first.
Click to expand...
Click to collapse
http://code.google.com/p/smali/wiki/DeodexInstructions
cappysw10 said:
http://code.google.com/p/smali/wiki/DeodexInstructions
Click to expand...
Click to collapse
thanks for the link, but i was looking for information "without learning programming first"
the link you posted assumes the reader has a working knowlege of programming. I think i can work most of it out but it explains "what to tell it to do" but rather unclear "what it will do" or what you need.
it mentions pointing the script to the .odex file, but it never mentions needing an apk or outputting a deodexed apk. Or is that not what it does?? the help is written as though you know what you are doing but dont know how to use his script..
i think it wants me to...
so to use it i need the baksmali and its script.
run them and point them to the apk and odex with the proper command.
then i will output a deodexed apk?
i dont want to ask but..
can someone do it for me?
files attaced.....
UnifiedInbox deodexed, installed on Cognition 3.04 working.
I was wondering if there were any themers out there that have or can make a red theme for fasty 2.5. I would be very greatful. Ive been trying the past couple weeks but im not doing very good. Alot of boot loops.
PS Fasty 2.5 if a kf1 based rom. If that helps at all.
What you trying to do, I know how to code but I'm new to Java and dalvik code. Learning as I go, but maybe I can help you out.
I don't know what all you've been trying, but what I've had success (to a limited degree) with is to pull a current copy of your framework-res.apk, twframework-res.apk, and systemui.apk files out of /system/framework and /system/app (you may need to dig to find them), then open/unzip the folder with 7zip. Make copies of each apk to a safe place as a backup.
Dig around in each folder and change anything without a .9.png extension. An easy thing to do is just to use photoshop and automate a color shift. (You may have to play around with some icons - they don't like being opened if they're indexed color.)
Once you have some files ready, open the pulled .apk's with 7zip again (use the open archive option), and overwrite the files inside of them with the files you edited.
Once that's done, fire up adb again and push your updated files back to the respective folders they came from.
Reboot, and you should be good to go.
I would like to make a red version of the theme honeysmoke by the creators of fasty. I would post the link to it but the website is down.
First thing is your going to need something like Apkmanager if you don't already have it.
http://forum.xda-developers.com/showthread.php?t=1227179
Like jmtheiss said, pull the system files out and unzip them. I use Paint.net, which isn't photoshop, but works well.
OK i have apk manager i decompiled the framework-res.apk
voldomart13 said:
OK i have apk manager i decompiled the framework-res.apk
Click to expand...
Click to collapse
Well if your just starting out you should select to extract it first and then look in res/drawable-hdpi and you will see some .png files. Just look at your phone and figure out what you want to try to mod that you see in the folder. The same would hold true for systemui and twframework-res, both will have .png files in the res/drawable-hdpi folder. Be careful not to modify .9.png files, they are a special file that is stretchable and most paint programs don't recognize them and are difficult to modify with draw9patch editor.
http://forum.xda-developers.com/showthread.php?t=908270