yashsingh1/xdaforums huggingface dataset:
[Android Themes] FcukBloat:
here it is!

https://www.dropbox.com/s/b7saa6b0ewvedai/custom_splash_twrp.img?dl=0

thanks for looking into it. btw even fastboot flash recovery custom_splash_twrp.img doesn't work! i mean it says "done" but i still see default splash. i also tried to fastboot flash a cwm img it was inside a flashable zip, again it says "done" but then i still have twrp! so i think it is a problem on the phone, recovery can't be flashed dunno why.. how is that possible?

but if i flash the cwm zip, it works, i get twrp replaced by cwm...

thanks again!
[Android Themes] z31s1g:
The repacking of the image worked. The custom splash is in there, but in the wrong location.

Your recovery build is very up to date with the twrp source.

It includes a commit that places the stock theme in a different folder (/twres), but the the script used to change the splash points to the "old" folder (/res). So the script needs to be changed anyway for the next twrp release.

Here you'll find a version of the dark theme that has the script fixed. It should now replace the stock splash in /twres folder, rather than copying the custom splash to the no longer used /res folder.

So my conlusion is that repacking and flashing went well, but because the custom splash did not get placed in the correct folder, you are still seeing the old splash.

So please test the splash changing (and auto installion using the native image flashing support).
[Android Themes] FcukBloat:
some news. I am now able to fastboot flash different recoveries from the PC. so now I can correctly switch between CWM and TWRP with fastboot command, so flashing recovery to my phone is now working correctly.

but still, flashing the TWRP recovery modded with splash screen, will give a TWRP with regular splash screen. so now I think the problem is in the recovery generated when splash screen is being added.

so to clarify here is what I tried. let's say I have CWM installed. I fastboot flash TWRP's img, and when I next enter in recovery, I have twrp. I re-flash cwm, so I can enter again in CWM. at this point I fastboot flash the custom_splash_twrp.img

next I can enter again in twrp but with stock splash screen ;(

so when you have got a chance please check the img I uploaded and confirm me if it is correct, I mean with new splash screen added, or wrong, with stock splash screen, for double-checking... thank you!

EDIT: sorry posted at about the same time! thanks for your analysis, I am trying the fixed theme you sent me right away and report. and many thanks in advance!!! ;) :)

---------- Post added at 11:02 AM ---------- Previous post was at 10:21 AM ----------

still problems sorry :(

so I installed your new theme and proceeded again to generate a custom twrp recovery with splash screen added.

no problems during image generation.

but then I tried flashing the obtained recovery from within the theme settings, with both "use flashify script for image flashing" enabled and disabled, but still rebooting to recovery I have stock splash.

I then tried also flashing the obtained new img from twrp > install > img, again with "use flashify script for image flashing" enabled and disabled, but still it doesn't work :crying:

finally I also tried fastboot flashing the obtained new img also from the PC, again old splash screen.. so probably the img creation is still buggy with this version of twrp?

if you wish, this is the latest img I got after installing your new theme ;)

https://www.dropbox.com/s/b7saa6b0ewvedai/custom_splash_twrp.img?dl=0

TIA
[Android Themes] z31s1g:
Meh, that's because I failed at using 7zip. :silly:

One more try.
[Android Themes] FcukBloat:
I noticed in the previous version files inside the zip were doubled, so I have also already tried cleaning the zip and removing double files, copiyng the files structure from your previous version of theme, with no luck. but well will try also this one maybe you changed something else hope it will work will report soon! ;)

EDIT: workinggggg!! at last thanks a lot my friend!! great!!! ;) :) :good: :victory:
[Android Themes] LeonidasTurk:
Hi. I can't change my Recovery Splash. When i trying this, i checked boot and it HARDBRICKED my device. But i recoveried it. So how can i change this? Please help me.
[Android Themes] jcpowell:
Hardbricked? Not sure how you would of accomplished that changing your recovery splash and I also don't think you know what that means...
[Android Themes] z31s1g:
Select recovery when asked what image type you want to flash. Boot partition holds the kernel, recovery partition the recovery.
[Android Themes] LeonidasTurk:
My phone is Sony Xperia z3 and i'm on cm12. I use FOTARecovery. Will it work on this?
[Android Themes] z31s1g:
I have no idea what a fotarecovery is. Can you provide me a link to the thread where you got the recovery from? I'll have a look. But for now, please don't try again.
[Android Themes] LeonidasTurk:
http://xdaforums.com/xperia-m/development/recovery-cwm-twrp-recoveries-custom-roms-t3016507
[Android Themes] JoshReuben:
Quick word to thank you for a beautiful tweak. Installation was flawless by following post#2, and my KT TWRP 2.8.4.2 looks awesome. Thanks!
[Android Themes] z31s1g:
You'll have to wait until the official release of twrp 2850.

