yashsingh1/xdaforums huggingface dataset:
[EVO 4G Themes and Apps] Papa Smurf151:
Thanks man. I was hoping to get a peak at it before release so I could hook u up and let u release it. But oh well. Ill still look at it and hopefully repost here in a little bit
[EVO 4G Themes and Apps] rujelus22:
That would be awesome. I have been pulling my hair out over this one.
[EVO 4G Themes and Apps] Papa Smurf151:
Just decompiled it. Give me a little bit of time to look it over
[EVO 4G Themes and Apps] Papa Smurf151:
Hey hit me up on gtalk. Cbarlan@gmail.com.

I decompiled apk and as precaution I always try to recompile before I mess with anything and my apk manager us giving me back errors. What were u using to recompile. Easier if u just gtalk me
[EVO 4G Themes and Apps] scottspa74:
Awesome. Thanks for working on this. I tried to just change the icon for the market the other night, but did it wrong somehow. (Hmmmm, actually, I never tried it with a reboot...have to try again ;) )

Anyhow thanks. And just my luck, black and blue. ;) all the theming I use is black and blue.
[EVO 4G Themes and Apps] djnarcotics:
really nice keep us updated on this
[EVO 4G Themes and Apps] redbeard46:
looking forward to it.
[EVO 4G Themes and Apps] scottspa74:
No, I was just trying to steal the icon out of the market I currently have and swap it into the new one.

But new market doesn't have a file of same name, and uses a few that look like may be the icon, so I couldn't figure out which one to swap out.
[EVO 4G Themes and Apps] rujelus22:
Still working on it. have not been able to find the title text color yet. Everything else is going great. If anyone has any smali experience I would love the help. I am almost 100% positive at this point that it is going to be a smali edit.
[EVO 4G Themes and Apps] Papa Smurf151:
I had a friend look at the smali and said he couldn't find it. Ill have more time to dive in tomorrow
[EVO 4G Themes and Apps] Virnik0:
Good work.

I like it.

But I am using Samsung Galaxy S (DeepBlue ROM 1.0, 2.3.4), and I have noticed that:

1) apk itself is missing Market Icon

2) Market App is missing Launcher Icon

Can you please explain to me, what is wrong. More over, your Vending.apk can't be used to update stock Market (well, using TransBlue Market 2.3.6 now), by simple install, like original 3.0.26 Market can.

Not so big deal, when I can move this new market to /system/app myself, but using update is more confort, because I can uninstall it anytime.

Is there any solution to those problems? Font color is not my issue, since I am using modded framework, which do include such font color changes, so this Market works as it should.
[EVO 4G Themes and Apps] rujelus22:
This apk is not even close to done. it is just posted here for people to check out and help find things. All of the issues will be fixed when the final version is released
[EVO 4G Themes and Apps] B-boy™:
I'm with ya man.. I have been goin nuts over this one.. and I've tried everything I can to get it to change to no prevail.. I don't believe it's a smali tho.. the text appearanceMediums change some text colors if Inverted is added but that one layout has all the info in it, just nothing will change it.. hit me up if you found/find it tho and I'll do the same..
[EVO 4G Themes and Apps] rujelus22:
What do you mean by the text appearanceMediums change some text colors if Inverted is added
[EVO 4G Themes and Apps] B-boy™:
It changes the course that text appearance Medium uses.. I changed some by adding Inverse after it.. I didn't mean inverted earlier..long day.. and then on some adding the text color line works.. so now I have all but that stupid text color Inverted and I can't find it... I looked in the smali that is referred to in the OverView xml but there wasn't anything useful.. but that text color that we're looking for is calling on from bright foreground light in framework cause I change that color/xml in my themes and my app name is colored now.. but it's black on anything else.. which leads me to believe it's not even a smali.. just a hidden code somewhere.. whether it's from the styles in Vending that is pointing to bright foreground light or somewhere within the layouts... But I'll assume that just as I have, you have also went through every one of them and haven't seen anything..
[EVO 4G Themes and Apps] Papa Smurf151:
Yeah my buddy and I were talking last night that it is calling the color code from the system/framework files. I guarantee there is a redirect in smali to there. It can be fixed
[EVO 4G Themes and Apps] B-boy™:
The smali reference within the OverView Bucket xml in layout is what I looked in and I didn't see anything that looked to affect it.. but it sounds like your bud knows how to actually read smali, and all I do is read every line looking for what I need.. so keep us posted please if you do find it.. thanks bro
[EVO 4G Themes and Apps] Papa Smurf151:
I will for sure. I'm gonna look at it tomorrow myself when I get some peace and quiet. Cause u have to remember the XML references to that one smali code but the smali file can also reference to multiple other smali files. So if I had to guess it most pokey in the finskey folder and even more likely within the finskey/layout folder itself. There are a bunch if different smali files in there that define a different layouts
[EVO 4G Themes and Apps] rujelus22:
So I was up last night messing with this and I have found some things out. The text color for that text is coming from framework-res\color\primary_text_light.xml

