[GUIDE] How to mod your Mms.apk (very easy) - Android Themes

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

Related

[Q] How to mod framework-res.apk and twframework-res.apk

Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
icezar1 said:
Common themers, I know you know, you just don't wanna share
Joking I would really like to start themeing as well and these are the only 2 issues that I have at the moment.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=724778
Get apk manger.I'm trying to do this too.
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
icezar1 said:
Hm, I did, I de-compiled the apk but did not want to compile back. Probably the images are not Draw 9-patch-ed. However, I still need to find out how to change the text color...
Click to expand...
Click to collapse
find you find out before keep me updated, and i'll do the same.
icezar1 said:
Hi guys,
Wondering if someone can give me some clear directions how to add battery icons (knowing that the resource IDs of the images are not stored in public.xml - it doesn't exist in samsung's framework-res.apk) and how can I change text colors (basically replace black with white and vice versa) and where should I change these values.
Thanks a lot!
Click to expand...
Click to collapse
You can change the battery icons in the framework-res.apk [look in the res/drawable hdpi/stat_sys_battery_x.png
and to change the text color: I was trying to figure that one out last week....From what I figured out you need to modify:
res/layout/status_bar_latest_event_content.xml
Which is found in your framework-res.apk aswell....Decomplie-edit-recomplie....
Good luck
what program are you using to edit your xml's?
chaosjh said:
what program are you using to edit your xml's?
Click to expand...
Click to collapse
apk_manager_4.9 to decomplie-recomplie. Then use notepad to edit
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
No way..
OK, just decompiled-added icons from other decompiled framework-recompiled, no xml edits-installed. Look is changed, battery icons now displaying fine but... force closes and restarts the shell in less than 20 secs...
yup try the winrar method - there is no decompiling.. just copies the images into the *.apk
And shouldn't have any FC's if you try that method.
avgjoegeek said:
If your just wanting to do simple changes (no .xml edits)
You can use WinRar to open the framework-res.apk and find the *.png's you want to replace.
Then copy/paste the new images over the old ones inside of WinRar.
Close.. and install.
But thats for quick and dirty changes. For more intricate stuff - animations etc. that require *.xml edits - do what the above folks say
Click to expand...
Click to collapse
Yeah i changed icon with winRar, and all kinds of crazy stuff happed. Loop boots,and Fc
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
fritzgerald said:
Have you guys figured out the text color yet? If you haven't let me know what text you're trying to change and I'll write something up in a few hours when I get off work.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
dfuse06 said:
i have tried for to days now to get these android faces icon for the battery.I've use winRar and it worked good for a few hours, but when i used cwm to backup my system on reboot it boot loop. I got apk manger and everytime I try to compile the apk there is a error.Oh changing the text color would be cool too!
Click to expand...
Click to collapse
Shoot me a link to the icons you're trying to use. What ROM are you using(name & version). What text are you looking to change? There's not one global change to make all the text different I'll need to know what specifically you're trying to change.
I use the uot kitchen you get the icon on perception 7,but im on 8 now. I'm running perception 7 darknees 2.3 theme, and that is what i'm trying to get the icons on its the battery icon of the android smiley faces it is version j with white numbers. i'm going to look for a link for them.i have the framwork-res.apk with them in it.
When you recompile with APK Manager, a couple of things are very important to do:
1. Hit yes to "system app".
2. Hit yes to restoring the files:
-Open the "keep" folder and delete resources.arsc. Then delete anything you changed (if it's there).
3. Do NOT sign it.
It should work.
PuffinNugz said:
i change icons and stuff in framework by just using 7zip. No need to decompile or sign, or any of that. Super easy. Not sure about changing text color, tho.
Click to expand...
Click to collapse
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
TheEscapist said:
Do you just individually edit each icon? Cause I can't find a way to copy in a folder. I'm pulling the icons from the 2.3 framework, but i just want to copy over the drawable folders for now.
Click to expand...
Click to collapse
I just dragged the images from a particular themes framework and dropped them to the new one all within 7zip.

[ACS][HOW-TO]Remove Sprint branding

so of you have notice and have been asking about this. i decided i would open up my vault and let the secret out for all.
this is brought to you by myself and the rest of ACS.
Me and dreamsforgoten figured this one out together.
Disclaimer: do not decompile a custom framework and expect it to recompile as it will not work and you'll end up with a list of errors. You can not hold me our anyone at ACS for bricking your phone or any damage that may have occurred by doing this
this how-to is written as if you have a half a brain and know what your doing. if you dont know what your doing please read the themeing how to's written by dreamsforgotten.
1. decompile framework-res.apk
2. open up the values folder
3. locate strings.xml and open with notepad++
4. ctrl+f and search for Sprint. it should be under zz_roamingguard_1 or something simliar. make sure just to edit the roaming guard_1 only
5. rename to w/e you would like. this changes the pull down branding, the aosp lock screen branding, and the network in settings
6.recompile apk. if your building a theme make your other xml edits while decompiled
If you use this mod in your custom themes or roms please give me credit
if you feel as you have benefited from this in anyway please buy me a beer in my signature to keep me motivated on finding more tricks, hacks and themes
Not sure if this will work on other phones or carries.
Thanks for posting this. Is there a way to tell if a framework-res is modded already? Or, more specifically, if trying this on dk28, where's the best place to get a "pure" framework to start with?
also, do you use a specific level of compression when compiling your edited framework?
Thk u.
Sent from the future.
decalex said:
Thanks for posting this. Is there a way to tell if a framework-res is modded already? Or, more specifically, if trying this on dk28, where's the best place to get a "pure" framework to start with?
also, do you use a specific level of compression when compiling your edited framework?
Thk u.
Sent from the future.
Click to expand...
Click to collapse
When I mean a modded framework-res.apk it's one that comes from a theme. They don't compile nicely with the new images added.
I'm personally using the dk28 release from ACS as my framework to modify.
A good way to test is as soon as you de compile the framework re compile it. If it re compiles with no errors you then you can go ahead and use that framework.
I haven't changed my compression when compiling any of my work
Sent from my SPH-D700 using Tapatalk
I know in apk manager 4.9 it saves the file as unsigned_filename.apk but when you chose yes to carry over the signature, it is carried over into the new file in tact. You can skip the last step of resigning the apk after compiling if you choose yes as a system file when you compile. it throws you off being named unsigned but if you open it the meta inf folder is in there.
Sent from my SPH-D700 using Tapatalk
Ok
Maybe i am in wrong thread but here goes.
I installed acs dk28 fro-yo version when it was first released
I have an app i use called privacy star,it no longer will let me use the app
I called privacy star they say my carrier is iroot the original branding acs used for the ROM since iroot isn't a phone company i cannot pay for the app at all.
tell me why, and any suggestions how i can change my carrier back to sprint branding, i have a build prop if anyone can help me.
about phone says sprint as my carrier and i didnt see anything odd in buildprop
http://pastebin.com/92hCixde
humdrum2009 said:
Maybe i am in wrong thread but here goes.
I installed acs dk28 fro-yo version when it was first released
I have an app i use called privacy star,it no longer will let me use the app
I called privacy star they say my carrier is iroot the original branding acs used for the ROM since iroot isn't a phone company i cannot pay for the app at all.
tell me why, and any suggestions how i can change my carrier back to sprint branding, i have a build prop if anyone can help me.
about phone says sprint as my carrier and i didnt see anything odd in buildprop
http://pastebin.com/92hCixde
Click to expand...
Click to collapse
you may basically have to reverse the instructions in the OP. do you understand the instructions? browse the how to theme guides by dreams, you wouldnt be doing all the editing of pngs and compiling in eclipse, but you will need apk manager. basically decompile your framework-res.apk, go to values/strings.xml and change iroot back to Sprint in Notepad++, recompile. you could either drop it in /system/framework with root explorer or replace in the ROM zip and reflash.
Ill get on it right now thanks
Nice post.
Hmm.. I'm curious If that works for you, since you're decompiling and recompiling a "modified" framework.
Sent from the future.
decalex said:
Hmm.. I'm curious If that works for you, since you're decompiling and recompiling a "modified" framework.
Sent from the future.
Click to expand...
Click to collapse
Unfortunadamente, it won't. You can however, take a stock framework-res.apk and copy over the drawable-hdpi folder. But you will lose the battery % mod as well, so make sure to change the battery images back to stock before you copy it.
Sent from my Xtremely Syndicated and Emotionless Epic 4G
Thread cleaned. If something like this happens again, infractions will be handed out to everyone involved.
If you have a member that is trolling/flamming, just ignore them and report the post. I will take care of it.
By saying something to them you are going to get yourself in trouble and start a large fight in a thread that does not need it.
decalex said:
Hmm.. I'm curious If that works for you, since you're decompiling and recompiling a "modified" framework.
Sent from the future.
Click to expand...
Click to collapse
you can reverse the order but there will be extra steps involved. when your ready ro re compile you would have to add in all the stock .9.pngs when re compiling.
Sent from my SPH-D700 using Tapatalk
Thx for your help guys I'll edit this post with results.
Cool-- using both of your recommendations (starting with orig ACS DK28 rom's framework-res.apk, I was able to edit the xml(s), recompile, (delete resources.arsc in the created keep folder), then signed, then dropped in drawable pngs. When you want to do the png edits, do you overwrite All of the folders in your signed framework's res folder? (wouldn't that overwrite the xml edit made)? or just the drawable folders
decalex said:
Cool-- using both of your recommendations (starting with orig ACS DK28 rom's framework-res.apk, I was able to edit the xml(s), recompile, (delete resources.arsc in the created keep folder), then signed, then dropped in drawable pngs. When you want to do the png edits, do you overwrite All of the folders in your signed framework's res folder? (wouldn't that overwrite the xml edit made)? or just the drawable folders
Click to expand...
Click to collapse
you will only loose your xml edits if you replace the xmls
Sent from my SPH-D700 using XDA App
hehe.. come on man. gimme a little more credit than that
in compiled state, the strings.xml (for example) is contained in the resources.arsc file (?). Because, decompiled, obviously, the folder structure is different.
so, I could basically just replace the whole res folder, since the resources.arsc is *not* in that folder? I'll play around with it, but I think I'm getting the gist.
decalex said:
hehe.. come on man. gimme a little more credit than that
in compiled state, the strings.xml (for example) is contained in the resources.arsc file (?). Because, decompiled, obviously, the folder structure is different.
so, I could basically just replace the whole res folder, since the resources.arsc is *not* in that folder? I'll play around with it, but I think I'm getting the gist.
Click to expand...
Click to collapse
When editing xmls you delete the xmls you edited in the keep folder. The hidden xmls like strings.xml is not seen when being built. I delete the resources.arcs when ever I edit a xml even if it is a visable xml. You cannot replace the hole res folder cause of the xmls inside. Some xmls makes changes in the public.xml when compiled. The public.xml is also hidden.
Just decompile the custom framework you wanna edit. Make your changes. Replace all the modified .9 images with the stock ones. Recompile the framework. In the keep folder delete resources.arcs and any xml you can see in the build that you edited. Delete the .9s from the keep folder since you replaced them. Once the file is compiled sign it. Open up the old custom framework with 7zip and your newly created framework with 7zip. Drag and drop the .9s.from the custom framework into your framework
Sent from my SPH-D700 using XDA App

ICS Status bar color change?

Is there any way to change the status bar color in ICS on the NS4G from blue to whatever color u want? if so can some one kindly point me in the right direction? Thanks
Of course, this is Android.
You are only limited by your skills to do so.
Its in the framework. Just edit them. Then blah blah. Easy.
Sent from my Galaxy Nexus Sep using Tapatalk
^im sure that makes as much sense to the OP as much as its "easy" for u... -__-
ns4g via xda app
bearsblack said:
^im sure that makes as much sense to the OP as much as its "easy" for u... -__-
ns4g via xda app
Click to expand...
Click to collapse
If he knew how, he'd explain it, but the truth is that he's some 12yo kid who can't create/open a zip file yet claims to be a "developer".
I'll hook you up when I'm @ my computer. And it's not in framework-res, it's in SystemUI.apk
EDIT: What did you mean by statusbar color? Are you referring to the clock/date? If so, decompile your SystemUI.apk and go to /res/values/styles.xml
For the clock, look for this line
Code:
TextAppearance.StatusBar.Clock
For the date, look for this line
Code:
TextAppearance.StatusBar.Date
If you change your clock color your carrier color will change to the same
You want to change this line in both
Code:
android:textColor
Change it to whatever hex value you want. Must be proceeded by "ff" if you want the full value or if you want transparency you can put something like enter a value from 0-99, 0 being fully transparent
If your ROM has the power widget then you have to change the png's in SystemUI>res>drawable-hdpi>
Then after you make your changes recompile and if you use apktool to do that you need to sign it. I use an old version of apkmanager to sign it.
fergie716 said:
I'll hook you up when I'm @ my computer. And it's not in framework-res, it's in SystemUI.apk
EDIT: What did you mean by statusbar color? Are you referring to the clock/date? If so, decompile your SystemUI.apk and go to /res/values/styles.xml
For the clock, look for this line
Code:
TextAppearance.StatusBar.Clock
For the date, look for this line
Code:
TextAppearance.StatusBar.Date
If you change your clock color your carrier color will change to the same
You want to change this line in both
Code:
android:textColor
Change it to whatever hex value you want. Must be proceeded by "ff" if you want the full value or if you want transparency you can put something like enter a value from 0-99, 0 being fully transparent
If your ROM has the power widget then you have to change the png's in SystemUI>res>drawable-hdpi>
Then after you make your changes recompile and if you use apktool to do that you need to sign it. I use an old version of apkmanager to sign it.
Click to expand...
Click to collapse
Thanks for the insight Fergie but houston we have a problem... i cant read it.. Im using Aosp v43 if it helps lol
JG96EVO said:
Thanks for the insight Fergie but houston we have a problem... i cant read it.. Im using Aosp v43 if it helps lol
Click to expand...
Click to collapse
Did you decompile it or extract it? You need to use apktool or something similar to decompile. I have a guide on how to get apktool ready for ICS but you need to set up apktool 1st. There's plenty of guides out there for that, just Google it up
Sent from my Nexus S 4G using Tapatalk
fergie716 said:
Did you decompile it or extract it? You need to use apktool or something similar to decompile. I have a guide on how to get apktool ready for ICS but you need to set up apktool 1st. There's plenty of guides out there for that, just Google it up
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
I googled how to decompile the systemui.apk but maybe im not understanding it clearly because i keep getting error messages.. do i use the computer and a command prompt? or terminal emulator? sorry for the questions.. im just kinda new to all this..
You need to use a computer to decompile the apk. As fergie said there are plenty if guides here on XDA and other places to learn how to use apktool or apk manager.
Sent from my Nexus S 4G using Tapatalk
And you must have SDK set up somewhere on you computer with the resources set up for android 4.0.3 at c:/user/apktool/framework
I'll attach what I'm using there. You can extract this into your user folder on you PC.

[Q] Help needed please with edit of systemui.apk please.

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

[LINKS][TIPS] Edit system files, ROM, Kernel

I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS​
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Re: [LINKS][TIPS] Editing system files and more!
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
thank you very much. it was helpful for me too.
Re: [LINKS][TIPS] Editing system files and more!
EvolutionHybrid said:
Thank js.. Very helpfull for a noob like me..
Sent from my GT-S6500D
Click to expand...
Click to collapse
eserguei said:
thank you very much. it was helpful for me too.
Click to expand...
Click to collapse
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Ghostfreak NB said:
Quite strange that the guys who found it useful haven't bothered to atleast hit a small thanks button!
Sent from my Xperia Neo V using xda premium
Click to expand...
Click to collapse
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
El_Dark said:
I did, but not to you
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Another question, is it dangerous to my rom's stability if I use somebody else's framework-res.apk? (taking into account that my rom's backed up though, it's not really an issue )
Ah, my phone is a GT-S5830M (same as the GT-S5830i)
Click to expand...
Click to collapse
I am also S5830i user but this method won't work due to unknown reasons! I'll edit OP!
Otherwise it will work on other devices!
Don't replace framework-res.apk.. U'll get bricked.. If u are doing ui changes just take the pngs and replace in ur framework-res.apk! But make sure resolution is same as that of original one!
Sent from mass relay
El_Dark said:
Also, is the CRT effect not able to be done on a Gingerbread-based stock rom? I decompiled my framework-res.apk with NinjaMorph but, I can't seem to find the dir [APK ROOT]/res/values nor the bools.xml file...
Click to expand...
Click to collapse
It is yes, but you can only theme images it seems with NinjaMorph, which is why it doesn't list the folders that consist mainly of xmls, which can only be edited after being decompiled.
Was really a very easy n a extremely noov friendly tutorial.
Thnx guys!
Sent from my GT-I9100 using xda premium
VERY NICE GUIDE !!! Thanks a lot ,, many more to learn
Can u give a guide to add notification toggles in aosp ics
Sent from my GT-S5570 using xda premium
really helpful
thanks (pressed already)
How do I change the Model Number?
js2892 said:
I'm gonna give links for various guides to edit these files
Remember, these files are most useful for theming or making ROMs so read on if you want to develop your own ROMs...:good:
A noobs guide for uot kitchen
http://forum.xda-developers.com/showthread.php?t=1676817
Full guide for editing systemui.apk and framework-res.apk and also making a custom rom
http://forum.xda-developers.com/showthread.php?t=2086771
Editing classes.dex inside services.jar
http://forum.xda-developers.com/showthread.php?t=2160478
Change status bar clock color
http://forum.xda-developers.com/showthread.php?t=549309
Make status bar transparent
http://forum.xda-developers.com/showthread.php?t=1891702
Battery Bar Mod
http://forum.xda-developers.com/showthread.php?t=1371330
Decompiling/Recompiling and Advance Theming of 9 PNG
http://forum.xda-developers.com/showthread.php?t=2254824
Android Theming(Big guide with lots of links)
http://forum.xda-developers.com/showthread.php?t=2069287
Build.prop edits
http://forum.xda-developers.com/showthread.php?t=2256588
ADB, Logcat for n00bs and newbies
http://forum.xda-developers.com/showthread.php?t=2141817
KERNEL DEVELOPMENT(Advanced User)
How to use Github
http://forum.xda-developers.com/showthread.php?t=1877040
Guides on building kernels
http://forum.xda-developers.com/showthread.php?t=1845099&highlight=build+kernel (More useful for BCM devices)
http://forum.xda-developers.com/showthread.php?t=2226199
http://forum.xda-developers.com/showthread.php?t=2152819 (Using NDK)
Add features to your kernel( from XDA-U)
http://xda-university.com/as-a-developer/adding-features-to-your-kernel
TIPS​
Tip-1
Enable CRT screen off animation in ur phone(Will not enable animation when screen is turned on)(does not work on S5830i)
Decompile framework-res.apk
go to res/values find bools.xml and open it.
[/B]
Change this
<bool name="config_animateScreenLights">true</bool>
to this
<bool name="config_animateScreenLights">false</bool>
If this does not work, look for detailed guide with editing of services.jar
Tip-2
Change your android version and name(just a superficial change!)
1. Open your explorer.
2. Go to system/
3. There's a file named "build.prop"
4. Long press and then open in text editor.
5. Find these-
ro.build.display.id - Build Number(Default: GINGERBREAD.XXLA2)
ro.build.version.release- Android version(Default: 2.3.6)
6. Edit, Save and Reboot!
Tip-3
Make status bar transparent(Only transparent for homescreen)
1. Decompile systemui.apk
2. Go to res/layout/status_bar,xml
3.Find android:background=FF000000 and change it to android:background=000000000 for full transparency and to android:background=5F000000 for half transparency.
4.If android:[email protected] statusbar_background (this name can be different) is present in status_bar.xml then you can find the image named statusbar_background in res/drawable-ldpi( or mdpi/hdpi depending on the device) and make that image transparent via image editors!
This simply means our status bar background is drawable and we are providing proper image for it!
Will add more tips soon!
Click to expand...
Click to collapse
Hi,
How would I change the Model Number?
rasmutu said:
Hi,
How would I change the Model Number?
Click to expand...
Click to collapse
Please don't quote the whole OP.
go to system/build.prop
open the file and change value of ro.product.model
It seems good. I'm going to click. thank you!

Categories

Resources