Reason is, your recovery already includes a change that prevents the current implementation of splash replacement feature from working.

In general I'd say that repacking and flashing should work on your device, but it's the splash swapping part that won't work until twrp 2850 has been released and until I have updated the themes to work with that version.
[Android Themes] reglist:
RUS

Может ли кто-то сделать тему Dark и тему Play для экрана 540х960 и TWRP 2.8.4.0? Спасибо.

ENG

Can someone make a Dark theme and Play theme for 540x960 screen and TWRP 2.8.4.0? Thanks.
[Android Themes] _that:
...which should be quite soon, as I've heard. With auto-scaling themes.

[MENTION=2719389]z31s1g[/MENTION]: Which feature (that would be reasonably simple to implement) are you missing most in the current XML theme engine?
[Android Themes] awakener777:
This is absolutely beautiful and eye catching! Amazing this was possible through a theme. Extraordinary work and I'm excited to see what future creations you bring to life!
[Android Themes] z31s1g:
I guess the ability to display messages would be useful. By using something like <uiprint="text">message text</uiprint>.

The theme uses some shell commands to do do stuff (changing the color, swapping out the splash), but currently there's no way I can let the user know what's happening exactly while they wait for these processes to finish.

Another thing I was wishing for is the ability to define a coloured area. Basically like the button element, but only using width, height and color - no text and no action required.

But this would only help me to clean up the XML a little.

And [emoji12] :

The alignment attribute placement="5", which centres objects below given coordinates, currently doesn't seem to apply to text (but works for buttons). If applied, text is being displayed centred above the defined coordinates instead of below them.

And on a very final note: on the Nexus 6 images with gradients are displayed as if they were rendered in with 16 bit depth (there's banding). But the log shows that 32 bit color depth is used for the ui. One doesn't notice it on the dark minimalistic stock ui, only if the theme is applied. Other devices handle gradients just fine, so it would be nice if the device maintainer could maybe look into that.

So thank you for caring about my concerns, much appreciated.

I'm guessing the coloured area would be easiest to implement, but the ability to display messages would be more useful.
[Android Themes] _that:
How/where should this message be displayed? Like an Android toast, with a timeout? A message box? How would it be different than <object type="text">? Such a text can also have a condition that it only shows when some variable is set to a specific value.

This exists, maybe it's just not documented:

<object type="fill" color="#01579b60"><placement x="0" y="44" w="1920" h="300"/></object>

From reading the code, it should display the text centered in x direction, but below the y coordinate. IMHO this "placement" attribute needs a bit of an overhaul anyway, I think it should be replaced by xalign="left|center|right" and yalign="top|center|bottom".

I've never seen TWRP with full 32 bit colors - my device only works with a 16 bit framebuffer without the proprietary drivers. But my recovery.log shows "Starting the UI...Pixel format: 1920x1200 @ 16bpp" and "Pixel format: BGR_565", so that's what I get.
[Android Themes] z31s1g:
I was thinking about having the message text displayed in the console.

Exactly was I was looking for, thanks for the info.

Sounds like the perfect way to do it. Eventually.

I spoke to [MENTION=3418703]Tasssadar[/MENTION] about this once. As a result, he "made" his multirom twrp for Hammerhead and Flo to display the ui with 32 bpp.

Attached screenshots illustrate the difference between 32 (standard twrp) and 16 (multirom twrp) bpp on Nexus 5 in october last year.

I was just wondering wether the same "high quality mode" could be achieved on the Nexus 6.

From what you wrote it seems to be more diffucult to get this right (drivers, maybe other things that I have no idea of). So if one of you could try to figure it out for the sake of making a secondary ui (my theme) look better, that would be most awesome. Makes me wish I could donate you guys a few hours time rather than beer...
[Android Themes] FcukBloat:
hi again :)

one question about splash screens... the images need to have some particular characteristics to be seen from twrp file manager?

because the images in your splash's zip can be correctly added to recovey.img but I have another jpg file, less than 100kb, and same size as yours, but it can't be selected ;(
[Android Themes] z31s1g:
The file list used to select the splash filters for file extension ".jpg". So my guess is your splash of choice uses ". jpeg", and thus doesn't appear in the list.
[Android Themes] FcukBloat:
I am pretty sure it was jpg, but will doublecheck thank you! ;)
[Android Themes] _that:
Ah, so you just want an <action function="ui_print"> to write stuff to the console. That should be easy to add, but it won't be in 2.8.5 (unless someone else does it). What would you use it for?

