yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] pendo:
6/26-Added earlier themed verions

Well, by now I know that most have seen either my earlier versions or iterations thereof that have been done by several other members. It's been extremely flattering to receive so many compliments and requests for use...Thank you!

Here's my newest edition. It's still blue, but the hues have been tweaked a bit, and I think I've got it pretty nice for the SGS2.

Screenshots courtesy of esk02k. Thank you! Also, thanks to fernando sor, from the evo and dinc forum's....he found a slightly different manifest that lets me theme the comments page properly :)

And here's one showing the widget:

If you are new

Often times I forget that there are some reading this that don't really know much and are just getting their feet wet. Here are some general guidelines for my threads (and most threads in general).

You are responsible for your own device.

Lots of help around if you get into trouble, though.

Have a backup

-This is said so often it really shouldn't need to be said no matter how new you are. This is a bleeding edge hobbiest/development community (dare I say the premier development community), and as such most information should be considered experimental. There is always the possibility that a mod/file/script could mess things up. Occasionally, there may even be a file that you download from a well intentioned dev that had an unknown bug that you 'helped' discover. Make sure you have a backup plan in place before you modify your device. You don't necessarily have to perform a full nandroid backup before each flash, but you should at least have a nandroid that's recent enough that if you did have to use it, it's not the end of the world.

If you're unsure

-please ask FIRST. Either in the thread or if you're uncomfortable with public posts, then please pm me. I usually will answer a pm within 24hrs or less. And ask anyone who's pm'ed me for help, I'm very, very thorough :D

Thanks everyone for your support, and a very special THANK YOU to those who've passed me a drink or two :)
[Galaxy S II Themes and Apps] pendo:
Change Log/Notes

6/18

Most of the major changes are in the details with this release. Some may not be aware of this, but most (maybe all) apk's don't contain 100% of the resources used in the app. There are several drawable's that most apps use that are public resources from the rom itself. Things like buttons, checkbox's, dropbox's, progressbar's, etc. Certainly efficient, but this can be cause for some elements of a themed app to look out of place. (unless it's part of an entire themed rom) That is what I mainly worked on with this version......preventing the use of public resources and forcing my own that I have added. The goal being to have this look the exact same on every device, no matter what theme the rom may or may not have.

This has been quite a time consuming process for me as I experiment with different techniques, and consequently is still a bit of a work in progress. So if you really explore some of the less traveled areas of the apk, you'll likely find a few items I've missed. Please let me know about them :)

6/21

Many are having issues with fc's, as a result of the edited AndroidManifest but not all. It is breaking permissions with GoogleServicesFramework. I'm hopeful that I can resolve the error, but with my work schedule and taking summer classes I'm just very stretched for time. So for those who did have fc's with either version, please download the alternate versions labeled with "og_manifest" They use the stock manifest file which means I lose the transparent background for the comments page, but that's it. All of the other new mods are still intact and working just fine.

6/26

After a lot of troubleshooting as well as experimentation, all problems seem to be gone. Have had zero issues for a few days now, as well as other reports indicating the same. So the new apk is FULLY transparent, meaning that ALL page views support a transparent window now. I added one more new tweak and that's a new progressbar_indeterminate. This is another custom graphic that I actually just made yesterday, hope you like it! Here's a little sample gif I made of it:
[Galaxy S II Themes and Apps] farigee:
i am going to try this
[Galaxy S II Themes and Apps] syps54:
Very nice job !

I've just tried two times to install with recovery with the first one but nothing have changed...:confused: I have still the usual market...

I'm on lightening kf1.

edit/ it say installed...I can see your logo but when I reboot nothing have changed.
[Galaxy S II Themes and Apps] TvBTvB:
Same here, I can't get it to work (Litening 1.4/KF1)
[Galaxy S II Themes and Apps] pendo:
OK, this could be from one of two things. First, try the easy fix and go to settings>applications>managage applications and select the all tab. Scroll down to Market, and if there's an option to uninstall updates select that. That should remove any entry in /data/app if you have one (it would be /data/app/com.android.vending-1.apk)

If that's not an option, then it could be an incompatibility with my mount command. I have confirmed reports of it taking just fine with 4.0.0.2 as well as 3.0.0.5. But I also have a report of it not taking with CF's kernel....
[Galaxy S II Themes and Apps] pendo:
Just edited the op to reflect this, but I checked the KE7 firmware I have on hand and it did indeed ship with an earlier version of Vending, so many of you likely have a Vending.apk in /system/app, as well as an update /data/app/com.android.vending-1.apk. There can't be any versions in /data or it will take precedence over my themed version.
[Galaxy S II Themes and Apps] djase:
If you have any problem market not running or similar problems after CWM install.

