[MOD/HOWTO] SMS + No contact limit + No MMS convert + Sent time [JVX/JVT/JVQ/JVP/JVH] - Galaxy S I9000 Android Development

UPDATE!
07/12 JVX added
14/7: JVT version added
14/7: JVQ CWM flashable versions for odexed and deodexed! Massive props to to $omator for this, who obviously knows a lot more about creating CWM zips than I do. Go to his post to download, and thank him while you're at it!
30/6: New JVQ version, thanks again bigdyl69! Get it here.
13/6: JVP version now exists, get it here thanks to bigdyl69!
21/5: Added Froyo JSD and Ginger JVO versions.
10/5: Added JVH version
Ok, this does what it says on the tin. It's a mod of the JVX messaging app that adds 3 often requested features:
No autoconvert to MMS after 3 messages
Sending to unlimited contacts
Sent time instead of received time. If you turn off your phone, messages you get whilst it's off will have the right time!
To install:
Simply copy the included apk depending on your system version to /system/app/Mms.apk, and make a backup first just in case.
Notes:
Your ROM MUST be deodexed!
If it doesn't work, clear the cache, the Dalvik cache, and also clear data for Messaging under Settings->Applications->Manage Applications (it won't delete your messages).
If the times are off by several hours download SMS Time Fix and set it the the correct number of hours to fix the timestamps.
The JVB MMS apk is actually from Darky's 10 RC6, but I don't think it's different from the default.
If I get enough requests for:
Other versions (e.g. JVK, etc)
CWM flashable versions
I'll make them.
Hope this is useful to people!
Massive props to ykk_five for his original mod! I couldn't have made this without his help.
HOWTO
Do you theme your Mms app? Got a custom ROM going on and want to do this yourself? Well here's how!
Download Apk Manager from here.
Get your Mms.apk from /system/app/Mms.apk
Get your twframework-res.apk from /system/framework
Open up Apk Manager and choose option 22
Select Mms.apk as your project
Select option 10 (decompile with dependencies)
When it asks you for your dependency, drag and drop twframework-res.apk into the window and press enter
When that's done, go into apk_manager/projects/Mms.apk
Under /res/xml open up mms_config.xml
Go to: <int name="recipientLimit">10</int> change this to -1
Go to <int name="smsToMmsTextThreshold">4</int> Change this to 100
Now open up /smali/com/android/mms/transaction/SmsReceiverService.smali and open it in any text editor.
Search for 'time'. There will be one entry at approximately line 523
Replace this with: invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
There will be another at approximately line 2270.
Replace this with: invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J
Save and close them all and go back to apk manager, option 11 'compile'
When you're done, it'll tell you about a 'keep' folder. Go delete mms_config.xml, and in the keep folder also delete resources.arsc and classes.dex
Copy your new Mms.apk to your phone! Don't forget to back up your old one in case you make a mistake.
If you get errors, check the log for mentions of 9.png errors. If they are there, fix your 9 patch files! Use google for that, I'm not explaining how to do this.
If you can't be bothered to do this or don't know how, send me a PM! I've made more than 8 custom Mms.apks for people so far.

Did you know that this was the thing I look for?
Thank you!
I'll provide feedback in case of any problems.

I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?
Cheers

NeoXTC said:
I was wondering if I use handcent sms do I still need this if I wanted the "sent time" instead of receive time?
Cheers
Click to expand...
Click to collapse
No, this is only a modification to the stock SMS app, sorry.

Hey mate,
What did you change in the apk to remove the mms convert?
I am trying to edit the TW4 mms.apk to be the same as what you've done.
Thanks!
Otherwise, Could you make the same changes to the attached mms.apk?
this is the TW4 one.

Ryyuu said:
Hey mate,
What did you change in the apk to remove the mms convert?
I am trying to edit the TW4 mms.apk to be the same as what you've done.
Thanks!
Otherwise, Could you make the same changes to the attached mms.apk?
this is the TW4 one.
Click to expand...
Click to collapse
Under res / xml / mms_preferences.xml change
<int name="smsToMmsTextThreshold">3</int>
To something like 100. I'd just make the edit for you but I'm not at home

Fantastic!!
Thanks mate.
What about the received time setting too?
Also, How are you decompiling and editing your apk's?
I'm on a mac so have been using Betterzip to extract them and KOD to edit them... but i'm afraid i'm still seeing all scrambled text...

Ryyuu said:
Fantastic!!
Thanks mate.
What about the received time setting too?
Also, How are you decompiling and editing your apk's?
I'm on a mac so have been using Betterzip to extract them and KOD to edit them... but i'm afraid i'm still seeing all scrambled text...
Click to expand...
Click to collapse
Ehhh, received time edit involves decompiling and editing the smali files, so it's a little more complex.
As for decompiling/editing, I use apk manager, which is Windows only as far as I know. I run it on my mac using Boot Camp. Also, it won't decompile properly without using the twframework-res.apk dependency file, so make sure you have the tw4 equivalent of that. PM me if you're game to try the smali editing.