Here is what the file looks like.

<?xml version="1.0" encoding="UTF-8"?>

<selector

xmlns:android="http://schemas.android.com/apk/res/android">

<item android:state_enabled="false" android:color="@color/bright_foreground_light_disabled" />

<item android:state_window_focused="false" android:color="@color/bright_foreground_light" />

<item android:state_pressed="true" android:color="@color/bright_foreground_light" />

<item android:state_selected="true" android:color="@color/bright_foreground_light" />

<item android:color="@color/bright_foreground_light" />

</selector>

However I can not find how vending is calling primary_text_light.xml. I have searched through framework and changed every reference to primary_text_light to some random color and it always stays the same as what primary_text_light has in it. so I know it is calling this file and not some other file referencing it. unless it is being referenced in smali some how.

Here are some new screenshots. (The title screenshot is just changed on my temp framework file so I can see them.)
[EVO 4G Themes and Apps] Papa Smurf151:
Read my above post....I'm sure it references it in a smali file somewhere within the finskey
[EVO 4G Themes and Apps] rujelus22:
Yeah that is what I was thinking, I just can not figure out how. primary_text_light has an id of 0x01060003. I have run full searches for it and I do not see it referenced any where except framework-res. I have also done searches by just name (primary_text_light) and find nothing. I am really at a loss. Going to start diving into the smali code and see what I can figure out.
[EVO 4G Themes and Apps] Papa Smurf151:
Yeah I'm out on my boat today. Ill be able to look at it tomorrow
[EVO 4G Themes and Apps] rujelus22:
And I have success!!! :D

It is a smali edit. it is in smali\com\google\android\finsky\adapters\DocumentBasedAdapter.smali

Line 113 const v1, 0x1060003

-This calls primary_text_light

change it to const v1, 0x1060001

-This calls primary_text_dark

Here is what it looks like with an unmodified framework-res.

Here is the download

Inverted_Vending-3.0.26.zip

I will post it and all the info in the first post a little later. I am tired now.

So the only issue now is the icon. I know why it is messed up but I can not seem to fix it. The icon is set in AndroidManifest.xml line 31.

<application android:label="@string/app_name" android:icon="@mipmap/ic_launcher_marketplace" android:name="com.google.android.finsky.FinskyApp" android:backupAgent="com.android.vending.VendingBackupAgent" android:killAfterRestore="false" android:restoreNeedsApplication="true" android:restoreAnyVersion="true">

The problem is you can not build it with the mipmap folder still in there. and if you add them after it is built it does not use them. I have moved the images to the corresponding drawable folder. but if I change AndroidManifest.xml I have to sign the file. Which works great except I can no longer buy anything in the market. free stuff still works fine. Does anyone have a solution to this issue?
[EVO 4G Themes and Apps] XsMagical:
The market looks great, but i cant download it :/
[EVO 4G Themes and Apps] rujelus22:
I do not know why I tried from the website and the xda app and they both worked.
[EVO 4G Themes and Apps] XsMagical:
My desktop and XDA app both say page can not be displayed
[EVO 4G Themes and Apps] scottspa74:
Congratulations!!!!

Great to hear, man. And thanks ;)

Edit: download just fine here. Xda app.
[EVO 4G Themes and Apps] XsMagical:
Could it get mirrored? I'd appreciate it very much
[EVO 4G Themes and Apps] scottspa74:
Lemme swap out my batt real quick and I can DB it for you.

http://db.tt/XqQTnUN

I didn't have it. Had to redownload. Sorry so long

damn, DB is really Fn with me right now. papasmurf beat me anyway. sorry.

