yashsingh1/xdaforums huggingface dataset:
[Android Themes] z31s1g:
If the zip is faulty, the recovery itself bootloops on the splash screen. But I can't think of a way the theme would prevent the phone from booting to system.

If one can use the reboot > system button, and the device restarts, the theme is out of the equation.

As for landscape support of the material theme: there is none.

I'm currently working on refreshing the stock twrp ui, so if you want to give the landscape version a try, here you go:

https://www.dropbox.com/s/gqqxgyorc14yrcx/1920_rework.zip?dl=0
[Android Themes] unhappybirthday:
I've had the issue on another Samsung device where it will persist on booting into recovery when a "reboot to recovery" is initiated from the ROM. Even when the battery is removed, it will try to boot recovery but can't because of an bootloop. For my device, the solution was to remove battery, then force a boot to download mode. From there, I could choose to boot system (where I could fix my recovery problem).
[Android Themes] z31s1g:
So you could only fix the issue by removing the theme?
[Android Themes] _that:
This is by design (of Android). Never use any "reboot to recovery" feature from the ROM without having a known good recovery - this includes factory reset from Settings.
[Android Themes] :
Determine number of CPU's

- Divide number by half and add one for running concurrent processes

- Time test on Materialized TWRP theme 2.8.6X_V1_720x1280 averaged 2 minutes and 30 seconds for scaling 1,305 image's on my HTC One SV (K2_CL) device.

- Example, if six CPU's are found then the script will concurrently scale images using four processes until all images are scaled.

- Bumped to version 5.3.2

https://github.com/ModdingMyMind/TWRP_IMAGE_PORTER/commit/6d5f6f7d1178d40eef436a3458671c7617bd70df

For 1,305 images that isn't bad given my devices specs lol. Will continue to improve it's speed :D
[Android Themes] ChinmayKunkikar:
AWESOME!

Will try this soon too.

v5.3.1 worked well by the way. :)

Thanks!
[Android Themes] kRel:
Thank you for your reply. . . :)

I understood why the vision is "stretched", but the version I selected is the one specific to the tablet (800x1280). Because I see it extended? I mentioned the developer for this ...

I think that the attempt to restrict the problem is needed resolution smaller, not bigger ...

I'll try the landscape version.

For the rest, I can confirm that the version I installed incorrectly (1080x1920), did not allow me to do anything, and forced me to restart using the ON/OFF. Unfortunately at restart, not started the OS, but always the recovery, and so on ...

However is important to have solved the boot-loop

I too had thought to to discharge the battery, but it is an unknown factor ... So I decided to use Odin and flash a different recovery as CWM, which not affected to the settings TWRP
[Android Themes] :
[MENTION=2719389]z31s1g[/MENTION]

https://gerrit.omnirom.org/#/c/12728/

Your work is very nice. Would comment and leave a review on gerrit but I'm too lazy to make an account lol.

Can't wait for it to all be finished and merged.

---------- Post added at 04:02 PM ---------- Previous post was at 03:55 PM ----------

I mentioned a larger resolution so that when you apply the theme TWRP will scale it automatically and it would help to keep the images a bit more clear. 800x1280 would look rough when transformed to 1280x800. The height wouldn't look to bad but the width would be hurting visually.

Grabbing the 1440x2560 theme would look better when scaled down to 1280x800. Still though, its portrait being used on landscape in the end. :)
[Android Themes] muvi4:
displayed incorrectly

[MENTION=2719389]z31s1g[/MENTION]

Thank you for your work! It's great!

I apologize if this has already been discussed.

On TWRP 2.8.5.0 there are some problems in displaying strings.

I use a version of the theme 2850_v1_720_dark

Sorry for my english.
[Android Themes] z31s1g:
In this case the problem is with the custom twrp (by cloud) you're using. It already includes a change to the theme engine, that was officially included in twrp version 2860.

The 2860 version of the theme is adopted to this theme engine change. But you can't use the 2860 theme, because another important change (regarding the positioning of the sliders) is missing in your 2850 recovery. So using the 2860 theme on your 2850 recovery will fix the lists, but break the sliders.

Only way out: Ask your developer to update the recovery to 2860 and then use the corresponding theme.
[Android Themes] kRel:
Thank you for your answer ...

I fear to use a larger resolution: I am afraid of repeating the trouble I made earlier: the confirmation buttons or swipe it off the screen, with the inability to do anything ...
[Android Themes] z31s1g:
That was only possible with twrp version lower than 2850.