Wow, my drop shadows looked exactly as bad as yours, now I know why! :) Maybe we need some dithering for 16 bit displays to make it look better.

On my aging ASUS TF700T tablet, I simply tried all the pixel format options, and the only one that produced a visible display in TWRP was RGB_565, so no true color for me. I have no idea what else I could try, but it's not *that* important.

You are already donating a lot of time by making this awesome theme!
[Android Themes] Richard_10:
No possible black theme ? It very efficient on AMOLED screens
[Android Themes] jaibar:
I don't think one spends so much time at recovery to make a difference for amoled screens whether it is black or white. What? Maybe ten minutes having a huge backup + flashing a couple of files? Twenty minutes a day, of which 80% screen is turned off, for a flashaolic?

Maybe for the sake that some find the black more pleasant to the eye, but don't count on saving battery here...
[Android Themes] scoobyjenkins:
http://xdaforums.com/showthread.php?p=58350820

Tapatalked that shiznit.
[Android Themes] Rix70:
Fantastic themes... I change theme on my twrp every month ?

All beautiful but the dark is my preferred!

Thanks Dev! ?
[Android Themes] Richard_10:
Thanks man. Exactly what I needed. Awesome !

---------- Post added at 11:53 PM ---------- Previous post was at 11:51 PM ----------

At night, the black is more convenient, and in AMOLED black means turned off leds, so its even better to the eye, specialy if you don't wanna wake disturb your trying-to-sleep woman.

---------- Post added 12th February 2015 at 12:06 AM ---------- Previous post was 11th February 2015 at 11:53 PM ----------

What about splash screen. Will you be making a black one please ??
[Android Themes] scoobyjenkins:
Following the instructions to make one with the tools given isn't too hard, I picked it up pretty quick. Inkscape is awesome!

Tapatalked that shiznit.
[Android Themes] Richard_10:
Of course. I already followed the instructions and changed my slash screen with tye guven ones. I was asking if it's possible to provide a black .jpeg for the splash screen.
[Android Themes] tiaoalvino:
Perfect! [emoji106]

Sorry, but, I don't think so, because I have no idea how to do it! [emoji1]
[Android Themes] scoobyjenkins:
You can make your own jpeg. If you downloaded Inkscape, the sample splashset and the curtain svg file, you can create anything you like!

*Edit* Like this.. Just don't forget to convert any PNGs you make into JPGs for the splash screen. You can just open a PNG in a program like MSPaint and save as JPG.

Tapatalked that shiznit.
[Android Themes] Richard_10:
Awesome. Will try that
[Android Themes] scoobyjenkins:
[emoji106]

Tapatalked that shiznit.
[Android Themes] FcukBloat:
just to update, it worked, many thanks ;) it was a jpeg extension.... strange thing is that the file i downloaded to my pc was .jpg, then when I uploaded it to my dropbox was still .jpg, finally when I exported it to my phone's sdcard became .jpeg.. that's why I was sure it was jpg but then I got a jpeg one instead in the end..!! :o
[Android Themes] shekinahsmoke:
twrp 2.8.5.0 has dropped.
[Android Themes] z31s1g:
Will push the updated themes once home.
[Android Themes] Forsaked:
I didnt noticed any problem with the 2.8.4.0 theme under 2.8.5.0!
[Android Themes] z31s1g:
Repacking the recovery with a custom splash is broken with 2840 theme on 2850 recovery.

And the (new) button to cancel the backup process is missing.

Apart from that, everything else is working.

Just quickly checking if the required changes work, with a pizza box on my knees...:D
[Android Themes] Forsaked:
Pizza is an good idea!

*walks to the kitchen and makes one*

Actually i repack my splash on the pc with android image kitchen, so i didnt noticed this error!
[Android Themes] NovaSlim:
Same here, been using the same theme without problem since 2.8.1.0 lol. Guess I wasn't doing anything that trigger any of the minor bugs.
[Android Themes] gamzekal:
Great Thread thanks bro.

Danke Schön ;)
[Android Themes] z31s1g:
All themes updated

All themes updated for TWRP 2850:

changed the script used to change the splash screen to work with new recovery file structure

added "cancel backup" button