edit: 3rs try, DB link finally worked :(
[EVO 4G Themes and Apps] Papa Smurf151:
Here u go

http://db.tt/UqulEsT
[EVO 4G Themes and Apps] mquinn24:
The market looks great. Thank you
[EVO 4G Themes and Apps] XsMagical:
Thanks for the mirror guys, my service is acting up for some reason. Sorry for being a pain
[EVO 4G Themes and Apps] B-boy™:
Do you have black on black text anywhere after the smali edit?... like in "buy app" under your email address is your cc#... its black on black... and a couple buttons now, too.... on mine that is... haven't tried yours...
[EVO 4G Themes and Apps] rujelus22:
I do not but I also use a themed framework (So who knows). But there is no way that it is from the smali edit. The smali edit is now calling a white text. so if anything you would see white on white in places.
[EVO 4G Themes and Apps] B-boy™:
Some how that edit did affect other things but I got it all worked out.. my buddy has a D1 and a Fascinate and the same exact apk has white "buy now" text on the D1 and it's black on the Fascinate.. so it's just one of those odd things.. but I released my fully inverted version so I'm happy.. Mad props on finding the smali bro!.. I gave ya credit in all my threads.. :D

P.S. - If you haven't been able to decompile/compile with the extra folders, there's a thread on here that has a new apktool and aapt files that you can swap out with the old ones from the "other" folder in the apk manager.. but I use 4.8 and it didn't work.. my buddy uses 4.9 and he was able to.. so I just left them out and linked my icon for the user to dl and swap out using their launcher...
[EVO 4G Themes and Apps] Virnik0:
Good work. Running it now.

As said before, it true do not have launcher and app icons, but it is not so important, because it finally works.

I just want to ask, if you'll prepare even transparent version (not 100%, but for example 20% transparent)?

It will look neat. With the same colours like you are using now (I love blue/black combination).

Thanks for reply.
[EVO 4G Themes and Apps] Virnik0:
I have modified few pictures, to better suit blue/black theme you have chosen.

See for yourself how good/bad they are, and fix them if needed.

Here is your Vending.apk with my small adition...
[EVO 4G Themes and Apps] rujelus22:
Cool I will take a look tonight. There are still a few other things I want to mess with also so there will defiantly be another version. Possibly transparent or other colors.
[EVO 4G Themes and Apps] Virnik0:
I can help with pictures and it's colours, if you'd want me to.
[EVO 4G Themes and Apps] Papa Smurf151:
Get I went ahead and made a flashable update for those that prefer to flash via recovery....

http://db.tt/Ncirz4Y

Its the official apk that was in the inverted_vending_3.0.26.zip a few post up
[EVO 4G Themes and Apps] KingRedHot:
How in the HELL did you figure this out?? I've been fighting smali code trying to work the transparency in the notification/quick settings area for 3 days and STILL don't understand it! Please help :(
[EVO 4G Themes and Apps] Papa Smurf151:
It was pretty much figured out by realizing the text color was coming from the system/framework xmls. That was realized cause people who had a themed version of their framework had a different color other than the black that was showing up. Once he found out exactly which XML color code it was calling from the framework he went and found the id of the color code. I think that is in id or public. After he knew the id number he did a search for it in the smali code of the vending apk. Once he found that id being called he used the id of the opposite color code in the XML of the framework files to call for the text to be white. It sounds hard to understand but really once he knew the color was being called from with in the frameworks apk then it was just a matter of searching and changing it. Just gotta think outside the box every once in a while.
[EVO 4G Themes and Apps] Virnik0:
I have found minor bug in text placement. Official vending.apk behaves ok. See attached picture.
[EVO 4G Themes and Apps] Papa Smurf151:
Could be the horrible font ur using
[EVO 4G Themes and Apps] knoc:
Lmao!
[EVO 4G Themes and Apps] mistermidas:
+1 lol.
[EVO 4G Themes and Apps] rujelus22:
Well I have not been messing with smali that long. This one was bit tricky and took some time. First I found that framework-res\color\primary_text_light.xml was the file that was controlling this color. I found that because some people with themes said that the text was not black. So I knew from that, that it was in framework. Then I searched framework for primary_text_light and found it's id #. Then I searched vending for the same id number. I changed it to the id # of primary_text_dark. When I first opened smali I had no clue. but the more I look at it and see what it is doing the easier it has been getting to make edits.
[EVO 4G Themes and Apps] Virnik0:
Funny. I love this font. Even with default font it looks the same.
[EVO 4G Themes and Apps] rujelus22:
Your font is huge. I made the title bars smaller to look good with the default font.
[EVO 4G Themes and Apps] KingRedHot:
Ok thanks papa smurf & rujelus. I wish I had more time to sit down and learn how XML and smali files work. Too busy learning php and jQuery right now :(

Swyped from my Red Hot Synergized Evo
[EVO 4G Themes and Apps] Virnik0:
Font size is default and is same as default font. I do use SGS, which has little bit different framework setup. Can you make titlebars the same size like they are in stock vending.apk 3.0.26?

Titles do have bigger font size in every app. There is nothing my or default font can do with it.
[EVO 4G Themes and Apps] rujelus22:
Sure later tonight I will release one that has the title bars back to the default size
[EVO 4G Themes and Apps] rujelus22:
Got held up last night but here is the apk with the stock title bar height. Everything else is the same in this version except the title bar height.

Inverted_Vending-3.0.26-stocktitlebars.zip
[EVO 4G Themes and Apps] Virnik0:
Thanks a lot. I will give it a try :-)
[EVO 4G Themes and Apps] scottspa74:
Rujelus22, were you saying hou were hung up on changing icon to custom. If thats the case, djdarknight96 just posted what may be helpful on last page of hid darkginger theme thread page38 or 37.

Hope this helps at all. Really wanna use this, but looking forward to blue/black dark icon to match honeycomb theme.

Thanks. ;)
[EVO 4G Themes and Apps] rujelus22:
Well I have no clue what he means.

I have never seen or heard of com_android_vending.xml
[EVO 4G Themes and Apps] Papa Smurf151:
I think Heaviside talking about the manifest an redirecting where the image is stored
[EVO 4G Themes and Apps] rujelus22:
Well that is how I tried it and it will not install if I do not sign it and if I sign it I can no longer buy apps. I get an FC
[EVO 4G Themes and Apps] scottspa74:
Sorry for causing confusion. I missed something. Sorry all. Hoped it would help, but i misunderstood.
[EVO 4G Themes and Apps] leon sprouse:
update

Market automatically updates to 3.0.27 and erases the inverted 3.0.26 market. There is no market updater to remove so as of now every time I uninstall updates I get the inverted market but it goes to a newer stock market almost immediately.
[EVO 4G Themes and Apps] rujelus22:
Can you send me or post the 3.0.27 apk Mine has not updated. I would assume that most of the edits will copy right over.
[EVO 4G Themes and Apps] leon sprouse:
I have no idea how to send it I had the inverted 3.0.26 almost all day then about an hour ago I seen the market was back to stock. when I went to system/apps/manage apps/all... I saw the market was 3.2.27. I uninstalled updates and it went back to the inverted 3.0.26 but almost immediately (after opening it as 3.0.26 only once)updated again to 3.0.27 I looked for market updater with TB but couldn't find it . using root explorer i went to system/app and all that was there was com android vending with todays date, nothing else no market updater. The 3.0.26 keeps updating to the 3.0.27.
[EVO 4G Themes and Apps] rujelus22:
I found it and have it inverted I will post it in a min.

Ok here you go 3.0.27

Inverted_Vending-3.0.27.zip
[EVO 4G Themes and Apps] leon sprouse:
3.0.27

The inverted i used to install 3.0.26 was popa smurfs from on this post. I put your #.0.27 on my sd card then went to recovery and tried to install it.... would not install. went to zip on my computer took out apk put it on sd card tried to install it with astro said installed but market is the same stock.
[EVO 4G Themes and Apps] scottspa74:
Use root explorer, move apk to system/app and set permissions to rw-r-r then reboot. Will work. Not a flash zip.
[EVO 4G Themes and Apps] leon sprouse:
Went to system/applications/manage app/all.....uninstalled updates on 3.0.27 it changed to 3.0.26 went to astro launched 3.0.27 it was inverted and there was no market in the applications/all . a minute in this location was 3.0.27 market ....it is stock.
[EVO 4G Themes and Apps] leon sprouse:
I did this . when I rebooted the inverted market was present . I opened it once. Next time I opened it . it was back to the stock market. I give up
[EVO 4G Themes and Apps] leon sprouse:
When I uninstall updates the market goes to 3.0.26 .this is what the inverted market is although it says on the apk you sent 3.0.27
[EVO 4G Themes and Apps] leon sprouse:
did it all over just like you said .Your apk wont work . market keeps updating to stock. Why does your apk install a 3.0.26 market and not a 3.0.27. At least I only see a 3.0.26 when I update ,if your inverted is 3.0.27 there would not be any 3.0.26 to go back to. Right????
[EVO 4G Themes and Apps] Virnik0:
Works fine, but...can you please make one with stock titlebars again?

I've found out, that wrong placement of texts in the titles is not comming from font size or type at all, it comes from different DPI of the display.

I think that you should stick with stock titlebars, because this way your work is more generic and usable for everyone, not only for EVO users.

Update: works fine, my titlebar problem was my misstake, I have forgot to remove previous apk. Now it's fine. Thanks a lot. Only thing missing is app icon.
[EVO 4G Themes and Apps] leon sprouse:
Installed this apk. and it seems to be working. Now in applications it says 3.0.27 with updates. also the icon is either blur or red instead of green. I'm ok as long as it dosen't go back to green.
[EVO 4G Themes and Apps] cr5315:
This looks sweet. It goes well with my theme too.
[EVO 4G Themes and Apps] rujelus22:
Posted a new version that is a little bit darker. It has the default my apps header size.
[EVO 4G Themes and Apps] scottspa74:
So does this have an icon yet? Meaning, on earlier versions, just the default .apk icon showed up. Curious what goods we got here ;)