2850 brought the ability to scale the ui. So no matter what resolution the theme, it will be squashed (or streched) to fit the screen. The initial problem occured because you were on a twrp version that couldn't scale the theme.

Have you tried the stock theme rework I linked?
[Android Themes] SARM1084:
Thank you.

I love the dark theme, but I also love the play theme as well. Will there be a dark or black play theme in LG g3 resolution? Thanks again. :)
[Android Themes] z31s1g:
You can use the dark play versions from the OP (special editions).

While they are made for 1080, twrp will scale them up to match your resolution (1440). The difference is barely noticable, give it a try.
[Android Themes] SARM1084:
Awesome thanks. Your the best. ?
[Android Themes] kRel:
Thank you . . .

Forgive me if I appear pedantic, from May 3 am using TWRP 2.8.6.0. . . then there is something wrong ...

I clarify :) I'm not blaming you, I inform you of what happened, perhaps with the hope of solving... Today I try with the file that you've linked ... and cross my fingers .... I will tell you tonight

Sorry . . .

I downloaded the file 1920_rework.zip, but what should I do?

I have to install from recovery, or?
[Android Themes] Sander9847:
Thanks, they look great
[Android Themes] z31s1g:
Rename it to "ui.zip" and place it in the /TWRP/theme folder. Reboot, profit...:)
[Android Themes] krija:
For me it works as it should on my LG G2. We just need to keep

Automatically install...

option unchecked. Repacked image need to be rebumped and then we can flash it with your awesome theme and with new splash screen :).
[Android Themes] kRel:
Well ...

It works: the screens and also the letters are well defined. I would have preferred viewing "play" but that's fine too ...

A curiosity: to avoid wasting the limited hardware features of the tablet, I keep a display without background:: from recovery to restart I found the tablet with the default background of ROM. Strange is not it?
[Android Themes] m1trand1r:
[MENTION=2719389]z31s1g[/MENTION] just found this....and stopped by to hammer your thanks button a bit:D

I'm using Dark one and it's perfect on my device :D

Really awesome work...hats of:)

And thank you again:)

/LG-G3/d-855/16Gb/Titanium Black/
[Android Themes] It_ler:
Sorry ... forgot to tell you before about this wonderful TWRP theme ?
[Android Themes] m1trand1r:
no worries my friend....found It now anyway ;)

is there anything else wonderful that you forgot to tell me?:D

/LG-G3/d-855/16Gb/Titanium Black/
[Android Themes] leon sprouse:
Theme will not apply

I have a Galaxy S5 with Sickness rom using TWRP2.8.5 and cannot apply theme 1080 x 1920 black play version. Have 2 folders in TWRP , I.E. Backups and theme. Have theme in its folder named ui.zip. Nothing happens when I open recovery, theme not installed.
[Android Themes] m1trand1r:
did you hit "reload theme" ?

/LG-G3/d-855/16Gb/Titanium Black/
[Android Themes] z31s1g:
Can you please post a screenshot of the ui.zip in its folder?
[Android Themes] leon sprouse:
You got me . How do I make a screenshot. The only way I see folder is on computer with phone hooked up with usb line. Here is what I see (path) galaxy S5- card - Twrp- theme-ui.zip. When I click on TWRP it shows two folders , BACKUPS and theme. I downloaded theme and changed name on computer desktop, then made folder dropped it into TWRP folder next to

backups folder. All done from computer.
[Android Themes] Captain_Throwback:
Power+Volume Down, just like in Android.

I'm not sure whether your device has an external SD card, but if it does, the theme won't work there. Make sure it's on your internal/emulated storage/sdcard.
[Android Themes] leon sprouse:
transferring theme to internal storage. Wont allow me to put theme folder in TWRP empty folder on internal storage. Says phone stopped responding. I guess I cant have 2 TWRP folders on phone and want to keep the one on sd card because with a nandroid backup on it there may not be enough room on internal. was going to just try to put theme on internal in its TWRP folder but like I said it wont allow. PS haven't chatted with you since my Evo4G days with mik.
[Android Themes] leon sprouse:
Here is what I have. Phone is Galaxy S5 with Sickness rom . I have TWRP V 2.8.4 installed. I have an Sd card along with internal storage. When I installed TWRP it put a folder labeled TWRP both on the sd card and on internal storage. I have a backup in the folder on the sd card. Took theme made folder , named Theme and put the zip in it labeled ui.zip .Did not work , was told theme folder had to be in internal storage and not sd card. Tried to install theme folder in TWRP folder on internal storage. Got error "not responding , no connection" then tried to remove TWRP folder completely from internal storage, got error, "cannot remove ,read only. " (Note: errors may not say exactly what I just wrote, doing from my recall.) Anyway that is where I stand now with theme in folder on SD card memory not working and not able to install in internal storage. Also need to keep backups on SD because of its size., only have 2.1gb of space left on internal.
[Android Themes] z31s1g:
Use the file manager in twrp to copy the theme folder over to internal storage. Then reboot the recovery.
[Android Themes] leon sprouse:
Got it , thanks. Trying to make a backup but when I "swipe to backup" nothing happens.. Any ideas? Switched theme ,now swipe is working.
[Android Themes] z31s1g:
Which one didn't work?
[Android Themes] husky69:
Seems like basketbuild ran into trouble - nothing being served, except for an error message :mad:

