yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] cyanogen:
If you want to build Smali & Baksmali from JesusFreke's SVN until he makes a release, it's pretty easy. He uses Maven2 to build, so you need to get it from maven.apache.org first.

1. check out the source tree trunk as described on the google code site

2. cd smali-read-only

3. mvn install -Dmaven.test.skip=true (this will take awhile the first time if you've never used maven, we call it "downloading the internet")

4. cd smali && mvn assembly:assembly -> this will give you a smali-jar-with-dependencies.jar in target/

5. cd baksmali && mvn assembly:assembly -> same

If you don't know what I'm talking about, just wait for him to release a new version :rolleyes:
[Nexus One Android Development] leonnib4:
Thank you Cyanogen!
[Nexus One Android Development] willverduzco:
Can't wait for devs to make white notification bar text on a black notification bar, though ogdobber's Black Bar is a great hold-me-over.
[Nexus One Android Development] j_r0dd:
Thanks! but some of the frameworks didn't get deodexed properly. The main bootclasses didn't along with com.google.android.maps.jar
[Nexus One Android Development] britoso:
if anyone has this built, please upload the jars :)
[Nexus One Android Development] Daneshm90:
I agree. If someone has already compiled it, please share and save others the time/work of setting the environment up. Thnx
[Nexus One Android Development] oklahomatulsa:
Great Up!!! Thanks:D
[Nexus One Android Development] paratox:
i hope the binaries work!^^

i will try them now and report the result.
[Nexus One Android Development] paratox:
yeah, works! :D
[Nexus One Android Development] Gr8gorilla:
Got services.jar?
[Nexus One Android Development] paratox:
hmmm, no. deodexed services.odex and dunno how to go on.^^

in orgiginal froyo services.jar is no classes.dex or any odex file. the services.odex is in framework/

what`s the next step to get theme-able services.jar? some expert could help us?^^

edit: now reading this: http://code.google.com/p/smali/issues/detail?id=14

maybe this could help us.
[Nexus One Android Development] djmcnz:
Yeah! You're ^^^^ a legend!

.line 60
const/high16 v6, -0x100

invoke-virtual {v4, v6}, Landroid/widget/TextView;->setTextColor(I)V

Testing and hopefully coming soon.
[Nexus One Android Development] britoso:
Yes, and Gmail.apk has no classes.dex :(

services.jar is 410 bytes :(

framework.jar is 10KB
[Nexus One Android Development] Daneshm90:
Imma try out wht u uploaded, for those new to the idea of deodexing, use this and just update the smali/baksmali jar inside the folder.
[Nexus One Android Development] paratox:
thanx for the script! :)

hmmm, executed the script but i got no classes.dex in services.jar. it´s also like in the archive in first post. did google change something or where is the error?
[Nexus One Android Development] djmcnz:
I've got it deodexed and baksmailied guys, see above.

It won't compile again though, getting a few of these...

ActivityManagerService.smali[18733,24] mismatched input '..' expecting CLOSE_BRACE

Looking into it.
[Nexus One Android Development] paratox:
i`ve also got some of this errors. is this the reason for no classes.dex in services.jar?

