modifying the Mms.apk - Galaxy S II Q&A, Help & Troubleshooting

hiho, i'm working on apks etc atm...
everything works til now (extended power menu etc)
but now i wanted to change some things in the mms.apk
i decompiled, didnt change anything, compiled again and its not working... i did this with apktool, and signed it afterwards, and also tryed without signing.
also i tried apk manager, but not working as well...
why? :s

i've got the same problem... someone knows sth about it? maybe someone can post his experiences?

Bump? :/
Sent from my GT-I9100 using XDA App

Cloud2F said:
hiho, i'm working on apks etc atm...
everything works til now (extended power menu etc)
but now i wanted to change some things in the mms.apk
i decompiled, didnt change anything, compiled again and its not working... i did this with apktool, and signed it afterwards, and also tryed without signing.
also i tried apk manager, but not working as well...
why? :s
Click to expand...
Click to collapse
[URL="http://forum.xda-developers.com/showthread.php?t=1113854"[/URL]
[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert
Sent from my GT-I9100 using XDA Premium App

Yea ty. That does not answer my question... I want to do it myself, and i did it just like its said there but its not working. I think the compression is the reason...........
Sent from my GT-I9100 using XDA App

found a way with apktool and apkmanager... just edit with apktool and sign with apkmanager, for those, who need the info... can be closed, ty

Related

Edit market apps

Hi
Is it possible to edit the apps you'we downloaded from the market, with other pictures etc like we do with the framework?
For example changing the icon shown in the app-drawer. In-app icons and so on..
Ive already tried but it didnt work...
Does it need some sort of signing to work?
Sent from my X10i using XDA App
tandfeen said:
Hi
Is it possible to edit the apps you'we downloaded from the market, with other pictures etc like we do with the framework?
For example changing the icon shown in the app-drawer. In-app icons and so on..
Ive already tried but it didnt work...
Does it need some sort of signing to work?
Click to expand...
Click to collapse
Any apk can be edited, some need signing, some don't, but you'll find most that you download will need to be signed.
How do you sign it after editing, so it is possible to install it on my 10?
Sent from my X10i using XDA App
youll need a program like apk manager, to sign etc..
there may be others, i use this one for messing around i think i have apk_manager-4.9
tandfeen said:
How do you sign it after editing, so it is possible to install it on my 10?
Click to expand...
Click to collapse
This should help - http://www.londatiga.net/it/how-to-sign-apk-zip-files/

Attn fellow themers: Meta/Ninjamorph question

As we all know, you can morph third-party apps in /data/app
would i be able to move a market app to /system/app and then morph it? has anyone attempted this?
Why would you need to move an app to /system/app? To stop it from upgrading? You can only accomplish it by a shell script or something.
birgertime said:
Why would you need to move an app to /system/app? To stop it from upgrading? You can only accomplish it by a shell script or something.
Click to expand...
Click to collapse
metamorph will not morph apps in /data/app....thats why i would need to move it
I cant think of any reason this would not work.. why not just try?
s15274n said:
I cant think of any reason this would not work.. why not just try?
Click to expand...
Click to collapse
im going to, gotta wait till i get home, so i figured in the meantime id check to see if anyone had ever done this. wasnt sure if it might lead to signature issues, or something along those lines
TopShelf10 said:
metamorph will not morph apps in /data/app....thats why i would need to move it
Click to expand...
Click to collapse
I was always under the impression that it does
birgertime said:
I was always under the impression that it does
Click to expand...
Click to collapse
i wish....stericson had said a couple months ago that he was working on it to function for /data/app, but there's been no follow-up on that yet
I've made morphs for market apps on several occasions...the most recent was changing the background on my meridian music widget.
To answer your questions, it works without causing any problems to the functionality of the app itself, nor have I had any issues from applying the morph with the apk still located in data/app. But, you will get errors when trying to apply an update through the market. This also screws things up when you have lots of updates and try to "update all." The updates will work fine until the market tries to update the one you modified, then all apps it tries to update after that will also come back with errors.
Since I don't check for updates often, I need that "update all" button to work properly - so I solved the problem by using Titanium Backup to detach the modified apps from the market. The downside is you won't see if an update is available, but an update would require you to uninstall, reinstall, then reapply the morph. Most updates aren't critical enough to go through that hassle...imo.
Hope that helps!
bnielsen40 said:
To answer your questions, it works without causing any problems to the functionality of the app itself, nor have I had any issues from applying the morph with the apk still located in data/app
Click to expand...
Click to collapse
did you use metamorph, or ninjamorph for this? im assuming you use ninjamorph to unzip, make your changes, rezipped, signed, and installed? im trying to bypass the signing/reinstalling because ever since i upgraded to froyo "signapktic" no longer works for me, so i cant sign apps on my phone.
thats the beauty of metamorph is that you can change images without needing to take all those extra steps.
i was certain you caouldnt metamorph an app in /data/app....
TopShelf10 said:
did you use metamorph, or ninjamorph for this? im assuming you use ninjamorph to unzip, make your changes, rezipped, signed, and installed?
Click to expand...
Click to collapse
Nope, used Metamorph. Never messed with Ninjamorph.
I actually do most of the work on my phone, so no need to unzip/rezip/unzip. Once it's unzipped on my phone I write/modify the xml file and move around the images to the folders they need to be in - all using Root Explorer.
For example, yesterday I tried applying MotorJohnny's Swype morph, but it didn't work because my Swype Beta had been installed in data/app and was "com.swype.android...something.apk" instead of "Swype.apk" in the system/app. So, all that was necessary was to modify the xml file to the correct filepath, folders, and apk name. Voila, worked like a charm. (well, the morph did...the buttons were a little screwed up having applied to to Swype beta haha): http://forum.xda-developers.com/showpost.php?p=13670377&postcount=42
How do you change .xml files on your phone. I didn't think it was poss to decompile and recompile .xml's on a device.....?
Sent from my SCH-I500 using XDA App
GrainOsand said:
How do you change .xml files on your phone. I didn't think it was poss to decompile and recompile .xml's on a device.....?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
You can rewrite without decompiling.....i use an app called "silveredit"....you can also use a simple text editor on your pc like "edit pad"
Sent from my pocket rocket!!
Any success morphing an apk in data/app Topshelf?
Sent from my Vibrant using XDA App
bnielsen40 said:
Any success morphing an apk in data/app Topshelf?
Sent from my Vibrant using XDA App
Click to expand...
Click to collapse
i have not tried, but i can confirm that i just successfully morphed a third-party app installed to /system/app
TopShelf10 said:
You can rewrite without decompiling.....i use an app called "silveredit"....you can also use a simple text editor on your pc like "edit pad"
Sent from my pocket rocket!!
Click to expand...
Click to collapse
Yeah Top, I know you can use note pad, but im very curious how you edit xml.s without a pc. I have ported whole themes using ninjamorph and zip themer but any xml I had to edit had to be done on my comp. Even if I used ninjamorph to extract the .xml, I could never edit it on phone alone. The Xml would just look like garbled code...i will check out silveredit tho.....If you get a chance check out Xml engine..just search in market It looks promising but is still in alpha....thanks
Sent from my SCH-I500 using XDA App
I have changed market apps with ninja morph. You need signaptic from the market to resign it when your done. There os a bit of w down side to it but it works well.
Sent from my SGH-T959 using XDA App
gunked said:
I have changed market apps with ninja morph. You need signaptic from the market to resign it when your done. There os a bit of w down side to it but it works well.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Yup, I talked about this earlier in the thread
Sent from my pocket rocket!!
I was just gonna say that.. or use ZIPsigner2. its free on the market to sign the apk when finished
Annex1 said:
I was just gonna say that.. or use ZIPsigner2. its free on the market to sign the apk when finished
Click to expand...
Click to collapse
Or get ahold of a metamorph zip. Prefferable a whole theme zip. You want the control file.....now rename the zip to .apk using root explorer, then use ninjamorph to decompile your new .apk file and delete everything in it except the .xml control file. Now take your new .png files and add them to the decompiled .apk in the correct folder or you may move whole folders if you like. After you have all your files in place use ninjamorph to recompile but dont choose to replace exsisting. Just hit no. this will leave your .apk in the workspace folder of ninjamorph. Go into root explorer and rename it back to .zip and move it to root of sd. Now go into zip themer and choose that zip file. Now change the output to /sd/whatever.zip, now hit build. Zip themer will build you a CWM flashable zip with all the mods for whatever apk.s you included using the exsisting files on your phone....not the easiest way and I wouldnt reccommend it just to theme 1 app. But if you want to theme multiple apk.s, even the ones ninjamorph cant theme like Swype and apps in data folder It works flawlessly....sounds like alot but literally takes 5min using root exp to move whole groups of .pngs instead of 1 at a time with ninjamorph and this can all be done without a computer.
Sent from my SCH-I500 using XDA App

How to stop Coneverting SMS to MMS without using VillainROM

Is there any Mod that fixes that stupid converting to MMS. I think VillainTweaks fixes this Problem but I am using Lightning Rom which is afaik not supported so thats why I am asking if somebody has a modded .apk or something like that.
Yes, its easy to cook your own apk using apk manager 4.9
extract your mms.apk (make a backup) decompile it, edit the res/xml/mms_config.xml
look for the line
<int name="smsToMmsTextThreshold">4</int>
this means it will change a 4 part sms to a MMS
change to something like
<int name="smsToMmsTextThreshold">40</int>
recompile, sign, and replace back into system/app/
I have just done this to mine
Hi
Thank you for the apk. Ive taken it and want to replace it, how do i do this?
Ive tried through root explorer and it didn't work. (i deleted the old and put this in and now i dont have messaging at all).
How would i replace to root explorer?
Thanks
Try using the Handcent app, i was trying to fix this problem with my new SGS2 myself when a friend told me about the app..
Opollo said:
Try using the Handcent app, i was trying to fix this problem with my new SGS2 myself when a friend told me about the app..
Click to expand...
Click to collapse
+1 Handcent
Good, well I have the same problem! 've walked a few things to try! and the exprimentei Handcend, but I do not detect all the contacts! someone already got the solution!?
greetings
Maybe you guys haven't set the right permissions
Sent from my GT-I9100 using Tapatalk 2

Changing icons for apps

I would rather not install another app to change icons. How involved is it to actually pull the apk from the ROM, replace the stock icon and push it back through.
I messed with this some on my Vibrant decompiling apk's and doing basic icon and xml changes but that was so long ago I don't even know if the process is relevant. I also only played with non stock apks like launchers, never anything that is already compiled to the ROM initially.
I'm wanting to push in custom icons for Facebook, Twitter, camera, market ect....
Thank you
Sent from my PG86100 using xda premium
blizzard1017 said:
I would rather not install another app to change icons. How involved is it to actually pull the apk from the ROM, replace the stock icon and push it back through.
I messed with this some on my Vibrant decompiling apk's and doing basic icon and xml changes but that was so long ago I don't even know if the process is relevant. I also only played with non stock apks like launchers, never anything that is already compiled to the ROM initially.
I'm wanting to push in custom icons for Facebook, Twitter, camera, market ect....
Thank you
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
After you decompile look in the hdpi folder I and replace the picture named icon with one that have the same dimensions.
I think I'm not sure it was a long time when I messed with apps
Sent From My Optimized R3Dimensions
Kratz17 said:
After you decompile look in the hdpi folder I and replace the picture named icon with one that have the same dimensions.
I think I'm not sure it was a long time when I messed with apps
Sent From My Optimized R3Dimensions
Click to expand...
Click to collapse
Me too this is why I wanted to dbl check. Also, some of these apps split to another folder right? Would I need to pull both?
Sent from my PG86100 using xda premium
Its not all that difficult, just have to decompile the app, swap icons in res/drawable/ folder I believe(might have to look elsewhere), recompile. Then as long as it's NOT a system app, sign it. Then push back to phone. There are a couple of tools to use. I like using just apktool, but apk Multi-Tool is good as well. Try them out, see which you like more.
Apk Multi-Tool
apktool
Do note though, doing it this way, whenever the app has an update(facebook, twitter,etc.) you will have to re-do this. Let me know if you have any other questions, i'll try to help.
and p.s. shortercut is a good lightweight app to add custom icons.
blizzard1017 said:
Me too this is why I wanted to dbl check. Also, some of these apps split to another folder right? Would I need to pull both?
Sent from my PG86100 using xda premium
Click to expand...
Click to collapse
you can (most of the time) swap the icon with 7zip, no need to decompile and recompile. Some apps put the icon in /res/drawable, some in /res/drawable-hdpi. If you need more help after trying this out go to the theme help link in my sig.

Apktool help

Hi,
I can decompile/compile/sign/zipalign fine using apktool, but when i have decompiled framework/systemui all the xml files come out with huge gaps between the coding. im using notepad++ to view/edit xml.
It doesn't affect the compiling but its hard to find code to change.
example: a normal xml with 5 lines of code will come out with about 20-30 lines.
Am i doing something wrong or is it apktool?
thanks.
stealo said:
Hi,
I can decompile/compile/sign/zipalign fine using apktool, but when i have decompiled framework/systemui all the xml files come out with huge gaps between the coding. im using notepad++ to view/edit xml.
It doesn't affect the compiling but its hard to find code to change.
example: a normal xml with 5 lines of code will come out with about 20-30 lines.
Am i doing something wrong or is it apktool?
thanks.
Click to expand...
Click to collapse
Its an APKtool issue, emmm I got alot of errors using apk manager and apktool, I dont know whats the problem and still didnt find a solution. Everytime I use it I have to have errors... and its annoying
I could do many stuff if it would work !!
do you want my apktool folder? i can try and help if its the same as my setup. its a bit messy but works.
Sent from my GT-I9100 using xda app-developers app
stealo said:
do you want my apktool folder? i can try and help if its the same as my setup. its a bit messy but works.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
check the link below ma8, even though its a mod tutorial thread, u have some usefull info regarding APK tool and also about decompile/recompile subject's over there, which might help u with ur issue
http://forum.xda-developers.com/showthread.php?p=29020343&posted=1#post29020343
Sun90 said:
check the link below ma8, even though its a mod tutorial thread, u have some usefull info regarding APK tool and also about decompile/recompile subject's over there, which might help u with ur issue
http://forum.xda-developers.com/showthread.php?p=29020343&posted=1#post29020343
Click to expand...
Click to collapse
cheers.
i saw that this mornong. i got sweet [email protected]#k all done at work today. playin around with all that stuff. ive switched back to cm9 stable. still got issues with the xml's, a door knob probably knows more than me though.
Sent from my GT-I9100 using xda app-developers app

Categories

Resources