im trying to costomize some stuff in a rom.... now if i exract all the files from the zip... and change some of the apk's ..just grafix... no changing file names or anything... just themeing the launchers and stuff ... what do i have to do to make it work now... (zipalighn signed all that how do i do that?) or do i have to? since i really didnt change anything except grafix... so i just zip it back up or do i have to do something speacial....... if anyone could help me with this i would be very greatfull.............. thank you
Bump
Sent from my GT-I9000 using XDA App
google for apktool and read about how to use it.
Related
HOW TO CHANGE SYSTEM ICONS ON FROYO
Hi @all! Just want to change system icons,just like in the CM7. So,i noticed that in /system/app Apks there are some *.pro files,but the CM7 ROM has *.png files. So today i'm gonna teach how to do this on Froyo.
First of all,pick an Apk from CM7 ROM and extract it. Navigate to /res/drawable-mdpi/ and you will find some *.png files. Search the one with "ic_launcher" prefix and rename his extension from .png to .pro. Then open with 7-zip an LG stock Apk and navigate to /res/drawable-mdpi. Replace ic_launcher original file file with the renamed one and voila,icon is changed!
You can also change other icons with this method.
Tested on openOptimus.
thanks - was going to do this now I know!
This thread is going down
ciaox said:
This thread is going down
Click to expand...
Click to collapse
It ain't mate. You are really doing a great job.
This is something really helpful.
Thanks for the tutorial.
hey man this one's good........
thanx for dis
but does this method can also change cm7's icons...
just vise versa??????
Thanx...Very helpful post. Can we change it with the rom is running, like with root explorer. And how do we change status bar icons?
Sent from my LG-P500 using XDA App
I like the option to change music from anywhere via notification but i hate the cheap default album art in it!! So I like to extract the apk remove those pictures!! Does removing those pictures alone will cause any problems?? If the answer is yes I ll replace those images with my own images!!
So now regarding extracting :
Does extracting by zip & repacking again with zip & changing name as .apk is enough or do I want to extract using apk extractor/manager found in this forum (forgot its name) & repack & sign it with the same??
Regarding .odex file :
I have a rough idea about odex & deodexed files!! Stock application is usually odexed!!
Now my doubt is what I have to do with the .Odex file near the music??
Help me out soon
Sorry for my bad English & unframed question!! Cz am posting via mobile!!
Sent from my GT-I9100 using XDA App
Don't ever remove stuff, depending on how they are loaded / how well coded the app is, it will most likely cause null pointers and so force close.
If you mod an apk, replace stuff but don't remove or rename.
P.S. you could deodex the app, to make your life simpler, but deodexing is no simple task for system apps if you are not familiar with the process.
Maybe the solution, if you want to mod, is to get a deodexed rom and mod away.
Sent from my GT-I9100 using Tapatalk
Am new to Android just a week old, but am not a total noob i had molded roms in Symbian!!
So please send me links or tutorials about
How to deodex & other important things about droid!!
Also am not gonna remove anything am just gonna replace default images for music player for album art with custom pics!! I already replaced camera. Apk for battery mod found in the forum!! I can request any1 to mod for me but I really like modding it on my own, i like droid more than Symbian now!! & even am not using iPad properly after buying s2!!
Coming to point, is musicplayer.apk is system app like touchwiz. Apk & framework-research. Apk??
Update:
If i wanna edit musicplayer.apk what to do with its ODEX file ?!!
Sent from my GT-I9100 using XDA App
rajaspidey said:
Am new to Android just a week old, but am not a total noob i had molded roms in Symbian!!
So please send me links or tutorials about
How to deodex & other important things about droid!!
Click to expand...
Click to collapse
http://lmgtfy.com/?q=How+to+deodex
rajaspidey said:
Coming to point, is musicplayer.apk is system app like touchwiz. Apk & framework-research. Apk??
Update:
If i wanna edit musicplayer.apk what to do with its ODEX file ?!!
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Frameworks are not applications. But yeah, Musicplayer.apk is an application apk.
As for the Odex file... http://lmgtfy.com/?q=Odex+file
messed up my music player cant able to install stock back too !! please help me !!
i need to replace default album art with this png's !! for 400x400 i need that thumb_00.png !! please help me !!
also please teach me how to modify/edit/customise/repack/sign apk's !!!
1) Reflash your current rom (look for stock roms topic in Original Android Development forum)
2) ALWAYS do a backup of your files before messing with them, especially when you don't know how to recover them -.-'
3) Asked like this, nobody will do that for you. Moreover, that's iTunes, and we, as loyal Android users, won't take any of these into our droids.
4) To modify/edit/repack/sign APK, there's Google for that. It has tons of resources if you only take a second to type in your search, and one other to look at the links.
XpLoDWilD said:
1) Reflash your current rom (look for stock roms topic in Original Android Development forum)
2) ALWAYS do a backup of your files before messing with them, especially when you don't know how to recover them -.-'
3) Asked like this, nobody will do that for you. Moreover, that's iTunes, and we, as loyal Android users, won't take any of these into our droids.
4) To modify/edit/repack/sign APK, there's Google for that. It has tons of resources if you only take a second to type in your search, and one other to look at the links.
Click to expand...
Click to collapse
thanks for your help now i learnt that i have to deodex the app to make it work !! if u can u can help me !!
i found a tool called "Andrizoid's_Deodex_Kitchen_V4" but files have extension .sh confused about what to do !! help me if you can or else i ll need to google all night
k now i have deodex tools !! but now i need framework files for samsung !! does twframework-res.apk/framework-res.apk & its ODEX & jar files are enough ??!!!
rajaspidey said:
i found a tool called "Andrizoid's_Deodex_Kitchen_V4" but files have extension .sh confused about what to do !! help me if you can or else i ll need to google all night
Click to expand...
Click to collapse
Jeeeeeeeeeezzzz....
If you don't know what a .sh is, then you shouldn't be doing what you're trying to do.
P.S. you could deodex the app, to make your life simpler, but deodexing is no simple task for system apps if you are not familiar with the process.
Click to expand...
Click to collapse
As said in the first reply.
And yes, framework-res and twframeword-res.apk should be enough.
Sorry .Sh means shell used on linux!! I hv no basic of computer programming am an civil engineering student .!!
BTW i deodexed files my doubt is musicplayer.apk is system app right I repacked it & replaced it in folder but it's not appearing in menu!! :-(
Do I wanna push it like update.Zip?? Creating update.Zip is just like creating folder system/app, putting musicplayer.apk in it & zipping it right!!
I hv a nandroid but i wn restore it I want to modify musicplayer.apk & make it work!! You gotta solve my noobish doubts bro!!
Sent from my Galaxy S II via XDA app so sorry if u did any typographical or other mistakes!!
i deodexed musicplayer.odex with help of
http://code.google.com/p/smali/wiki/DeodexInstructions
&
http://www.madteam.co/forum/tutorials/how-to-deodex-an-odex-file
now i got an out folder !! please send me link for anythread which has how to for this kind of modifications !! am too searching !!
[MOD] modified default album art images for music player in SGSII.!!
Succesfully made my music player !! the work is simple i made it complicated !! just deodexing to dex is enough !! i was more noobier than i thought & when i was about to post it i found it was already present in the forum !!
anyways i learnt how to deodex & many things heres own my mod version attached !!
thanx for your help !! & thanx to XDA Forum !! thnx to @XpLoDWilD & other member replied for me !!
just copy this to System/app/ rename your musicplayer.apk & its .ODEX to musicplayer.bak (just keep a backup)
& rename this as musicplayer.apk no install needed !!
Hell yeah finally i made an mod !!
Nice to see your first mod!!
Thank you bro!! Soon ll post detailed how to for newbie/noobs like me!! I won't ask them to Google . Lol
Sent from my Galaxy S II via XDA app so sorry if i did any typographical or other mistakes!!
I'm trying to modify framework-res.apk and I am able to decompile it. I modified styles.xml and colors.xml. My problem is that I can't compile it back. I'm getting a lot of errors when I try to. I'm using the latest version of apk multi-tool. I'll post the logs later because I'm on phone right now, but anyone has any idea of what might be causing the problem? Any help is appreciated.
Tapatalked.
Silvane said:
I'm trying to modify framework-res.apk and I am able to decompile it. I modified styles.xml and colors.xml. My problem is that I can't compile it back. I'm getting a lot of errors when I try to. I'm using the latest version of apk multi-tool. I'll post the logs later because I'm on phone right now, but anyone has any idea of what might be causing the problem? Any help is appreciated.
Tapatalked.
Click to expand...
Click to collapse
Even I am trying to compile it but i also get errors.. I edited styles.xml
Sent from my GT-S5360 using XDA
Use yhe lattest apk manager not apk tool is a old one brotha
Hehehe apk manager more powerfull than apktool
Sent from my GT-S5360 using xda premium
umm...I always failed when using stock framework-res.apk. after that I try to copy the same framework-res.apk to c:users/<username>/apktool/framework/ then rename it to 1.apk. I don't know why, but it works.
@evanlocked: I thought both apk manager and apktool are actually same program. the difference is only on its interface. IMO it doesn't matter which one did everyone choose.
kurotsugi said:
umm...I always failed when using stock framework-res.apk. after that I try to copy the same framework-res.apk to c:users/<username>/apktool/framework/ then rename it to 1.apk. I don't know why, but it works.
@evanlocked: I thought both apk manager and apktool are actually same program. the difference is only on its interface. IMO it doesn't matter which one did everyone choose.
Click to expand...
Click to collapse
Yeah but I face some issue using apk tool bro on my laptop but using apk manager its works
Sent from my GT-S5360 using xda premium
Thanks for the replies guys. I was able to compile it successfully with apk manager. Now my problem is that I can't push it via adb. Says no devices found, although when not in recovery it works fine enough. Any ideas or alternative methods to push framework-res?
Tapatalked.
Make a update script and flash it.
I always use to flash it
& it works awesome
Silvane said:
Thanks for the replies guys. I was able to compile it successfully with apk manager. Now my problem is that I can't push it via adb. Says no devices found, although when not in recovery it works fine enough. Any ideas or alternative methods to push framework-res?
Tapatalked.
Click to expand...
Click to collapse
m still stuck with those probs how did ya make it work?
I used apk manager instead of apk tool and it compiled. I've yet to try the apk I modded though. XD
Tapatalked.
Silvane said:
I used apk manager instead of apk tool and it compiled. I've yet to try the apk I modded though. XD
Tapatalked.
Click to expand...
Click to collapse
thanks for the thread and the posts you all made, i have been searching for a thread like this for 2days. going to try apk-manager now and the renaming framework-res.apk to 1.apk.
Im using APK Tool and no prob. at all when de/re-compile .apk
The question is...
Why after recompile the signed/unsigned .apk the size always smaller than the original .apk? Is that normal? Tho even smaller its installable and work
Altermania said:
Im using APK Tool and no prob. at all when de/re-compile .apk
The question is...
Why after recompile the signed/unsigned .apk the size always smaller than the original .apk? Is that normal? Tho even smaller its installable and work
Click to expand...
Click to collapse
Yes its normal the compression rate is max while re-compilin nd u need not be worried about it
Sent from my GT-S5670 using XDA
Hi guys, can you teach me how edit or mod these default apk's on our phone :
-mms.apk
To Samsung Galaxy S3 theme.
Thanks. )
Dude just use guides see in general section use search button
Sent from my GT-S5360 using Tapatalk 2
rmhoh said:
Hi guys, can you teach me how edit or mod these default apk's on our phone :
-mms.apk
To Samsung Galaxy S3 theme.
Thanks. )
Click to expand...
Click to collapse
Hey I have not edited the mms.apk which u have told.But you just asked for theming so i can help the simple theming guide
Use apktool to decompile these apk files after which you get the folder which contains res,smali etc files
As you are not modding just want to change the theme go to the res folder and open the drawable-hdpi,drawable-ldpi.
Replace the images you want to change with that from s3 and build it ....
Voila you got a themed app ...
Incase you want to edit the UI also like by adding more buttons kind of thing then you might consider doing some stuff around with the layouts and smali code..
In case of smali, learn from this site ..
http://androidcracking.blogspot.in/search/label/smali
Gud Luck.
Thanks i think this might help you,
optimus
PS:I think most of the res required for system files are present in framework.
Use the search button...
There are a lot of tuts forit...
But You can Also use APK Manager, its easy but not very good as apjtool...
Sent from my GT-S5360 using Tapatalk 2
Hi guyz,
First things about my device
~Deodexed Maximus ROM {Alpha}
~Tweaked
~My own Kernel
~And most of all... Bricked
How are y'all? I am making a custom Gaming ROM as mentioned before in the android development section. I am having a big issue here, it's that I modified framework-res.apk and I tried pushing through ADB but it Bricked. I even tried to flash it but no luck! You guys know I can't PM everyone as it takes so much time so... I need your help!
Also I tried to modify system apps like Gallery3D.apk or Settings.apk but all I get is that app disappears from my app drawer.
I know how to modify .9.png files, I take the reference from draw9patch. Any help would be Highly Appreciated!
Thanks & Regards,
Imranabbas22
Imranabbas22 said:
Hi guyz,
First things about my device
~Deodexed Maximus ROM {Alpha}
~Tweaked
~My own Kernel
~And most of all... Bricked
How are y'all? I am making a custom Gaming ROM as mentioned before in the android development section. I am having a big issue here, it's that I modified framework-res.apk and I tried pushing through ADB but it Bricked. I even tried to flash it but no luck! You guys know I can't PM everyone as it takes so much time so... I need your help!
Also I tried to modify system apps like Gallery3D.apk or Settings.apk but all I get is that app disappears from my app drawer.
I know how to modify .9.png files, I take the reference from draw9patch. Any help would be Highly Appreciated!
Thanks & Regards,
Imranabbas22
Click to expand...
Click to collapse
Did u tested your kernel does it booted???
Want To Ask Question? Ask Here
Thanks,
TechnoSavie
Yep ... It boots well enough!
I tried Merruk kernel too but no luck!
Are you using a modified framework.jar
Might be your problem
I did not modify the framework.jar, only and only modified the framework-res.apk
I just changed the .9.png files and wallpaper...
Imranabbas22 said:
I did not modify the framework.jar, only and only modified the framework-res.apk
I just changed the .9.png files and wallpaper...
Click to expand...
Click to collapse
I know the stock framework.jar and custom rom framework.jar are different
I don't know in what way though
I dont know about the framework.jar but there are smali files inside the framework-res.apk
I am starting to worry now
Sent with a pinch of love, 2 cups of cuteness, 3 eggs of happiness with a garnish of spit!