Modding apks - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Two questions guys :-
1. Suppose i wanna mod an apk and deodex it too. What way would be better - modding the odexed apk first or first deodexing and then modding it??
2. I edited a deodexed mms.apk's mms_config for increasing receipient size and sms to mms conversion. But i wasn't successful. Do i have to make some changes in smali parts too? If yes, then what?
Thanks for the answers!
Sent from heaven!

anasdcool71 said:
Two questions guys :-
1. Suppose i wanna mod an apk and deodex it too. What way would be better - modding the odexed apk first or first deodexing and then modding it??
2. I edited a deodexed mms.apk's mms_config for increasing receipient size and sms to mms conversion. But i wasn't successful. Do i have to make some changes in smali parts too? If yes, then what?
Thanks for the answers!
Sent from heaven!
Click to expand...
Click to collapse
1. deodex it first of course
2. i don't have any idea

Related

Modifying musicplayer.apk & other doubts regarding unpacking & packing apk!!

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

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

[Q] create a rom.

hi all, im trying to create a rom, and this is my progress. how to edit the framwork? please help
http://imgur.com/PCZShgL
http://imgur.com/wArD5yx
http://imgur.com/xUEjJon
saltalabanca said:
hi all, im trying to create a rom, and this is my progress. how to edit the framwork? please help
http://imgur.com/PCZShgL
http://imgur.com/wArD5yx
http://imgur.com/xUEjJon
Click to expand...
Click to collapse
Your question is too vague - state exactly what you want to do if you want support from members
There is lots of things you can edit in framework-res and android.policy
Best to type into Google what you want to do and search for a guide
It looks from your pics you have just created a working folder in kitchen
You need to decompile the apk you want to edit with apktool then edit xmls smalis and pngs - again search for a guide for exactly what you want to do
marcussmith2626 said:
Your question is too vague - state exactly what you want to do if you want support from members
There is lots of things you can edit in framework-res and android.policy
Best to type into Google what you want to do and search for a guide
It looks from your pics you have just created a working folder in kitchen
You need to decompile the apk you want to edit with apktool then edit xmls smalis and pngs - again search for a guide for exactly what you want to do
Click to expand...
Click to collapse
i replace the framework, and the systemUI dont think how to edit all, im very noob
saltalabanca said:
i replace the framework, and the systemUI dont think how to edit all, im very noob
Click to expand...
Click to collapse
again too vague - you cant just say you want to replace the SystemUI - that is an entire apk - Unless you are just going to replace it with a SystemUI.apk from another rom but I would not recommend that as if you are going to release the rom you wouldn't have permission to do so plus the apk may have dependences of other apks and mods that you would also need to include
You need to know exactly what you want to mod
If you want to mod the SystemUI.apk you would need to decompile the apk with apktool and edit what you want - You will find guides to do this if you search google - You will find a guide to decompiling apks in my signature which has all my threads.
If you want to add lidroid toogles for example search for galaxy y xda how to add lidroid toggles in google
Same if you want to edit the framework to add extended power menu search for that
You cant just say I want to replace this and that apk
Also calling yourself a noob is no excuse - You have to learn how to use google and how to use the search feature to find what you want to do and then read everything - Once you have understood the basics and you know what you want to achieve only then if after trying you can post in the respective threads for any support relating to the thread

[REQUEST] Smaller Navbar

Anyone know of a working smaller navbar mod (not using xposed) that works on MHC19I ? or able to point me in the direction of guide that allows me to attempt to make one myself ?
Looking to stay stock+rooted, rather than a custom rom.
TIA
EDIT - I've modified framework-res.apk for MHC19I - Grab it here. Mod changes navbar to 24 instead of 48 height.
* Backup your original /system/framework-res.apk and replace it with the download.
I'd recommend to flash resurrection remix rom where you can set the navbar to 24dp.
snachez said:
Anyone know of a working smaller navbar mod (not using xposed) that works on MHC19I ? or able to point me in the direction of guide that allows me to attempt to make one myself ?
Looking to stay stock+rooted, rather than a custom rom.
TIA
Click to expand...
Click to collapse
U can make it by editing framework-res.apk
Decompile framework-res.apk then go to res/values/dimens.xml there u can change it.
Rajeev said:
U can make it by editing framework-res.apk
Decompile framework-res.apk then go to res/values/dimens.xml there u can change it.
Click to expand...
Click to collapse
Thanks, I'll give it a shot !
snachez said:
Thanks, I'll give it a shot !
Click to expand...
Click to collapse
So I've decompiled and made the edit, recompiled and signed the apk, pushed it to my device and replaced the original.. but now it just sits on the bootup logo animination and I cant get past that stage.
Hopefully you have a backup that you can restore. If not, push the stock framework via adb
snachez said:
So I've decompiled and made the edit, recompiled and signed the apk, pushed it to my device and replaced the original.. but now it just sits on the bootup logo animination and I cant get past that stage.
Click to expand...
Click to collapse
U have done something wrong.. Which apktool u used to edit ?
Rajeev said:
U have done something wrong.. Which apktool u used to edit ?
Click to expand...
Click to collapse
I used apktool 2.0.3 from https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.0.3.jar
Signed with tool from http://forum.xda-developers.com/showthread.php?t=2723579
Many thanks for any advice
snachez said:
I used apktool 2.0.3 from https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.0.3.jar
Signed with tool from http://forum.xda-developers.com/showthread.php?t=2723579
Many thanks for any advice
Click to expand...
Click to collapse
Aww yuss. I followed a different guide from http://forum.xda-developers.com/showthread.php?t=1814441 and found I was missing a few steps (copying the META-INF etc)
Much success now.
For anyone interested, I've posted a modded framework-res.apk in OP... Flashable Zip my next project.
snachez said:
Aww yuss. I followed a different guide from http://forum.xda-developers.com/showthread.php?t=1814441 and found I was missing a few steps (copying the META-INF etc)
Much success now.
For anyone interested, I've posted a modded framework-res.apk in OP... Flashable Zip my next project.
Click to expand...
Click to collapse
Glad u made it dude.. Enjoy. Feel free to ask any helps