Remove Market apk file or files completely from:

- /data/app file called com.android.vending-1.apk if there and

- from /system/app Vending.apk with Root Explorer or Super Manager.

Reboot to recovery and wipe (clear) dalvik-cache. After you deleted and clear dalvik-cache let phone boot (it'll take a bit longer since it rebuilds dalvik). Next step is to extract Vending.apk from zip file and copy it in /system/app folder. Again reboot to recovery and wipe dalvik-cache. If some trouble with file set right premissions like in picture (644); >> in Root Explorer long press on apk file and it will open menu and from menu select Premission or similar below (thanks to corgar for picture). Reboot and everything should work.
[Galaxy S II Themes and Apps] djase:
damned ! fc now need to reflash thx u dude !
[Galaxy S II Themes and Apps] TvBTvB:
Mine fc'ed too, but after I placed com.android.vending-1.apk back in /data/app it worked again. So no re-flash necesary.
[Galaxy S II Themes and Apps] djase:
can u upload please ?

cheers
[Galaxy S II Themes and Apps] TvBTvB:
Sure, but I'm not sure if my file will work on your phone.
[Galaxy S II Themes and Apps] djase:
it works thx TvBTvB !

you saved my day !

cheers
[Galaxy S II Themes and Apps] esk02k:
You may have to go into manage applications and then uninstall updates from market.

That's what I had to do or it would stay green.
[Galaxy S II Themes and Apps] BananenAffe:
Looks nice ! Not work on Litening Rom 1.4 KF1.I have FC.I wait for a working update :)
[Galaxy S II Themes and Apps] Rixsta:
Maybe save the original files to a folder then moved the modded ones with root explorer ....probably a safer way if it doesn't work ...
[Galaxy S II Themes and Apps] pendo:
Easy there fella, no need for the "thanks dude"....

Now that I've said that, did you happen to get a logcat of your fc? In pretty much all cases I've been able to help folks who have had an issue with a themed market (mine or others). I've had thousands of downloads since I started theming the Market last November. Really not bragging or anything but I'm just sayin....that I *might* be able to help.

Again, did you happen to check logcat? I'm not a logcat expert, but it usually helps. As far as reflashing, this kind of "flashing" is very basic. Really all that it's doing is pushing. You'd achieve the exact same result by using adb push while in recovery (or even just by stopping core)
[Galaxy S II Themes and Apps] TvBTvB:
I was finally able to reproduce the problem, here is the logcat:

I/ActivityThread( 5817): Pub com.android.vending.SuggestionsProvider: com.android.vending.SuggestionsProvider
D/vending ( 5817): [1] VendingApplication.onCreate(): Resetting ServiceLocator from app
D/dalvikvm( 5817): GC_CONCURRENT freed 205K, 50% free 2822K/5639K, external 0K/0K, paused 1ms+2ms
D/dalvikvm( 5817): GC_EXTERNAL_ALLOC freed 1K, 50% free 2820K/5639K, external 0K/0K, paused 26ms
D/dalvikvm( 5817): GC_CONCURRENT freed 21K, 45% free 3327K/5959K, external 8K/514K, paused 1ms+3ms
D/dalvikvm( 5817): GC_EXTERNAL_ALLOC freed 524K, 51% free 3101K/6279K, external 375K/514K, paused 23ms
D/dalvikvm( 5742): GC_CONCURRENT freed 468K, 57% free 2930K/6791K, external 435K/776K, paused 2ms+2ms
D/ResourceType( 5817): calling getConfigurations
D/ResourceType( 5817): called getConfigurations size=219
D/CLIPBOARD( 5742): Hide Clipboard dialog at Starting input: finished by someone else... !
D/dalvikvm( 5817): GC_CONCURRENT freed 96K, 42% free 3766K/6471K, external 609K/781K, paused 1ms+2ms
D/CLIPBOARD( 5817): Hide Clipboard dialog at Starting input: finished by someone else... !
D/dalvikvm( 5817): GC_CONCURRENT freed 700K, 47% free 3738K/7047K, external 609K/781K, paused 1ms+2ms
I/ActivityManager( 2908): Displayed com.android.vending/.AssetBrowserActivity: +738ms
D/alogcat ( 5742): stopping ...
D/alogcat ( 5742): stopped
D/dalvikvm( 5817): GC_FOR_MALLOC freed 407K, 51% free 3466K/7047K, external 609K/781K, paused 17ms
D/dalvikvm( 5817): GC_CONCURRENT freed 283K, 49% free 3662K/7047K, external 632K/781K, paused 1ms+2ms
E/DatabaseUtils( 3415): Writing exception to parcel
E/DatabaseUtils( 3415): java.lang.SecurityException: Permission Denial: writing com.google.android.gsf.settings.GoogleSettingsProvider uri content://com.google.settings/partner from pid=5817, uid=10012 requires com.google.android.providers.settings.permission.WRITE_GSETTINGS
E/DatabaseUtils( 3415): at android.content.ContentProvider$Transport.enforceWritePermission(ContentProvider.java:361)
E/DatabaseUtils( 3415): at android.content.ContentProvider$Transport.insert(ContentProvider.java:197)
E/DatabaseUtils( 3415): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:146)
E/DatabaseUtils( 3415): at android.os.Binder.execTransact(Binder.java:320)
E/DatabaseUtils( 3415): at dalvik.system.NativeStart.run(Native Method)
W/dalvikvm( 5817): threadid=11: thread exiting with uncaught exception (group=0x4001e578)
E/ ( 2908): Dumpstate > /data/log/dumpstate_app_error
I/dumpstate( 5855): begin
D/dalvikvm( 5817): GC_EXTERNAL_ALLOC freed 399K, 49% free 3628K/7047K, external 755K/781K, paused 27ms
D/dalvikvm( 5817): GC_EXTERNAL_ALLOC freed 5K, 49% free 3627K/7047K, external 1287K/1296K, paused 24ms
E/lights ( 2908): write_int: path /sys/devices/virtual/misc/melfas_touchkey/brightness, value 2
I/dumpstate( 5855): done
[Galaxy S II Themes and Apps] pendo:
Thank you. The AndroidManifest that I introduced in this revision seems to be the instigating the fc. But it's different than when I've experimented with changing the manifest in months past, as I (and many others) have it runnning fine. However, while updating an app earlier, I too had the fc.

I am updating the op with additional versions that have "og_manifest" at the end of their file names. The one thing that I give up with this is that the comments page will revert to a white background. But it is 100% stable, for sure.:o
[Galaxy S II Themes and Apps] esk02k:
Its strange that some people get fc with these, ive never had the problem on multiple phones and multiple roms. Just flashed villain rom yesterday and i can confirm that the market works perfectly, the new manifest one with the transparent comments page. Your market was the first thing i flashed actually, before even adding my own mods. It must be something to do with what the ROM chefs are doing to there ROMS. Fix something here, break something there lol.
[Galaxy S II Themes and Apps] BananenAffe:
TransBlue_2.2.1bwh-Market_ver2.3.6-og_manifest-signed works now perfect on Litening 1.4 KF1.Looks nice !

Thank you :)

I flash later the Litening 1.5 KF2 and test it again.
[Galaxy S II Themes and Apps] pendo:
Thanks,

I'm curious, did you try the other one first and have an fc?

I've been working on the fc error in earnest over the last few days and I may have come up with an apk and procedure that fixes the problem. At least it does for me. I've now repeated the process 3 times--starting each time in a condition where the fully themed market would fc because of a permissions failure of write_gsettings--and in each instance I've been able to fix it.

If someone who had fc's would like to give some additional verification that this worked for them that would be great. I've attached an edited version of my TransBlue Market and here's my exact terminal commands:

adb shell
adb shell mount -o rw,remount /system
adb shell rm /system/app/Vending.apk
adb uninstall com.android.vending
adb shell rm /data/dalvik-cache/system@app@Vending.apk@classes.dex
adb reboot

(Substitute a different directory if your dalvik is different, ie a2sd-probably nothing you guys have here lol)

after your phone reboots you mount system as rw again and push my themed vending:

adb shell mount -o rw,remount /system
adb push Vending.apk /system/app/

Now, go to your app drawer and you should see the market. Select it and accept the Terms of Service. The app will act like it's loading for a brief moment then close, but just close no FC. Go back and select the market again in your drawer and it should be all good!
[Galaxy S II Themes and Apps] pendo:
OK, this is all pretty much worked out now. I wasn't too satisfied with those new progressbars that I made earlier...so I made another one. Well, two actually lol. And they both look much nicer imo.

This one i call blue-twist:

And this teal-blue one:

I'm mostly favoring the blue-twist but the other one is real smooth on the phone. Lol...really just sweating little stuff though :D

I'm doing a finishing touch on the layout xml for these and then I'll post new zips up in the op shortly :)
[Galaxy S II Themes and Apps] esk02k:
Pendo these look really nice. The little touches make a big difference. As usual it goes a treat with the theme I'm making, the colour codes match nicely, heres my default wallpaper I made for my theme and you can see the colours match well http://db.tt/bxSnl1F

Thanks mate!
[Galaxy S II Themes and Apps] KLoNe1:
Progress bars look incredible!
[Galaxy S II Themes and Apps] SweSarah:
Anyone tested this on VR 1.4 ?
[Galaxy S II Themes and Apps] stesteste:
hi im on. lightning 1,5 deleted com android vending installed ur file through cwm reboot and market pkace is transparent click on it it says not installed please help saved my vending com and put it back now its highlighted again need bettrr nooby instruction plz as i like the blue cheers
[Galaxy S II Themes and Apps] pendo:
Did you go into the app drawer or just use a shortcut that you had on a page? This is true that the shortcut won't work you'll have to place it again. But the actual "real" app icon should be working just fine. This exact same procedure has been the same on every device I've tested. I'll add the note to the op about the shortcut icon.
[Galaxy S II Themes and Apps] pendo:
Hey buddy. Yeah there's a pretty popular development team here, that we're finding out my themed market really almost looks like it was themed for their rom lol. It's pretty crazy how many things just really go well with it. It might be packaged with their rom soon, but don't know for sure.

The teal-blue one also really looks great on my amoled N1 so I know it would look great on the sgs2. But after I finished with it, I had another idea and that turned into the blue-twist version....and I'm really diggin it. :)

Thanks :)
[Galaxy S II Themes and Apps] pendo:
Also, just to add to this...double check that Vending.apk did get installed in /system/app. I have had a report that my updater-script doesn't work with CF's version of Clockwork, but it does work with the others.
[Galaxy S II Themes and Apps] stesteste:
tried to install a few more times its still transparent app drwer icon also transperent and theres a vending apk in system/app,,,scratching mi head :confused:

help needed plz
[Galaxy S II Themes and Apps] pendo:
OK, just making sure I understand you see my themed icon in your app drawer, and when selecting it, it says not installed?

-You said you deleted com.android.vending, how did you do this? If you just deleted the apk, you should also run this command in a terminal emulator "pm uninstall com.android.vending" If it's properly uninstalled, it should also remove the /data/data/com.android.vending directory, but if it's still there after all that, delete it. That's data directory for the app. Also, you should delete /data/dalvik-cache/system@app@Vending.apk@classes.dex

-Reboot your phone. This updates packages.list and packages.xml.

-You cannot install the market by just selecting the raw apk like you can with user apps. It has to be placed inside the /system/app directory (and permissions reset if you use a root explorer) Many times it will "just work" as soon as you put it in the /system/app folder....sometimes it requires a reboot.
[Galaxy S II Themes and Apps] stesteste:
first thanks for help

what i have done so many times is root explorer deleted com.android removed the vending apk booted into recovery installed your mod rebooted transparent icon in app drawer and on main screen deleted 1 on screen did whole process again market only becomes usable again if i place back the com.android.vending dunno now followed all ur instructions on first page and the latest .any more info would be nice cheers matey
[Galaxy S II Themes and Apps] pendo:
Ah, yes that explains things a bit more. So you have been able to replace com.android.vending-1.apk into /data/app, and the Market works fine at that point, correct?

Try this....after you have put com.android.vending-1.apk back and it's working like normal, boot into recovery and flash my zip. When you reboot it should still look like the same 'ol green market. Open Settings, then select Applications, then Manage Applications. There will be 4 tabs...go to the All tab and scroll down to where you see Market. You should see a button for "uninstall updates". Press that, and you should be good to go.

If there isn't a button for uninstall updates, then we need to go back with your root explorer and delete some more stuff. Let me know if the above works first though.
[Galaxy S II Themes and Apps] stesteste:
removed updates icons gone blue now it force closes on start up .lol will i ever get it to work or how do i get normal 1 back

update restored using cwm everything back to start thought i would give it another try still force closes on lightning rom 1.5 thanks anyway would of been nice i wait for an update cheers pendo
[Galaxy S II Themes and Apps] esk02k:
Hey pendo what is the colour code/level of alpha for the background of your market?