*hoping for blue/black/gray eek ;) *
[EVO 4G Themes and Apps] scottspa74:
For some reason cannot get either 3.0.2.7 version to load after putting in system/app and fixing permissions. Earlier version worked for me. I had deleted marketupdater.apk. wonder if that has anything to do with it....wouldnt think so.
[EVO 4G Themes and Apps] scottspa74:
Alright, im at my witts end. I've tried both 3.0.2.7 versions. Neither will install. I put em in system/app and fix permissions. No go. The 3.0.2.6 version works/installs, but uses green icon. Ugghh.

On synergy rc2, honeycomb theme, supersonic.

Any help much appreciated. Thanks. Want a blue/black/gray market so bad. Been dicking with diff versions etc all night, bout to hang myself (well, not quite) . Thanks in advance.
[EVO 4G Themes and Apps] rujelus22:
What do you mean fixed permissions? All I do to install this is make sure you do not have any market updates. and then I push it to /system/app/Vending.apk
[EVO 4G Themes and Apps] scottspa74:
I have never gotten familiar with adb, so i just use root explorer. Whenever i put an app in system/app, i have to set permissions to rw-r-r.

But not seeming to work here with icon. Just uses default. Apk icon.

Maybe is it cuz im extracting from the zip, or should i just copy it out of the zip?? Sorry. Having issues.
[EVO 4G Themes and Apps] rujelus22:
The icon is still messed up. I have still not been able to change it's location or build with the mipmap folders. The first post has that info
[EVO 4G Themes and Apps] scottspa74:
Oh ok. My bad. I saw that originally, but when i saw 'solved', i mustard missed the icon still borked. Not too bad for me actually. Im using a theme where the default apk icon is a diagonal, smokey-blue andy. Oh, but im using old market again now cuz later night, market would not load for nothin. I would try, but blank/empty.

