Related
Hi all,
i need some help over here.
I've changed many, many things in my framework folder. Now the next step is to add the notifications bar toggles from lg-res.apk
I took one prebaked lg-res.apk and modified it a bit. Then i zipped it into my rom, but no toggles jet...
My guess is that there are more files to edit to get the toggles working.
Can somebody help me out a little bit.
Every time i give up and post a question how to fix something, i emediatly find a fix..... So i have my toggles working, but want te remove the music widget. How can i decompile the .xml file to remove the lines from there ?
you edit the xml with notepad, you don't decompile an xml
Mjuksel said:
you edit the xml with notepad, you don't decompile an xml
Click to expand...
Click to collapse
ok ok, i decompiled framework-res then edited the xml file, but now i've got some bootloops
could you tell us how you got the toggles working???
can you take these out of the original rom and put them in another?
monkeytown said:
could you tell us how you got the toggles working???
can you take these out of the original rom and put them in another?
Click to expand...
Click to collapse
i extracted the lg-res.apk from a basic rom, edited it and placed in my framework folder.
Then i copied the file: status_bar_extended.xml from framework-res.apk to my own framework-res.apk.
That worked, but the carrier bar is now empty and i don't have a solution for that right now.
peewster said:
Hi all,
Every time i give up and post a question how to fix something, i emediatly find a fix..... So i have my toggles working, but want te remove the music widget. How can i decompile the .xml file to remove the lines from there ?
Click to expand...
Click to collapse
to remove the music widget buttons, you need lg music installed.
you can remove the buttons in menu of lg music ...
peewster said:
i extracted the lg-res.apk from a basic rom, edited it and placed in my framework folder.
Then i copied the file: status_bar_extended.xml from framework-res.apk to my own framework-res.apk.
That worked, but the carrier bar is now empty and i don't have a solution for that right now.
Click to expand...
Click to collapse
how do you know, what "status_bar_...." files you need?? if i wanted to copy the status bar toggles from a working rom, should i copy all staus_bar_ files i find?
monkeytown said:
how do you know, what "status_bar_...." files you need?? if i wanted to copy the status bar toggles from a working rom, should i copy all staus_bar_ files i find?
Click to expand...
Click to collapse
Well i think i had some stupid luck , just looked at all the file names and picked the one that looked the most logical to me
oh i see
but let me take a guess, you deal with the toggles to include them in your rom?
monkeytown said:
how do you know, what "status_bar_...." files you need?? if i wanted to copy the status bar toggles from a working rom, should i copy all staus_bar_ files i find?
Click to expand...
Click to collapse
It's just status_bar_expanded for the pull down, only one file.
@OP - Just change the height of the music control block to '0dip' in status_bar_expanded to hide the music controls - you can not remove them (but hide works fine). You do not need to use the LG Music app to do this.
Or search for my mod posted here and extract the status_bar_expanded xml.
Hi Guys
i want to cook and add some lockscreens and extended power menu to JPJV6 rom, but i don't find any good reference.
someone can show me , how i can change/add this mods to JPJV6 rom.
thanks.
I already did what you are looking for over this thread
if you want to know how to do it then you have to be familiar with compile and decompile of apk and jar and also should know how to edit xml files or... it is not so easy but here is the ref. for power menu
http://forum.xda-developers.com/showthread.php?t=811532
This thread will show you how to completely mod your Mms.apk
I will update this thread with time.
This will be a very useful guide, but give me some time to edit it. Right now, it might sound very confusing.
If you want to check the versions of my mms.apk mods visit this: http://forum.xda-developers.com/showthread.php?t=1667615 or this http://forum.xda-developers.com/showthread.php?t=1772124
The mods work on all ICS roms and on various phones.
First of all, you need to know how to decompile and compile apks. So go ahead and download apktool. I will explain this better if it is needed, but there are plenty of tutorials on this already.
Ok then. Let's start.
Basically this is what we will do:
Push your framework-res.apk and Mms.apk from your current phone and rom. Or you can use some previously modded version like mine.
Install the framework-res.apk
Note: If the rom you're using has touchwiz, install the twframework-res,apk instead.
Decompile the Mms.apk you want to edit.
Apply the mods you want.
Compile the Mms.apk again.
Copy the edited files from the Mms-new.apk (the one you compiled) to the original Mms.apk using something like winrar or 7zip, but without extracting or compacting anything!
I will explain this with more detail if needed.
Now, for the detailed guide on how to apply each mod:
1. Change the color scheme. If you want to invert your background or text color read this guide here.
2. To send bigger sms without turning automatically into mms do this:
In /res/xml/mms_config.xml change this line to
Code:
<int name="smsToMmsTextThreshold">400</int>
That way you can type up very long sms and it will only convert to a mms when the lenght is the same as if you wrote 400 sms.
3. In the same folder, change this line as well:
Code:
<int name="recipientLimit">200</int>
This will make it possible to send the message to 200 people at the same time instead of 20 only.
4. To change the time stamps to the original time go to /smali/com/android/mms/transaction/SMSReceiverService.smali and change this line:
Code:
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
to this:
Code:
invoke-virtual {p1}, Landroid/telephony/SmsMessage;->getTimestampMillis()J
5. To make the new-line button appear do this:
http://forum.xda-developers.com/showpost.php?p=21956763&postcount=25
Note: in some recent mms.apk you don't need to apply this mod as it already exists.
6. To change the size of the input window (where you type your texts): go to res/layout/compose_message_activity.xml and change this line:
Code:
android:maxLines="3"
to this
Code:
android:maxLines="5"
7. To add bubbles go here: http://rootzwiki.com/topic/21780-how-to-create-a-bubble-mms-app/
8. To change the avatar size or to remove the avatars from the message threads go to: mms/res/layout/message_list_item_recv.xml and change the width and height dimension. For example, to remove the avatar pic change the line to:
Code:
android:id="@id/avatar" android:layout_width="0.0dip" android:layout_height="0.0dip"
Repeat the same to message_list_item_send.xml
Recompile the mms.apk and test it
reserved.
reserved
Hello!
I tried (unsuccessfully) to mod Mms.apk.
I would just like to mod the autoconversion and the actual time of delivery, but I just can not activate them.
decompile, apply the changes to the xml file, the file smali, recompile and apply the reodex (I'm on FW stocks), Flash using .zip in recovery mode:
the apk work without any problem, but as if there is NO change!
Last time I checked that and resouces.arsc class.dex have actually been rebuilt, but the change still does not exist.
I used to deodexare Android kitchen, and autoapktool to decompile / recompile.
you can enlighten me?
thanks
ps: Android 4.0.4 ODEX stocks samsung N7000!
misha84 said:
Hello!
I tried (unsuccessfully) to mod Mms.apk.
I would just like to mod the autoconversion and the actual time of delivery, but I just can not activate them.
decompile, apply the changes to the xml file, the file smali, recompile and apply the reodex (I'm on FW stocks), Flash using .zip in recovery mode:
the apk work without any problem, but as if there is NO change!
Last time I checked that and resouces.arsc class.dex have actually been rebuilt, but the change still does not exist.
I used to deodexare Android kitchen, and autoapktool to decompile / recompile.
you can enlighten me?
thanks
ps: Android 4.0.4 ODEX stocks samsung N7000!
Click to expand...
Click to collapse
I don't use any kitchen, I use apktool and cmd, no complications, never fails if you're not using a vanilla custom rom, that might be your problem though
Will this work on Samsung Galaxy Ace running stock ROM 2.3.6 ?
.....same as title.
Thanks!!!
Hi, I am trying to mod my mms.apk so that my ported Korean ROM can send messages larger than 80 characters, but cannot find the line I need to change.
Could you please help me?
Many thanks.
I'm trying to learn how to decompile and recompile. Can you theme a tw sms for me?
Sent from my SGH-T999 using xda premium
How did you add emoji support?
And how did you replace the S3 smileys with new ones?
1982Strand said:
How did you add emoji support?
And how did you replace the S3 smileys with new ones?
Click to expand...
Click to collapse
I didn't add emoji, I applied my mods to a app that already had emoji support
the smileys are easy to fin, they are in one of the drawable folders
How can I increase the size of fonts in the bubbles. I find they are a bit too small. Font size is find on rest of phone. I am using one of your modded Mms.apk with bubbles and avatars. Thanks in advance and hope you can help.
Difusal,
I'm fairly new to (edit: tweaking) android to set it up how i like it. Before i unlocked my verizon droid incredible, whenever i sent an mms message, it would automatically turn on my 3g data connection to send the message and turn it back off (or leave it on if it was already on). Do you know how i could emulate this behavior in the mms.apk? I have already decompiled it, but i don't even know where to start looking.
thanks.
R: [GUIDE] How to mod your Mms.apk (very easy)
Interesting, it is possible to add a popup when I received message, if mms.apk not have?
My phone have a particular story, I have an LG optimus black, and Korean version of ics have a mms.apk with message popup receiver, European version not have.
What .xml or drawable I need to seen? You know?
Inviato dal mio LG-P970 con Tapatalk 2
can u teach me how to edit my mms.apk to be like that...im on gingerbread
Alright let's see if I can fix the jumbled garbage when we recieve messages over 160 characters that comes to us samsung epic 4g touch users flashed to different carriers
[ IMG]http://img.tapatalk.com/d/13/03/12/nynysypu.jpg[/IMG]
Sent from my SPH-D710 using Xparent Skyblue Tapatalk 2
How do I write a 160 character message?Since my Korean phone manufacturer only write messages up to 80 characters.Show me how to edit and write up to 160 characters.Actually I do not know where to search and edit
Thank you very much and waiting for any solution
Android version I'm using 2.3.x SAMSUNG korea
Help me:crying:
need any solution to edit code, stringxml
Good compilation of MMS mods. Nice for all to be in one thread.
Thanks.
Sent from my GT-I9300 using xda premium
Avatars
Hello, Great Post!!
But, I hate to do this... I can't get to compile my mms.apk, Can someone help me removing the contacts avatars? I can send the apk
Im so sorry and embarrassed... Thanks in advance
I am trying to port the Status Bar Tweaks here (the deodexed version) to my systemui with 14 toggles. I copy all the required (to the best of my knowledge) smali files and make the correct edits to status_bar.xml and ids.xml in values (again to the best of my knowledge). APKtool will rebuild the systemui.apk with no errors, which I then place in APK Manager to sign which is successful. First thing I do is copy the required StatusbarTweaks.apk and Settings.apk to system/apps and set the right permissions. Then I then push the systemui.apk that I have modified to my phone and reboot. When the phone starts, the notification bar does not open, or show, but there is no error or force closure either. When I check the systemui.apk with root explorer it is in the apps folder and permission are correct. Yet nothing shows as far as the status bar is concerned. Everything functions on the phone, the new settings shows the StatusbarTweaks option, the quickpanelsettings.apk works to change toggles and reorder toggles also. So what I am wondering, is there a line to have the phone start the notificaton bar that I am missing? Not sure if that is the case as I don't delete any lines from any files, just add to them. Would appreciate if any dev can offer suggestions or assistance to my problem which is becoming slightly frustrating LOL... I know if I can get this done and working I could probably port it to other systemui with swipe to remove notifications and 14 toggles. I have attached my systemui.apk if anyone wants to investigate inside of it and guess I should also mention I run XWKTM 2.3.6 rom on my phone. Thanks in advance for any help. My programing knowledge is non-existant other than understanding the xml files a bit, probably just enough to be dangerous.
View attachment SystemUI.apk
Just use orig files
And add the statbar tweaks ?
Its easy
Quickpanel to lidroid
One edit in statusbarservice.smali
Sent from my GT-S5830 using xda premium
CoolCatGetHome said:
Just use orig files
And add the statbar tweaks ?
Its easy
Quickpanel to lidroid
One edit in statusbarservice.smali
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Here is the zip for the 14 toggles, it is the one I use. After I install, I edit the systemui and then push. LOL you always say it is easy when I ask but remember I haven't the experience you have. So please, a bit more info would be greatly appreciated and thanks for response so far. (given)
View attachment 14_toggles.zip
and here is the zip for the tweaks
View attachment CWM-statusbar.tweaks-deodex-signed.zip
build it for me please LOL if so easy
Hello everyone!
I'm trying to add a new language (Portuguese - BR) on ZUI 2.3.0.42, but nothing work, I already tried to add values-pt / values-pt-rBR on framework-res.apk also at Settings.apk and XuiSystemUI.apk from priv-app with help of apktool, maintaining META-INF folder and AndroidManifest.xml but without success, the system still showing only existant languages of the ROM.
How to do this? Hope anyone help!
ZUK Z2 - Z2131 - ZUI 2.3.042
Thanks in advice
framework-res attach
mediafire. com/file/wdb5ibvwm2nnbbb/framework-res.apk
Remove space from .com
diogohue, what does this apk do and where did you get it from if I may ask? I'm in a similar situation (I want to add Hebrew to the selectable languages).
Thanks!