3minit

Has anyone taken the time to change deodex the SystemUI_ZTE file and making the edits to enable 3minit functionality yet? If so let me know, if not I am gonna work on it in the next few days. The pain was deodex odex files from what I remember, anyways thanks!
neo4uo said:
Has anyone taken the time to change deodex the SystemUI_ZTE file and making the edits to enable 3minit functionality yet? If so let me know, if not I am gonna work on it in the next few days. The pain was deodex odex files from what I remember, anyways thanks!
Click to expand...
Click to collapse
I can upload any deodex, file you may need to get to work,
I try but no luck and been short in time to keep trying.
P.S. B29.Community ROM & Dmix7 or any ROM base on both of my ROM are deodex.
If you can get me the the the deodex SystemUI_ZTE file I can get the other files needed if not I may have time to deodex it myself I just remember that deodex for odex file was a pain and I will have to teach my self how to do it again.
neo4uo said:
If you can get me the the the deodex SystemUI_ZTE file I can get the other files needed if not I may have time to deodex it myself I just remember that deodex for odex file was a pain and I will have to teach my self how to do it again.
Click to expand...
Click to collapse
No problem, I'll have a zip file ready later today with SystemUI and framework?
P.S. Superr's Kitchen is a beast for cooking ROM and Deodexing is what I been using by the way.
DrakenFX said:
No problem, I'll have a zip file ready later today with SystemUI and framework?
P.S. Superr's Kitchen is a beast for cooking ROM and Deodexing is what I been using by the way.
Click to expand...
Click to collapse
That will be awesome, then we can get some 3minit action going with some custom batteries
neo4uo said:
That will be awesome, then we can get some 3minit action going with some custom batteries
Click to expand...
Click to collapse
Yeah , that'll be awesome.... I'll have them ready in a few hours.
EDIT : @neo4uo
i'm about to get the zip file ready, which files you'll need? beside SystemUI_ZTE and Framework?
DrakenFX said:
Yeah , that'll be awesome.... I'll have them ready in a few hours.
EDIT : @neo4uo
i'm about to get the zip file ready, which files you'll need? beside SystemUI_ZTE and Framework?
Click to expand...
Click to collapse
All I need is the system ZTE deodexed I have the rest!
neo4uo said:
All I need is the system ZTE deodexed I have the rest!
Click to expand...
Click to collapse
okie, here is a bundle
enjoy and let us know about the progress
http://www.mediafire.com/file/79dch06482d7x39/3mint_work_files.zip
DrakenFX said:
okie, here is a bundle
enjoy and let us know about the progress
http://www.mediafire.com/file/79dch06482d7x39/3mint_work_files.zip
Click to expand...
Click to collapse
Thanks man I will get on it, if it goes alright you will have to start a thread in apps and themes and post the files since you are good at that kind of stuff
Well I got the files and made the changes and flashed and it.... Didn't work. Now when I was in one of the XML files making some edit I noticed that ZTE pulls it's battery file from another app kind of like 3minit does. So the problem is going to be tracking that down and making some more edits... Error oh well the standard procedure didn't work, but I have not given up it will take longer and I might have to change another app or have one deodexed, but I will let you know.
neo4uo said:
Well I got the files and made the changes and flashed and it.... Didn't work. Now when I was in one of the XML files making some edit I noticed that ZTE pulls it's battery file from another app kind of like 3minit does. So the problem is going to be tracking that down and making some more edits... Error oh well the standard procedure didn't work, but I have not given up it will take longer and I might have to change another app or have one deodexed, but I will let you know.
Click to expand...
Click to collapse
Any luck @neo4uo?
Wonder if anyone from 3minit thread can help.
DrakenFX said:
Any luck @neo4uo?
Wonder if anyone from 3minit thread can help.
Click to expand...
Click to collapse
Not yet I haven't had Romero work on it much. I did ask in the 3minit forum but haven't got a response yet
This guy got it working! I flashed the US version so fat do good.
http://forum.xda-developers.com/axo...-battery-mod-zte-axon-7-a2017g-t3537460/page2
add final version

Categories

Resources