Thank so much for your help mate.
I have successfully edited the TW4 mms.apk to remove the SmsToMms conversion.
I'll create a topic for it. But thank you very much for your help. I might have a look at converting the time too. I'll send you a PM.

icon missing
hello, after replaced and rebooted, Messaging icon dissappeared from bottom bar of twiz. Any idea how to bring it back...Sms works normally, sending time shown, as expected.

ruh01 said:
hello, after replaced and rebooted, Messaging icon dissappeared from bottom bar of twiz. Any idea how to bring it back...Sms works normally, sending time shown, as expected.
Click to expand...
Click to collapse
[Solved by Ryyuu, scroll down]

All you need to do to fix this is open the app drawer, press edit, find the messaging icon and drag it to the dock.
This can sometimes happen when playing around with apk's.
Fixed.

You don't imagine how much I am thankful to you. I was looking for this very mod. Thank you so much. It works like a charm on my SGS with Darky's v10.RC6

hi,good work.would you please tell me,which xml or smali files to edit or post it as sources files for developers?I would like to insert it into my transparent mms app.

pauldiddy said:
hi,good work.would you please tell me,which xml or smali files to edit or post it as sources files for developers?I would like to insert it into my transparent mms app.
Click to expand...
Click to collapse
For xml, go to res/xml/mms_preferences.xml, then edit recipientLimit and smsToMmsTextThreshold to something overly large, I used 100 as it seems no one will breach that limit.
As for the sent time, just decompile this and stock Mms.apk and do a windiff on the smali folders. There's 2 lines changed which will jump right out.

Hi.Thanks works perfect on deodexed JVB.

montymintypie said:
For xml, go to res/xml/mms_preferences.xml, then edit recipientLimit and smsToMmsTextThreshold to something overly large, I used 100 as it seems no one will breach that limit.
As for the sent time, just decompile this and stock Mms.apk and do a windiff on the smali folders. There's 2 lines changed which will jump right out.
Click to expand...
Click to collapse
thank you,got it.

I know this may be a little off topic but would this modification work on the JPY froyo MMS.apk? I have decompiled it and looked at the xml and there is a mms_config.xml file with the following code in it:
<?xml version="1.0" encoding="UTF-8"?>
<mms_config version="4">
<bool name="enabledMMS">true</bool>
<int name="maxMessageSize">307200</int>
<int name="mmsHeaderSize">5120</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<int name="defaultSMSMessagesPerThread">200</int>
<int name="defaultMMSMessagesPerThread">20</int>
<int name="minMessageCountPerThread">10</int>
<int name="maxMessageCountPerThread">5000</int>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-i9000.xml</string>
<string name="userAgent">SAMSUNG-GT-I9000-Mms/2.0</string>
<string name="uaProfUrlS1">http://wap.samsungmobile.com/uaprof/GT-i9000.xml</string>
<string name="userAgentS1">SAMSUNG-GT-I9000-Mms/2.0</string>
<string name="uaProfUrlApollo">http://wap.samsungmobile.com/uaprof/GT-i5801.xml</string>
<string name="userAgentApollo">SAMSUNG-GT-I5801-Mms/2.0</string>
<int name="recipientLimit">100</int>
<int name="smsToMmsTextThreshold">100</int>
</mms_config>
Click to expand...
Click to collapse
As you can see I've edited the bottom two lines of code like what you have done to the JVB MMS.apk. Do you think this will work?

It should work just as well on the JPY version, compile it and give it a go!

montymintypie said:
It should work just as well on the JPY version, compile it and give it a go!
Click to expand...
Click to collapse
Well I tried it and it kind of works. I can send a message up to 7 messages long and it doesn't auto convert but if I try to make the message any longer it tells me 'Maximum number of characters reached' so it sort of works. Do you know of any way around this or is it best to just leave it? Probably won't ever need to send a sms longer than 7 messages long but just thought I'd ask

Related

[DPI] Dialer, MusicPlayer, Calc, FM, Camera + GUIDE +utility(kinda)

