[Nexus 4 Themes and Apps] z31s1g:
Q&A

How to...

...install the theme:

The theme zips are not flashable. First installation has to be done manually:

Download the theme of your choice and rename it to "ui.zip".

On SD card (if device has internal and external storage, use the internal) open TWRP folder and create a folder called "theme", without capital letters.

Copy ui.zip to theme folder.

Restart to recovery.

...change the theme:

In Materialised settings, select CHANGE THEME.

Select the theme zip you want to use.

Confirm the change.

...remove the theme:

In Materialised settings, select the delete icon on the app bar.

Confirm the removal.

Alternatively, delete the ui.zip from /sdcard/TWRP/theme with a file explorer.

...change the recovery splash screen

In order to change the splash, one must unpack the recovery image, replace the splash and then repack the image.

This can be done using the Android Image Kitchen by [MENTION=4544860]osm0sis[/MENTION], which is available for Windows, Linux and Android (mobile AIK).

The Materialised theme provides a front end for using the mobile AIK.

General prerequisites:

Make sure the splash screen you want to use is in .jpg format and matches your screen resolution (e.g. 1920x1080).

Splash samples can be found along with the themes in the resolution specific download folders over here.

Download a stock TWRP recovery image for your device.

Samsung users have to download .img files or pull them from the .tar files. Repacking .tar files won't work.

Change the splash while in recovery:

Download the AIK-Mobile-Installer.

Flash the AIK zip in recovery.

This will install the required scripts and binaries to \data\local\AIK-mobile.

In Materialised settings, select CHANGE SPLASH.

Select the stock TWRP .img file.

Select the .jpg file you want to use as splash screen.

Set options:

If Automatically install... is unchecked, the repack will only be created and saved to the same folder as the stock TWRP image.

If checked, the repacked recovery will also be installed on your device.

If Include current theme... is checked, the theme in its current state (accent color) will be included in the repack, replacing the stock TWRP ui.

The ui.zip will automatically be deleted from /sdcard/TWRP/theme, as it is no longer required.

Be aware that changing the accent color won't be possible with an integrated theme.

In general, I'd recommend to not include the theme into the repack. By keeping the ui.zip, there's always the stock ui as a fallback option in case there's something wrong with the theme.

Start repacking/flashing with a swipe.

During the process, Repacking in progress... will be shown.

Change the splash on a Windows PC:

Download and unpack Android Image Kitchen Win32.

Copy the stock TWRP .img file to the Image Kitchen folder.

In windows explorer, drag & drop the recovery image on the "unpackimg.bat".

Unpacking will create two new folders (ramdisk and split_image).

Rename the splash of your choice to "curtain.jpg" and drop it into /ramdisk/twres/images.

Hit "repackimg.bat".

This will create a "image-new.img", which you can then flash away using your preferred method.

...install image files while in recovery:

The theme currently utilises the Flashify script by [MENTION=4544860]osm0sis[/MENTION] to install boot, radio and recovery images.

The script comes with the theme and will automatically be installed to /sdcard/TWRP/flashify if required.

On the Install page, tap on Install Zip.

Select Install Image.

Select the .img file you want to flash.

Select the image type.

This selection determines the target partition. Make sure not to flash a radio.img to the boot partition...

Start flashing with a swipe.

...use the AROMA File Manager:

AROMA File Manager is not part of the theme.

The theme just contains a "shortcut" for directly starting AROMA FM, rather than going through the "install > flash zip" procedure.

Download this flashable zip.

Flash the zip in recovery.

This will copy the Aroma FM package to \TWRP\aromafm.

In Materialised settings, tick the option to use Aroma FM.

From the main menu, the theme will now start Aroma FM instead of the TWRP file manager.

...resolve common issues

When I reboot to recovery, the theme isn't applied. Any ideas?

This is most likeley due to wrong naming of the theme folder or the ui.zip.

Make sure the folder is named "theme", without capital letters.

Also check if you accidentally renamed the downloaded zip to "ui.zip.zip" (common pitfall when renaming the zip in windows explorer).

When I reboot to recovery, I get a "recovery bootloop". Is my phone broken?

Nope, this is most likeley due to a bad download.

Please download the theme again using another browser or app.