[DEV] [SMALI] Notification Panel Background (Without Effecting Lockscreen) - Android Software/Hacking General [Developers Only]

Howdy, everyone...
This is a custom class (extending ImageView) I made that will enable you to add a background/wallpaper to the notification panel, without effecting the lockscreen. If you use this (or any derivative thereof) in any release, please give proper credit and shoot me a link to the release...
How To Use
Download the linked zip file.
Decompile your SystemUI.apk.
Extract the zip file, and copy the entire "morningstar" folder to /smali/com/android in your decompiled apk.
Place your background image into the appropriate drawable folder.
Open /res/layout/status_bar_expanded.xml, and immediately following the line with the namespace declarations, add the following:
Code:
<com.android.morningstar.NotiPanelBG android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/your_background_drawable" />
Example:
{
"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"
}
*Note: This class accepts all standard ImageView attributes, so adjust to fit your specific needs.
Recompile, push to your device, set permissions to RW-R-R, and reboot.
***Note***
You may have to make the layout change in one of the specific resolution layout folders, rather than in the main layout folder, depending on your device.
Screenshots
Notification panel expanded while device is unlocked:
...And while locked (The black & white image is my lockscreen background):
Download
NotiPanelBG.zip
md5: 4ff444ea14cf70c39a49a252cbf3e19d
Click to expand...
Click to collapse
Enjoy!
~Morningstar

awesome, thanks for the guide!!
Sent from my note 3 running Beast Mode rom

Great tuto man, thanks for sharing!!

Awesome, awesome, awesome mod @Morningstar! It works on first try, thanks mate!
Also can be put inside a linearlayout to toggle it and activate or deactivate when you want, just try it and works perfect.
Thanks a lot for your hard work and the guide :good:

you are the one !! thanks a lot for this mod !!
I was waiting for this for a long time :good:
only a question , i have a s6 device and i noticed that when i open the pulldown when i already open the lockscreen .. is all ok like this screen
but if i open the pulldown before to open the lockscreen i get this
i think need to add your line in another xml for keyguard
what do you think about?
i hope you understand
thanks again for this great work

Thanks mate, took a while to find the correct drawable folder, but i finally got it working:good:
---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------
Carotix said:
you are the one !! thanks a lot for this mod !!
I was waiting for this for a long time :good:
only a question , i have a s6 device and i noticed that when i open the pulldown when i already open the lockscreen .. is all ok like this screen
but if i open the pulldown before to open the lockscreen i get this
i think need to add your line in another xml for keyguard
what do you think about?
i hope you understand
thanks again for this great work
Click to expand...
Click to collapse
This is what it says in the 2nd line of the op
This is a custom class (extending ImageView) I made that will enable you to add a background/wallpaper to the notification panel, without effecting the lockscreen

Tired Storeman said:
Thanks mate, took a while to find the correct drawable folder, but i finally got it working:good:
---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------
This is what it says in the 2nd line of the op
This is a custom class (extending ImageView) I made that will enable you to add a background/wallpaper to the notification panel, without effecting the lockscreen
Click to expand...
Click to collapse
ahhh ok ! sorry
I had understood something else

@Morningstar I just saw your tut, didn't have time to try it yet, but I must say : delivered as promised, thanks a million ton.

.... Thk you sooo much for this, you made it sooo it easy...

Thanks sir!!!
Thanks sir !!!, it's worked correctly on nicki running with cm 12.1 build 20150831

what is namespace declaration ?

Morningstar said:
Howdy, everyone...
[*]Extract the zip file, and copy the entire "morningstar" folder to /smali/com/android in your decompiled apk.
[*]Place your background image into the appropriate drawable folder.
[*]Open /res/layout/status_bar_expanded.xml, and immediately following the line with the namespace declarations, add the following:
Code:
<com.android.morningstar.NotiPanelBG android:layout_width="fill_parent" android:layout_height="fill_parent" android:src="@drawable/your_background_drawable" />
Enjoy!
~Morningstar
Click to expand...
Click to collapse
what is namespace declaration ?

Uchiha_Dev said:
what is namespace declaration ?
Click to expand...
Click to collapse
Oops. Sorry. Probably should have explained that in a slightly more user-friendly way lol.
The namespace declarations are simply the bits near the top of layout xmls that begin with "xmlns". For example:
Code:
xmlns:android="http://schemas.android.com/apk/res/android"

Morningstar said:
Oops. Sorry. Probably should have explained that in a slightly more user-friendly way lol.
The namespace declarations are simply the bits near the top of layout xmls that begin with "xmlns". For example:
Code:
xmlns:android="http://schemas.android.com/apk/res/android"
Click to expand...
Click to collapse
i figured it out 5-6 days ago, thanks anyways

Uchiha_Dev said:
i figured it out 5-6 days ago, thanks anyways
Click to expand...
Click to collapse
Glad you got it figured out. Sorry I wasn't able to reply sooner. Been really busy all week, and haven't hardly had time to get on XDA.

Morningstar said:
Glad you got it figured out. Sorry I wasn't able to reply sooner. Been really busy all week, and haven't hardly had time to get on XDA.
Click to expand...
Click to collapse
no problem, the reason I got confused was because I stated android:backgroud in two place one in your code and the other in the actual status_bat_expanded.xml code (above namespace declaration) and because of that the image won't go off of the lock screen. So I thought that namesapce declaration was something else

