I am running CM9 Alpha 3 and I have always wanted soft keys on my X2 because I just do not like the hard buttons. I found the thread about how to enable them on ICS Roms and it is fairly simple to do. I contacted DK on twitter to see if he may add them in a later update and he said he was not going to add them. I tried to do it last night and I just could not get APKTool to re-compile the Framework-res.apk.
Could someone who is able to re-compile an .apk possibly try this for me, it is only 2 edits to a couple of .xml files inside of the Framework-res.apk and adding 4 .png files to the SystemUI.apk. I only need the Framework-res.apk as I have already added the .png's to my SystemUI.apk. Here is the link to the mod and thank you to whoever will do it for me.
How to enable soft keys
Or you could download Button Savior and save yourself the headache.
tallyforeman said:
Or you could download Button Savior and save yourself the headache.
Click to expand...
Click to collapse
Thanks but its not the same and it gets in the way. The mod is very easy to do, I just cannot get APKTool to re-compile. The whole mod takes less than ten minutes.
Sent from my Incredible 2 using xda premium
bswann said:
Thanks but its not the same and it gets in the way. The mod is very easy to do, I just cannot get APKTool to re-compile. The whole mod takes less than ten minutes.
Sent from my Incredible 2 using xda premium
Click to expand...
Click to collapse
I heard if you used 7-Zip, you can take files out and put them in without extracting and messing with the APKs signature. Maybe you can just use it to take out the XML file and edit it and put it back in with the images too. Then replace the file on your phone.
jsgraphicart said:
I heard if you used 7-Zip, you can take files out and put them in without extracting and messing with the APKs signature. Maybe you can just use it to take out the XML file and edit it and put it back in with the images too. Then replace the file on your phone.
Click to expand...
Click to collapse
Thanks but, you have to edit the bool.xml inside the framework-res.apk/res/values and the only way to get to it is to de-compile it.
Sent from my Incredible 2 using xda premium
bswann said:
Thanks but, you have to edit the bool.xml inside the framework-res.apk/res/values and the only way to get to it is to de-compile it.
Sent from my Incredible 2 using xda premium
Click to expand...
Click to collapse
Ah. Well Id help if I knew how to decompile and recompile. But I dont. Sorry man.
Not being a DB,but I guess I'm confused. You wont be able to use the soft key area but for only that. At least with the Button Savior app, you can tap it and it disappears. You don't loose any screen space. Then again, it doesn't look as cool as the soft keys......
tallyforeman said:
Not being a DB,but I guess I'm confused. You wont be able to use the soft key area but for only that. At least with the Button Savior app, you can tap it and it disappears. You don't loose any screen space. Then again, it doesn't look as cool as the soft keys......
Click to expand...
Click to collapse
Your not being a DB. Button Savior would always be in the way whereas the soft keys would stay out of the way with only taken up about 37 px ( about the size of the status bar ). I just think with the size of our screens that it would benefit the experience.
Sent from my Incredible 2 using xda premium
Well, I got the framework-res.apk to re-compile but the arsc file is half the size it was and when flashed I get a USB error that says something like " activity?$%'*: USB is not responding please select a USB application ".
Sent from my Incredible 2 using xda premium
What exactly is it you don't like about the buttons, if you don't mind me asking?
tbluegator said:
What exactly is it you don't like about the buttons, if you don't mind me asking?
Click to expand...
Click to collapse
All the phones I have owned before this one have had capacitive buttons. Not to sound too lazy but, having to physically press the button vs just tapping the screen is annoying to me plus I like the way it looks.
Sent from my Incredible 2 using xda premium
So i was messing around with this and got the apk and zip signed. But when I flashed the zip it bootlooped. It went through one cycle like it would start up, flashed the lock screen, then went back to boot screen. When it flashed the screen it looked like there was a place where the soft keys should be that was just black and the rest of the screen had not been resized to fit it the keys were in place. I have a video uploading if anybody wants to see what happened(I'll add it when it's finished).
I should add, I'm not too concerned with having these, I just thought it would be an interesting project to try out. Seems like there are at least a few people that would use this.
Edit: Here is the link to the video
http://bit.ly/LjQpQi
Boom. Got them on here. Having some of the market compatibility issues though.
{
"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"
}
Nice!!! Looks legit, now what do I have to do to get them
Sent from my MB870 using XDA
RoyJ said:
Nice!!! Looks legit, now what do I have to do to get them
Sent from my MB870 using XDA
Click to expand...
Click to collapse
Haha I'll try to make a zip. Never have before though. I just changed what I needed to and repackaged dzk's alpha 3.
Again though, the screen looks pretty weird in parts. I'm going to try to find a fix for that tomorrow. Apparently it's something with the dpi of the screen. I'm pretty new to this so I'll have to do some digging
Sent from my MB870 using Tapatalk 2
That looks good, I personally don't need 'em but I know other people will.
Sent from my MB870 using XDA
Well no rush. I sometimes get annoyed at night by my buttons lol. I'll definitely use those when alpha 4 comes out
Sent from my MB870 using XDA
if it helps fascinate cm9 doesnt have the onscreen soft keys, except the OG ones that came from samsung
Related
If you come across this thread Option, feel free to delete it.
This request has been fulfilled by Rich2Thad! Check it out HERE!
Original Post:
I was hoping that someone might be able to port the lockscreen sliders from the R2-D2 Droid 2 to CM 7 Nightlies. I tried playing with it a little myself and just couldn't get it to work. I included the zip I found in an article somewhere with the images for it. I know it's going to take far more knowledge than what I have. If anyone feels up to the challenge I would greatly appreciate it!
Iriscience said:
I was hoping that someone might be able to port the lockscreen sliders from the R2-D2 Droid 2 to CM 7 Nightlies. I tried playing with it a little myself and just couldn't get it to work. I included the zip I found in an article somewhere with the images for it. I know it's going to take far more knowledge than what I have. If anyone feels up to the challenge I would greatly appreciate it!
Click to expand...
Click to collapse
Can u post a pic of what it looks like I'm interested in helping figure this out... I know a few people
CM7 wtf else....
This is what the stock R2D2 lockscreen looks like. I was wanting all the clock and text to stay the same as on the CM lockscreen, just change the sliders. Thanks so much for your interest and help!
{
"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"
}
you should be able to just change out the .png files. not sure though.
I tried that. These sliders are weird! They are slightly bigger (in file size and image size) than the stock CM7 sliders. Besides renaming and copying the pngs, I tried to resize and replace. But that didn't work either. I'm stumped about what else could be done. I have a feeling some xml editing is needed. I unfortunately have absolutely zero experience with xmls and don't have the first clue about where to start.
Iriscience said:
I tried that. These sliders are weird! They are slightly bigger (in file size and image size) than the stock CM7 sliders. Besides renaming and copying the pngs, I tried to resize and replace. But that didn't work either. I'm stumped about what else could be done. I have a feeling some xml editing is needed. I unfortunately have absolutely zero experience with xmls and don't have the first clue about where to start.
Click to expand...
Click to collapse
I will look into it in a hour or two
Sent from my HTC Glacier using XDA App
Awesome! Thanks so much!
my understanding the sliders from droid are 1 file combined with function and pic.
cm7 1 file for pic , 1 pic for background, 1 file fore function
i would help, but dont know how break it down
i could be wrong , i just open the files and compared them
Iriscience said:
Awesome! Thanks so much!
Click to expand...
Click to collapse
I downloaded the zip and did some searching hopefully ill have it up for you tomorrow night aafter I get off work
Sent from my HTC Glacier using XDA App
i will see what i can do
edit: seems this is past my knowledge
No way! That's awesome! Thanks so much Rich! You're the ****!
Iriscience said:
No way! That's awesome! Thanks so much Rich! You're the ****!
Click to expand...
Click to collapse
I'm working on it still my son just got back from Texas so its slowing me up a little bit but ill keep getting at it
Sent from my HTC Glacier using XDA App
No worries man! Family is WAY more important than this! Thanks again!
Sent from my CM7 Glacier
Iriscience said:
No worries man! Family is WAY more important than this! Thanks again!
Sent from my CM7 Glacier
Click to expand...
Click to collapse
I got a lil time right now so I'm gonna dive in for a bit... now I want the lockscreen too lol
Sent from my HTC Glacier using XDA App
What rom are u using
Sent from my HTC Glacier using XDA App
Just curious as to how this was coming along this looks really cool
Sent from my HTC Glacier using XDA App
Right now, I'm on CM 7 #34. I am actually going to update to #38 sometime today.
Iriscience said:
Right now, I'm on CM 7 #34. I am actually going to update to #38 sometime today.
Click to expand...
Click to collapse
Ok cool same as me... that makes my life a little easier lol... I got some work done last night on it class tonight so ill get back to it tomorrow
Sent from my HTC Glacier using XDA App
hackulous said:
Just curious as to how this was coming along this looks really cool
Sent from my HTC Glacier using XDA App
Click to expand...
Click to collapse
Seeing as how I appear the only one working on it the moment the process is a lil slow I don't have much time cuz my sons here for a visit but I'm working on it
Sent from my HTC Glacier using XDA App
I would like this too now
would it be in the form of a morph?
UPDATED 5/02/11
These are themed Touchwiz Mms.apks from KB5 (Froyo).
Blue Version
With blue
{
"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"
}
notification icons and app icon.
Black Background
Colored Background
No Lip
Green Version
With green
notification icons and app icon.
Black Background
Colored Background
No Lip
Unzip and push to your phone with adb or root explorer.
Wow, looks good.
Great job sir, two thumbs up
Thanks for sharing. Looks nice!
nice! I couldn't find the xml values to change the text to white so I gave up
I had a set of 9patch images I made... let me see if I can't find them
birgertime said:
nice! I couldn't find the xml values to change the text to white so I gave up
I had a set of 9patch images I made... let me see if I can't find them
Click to expand...
Click to collapse
Thanks Birg
Thanks for sharing.
This looks quite pretty!
Kudos!!!! You got my attention with this one!!!
Never used root explorer. Can someone give a quick refresh on the steps?
Sent from my SGH-T959 using XDA Premium App
Very nice
Sent from my Vibrant that thinks it is a GT-I9000 using the XDA app
christpuncher said:
Never used root explorer. Can someone give a quick refresh on the steps?
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
Long press on the file (Mms.apk) and select copy.
Navigate to system/app/ and while doing so make sure to press the "mount R/W" button at the top of the screen.
Paste the file in system/app/ then long press it again and select permissions.
Set them like this:
themed touchwiz
nice! I couldn't find the xml values to change the text to white so I gave up
I had a set of 9patch images I made... let me see if I can't find them
Click to expand...
Click to collapse
I think I can help with that. When I first started tweaking Samsung mms, I came upon a thread from MikeyMike01 of the Captivate threads who made that nice Gingerbread version I have on Tweaker. In the thread were instruction on changing the text color. I'll try to provide you with a link later on or shoot a pm to MikeyMike01.
themed touchwiz
Long press on the file (Mms.apk) and select copy.
Navigate to system/app/ and while doing so make sure to press the "mount R/W" button at the top of the screen.
Paste the file in system/app/ then long press it again and select permissions.
Click to expand...
Click to collapse
I'm not sure if it will make any difference, but the write box under "Group" should be unchecked too. At least that's how everything is in System/app.
RaymondPJR said:
I think I can help with that. When I first started tweaking Samsung mms, I came upon a thread from MikeyMike01 of the Captivate threads who made that nice Gingerbread version I have on Tweaker. In the thread were instruction on changing the text color. I'll try to provide you with a link later on or shoot a pm to MikeyMike01.
Click to expand...
Click to collapse
Sweet! Thanks!
MMS text color
nice! I couldn't find the xml values to change the text to white so I gave up
I had a set of 9patch images I made... let me see if I can't find them
Click to expand...
Click to collapse
Sent you a pm on that post by MikeyMike01, will post here for anyone else who may want to see it. http://forum.xda-developers.com/showthread.php?t=908656
Any way to get rid of the delivery reporting in this,i know I have a different device but I troll all the galaxy forums for awesome sauce :-D
Other than that this looks great, works great on my fascinate. Kudos
Kangbanged Samsung Fascinate
OTB Kernel 50uv
thefunkbots' Crysis Revolution 2.0 port
Sent from XDA Premium App
RaymondPJR said:
Sent you a pm on that post by MikeyMike01, will post here for anyone else who may want to see it. http://forum.xda-developers.com/showthread.php?t=908656
Click to expand...
Click to collapse
AMAZING, I read a post from this thread that mentioned decompiling the apks. This got me thinking about doing this with the stock Mms.apk to figure out how Samsung did the 9patch boundaries for the message pressed bubble. I've figured it out! Should have some completed themes up tomorrow!
Thanks for the link!
Im unable to unzip these new files. Any help?
Sent from my SGH-T959 using XDA Premium App
jesus752 said:
Im unable to unzip these new files. Any help?
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
http://www.7-zip.org/
I'll re-upload them as regular zips
Nice job think I like yours better than mine. Just need to blank out the contact pics and I think I'm using yours.
Here's mine if you want to check it out.
http://db.tt/OmfLwpV
Sent from my SGH-T959 using XDA App
Here's the classic Froyo look for your AT&T Gingerbread, 4.5.91.
It is Only for deodexed, 4.5.91.
Flash at own risk.
Download: http://www.mediafire.com/?iuc017lhxadhkxj
{
"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"
}
Big thanks and thumbs up
This is awesome! Any chance for 1% mod?
Cool One
Big thanks, Nottach! Love your theming work, man. Sent you a little something over PayPal. Keep up the good work. I'm a real patron.
love the battery i was on the older one. you the best. i am looking forward to using youre guide on porting when i have the time!
Nickel3ack said:
Big thanks, Nottach! Love your theming work, man. Sent you a little something over PayPal. Keep up the good work. I'm a real patron.
Click to expand...
Click to collapse
Hey thanks, Ive got two more I'm working on now. A MIUI theme and Aerish GTX port.
I've been looking for this so bad! I was wondering if there are 4g icons as well?
nice update, any chance of this getting more updates? (colored icons in task bar other than battery and as posted below 4g/h+ signal)
rdubyah said:
I've been looking for this so bad! I was wondering if there are 4g icons as well?
Click to expand...
Click to collapse
That plus different unlock/silent slider icons too. The gingerbread blue sliders don't go too well with this awesome theme...
Good work nottach.
Sent from my MB860 using XDA Premium App
Okay, I figured out how to change the little 3g/4g/H+ icons however I am having a hard time finding matching 4G icons, if someone can find the 4g ones that match the 3g ones I can do it. The sliders are easy too.
Just have to find the matching framework/systemui apk's that contain the images.
Edit: I found icons that match however they are too small. :-( The ones I have are 25x25 (MDPI) and they need to be 38x38 (HDPI)
Finally figured it out!
Found the right images and got rid of the 3g/4g/h icons included in the systemui.apk
To install copy the new systemui.apk to /system/app and overwrite the old one using Root Explorer or any other file manager.
Restart because you'll probably get a force close for the systemui.apk
When it boots back up set the permissions on systemui.apk to RW-R-R then reboot a second time and voila it will work!
Here are 3 screenshots that prove it!
I am not responsible if you **** your **** up and obviously credit goes to the OP for whipping up this amazing theme.
rdubyah said:
Finally figured it out!
Found the right images and got rid of the 3g/4g/h icons included in the systemui.apk
To install copy the new systemui.apk to /system/app and overwrite the old one using Root Explorer or any other file manager.
Restart because you'll probably get a force close for the systemui.apk
When it boots back up set the permissions on systemui.apk to RW-R-R then reboot a second time and voila it will work!
Here are 3 screenshots that prove it!
I am not responsible if you **** your **** up and obviously credit goes to the OP for whipping up this amazing theme.
Click to expand...
Click to collapse
Flawless... Thank you!!!
Sent from my MB860 using XDA Premium App
Trying to get the lockscreen to work is a bit trickier, haha I have the right images I think but I need to swap out the old ones with the new and that royally ****s everything up.
rdubyah said:
Trying to get the lockscreen to work is a bit trickier, haha I have the right images I think but I need to swap out the old ones with the new and that royally ****s everything up.
Click to expand...
Click to collapse
Dude take your time...
Sent from my MB860 using XDA Premium App
Post the images and ill fix it up. im back on 4.5.91, for now.
bump...
this theme is almost perfect.
any update on the lock screen images?
Sent from my MB860 using XDA Premium App
op,
any update on the lock screen?
Sent from my MB860 using XDA Premium App
Very nice!
Thank's very very much for your work and specially for this theme! However, I cannot enjoy this marvel since I'm running a Bell 2.3.6 Atrix. Any chance to figure this out for a Bell? Without the rounded upper corners?
Thank you again and always willing to support your job good man!
thank you
very much
it is so good to me.
Thank you~~
If NottachTrix's ROM v1.3.1 is deodexed, why - when I flash this, does device cycle into a reboot loop immediately after showing "preparing SD card".
UPDATE: I tried several more times...only to end up re-flashing 1.3.1 (full-wipe).
wtf am I either missing or doing wrong here?
I've been searching for this PNG for hours now. I need assistance with finding the folder it's in. I've search countless APK's. All the usual places but still can't find it. Please advise so I can get on with my life. lol. It's the long gray/green PNG at the very bottom(sorry, I'm color blind).
{
"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"
}
I also can't locate this PNG. I've been looking for at least a good day. It's the menu that pops up when you select "menu".
This Is An Educated Guess; Wouldn't That Be In Either The SystemUI.apk Or framework-res.apk?
Xtreme Outcast said:
This Is An Educated Guess; Wouldn't That Be In Either The SystemUI.apk Or framework-res.apk?
Click to expand...
Click to collapse
Thanks but I've checked in those apk's. So much that I need to know now what's the name of the png and which folder it's in. Not just what apk.
Sent from my newly unlocked Rezound
Look Inside The SystemUI.apk And Look Inside The drawable-hdpi There's A Bunch Of Status Bar .png's.
Xtreme Outcast said:
Look Inside The SystemUI.apk And Look Inside The drawable-hdpi There's A Bunch Of Status Bar .png's.
Click to expand...
Click to collapse
Just checked and everything in there relates to the drop down.
Sent from my newly unlocked Rezound
Doesn't the fusion.apk have something to do with some kind of part of theming? I'm probably wrong, but it's just a guess.
Sent from my ADR6425LVW using XDA App
username235 said:
Doesn't the fusion.apk have something to do with some kind of part of theming? I'm probably wrong, but it's just a guess.
Sent from my ADR6425LVW using XDA App
Click to expand...
Click to collapse
It does on some ROMS but after porting over an m10 fusion.apk from Sense 3.0 and seeing that one PNG not change, I beg to differ.
I think that's in com.htc. resources
Sent from my PG86100 using xda premium
There's a website that has all the stock android png's listed with their names...lemme look it up.
Edit, here it is:
http://androiddrawableexplorer.appspot.com/
Sent from my ADR6425LVW using Tapatalk
tbot said:
There's a website that has all the stock android png's listed with their names...lemme look it up.
Edit, here it is:
http://androiddrawableexplorer.appspot.com/
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
Wow, that should help. Thanks
Sent from my newly unlocked Rezound
raider3bravo said:
Wow, that should help. Thanks
Sent from my newly unlocked Rezound
Click to expand...
Click to collapse
No worries, I got it from teaching myself to write android apps.
Sent from my ADR6425LVW using Tapatalk
I checked out the page. It helps but then again it doesn't. I need to know the specific file name + folder location. I have 186 apk's to go through not including folders so it can make it very difficult to run a search without knowing the exact name and location of the PNG.
raider3bravo said:
I checked out the page. It helps but then again it doesn't. I need to know the specific file name + folder location. I have 186 apk's to go through not including folders so it can make it very difficult to run a search without knowing the exact name and location of the PNG.
Click to expand...
Click to collapse
Gotcha...for the most part I think they are in android resources,from a dev side that's easy, from themeing...probably no so much as u stated.
Sent from my ADR6425LVW using Tapatalk
Have you checked here?:
com.htc.resources.apk\res\drawable-xhdpi
DRGilroy said:
Have you checked here?:
com.htc.resources.apk\res\drawable-xhdpi
Click to expand...
Click to collapse
That's the first place I looked. Again, I need the name of the png. There are over 1k png's in that folder.
Sent from my newly unlocked Rezound
raider3bravo said:
That's the first place I looked. Again, I need the name of the png. There are over 1k png's in that folder.
Sent from my newly unlocked Rezound
Click to expand...
Click to collapse
I believe it's the "common_panel_fullscreen_base.9.png" for the bottom button menu on the app screen. The background for the popup menu is in smali I believe. If I'm incorrect, someone please correct me.
DRGilroy said:
I believe it's the "common_panel_fullscreen_base.9.png" for the bottom button menu on the app screen. The background for the popup menu is in smali I believe. If I'm incorrect, someone please correct me.
Click to expand...
Click to collapse
Yep, that just might be it! I'm flashing it now to confirm. I'll post my results.Thanks
Edit:
No go on that. Still hasn't changed.
raider3bravo said:
Yep, that just might be it! I'm flashing it now to confirm. I'll post my results.Thanks
Edit:
No go on that. Still hasn't changed.
Click to expand...
Click to collapse
Okay, I went through all the "common" png's and I think I found it. Try this one "common_black_background.9.png".
DRGilroy said:
Okay, I went through all the "common" png's and I think I found it. Try this one "common_black_background.9.png".
Click to expand...
Click to collapse
The search continues! Themed that PNG as well and still no change. I should also point out, I HIGHLY doubt the PNG is located in "Skins aka m10 file". I think this because I swapped out the m10 completely and it still hasn't changed. I'm sure someone here on XDA knows where this PNG is hiding.
After looking at them more closely, they look like sense specific icons...is there a place for those somewhere?
Sent from my ADR6425LVW using Tapatalk
The thread listed here is pretty old and it does not apply to my Epic Tough running 2.3.6. I am trying to accomplish the same thing but can not seem to locate any proper info on how to do it. I am still new to reading code and messing with .smali files and xml's but I have no problem learning. If anyone knows where I may be able to find the proper info for my phone or a SGS II equivalent please let me know.
I have tried the lockscreen mods but they all seem to give me Hot Reboots since most of the framework and jar files seem to have errors in them. I can deal with out the lockscreen mod but I truly like the text based battery and CM is not a choice for me at this moment until they get it stable.
I have also send the OP a PM but no response in days...
Thx for your help
{
"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"
}
bump myself here for more exposure... Hopefully someone knows how to do this on GB
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Hmm, this should be fairly simple. In theory, at least.
I would have thought it's just a case of adding some strings, then changing the drawable xml files. But I can't try it today as I'm out on the road. Hopefully I can try this tomorrow and I'll report back.
Sent from my U20i using xda premium
Use the uot kitchen online. You can tweek to your hearts desire..
*signed
In the screenshot you have posted, it's an app that's doing it with the battery icon hidden on MIUI with extended settings. I have the same setup. Give me a sec and I'll post a picture. I believe the app I use is called Battery Status.
Unless you're running MIUI or another ROM where you can hide the battery icon, you'll have duplicate icons - one in the normal spot and one on the other side.
Here's the screenshot of mine with the same concept.
EDIT:
Nevermind, I was seeing my own status bar when I opened the image through Tapatalk. Now I feel like an idiot.
This setup is native in CM and in TSM tweaks as well as EDT tweaks. I simply just want to use pct text and not PNG files. Tux for the uot kitchen ref but that's not what I am looking for. Uot is old school to me but they do serve a great purpose. The screenshot is not an app though since I linked the mod in my post.
Sent from my SPH-D710 using Tapatalk
Ticklefish said:
Hmm, this should be fairly simple. In theory, at least.
I would have thought it's just a case of adding some strings, then changing the drawable xml files. But I can't try it today as I'm out on the road. Hopefully I can try this tomorrow and I'll report back.
Sent from my U20i using xda premium
Click to expand...
Click to collapse
Thx let me know what you can dig up. I have been looking at code trying to figure it out but its a little bit above my pay grade...lol
Sent from my SPH-D710 using Tapatalk
No problem. I'm pretty certain I know how to do this but I'm not in a position to try it out for a few hours.
If I'm right though, it should just be a case of changing three xml files. No smali, which is always a good thing..
Oh, and this should work on any rom on any version of Android.
Sent from my U20i using xda premium
Ticklefish said:
No problem. I'm pretty certain I know how to do this but I'm not in a position to try it out for a few hours.
If I'm right though, it should just be a case of changing three xml files. No smali, which is always a good thing..
Oh, and this should work on any rom on any version of Android.
Sent from my U20i using xda premium
Click to expand...
Click to collapse
From the few tutorials I have found you are usually adding lines to smali. I have no problems making those changes either if necessary. I am just sick of the icon based battery and prefer text with % after it.... Thx I await your results
Sent from my SPH-D710 using Tapatalk
Well, that didn't work. I spent ages tweaking the code to get it to compile but all it does is just remove the battery entirely.
I was trying to display strings instead of drawables but..oh well.
If you want to do this with your phone's font, you'll need to edit some smali..somewhere. Unfortunately that stuff is still mostly over my head.
Or you could just make some image files that only have text in them. It's a bit of a cheat but it could have the effect you're after.
Sent from my U20i using xda premium
Thanks man I thought about changing the PNG files but I would prefer not to...lol
Sent from my SPH-D710 using Tapatalk
It may be the best way really. Otherwise you have to find the smali code that uses the battery image xml file and alter it to...something..
Sent from my U20i using xda premium
Ticklefish said:
It may be the best way really. Otherwise you have to find the smali code that uses the battery image xml file and alter it to...something..
Sent from my U20i using xda premium
Click to expand...
Click to collapse
There has to be a way since the TSM mod has it in it.... Got to be a way
'Battery status bar' and 'status bar battery', both apps that will do what you want.
*signed
mrrick said:
'Battery status bar' and 'status bar battery', both apps that will do what you want.
*signed
Click to expand...
Click to collapse
Thanks but that's not what I am looking for. Its not an app I want but for it too show natively
K
*signed
android 4.0.4 ICS Xperia S
Could someone provide tutorial for ICS?
I'm really like this.
Aviator_Yosuke said:
Could someone provide tutorial for ICS?
I'm really like this.
Click to expand...
Click to collapse
The best way to do this is use one of the number icons available in Tickle My Android..
That is not the best way to do it at all... The best way to do it is breakdown the xml for the ui your looking at and add the xml for it and take the statusbar_battery.xml and where it points to @drawable/stat_sys_battery1 yeah well point it to @strings/stat_sys_bat_1 and create the string for it and every other battery line bam done! Thats the best way I can see it being done... Adding it to the given ui is a different story all together changing it is much easier than adding it.. Adding it requires you go into statusbar.smali and copy and paste the whole section of code that controls the battery and asign a new variable to it to make it work and im not even sure if that would work Im just guessing here I work with sense not aosp but its all the same crap..