I'm trying to port a MDPI phone's SystemUI.apk for my HDPI phone, made a drawable-hdpi folder with necessary files in it, but when pushed to my phone, it is just refusing to use images from that folder. I also went through the res xmls, but was a little clueless.
Then I tried to edit AndroidManifest.xml and added the lines-
Code:
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true"
android:anyDensity="true" >
</supports-screens>
But then SystemUI stopped working.
The thing is, the layouts and notification toogles are just fine, but the battery and signal icons are blurry.
Is there any way to make it read resources from drawable-hdpi folder?
Please, anyone?
Sent from my LT26i using xda-developers app
Wouldn't it be Easter to find The system UI available for your screen size. It is a system app so everything is pre compiled for MDPI if you wanna make it HDPI you would need to have the source for the app and compile it for HDIP
Sent from my SGH-T679 using xda app-developers app
Try Theme Porter, it worked porting themes the other way for me
Sent from my ARCHOS 80G9 using Tapatalk 2
Related
Hi all,
I would like to know how to theme sense itself. (Launcher, App Drawer, status bar, sense apps etc)
Could anyone point me in the right direction?
I would start by unzipping the file of the rom and finding apps like systemui.apk and decompiling them, inside the lpdi folders there will be the image files etc used. Sorry I can't talk through it much more thoroughly for you. I've never done it myself.
Framework-res, rosie.apk, htc.resources apk I think its called and the rest
And yes decompile the apps which are located in system/app using apkmanager. Edit .9 pngs in photoshop.
Sent from my GT-I9000 using XDA Premium App
Does anyone know where the png files are for the notification bar?
In gb It used to be in systemUI.apk but i cant seem to see any images that i changed last time in ics.
This is what i did in gb (ported rajaspideys ios notification) to gnote and would like to do the same in ics. Any ideas?
Thanks.
Sent from my GT-N7000 using xda premium
Which device are you using? ?
btw it's located in systemui.apk
drawable ldpi folder
Cheers
maskerwsk said:
Does anyone know where the png files are for the notification bar?
In gb It used to be in systemUI.apk but i cant seem to see any images that i changed last time in ics.
This is what i did in gb (ported rajaspideys ios notification) to gnote and would like to do the same in ics. Any ideas?
Thanks.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
You could always just use the UOT Kitchen
prboy1969 said:
You could always just use the UOT Kitchen
Click to expand...
Click to collapse
Yeah it's obviously much easier, but sometimes you will get a bootloop if did not do it correctly
Cheers
Sorry i wasnt very specific. Attached is a screen shot of what i did in gb. I did this by using the universal theme flasher and swapping the pictures in the systemui in drawable xhdpi. I would like to do this in ics but the same images dont seem to be there in ics systemui.
Thanks
Im using rooted stock galaxy note.
Sent from my GT-N7000 using xda premium
Also this is how stock looked by the way so u can see what i want to change
Sent from my GT-N7000 using xda premium
ICS has changed how it is handled. Now it is a color code and not an image. You can make it an image by redirecting the XML files to point to an image instead as I have done.
Sent from my Inspire 4G using Tapatalk 2
Ahhh right.
Did you use apktool to decompile?
Any guides on doing this?
Thanks
Sent from my GT-N7000 using xda premium
maskerwsk said:
Ahhh right.
Did you use apktool to decompile?
Any guides on doing this?
Thanks
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
yes but you will need 2 version of apktool to do it. One to decompile and another to compile ICS. Then in the layout folder of the system ui you will need to change the xmls for the status bar to android:drawable/status_bar which is in the framework-res apk. You will also need to change the XML in the system UI folder. There is no guide. I found it by trial and error to be honest. A lot of ICS uses color hex codes instead of images now but thankfully they left the unused images in the framework-res folder
Sent from my Inspire 4G using Tapatalk 2
Ok thanks for your help though.
Better get cracking lol
Sent from my GT-N7000 using xda premium
Is it the xml files inside the res/layout that need to be edited?
Struggling to see what i need to change to reference a png imagine to be used.
Sent from my GT-N7000 using xda premium
here is a list of the files that will need to be edited off the top of my head.
SystemUI
Drawable folder
status_bar_bg.xml
Layout
status_bar.xml
Thanks mate ill take alook at these now.
Hopefully itll make abit more sense lol
Nice theme btw. Bet that took some time
Sent from my GT-N7000 using xda premium
maskerwsk said:
Thanks mate ill take alook at these now.
Hopefully itll make abit more sense lol
Nice theme btw. Bet that took some time
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
yeah its been a year in the making and still not complete
Sent from my Inspire 4G using Tapatalk 2
Any idea which image i can swap to.change the background? Ive managed to get everything else transparent by replacing the images in drawable folders. Just missing the background now.
See screenshot
Sent from my GT-N7000 using xda premium
Check the layout folder in system UI for the status bar expanded. It will tell you what the background it. It might be a color hex code
Sent for a corner cell in Arkhum
Ok thanks ill look. I dont think itll be a hex code because its not just one colour. It has a pattern on it. Unless hex codes can do that If so please disregard my stupidness lol
Thanks.
Sent from my GT-N7000 using xda premium
They can do graidents now in ICS. If you have trouble upload your decompiled systemui apk and I'll have a look. ICS changed a whole lot
Sent for a corner cell in Arkhum
Ill upload systemui when im at a pc
What ive done so far is.
add android:background @drawable/pulldown to statusbartracking.xml
created pulldown.xml in drawable and added image pulldown to drawable-hdpi
I used the correct syntax in the actual files but still nothing.
Does that sound like something you did?
Sent from my GT-N7000 using xda premium
maskerwsk said:
Ill upload systemui when im at a pc
What ive done so far is.
add android:background @drawable/pulldown to statusbartracking.xml
created pulldown.xml in drawable and added image pulldown to drawable-hdpi
I used the correct syntax in the actual files but still nothing.
Does that sound like something you did?
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
No it is not all that much work. I just changed the the color code if I recall right.
Sent for a corner cell in Arkhum
Hi, just wanted to share this ICS inspired modded status bar including 15 scrollable toggles (flashlight also) for our gingerbreaded Xperias (tested on .42 Arc and .42 Pro) . Compatible with swipe to remove notifications.
I attach also framework-res.apk file which matchs perfectly with the UI and the quick pannel settings app to manage the toggles.
As usual copy files to system folder with any root explorer and set correct permissions:
SystemUI.apk and Quickpanelsettings.apk to /system/app folder and set permissions as rw-r-r
Framework-res.apk (extract it from .rar file) to /system/framework and set permissions as rw-r-r
** 2013/01/14 **
Updated files. Minor improvements.
Known bugs: (edited) none.
Credits: Base files are from OmenHTX's JellyBread ROM, so as I only edited and changed some images credits should go to him. I also used some parts of FlorinXstyle's gin2ics theme and pajoneer's xperia arc big pack
Hope you like it! :thumbup:
reserved
Thank you very much.
Sent from my LT15i using xda premium
thx for share
Sent from my LT15i using xda premium
Arc s?
excuse me
this item work for arc s like arc?
is there somebody to test this on arc s?
we really need small aps to work on GB...
thx
Sent from my LT15i using xda app-developers app
setmax said:
excuse me
this item work for arc s like arc?
is there somebody to test this on arc s?
Click to expand...
Click to collapse
If you are in 2.3.4 GB should work.
Sent from my LT15i using xda app-developers app
Tested on a mk16i Xperia Pro in .42 2.3.4 GB and working like a charm.
Sent from my LT15i using xda app-developers app
Nice jobs guys !
LT18i cihazımdan Tapatalk 2 ile gönderildi
Updated files in first post. (minor graphical improvements).
it may have been missed, but "adb push" should be done in deploying this, especially the systemUI and framework-res. if done via rootexplorer, once the systemui gets overwritten you can't have the phone respond well.
i also noticed the stock look of the time and signal meter was changed to a stock android look, its ok but then i prefer the sony stock look. the battery status in % did not appear as well. also, when the notification was swiped out, status bar force closes, so either it restarts itself back or won't reappear anymore.
hence i reverted back. i actually just want a percentage battery on status bar that's why i tried this.
thanks for the work nonetheless
You are right. A zip loadable from recovery would be better but unfortunately my skills dont allow me to do such thing...sorry.
Anyway root explorer method works ok, did you copy both systemui.apk and framework-res.apk? Should work.
Regarding second issue you should change your framework.jar file in framework folder and put one who allows swipe to delete notifications.
Try with this one. Remember permissions
http://db.tt/y0CJBpJY
Cheers
jtdc said:
it may have been missed, but "adb push" should be done in deploying this, especially the systemUI and framework-res. if done via rootexplorer, once the systemui gets overwritten you can't have the phone respond well.
i also noticed the stock look of the time and signal meter was changed to a stock android look, its ok but then i prefer the sony stock look. the battery status in % did not appear as well. also, when the notification was swiped out, status bar force closes, so either it restarts itself back or won't reappear anymore.
hence i reverted back. i actually just want a percentage battery on status bar that's why i tried this.
thanks for the work nonetheless
Click to expand...
Click to collapse
Sent from my LT15i using xda app-developers app
hi
can this be ported to xperia u???
gingerbread .184 rom
Screenshoot?
Sent from my LT18i using xda premium
Stvn77 said:
hi
can this be ported to xperia u???
gingerbread .184 rom
Click to expand...
Click to collapse
Dont know, sorry....anyway you can backup your current files and try.
Sent from my LT15i using xda app-developers app
reynaldiafly said:
Screenshoot?
Sent from my LT18i using xda premium
Click to expand...
Click to collapse
First post
Sent from my LT15i using xda app-developers app
All icons changed except for battery. I wonder of this can be corrected with frameworks.jar added. Will do testing in a bit. Will post an update.
Btw, there was a looping FC error after overwriting systemui.apk but fixed after reboot.
Rom: X-Gamer v2.0
Kernel: DoomKernel v22
Device: Lt18i
battery icon seems to stay as is and didn't change. i wonder if it's the framwork.
Yes, battery is on framework
Sent from my LT15i using xda app-developers app
Just as i thought. I haven't downloaded the framework yet but does that have changes to the icon?
If not, what is the script to change battery icon? Not really that familiar with the codes.
Rom: X-Gamer v2.0
Kernel: DoomKernel v22
Device: Lt18i
This Guide Will Teach You How To Make Small Changes To AppsLets Take My Honami Home For An Example, With This Guide, You Will Be Able TO
- Enable/Disable Auto Rotation
- Enable/Disable Auto-Hide Pagination Buttons
- Change App Tray Drawer Grid
- Change Home Grid
- And More
This Is Fairly Easy All You Need is
- ApkTool
- A Zip Signer, A good App To Sign Apps on android is ZipSigner From PlayStore ZipSigner
- And A Little Bit Background knowledge of ApkToo
- Please Be Aware That Some Apk's Will Not Follow These Guides
First Of All, Decompile The Apk You Want To Edit
And Then Navigate to /res/values/
To Change stuff like Auto Rotation, Open bools.xml
Just Change WhatEver You Want To Edit From Either
- "false" To "true"
- "true" To "false"
For Example, For Auto Rotation
Code:
false
Change the false to true
To Change stuff like Grid Size, Open integers.xml
And Inside It Just Change The number Accordingly To What You Want It To Be
For Example:
Code:
5
in the honami launcher the app tray rows are originally 5
You May change to any number like 4 or 6 to increase/decrease the rows
To Theme A App White, Open styles.xml
And Inside Change All
Code:
Theme.DeviceDefault
To(Case Sensitive)
Code:
Theme.DeviceDefault.Light
And Also (OPTIONAL)
Code:
Theme.Holo
To(Case Sensitive)
Code:
Theme.Holo.Light
So Basically You Just Add ".Light" To The End Of Theme.Holo And Theme.DeviceDefault
If A App Doesn't Have The Above Stated Files, Open androidmanifest.xml
jader13254 said:
Themes and auto rotation etc is android.manifest.xml, some apps don't even have styles.xml since everything is inside manifest.
So check manifest and add android:theme="@style/AppTheme" to the activity you wanna theme and than you can mod in styles.xml
Click to expand...
Click to collapse
I have tried to dexompile homani launcher but it generates framework error.
Sent from my MK16i using xda premium
chiragvagh said:
I have tried to dexompile homani launcher but it generates framework error.
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
what do you want to edit in it?
and you need i1 framework
App drawer grid size
Sent from my MK16i using xda premium
chiragvagh said:
App drawer grid size
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
i will add 4x4 soon
No no you miss understand me. I like 5x4. I was just asking for knowledge.
Sent from my MK16i using xda premium
chiragvagh said:
No no you miss understand me. I like 5x4. I was just asking for knowledge.
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
Oh okay then i shall tell you that
you require the i1 framework-res and SemcGenericUxpRes to successfully decompile and compile the honami home
About Signing:
Should I upload my lil tool I made last night to sign any apk and jar file in 1 click?
jader13254 said:
About Signing:
Should I upload my lil tool I made last night to sign any apk and jar file in 1 click?
Click to expand...
Click to collapse
Ya sure would love it
Sent from my LT18i
Sahaab said:
Oh okay then i shall tell you that
you require the i1 framework-res and SemcGenericUxpRes to successfully decompile and compile the honami home
Click to expand...
Click to collapse
Please provide me i1 framework-res and SemcGenericUxpRes files, I would be very thank full to you.
chiragvagh said:
Please provide me i1 framework-res and SemcGenericUxpRes files, I would be very thank full to you.
Click to expand...
Click to collapse
http://db.tt/WTpRvqPr
Sent from my LT18i
Sahaab said:
http://db.tt/WTpRvqPr
Sent from my LT18i
Click to expand...
Click to collapse
while installing xi1 framework-res.apk i am getting this error.....
session20 said:
while installing xi1 framework-res.apk i am getting this error.....
Click to expand...
Click to collapse
Use latest 4.2.2 apktool
ICS apktool doesn't work correctly with 4.2.2 apks
---------- Post added at 07:30 PM ---------- Previous post was at 07:26 PM ----------
Btw, sorry mate but this guide isn't correct.
Everything you say is apk related and different between various apps.
jader13254 said:
Use latest 4.2.2 apktool
ICS apktool doesn't work correctly with 4.2.2 apks
---------- Post added at 07:30 PM ---------- Previous post was at 07:26 PM ----------
Btw, sorry mate but this guide isn't correct.
Everything you say is apk related and different between various apps.
Click to expand...
Click to collapse
Thanks very much... It worked.!!!
You mean changing this values, does not change anything or i get bootloop or compile error.. what
jader13254 said:
Use latest 4.2.2 apktool
ICS apktool doesn't work correctly with 4.2.2 apks
---------- Post added at 07:30 PM ---------- Previous post was at 07:26 PM ----------
Btw, sorry mate but this guide isn't correct.
Everything you say is apk related and different between various apps.
Click to expand...
Click to collapse
Ya I kno its different b/w various apps
But most of these things are located in these places, this is just supposed to be an overview
Sent from my LT18i
session20 said:
Thanks very much... It worked.!!!
You mean changing this values, does not change anything or i get bootloop or compile error.. what
Click to expand...
Click to collapse
He means to say its different b/w various apps
Sent from my LT18i
Sahaab said:
He means to say its different b/w various apps
Sent from my LT18i
Click to expand...
Click to collapse
Themes and auto rotation etc is android.manifest.xml, some apps don't even have styles.xml since everything is inside manifest.
So check manifest and add android:theme="@style/AppTheme" to the activity you wanna theme and than you can mod in styles.xml
jader13254 said:
Themes and auto rotation etc is android.manifest.xml, some apps don't even have styles.xml since everything is inside manifest.
So check manifest and add android:theme="@style/AppTheme" to the activity you wanna theme and than you can mod in styles.xml
Click to expand...
Click to collapse
Added in OP
But u shud know that those were just examples and this guide wasn't exactly meant for those things
Btw thnx for making the guide more complete
Sent from my LT18i
hi
i have problem this edit setting for change background!
see:
silverbios said:
hi
i have problem this edit setting for change background!
see:
Click to expand...
Click to collapse
It is case sensitive
I do not remember if holo is capital or not
Sent from my LT18i
I have changed the drawable ldpi of a system ui but the battery is still the same.help?
Sent from my GT-S5282 using XDA Free mobile app
?
sayakshinobu said:
I have changed the drawable ldpi of a system ui but the battery is still the same.help?
Sent from my GT-S5282 using XDA Free mobile app
Click to expand...
Click to collapse
Whay u want to change the togglesor ???
i wanted to change the battery icon from stock to percentage.i have incorporated the logo in the drawable ldpi but it is showing old ones probably from drawable sdpi.i think i have to change the xml from drawable of some stat-battery...i am unable to understand the hex codes in the xml.please help
sayakshinobu said:
i wanted to change the battery icon from stock to percentage.i have incorporated the logo in the drawable ldpi but it is showing old ones probably from drawable sdpi.i think i have to change the xml from drawable of some stat-battery...i am unable to understand the hex codes in the xml.please help
Click to expand...
Click to collapse
U need to make 1% batteey increment..or if u want to add percentage like..most of android phone have..inbuilt..then h nsdd to.edit smali and xmls.
sayakshinobu said:
i wanted to change the battery icon from stock to percentage.i have incorporated the logo in the drawable ldpi but it is showing old ones probably from drawable sdpi.i think i have to change the xml from drawable of some stat-battery...i am unable to understand the hex codes in the xml.please help
Click to expand...
Click to collapse
check all folders ldpi mdpi hdpi... replace all of them
Try sw-320dp-ldpi I changed battery icons in this folder and worked
Sent from my GT-S5282 using XDA Free mobile app
Yep that worked.but i want to understand the hex code in the xmls
hit thanks if you like my work
Search for hex colour picker or use lightning launcher u'll find codes in settings just add #
Sent from my GT-S5282 using XDA Free mobile app