Hello @Morningstar,
thank you for this custom class mate. The part about "not effecting Lockscreen" does this means the notification panel in lockscreen or also the wallpaper of the lockscreen. In short i have implemented a class for blured effect of the notification wallpaper and as you know since lollipop if you change the BG for the NPB it also changes the lockscreen wallpaper. like in the attached pics. Is it possible to merge those bothe smalis, so i have a blured NPB withou effecting the Lockscreen? I attached the smali for blured effect and if you have timeand muse to have a look - thank you. If not - still the same mate.

and2 said:
Hello @Morningstar,
thank you for this custom class mate. The part about "not effecting Lockscreen" does this means the notification panel in lockscreen or also the wallpaper of the lockscreen. In short i have implemented a class for blured effect of the notification wallpaper and as you know since lollipop if you change the BG for the NPB it also changes the lockscreen wallpaper. like in the attached pics. Is it possible to merge those bothe smalis, so i have a blured NPB withou effecting the Lockscreen? I attached the smali for blured effect and if you have timeand muse to have a look - thank you. If not - still the same mate.
Click to expand...
Click to collapse
I dont get it. This zip contains thw blured smali? It works or dont?
Enviado desde mi LG-D802 mediante Tapatalk

renzo090513 said:
I dont get it. This zip contains thw blured smali? It works or dont?
Enviado desde mi LG-D802 mediante Tapatalk
Click to expand...
Click to collapse
Yes, and here is the guide

and2 said:
Yes, and here is the guide
Click to expand...
Click to collapse
I need to do it in both system ui and touchwiz home? Because i only did it in system ui and it onle makes blur the wallpaper in the background.. And keeps that way in other apps ... Can you uppad the touchwiz file here?
Enviado desde mi LG-D802 mediante Tapatalk

Related

[Theme] "Envy" for WB v6 (w/% battery & animated notification background)