Hello, you all know that when you change screen density in build.prop a problem with some apps appears.
[MultiDPI]GalaxySpack-CWM.zip contains Dialer, Music Player, FMRadio, Calculator
all modded to support multiple DPI
You can just flash this via CWM or extract individual APKs and replace them in /system/apk/
Newest: Camera.apk
Video Player
How to do it yourself? (example on DialerTabActivity.apk)
* its quite easy, if you want do fix any app you need to know how to edit .xml files, have some basic knowledge about android layout files. If you just want to repack Dialer its easier, because I supply the layout file you just need to recompile the file with apkmanager replacing one of layout files
- download layout_resize.zip file attached (you are welcome to improve the app);
- download APK Manager;
*optional step, not sure if its needed: get framework files from your device and goto apk_manager_4.9\other and install framework files:
Code:
java -jar apktool.jar if "[dir]\apk_manager_4.9\twframework-res.apk"
Code:
java -jar apktool.jar if "[dir]\apk_manager_4.9\framework-res.apk"
- copy DialerTabActivity.apk from your device to "\apk_manager_4.9\place-apk-here-for-modding"
- start script.bat and select decompile apk (if it doesnt work you probably need to do optional step and then try with dependencies, skipping part where it asks for apks)
* now there comes my small commandline java utility - it resizes (replaces hardcoded dip values with 1,5 times bigger rounded px values) layouts in files passed by commandline.
-copy .xml files you want to modify to its dir;
-invoke by (or just use convert_all.bat, now working, thanks Einride!) (windows!):
Code:
for /f %a IN ('dir /b *.xml') DO call java LayoutResizer %a
(idk why resize_all.bat doesnt work)
- modified files are in converted directory, you need to copy them over files in apk_manager_4.9\res\
- hit compile apk
- select yes for system apk and yes for min # of errors
- delete \apk_manager_4.9\keep\resources.arsc and \apk_manager_4.9\keep\res\layout\dialer_app.xml (and any other xml file corresponding to one you have modified
- hit any key
- the apk you need to copy back to your phone is \apk_manager_4.9\place-apk-here-for-modding\unsignedDialerTabActivity.apk
If any rommakers would like to include these apks feel free to do so
Also you are welcome to fix remaining apps including:
-clock
-calendar
-allshare
kudos:
APKTOOL + SIGNAPK authors
APKMANAGER author
xan said:
Hello, you all know that when you change screen density in build.prop a problem with some apps appears. On my first attempt to correct that:
Modded TW calculator (which i kinda like), to work with 200dpi density.
It may not be pixel perfect but hell it works
kudos:
APKTOOL + SIGNAPK authors
Click to expand...
Click to collapse
So, this is for people who change the screen density to 200 dpi, right?
This is a great idea! Do you take requests?
Such a great idea! I'm on 170 density, but i'll give this a go anyway.
You'll become loved if you end up doing this to all the apps that don't scale correctly!
Sent from my GT-I9000 using XDA App
The dialler is the main one.
Sent from my GT-I9000 using XDA App
Hello,
How do you change the screen density?
kevnangel said:
Hello,
How do you change the screen density?
Click to expand...
Click to collapse
Hi you have to be rooted download lcddensity from the market.
Yes, this is for those who changed density to 200 or less (still looks better than stock one).
This was just a proof of concept, the main aim is to mod Phone.apk. At this stage I'm able to repack it, but due to its complexity and the fact its system apk, I'm doing something wrong. This needs more time, but I will try to figure it out today.
And yes, Samsung's layout files are a mess. Phone.apk >40 layout files.
No requests, since its kind of time demanding task, you can post list of STOCK apps that dont scale well for reference. After I'm done with Phone I'll write some guide.
Thanks for the great modification. I tried to onstall it on my Galaxy tab and it actually worked. Not perfect for the tab but Hey it works atleast, however, it keeps forcing close everytime i try to go landsacpe! It would be excellent if you would fix this cheers
Any screenshots of how the phone looks with a different DPI?
DistortedWisdom said:
Thanks for the great modification. I tried to onstall it on my Galaxy tab and it actually worked. Not perfect for the tab but Hey it works atleast, however, it keeps forcing close everytime i try to go landsacpe! It would be excellent if you would fix this cheers
Click to expand...
Click to collapse
Hm, I have no idea what is causing this.
About screenshots -> it looks almost exactly the same as 'normal' TW calculator on standard 240dpi.
xan said:
Yes, this is for those who changed density to 200 or less (still looks better than stock one).
This was just a proof of concept, the main aim is to mod Phone.apk. At this stage I'm able to repack it, but due to its complexity and the fact its system apk, I'm doing something wrong. This needs more time, but I will try to figure it out today.
And yes, Samsung's layout files are a mess. Phone.apk >40 layout files.
No requests, since its kind of time demanding task, you can post list of STOCK apps that dont scale well for reference. After I'm done with Phone I'll write some guide.
Click to expand...
Click to collapse
Thx for this!
Any news on this phone.apk?
STOCK apps that dont scale well are:
Phone (Keypad)
Calculator (Keypad)
FM-Radio (Pad and some button)
Camera (settings)
If you can these working that would be awsome!
I'm using the lowest possible setting without crashing contacts => 182
Rgds
SamHaLeKe said:
Thx for this!
Any news on this phone.apk?
Phone (Keypad)
Click to expand...
Click to collapse
Dialer uploaded to first post
any screen shots`?
first doc's kichen and now this
yeey!
happy newyear xan!
edit: tested and working, looking better now, using 182 ppi as that is perfect for me and the lowest setting without contacts crashing.
want to have the maximum space...
Sent from my GT-I9000 using XDA App
xan said:
Dialer uploaded to first post
Click to expand...
Click to collapse
working great! you did it xan!
can you please have a look to the other apk's like fm-radio? perhaps you can add more plus buttons to?
Sent from my GT-I9000 using XDA App
xan great work bud, wanted to ask something, i have a themed Samsung Dialer, and i'm guessing just copying/pasting the images from that to your modded one won't work properly? If so, is it possible to make the themed Dialer apk into 200DPI?
Cheers!
Yes it will overwrite. Yup, themed 200dpi dialer is possible, just attach DialerActivity.apk here
I am using 182 but I hope it still looks better than the stock one!
xan said:
Yes it will overwrite. Yup, themed 200dpi dialer is possible, just attach DialerActivity.apk here
Click to expand...
Click to collapse
Thanks mate, attached

[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert

[MOD][GUIDE] Mms.apk with Sent time/"Unlimited" Contacts adding//No MMS Convert
MMS.apk mod for Samsung Galaxy S II by muveszur (me)
First of all, I have to say Thanks to montymintypie for his work on Galaxy S!!!
Attention! This mod is working only deodexed roms!
I tested on VillainROM 1.1!​
The Mms.apk has the following moddings:
Sent Time displayed instead of the Received Time
No AutoConverting messages to MMS after 4 SMS.
In my mod, it will be converted to MMS after 200 SMS.
Possible to add to the message 200 contacts instead of 20 contacts.
Click to expand...
Click to collapse
HOW TO - For Developers
Change the AutoConverting:
In /res/xml/mms_config.xml change the following values at line 19:
Code:
<int name="smsToMmsTextThreshold">4</int>
to:
Code:
<int name="smsToMmsTextThreshold">200</int>
Increase Contacts adding for the message
In /res/xml/mms_config.xml change the following values at line 19:
Code:
<int name="recipientLimit">10</int>
to:
Code:
<int name="recipientLimit">200</int>
Display Sent Time instead of the Received Time
In /smali/com/android/mms/transaction/SMSReceiverService.smali change the following values at line 589:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to:
Code:
invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
And change the following values at line 2383:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to:
Code:
invoke-virtual {v0}, Landroid/telephony/gsm/CbMessage;->getTimestampMillis()J
Click to expand...
Click to collapse
Installing with RootExplorer- For Users
Download the Mms.apk from the attachment
//In /system/app rename the Mms.apk to Mms.apk.bak - It is a backup step
Copy the downloaded Mms.apk to the /system/app folder, and overwrite the original Mms.apk file
Reboot your phone
If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings
Click to expand...
Click to collapse
Installing from CWM- For Users
Download MMS_mod_cwm_by_muveszur.zip from the attachment
Go to the CWM
Select Install zip from sdcard--->Choose zip from sdcard, and select the MMS_mod_cwm.zip
After the installation done, reboot your phone
If you are using TouchWizLauncher, you have to erase the data of the launcher in the Settings
Click to expand...
Click to collapse
If you like my work, give me a beer, or just hit the the Thanks button
DONATE
AHA. So that's how you change the time to sent time, rather than received time... I had both these other features, but couldn't find that one.
Nice work
very nice thank u for this !
Thanks for share.
Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
clecle69000 said:
Thanks for share.
Do you think it is possible to create a mod who disable the 10 contacts limit on sms send ?
Click to expand...
Click to collapse
This mod is contains too... now the limit is 200
"send time" not working
Hi!
for me it still does NOT show the real sent time.
can anybody confirm?
May I ask how you edit the .xml files? What method or program are you using.
If I am to change just the AutoConverting setting in my own mms.apk file, will this cause me issues as I am still on an odexed rom?
Excuse me, I modified my MMS.apk following your advises .
I still canno't add more than 10 contacts per message.
I have verified the MMS config . xml and the mod is set to 200.
What's wrong ?
Edit : need to clear data for Messaging
Works on Villian Rom 2.0.
hi,
I am trying to make those changes in the official froyo mms sources and another version of mms.apk for my zte blade.
In the file you mention (SmsReceiverService) there is only one match for currentTimeMillis. I cannot find the second reference anywhere.
Could you point the exact class name or part of code where the second change should be made?
Great work!
Noob question, where exactly in settings do i have to go in order to erase the TW Launcher settings?
Thanks in advance..
ammarselo said:
Great work!
Noob question, where exactly in settings do i have to go in order to erase the TW Launcher settings?
Thanks in advance..
Click to expand...
Click to collapse
settings>applications>manage applications , then go to tab "All" and find the TwLauncher.From there just hit the clear data.Hope to help
Why should this not work on stock roms? I'd say it should!
This is not Working on KG1
I have edit step by step exactly with your How to my Mms.apk from KG1.
After compiling and push back to phone, the mms.apk is working but:
this mod take no effect.
Still just 10 contacts to add
Still received time
Any advice how to get it working on KG1?
afilopou said:
settings>applications>manage applications , then go to tab "All" and find the TwLauncher.From there just hit the clear data.Hope to help
Click to expand...
Click to collapse
That's right!, silly me
Thanx!
Does anyone successfully get this work on KG1?
Sent from my GT-I9100 using Tapatalk
_JKay_ said:
Why should this not work on stock roms? I'd say it should!
Click to expand...
Click to collapse
with stock xwkf3 works just fine.no problem at all
Can anyone with the correct experience update this for the XXKG2 that recently came out, the 2.3.4 and not the 2.3.3
Can someone pick up this mod and prep it for XXKG2 and XXKG3 Odex and Deodex versions?
+1. Can someone please make this work on XXKG2 and odexed? Deodexing messes with browser hardware acceleration

[HOW-TO] Add Another Thread in Settings | About Device

No as such device or specific fw requirements for this guide/How-to to work.
Ok, so this would be my first ever tutorial on XDA so bear with me. I would try to explain as much as possible.
This How-to focuses on adding another info section in settings.apk. This guide is intended to be used by ROM Devs and Themers. I did a thorough research if their is any guide similar to this in this forum section but couldnt find any so here it goes.
Prequistes:
Be able to Decompile/Compile apks
Notepad++
Patience
Firstly you have to decompile SecSettings.apk (If you are using JB fw) or Settings.apk (If you are using ICS fw) it doesn't matter which fw you are using the rest of the guide will be the same.
After you have decompiled the SecSettings.apk or Settings.apk, go into the folder you decompiled to then res/values/strings. Open strings with any code editor such as Notepad++ after that add these two lines before the end line:
<string name="mod_version">XenonMOD version</string>
<string name="mod_version_info">Xenon-v2.00.00</string>
Click to expand...
Click to collapse
NOTE: You can change XenonMOD version to anything you like and also Xenon-v2.00.00. I am using these as a example.
Next go to res/xml/device_info_settings.xml and add these lines before the ending line:
<Preference android:key="mod_version" style="?androidreferenceInformationStyle" android:title="@string/mod_version android:summary="@string/mod_version_info" />
Click to expand...
Click to collapse
Now recompile everything. If you have done everything as stated you should end up with a perfectly good SecSettings.apk or Settings.apk that has a another info/thread added to it. Congratulations!
NOTE: You can use this guide to add whatever info you want to the Settings section.
Follow me on twitter @TaimurAkmal. I would be able to solve any problem that you may have quicker, if you reach me with a tweet.
Don't forget to leave a Thanks by pressing the Thanks button which is placed bottom-left of this post!
Nyc Work
Leave a Thanks and it would make my day.
ahh sorry i forgot to
now done
Nice, unfortunately this didn't work on my Nexus, when I copy paste then it's not normal if I follow the other lines in that file I put the texts the correct sequence then I can successfully compile settings.apk and when I replace settings.apk it is not shown and not working, I have also tried by signing apk via Dsixda's android kitchen but still the same issue, btw: I use latest Android version on my Nexus and I don't think that is the issue...
Maybe something to do with SettingsProvider.apk or does smali files need editing?
Thanks
manumanfred said:
Nice, unfortunately this didn't work on my Nexus, when I copy paste then it's not normal if I follow the other lines in that file I put the texts the correct sequence then I can successfully compile settings.apk and when I replace settings.apk it is not shown and not working, I have also tried by signing apk via Dsixda's android kitchen but still the same issue, btw: I use latest Android version on my Nexus and I don't think that is the issue...
Maybe something to do with SettingsProvider.apk or does smali files need editing?
Thanks
Click to expand...
Click to collapse
the problem is the parsing, he forgot to add another " after
this is the correct code
Code:
<Preference android:key="mod_version" style="?android:preferenceInformationStyle" android:title="@string/mod_version" android:summary="@string/mod_version_info" />
nice guide, this is what i searching for. Thanks :good:

[MOD][DIY] Get Working MMS + SMS Auto-Split for CM10.1 and AOSP ROMs

So I've made this mod for myself for a long time now, I've had numerous requests from people to add this to CM's source, I have no idea nor interest in doing that but if anyone out there wants to, go ahead.
Anyway this mod is for users of CM 10.1 nightly's and other AOSP based ROMs (PACMan, Slim ROM, AOKP, etc) . I haven't used it in a while so I'm not sure if this is even needed.
This mod will get MMS working properly and will also allow you to send multiple messages without having to stop at 160 characters per message.
You need apktool to decompile the apk, I use this version (apktool.jar and aapt.exe)
-First, get these two apk's from your current CM 10.1 build onto your computer
*/system/app/Mms.apk
*/system/framework/framework-res.apk
-Next, place those apk's in your apktool directory. Open up a command prompt, CD your apktool folder and issue the following commands
Code:
apktool if framework-res.apk
apktool d Mms.apk
-In your decompiled Mms.apk folder, navigate to /res/xml/ and replace the mms_config.xml with this one
-Once that xml is replaced recompile the Mms.apk. In case you're not too familiar with apktool you do so my issuing this command
Code:
apktool b Mms Mms-mod.apk
-In your apktool folder you should see the Mms-mod.apk. Drag and drop the META-INF folder and AndroidManifest.xml from the original Mms.apk into your Mms-mod.apk
-Lastly, rename your modified apk to just Mms.apk and make a flashable zip for yourself. Here is a DIY I wrote up a while back for that.
I'm not on XDA much anymore so I won't take requests to this for every nightly, however if someone wants to add this to CM's code feel free!
Happy Holidays
if the link for the modified mms_config.xml isn't working use this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
</mms_config>
This doesn't seem to work for me. Got it all put together, pushed it to my device, and it runs but doesn't show the extra options.
bmxchampga said:
This doesn't seem to work for me. Got it all put together, pushed it to my device, and it runs but doesn't show the extra options.
Click to expand...
Click to collapse
It works, there's really no new options within the Settings menu besides the add a counter split, which folks should enable just to be safe.
Sent from my SPH-L710 using Tapatalk 2
nice work thank you
Anyway to get a zip for this so it's flashable? I'm not experience with code edits
interhawk1 said:
Anyway to get a zip for this so it's flashable? I'm not experience with code edits
Click to expand...
Click to collapse
Seconded, I'm currently at work and to be provided with a flashable zip would be awesome and I'd be eternally grateful.
This was the only thing I couldnt get working on this version of the rom but unfortunately the instructions are only for seasoned veterans and theres no way for anyone to learn anything here. Surely if nobodys going to teach people the full method then someone can make this a flashable zip and upload it.
xtool said:
This was the only thing I couldnt get working on this version of the rom but unfortunately the instructions are only for seasoned veterans and theres no way for anyone to learn anything here. Surely if nobodys going to teach people the full method then someone can make this a flashable zip and upload it.
Click to expand...
Click to collapse
Lol. What are you having trouble with? The only pre req is you have apktool set up. If you wanna get apktool set up, Google "How to Set up apktool Windows" (or Mac or whatever you have)
I gave a link to the apktool I use and I even typed out the commands needed. But don't say you can't learn anything here; when I was all into development I learned about 75% of easy mods on this site.
Sent from my SPH-L710 using Tapatalk 2
I've read it a bunch of times and haven't a clue where to start.
xtool said:
I've read it a bunch of times and haven't a clue where to start.
Click to expand...
Click to collapse
I edited my post above. The only pre req is you have apktool set up. Start there. I'll be @ my laptop later n can post a link to a tutorial for that. You only need to download JAVA, then use the link in my original post to get the latest apktool.jar and aapt.exe
Sent from my SPH-L710 using Tapatalk 2
Alright here is a guide on how to set up apktool (Windows)
Download JAVA found here. If you're not sure which version of Windows you have (x64 or x86) look under System Info, it'll be under System Type
After you install JAVA navigate to C:\Users\Owner (*Note: "Owner" can be your computer name. ex: C:\Users\Steve\)
Create a folder called apktool
Next, download this package I made for Windows users, it has the latest apktool files for Windows users
Extract it using 7-Zip
Open the extracted folder and copy/paste all of the contents into your C;\Users\Owner\apktool folder
Then follow the instructions in the OP
As soon as you open the command prompt type this
Code:
cd apktool
Then follow the rest as is. If you're having issues getting the framework-res.apk and Mms.apk from your phone to your computer you can email them to yourself or upload them to dropbox or some other file sharing site then download them to your computer
Thank you for the tutorial and how to unpackage (decompress) apks.
I did this for the JellyBean [4.2.1] Beta 2 Rom, got the MMS.APK outta there.
APKTooled it, added the splitsms to true.
Repackaged
Did the zip tutorial and made the zip.
Flashed the zip
It still doesn't auto split.
Any suggestions?
My MMS config:
"<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-GT-I9100-Mms</string>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-I9100.xml</string>
</mms_config>"
MadDucker said:
Thank you for the tutorial and how to unpackage (decompress) apks.
I did this for the JellyBean [4.2.1] Beta 2 Rom, got the MMS.APK outta there.
APKTooled it, added the splitsms to true.
Repackaged
Did the zip tutorial and made the zip.
Flashed the zip
It still doesn't auto split.
Any suggestions?
My MMS config:
"<?xml version="1.0" encoding="utf-8"?>
<mms_config version="3">
<int name="maxMessageSize">307200</int>
<int name="maxImageHeight">480</int>
<int name="maxImageWidth">640</int>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-GT-I9100-Mms</string>
<string name="uaProfUrl">http://wap.samsungmobile.com/uaprof/GT-I9100.xml</string>
</mms_config>"
Click to expand...
Click to collapse
The mms_config.xml is wrong, I have the correct one for Sprint in the second post
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
The mms_config.xml is wrong, I have the correct one for Sprint in the second post
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Do the differences have to be in order?
Yours:
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
vs a recompiled one:
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
because I did it like the bottom one but it still didn't work.
MadDucker said:
Do the differences have to be in order?
Yours:
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
vs a recompiled one:
<bool name="enableMultipartSMS">true</bool>
<bool name="enableSplitSMS">true</bool>
<string name="userAgent">SAMSUNG-SPH-L710-Mms/2.0</string>
<string name="uaProfUrl">http://device.sprintpcs.com/Samsung/</string>
because I did it like the bottom one but it still didn't work.
Click to expand...
Click to collapse
I'm not sure, I did use CM 10.1 last night for a bit and this worked. I'm back on a TW thing right nw but you can try replacing the entire mms_config.xml with the one I have in the OP. Just d/l the xml and overwrite the one in /res/xml
If tht doesn't do it I'll check out the new CM 10.1 build tomorrow and see if anything changed
Sent from my SPH-L710 using Tapatalk 2
I just made this mod for the latest build 1-5-13 and it works fine. Just follow directions to a T, including using the mms_config.xml in the Op
Also, after you reboot open up the messaging app and go to its settings, select Split Counter and Strip Unicode. But yea I tested it a bunch of times and it works fine
Sent from my SPH-L710 using Tapatalk 2
Here is a flashable zip for this mod, includes a framework-res mod as well. Made for the CM 10.1 build only (1-5-13)
http://db.tt/FcgSsazo
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
Here is a flashable zip for this mod, includes a framework-res mod as well. Made for the CM 10.1 build only (1-5-13)
http://db.tt/FcgSsazo
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Man, I feel stupid now.
In your zip, you added the framework APK. That was probably important in adding to the flashable zip right?
Edit*
OMG It was even worse than that. I was addding the APK under the data/app folder instead of system/app.
Thanks for the zip, thanks for the info. Gave you as much thanks as I could.
Anyway to fix MMS rotation?
Sent from my SPH-L710 using xda app-developers app

[Full guide][ICS/JB] Make your own theme!! [09-03-2013]

About me
I didnt see any thread with ALL guides in ONE place. And I think alot people want to know how to do this or that. Its also clearer for myself to have an all-in-one placed tutorials! So with all the help of awesome people and myself Im gonna teach you stuff! All credits goes to other people. Ask Q ONLY in this thread! Dont expect too much: I modify this thread very rarely!
Requirements
Notepad++ [editing /xml]
Apktool [Basic knowledge of compiling apks] Helpfull link: click
Root explorer [to push apk back to your phone]
7zip [to replace .pngs]
Nandroid backup [important]
Guides
1. How to get custom statusbar?
To replace your statusbar with a custom .png go to:
SystemUI.apk/res/values/drawables.xml search this line
Code:
<item type="drawable" name="status_bar_background">
make changes as
Code:
<item type="drawable" name="status_bar_background">@drawable/statusbar</item>
now place statusbar.png file in drawable folder then recompile.
2. How to get my home-screen?
http://www.youtube.com/watch?v=hVoXrS-RWBY
3. How to delete text under toggles?
This is hardest part cuz Lidroid is 'different'. First, follow this to succesfully decompile it: http://forum.xda-developers.com/showpost.php?p=31991217&postcount=1
After that, go to: res\layout\power_widget_button.xml
Add this: visibility="gone" to TextView and it should be gone now!
You can also delete the text WiFi, Bluetooth, Silent, etc. in the strings.xml in values folder!
4. How to modify framework?
Just replace .pngs in your drawable-res-hdpi folder!
This will change all system actions, like pop-up look, buttons look, and alot more!
5. How to change background in settings / dialer?
Remember: You CANT change for dialer AND settings it can only be done for both. Go to framework-res.apk > res > drawable-nodpi > tw_dialog_bg [kind of this]
And replace with SAME format and same name! now you hav this bg in file manager, settings, an much more!
6. How to change grid size of touchwiz launcher?
http://forum.xda-developers.com/showthread.php?t=1990801
This thread tells you which size: http://forum.xda-developers.com/showthread.php?t=1990801
And this is also usefull: http://forum.xda-developers.com/showpost.php?p=28561607&postcount=1690
7. Change icon of system apps [dont work with market ones]
Go to the apk and look for the icon, just extract the folders and you'll see it. Replace it with an icon-pack from this thread: clik
So no need to decompile and after this just push back to sysem/app dont forget to set perm.
8. Custom bootanimation on stock based kernels [speedmod]?
So, we love the stability and battery of speedmod kernel. But also get rid of the boring samsung boot. The steps:
Your bootanimation MUST HAVE FINITE REPEAT VALUES, otherwise you will be stucked in a beautiful boot loop.
*What is this?
Open your zip and see the txt file. The number after all "p" must be HIGHER than 0. It means how many times this part will repeat, and 0 is infinite
1- Pick your desired bootanimation.zip and make two clones. Rename them to ODEAnim.zip and sanim.zip
3- Move the three zip files to /system/media
4- Go to /system/bin. Backup and delete the file samsungani. Rename the file bootanimation (this file you find in this folder; it ISNT your zip file) to samsungani.
5- Reboot
Error guides
* By theming you ll always run into problems. Like bootloops. Mostly its with framework-res.apk. If you get bootloop try this: click And if your system suddendly reboots after replacing framework-res its normal, just wait and reboot one more time. You can also try wipe cache and dalvik! But it isnt normal when u got statusbar fc then you have recompile errors or did sth wrong.
* When you try to push files back after theming and your file manager says: cannot paste. That means you havent enough space in your /system partition. Deleting useless [system] apps and 'tts' folder can free up alot! U can also buy micro SD and with TB move apps2sd
:good:
---------- Post added at 09:34 PM ---------- Previous post was at 09:26 PM ----------
Thanks
WALLPAPERS!!! IF U WANNA KNOW WHERE I GOT MY AWESOME WALLS HEAD OVER TO THIS AWESOME THREAD CREDITS FOR ROSARIA! http://forum.xda-developers.com/showthread.php?t=1942169&page=13
NEW!!!
I made blue clock for lockscreen!!
Download pngs here: http://www.mediafire.com/?c3segwhvay411v9
Replace in framework/res/drawablehdpi
AW: [THEME][MOD][4.2.1 XWLSD] Blue Steel
Nice Theme, good Work
Can you tell me where you have changed the text?
http://img843.imageshack.us/img843/4318/20130226223431.png
Regards Marcel
marcel2909 said:
Nice Theme, good Work
Can you tell me where you have changed the text?
http://img843.imageshack.us/img843/4318/20130226223431.png
Regards Marcel
Click to expand...
Click to collapse
WHERE ARE THE DOWNLOADS AND SCREENSHOTS???? I CANT SEE THEM HERE ON THIS THREAD
bold and red just to get attention..dont get offended... just gimme the theme if its beautiful
marcel2909 said:
Nice Theme, good Work
Can you tell me where you have changed the text?
Regards Marcel
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2162055
After that, move folder meta-inf and manifest from ORIGINAL to your new.apk. Otherwise you get weird errors and bootloop. Happy theming!
Update: New screenshots coming!!
Update v3!!!
Hey people..I updated almost EVERYthing and like to share it with you, go to post 1! You can also ask me things if you wanna know how2doit! Hope u like it ^^
EDIT: I CHANGED THE PURPOSE OF THIS THREAD, I WILL PROVIDE TUTORIALS FOR THEMING FOR JUST ANYTHING AND IT GETS UPDATED ONCE IN A WHILE
Re: [THEME][4.1.2] Cyanginger all-in-one mod[8-3-13]
Request link
Spoiler
Device : GT I9100
Rom : WanamLite V14.3
Hey, I dont know if it also works on wanam, [i have omegarom] but you can always try it.. Make nandroid FIRST
This is my systemui, with custom statusbar, wallpaper and MUCH more! http://forum.xda-developers.com/showpost.php?p=38912032&postcount=96
In attachment
If it doesnt work u can always ask me what you want I couldnt teach or do it for you. In my free time!
Rene_ajax said:
5. How to change background in settings / dialer?[/B]
Remember: You CANT change for dialer AND settings it can only be done for both.
Click to expand...
Click to collapse
Not entirely true, depends on the theme being used as the base.
nice to see that my teaching was not in vain
keep learning.
jackq said:
nice to see that my teaching was not in vain
keep learning.
Click to expand...
Click to collapse
yu mate. Then nobody have to ask again and again and also to give you credits thanks alot again!
I wil add more but dont have time right now
might try it out

Categories

Resources