during backups, the file progress is now shown on the appbar (next to the partition that is currently beeing backed up, as it's a partition specific value)

MultiROM themes will be uploaded once MR TWRP has been updated.

Do not use the 285X themes on a 284X recovery. This combination will result in a never ending backup process, that can only be interrupted by a hard reboot.

Download from the 285X_v1 folder for your resolution.

EDIT:

I've just been made aware that the toggle to change the font size is broken.

Using it will make the file list disappear, and it'll only come back after a reboot to recovery.

While the code in my theme hasn't changed, something in TWRP has.

So before I'm going to remove the toggle, I'll wait for the TWRP devs to investigate the issue.

So please do not use the font size toggle for now.
[Android Themes] FcukBloat:
omg how many devices :o

what kind of pizza? Italian i hope?

lol sorry for ot [emoji14]
[Android Themes] It_ler:
Nice set of devices :good:

And thanks for the awesome TWRP theme.
[Android Themes] z31s1g:
It wasn't me

I've just been made aware that the toggle to change the font size is broken.

Using it will make the file list disappear, and it'll only come back after a reboot to recovery.

While the code in my theme hasn't changed, something in TWRP has.

So before I'm going to remove the toggle, I'll wait for the TWRP devs to investigate the issue.
[MENTION=1162986]Captain_Throwback[/MENTION] or [MENTION=4878287]_that[/MENTION] to the rescue???

So please do not use the font size toggle for now.
[Android Themes] Captain_Throwback:
I certainly don't dev TWRP, lol. But could it be related to the TTF scaling? I'm not sure why that would break the file list, but I know there were a lot of scrolling-related fixes. I'm sure [MENTION=2638973]bigbiff[/MENTION] [MENTION=912474]Dees_Troy[/MENTION] [MENTION=4878287]_that[/MENTION] will figure it out shortly (if they haven't already).
[Android Themes] _that:
Well, since TWRP doesn't officially support changing the font size, it's not a bug in TWRP. :p

How did you even implement the font size change option?
[Android Themes] I.nfraR.ed:
960x540 V2 for TWRP 2.8.4.0

Hi,

I have ported the three themes for 540x960 resolution.

Tested on Lenovo A820 with TWRP 2.8.4.0. Changing accent color and deleting theme don't work on my TWRP version, so I guess there's some problem with binaries in the recovery.

Everything else seems to be working and correctly aligned, but if you notice some UI glitches, please let me know and I will correct it.

Basically I took 1920x1080 themes as a base, divided needed dimensions by 2, scaled fonts + some minor adjustments.

Then resized all images with Photoshop batch action to 50% from original size.

[MENTION=2719389]z31s1g[/MENTION] , you did a great job! As a web developer I know how tricky that work is...

Download from my Drive

Attached just 2 screenshots to see how everything is aligned/scaled, otherwise you can check the OP for more information.
[Android Themes] z31s1g:
:eek:

The toggle changes a persistent variable (list_font="big" / "small").

Two file lists, only difference is the font size and the condition (<condition var1="list_font" var2="big" />).

So far, using the toggle to set the variable to "small" resulted in the list with <condition var1="list_font" var2="small" /> to be displayed.

Now, the list just disappears.

Downgrading the recovery to 2840 makes the toggle work again.
[Android Themes] _that:
I can't think of any recent change that would explain this. Can you, for testing, remove both conditions and arrange the lists so that both are visible at the same time? Just to see if the other list is permanently missing or if it's due to switching. Also check the console and/or recovery.log for error messages (but unfortunately, many errors related to themes are not logged at all, instead the widget is simply not created).
[Android Themes] manbat:
You can't change font size..when attempting font disappears in file mgr...at least for me.

Sent from my SM-N910V / VZW Note 4 DE / Factory Bootloader Unlocked / Rooted / Custom Kernel-ed / TWRP 2.8.5.0.trltevzw
[Android Themes] chikimonke:
I was just thinking, is there some way to change the DPI in recovery? I'm a fan of Slim Roms and they have always changed from the stock DPI to shrink up the display a bit so more would fit on the screen at once. Is there any sort of access to DPI in TWRP so the user could change it to suit their needs on their device? I use the small text myself, but it still doesn't make the text small enough to see a full filename of most ROMs. Often the most important info is last in the last part of the filename that is cut off. Just a thought.
[Android Themes] Isley_:
Thanks for the update for the new Recovery!
[Android Themes] franzyroy:
Hi

There... the version 2.8.5.0 v1 always on those of [MENTION=2719389]z31s1g[/MENTION] , on his version 1, only the 1080 x 1920.