[Theme] "Envy" for WB v6 (w/% battery & animated notification background)
I revamped my Suave Green theme from 2.1 and added some new stuff for 2.3!
Since there is a line of themes & icons named "Suave" already I changed the name to "Envy" to avoid confusion but now I see some themes in the "similar threads" with Envy in the title...
I'm gonna roll with it since it's already named & uploaded, hopefully no one minds.
So without further ado I present:
{
"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"
}
for Wolfbreak's TW Gingerbread V6 . . U jelly?
(Fully= "Connected to Google")
I made or edited most of the visible icons, buttons, toggles, etc. including the battery and this time around I added an animated SE logo to the notification background (shade).
The first time you pull down the notification bar after a reboot it will not be animated, but the next time you pull it down the little ball inside will bounce back & forth
I will also attach a zip to remove the animation in case it's not your style.
With Animation>
. . No Animation>
Thanks to 10tonhammr for this post explaining how to do the animation.
And of course a big thanks to Wolfbreak for the rom!
As always, back up before flashing in Xrecovery and I am not responsible if you break anything or suddenly become more popular.
>>Video Preview<<
>Themed 2.3.4 SE Launchers and wallpapers in 2nd post!<
Download:
Envy_WB_v6.zip
Hit "Thanks" if you like it, buy me a coffee if you want to see more...
Special thanks for donating go to:
916x10 . . . #************0521D
It makes the work a lot easier!
25 Green wallpapers
Images were found & resized, some were re-colored, credits to their original creators.
Download:
Envy_Wallpapers.zip
(this is NOT a flashable zip, extract first to use the wallpapers )
"Envy" Green themed SE 2.3.4 launcher
. .SE Logo Version->
Download:
(See Attachments)
Thanks to SEMC.Like for originally porting it Here
Also shown is Suave Green Analog Clock
wow..nice work m8!
You jelly?
Hahhahahaha nice theme lol
Can you incorporate this into your theme http://forum.xda-developers.com/showthread.php?t=1141443
Or can you make a better one?
Prodigy said:
You jelly?
Hahhahahaha nice theme lol
Can you incorporate this into your theme http://forum.xda-developers.com/showthread.php?t=1141443
Or can you make a better one?
Click to expand...
Click to collapse
Incorporate a theme into a theme?
I'll let someone else port that... It's a good one though!
I don't plan on adding a lot more to this theme anyway, since I'm about to switch roms... I may do messaging & a few other things if I get requests, but I'll be sticking w/my theme for that.
I request this in blood red and black if possible.
Very nice work.
OmegaRED^ said:
I request this in blood red and black if possible.
Very nice work.
Click to expand...
Click to collapse
Hmm, I'll see how hard it is & get back to ya.
Thanks.
The best theme nice work
X10 HACK
HOW DID U CHANGE THAT VOLUME CONTROLS TO GREEN????
can u tell me which files are associated with that volume controls please???
Finally! I was beginning to lose hope...looks like I got some. flashing to do tonite, woohoo!
Sent from my X10i using XDA App
X10GB said:
HOW DID U CHANGE THAT VOLUME CONTROLS TO GREEN????
can u tell me which files are associated with that volume controls please???
Click to expand...
Click to collapse
framework-res.apk\res\drawable\progress_horizontal.xml
I changed the colors marked in green (progress).
<?xml version="1.0" encoding="UTF-8"?>
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@id/background">
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#ff525558" android:endColor="#ff525558" android:angle="270.0" android:centerY="0.75" android:centerColor="#ff6a737d" />
</shape>
</item>
<item android:id="@id/secondaryProgress">
<clip>
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#8032fa00" android:endColor="#a000fc00" android:angle="270.0" android:centerY="0.75" android:centerColor="#8055fa02" />
</shape>
</clip>
</item>
<item android:id="@id/progress">
<clip>
<shape>
<corners android:radius="5.0dip" />
<gradient android:startColor="#ff28a828" android:endColor="#ff28a828" android:angle="270.0" android:centerY="0.75" android:centerColor="#ff1e9e1e" />
</shape>
</clip>
</item>
</layer-list>
Click to expand...
Click to collapse
.
916x10 said:
Finally! I was beginning to lose hope...looks like I got some. flashing to do tonite, woohoo!
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Ha, yea I have had a lot on my plate lately. Hope it's worth the wait.
aydee said:
framework-res.apk\res\drawable\progress_horizontal.xml
i changed the colors marked in green (progress).
.
Ha, yea i have had a lot on my plate lately. Hope it's worth the wait.
Click to expand...
Click to collapse
thanks man....
U r awsome...!!!!
:d
THANK YOU SO MUCH! Now I dont feel so bad for nagging about a 2.1+ Theme (Sorry BTW). Will test and report any issues.
AyDee said:
Ha, yea I have had a lot on my plate lately. Hope it's worth the wait.
Click to expand...
Click to collapse
Worth the wait? Dude, this theme is sick! I'm beyond impressed and very happy with it. In ur screenshots I seen a couple things I didnt think I'd like but after flashing it and seeing it in person, there's nothing I don't like about it. Absolutely stunning! Thanks a million for bringing this to the WB v6 rom, its the cherry on top. Got a paypal acct?
Sent from my X10i using XDA App
unimatrix725 said:
THANK YOU SO MUCH! Now I dont feel so bad for nagging about a 2.1+ Theme (Sorry BTW). Will test and report any issues.
Click to expand...
Click to collapse
NP
Ha, not nagging- just "motivating"
916x10 said:
Worth the wait? Dude, this theme is sick! I'm beyond impressed and very happy with it. In ur screenshots I seen a couple things I didnt think I'd like but after flashing it and seeing it in person, there's nothing I don't like about it. Absolutely stunning! Thanks a million for bringing this to the WB v6 rom, its the cherry on top. Got a paypal acct?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Thanks, I appreciate it. I just added the SE-Logo launcher in the second post.
My paypal's in the 1st post or donate button on pc. Not required but definitely appreciated!
AyDee said:
SE Logo Version
Click to expand...
Click to collapse
Stunning! I hope Blackwatch89 is still around, i'm gonna shoot him this file and see if he can modify it from the 5 panels it is, to 3 panel like my current launcher
But until then, I guess i'm gonna be rocking the stock 5 homescreens version cause this is too sick to not flash immediately.
I'm about to donate right now
**Update**
Unique Transaction ID # 7E8921473B360521D
Thanks again man, I am 100% satisfied with it, easily the best X10 theme on this forum!
---------- Post added 7th October 2011 at 12:32 AM ---------- Previous post was 6th October 2011 at 11:42 PM ----------
My Homescreen before
After
Folder view before
After
I'll post more, but i'm tappin' out for the nite
AyDee said:
framework-res.apk\res\drawable\progress_horizontal.xml
I changed the colors marked in green (progress).
.
Ha, yea I have had a lot on my plate lately. Hope it's worth the wait.
Click to expand...
Click to collapse
you seem to be helpful,so gonna disturb u once again
need one more help..
i am currently editing apk's on mac and i am not able to edit xml files on mac so can u give me list of all applications i need to download to edit apk's on windows...
please....
X10GB said:
you seem to be helpful,so gonna disturb u once again
need one more help..
i am currently editing apk's on mac and i am not able to edit xml files on mac so can u give me list of all applications i need to download to edit apk's on windows...
please....
Click to expand...
Click to collapse
You need to decompile the apk before you can edit the xmls. Then you can edit them like a normal text file and then re-compile.
You will need to install ADB (android debug bridge). It has something called apktool built in that can edit apks from the command line. Then there is Apk Manager that is a frontend for apktool.
That will get you started. There is lots of good info here on Xda and even Google if you search those tools. Good luck!
Sent from my X10i using XDA App
AyDee said:
You need to decompile the apk before you can edit the xmls. Then you can edit them like a normal text file and then re-compile.
You will need to install ADB (android debug bridge). It has something called apktool built in that can edit apks from the command line. Then there is Apk Manager that is a frontend for apktool.
That will get you started. There is lots of good info here on Xda and even Google if you search those tools. Good luck!
Sent from my X10i using XDA App
Click to expand...
Click to collapse
thanks .....
i just install all the things u had mentioned but the problem is i don't know how to install drivers even though i have them...
can u tell me how to install drivers...???
PLEASE..!!!
Download & unzip the attachment, then right-click on sa0102adb.inf and choose "install".
If you have more questions, please start a thread in Q&A & PM me & I'll answer it there. Thanks.

[Comunity Project]TWRP layout fixing for LDPI devices{Yes this means you}

