• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

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

8 posts in this topic

Posted

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 !!!

4

Share this post


Link to post
Share on other sites

Posted

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)

3

Share this post


Link to post
Share on other sites

Posted

source guide added :)

0

Share this post


Link to post
Share on other sites

Posted

awesome, thanks for the guide :)

0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted

Awesome work Tillaz :D

0

Share this post


Link to post
Share on other sites

Posted

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

0

Share this post


Link to post
Share on other sites

Posted

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

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.