Will play with it more.

Thanks for sharing.
[EVO 4G Themes and Apps] onelovekir:
Any luck with the icon fix? It's not really a big deal but just curious. I believe b-boy has the icon fixed on his (I haven't tested that) and wasn't sure if u could do the same for urs as I like urs better cuz its not too themed, just themed enuff to where it looks good with the blues mixed in with the black. Thanks!
[EVO 4G Themes and Apps] rujelus22:
I have not been able to change the icon. It might just be me though. Even when I install B-boys I am not able to buy anything it FC's as soon as I click on the price. Can someone else try B-boy's and see if it does it for them? If it does not I will release the version that has an icon.
[EVO 4G Themes and Apps] Virnik0:
I've been using B-boy's market for a while, but two days back, it started to fc, when I've tried to buy an app, as you've said. According to the logs, it do have problems with different file ID and unsufficient permissions. It was ok before. So google had to change something in the market checking.
[EVO 4G Themes and Apps] B-boy™:
The FC issue on purchasing apps doesn't have anything to do with the manifest.. my update.zips aren't signed and I also have signed apk installs also and after 10,000+ downloads and about 50 testers on various devices, they all work on every phone but it's the rom that has an issue.. CM7 users have had issues just installing the stupid market and once they get it, it usually fc's on buying an app.. but on those same phones but different roms, everything works flawlessly... so changing the manifest up to call on the launcher icon from drawable instead is the fix but only sign the apk if you wanna push it to system.. Then, the user HAS to move it from data/app to system/app and set the permissions.. on mine, I set it to read/only but others say they had to set it to user rights and have all 3 checked on the top row... I've recreated every possible scenario on the issues users have since on every install I've done, it's worked perfectly and it seems like what I stated above is the issue.. the rom.. it might not just be cm7 either.. it could be a number of roms.. so hopefully by 3.0.28 we'll have a solution... I know this is a late post and the OP might have already released his in a different thread but I had this one saved... hope this helps