I think its a good level and want to try it out on my dialer mod and other stuff. Thanks!
[Galaxy S II Themes and Apps] pendo:
Well, if you'd decompile my themed market you could see that the new style I created, Trans.Market, uses a window background of "pendo_trans_background." ;)

What??? You don't have that color?:p

It's 73000000 :)
[Galaxy S II Themes and Apps] KLoNe1:
pendo: Just flashed today - wanted to let you know that your work is just incredible. Everything has been put together wonderfully. Well done.
[Galaxy S II Themes and Apps] stesteste:
still cant get it to work pendo is it lightning rom 1,5 compattable .cherrs
[Galaxy S II Themes and Apps] pendo:
Yes, I'm testing revised procedures for you. Been at it all morning :o I think I messed up in having you flash my zip then uninstall updates as that still left the old data folder in place at /data/data.

My problem is that I'm having difficulty reproducing your exact situation which makes it difficult to know for sure what steps to take to remedy. I can't reproduce the fc. But I do have a slightly revised procedure to try. This worked for me in these conditions

I started from the market that came in KE7 which is 2.3.4

I let it silently update to 2.3.6 on it's own.

That means that I had a /system/app/Vending.apk as well as a /data/app/com.android.vending-1.apk. So that should be pretty close to your same situation after you restored. From that condition these are my exact steps:

In terminal emulator (enter after each line)

su
pm uninstall com.android.vending

Then reboot into recovery and flash the zip
[Galaxy S II Themes and Apps] stesteste:
thx pendo tried it several times still not worked .downloaded blue market theme from pokerace same installation process as yours and worked straight away i dont know y i had trouble with yours treid everything thx anyway for your time ...
[Galaxy S II Themes and Apps] jackierobinson:
Absolutely beautiful.
[Galaxy S II Themes and Apps] pendo:
This really bothers me :( I suppose it might be foolish to think that I can fix all problems, but so far in my time here I have been able to get my work on every device that has tried. There's definitely something that you or I have missed that's holding this up, as there's plenty of other's who are using it with the current edits.

Regarding other themed markets...there are several nicely themed versions out there, and I'm glad you found one you like. I do use a modified AndroidManifest which creates a increased chance for conflict which may be the culprit here. There are ways to fix this, but sometimes the steps involved can be quite tedious.

I invite you to try again any time you wish, particularly if/when you change roms and are doing a complete wipe.
[Galaxy S II Themes and Apps] pendo:
Thank You!

I've spent a lot of time on this over the months (starting with version 2.2.7) and I really appreciate the kind words :)
[Galaxy S II Themes and Apps] ck88:
tried everything in the first post.

Flashed the zip - no change.

uninstalled market updates - blue market icon but no change.

Rebooted.

Deleted the 2 files, entered the command in terminal.

Rebooted.

Re-flashed zip in recovery.

Rebooted.

Blue market but it FC's after 5 seconds every time. :(

Any ideas?

(lite'ning 1.5)
[Galaxy S II Themes and Apps] stesteste:
had same problem on 1.5 tried everything
[Galaxy S II Themes and Apps] koahhe:
Have the same problem on villainrom 1.4
[Galaxy S II Themes and Apps] koahhe:
Working now! What I've done different this time was to uninstall updates in the market application BEFORE installing the theme. I then reboot into recovery mode and wipe dalvik cache. Reboot into recovery again and flash the theme. Thats it!

Thanks op! Nice work!
[Galaxy S II Themes and Apps] Forseti_Jan:
:) original idea and works well.

Thanks!
[Galaxy S II Themes and Apps] kzakaria:
no luck on Litening_Rom_v1.5 :(
[Galaxy S II Themes and Apps] mark2222:
The other market mod version worked on mine following the instructions to delete two files first then wipe dalvic cache then reboot then flash then move and rename vending.apk.
[Galaxy S II Themes and Apps] dully79:
Thank you pendo.:)

Absolutely love this version of the market and the new progress bar looks the muts nuts.

A***
[Galaxy S II Themes and Apps] kzakaria:
No way to get this on Litening_Rom_v1.5. Your market looks very clean and the other mods are not as nice:D
[Galaxy S II Themes and Apps] mirotis:
So it is confirmed not working in Litening Rom 1.5.. So how do we go back to normal Market?
[Galaxy S II Themes and Apps] dully79:
I pulled the original out of a rom and put it into pendo's zip (hope you dont mind pendo.:)),

just install the following zip from recovery and it should be back to normal.

Hope this helps.