Hi,
As you don't know Speed_bot has agreed to port TWRP for our device(Yes Galaxy Fit) but has requested someone to re-size the resolution for ldpi resolution(yes its unsupported lowest they go to is mdpi) now how then is this a comunity effort well the images are all resized(took actually 2 min) but there is an xml file(see attachment) that has over 3630 lines with 2400 of them listing a certain dpi property so here is were you can help for a single person to do all the edits will take fairly colossal effort(here its actually means large amount of time) so we share the load since i aint got all the time someone can do the edits to the file(see attachment) and put " *** " at the last line they edit then pm me the file if I find the edits to be fine the file(see attachment) will be updated to the new file and so forth till the project is complete(for one user will take about an hour:cyclops and your name will be listed in second post as a contributor so whose willing.:good::fingers-crossed:
Note : this is not just for galaxy fit but will help all LDPI devices.
EDIT : Attached resized images(ldpi resolution).
Contributors :
Dark Passenger
AW: [Comunity Project]TWRP layout fixing for LDPI devices{Yes this means you}
currenty it UNPOSSIBLE to build TWRP in anyway, when you read the recovery.log file, it remains to a crash in /data partition. me and Dees_Troy are investigating. anyway when its buildable i will help with ldpi layout, quietly simple
Sent from my GT-S5660 using xda app-developers app
OldDroid said:
currenty it UNPOSSIBLE to build TWRP in anyway, when you read the recovery.log file, it remains to a crash in /data partition. me and Dees_Troy are investigating. anyway when its buildable i will help with ldpi layout, quietly simple
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
isn't it working perfectly on gio the one built by konstatin12 you could ask him you know. also 240x320 resolution is not currently present in the github repository for twrp (hence the project) so any help here is appreciated
Is the main file already edited anyhow?
I don't think there are 2400 lines to be edited. Not sure what to edit, can you please explain?
Afaik, you'll have to individually assign values to every variable, which in turn determines where it will be placed.
Like for example:
Code:
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="65" y="39" />
<text>%tw_time%</text>
</object>
The "placement" has to be really carefully arranged, along with resizing the graphic elements as the case may require.
Atleast this is what I understand of this.
a.cid said:
Is the main file already edited anyhow?
I don't think there are 2400 lines to be edited. Not sure what to edit, can you please explain?
Afaik, you'll have to individually assign values to every variable, which in turn determines where it will be placed.
Like for example:
Code:
<object type="text" color="%text_color%">
<font resource="font" />
<placement x="65" y="39" />
<text>%tw_time%</text>
</object>
The "placement" has to be really carefully arranged, along with resizing the graphic elements as the case may require.
Atleast this is what I understand of this.
Click to expand...
Click to collapse
yes i agree currently there is no progress so no the orginal file is not edited also the ui.xml has to be edited in the general manner so that there are only minor edits to be done(i.e to get all elements to fit on our display then fine tuning can be done by the dev).
Dark Passenger said:
yes i agree currently there is no progress so no the orginal file is not edited also the ui.xml has to be edited in the general manner so that there are only minor edits to be done(i.e to get all elements to fit on our display then fine tuning can be done by the dev).
Click to expand...
Click to collapse
Hmmmm
I was editing a game to ldpi, and the above mentioned major-first-minor-later approach yielded me this:
{
"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"
}
Same might happen here.
a.cid said:
Hmmmm
I was editing a game to ldpi, and the above mentioned major-first-minor-later approach yielded me this:
Same might happen here.
Click to expand...
Click to collapse
thats just wrong but did you make the changes to smali/java sources right.
so the rendering can go wrong there.:silly:
here you just fix the position of prerendered objects so the worst that can happen is a checkbox on top of a button.
Dark Passenger said:
thats just wrong but did you make the changes to smali/java sources right.
so the rendering can go wrong there.:silly:
here you just fix the position of prerendered objects so the worst that can happen is a checkbox on top of a button.
Click to expand...
Click to collapse
As a matter of fact, I did not touch the smali sources.
This is what I get for messing with the assets folder.
We do need better ways to this. Imo, this approach won't work.
a.cid said:
As a matter of fact, I did not touch the smali sources.
This is what I get for messing with the assets folder.
We do need better ways to this. Imo, this approach won't work.
Click to expand...
Click to collapse
well i am out of ideas maybe you or someone else could figure something out.
Dark Passenger said:
well i am out of ideas maybe you or someone else could figure something out.
Click to expand...
Click to collapse
i am not an expert but i think that we have to reduce values of x axis by 280/320*100=87.5%
y axis by 320/480*100=66.666667%
that is x values will be x-(87.5% of x)
and y values y-(66.666667% of y)
may fix the issue
omarhasan76 said:
i am not an expert but i think that we have to reduce values of x axis by 280/320*100=87.5%
y axis by 320/480*100=66.666667%
that is x values will be x-(87.5% of x)
and y values y-(66.666667% of y)
may fix the issue
Click to expand...
Click to collapse
you could edit the ui.xml file(attached in first post and help move this project along).
Dark Passenger said:
you could edit the ui.xml file(attached in first post and help move this project along).
Click to expand...
Click to collapse
let see i m busy for few days could help from 1st march
Dark Passenger said:
Hi,
As you don't know Speed_bot has agreed to port TWRP for our device(Yes Galaxy Fit) but has requested someone to re-size the resolution for ldpi resolution(yes its unsupported lowest they go to is mdpi) now how then is this a comunity effort well the images are all resized(took actually 2 min) but there is an xml file(see attachment) that has over 3630 lines with 2400 of them listing a certain dpi property so here is were you can help for a single person to do all the edits will take fairly colossal effort(here its actually means large amount of time) so we share the load since i aint got all the time someone can do the edits to the file(see attachment) and put " *** " at the last line they edit then pm me the file if I find the edits to be fine the file(see attachment) will be updated to the new file and so forth till the project is complete(for one user will take about an hour:cyclops and your name will be listed in second post as a contributor so whose willing.:good::fingers-crossed:
Note : this is not just for galaxy fit but will help all LDPI devices.
Click to expand...
Click to collapse
Here is a ldpi theme for TWRP,I tested it on my device,I fixed some pages.If you like it ,use it.
Maybe some pages still have display issues, you can edit it yourself .
chen2011521 said:
Here is a ldpi theme for TWRP,I tested it on my device,I fixed some pages.If you like it ,use it.
Maybe some pages still have display issues, you can edit it yourself .
Click to expand...
Click to collapse
Hi which device ?
also thanks
and cant you help edit the default ui.xml so that the default theme is also useable(is your ui.xml universal ?).
Dark Passenger said:
Hi which device ? also thanks I guess(please link where you got it and /or who made it).
Click to expand...
Click to collapse
MOTO XT316 . http://forum.xda-developers.com/showthread.php?t=2035234 . Holo Dark
you can try it,and i think most is ok
I modified the theme from "Holo Dark" theme. Some text is too long,default theme display is very poor.Therefore, I have modified this theme
chen2011521 said:
MOTO XT316 . http://forum.xda-developers.com/showthread.php?t=2035234 . Holo Dark
you can try it,and i think most is ok
I modified the theme from "Holo Dark" theme. Some text is too long,default theme display is very poor.Therefore, I have modified this theme
Click to expand...
Click to collapse
hmm none the less if you can resize default theme it will allow the devs to build the recovery without any problems and also the res(320x240) will be supported officially.
It's OK.I built twrp 2.4.3 for my device with the ui .
The recovery looks well .
Just add it into gui. .240×320
chen2011521 said:
It's OK.I built twrp 2.4.3 for my device with the ui .
The recovery looks well .
Just add it into gui. .240×320
Click to expand...
Click to collapse
you mean you added your theme as deafult to gui? ...
---------- Post added at 07:53 AM ---------- Previous post was at 07:47 AM ----------
OldDroid said:
currenty it UNPOSSIBLE to build TWRP in anyway, when you read the recovery.log file, it remains to a crash in /data partition. me and Dees_Troy are investigating. anyway when its buildable i will help with ldpi layout, quietly simple
Sent from my GT-S5660 using xda app-developers app
Click to expand...
Click to collapse
do you mind doing a pastie of the log?
---------- Post added at 08:05 AM ---------- Previous post was at 07:53 AM ----------
just a thought maybe we could compile it at their resolution 320x400 and maybe change the build.prop in recovery to make it usable.just a thought correct me if im wrong..
I suggest that just make it first for mdpi then we will edit ui.xml...
Firstly we dont have it...then why to edit ui files...
♠←sarVesh →♠

