Related
Edit: I figured out how to successfully edit framework-res for HTC Sense 3.6. I google'd the problem and found quite a bit of people having trouble with framework-res for Sense 3.6, so I figured I'd post a little guide on how to do it.
1. Download APK-Multitool and extract it to your C:/ directory.
2. Run the "Setup" batch file and use option 3.
3. Copy "Framework-res.apk" to the "Other" and "place-apk-here-for-modding" folders inside your APKMultitool folder.
4. Your going to need to run the "Setup" batch file again if you closed the terminal window. Choose option 2 which installs the framework.
5. Run the "Script" batch file and choose option 10 "Decompile apk with dependencies"
6. Locate the com.htc.resources.apk inside the same folder you took framework-res.apk. Drag com.htc.resources.apk onto the terminal window, this will automatically enter the path for your dependency and install it so you can de/recompile framework-res.
7. Do whatever you need to do with framework-res.
8. Choose option 11 "Compile system apk" and follow the prompts.
That's it, you should be able to successfully de/recompile framework-res using that method.
I don't know enough about your environment or Java to be much help, but check what version jdk is recommended. You might get a better response in general forums.
Nonverbose said:
I don't know enough about your environment or Java to be much help, but check what version jdk is recommended. You might get a better response in general forums.
Click to expand...
Click to collapse
I'm using the latest JDK which is version 7 (or update 7) and I'm running Windows 7 64 bit. I'm using a command prompt window for apktool, but I also have cygwin which also works with apktool. Every question I post in chef central or general Q&A gets ignored, which is why I thought I'd ask here where people know me.
Anything else you need to know?
Edit: Also how do I recompile framework-res from Sense 3.6? I can decompile just fine, but I've tried multiple programs (apktool, apkmulti-tool, and Virtuous ten studio) and none of them can recompile framework-res. I only changed a line in bools.xml.
ZaySk said:
I'm using the latest JDK which is version 7 (or update 7) and I'm running Windows 7 64 bit. I'm using a command prompt window for apktool, but I also have cygwin which also works with apktool. Every question I post in chef central or general Q&A gets ignored, which is why I thought I'd ask here where people know me.
Anything else you need to know?
Edit: Also how do I recompile framework-res from Sense 3.6? I can decompile just fine, but I've tried multiple programs (apktool, apkmulti-tool, and Virtuous ten studio) and none of them can recompile framework-res. I only changed a line in bools.xml.
Click to expand...
Click to collapse
Have you tried decompiling and recompiling with no changes? It could be a problem with your setup?
Nonverbose said:
Have you tried decompiling and recompiling with no changes? It could be a problem with your setup?
Click to expand...
Click to collapse
Hmm I'll give that a try. I know I tried that not long ago with android.policy, and it worked. I figured out the problem with android.policy, now I'm stuck on trying to recompile framework-res. I remember reading somewhere that certain proprietary ROM .apk's have dependencies on other ROM .apk's. I'm trying to re/decompile framework-res by itself, could that be the problem? If so which .apk do I need to use?
Appreciate you're help, thanks.
Have you read any of fernando sor's tutorials? He seems to have it sorted http://forum.xda-developers.com/showthread.php?t=1601511
Nonverbose said:
Have you read any of fernando sor's tutorials? He seems to have it sorted http://forum.xda-developers.com/showthread.php?t=1601511
Click to expand...
Click to collapse
Thank you! I had been searching for a thread like that since last night. Hopefully I'll be able to get things sorted out
ZaySk said:
Thank you! I had been searching for a thread like that since last night. Hopefully I'll be able to get things sorted out
Click to expand...
Click to collapse
No problem. Keep us updated.
Nonverbose said:
No problem. Keep us updated.
Click to expand...
Click to collapse
Ok, one more question and it's a pretty noob question. I can't for the life of me, find layout.xml! I even did an in-folder search for layout.xml and didn't find it. Is it not in framework-res for Sense 3.6? If so, what's the equivalent file? Or since I can't find the file, does that mean it's been depracated and I can skip that step? Sorry, I just want to be sure.
Edit: What about raws.xml? Is that also no longer in Sense 3.6 either?
I'm stuck at this part in the thread you linked to me -
go to res/values layout.xml
change this
Code:
<layout name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</layout>
<layout name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</layout>
<layout name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</layout>
<layout name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</layout>
<layout name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</layout>
<layout name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</layout>
<layout name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</layout>
<layout name="pin_keyboard">@layout/zzzz_pin_keyboard</layout>
to this
Code:
<item type="layout" name="htc_list_item_2text_2stamp">@layout/zzzz_htc_list_item_2text_2stamp</item>
<item type="layout" name="htc_list_item_2text_bright">@layout/zzzz_htc_list_item_2text_bright</item>
<item type="layout" name="htc_list_item_image_2text_image_bright">@layout/zzzz_htc_list_item_image_2text_image_bright</item>
<item type="layout" name="htc_list_item_imageicon_2text_2stamp">@layout/zzzz_htc_list_item_imageicon_2text_2stamp</item>
<item type="layout" name="htc_list_item_imageicon_text">@layout/zzzz_htc_list_item_imageicon_text</item>
<item type="layout" name="htc_list_item_separator">@layout/zzzz_htc_list_item_separator</item>
<item type="layout" name="keyguard_screen_device_unlock">@layout/zzzz_keyguard_screen_device_unlock</item>
<item type="layout" name="pin_keyboard">@layout/zzzz_pin_keyboard</item>
res/values layout.xml?
Nonverbose said:
res/values layout.xml?
Click to expand...
Click to collapse
It's not there.
Edit: Figured it out, thanks for your help Nonverbose.
ZaySk said:
It's not there.
Edit: Figured it out, thanks for your help Nonverbose.
Click to expand...
Click to collapse
Lol, help? I just realized that my answer was the almost the same as your question. Where did you find it?
Nonverbose said:
Lol, help? I just realized that my answer was the almost the same as your question. Where did you find it?
Click to expand...
Click to collapse
Lol, yea that post wasn't what helped me, it was you're previous posts. I used APKMulti-tool to decompile with com.htc.resources as a dependency and made my changes, then it FINALLY recompiled properly!
Taking some time from theme to get all of this info out right now before I forget it. This is going to be a place to put system text edits and what they affect. Right now I only have a couple but will add to it as I go. As always feel free to add ones that you have found.
These mods were made by thebowers outside xda. I am sharing this with you
Click to expand...
Click to collapse
Things needed to accomplish these changes
Apk Manager
Click to expand...
Click to collapse
-
7-zip
Click to expand...
Click to collapse
Great tools for opening .apks and extracting them with out changing the extension.
framework-res.apk
Click to expand...
Click to collapse
from your phone (since it holds the system settings).
Getting started
Pull framework-res.apk from phone by using ADB or however you would like to do this.
Download and extract Apk Manager. I usually place this in the tools directory of the Android SDK. If you do this you need to set the environment path for the directory for aapt.exe of apktool.jar to work correctly.
Take the framework-res.apk and place it in the place-apk-here-for-modding folder withing the Apk Manager folder.
Click on Script.bat within the Apk Manager folder to open and run the tool.
Should ask you about clearing workspace and then something about finding ADB.Once you get passed those screens you should be at one that has number options.
For this walk through we are only concerned with the middle portion.
Now go to the Apk Manager folder and you should see an folder labelled "out". Open it to find your decompiled .apk
Go to the /res/values folder. Then go to a .xml file called styles.xml. Open this and any xml file that you decompile with notepad or notepad++
Select 9 and hit enter. It should tell you that it is decompiling the .apk. When it is done it will ask you to make a selection.
This is a big xml file which controls many aspects of the system. Don't worry I am not even going to try and explain things here. Just going to give you the areas I know and what to change.
Click to expand...
Click to collapse
Things within styles.xml that I know
First off is the text on buttons
Do a ctrl+f to bring up the find button.
Type widget.button and click find next. (hit find next 6 times)
You should now be at this portion of the .xml
Code:
<style name="Widget.Button" parent="@style/Widget">
<item name="textAppearance">?textAppearanceSmallInverse</item>
<item name="textColor" [user=403934]@Color[/user]/primary_text_light</item>
<item name="gravity">center</item>
<item name="background">@drawable/btn_default</item>
<item name="focusable">true</item>
<item name="clickable">true</item>
</style>
Where it says primary_text_light (black) change to primary_text_dark (white).
Also you could delete the whole @Color/primary_text_light and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Next is the menu text (when you hit he soft key for menu)
Do ctrl + f and put in TextAppearance.Widget.IconMenu.Item and click find next.
You should now be at this area
Code:
<style name="TextAppearance.Widget.IconMenu.Item" parent="@style/TextAppearance.Small">
<item name="textColor">?textColorPrimary</item>
</style>
Change textColorPrimaryInverse (black) to textColorPrimary (white and then black when pressed)
Also you could delete the whole ?textColorPrimary and just put #ffff00ae as an example for the color code you desire.
If that is all you need save and look down for the completing instructions.
Keyboard text (the actually text on the soft keyboard keys)
Do ctrl + f and put in Widget.KeyboardView and click find next twice
You should now be at this section
Code:
<style name="Widget.KeyboardView" parent="@style/Widget">
<item name="background">@drawable/keyboard_background</item>
<item name="shadowColor">#bb000000</item>
<item name="shadowRadius">2.75</item>
<item name="keyBackground">@drawable/btn_keyboard_key</item>
<item name="keyTextSize">22.0sp</item>
<item name="labelTextSize">14.0sp</item>
<item name="keyTextColor">#ffffffff</item>
<item name="keyPreviewLayout">@layout/keyboard_key_preview</item>
<item name="keyPreviewOffset">-12.0dip</item>
<item name="keyPreviewHeight">80.0dip</item>
<item name="verticalCorrection">-10.0dip</item>
<item name="popupLayout">@layout/keyboard_popup_keyboard</item>
</style>
Pretty simple, where it says keyTextColor, change that to whatever you want.
If you want to change the key text on the pop up or preview, that is located in /res/layout/keyboard_key_preview.
If that is all you need save and look down for the completing instructions.
Text highlight color
Do crtl + f and put (style name="TextAppearance") in the find box and click find next.
You should now be at this section.
Code:
<style name="TextAppearance">
<item name="textSize">16.0sp</item>
<item name="textStyle">normal</item>
<item name="textColor">?textColorPrimary</item>
<item name="textColorHighlight">#ffc0c0c0</item>
<item name="textColorHint">?textColorHint</item>
<item name="textColorLink">#ff5c5cff</item>
</style>
Just change the textColorHighlight to whatever color you desire.
If that is all you need save and look down for the completing instructions.
Edit Text (what shows when you type in any textfield like talk, facebook, twitter, and such)
Do crtl+F for Widget.EditText and hit find next twice.
You should now be at this area.
Code:
<style name="Widget.EditText" parent="@style/Widget">
<item name="textAppearance">?textAppearanceMediumInverse</item>
<item name="textColor" [user=403934]@Color[/user]/primary_text_light</item>
<item name="gravity">center_vertical</item>
<item name="background">@drawable/edit_text</item>
<item name="focusable">true</item>
<item name="focusableInTouchMode">true</item>
<item name="clickable">true</item>
</style>
Where is says primary_text_light, you can change it to primary_text_dark for white text. Otherwise just do this "textColor">#ffff0000< that code is for red. Just replace with what color you want.
If you are done save and continue to finishing instructions.
Lockscreen Text
This is located in the /res/layout folder as keyguard_screen_tab_unlock.xml and keyguard_screen_tab_unlock_land.xml.
To help out I have added a color values string to the text areas (they don't have them by default)
Grab the Lockscreen Text xmls.zip found at the bottom. Unzip
Open these files in a Hex editor like HxD.
Do a hex-string search of 08 00 00 1c. The first one is for a background color skip it.
The next eight are for the text on the screen. By default I have them set at FF FF FF FF for white.
Just remember in hex editing the color values are backwards. Save the files and add to your framework-res.apk.
I will add more later. Just wanted to get these out right now.
Completing the process
Once you are done with that file don't forget to save.
Go back to the Apk Manager grey command prompt window.
Do option 11 to compile the .apk. When that is done it will change from compiling .apk to asking you to make a decision.
Then do option 12 to sign the .apk. This is very important. Forgetting to do this will result in a boot loop.
Now go to place-apk-here-for-modding folder within the Apk Manager folder. There should now be a new file called repackaged-signed.apk . Move this file to the desktop or somewhere to rename. Rename to framework-res.apk.
You now have a new framework-res.apk with the edits you did. Either add images and what not that you want to it or go ahead and push to phone by using ADB, an update.zip, MM theme format, or move to sdcard and use Root Explorer.
If you are going to add images use 7-zip to open the .apk as an archive and navigate to the appropriate folder. I haven't tried it but you should be able to put the image file in the appropriate folder before doing option 11 to compile. Just keep in mind that if they are .9 images they will need the guides on them. Since the folders are decompiled images within them until compiled.
Enjoy your need settings. Again if you know of anything in this file or some other usefully system text edits in the framework-res.apk, let me know.
If you liked this thread Press thanks button and Rate this thread 5 stars and and pressTip US
reserved...............
Link To Some Of my Work!
How to update Baseband
How to change Android's background
How to use AROMA Installer
How to Downgrade Baseband
Theming Guide for changing system color settings
Custom ROMs
Backstreet MOD(Karbonn A5)
Some Other Important Threads
Walton Primo Gets ICS!
[Karbonn][A5][A7][Walton Primo]Official ICS released
[PETITION]Spice to release kernel source|GPLViolation|
[PETITION]Karbonn to release kernel source|GPLViolation|
Great bro (Y)
iHarkunwar said:
Great bro (Y)
Click to expand...
Click to collapse
now post my guides to your blog it will help many members and give a link to this thread also.
Re: [GUIDE]Theming Guide for changing system text settings
https://docs.google.com/file/d/0B-Fun5vx9M9xTzJYclJ0czVobTg/edit
Touchwiz add on for MMX JB
By mrmad
Credits
Smalldookie
Me
Sent from my Samsung GT-S9081 using xda app-developers app
How to edit lockscreen option, not the text, but options on swiping
Anami101 said:
How to edit lockscreen option, not the text, but options on swiping
Click to expand...
Click to collapse
for that you have to edit many xml's and .smalii files in framework-res.apk
can you add the petition to micromax to release kernel source to your signature too, so that we can get more signatures?
psychopac said:
can you add the petition to micromax to release kernel source to your signature too, so that we can get more signatures?
Click to expand...
Click to collapse
I can but that is not my work so i will put it seperately
thanks, that'd be great!
Re: [GUIDE]Theming Guide for changing system text settings
Nice guide thanks
收件人: [GUIDE]Theming Guide for changing system text settings
good man
Sent from my HTC X515d using xda premium
tzpm said:
good man
Sent from my HTC X515d using xda premium
Click to expand...
Click to collapse
Its time for updating the thread i found more things and will include in the thread soon
I really like all your guides but you never post credits to people from whom you have got this knowledge and that's really sad!
Do you know how to change the color of popup title?
iamareebjamal said:
I really like all your guides but you never post credits to people from whom you have got this knowledge and that's really sad!
Do you know how to change the color of popup title?
Click to expand...
Click to collapse
first of all this is my own work not a single word is copied
And I don't got you i gave credits to all people who deserves it
GuneetAtwal said:
first of all this is my own work not a single word is copied
And I don't got you i gave credits to all people who deserves it
Click to expand...
Click to collapse
Well, I can't find credits in all of the thread
And I didn't say you copied it
iamareebjamal said:
Well, I can't find credits in all of the thread
And I didn't say you copied it
Click to expand...
Click to collapse
I have given credits in my every Thread and i only credits those who really deserves or i don't credit them
Link me to any of my thread without any special thanks or credits ??
GuneetAtwal said:
I have given credits in my every Thread and i only credits those who really deserves or i don't credit them
Link me to any of my thread without any special thanks or credits ??
Click to expand...
Click to collapse
So may I think you learnt what is written in this thread all on your own?
Nabs Zains said:
So may I think you learnt what is written in this thread all on your own?
Click to expand...
Click to collapse
Yeah it is my hard work bro
Even most of my guides are based on simple topic which is easy but rare to find an answer for a Newbie thats why i made these guides but now as i am leaving XDA soon with the release of Best ROM i wont be making more guides which i had planned
Edit: When i was a noob no one was there to reply me i don't know why so with time i learnt everything about this green Creature (Android )
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!
Well i guess i have to make this guide for L3 users for stop asking me "How to remove Music widget on Statusbar".
I assume you to know How to Decompile .apks using ApkTool Click Me for the Guide
Let's we start....
What you need;
- Computer
- ApkTool
- Notepad++
- A cup of coffee
> Make sure your mind and mood are in a good situations
> For any .apks mods, you need Deodexed .apks Click Me for the Guide
> Copy your SystemUI.apk onto your SDCard then send it to your computer [ use esFile explorer or Root explorer > navigate to /system/app/ ]
> After Decompile your SystemUI.apk, navigate to /res/layout/
> Open lge_status_bar_expanded with Notepad++
> Scroll down and search this line:
Code:
<LinearLayout android:gravity="left" android:layout_gravity="center" android:orientation="horizontal" android:id="@id/music_status_bar_[COLOR="Red"]port[/COLOR]" android:background="@drawable/indi_noti_music_bg" android:paddingLeft="3.0dip" android:paddingTop="3.0dip" android:paddingRight="9.0dip" android:paddingBottom="3.0dip" android:layout_width="wrap_content" android:layout_height="[COLOR="Red"]wrap_content[/COLOR]">
> Go to the end of the line, and change this code:
Code:
android:layout_height="wrap_content">
> To:
Code:
android:layout_height="0.0dip">
> Scroll down again for change the Landscape mode. Search this line:
Code:
<LinearLayout android:gravity="left" android:layout_gravity="center" android:orientation="horizontal" android:id="@id/music_status_bar_[COLOR="Red"]land[/COLOR]" android:background="@drawable/indi_noti_music_bg" android:paddingLeft="3.0dip" android:paddingTop="3.0dip" android:paddingRight="3.0dip" android:paddingBottom="3.0dip" android:layout_width="wrap_content" android:layout_height="[COLOR="Red"]wrap_content[/COLOR]">
> Do a same changes
> Save it
> Still in /res/ folder, now go to /layout-ldpi/
> Open lge_status_bar_expanded with Notepad++
> Do the same thing as mentioned above
> Re-Compile your SystemUI.apk
> Send it back into your phone
> Perform backup
> Replace the original SystemUI.apk [ set permission and change owner/ group ]
> Reboot
> Enjoy...!!!
Credit to:
Sudeep duhoon for telling me alot of L3's .xml [ Thanks mate :highfive: ]
Give me a Motivate by Hit that THANKS button
or Help me for Upgrade my Damn Networking by DONATE to me :fingers-crossed:
Reserved
Place holder........
yayakuya did it again... thanks bro, I spent months trying to do it without any luck! :good:
darknessx10 said:
yayakuya did it again... thanks bro, I spent months trying to do it without any luck! :good:
Click to expand...
Click to collapse
now you got this one....
hmmmm...
i already managed to deodex my SystemUI.apk.but still i can't do it.tried both on odex and deodex but the status bar always disappear after reboot.also changed the permission to rw-r-r.still no luck.
/sigh..
i don't want any other version of firmware.i wish i can do it with the one that i'm using v10n europe open.
viking_kong said:
i already managed to deodex my SystemUI.apk.but still i can't do it.tried both on odex and deodex but the status bar always disappear after reboot.also changed the permission to rw-r-r.still no luck.
/sigh..
i don't want any other version of firmware.i wish i can do it with the one that i'm using v10n europe open.
Click to expand...
Click to collapse
don't worry if you wanted these mod for your fw.
just take one of SystemUI from here: http://forum.xda-developers.com/showthread.php?t=2091818
open SystemUI.apk with winrar > navigate to /res/layout/ > pull lge_statusbar_expanded.xml and statusbar_expanded.xml. then pull once again lge_statusbar_expanded.xml from /layout-ldpi...
now you can replace yours with mine .xmls...
is it clear for you? remember, don't PM me for this anymore... kay...
ok i will try to just get the xml file from the one you made.
Thank you !
Thank you!:laugh:
Hey yaya, sorry for this noob question. Thats gonna be the first time that I do something like this
Is this step neccesary?
For any .apks mods, you need Deodexed .apks Click Me for the Guide
Thanks in advance
Edit: I 've read this twice and I realised that is neccesary xD. Now the problem is that I dont understand the tutorial of installing cygwin, anyway.
Thanks from Peru
Darkar18 said:
Hey yaya, sorry for this noob question. Thats gonna be the first time that I do something like this
Is this step neccesary?
For any .apks mods, you need Deodexed .apks Click Me for the Guide
Thanks in advance
Edit: I 've read this twice and I realised that is neccesary xD. Now the problem is that I dont understand the tutorial of installing cygwin, anyway.
Thanks from Peru
Click to expand...
Click to collapse
for just use apktool, you don't need cygwin installed...
it's for make a ROM....
Thanks bro, I could do it.
Thanks the music widget was orrible..
i can't find the res folder
Why i can't find the res folder, even I use Root Explorer
I can see folders like acct , Cashe , data but not ras
khaled2000 said:
Why i can't find the res folder, even I use Root Explorer
I can see folders like acct , Cashe , data but not ras
Click to expand...
Click to collapse
go to system folder then app folder and u will see apps there. one of them is your systemui.apk
extract your SystemUI.apk and youll get what u want
Re
This is good its so annoying to have that music widget when not using it thanks
this is really usefull! very annoying... music widget .... thanks
Nice guide friend ..... thank you....
Sent from my LG-E400 using xda premium
Good : Điên:
Great tutorial
Thanks
Thank you
Glad this is helpful...
Welcome everyone!!!
Here i Guide You to change settings backgroud of your rom
Tested On LP
Requirements:
Apktool
Knowledge of decompiling/recompiling
Settings.apk
notepad++
Process
VIDEO GUIDE
NOTE : JOIN OUR FACEBOOK GROUP FOR MORE THEMING GUIDES
Firstly setup apktools on your windows after that extract framework-res.apk,Mediatek-res.apk and SystemUI.apk
Now install all these above apk in your apktool by using following commands
Framework
Code:
apktool if framework-res.apk
Mediatek
Code:
apktool if mediatek-res.apk
SystemUI
Code:
apktool if SystemUi.apk
after that extract your settings.apk from your rom and decompile it using
Settings
Code:
apktool d settings.apk
after decompilition is sucessful locate to settings folder and go to path
Code:
res/values/style.xml
now open style.xml using notepad++
search for code
locate
Code:
<style name=Theme.SettingsBase [email protected]:style/Theme.Material
now find the code under style.xml
Code:
<item name=android:colorBackground>#ffffffff</item>
if there is no such code add by your own and save it
now open res/layout/dasboard_category and find code
Code:
android:colorbackground
change the value of colorbackground with any hex of color you want
at last save yor xmls and recompile your settings apk
using
Code:
APKTOOL B SETTINGS
push your apk to your phone replace this with your original ,all done
Dont Forget To HIT Thanks If you like the Guide
Thanks bro
I have a question Dear
How do I can them the system ui lollipop
Hi how can I have the card layout for settings .Thank you