Hey everyone, I've spent the last hour or so decompiling and stuff to Settings.apk and have found the solution to adding "Mod version" to the "About phone" section of our phones!
Recompile Settings.apk with the changes in the source below. Then, add to /system/build.prop:
Code:
ro.modversion=[your ROM name]
EDIT: To anybody that applied this fix before 2011.01.20, please recompile your Settings.apk with the new fix that'll display "ro.modversion" correctly.
smackdown85146 said:
Hey everyone, I've spent the last hour or so decompiling and stuffs to Settings.apk and may have found the solution to adding "Mod version" to the "About phone" section of our phones. However, I don't have a working device to test this on, so could anybody out there decompile/recompile Settings.apk with my changes?
All help is appreciated!
Click to expand...
Click to collapse
Well, I'm a little bored. What the hell.
Root explorer:
System/build.prop, you can edit the Mod info from there.
MWBehr said:
Well, I'm a little bored. What the hell.
Click to expand...
Click to collapse
Nice...
What would be the use of this, i wonder...
kaizasoshi said:
Root explorer:
System/build.prop, you can edit the Mod info from there.
Click to expand...
Click to collapse
But to display it in Settings, you need to edit a few things.
ndwgs said:
Nice...
What would be the use of this, i wonder...
Click to expand...
Click to collapse
And it's mostly for developers to use so they can display which version of their ROM people are running.
Sorry it took a sec, had to add a couple lines to your strings that weren't there for it to recompile. Unfortunately nothing new is appearing in "About Phone".
MWBehr said:
Sorry it took a sec, had to add a couple lines to your strings that weren't there for it to recompile. Unfortunately nothing new is appearing in "About Phone".
Click to expand...
Click to collapse
Alright, thanks bro! Looks like I've got just a little bit more to do.
smackdown85146 said:
Alright, thanks bro! Looks like I've got just a little bit more to do.
Click to expand...
Click to collapse
Wait, I screwed up. It worked
Sorry for the confusion. I pushed the original Settings.apk to my phone instead of the new one. I hope you're not actively trying to fix a problem that doesn't exist
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MWBehr said:
Wait, I screwed up. It worked I'll post a pic in a sec.
Sorry for the confusion.
Click to expand...
Click to collapse
Oh man sweet! ROM devs, stop here
Sent from my SGH-T959 using XDA App
smackdown85146 said:
Oh man sweet! ROM devs, stop here
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Oh good, I was worried you were going to waste a bunch of time screwing around with it some more
MWBehr said:
Oh good, I was worried you were going to waste a bunch of time screwing around with it some more
Click to expand...
Click to collapse
Hahaha well I was trying to find out why. But do you mind posting what you changed so I can add it to the source and update the OP?
Sent from my SGH-T959 using XDA App
smackdown85146 said:
Hahaha well I was trying to find out why. But do you mind posting what you changed so I can add it to the source and update the OP?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Well it's just a couple lines for a lockscreen mod at the end of strings.xml:
PHP:
<string name="lock_screen">Unlock screen</string>
<string name="lock_screen_summary">Glass unlock will be shown when the device is locked</string>
This will probably be true for any custom rom, but stock roms will probably get by without changing anything.
Edit: time for me to crash. If you need anything else, send me a PM
MWBehr said:
Well it's just a couple lines for a lockscreen mod at the end of strings.xml:
PHP:
<string name="lock_screen">Unlock screen</string>
<string name="lock_screen_summary">Glass unlock will be shown when the device is locked</string>
This will probably be true for any custom rom, but stock roms will probably get by without changing anything.
Click to expand...
Click to collapse
Oh okay. So it looks like this mod is all systems go!
Sent from my SGH-T959 using XDA App
So what would you add to the build.prop to change it?
jdanisevich said:
So what would you add to the build.prop to change it?
Click to expand...
Click to collapse
ro.modversion=string
Well, one little snag. When I got up this morning, I opened up my build.prop and found that Modversion was already defined:
PHP:
ro.modversion=Axura-2.2.7.1-Vibrant
So...it shouldn't have shown up as "Unknown" in the screenshot I posted. Just a heads up.
MWBehr said:
Well, one little snag. When I got up this morning, I opened up my build.prop and found that Modversion was already defined:
PHP:
ro.modversion=Axura-2.2.7.1-Vibrant
So...it shouldn't have shown up as "Unknown" in the screenshot I posted. Just a heads up.
Click to expand...
Click to collapse
Okay then. I defined modversion_default=Unknown, so I just have to fix some getprop things or something.
Sent from my SGH-T959 using XDA App
MWBehr said:
Well, one little snag. When I got up this morning, I opened up my build.prop and found that Modversion was already defined:
PHP:
ro.modversion=Axura-2.2.7.1-Vibrant
So...it shouldn't have shown up as "Unknown" in the screenshot I posted. Just a heads up.
Click to expand...
Click to collapse
Okay, so I think the fix was changing:
Code:
invoke-direct {p0, v1, v2}, Lcom/android/settings/DeviceInfoSettings;->setValueSummary(Ljava/lang/String;Ljava/lang/String;)V
to
Code:
invoke-direct {p0, [COLOR="Red"][B]v2[/B][/COLOR], [COLOR="red"][B]v3[/B][/COLOR]}, Lcom/android/settings/DeviceInfoSettings;->setValueSummary(Ljava/lang/String;Ljava/lang/String;)V
Do you mind recompiling with the the .zip attached since I still have no device at the moment? Thanks
smackdown85146 said:
Hey everyone, I've spent the last hour or so decompiling and stuffs to Settings.apk and have found the solution to adding "Mod version" to the "About phone" section of our phones!
Recompile Settings.apk with the changes in the source below. Then, add to /system/build.prop:
Code:
ro.modversion=[your ROM name]
Click to expand...
Click to collapse
Thanks for your hard work on this!
I'll credit you when I use it - after a little EDT tweak.
Related
Hi, everyone... I notice that people dont like Sonnysekhon's ICS v1.5 theme becuz of the deskclock time cant be seen... But no worries anymore!
ZduneX25 has actually implent a fix for this since his first meizu theme and miui theme released... So im here to tell u more... Every DeskClock is universal for certain devices like:
Droid X Motoblur Alarm deskclock can be usable on the LG Optimus One P500 CyanogenMod 7.1...
Get it?
But this time i only release for the hdpi... Test it and give feedback! If u like it, press thanks!
Remember! To test this u need to use a theme with stable image background or transparency...
Credits to ZDuneX25
Ok guys, this deskclock.apk i uploading is universal, backup ur original...
Download
(RECOMMENDED TO USE ON CM NIGHTLIES!)
And here it is! Thanks to Z25! Anyone up to create a flashable zip?
http://www.mediafire.com/?cx2wjccf24jswfg
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
How to install?!!! (Im a NOOB and i need help immediately?!!!!!!!!)
1. Get a Root Explorer
2. Download the apk above
2b. Mount to r/w (ReWritable)
3. Copy the DeskClock.apk to System/App
4. Set permission to 644 (The picture is just for illustration)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5. Close Root Explorer
6. Do a Hot Reboot or Cold one and ur done!
Click to expand...
Click to collapse
Screenshots
Update:
v1
-Initial Release
-Thanks to ZduneX25
v2
-Added ICS AndroidClock.ttf (Font)
Sent from my Nexus One using Tapatalk
I'm curious to know what edit/s have to be made for this. I use Alarm Clock Plus but it also suffers the same problem as deskclock. So I'll probably mod and resign it to fix it for me.
Thanks for this btw!
Edit: after a bit of playing around, I found this... is the /transparent the only change made? I compared xmls and saw this difference so far
Code:
<?xml version="1.0" encoding="UTF-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false" android:drawable="@android:color/transparent" />
<item android:state_pressed="true" android:drawable="@drawable/list_selector_background_pressed" />
</selector>
Works well Mr. Elektro
anoneemooz said:
I'm curious to know what edit/s have to be made for this. I use Alarm Clock Plus but it also suffers the same problem as deskclock. So I'll probably mod and resign it to fix it for me.
Thanks for this btw!
Edit: after a bit of playing around, I found this... is the /transparent the only change made? I compared xmls and saw this difference so far
Code:
<?xml version="1.0" encoding="UTF-8"?>
<selector
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false" android:drawable="@android:color/transparent" />
<item android:state_pressed="true" android:drawable="@drawable/list_selector_background_pressed" />
</selector>
Click to expand...
Click to collapse
Yes... This is recommended for ICS Theme
Sent from my Nexus One using Tapatalk
Update with a proper How-to install...
Mirror anyone?
Stewie just said that!
Shadow_Android said:
Mirror anyone?
Stewie just said that!
Click to expand...
Click to collapse
Dropbox doesnt work for u?
Works great with Sonny's ICS theme and CM7 nighlty. Thanks for posting the mod
Glad that you are enjoying it
ZduneX25 said:
Glad that you are enjoying it
Click to expand...
Click to collapse
All thanks to u!
Sent from my Nexus One using Tapatalk
Step 4
4. Set permission to 644 (The picture is just for illustration)
Click to expand...
Click to collapse
If I replace the DeskClock.apk on the rom .zip I use before installation ... Do I still need to do Step 4 permission to 644 or can that be ignored if installing this .apk straight from rom flash???
Y314K said:
If I replace the DeskClock.apk on the rom .zip I use before installation ... Do I still need to do Step 4 permission to 644 or can that be ignored if installing this .apk straight from rom flash???
Click to expand...
Click to collapse
U can ask someone or a dev to add this into rom and no u cant install like a normal apk cuz this is a system app...
Sent from my Nexus One using Tapatalk
Y314K said:
If I replace the DeskClock.apk on the rom .zip I use before installation ... Do I still need to do Step 4 permission to 644 or can that be ignored if installing this .apk straight from rom flash???
Click to expand...
Click to collapse
Why don't you just try it? People are far too afraid of doing things themselves these days
Sent from my Incredible S using xda premium
l0st.prophet said:
Why don't you just try it? People are far too afraid of doing things themselves these days
Sent from my Incredible S using xda premium
Click to expand...
Click to collapse
Becuz scared of gettin bootloops and fc?? Oh come on!!! Its been tested on Optimus One, so now its supports MDPI...
Sent from my Nexus One using Tapatalk
C:\android>cd platform-tools
C:\android\platform-tools>adb remount
remount succeeded
C:\android\platform-tools>adb push DeskClock.apk /system/app
1284 KB/s (273537 bytes in 0.208s)
Click to expand...
Click to collapse
and you don't even need to reboot
keyra74 said:
and you don't even need to reboot
Click to expand...
Click to collapse
Adb??
Sent from my Nexus One using Tapatalk
don't tell me you change apk and stuff and you never used the adb commands
keyra74 said:
don't tell me you change apk and stuff and you never used the adb commands
Click to expand...
Click to collapse
I did but i didnt use not to often...
Sent from my Nexus One using Tapatalk
Dax have you thought about making this applicable via metamorph? It could be done on the fly..
Of course I am assuming this is the same fix that just replaces a layout.xml file in the apk
MrDSL said:
Dax have you thought about making this applicable via metamorph? It could be done on the fly..
Of course I am assuming this is the same fix that just replaces a layout.xml file in the apk
Click to expand...
Click to collapse
Hmm, maybe can try... But im no good in xml editor, anyone up to it?
Sent from my Nexus One using Tapatalk
Hi, this mod was inspired by evilisto.
--JB only!-- thanks for confirming,Adi-ai****eru..
Here is smali ways to add transparent lockscreen mod in your ROM.
I tested only in JB, nexus S and Galaxy Nexus.( haven't tested in ics)
I guess it should be a aosp ROM.(not a touchwiz, sense, miui firmware...etc)
This thread will be removed if problem occurs in other devices.
**Looking for Source code?
Here is evilisto's GUIDE
http://forum.xda-developers.com/showthread.php?t=1889896
**Screenshots?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
More screenshots
http://forum.xda-developers.com/showthread.php?t=1889896
#######USE AT OWN YOUR RISK!#######
*****Guide*****
It's very simple, you need to know basic knowledges about baksmali/smali.
1. Get your ROM's system/framework/android.policy.jar
2. Baksmali it!
3. Look for this file:
/policy/impl/KeyguardViewManager.smali
4. Open it using Notepad++
5. Search this..(ctrl+f)
Code:
const v4, 0x4100800
6. Change it to
Code:
const v4, 0x4000800
7. Smali it! And put classes.dex in your Android.policy.jar
8. Put it in /system/framework/
(Permission rw-r--r--)
9. DONE
Enjoy it!
Just in case
WOW !
Quick question , would I be able to incorporate this into a theme (CM10/AOKP) or is it just for ROM builders/modders
Thanks.
Sean_Seany said:
WOW !
Quick question , would I be able to incorporate this into a theme (CM10/AOKP) or is it just for ROM builders/modders
Thanks.
Click to expand...
Click to collapse
Since it uses smali, it's for ROM builders/modders.
Sent from my Nexus S using Tapatalk 2
Articudos said:
Since it uses smali, it's for ROM builders/modders.
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
Ok thanks , I will give it a go later on and let you know how it went
on slimbean doesn't work
EDIT.....sorry is working. My misstake *gg* thanks!!!
seems to work on all devices got feedback of some SlimBean devices.
hey.....one issue.....when receiving a call and after that when the phone locks again background is black....after relocking everything fine. Could you confirm that?
kufikugel said:
hey.....one issue.....when receiving a call and after that when the phone locks again background is black....after relocking everything fine. Could you confirm that?
Click to expand...
Click to collapse
Same here. I'll try to fix it.
Sent from my Nexus S using Tapatalk 2
Nice
Sent from my GT-I9300
Articudos said:
Same here. I'll try to fix it.
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
thanks!!! this would be nice cause I have not the time at the moment to look myself.......
merci
Thanks a ton, this works perfectly to make the lockscreen more useful!!
arnolds1 said:
Thanks a ton, this works perfectly to make the lockscreen more useful!!
Click to expand...
Click to collapse
Of course it should
Sent from my Nexus S using Tapatalk 2
Just received your issue-solved version.I'll check if that works^^
awesome....you fixed it??
regards,
Lars
kufikugel said:
awesome....you fixed it??
regards,
Lars
Click to expand...
Click to collapse
Not yet. Initial test version caused boot loops. Actually, I'm really busy right now.. so not enough time to look for it
I'll try to fix it asap.
Sent from my Nexus S using Tapatalk 2
Sir Articudos
I have done an experiment and try to this guide on CM9 GT-i8150 Wonder
but the lockscreen background become just black
Adi_ai****eru said:
Sir Articudos
I have done an experiment and try to this guide on CM9 GT-i8150 Wonder
but the lockscreen background become just black
Click to expand...
Click to collapse
Sorry, I have no idea about ics..
Did u turn on screen and then off, least once?
Sent from my Nexus S using Tapatalk 2
Articudos said:
Sorry, I have no idea about ics..
Did u turn on screen and then off, least once?
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
yes I did that sir.. but still black
Adi_ai****eru said:
yes I did that sir.. but still black
Click to expand...
Click to collapse
Hmm..It seems to be not compatitable with ICS.:/
Sent from my Nexus S using Tapatalk 2
Articudos said:
Hmm..It seems to be not compatitable with ICS.:/
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
I don' t know sir, but I haven't try diff pacth source link you shared yet. .
seems the patch also for services.jar too..
Holo Style MOD for Stock SMS App
Hey guys I've created a Holo themed SMS app from our stock SMS app. I found many SMS apps that were inverted but the problem with most of them was that they had removed important features like 'Soft Keyboard Style' and similar important features which is what led me to make this. This is my first MOD and my first contribution to the android world and XDA. It has all the features of stock nothing has been removed and it's themed to look like the Holo interface. Hope you guys like it. If you find any bugs then please let me know I'll try to fix them as soon as possible. Enjoy!
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Download:
http://www.mediafire.com/?wxtbv09jm9nt7wg
Instructions:
Using a file explorer:
1). Download Mms.apk and place it on your SD card.
2). Navigate to system/app/ and rename the Mms.apk present there to Mms.apkbak this is the backup of your current Mms app
3). Copy the downloaded Mms.apk and place it in /system/app/
4). Change the permissions to rw-r--r-- and tap apply.
5). Reboot and enjoy!
Credits:
ME (Duh!)
Difusal
Acedexplorerabl
saranshvaid
Karanbir439
Ateeq72
tushaarshetty
montymintpie
Enjoy and don't forget to hit thanks!!
Just Pressed Thanks
Nice Work Done!
Can you port it to GB?
saranshvaid said:
Just Pressed Thanks
Nice Work Done!
Click to expand...
Click to collapse
Thanks!!
Imperticus said:
Can you port it to GB?
Click to expand...
Click to collapse
Umm no sorry the problem with GB is that i'll have to port it for every type of GB because sense, touchwiz, motoblur, timescape all have different sms apps and i don't have access to any of these files nor do i have the time to port them to every device! Sorry!
karanrajpal14 said:
Thanks!!
Umm no sorry the problem with GB is that i'll have to port it for every type of GB because sense, touchwiz, motoblur, timescape all have different sms apps and i don't have access to any of these files nor do i have the time to port them to every device! Sorry!
Click to expand...
Click to collapse
You should just do cm7, if you can.
Sent from my Optimus 2X using Tapatalk
Imperticus said:
You should just do cm7, if you can.
Sent from my Optimus 2X using Tapatalk
Click to expand...
Click to collapse
Alright i'll do it when i'm free! Just cm7 shouldn't be a problem!
koooooooooooool.....xpecting more:good:
very nice
Awesome Work Done!
waiting for the matching contacts app
Cool Mod! THANKX
thanks u very much
darklion03 said:
thanks u very much
Click to expand...
Click to collapse
Glad you liked it!
hsn97 said:
Awesome Work Done!
waiting for the matching contacts app
Click to expand...
Click to collapse
The contacts app is coming soon! Glad you liked it!
bonell said:
Cool Mod! THANKX
Click to expand...
Click to collapse
You're welcome! Glad you liked it!
Bro, great mod! That's a beautiful look you've achieved there
Possible it get it modified to show sent timestamps? Difusal's work allows that but no one else seems to know how to do it
Difusal said:
Bro, great mod! That's a beautiful look you've achieved there
Click to expand...
Click to collapse
Thanks! It means a lot coming from you!!
geokilla said:
Possible it get it modified to show sent timestamps? Difusal's work allows that but no one else seems to know how to do it
Click to expand...
Click to collapse
Umm doesn't the show full timestamps do the same? This is my first mod I really don't know how to add or remove features but i assure you i will add more features when i learn to do so. Thanks!
karanrajpal14 said:
Umm doesn't the show full timestamps do the same? This is my first mod I really don't know how to add or remove features but i assure you i will add more features when i learn to do so. Thanks!
Click to expand...
Click to collapse
Full timestamps means date and everything. Sent time stamps show when the text message was sent, as there may be a delay when it was sent and when it's received.
If you and Difusal don't mind, maybe you can PM him on how he got the Sent timestamps feature?
geokilla said:
Full timestamps means date and everything. Sent time stamps show when the text message was sent, as there may be a delay when it was sent and when it's received.
If you and Difusal don't mind, maybe you can PM him on how he got the Sent timestamps feature?
Click to expand...
Click to collapse
I shall have a word with him and see what can be done! Thank you for your patience!
Sadly force closes on me after trying to open/send messages. UI looks nice wish it worked running on ICS 4.0.3, Semiv17 ROM and v4 1.2 siyah :/ ...might it have to do that after i renamed my MMS to mms.apkbak it dissapeared? lol
Nice work
Could i make a request to you to mod my conversations.apk like your holo themed one ?
AHomelessGuy said:
Sadly force closes on me after trying to open/send messages. UI looks nice wish it worked running on ICS 4.0.3, Semiv17 ROM and v4 1.2 siyah :/ ...might it have to do that after i renamed my MMS to mms.apkbak it dissapeared? lol
Click to expand...
Click to collapse
That's odd it's supposed to work on ICS. Can you try again? Sorry for the trouble!
kokzhanjia said:
Nice work
Could i make a request to you to mod my conversations.apk like your holo themed one ?
Click to expand...
Click to collapse
Umm I really don't have the time to mod now. Have exams coming up in college. Sorry! It's precisely why you haven't seen the contacts mod yet too. I don't have enough time to work on it. I'll help you out when I'm free. Sorry!
Sent from my HTC Explorer A310e using xda premium
MODDED XPERIA THEME ACCENT
with Changeable System app background color
Hi guys, I know after updating to Jelly Bean. I found some problem on theme. For example, when I changed theme from XPERIA into Ruby, only framework button color has changed. But, It still black background.
I have a good idea, I opened each theme apks and there's no 'semc_bg_tile' and then I resolved this to add semc_bg_tile and before that, I modded color of semc_bg_tile and I put on each of theme. I installed this. IT'S WORKING 100 %
Click to expand...
Click to collapse
I'm introducing my modded Xperia Themes and It's for JB Stock ROM. I included changeable system app background color function that I would be seems like ICS
Let's see my screenshot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
REQUIREMENTS
Rooted Stock JB ROM
DOWNLOAD THIS !!!
COPY INTO SD CARD AND REBOOT INTO CWM
FLASH VIA CWM AND ENJOY !!!
Click to expand...
Click to collapse
TUTORIAL
- Download my attachment 'semc_bg_tile.png
- Decompile one of theme apk that placed from system > app. For example BlackTheme.apk
- Copy semc_bg_tile.png into res > drawable-xhdpi
- Add this line in R$drawable.smali on smali/ com/ sonyericsson/ blacktheme LIKE THIS
Code:
.field public static final semc_bg_tile:I = 0x7f020003
- Add this line in public.xml
Code:
<public type="drawable" name="semc_bg_tile" id="0x7f020003" />
- Recompile and sign this
Click to expand...
Click to collapse
CLICK THANKS IF YOU LIKE MY WORK !!
very nice work.:good:
I've been thinking about ways to try and improve the sony themes from just a color overlay and a wallpaper.
I'm wondering if its possible to add in the "semc_***" png's from framework-res so themes can be applied on the fly without having to flash zip files.
I might have a play tonight if i get bored.
Thanks, really useful! I'll update my theme according to your tutorial when I get time
Posted by Sony Xperia™ Ion via xda-premium
Man is not possible now to add more themes to the list? or we still have to replace stock ones?
daniel090588 said:
Man is not possible now to add more themes to the list? or we still have to replace stock ones?
Click to expand...
Click to collapse
Yes, It's possible
I made a total black background for my setting. Thanks
Sent from my T-Rex
josephnero said:
I made a total black background for my setting. Thanks
Sent from my T-Rex
Click to expand...
Click to collapse
Screenshot please !!
Sent from my LT25i using xda premium
screen Coming up
josephnero said:
screen Coming up
Click to expand...
Click to collapse
So you can edit this png for yours
Sent from my LT25i using xda premium
yes.i guess
danisariandi said:
Yes, It's possible
Click to expand...
Click to collapse
How can we do that man?
daniel090588 said:
How can we do that man?
Click to expand...
Click to collapse
by add semc_bg_tile
daniel090588 said:
How can we do that man?
Click to expand...
Click to collapse
I'm assuming you mean add extra themes instead of modifying exciting themes?
If so look for cm10 theme tutorial and follow how to package rename.
Off the top of my head,
you need to decompile and edit the Android manifest xml package name on the top line.
Then edit the res/values/strings xml to match your new package name
Then compile and sign/install.
If no body gives you a better guide, I'll do it when I get home in an hour or two.
I don´t know anything about compiling apks i just wanted to know if it was possible and may be some developer try it and share some new themes with us i really don´t have a lot of free time to do this job but if it´s possible that would be great to have may be the old xperia themes and the new ones without having to flash anything
is to necessary to do semc_bg_tile?
as I did semc_theme_bg and it did not work??
jatinrungta said:
is to necessary to do semc_bg_tile?
as I did semc_theme_bg and it did not work??
Click to expand...
Click to collapse
Semc_bg_tile
Sent from my LT25i using xda premium
@danisariandi
does this work on Xperia P with JB?
Pandemic said:
@danisariandi
does this work on Xperia P with JB?
Click to expand...
Click to collapse
Maybe work
Sent from my LT15i using xda app-developers app
danisariandi said:
Maybe work
Sent from my LT15i using xda app-developers app
Click to expand...
Click to collapse
nope it didn`t work, i sended you a pm please respond on that @danisariandi
My first ever mod for XZ.
Features:
1. Old style quick setting (no tabs).
2. Add brightness slider.
3. Add AOSP navbar buttons
Screenshot : (very huge)
v1
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
v2
Downlaod:
V1
V2
Please kindly do not mirror without permission.
Intallation Instruction:
! MAKE NANDROID BACKUP !
1. Reboot to recovery
2. Flash the zip
3. Reboot
4. Enjoy
* If that doesn't work, try pushing systemUI.apk inside the zip manually to system/priv-app, set permission rw-r-r, reboot.
If You like it and use it, please consider pressing the thanks button.
It only takes a couple of seconds, not a life time.
CREDITS:
Rajeev - for his help
RyokoN - for his nice tutorial
Ticklefish - for letting me use his brightness slider code
Could you please make it for ZL too? Appreciate it!
batrian said:
Could you please make it for ZL too? Appreciate it!
Click to expand...
Click to collapse
Z mods work on zl too..
Edit: did u try this or based on the other one not working u guess this requires a zl mod version?
@rer3 bro
Nice Work. U Deserve A Thanks. Already Given. Good Work
demonicangell™ said:
Z mods work on zl too..
Edit: did u try this or based on the other one not working u guess this requires a zl mod version?
Click to expand...
Click to collapse
Errm I didn't use this one and yes I thought like the other one, this won't work too. But it's also nice to keep the original kitkat quick settings and having that brightness bar
Edit: this one also doesn't work I get constant systemui force close
batrian said:
Errm I didn't use this one and yes I thought like the other one, this won't work too. But it's also nice to keep the original kitkat quick settings and having that brightness bar
Edit: this one also doesn't work I get constant systemui force close
Click to expand...
Click to collapse
for systemui mod, it only works with the same framework, ZL and Z have a different framework I guess.
ticklefish already made 4.4.2 quicksetting with a brightness slider here's the thread.
send me your framework-res.apk and systemui.apk, I'll try to made one.
rer3 said:
for systemui mod, it only works with the same framework, ZL and Z have a different framework I guess.
ticklefish already made 4.4.2 quicksetting with a brightness slider here's the thread.
send me your framework-res.apk and systemui.apk, I'll try to made one.
Click to expand...
Click to collapse
Thank you so much! here it is, I have attached the files you needed
batrian said:
Thank you so much! here it is, I have attached the files you needed
Click to expand...
Click to collapse
Try this and let me now if it works.
rer3 said:
Try this and let me now if it works.
Click to expand...
Click to collapse
Thank you for putting your time, I manually copied in system but I still keep getting :com.android.systemui has stopped, and cant do anything unless hard reset and go to recovery.
batrian said:
Thank you for putting your time, I manually copied in system but I still keep getting :com.android.systemui has stopped, and cant do anything unless hard reset and go to recovery.
Click to expand...
Click to collapse
have you tried wiping cache and dalvik cache ?
rer3 said:
have you tried wiping cache and dalvik cache ?
Click to expand...
Click to collapse
Yes I did. Still same constant error. it's fine bro. I think I will just stick with original quick settings
V2 added to the OP.
Great job man. But do you think you could add the brightness bar to Niaboc's SystemUI mod? The one that looks like this: http://i.imgur.com/FMKHjss.jpg
Kocayine said:
Great job man. But do you think you could add the brightness bar to Niaboc's SystemUI mod? The one that looks like this: http://i.imgur.com/FMKHjss.jpg
Click to expand...
Click to collapse
Did you ask @niaboc79 ?
Pandemic said:
Did you ask @niaboc79 ?
Click to expand...
Click to collapse
Nah but now that you mention it, he probably will not appreciate it.
Nevermind then
Kocayine said:
Great job man. But do you think you could add the brightness bar to Niaboc's SystemUI mod? The one that looks like this: http://i.imgur.com/FMKHjss.jpg
Click to expand...
Click to collapse
Kocayine said:
Nah but now that you mention it, he probably will not appreciate it.
Nevermind then
Click to expand...
Click to collapse
You could do that, the things are, you have to make it yourself and don't share it unless you got yourself a permission.
@rer3
how do you get the 5 icons like here:
can you tell us that?
Pandemic said:
rer3
how do you get the 5 icons like here:
can you tell us that?
Click to expand...
Click to collapse
Just a simple integer editting, inside systemui/res/values/integers.
rer3 said:
Just a simple integer editting, inside systemui/res/values/integers.
Click to expand...
Click to collapse
yes i figured it out, but thanks
Kocayine said:
Great job man. But do you think you could add the brightness bar to Niaboc's SystemUI mod? The one that looks like this: http://i.imgur.com/FMKHjss.jpg
Click to expand...
Click to collapse
Pandemic said:
Did you ask @niaboc79 ?
Click to expand...
Click to collapse
Kocayine said:
Nah but now that you mention it, he probably will not appreciate it.
Nevermind then
Click to expand...
Click to collapse
There's no harm in asking.
I'm happy to add the brightness bar to their mod...with their permission, of course.
It's actually quite a simple mod, once you know how. And it's all thanks to @serajr