[Theme][TW][Deodexed][4.3] Darkgray for S4 (2/5/14)

[About Theme]
Thanks HS™ for his theme as base
This theme is modifier from ''Hot Fudge'' (http://forum.xda-developers.com/showthread.php?t=2594679)
here just change on the part of framework color and Icon
[How to Install]
Copy the Theme(zip) to SdCard
Wipe cache
Install Theme
Reboot
*Should flash theme with rom used stocktheme for fullwork
Work in 9500 and 9505
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"
}
In version 1.3
Fix power menu icon wrong between mute and vibrate
new check and select icon design
add line dialog bar
In version 1.2
Reverse no-popup background to stock
Fix background color while load setting page
In version 1.1
Fix toast background
Fix mms theme
Change Power menu icon
DOWNLOAD
http://d-h.st/aIi
Is this theme have any issue on wifi toggle on I9500 MK8?
ayong chia said:
Is this theme have any issue on wifi toggle on I9500 MK8?
Click to expand...
Click to collapse
form of issue is?
i try test in i9505 ML6 ML1 no issue
if odexed rom and i9500 not confirm that will work.
Hi, shouldn't the icons background be black as well?
Sent from my GT-I9505 using XDA Premium 4 mobile app
Titosilva said:
Hi, shouldn't the icons background be black as well?
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I will try compare
thank for suggest
hi, thanks for good theme, there is still few bugs.. can you fix those and tell me what was those pngs name?
click picture to see it bigger
Vihru said:
hi, thanks for good theme, there is still few bugs.. can you fix those and tell me what was those pngs name?
click picture to see it bigger
Click to expand...
Click to collapse
---edit--
Now mms popup is reverse to stock background
Please download v1.2
the .9 png cannot be changed straight by PS.U need a 9-cut app or apktool to ps it ...............
cuite_zhangh said:
the .9 png cannot be changed straight by PS.U need a 9-cut app or apktool to ps it ...............
Click to expand...
Click to collapse
Hi cuite_zhangh
I've been having a relative success by using GIMP + this tool
Nice regards.
.
can you do an NA5 version (4.4.2)?
gonemad02 said:
can you do an NA5 version (4.4.2)?
Click to expand...
Click to collapse
Hi gonemad02
I do not speak for the dev but I think the answer will be "not in this thread".
The gap that existed between 4.2.x and 4.3 was kid play compared to the one between 4.3 and KitKat. Huge png's changes are leeding themers to redo all the source from scratch.
But it's just my thought.
Nice regards.
.
---------- Post added at 02:26 PM ---------- Previous post was at 02:11 PM ----------
-Koze- said:
i try test in i9505 ML6 ML1 no issue
if odexed rom and i9500 not confirm that will work.
Click to expand...
Click to collapse
Hi Master -Koze-
I may say that your work is Good-To-Go for ANY i950x ODEX and DEODEX
And, if you permit, I would like to suggest removing from '\META-INF\com\google\android\updater-script' all those ui_print lines, in the middle of the script, that mention another guy.
Now, this work is YOURS!!!! :good:
Nice regards.
.
this will work prefectly on odexed 9500 rom.... @op nice work.... ive been long thinking of using holo like gray for tw theme , glad here is one
Edit :
suggestion:
why not use over scroll glow from kitkat(attached below).. the one in your package dosent looks good
Kdio said:
Hi Master -Koze-
I may say that your work is Good-To-Go for ANY i950x ODEX and DEODEX
And, if you permit, I would like to suggest removing from '\META-INF\com\google\android\updater-script' all those ui_print lines, in the middle of the script, that mention another guy.
Now, this work is YOURS!!!! :good:
Nice regards.
.
Click to expand...
Click to collapse
Thank. I will follow you suggest.
but in part 9500 with Odex have report from somebody that found problem wifi is cannot open
therefore I not confirm
bala_gamer said:
this will work prefectly on odexed 9500 rom.... @op nice work.... ive been long thinking of using holo like gray for tw theme , glad here is one
Edit :
suggestion:
why not use over scroll glow from kitkat(attached below).. the one in your package dosent looks good
Click to expand...
Click to collapse
Will try put in next version
thank.
-Koze- said:
but in part 9500 with Odex have report from somebody that found problem wifi is cannot open
Click to expand...
Click to collapse
Hi -Koze-
As you are ONLY dealing with PNG's replacements it's technically impossible to harm any device. The reports should be verified with clean install and known procedures.
When the time come, shortly I hope, to start modding xml's there will be the time to be careful with these kind of issues.
Just an last question that had already been made by @cuite_zhangh ... Are you decompiling and recompiling (using apktool or so) all those .9.png's ? Because from my own mistakes plainly stated here, that wi-fi thing may be happen to you for the same reasons.
Be welcome to if any advise needed.
Nice regards.
.
@ op
flashed it on my 9500 and everything is working fine.
One more suggestion, one thing the theme badly misses is the tw dialog divider line, since tw theme dosent supports dialo box divider why not try embed it on tw dialog middle png ? , if i get some time ill try to make it for u
Kdio said:
Hi -Koze-
As you are ONLY dealing with PNG's replacements it's technically impossible to harm any device. The reports should be verified with clean install and known procedures.
When the time come, shortly I hope, to start modding xml's there will be the time to be careful with these kind of issues.
Just an last question that had already been made by @cuite_zhangh ... Are you decompiling and recompiling (using apktool or so) all those .9.png's ? Because from my own mistakes plainly stated here, that wi-fi thing may be happen to you for the same reasons.
Be welcome to if any advise needed.
Nice regards.
.
Click to expand...
Click to collapse
OK I get that.
thank
bala_gamer said:
@ op
flashed it on my 9500 and everything is working fine.
One more suggestion, one thing the theme badly misses is the tw dialog divider line, since tw theme dosent supports dialo box divider why not try embed it on tw dialog middle png ? , if i get some time ill try to make it for u
Click to expand...
Click to collapse
in part twdiglog theme. now I think that already good but will try compare
-Koze- said:
OK I get that.
thank
in part twdiglog theme. now I think that already good but will try compare
Click to expand...
Click to collapse
here you go
just add the attached files to your vrtheme zip package in 360dpxxhdpi folder
added a screenshot on how it looks
bala_gamer said:
here you go
just add the attached files to your vrtheme zip package in 360dpxxhdpi folder
added a screenshot on how it looks
Click to expand...
Click to collapse
already compare. It OK so beautiful. thank
will put in v1.3
but in overscroll_glow. I think that will use current because I try overscroll kitkat feel that glow is too long :crying:
Wow! Looks beautiful with dark grey, i will try it on i900 stock as son as i get home..
Sent from my GT-I9500 using XDA Premium 4 mobile app
AWESOME man!! Amazing theme, minimalist but looks elegant here. And good point is my wifi still working. Just find some glitch on notification toggle, i see green icon appear between i turn off/on the button. And i agree with @bela_gamer, maybe you can change the scrolling effect, with glowing effect or anything better. This one looks good but should be better and smoother fade effect.
Sent from my GT-I9500 using XDA Premium 4 mobile app