edit: looks like smali isn`t ready: http://code.google.com/p/smali/issues/detail?id=32
[Nexus One Android Development] djmcnz:
No, we have to create a classes.dex from the odex files... :)

So, we baksmali the odex the smali the result and that creates a classes.dex file which we can put in services.jar.

I can decompile them okay (so I can edit the java and do things like change colours) but I can't recompile them. Smali is tripping up on these lines:

invoke-virtual {v18 .. v18}, Ljava/lang/String;->length()I

It doesn't like the .. between the variables. Anyone have any ideas?
[Nexus One Android Development] paratox:
http://code.google.com/p/smali/issues/detail?id=32
[Nexus One Android Development] djmcnz:
Thanks. Looks like that's it for me for the night... and here I was thinking I was in for the long-haul.

Tomorrow perhaps.
[Nexus One Android Development] schahr01:
I saw "Found this up on Mediafire..." which lead me to think that some unknown source posted it and that he just just "found" it... I guess this is not the case.
[Nexus One Android Development] geahboi:
States it's fixed!

Look:

Comment 9 by JesusFreke, Today (4 hours ago)

Fixed :)

http://code.google.com/p/smali/source/detail?r=731
[Nexus One Android Development] paratox:
will compile new smali and deodex froyo rom when i get home from work.

maybe someone is faster then me!^^

meh, i hate computers without admin rights!
[Nexus One Android Development] Daneshm90:
oncr again if someone compiles it plz share it with others :) thnx
[Nexus One Android Development] j_r0dd:
Here is the system deodexed completely. It is running on my phone as we speak. This is not an update.zip. This is for the rom makers to include in their rom "bundles" right now. I have also attached the newly compiled Baksmali/Smali from JesusFreke's latest SVN. The last thing I included was services.jar with white text and framework-res.apk with white notification text for the themers.

Deodexed system ----PULLED LINK UNTIL AUDIO ISSUE IS RESOLVED

Smali/Baksmali v1.2.3

white frameworks
[Nexus One Android Development] leonnib4:
thanks a lot Jr33!
[Nexus One Android Development] j_r0dd:
actually something went wrong. just noticed this now. no sound :-/

FC: android.process.media
[Nexus One Android Development] leonnib4:
same here... yep
[Nexus One Android Development] j_r0dd:
this happens when i try downloading an app from the market as well.
[Nexus One Android Development] j_r0dd:
Start proc android.process.media for content provider com.android.providers.media/.MediaProvider: pid=782 uid=10012 gids={1015, 2001, 3003}

I/dalvikvm( 83): Jit: resizing JitTable from 16384 to 32768

I/ActivityThread( 782): Publishing provider media: com.android.providers.media.MediaProvider

W/dalvikvm( 782): VFY: invalid use of move-exception

W/dalvikvm( 782): Verifier rejected class Lcom/android/providers/media/MediaThumbRequest;

D/AndroidRuntime( 782): Shutting down VM

W/dalvikvm( 782): threadid=1: thread exiting with uncaught exception (group=0x4001d7f0)

E/AndroidRuntime( 782): FATAL EXCEPTION: main

E/AndroidRuntime( 782): java.lang.VerifyError: com.android.providers.media.MediaThumbRequest

E/AndroidRuntime( 782):	at com.android.providers.media.MediaProvider.<init>(MediaProvider.java:91)

E/AndroidRuntime( 782):	at java.lang.Class.newInstanceImpl(Native Method)

E/AndroidRuntime( 782):	at java.lang.Class.newInstance(Class.java:1429)

E/AndroidRuntime( 782):	at android.app.ActivityThread.installProvider(ActivityThread.java:4494)

E/AndroidRuntime( 782):	at android.app.ActivityThread.installContentProviders(ActivityThread.java:4281)

E/AndroidRuntime( 782):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4237)

E/AndroidRuntime( 782):	at android.app.ActivityThread.access$3000(ActivityThread.java:125)

E/AndroidRuntime( 782):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)

E/AndroidRuntime( 782):	at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime( 782):	at android.os.Looper.loop(Looper.java:123)

E/AndroidRuntime( 782):	at android.app.ActivityThread.main(ActivityThread.java:4627)

E/AndroidRuntime( 782):	at java.lang.reflect.Method.invokeNative(Native Method)

E/AndroidRuntime( 782):	at java.lang.reflect.Method.invoke(Method.java:521)

E/AndroidRuntime( 782):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

E/AndroidRuntime( 782):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)

E/AndroidRuntime( 782):	at dalvik.system.NativeStart.main(Native Method)

D/dalvikvm( 83): GC_FOR_MALLOC freed 7940 objects / 1040056 bytes in 83ms

W/ActivityManager( 83): Timeout executing service: ServiceRecord{45155828 com.google.android.music/com.android.music.MediaPlaybackService}
[Nexus One Android Development] leonnib4:
I have the same logcat...

Can we catch the throwed exception without having the sources?

Why does it happen with deodex'ed content?
[Nexus One Android Development] Brut.all:
Baksmali has issues with deodexing some bits. This is mainly related to Froyo, but not only. We must wait a little more.
[Nexus One Android Development] j_r0dd:
Yeah something isn't right. That was the only error I got though :-/

-------------------------------------

Sent from my Nexus One
[Nexus One Android Development] geahboi:
do the white frame works work at least? D:
[Nexus One Android Development] leonnib4:
I suppose...

The only thing messing up if FC on media.

But you could try and report back :D
[Nexus One Android Development] geahboi:
well, i'm trying it in the emulator first of course before i blow up my phone. :x

getting errors when trying to push files to an avd(emulator instance), cant find anything online. does any one have any suggestions/help? i'm sure it's something simple but i'm just starting out on theming and the sooner I get white text the sooner I can finish my theme! craaaap:

"C:\Users\pwner>adb push C:\Users\pwner\Desktop\Theme\framework-res.apk /system/framework/framework-res.apk

failed to copy 'C:\Users\pwner\Desktop\Theme\framework-res.apk' to '/system/framework/framework-res.apk': Out of memory"
[Nexus One Android Development] DocRambone:
could this help:

http://xdaforums.com/showthread.php?t=699648
[Nexus One Android Development] leonnib4:
this is a Droid deodexed FRF57... not FRF50 for N1
[Nexus One Android Development] DocRambone:
I had a go and put the Droid FRF57 deoxed framework and app into Evils froyo rom, boot nicely and most things is functional. So i guess the FRF57 can be used as a base for Nexus to.
[Nexus One Android Development] eViL D::
I believe Doc is right, this will work perfectly.

*edit - Boots fine, looks good.
[Nexus One Android Development] leonnib4:
Oh... really?

Does the media app not FC??

Trying...
[Nexus One Android Development] j_r0dd:
oh yeah the white text works fine. i have been using the white notification (framework-res.apk) for a couple weeks now. i did push the services.jar and had white clock/date/provider as well. just the no sound is irritating. i was thinking it may be because the script i was using did a zipalign. i know some apps don't like to zipaligned. i just don't remember which ones....
[Nexus One Android Development] eViL D::
I was able to play music with it. I'll have to test more.
[Nexus One Android Development] leonnib4:
FRF57 is working great,

your white framework also.

let's the theming begin!
[Nexus One Android Development] Gr8gorilla:
what exactly are you using out of this?

Framework-res?

Services.jar?

Apps?
[Nexus One Android Development] leonnib4:
I tried /system/framework alone for white text its OK

I tried FRF57 for /system and its OK

Only issue with FRF50 deodex'ed apks is for /system/app/* making FC media.
[Nexus One Android Development] Gr8gorilla:
Ok, I did some work earlier today on a theme and found out when I got home that some things were broken.

You need services.jar for white text though don't you?

what services are you using?
[Nexus One Android Development] j_r0dd:
there are 2 xml's i edited in the framework-res.apk which gives white notification text. the services.jar gives the white clock/date/provider
[Nexus One Android Development] mordokak:
services.jar

Well I guess the white services.jar is only FRF575(Droid) coz I tried it in FRF50(Nexus) and it didnt worked.

I did pull my store services.jar and theres anything besides the META-INF folder.

I guess they moved the clock color in nexus to somewhere else, probably in a xml inside framework-res.apk like res/layout/ or somthing similar.

Im currently trying to find it, so I can hex edit it with HdX to white, thou Im not having luck at finding the correct xml file :(
[Nexus One Android Development] leonnib4:
Was nt it a feature of android 2.2 to have colors somewhere else so theming will be easier?

Im sure i saw tjat somewhere..

-------------------------------------

Sent via the XDA Tapatalk App
[Nexus One Android Development] djmcnz:
Guys,

I think I found and quoted the line of code some pages back. No?

What I've not determined is if this is for the clock as well... because I couldn't find a separate one for the clock.
[Nexus One Android Development] j_r0dd:
the clock/date/provider is in the services.jar. Specifically StatusBarIcon.smali & StatusBarService.smali. You can NOT just push the deodexed services.jar into an odexed system and expect it to work. the whole thing needs to be deodexed.
[Nexus One Android Development] mordokak:
¿?

I thought his service.jar was all ready deodexed and odexed back.

Anyway isnt it odd that my frf50 service.jar es empty just with a meta-info folder?
[Nexus One Android Development] geahboi:
read this entire thread. deodexed services.jar link exists on page 4 or 5.
[Nexus One Android Development] j_r0dd:
here are the real goods. if you downloaded ANY of my stuff a couple of pages back please re-download the updated and working versions.

Deodexed FRF50

Experimental smali/baksmali

white frameworks
[Nexus One Android Development] MicroMod777:
Can you explain where you made the changes so we can change to other colors?
[Nexus One Android Development] geahboi:
read the whole thread please...

also: google.com

http://xdaforums.com/archive/index.php/t-630267.html

http://android.modaco.com/content/acer-liquid-liquid-modaco-com/302471/can-someone-help-make-top-bar-white-text/#entry1187422

and those are just a couple.
[Nexus One Android Development] geahboi:
thank you Jr33
[Nexus One Android Development] leonnib4:
thank you sooo much!

-------------------------------------

Sent via the XDA Tapatalk App
[Nexus One Android Development] amac25:
Thank you sir!
[Nexus One Android Development] MicroMod777:
I pushed both your white framework and services files and the clock and date are still black. Only on notifications did they turn white.
[Nexus One Android Development] j_r0dd:
You can NOT push a deodexed app or framework to an odexed system and expect it to work. The stuff I posted was for themers and rom makers.

-------------------------------------

Sent from my Nexus One
[Nexus One Android Development] jmotyka:
Ok im asking a big favor here ppl. I need a personal mod of the framework and services.jar because im workin on porting jedipottsy's theme he was showing off on twitter to froyo. If someone can do this for me i will credit you in the release.

Clock and Date-434343

Tmobile-c1c1c1

notifications-c0c0c0
[Nexus One Android Development] djmcnz:
:eek: I'll let you know...
[Nexus One Android Development] codito:
This thread is incredibly exciting, I am getting so sick of my white bar.
[Nexus One Android Development] j_r0dd:
ok i guess that something didn't go right with the VoiceSearch.apk lol. here is the replacement http://www.mediafire.com/?wycq5mdzq0e i will re-upload a new pack shortly
[Nexus One Android Development] DocRambone:
GREAT work :)

I had a go any made a quick rom with your deodexed framework and apps.

I have a q tho, the transparency seem broken in framework?

Edit, found cause, the launcher disabled the transparency
[Nexus One Android Development] j_r0dd:
http://www.mediafire.com/?jjnzdolnyjq

here is the new pack with working VoiceSearch
[Nexus One Android Development] j_r0dd:
good! everything so far seems to be working for me atm.
[Nexus One Android Development] DocRambone:
Colours look ok to:
[Nexus One Android Development] j_r0dd:
just don't forget to get the updated VoiceSearch.apk a couple posts back and push it. the one in the original pack FC's
[Nexus One Android Development] djmcnz:
Did you rebuild the framework-res apk or just implant the images? I couldn't get mine to work...

Otherwise the rest is perfect.

Edit: got it.
[Nexus One Android Development] codito:
Fantastic work, looks great.
[Nexus One Android Development] MicroMod777:
ok, got it to work by replacing out the apps and framework on Paul's original Froyo ROM. Edited the services.jar to get a cyan colored date. Everything installed, booted, pre-installed Astro on the ROM but then when I go to install new apps it reboots up every times.

I'm a super NOOB at doing this stuff. Even when I download "shoot me" app from the Market it also reboots on install, and won't finish install.

Its a good start to customize colors on Froyo!
[Nexus One Android Development] j_r0dd:
did you wipe dalvik-cache prior to flashing your update.zip?
[Nexus One Android Development] djmcnz:
@Jr33 - You sir, are a bloody legend:

http://xdaforums.com/showthread.php?t=670317

I am forever grateful for your efforts. As I'm sure Kang-o-rama users will be too.

Well, it's now 6 in the morning, I've been up all night because of you. I think I'll get some sleep then sweep the board for everybody else that needs to be thanked.

You first though, thank you! :)
[Nexus One Android Development] MicroMod777:
Yea, did that. Don't really want to make a custom ROM, just a theme! Guess Kang-o-rama got it working! I'll make a theme for his ROM! :)
[Nexus One Android Development] MicroMod777:
Got a theme working only for Kangorama Froyo! Cyan date so far! whoo hooo!! :D

Ready to Flash if you wanna try it!
[Nexus One Android Development] Brut.all:
And why not do it by yourself? It's pretty easy.
[Nexus One Android Development] paratox:
is there a update.zip anywhere for stock rooted froyo?
[Nexus One Android Development] Geo411m:
Is there a tutorial anywhere on how to convert this into an update.zip? I would like to create a stock rooted froyo with a black bar.
[Nexus One Android Development] leonnib4:
search xda!

there are plenty of threads for it... for example dsixda's rom kitchen which will be perfect for the basic thing you wonna do.
[Nexus One Android Development] djmcnz:
Just use Kang-o-rama and theme it as you wish. I've done the hard work of compiling the rom for you.

There are very few additional apps in the Froyo release of Kang-o-rama and they can all be removed just like any normal app.

It's basically, stock, rooted, busybox, su, new kernel, themed, some apps.
[Nexus One Android Development] PeRRiiN:
But, see, some people (such as myself) don't actually want a new ROM or THEME. We just want the black bar with white text.
[Nexus One Android Development] leonnib4:
lol djmcnz, little advertising :D

just kiding

but: actually my rom will be with black notif. bar this monday ;)

EDIT: I you just want theme, then simply patche framework-res and services.jar to get it, and release it in Themes & Apps forum
[Nexus One Android Development] mordokak:
^^

MANY MANY MANY THANKS ^^.

Let the cooking begin!!! ;)
[Nexus One Android Development] Geo411m:
@leonnib4 Thanks, I'll do a search on that.

@djmcnz I did just what you suggested and it's perfect. I actually want to learn how to create my own. In the past of created my own windows install as well as my own linux remastered disc. I guess it's just the tinkerer in me ;)

Thanks again guys for pointing in the right direction.
[Nexus One Android Development] superg81:
which launcher are you using on new froyo rom?

edit:oops,wrong thread
[Nexus One Android Development] leonnib4:
what does it has to do with the topic?

ADWLauncher
[Nexus One Android Development] superg81:
nothing,i was editing when you posted :p
[Nexus One Android Development] djmcnz:
;) - Froyo inspiration from you my friend!

Keep in mind folks, as Jr33 has said before, you can make themes/mods with these mods files but if somebody tries to apply them to a rom that is not ready it will bork their phone.

So, if you do please also in your threads point them to a suitable rom, there are options.

None of the options so far are heavily themed. Speaking for Kang-o-rama the changes are bars, shade, font and status bar icons only. All easy to pull out or revert back if you want a clean base to start with.

Can I also suggest that those interested in this start a new thread such as: Theming/Morphing/I Don't Know Froyo? That would help keep this thread relevant to those of us that really need to discuss the tools and stuff.

I am looking forward to more froyo styles so bring it on! I'm happy to promote good froyo styles in my thread too! :)
[Nexus One Android Development] djmcnz:
So Jr33, thanks again for the tools... I've just finished a complete deodex and got an identical result as yourself (md5 check) so if nothing else they're working consistently! And already nearly a thousand people have downloaded the new Kang-o-rama and aren't complaining so all looks good... :)

How long did it take you to deodex the rom? I don't know if there's something wrong with the java vm on mine because it took hours... oh well, got there in the end.

Without you compiling the tools for us we wouldn't be where we are today with Froyo, thanks mate. I think JF should just release your version of 1.2.3 because experimental seems perfect to me!
[Nexus One Android Development] j_r0dd:
Hey its not my version. JF just hasn't released it yet. This is his work I just compiled his experimental svn branch. It took me about 30 minutes to deodex. I am glad it is working out for everybody.

-------------------------------------

Sent from my Nexus One
[Nexus One Android Development] mordokak:
DESPAIR

First ill like to thanks jr33 for making FRF50 theming possible ^^ and djmcnz coz its kangorama has been in the last few days a guide to follow in my custom rom.

I started from the stock nexus FRF50 and I was able to make an update.zip with my own update-script and framework-res following kangorama as an example. Also I added a few apps like awd luncher(like in kangormas) , blink and cool addobe effect bootanimation I did.

Its working and functional, but im stuck trying to change the default wallpaper, so that after the rom installation it will automatically display a custom image, instead of the connection live wallpaper.

I tried wallpaper_info.xml as in your rom but after I copy_dir PACKAGE:data DATA: althought the installation goes fine as soon as I boot I enter a boot loop where the bootanimation is repeated in a while(true) fashion XD.

Its the only thing im lacking and I couldent find anything usefull about it after hours of research. Any Idea on how to do this???

PD. I also tried to echo some strings but failed at it, I know im doing somthing wrong with the syntax but since im stuck at the wallpaper issue I couldent research further.

Im following this syntax:

ui_print "Hello"

ui_print "World"

but its missing somthing.
[Nexus One Android Development] leonnib4:
@Jr33: Twitter.apk disapear from your deodex zip

EDIT: Lool I'm sorry, Twitter do not have .odex... :S

You saw nothing! :)