Anyone care to send me the zipfile for my Z3 (1080<1920) via PM? Or - mirrors anyone?
[Android Themes] z31s1g:
https://www.dropbox.com/sh/4q13q74hlz7yw63/AACicMaH_YZR-6FJY1271bj2a?dl=0
[Android Themes] sossio18:
Please, any mirror for 720x1280? Thank u!

TWRP 2860 is supported?
[Android Themes] z31s1g:
https://www.dropbox.com/sh/h6luyxswxmowkgv/AABsCLqBy_rX_hyB9s9fToXIa?dl=0
[Android Themes] :
I compiled pngcrush statically for arm.

It can be used to reduce the sizes of all .png images found in these themes and the quality of these themes are still great.

Simply place the binary appropriately on your android device and chmod to 755. Example would be /system/bin/pngcrush.

Change directories to root of theme within terminal.

Here is a simple one-liner using a for loop which doesn't take long to complete.

cd /root/of/theme; whereami=$(ls ./images*/*.png); for images in $whereami; do echo "Crushing $(basename $images)"; pngcrush -ow $images &> /dev/null; done

My dark theme at resolution 480x800 is originally 6.38 megabytes. After running pngcrush it was reduced to 5.18 megabytes. That's a 33% reduction in it's overall size. For others it may be more or less depending on how the original png images were made up. May be useful to those who apply these themes into their actual recoveries and want to save space given their small sizes for the partition.
[Android Themes] sossio18:
How to change language? Stock theme is in italian, now english :/

Moto G 2015 XT1072 CM12.1 Android 5.1.1_r2
[Android Themes] z31s1g:
Unless you're using an unofficial version oft twrp that has been translated, twrp ui is always in English. So are the themes, no other languages available.
[Android Themes] GalaxyWhy:
I noticed you guys support the Nexus 7 which has the same resolution as my Xperia Z2 Tab (1200x1920). Im going to try it with my Tablet and report back :)
[Android Themes] z31s1g:
It'll work.
[Android Themes] GalaxyWhy:
It installs fine but when I boot into recovery it's all stretched out of shape :/

Im using the "286X_v1_1200_play.zip" theme btw
[Android Themes] gordon.shameway:
The theme is not designed for landscape mode. But there us a stock and remade twrp theme for landscape mode
[Android Themes] GalaxyWhy:
Can you link me in the right direction then?

Or is there a way to force my tablet into portrait?

Thanks
[Android Themes] gordon.shameway:
I think a link was posted in this thread not too long ago
[Android Themes] z31s1g:
Right, the landscape requires separate themes.

Because there's no way to "force change" the screen orientation of twrp.

The stock theme rework is here:

https://www.dropbox.com/s/gqqxgyorc14yrcx/1920_rework.zip?dl=0
[Android Themes] :
You would have to hack away at the source if you want portrait.

With that said, 1200x1920 (width x height) is definitely different from 1920x1200 lol. If the width is greater than the height this would be landscape.

Don't have a link but someone here does and will provide you with it soon :D.
[Android Themes] GalaxyWhy:
Ah well thats pretty dope. Thanks man

Are you reworking the stock theme for portrait aswell?

*EDIT* Works like a charm
[Android Themes] radz_:
Its my 1st time to try this trick...

All is working well! I feel like im so good...lol

Just curious though, whats gonna happen if i try higher resolutions theme?
[Android Themes] bombadier:
Depending on the version of TWRP probably nothing as it scales to the correct resolution so dont think you can use a "higher resolution" theme
[Android Themes] z31s1g:
What bombadier said. If you're on 2860, a higher resolution theme will be scaled down to match your resolution. But scaling does cause decreased image quality (only slightly, but still...).

If there's a theme that perfectly matches your resolution, use that.
[Android Themes] radz_:
Make sense mate...

Yup im using resolution that matches my device..

And everything works great...

And thanks a lot for the clear instructions in the OP...

Well done sir![emoji106] [emoji106]
[Android Themes] :
GITHUB Commit - Add rotation feature (new landscape theme). Make listbox conditional.

This commit is old but it allowed a specific device at resolution 480x800 to rotate and use a theme at 800x480. Rather interesting mod.

[MENTION=4878287]_that[/MENTION], what do you and the team think about this concept? Possible to include in future releases?

I'm actually gonna try to apply for myself and see how it turns out. May need some updating though.
[Android Themes] _that:
Indeed an interesting find.

Personally I don't see the need for rotating themes in TWRP - it's nice to have but not essential, and I don't want to spend a lot of my time on it. But if someone else does it, I won't object to including it.

If you rewrite the patch for the current TWRP, I'm curious if and how much the frame rate suffers in the rotated mode.
[Android Themes] :
[MENTION=4878287]_that[/MENTION], if I find time between my wife and three month old son and can patch this up I will send it your way to check it out.
[Android Themes] Captain_Throwback:
Isn't that just this?

[MENTION=3418703]Tasssadar[/MENTION] was talking about that earlier today on IRC, I believe . .
[Android Themes] Shark5060:
Is it possible to compress the PNG images? I've tried multiple ways and applications but I was unable to boot every single time.

I loved the idea to install the theme in the recovery partition, but it was always too large - with PNG compression it would fit just fine :/

I've searched the thread and found some post that someone tried it once (and failed as well), but no reason for that was given. Compressed Wallpapers for example work like a charm....

regards
[Android Themes] :
Have you tried optipng, pngquant, or pngcrush. They tend to work very well with me.
[Android Themes] Shark5060:
yes to both - gave me a recovery "bootloop" where the spash image flashed very slowly (once every 30 sec)
[Android Themes] :
Hmmm, interesting. Have you compressed the png Images and then applied the theme without installing it into your recovery image? Could be that when you optimized them and installed the theme into your recovery image that the overall size was still greater than the total size of your recovery partition thus preventing it to boot. With that said, are you using a theme with a higher resolution than your device? If yes, then resize the images to your resolution and that will greatly help in size. After resizing then try again by compressing the png images.

The 720x1280 dark theme I believe is about 7.3 mb roughly. When I resize the theme to 480x800 it reduces the theme to about 6.3 mb roughly. Then I use pngcrush to optimize all png images and doing that reduces the themes overall size down to 5.18 mb roughly.

Most important thing to consider is knowing the size of your stock twrp recovery, knowing the size of your recovery partition, and then insuring the theme doesn't enlarge your recovery image to be greater than your recovery partition.

For example, my recovery partition can hold up to 16mb. My twrp recovery is about 14mb in size. So, if I apply a theme into the recovery I have to aim at reducing the themes size to be no more than 2 mb or else the recovery will not boot.

Hope this is helpful.
[Android Themes] Shark5060:
I've been using the 1920x1080 version, repacked a version with a simple splash screen (<5k filesize) and tried that version. Worked.

Then I've crushed all pngs with, as I said, multiple tools and tried to install that as a theme (just repacked the ui.zip) and it bootloops.

I've even used the original images to make sure I hadn't made an error while creating the zip - works.

Soo that leaves only the crunching as a possible error source :/

I've tried:

https://tinypng.com/

http://compresspng.com/

http://ezgif.com/optipng

optipng @ linux

https://pngquant.org/

http://pngmini.com/

did I miss anything?
[Android Themes] :
Is your device resolution "1920x1080"? If it isn't then resize the theme to your device resolution. This includes modifying the font sizes and all other necessary values inside the xml files. TWRP will scale the themes automatically but TWRP doesn't not write back to the xml files or the images. When you reboot the system you will find that the theme zipped up is still the same size.

---------- Post added at 01:11 PM ---------- Previous post was at 01:05 PM ----------

Also, try using pngcrush. You didn't list that. Not sure why you are having issues after compressing them. Maybe the parameters you are using on the command-line?
[Android Themes] Shark5060:
yes my Galaxy S4 has a FullHD resolution, and yes I'm already using the right theme - thanks.

I'll try my luck with pngcrush
[Android Themes] :
Let me know if it works out.

Simple command for pngcrush:

pngcrush -ow /path/to/image.png.

A few comments back I posted a command for use with pngcrush that applies a for loop. Doesn't take long for it to complete.
[Android Themes] Shark5060:
pngcrunch worked like a charm... sadly the file is still ~340kB too large. So either I use a lower resolution and let twrp upscale the whole thing or I have to think about something else.

However my initial problem is solved and I thank you for your help!
[Android Themes] :
The past few days I have been studying png images since I too am looking for ways to optimize them and still hold good quality. Something I wish to include with my TWRPPORTER script. Pngcrush has been added to it as an option but I'm still studying, researching, and experimenting.

With these themes and TWRP growing, size is definitely something to be considered when applying to the recovery partition. PNG images are great though because it's more feasible to optimize them and still hold good quality. Whereas with jpeg images, they are already compressed and so really the only way to optimize them is by sacrificing quality of the jpeg images.

If you find something then definitely inform me about it :).

---------- Post added at 06:33 PM ---------- Previous post was at 06:27 PM ----------

May also want to look into ImageMagick or GraphicsMagick (Swiss Army Knife of ImageMagick). They include A LOT of options that may be helpful to you.

http://www.graphicsmagick.org/

http://www.imagemagick.org/script/index.php

---------- Post added at 06:58 PM ---------- Previous post was at 06:33 PM ----------

[MENTION=5920269]Shark5060[/MENTION],

Try pngcrush -ow -l 9 /path/to/image.png

'-l' specifies the zlib compression level for png images. In this case, level 9, which is the highest. Should definitely give you the space you need. 720x1280 Light at 7.68mb was reduced to 7.59mb at the same resolution.
[Android Themes] robotkoer:
Why can't I change the theme back to ui.zip? It kept my current theme (Play) and when I tried to restart to system, Android went to a bootloop instead. :confused:

Edit: I understood that the theme changer obviously patches the theme to ui.zip, hence reapplying would create a conflict. Fixed the problem by clearing caches and reapplying the theme :)

Don't be as stupid as I was :D
[Android Themes] fraser.dk:
A lossless image compressor script that nets more savings: imgopt. Takes the best of pngopt, pngcrush etc. If you use the jfiremove option it'll shave a few kb off most jpegs.

Dark 1080p theme: saved 3 MB

Dark 1440p theme: saved 4.6 MB.

Not meant as a mirror (won't be updated!) but to illustrate the space savings.
[Android Themes] :
My man, much appreciated :)

---------- Post added at 12:37 PM ---------- Previous post was at 12:33 PM ----------

Grr, the Project uses pngout which is a closed source Project :eek:

I hate closed sources.
[Android Themes] fraser.dk:
It's optional. Comment that out, still a great script.
[Android Themes] terrorizer84:
What I have to chose to lg l90?
[Android Themes] z31s1g:
720 and 1080 should work (given you're on twrp 2860 or newer).
[Android Themes] xgsquad:
Hi !

In 720x1280 theme, the 286X_v1_720_play.zip

Is the size really just 2MB ? Because the light and dark one is around 7MB.

And i always get recovery boot loop, after renamed it to ui.zip and place it to /TWRP/theme
[Android Themes] z31s1g:
Yes, the play theme is smaller because it contains much less images. If you get a bootloop the downloaded zip is corrupted, try downloading it again.
[Android Themes] :
advpng is phenomenal bro. Just that alone makes a big difference :)
[Android Themes] Technical:
Can anybody confirm that this is a bug in TWRP? Seems not working at all (i.e., the screen does not turn off at all).
[Android Themes] z31s1g:
Screen timeout is a device specific feature. So there's no way to say if it is broken in general. Thus I'd recommend asking the question in the twrp thread for your device.

Rule of thumb: if you see the option to enable it (and set the timeout value), it should work. If it doesn't, it appears to be a bug with the recovery on your specific device.
[Android Themes] KreNtal:
It doesn't work for me on Lg G2 (D802) TWRP 2.8.6.0 with theme and even without it. As [MENTION=2719389]z31s1g[/MENTION] said this isn't a theme related problem.
[Android Themes] franzyroy:
[MENTION=2719389]z31s1g[/MENTION]

Can you help me to adapt your theme with this recovery? It's the same but the Dev has added a menu in "Advanced" layout, I wonder if I've already asked you but I doubt.

Modify a theme, I know but I miss few knowledges.

I want to keep your theme and I want this recovery! :( For the moment, I can't have the both :( I don't ask you to create any png(s) (if necessary), only help me for the script.

If you want, I can send you any screenshots for the menu and submenu.

Thanks!;)
[Android Themes] z31s1g:
The multirom themes from OP should work. Or are there additional changes made to the "stock" multirom ui?