[Request] Editing a simple line of framework-res

hello guys,
i have a small request, can please someone edit for me:
in Framework-res/values/colors.xml
next to Code:
<color name="notification_icon_bg_color"> (add a white color and remove the buggy black font)
or maybe it is in
<color name="notification_legacy_background_color">
<color name="notification_material_background_color">
because i have this bug with background notif (black with white): http://oi59.tinypic.com/1qlmy8.jpg
i do not have personnal computer and i can not use apktool at work
here is the link of my framework-res.apk:
https://mega.co.nz/#!8kcWWBTD!v-N7HHVBNQHsdtfq3srUVgPX6X3s8HCmOxSl_QqYeGY
in advance, thanks :good:
kataeb said:
hello guys,
i have a small request, can please someone edit for me:
in Framework-res/values/colors.xml
next to Code:
<color name="notification_icon_bg_color"> (add a white color and remove the buggy black font)
or maybe it is in
<color name="notification_legacy_background_color">
<color name="notification_material_background_color">
because i have this bug with background notif (black with white): http://oi59.tinypic.com/1qlmy8.jpg
i do not have personnal computer and i can not use apktool at work
here is the link of my framework-res.apk:
https://mega.co.nz/#!8kcWWBTD!v-N7HH...HCmOxSl_QqYeGY
in advance, thanks :good:
Click to expand...
Click to collapse
will try that after sometime bro
Sir your Framework download link is asking for decryption key fix it and i will help you
thanks
If i helped you press thanks button
@kataeb hmmmm maybe i know this name[emoji14][emoji14]
LOL anyway try with apktool for phone its very helpful tool ..
http://forum.xda-developers.com/showthread.php?t=3116300
Sent from my SM-G9250 using Tapatalk
zain.ahmad said:
will try that after sometime bro
Sir your Framework download link is asking for decryption key fix it and i will help you
thanks
If i helped you press thanks button
Click to expand...
Click to collapse
http://bit.ly/1ArT2sY here is the link! thanks dude
thereassaad said:
@kataeb hmmmm maybe i know this name[emoji14][emoji14]
LOL anyway try with apktool for phone its very helpful tool ..
http://forum.xda-developers.com/showthread.php?t=3116300
Sent from my SM-G9250 using Tapatalk
Click to expand...
Click to collapse
habibe kifak, ayre bil apktool ma 3reft esta3mela, nazalta 3al note 3 ma fhemt chi men chi
hayda el link taba3 el framework http://bit.ly/1ArT2sY
kataeb said:
http://bit.ly/1ArT2sY here is the link! thanks dude
Click to expand...
Click to collapse
Thanks
bro i added white color but i dont know how to remove that black font
here is your modded file
https://mega.co.nz/#!lIcyiLgC!DnlDrw0cPSvZLfH95och2Mc-366FX4S5GAV-NU4CAJA
press thanks if i helped you...!!
zain.ahmad said:
bro i added white color but i dont know how to remove that black font
here is your modded file
https://mega.co.nz/#!lIcyiLgC!DnlDrw0cPSvZLfH95och2Mc-366FX4S5GAV-NU4CAJA
press thanks if i helped you...!!
Click to expand...
Click to collapse
Just to confirm about the black --> white backgrounds, which line of code you actually edit and where? Is it in "colors.xml"?
Coz I've been trying to fix the same problem myself with apktool and I haven't been successful much. A shame about the text though.
Thanks in advance.
eiraku said:
Just to confirm about the black --> white backgrounds, which line of code you actually edit and where? Is it in "colors.xml"?
Coz I've been trying to fix the same problem myself with apktool and I haven't been successful much. A shame about the text though.
Thanks in advance.
Click to expand...
Click to collapse
i replaced white color hex code in colors.xml and this line
<color name="notification_icon_bg_color">
Cheers..!1
Actually, that fixes the icon colours. What he actually wants is below, I think - as I was suffering from the exact problem.
{
"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"
}
Anyway, I have actually found which parts of colors.xml that need changing to fix the above problem:
Code:
<color name="tw_notification_action_button_text_color">
<color name="tw_notification_action_button_background_color">
Change the first to black from teal and the second to white from black and you're all set.
Thanks for the inspiration though guys.
eiraku said:
Actually, that fixes the icon colours. What he actually wants is below, I think - as I was suffering from the exact problem.
Anyway, I have actually found which parts of colors.xml that need changing to fix the above problem:
Code:
<color name="tw_notification_action_button_text_color">
<color name="tw_notification_action_button_background_color">
Change the first to black from teal and the second to white from black and you're all set.
Thanks for the inspiration though guys.
Click to expand...
Click to collapse
a question but once modified and recompiled framwork.res coke do you overwrite the other without going bootloop ??
---------- Post added at 10:09 AM ---------- Previous post was at 10:00 AM ----------
eiraku said:
Actually, that fixes the icon colours. What he actually wants is below, I think - as I was suffering from the exact problem.
Anyway, I have actually found which parts of colors.xml that need changing to fix the above problem:
Code:
<color name="tw_notification_action_button_text_color">
<color name="tw_notification_action_button_background_color">
Change the first to black from teal and the second to white from black and you're all set.
Thanks for the inspiration though guys.
Click to expand...
Click to collapse
a question but once modified and recompiled framwork.res coke do you overwrite the other without going bootloop ??
Yeah, I just did a dirty copy and overwrite - which *will* of course cause a freeze - and quickly turned the phone on and off. Afterwards it boots fine with no bootloops.
I do need to remind you though, after recompiling you *HAVE* to copy the META-INF folder and AndroidManifest.xml file from your old framework-res.apk into the new one.
Or at least that's what I did.
Also, I'm using TotalCommander, which helpfully overwrites a file with the previous file's permissions intact. I'm not sure about other file managers - theoretically if the FM doesn't preserve file permissions while overwriting, a bootloop could occur as the new framework-res.apk will *NOT* have the correct permissions.
Thank you

