Jump to content

[MOD / GUIDE] CoverFlow Theme Chooser Layout [Source or Hack]


Guest tillaz

Recommended Posts

Guest tillaz

THIS IS ONLY FOR FOR ROM'S THAT ALREADY HAVE THE THEME CHOOSER IMPLEMENTED

EXCUSE THE LOW QUALITY OF THE .GIF BELOW

preview2.gif

first post will cover the guide on how to include this from .smali hacks, intended for people who don't compile there ROM from source.

the second post explains how to include it from source, this is actually recommended as you wont have to keep doing this every time

THINGS YOU WILL NEED FROM YOUR ROM

the whole ROM .zip on your PC

framework.jar from the ROM

TOOLS YOU WILL NEED TO WORK WITH (LINKS PROVIDED)

7zip > http://www.7-zip.org/download.html

jar decomplier / recomplier > http://ubuntuone.com...B9DlVRiSPtmmPtM (How To Use)

notepad ++ > http://notepad-plus-...nload/v6.3.html

FIRST

adding the CoverFlow code

decompile framework.jar with "jar decompiler / compiler"

navigate to

android\widget\

download this .rar, > ADD-TO-WIDGET.rar

extract it and add all the files into the above directory (just the files not folder)

now we are done with the framework, compile it and add the new classes.dex inside the framework.jar (use 7zip)

now add the new framework.jar back into your ROM .zip (drag & drop into the framework directory)

SECOND

download and extract the tools we will be using to your desktop

Link: Here

you should now have a "ResignUpdateV2.1.3" folder, add your ROM to the folder, and the two .apk from this .rar > ADD-APK.rar

copy the whole name of your ROM including the .zip part

right click on "ResignUpdate.bat" and select open with notepad++

replace "system.zip" with the name of your ROM by highlighting it then pressing paste

save and exit.

open your ROMs .zip and navigate to system\app find Phone.apk, drag and drop it into "ResignUpdateV2.1.3", then close.

now right click on Phone.apk and select open, drag and drop the " META-INF" folder into "ResignUpdateV2.1.3"

now you can close and delete the Phone.apk as we just wanted the folder we took.

right click on the two .apk you extracted and select open, delete the " META-INF" folder from both .apk

now drag and drop the " META-INF" folder we took from phone in to both .apk, once its updated close.

open your ROMs .zip and drag and drop both .apk into the system\app folder, then close.

now double click "ResignUpdate.bat" and your new ROM zip will be created

Toggle2G will also be added to the ROM, so if you don't want it just delete it from the app folder of your new ROM .zip

​flash with a full wipe... including format system

I ADVISE YOU TRY THIS METHOD FIRST IF ON A LOWER VERSION OF ANDROID THAN 4.2

ONCE YOU KNOW IT WORKS ADD IT TO YOUR SOURCE

​ DON'T TRY ON GINGERBREAD IT WONT WORK !!!

Link to comment
Share on other sites

Guest tillaz

GUIDE TO ADD FROM SOURCE

FIRST

Extract the .zip to your desktop,

source.zip

now i will assume you are in the root of your source folder

copy the CoverFlow.java file into

frameworks_base / core / java / android / widget

SECOND

where ever you have your "ThemeChooser" source, delete it and replace it with the one from the zip

(example: vender / tmobile / apps)

do the same for ThemeManager

(example: vender / tmobile / providers)

and then the same for the libs

(example: vender / tmobile / libs)

to avoid compile errors don't build dirty, (delete the "out" folder)

Link to comment
Share on other sites

Guest flajko

Tillaz you allways put a smile on my face when you post new stuff! Big fan of yours

This is somewhat realted to this post, I wanted to ask you if you could write tutorial for creative noobs like me to make our own themes!

I couldn't find guide for that, I'm sorry if I missed it.

Link to comment
Share on other sites

Guest tillaz

Tillaz: have you seen the xtheme engine stuff over on XDA? Any chance you could convert your themes to work with that?

yeah, was looking at it the other day,

only problem is, my themes heavily use the styles.xml which can't be changed and may never be possible apparently :(

i might actually make a theme from scratch for it though

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.