Material themes v1 for TWRP 2.8.5.0:

Material black theme v1 (version of 02-12-2015/ rename it in ui.zip, at put in /sdcard/TWRP/theme) - available at the bottom of the post

Material black Play theme v1 (version of 02-12-2015/ rename it in ui.zip, at put in /sdcard/TWRP/theme) - available at the bottom of the post

Material dark Play theme v1 (version of 02-12-2015/ rename it in ui.zip, at put in /sdcard/TWRP/theme) - available at the bottom of the post

Screens of themes (black - blackplay - darkplay):

ENJOY!!!
[Android Themes] _that:
I could reproduce your problem and fixed it. Condition handling was messed up due to unifying the scrollable list code (as soon as the condition was false, the lists stopped caring about further condition changes). Will be fixed as soon as this is merged: https://gerrit.omnirom.org/#/c/12009/

I also noticed that I couldn't reload your theme more than twice without getting missing images; this is fixed with https://gerrit.omnirom.org/#/c/12008/

---------- Post added at 01:37 AM ---------- Previous post was at 01:31 AM ----------

Recovery has no concept of dpi, only font and image sizes in relation to the screen size. With 2.8.5 we have scaling but with a constant factor for everything. Making a mental note for some future version about the "cut off file name" problem - either we need some way to scroll horizontally in a list (maybe only a single item to peek at the hidden part of the text), or at least a text box with automatic wrapping on the "install" page.
[Android Themes] Captain_Throwback:
I know AROMA File Manager wraps text, which is why I use it sometimes over the built in file manager :eek:.
[Android Themes] z31s1g:
MultiROM themes updated

Updated MultiROM themes have also been pushed to the download folder.

Thanks for looking into it. My hero of the day (maybe even week...:p)
[Android Themes] BurlaMatto:
Latest recovery failed to boot in for me, the phone get hot and do nothing. Reverted do 2.8.4.0 and everything works fine :/ (i tried with or without skin but it doen's boot up). Hope it helps since the website of twrp is down (at least for me :P ).

My phone is a samsung galaxy s4 (I9505)
[Android Themes] Maxr1998:
Hmmm.. Pizza... [emoji39]

..And so many Nexus :)

Sent using my nexus⁴ running Mahdi 2.8 with Xposed and hells-Core B64

Bitcoin donation address
[Android Themes] RedSkyRoad:
Will these work on tablets in landscape mode?
[Android Themes] z31s1g:
No, no love for landscape mode yet.
[Android Themes] RedSkyRoad:
OK :(
[Android Themes] :
Was never banished lol. I stepped away. :). But I am slowly coming back.

---------- Post added at 01:31 PM ---------- Previous post was at 01:23 PM ----------

It isn't the binary. I'm betting twenty bucks your issue with changing the accent color was the very same one I had and the culprit would be found in the device tree used to build TWRP for your device :)
[Android Themes] reglist:
Good work, man. Thank you.
[Android Themes] franzyroy:
Could you add a link in the OP post for my themes? Even if I doubt it's not easy with all these adaptatations. :p

Thanks! ;)
[Android Themes] jackdubl:
I can't get the new version to boot after repacking and re-loki using the Android Kitchen tool. Is that what you're talking about?

---------- Post added at 12:52 PM ---------- Previous post was at 12:51 PM ----------

Same problem, same phone(S4), w/ repacked lokied recovery.
[Android Themes] z31s1g:
No.

With 2850, the ui resides in a different folder on the recovery partition. The script in the 2840 theme wouldn't take that new location into account, so after repacking the stock splash would still be shown.

That's what I meant with "broken".

But in your case the problem seems to be with the loki stuff, which I have no experience with.

Maybe others do?
[Android Themes] twinkyz1979:
i think i am correct in saying the curtain is now located in twres/images for those that were wondering.
[Android Themes] damngood98:
Correct, and I can confirm repacking it through the kitchen doesn't work, but I haven't tried it manually through twrp
[Android Themes] Paschfire:
thank you! the black theme is awesome as are the dark/black play versions but I have one suggestion if you would be open to it on the black theme(s), under the color palette settings there is an option for 'use buttons on main menu' but on the black theme the buttons are also black same as the background so cancelling them out. What if like the dark theme the buttons are A lighter gray than the background, maybe on the black theme make the buttons the base dark grey of the dark theme to give the buttons the raised look.
[Android Themes] franzyroy:
I'll try to take a look but not now because the latest TWRP recovery doesn't work on our model.