3Minit Clock Mod v1.1

3Minit Clock Mod
This is the most customizable clock seen to date.
Add individual items so you can have any layout to wish also you can set the following for each item.
Clock position: Left, Right, Center
Changeable for each item:
Text color
Text font
text size
Selectable items are :
Hour (24) e.g.: 13
Hour (12) e.g.: 1
Minutes
Seconds
Day (numeric) eg: 02
Day (short) e.g.: Tue
Day (long) e.g.: Tuesday
Month (numeric) eg: 01
Month (short) e.g.: Jan
Month (long) e.g.: January
Year (short) e.g.: 15
Year (long) e.g.: 2015
Am-Pm
:
/
-
Space
You can also save/load your clock layouts
I cannot explain the full nature of this mod so give it a go.
Implementation Guide
1.Unzip the download files and place all of the MinitClock.smali files into SystemUI.apk/com/android/systemui/policy folder.
2.Make the changes to status_bar.xml as seen below. I have also include both the files below so you can run a diff to see the changes.
XML Source Code: status_bar.xml - Original
Code:
XML Source Code: status_bar.xml - Modded
Code:
Note there are 4 added lines 5,6,12,21 dont miss line 5 or your apk wont recompile. Also note the attributes threeminitosition="0" these mean:
threeminitosition="0" = right clock
threeminitosition="1" = center clock
threeminitosition="2" = left clock
adjust these as you need them.
3. push the contents of system/fonts from zip to your device
4. Install the included apk.
{
"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 are free to use and bake this mod and app into your rom provided you give full and proper credits and you provide a link to this thread. Also, you cannot alter in any way without permission from me first.
This is not a open source project and I share with you as is. All codes belong to me and are copyrighted.
Downloads
3Minit Clock Mod v1.1​
XDA:DevDB Information
3Minit Clock Mod, App for all devices (see above for details)
Contributors
gharrington
Version Information
Status: Stable
Current Stable Version: 1.0
Created 2016-06-17
Last Updated 2016-06-16
Changelog
v1.1 8/6/2016
Fixed issue where app would crash on some devices.
v1.0
Initial release.
Thank you. Please screenshot
@gharrington
Another great Mod Sir.... [emoji106]
nguyentankiet said:
Thank you. Please screenshot
Click to expand...
Click to collapse
Sent from my SM-N920T using Tapatalk
Mine done
I just start to learn this stuff but I'd have to say it's the + in between @ and id. Third line down.
Edit: I just viewed the XML on my phone there is no + sign. Remove that and you should be good
angelus mortis
biglil1 said:
I just start to learn this stuff but I'd have to say it's the + in between @ and id. Third line down.
Edit: I just viewed the XML on my phone there is no + sign. Remove that and you should be good
angelus mortis
Click to expand...
Click to collapse
I try remove + and add id in id.xml, but still error
nguyentankiet said:
I try remove + and add id in id.xml, but still error
Click to expand...
Click to collapse
The only edits you make is in the status_bar.xml. Did you place the .smali files in the policy folder? Maybe I explained my first response wrong. In your edits you had @+id....
in line 3 but it should be @id. If you made an edit in your id.xml change it back
angelus mortis
biglil1 said:
The only edits you make is in the status_bar.xml. Did you place the .smali files in the policy folder? Maybe I explained my first response wrong. In your edits you had @+id....
in line 3 but it should be @id. If you made an edit in your I'd.xml change it back
angelus mortis
Click to expand...
Click to collapse
Yes, i really copy smali to policy.
You can show your statusbar xml?
nguyentankiet said:
Yes, i really copy smali to policy.
You can show your statusbar xml?
Click to expand...
Click to collapse
Just got out of work so I haven't done it yet. I'll hopefully get to it tonight. I really thought that + sign was it. If you have time start from scratch. I only looked at the zip in the op once but if I remember correctly it contains a modded and original status_bar.xml. View the modded XML in notepad++ side by side with your unmodified xml. Going one line at a time edit yours. Place the smali files in policy folder and before recompiling compare the xmls again just to make sure! Hope you get it working!!
angelus mortis
---------- Post added at 07:44 AM ---------- Previous post was at 07:05 AM ----------
nguyentankiet said:
This is status_bar.xml:10:
Code:
<com.android.systemui.statusbar.policy.MinitClock threeminit:position="2" android:gravity="left|center" android:id="@+id/minitclock" android:layout_width="wrap_content" android:layout_height="fill_parent" />
Click to expand...
Click to collapse
My apologies my friend after reading the modded xml completely and more carefully there is a + sign in between @ and id. Feel free to back hand me for that one; lol! I'm going to bed now but if you don't have it working by the time I get up pm me your framework-res.apk and SystemUi.apk and I'll do yours before I do mine. For my stupidity I owe you that!
angelus mortis
biglil1 said:
Just got out of work so I haven't done it yet. I'll hopefully get to it tonight. I really thought that + sign was it. If you have time start from scratch. I only looked at the zip in the op once but if I remember correctly it contains a modded and original status_bar.xml. View the modded XML in notepad++ side by side with your unmodified xml. Going one line at a time edit yours. Place the smali files in policy folder and before recompiling compare the xmls again just to make sure! Hope you get it working!!
angelus mortis
---------- Post added at 07:44 AM ---------- Previous post was at 07:05 AM ----------
My apologies my friend after reading the modded xml completely and more carefully there is a + sign in between @ and id. Feel free to back hand me for that one; lol! I'm going to bed now but if you don't have it working by the time I get up pm me your framework-res.apk and SystemUi.apk and I'll do yours before I do mine. For my stupidity I owe you that!
angelus mortis
Click to expand...
Click to collapse
thank you, mine done. I forget delete > end of
Code:
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui"
haha
4.0+ or 5.0+?
I've had nothing but issues with this. Had a few errors when recompiling but I got them iron out but now the app won't open no matter what I do. I tried installing like normal, putting it into System/apps, in System/priv-apps but still it doesn't work. I'm on rooted stock 6.0.1 30M Nexus 6
biglil1 said:
I've had nothing but issues with this. Had a few errors when recompiling but I got them iron out but now the app won't open no matter what I do. I tried installing like normal, putting it into System/apps, in System/priv-apps but still it doesn't work. I'm on rooted stock 6.0.1 30M Nexus 6
Click to expand...
Click to collapse
Yes. Have issue with font
View here http://forum.xda-developers.com/showthread.php?t=3400221
nguyentankiet said:
Yes. Have issue with font
View here http://forum.xda-developers.com/showthread.php?t=3400221
Click to expand...
Click to collapse
Thanks!
angelus mortis
v1.1 ready for download.
gharrington said:
v1.1 ready for download.
Click to expand...
Click to collapse
Working now! Thanks!
angelus mortis
Duplicate of 3Minit Clock Mod v1.1
closed at op request.

Categories

Resources