Modifying musicplayer.apk & other doubts regarding unpacking & packing apk!! - Galaxy S II General

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!!

Related

[Q] help in making APPS Flashable for SGT7

Hi..
I got this idea just dont know how to do it..
can someone help me in building a flashable zip file just like GAPPS but the apps will not be treated as system file once installed(hope its possible),
In my case i comfile all the APK of all the apps that im using and install it one by one in between build if its possible to make the flashable zip file, reinstalling of all my APPS will be one installation all process.
this will help us alot in between updates of new build ROM.
i hope i explain it clearly.
thanks
:angel::angel::angel:
::: i already got the solution from Mr. cheatman thread... point out by Mr. salahmed (thanks to BOTH):
http://forum.xda-developers.com/showthread.php?p=24233846
(apps only/data not included)
Look here
http://forum.xda-developers.com/showthread.php?p=24233846
But this will only restore apps without data.
Sent from my GT-P1000
salahmed said:
Look here
http://forum.xda-developers.com/showthread.php?p=24233846
But this will only restore apps without data.
Sent from my GT-P1000
Click to expand...
Click to collapse
wow.. thank you very much sir, (also to cheatman).. sorry for being lazy to look it up.. this will really save a lot of time..

[Q] How to mod/edit apk's via ApkTool

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

[HELP][ISSUE]Bricking while flashing **Modified Framework-res**

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!

[Quiries] help from experts needed

All right I just finished my exams so I wanted to release my rom as promised
Almost everything is done but I have to do some bug fixes
So I ask my fellow Themers and devs some quiries regarding XML editing
1. How to change font colours
The blue text in settings and contacts perticularly (blue looks like crap with my theme I want complete detiles regarding this
Click to expand...
Click to collapse
2.how to rename apps (lidroid parts exactly I took a random rom and completely modified the lidroid parts but now I don't know how to rename it also I want to rename the wallpaper pack )
Click to expand...
Click to collapse
3.how to make apps not appear in drawer
Click to expand...
Click to collapse
4.how to add things to settings like rom name, dev name and also shortcuts to apps that I hide from launcher...
Click to expand...
Click to collapse
Pleez answer these questions these are all I need to complete my rom
Its an elegantly themed gaming rom
Also I am single handedly working on it from almost a month so pleez help me by answering my questions
My motivation
Sir Carl
Death notice and many more who encouraged me and made xda feel like a family (me new to root Techno tingu deadly 42d1l and many many more except avigith
Thanks in advance
Ubuntu themed apps and other stuff here
Click to expand...
Click to collapse
--->make phone faster and battery efficient
--->partition and link2sd for NOOBS?!?!?
--->3d games for galaxy y (no root no lag)
Thanks for your rom in advance bro !
Sent from my GT-S5360 using xda premium
You rename apps you need to edit smali files. I also didnt know how to rename my launcher but i searched a lot. To change color you need to edit xml files in res/layout or res/values.
Sent from my GT-S5570I using xda app-developers app
...
Here`s the tutorial on how to add option in settings[about phone]...
It worked for me...
http://forum.xda-developers.com/showthread.php?t=2061958
Press Thanx if I helped u...!!
2. The App Name is defined in the strings.xml in the res folder... But usually I get errors while compiling it back.. I dont know if this works for you
I dont know the rest... D-3V!L already gave you the tutorial about Rom name and dev name thingy
Changing text color http://forum.xda-developers.com/showthread.php?t=2151075
-respect older people-
To rename apps open androidmanifest . You might find something like 'android:label="@string/app_name" if u see some thing like this search for "app_name" (in this case ) and you will find the name of app in the strings.xml
if i hav accidently helped u, u can press that button,
colors are located in colors folder,
specifically
primary_text_****.xml
secondary_text_****.xml
etc. etc.
declared as hex codes,
please research the proper hex codes for your desired color,
and compile the apk properly to get best results,
preferably you could replace classes.dex with the previous unedited apk incase it does not install
...

[JB] Deodexed Apps and Framework files, downloadable one by one.

Hello everyone!
I have deodexed and uploaded every single .apk and/or .jar file to a Google Drive folder for everyone that wants to use a file without downloading a whole firmware. I hope that this is gonna help users and future themers and modders.
The files are all taken from the Jelly Bean Stock Official XXAME1 firmware, deodexed, and then directly uploaded to my Google Drive folder.
Take a look at the folder and let me know your opinion about this.
https://drive.google.com/folderview?id=0B03kWBzzGaK6TFUzaklyenpPRWs&usp=sharing
Also, if you have any other ideas on how to improve the folder just let me know. :good:
Oh, just one more thing! I'm new to the Galaxy SIII Mini community, some of you may know me. I have created a couple of themes and mods for the Galaxy S Advance. Check them out! You may want some of these available to the SIII Mini! :good:
thanks for doing that
a few members have made a couple of posts asking for stock apk's
so i am sure this will be appreciated by all
efaustino84 said:
thanks for doing that
a few members have made a couple of posts asking for stock apk's
so i am sure this will be appreciated by all
Click to expand...
Click to collapse
That is what I was looking for too when I decided to make this. I needed the framework for a new mod for the SIII Mini but I couldn't find just the framework-res.apk file. There should be a folder like this for every device. :good:
Thank you!
Sent from my Galaxy SIII Mini

Categories

Resources