-=BG Tweak v0.5 for Sense UI 2.5=- Transparent bars/HQ/B4ALL -- WVGA/VGA --

Search This thread

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
This is a combination Sense UI MOD and background management utility with some nice features so far and much more to come.

Follow my progress on Twitter


Features:
  • True transparency for task-bar and menu-bar in both orientations. No stretching.
  • Opacity level control for bars. (256 levels of opacity, from completely transparent to completely opaque.)
  • Backgrounds on all Sense UI tabs.
  • Higher image quality for backgrounds than standard Sense UI background.
  • Separate portrait and landscape backgrounds. No stretching.
  • Crop/resize GUI ... Use any size image instead of them having to match your device's resolution ahead of time.
  • Compatible with most other Sense UI mods. (most notably Co0kie's home tab)
  • MaxManila 3.0 (beta) compatible version available.
  • Same .cab works with WVGA or VGA.
  • Fully un-installable .cab.

screen1cn.jpg
screen2ft.jpg
screen1oo.jpg

screen2es.jpg
screen5th.jpg



Requirements:
(If you don't use Sense UI and just want to use my opacity adjustment tool and task/menu-bar refresher ... check post #2 and #3)
  • HTC Sense 2.5.2012 (only build I have tested so far, If you have success with other Sense UI builds please let me know so I can update this statement)
  • .NET CF 3.5
  • MOST IMPORTANT: Stock (unchanged) copies of "shell32.exe" and "aygshell.dll" for your WM build... Any 6.5.X build must also be "timebomb patched" (detailed instructions for patching -HERE-). Check post #2 for details on how/where to obtain them.


Instructions:
  1. Copy your stock shell files ("shell32.exe" and "aygshell.dll") to the root of your storage card ("\Storage Card\") .. If they are somewhere else you will be prompted for the location when you adjust your opacity level.
    (Check post #2 for details on how/where to obtain them)
  2. Un-install any previous versions and install the cab file attached at the end of this post. PLEASE NOTE: MM Versions are for use with MaxManila 3.0 (beta) only!!
  3. Run the "BG Tweak" program from your start menu.
  4. Choose your opacity levels and tap "Set opacity ......." for each element.
  5. Tap "Set background" and choose an image for your background.
  6. Tap "Portrait / landscape" to choose which orientation to apply your image to.
  7. Use the scrollbar at the bottom of the screen to adjust the size of the cropping rectangle and drag the rectangle to move it.
  8. Tap accept to crop and resize the image.
  9. Tap "Soft reset device".
  10. Admire your changes.
To change backgrounds just run the "BG Tweak" program and repeat steps #5 through #8.


Notes:
  • "MM" Versions are for MaxManila 3.0 (beta) only!!
  • The required shell files CAN NOT be copied from your Windows folder, you MUST obtain them in one of the ways previously mentioned.
  • This mod depends on your today screen background, the "BG Tweak" program sets it automatically and aligns everything correctly for you.
  • At the moment, the start menu background does not update until you soft-reset. Everything else updates instantly.
  • BACK UP YOUR DATA!!! The task and menu-bar opacity setting option is a low-level hack and if there is a problem or you make a mistake, YOU MAY HAVE TO HARD-RESET!!! (it's worth it though ;))


Version history:

Version 0.6b4 - 4/20/2010 (recommended)
  • Manual crop and resize implemented.
  • Added "fake" transparency mode as a temporary fix for people having problem with the shell hack (boot failures). Only works for portrait mode.
  • Minor bug-fixes.
Version 0.5 - 4/18/2010
  • Re-wrote entire MOD to incorporate a new method for higher quality background images.
  • One .cab works for both resolutions WVGA and VGA.
  • Fancy new icon thanks to milski.
Version 0.4 - 4/10/2010
  • Misalignment issue corrected for VGA.
  • Minor bug fixes and error checking.
Version 0.3 - 4/10/2010
  • Fixed misalignment issue in WM 6.5.x builds .. Now works correctly in 6.5 and 6.5.x (WVGA only, VGA will come tomorrow).
Version 0.2 - 4/9/2010
  • VGA version now available thanks to mwalt2!
  • Minor bug-fix and method update.


Planned changes:
  • Lower memory consumption and higher stability for background refresh process.
  • Integrate into standard Sense UI menus.
  • Automatic background cycling from an album.
  • Thumbnail view when choosing backgrounds.
  • Task and menu-bar skin/color management (for interesting effects when using intermediate opacity levels).
  • Brightness/contrast adjustment and rotation support for images.
  • Different images for different Sense UI tabs.
  • Support for MaxSense UI when it is released (hopefully!).
  • Open to suggestions.

Thanks: mwalt2, milski, c0okiemonster, ham3r, scout7, reeg420, papichulothrawn, antaed, erdoke, anyone I missed :)

If you find my contribution useful, please consider donating.
If you decide to donate, please let me know what features you would most like to see added next, and I will try to focus on them.


Check post #3 for older versions.
 
Last edited:

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
Stock shell files

I will upload as many stock shell files here as I can .. If anyone has working stock files for a build that I haven't included yet, please let me know and I will add them here.

To find your build number, navigate to Settings>System>Device Information>Software Information>OS Version ... or Settings>System>About>Version ...Your build number is the 5 digit number after "5.2." or "Build" ...
For example, the build number in the following screenshot is 23554.

buildnumber.jpg



Files surrounded in parentheses "(...)" have been confirmed as working by users.


20757
21054 21055 21056 21647
21869 21874 21876 21882 21884 21887 21888 (21889) 21890 21891 21895 (21898) (21899) (21901)
23014 23088 23113 23506 23511 23517 23518 23529 23533 23541 23542 23544 23547 23549 23551 (23554) (23557) (23559) (23562) (23563) (23566) (23568) (23569) 23639 23640
24001
25006 25009
28002 28004 28005 28011 28014 28205 28232


If stock files for your build are not present here
There are multiple ways to obtain stock files for your build .. Please do not ask me to find them for you until you have tried to obtain them yourself.
(Most of these methods are fairly easy to understand and there are vast amounts of information on them in the forum, so I will only give brief explanations.. I will post all the tools that I mention)

If you are using a newer 6.5.X ROM, you will need to make sure your shell32.exe file has been "timebomb patched" or your device will be disabled after the beta time-limit has expired. You can ask the chef of your ROM to provide the patched files or you can try patching them yourself with THIS TOOL created by joojoobee666. (You must have "module" versions of your shell files to use the tool. Using the reversemode tool can produce them from regular files.) My good friend antaed has posted detailed instructions -HERE-.
  1. Extract the files from your device with ROMExtractor.
    This is the easiest method but is not fool-proof.

    This program runs on your device and extracts files from it's ROM, saving them to it's storage. This works well on some devices/ROMs but fails on others.
  2. Extract the files from your custom rom with HTC ROM Image Editor.
    This is also very easy, but does not work correctly if your ROM was built with bepe's platformrebuilder.

    If you have flashed a ROM to your device, then you will have it's .nbh file. With many ROMs, the .nbh file will be in an archive with other files required for flashing. With self-extracting ROMs (any ROM that is a single .exe file), you will need to extract the .nbh file from the executable with a program like WinRAR. You can also start the ROM update program and once it has extracted itself (the folder that it was run in fills up with files), copy the .nbh file to another location and then cancel the update. Once you have your .nbh file, open it in HTC ROM Image Editor and navigate to OS>IMGFS>SYS>MSXIPKernel .. There you will find your stock shell files and you can extract/save them for copying to your device. If the result is a folder with files names "s000", "s001", etc; use the recmod tool, as mentioned in the next option.
  3. Copy the modules from a kitchen or SYS for your build and compile them with RecMod.
    This is not difficult but you may have a hard time finding a kitchen or SYS if your build is not popular.

    If you can find a kitchen or SYS (component required for cooking ROMs) for your build, look for the folders "shell32.exe" and "aygshell.dll" and drag/drop them on to the RecMod tool... RecMod will add your shell files into those same folders and you can copy them from there to your device.
  4. Dump your device's rom.
    This is difficult and I consider it a last resort ... You are better off flashing a newer ROM and using option #2 than attempting this.

    This is a device dependant process and you will have to research it on your own.
  5. Ask your ROM's Chef for copies of the files.
    Self-explanatory.

If you use one of these methods to obtain your files please check the file size. If your shell files are not approximately 750-850kb for shell32.exe and 350-450kb for aygshell.dll THEY ARE CORRUPT! and will cause your device to fail at boot.
 

Attachments

  • RecMod.zip
    34.1 KB · Views: 812
  • ROMExtractor.zip
    9 KB · Views: 918
  • reversmode.zip
    6.5 KB · Views: 564
Last edited:

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
Older versions and stand-alone opacity adjustment tool

Here are previous versions..

volDeus Transparent task and menu bar solution (VGA) v0.4.cab

volDeus Transparent task and menu bar solution (WVGA) v0.4.cab

volDeus Transparent task and menu bar solution (VGA) v0.4MM.cab

volDeus Transparent task and menu bar solution (WVGA) v0.4MM.cab


If you don't use Sense UI/Manila and you just want to use my opacity adjustment tool, I've included it here.

Your stock shell files are still required (check post #2) .. Place them in the root of your storage card and then run "Set Opacity" in the "volDeus" folder of your start menu.

I have included two cabs here ... One with my task-bar refreshing program and one without. If your task-bar and menu-bar show graphics errors when you rotate your screen, use the copy WITH the refresh app.
 
Last edited:

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
Well done putting it all together volDeus :) I'll do some testing myself, but have you tried it with MaxManila yet?

Thanks man :) I haven't tried it with MaxManila but if anyone is interested I will ... If they don't mesh up well I'm sure I can do a bit of tweaking and make a seperate cab that will work.

I didn't assume many people would be very interested in using this solution with MaxManila since it has fullscreen options already.

EDIT: I just glanced at the ***_manila files in the MaxManila cab .. It will definately be a seperate cab to be compatible ... I'll work on it tomorrow if you want :)
 
Last edited:

milinko81

Senior Member
Feb 24, 2010
55
6
shell32.exe???

Can´t find thise files "shell32.exe" and "aygshell.dll"!! I read somewhere that they are in the Windows file but can not find them ...HELP...

Beginner :)

HTC HD Touch

1.14.24011...
 

millski

Senior Member
Jan 20, 2009
1,262
1
Ross Vegas
Thanks man :) I haven't tried it with MaxManila but if anyone is interested I will ... If they don't mesh up well I'm sure I can do a bit of tweaking and make a seperate cab that will work.

I didn't assume many people would be very interested in using this solution with MaxManila since it has fullscreen options already.

EDIT: I just glanced at the ***_manila files in the MaxManila cab .. It will definately be a seperate cab to be compatible ... I'll work on it tomorrow if you want :)

Thought that might be the case. MaxManila's fullscreen uses a workaround to get softkeys and taskbar working, I'd prefer to just make those areas transparent and use the original bars. Mostly though I've been cooking roms with the transparency built in. Your app (especially if you can get it to call from the manila wallpaper settings) would make it simpler for people to use and easier for me to explain lol, but I don't want to alienate any MaxManila users who like my rom ;)
 

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
Can´t find thise files "shell32.exe" and "aygshell.dll"!! I read somewhere that they are in the Windows file but can not find them ...HELP...

Beginner :)

HTC HD Touch

1.14.24011...

Find out what build you are running (Settings>System>Device Information>Software Information>OS Version) and download the matching file set from post #2.
 

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
Thought that might be the case. MaxManila's fullscreen uses a workaround to get softkeys and taskbar working, I'd prefer to just make those areas transparent and use the original bars. Mostly though I've been cooking roms with the transparency built in. Your app (especially if you can get it to call from the manila wallpaper settings) would make it simpler for people to use and easier for me to explain lol, but I don't want to alienate any MaxManila users who like my rom ;)

I'll take a crack at it tomorrow morning :)
 

carm0033

Member
Aug 12, 2009
44
7
Minneapolis, MN
I am a noob at this and have been following the old thread . I really appreciate your work on this, however I cannot get it to work. I am using 6.5 build 21889 and copied the shell32.exe and aygshell.dll files from the zip file you have labeled 21889 to my storage card. I ran the .cab file and did a soft reset when it prompted me to do so. I then ran set opacity from the volDeus folder in my start menu. I left the values at zero and did a soft reset. The phone would not boot up afterwards. I got the "this device is unable to boot because it was not shut down properly or you have installed an unsafe application, etc.etc." I did a hard reset and reloaded the 6.5 ROM update from HTC's website that I was using previously. I tried to follow the same steps but it ended up crashing the phone again, requiring another hard reset. Any suggestions? Again, I am a complete noob at this. Thanks very much!!
 

milinko81

Senior Member
Feb 24, 2010
55
6
20757

I have 20757, it would be nice to put files also for this version

Thank you sou much !!!
 

Actorios

Senior Member
Jun 17, 2009
218
11
London
Google Pixel 3 XL
I am a noob at this and have been following the old thread . I really appreciate your work on this, however I cannot get it to work. I am using 6.5 build 21889 and copied the shell32.exe and aygshell.dll files from the zip file you have labeled 21889 to my storage card. I ran the .cab file and did a soft reset when it prompted me to do so. I then ran set opacity from the volDeus folder in my start menu. I left the values at zero and did a soft reset. The phone would not boot up afterwards. I got the "this device is unable to boot because it was not shut down properly or you have installed an unsafe application, etc.etc." I did a hard reset and reloaded the 6.5 ROM update from HTC's website that I was using previously. I tried to follow the same steps but it ended up crashing the phone again, requiring another hard reset. Any suggestions? Again, I am a complete noob at this. Thanks very much!!

you need to tap on "set taskbar opacity" and "set menubar opacity", not just leave everything as it is and soft reset.

it worked great for me, thx :)
 

mwalt2

Senior Member
Feb 22, 2009
2,248
1,531
Good work volDeus! I've attached the 2 manila files making it compatible with the vga sense 2.5.2012 port. I get the following error after selecting portrait and landscape wallpapers:
Code:
vol Set Wallpapers.exe
Win32Exception

   at System.Diagnostics.Process.Kill()
   at SetWallPapers.Form1.mainProc()
   at SetWallPapers.Form1.OnGotFocus(EventArgs e)
   at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
   at System.Windows.Forms.ContainerControl.WnProc(WM wm, Int32 wParam, Int32 lParam)
   at System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
   at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
   at Microsoft.AGL.Forms.WL.SetVis(IntPtr hwnThis, BOOL fVis)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at System.Windows.Forms.Application.Run(Form fm)
   at SetWallPapers.Program.Main()

It still sets the wallpapers, but crashes before asking to soft-reset or whatever it does at the end.
 
Last edited:

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
I am a noob at this and have been following the old thread . I really appreciate your work on this, however I cannot get it to work. I am using 6.5 build 21889 and copied the shell32.exe and aygshell.dll files from the zip file you have labeled 21889 to my storage card. I ran the .cab file and did a soft reset when it prompted me to do so. I then ran set opacity from the volDeus folder in my start menu. I left the values at zero and did a soft reset. The phone would not boot up afterwards. I got the "this device is unable to boot because it was not shut down properly or you have installed an unsafe application, etc.etc." I did a hard reset and reloaded the 6.5 ROM update from HTC's website that I was using previously. I tried to follow the same steps but it ended up crashing the phone again, requiring another hard reset. Any suggestions? Again, I am a complete noob at this. Thanks very much!!

I'm not sure, I've never seen that type of error before .. I'll find out whatever I can for you ... Can you give me a link to the ROM that you tried it with?
 

volDeus

Senior Member
Nov 19, 2006
548
4
Las Vegas, NV
Good work volDeus! I've attached the 2 manila files making it compatible with the vga sense 2.5.2012 port. I get the following error after selecting portrait and landscape wallpapers:
Code:
vol Set Wallpapers.exe
Win32Exception

   at System.Diagnostics.Process.Kill()
   at SetWallPapers.Form1.mainProc()
   at SetWallPapers.Form1.OnGotFocus(EventArgs e)
   at System.Windows.Forms.Control.WnProc(WM wm, Int32 wParam, Int32 lParam)
   at System.Windows.Forms.ContainerControl.WnProc(WM wm, Int32 wParam, Int32 lParam)
   at System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
   at System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
   at Microsoft.AGL.Forms.WL.SetVis(IntPtr hwnThis, BOOL fVis)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at System.Windows.Forms.Application.Run(Form fm)
   at SetWallPapers.Program.Main()

It still sets the wallpapers, but crashes before asking to soft-reset or whatever it does at the end.

Great! Thanks for the help! ... I'll update the first post with a new CAB as soon as possible.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Here you go. I've placed it as a link because it might just be on the edge of being NSFW (the weather/clock hide most of it, but just to be on the safe side). I'm currently on 23566 and as you can see the top and bottom bar on the lockscreen are completely black, with the right square in the corner. just let me know if you'd like to have another picture with a darker background or something to compare. It doesn't really bother me at all, I don't see my lockscreen for more than a second or two at a time, lol.

    +1 - also the only "bugs" experienced by me. volDeus this work is amazing, patiently waiting for the Album browser/thumbnail view to see the wallpapers I want to select ;)

    I think this is all related to the same thing that mwalt2 has been talking about. He already posted a code snippet for patching the offending _manila file but I have not had time to play with it myself since I've been focusing on some other stability issues and bugs to get v0.6 out of beta. I will tackle it as soon as I get back from my trip and get v0.6 final posted... Unless someone beats me to it ;)

    I too have the white box on all 6.5.x versions with the tweak applied, but only in "fullscreen" mode. Meaning the lockscreen in CHT and the animated rotated coverflow style music and photo tabs of Sense.
    Hopefully a fix can be found for that, as it's the most notable bug for me at this point.
    However it's not a big deal, would still be nice to get that patched up.
    I have been doing a little digging myself to see if I can track down the exact cause.
    Thanks for all efforts so far on a great solution for our devices wallpaper. ;)

    I'm sure it is caused by something in the 3a8e04af_manila file, but I haven't pinpointed it just yet.


    mwalt2 mentioned 285d005a_manila when he posted the code snippet ... Maybe you could take a look at his post (here) and check if it is the same issue. The _manila files in my MOD are a bit of a mess and include alot of variables to accomodate both VGA and WVGA devices with one file. If you have any questions about how they are working, or would like a copy of the source files so the variable names are easier to understand, shoot me a PM and I'll get back to you as soon as possible.
    1
    Yes, but you're using WM6.5 according to your (nice !) screenshots and Sense 2012 according to your signature.

    It's not quite as simple using WM6.5.x and Sense 2018+.

    The bars are often distorted when rotating, or switch from WM to Sense, etc.

    BTW, could you please explain HOW you did that for CHT 2.0 ?

    I used WM 6.1.
    1. I edit my shell.exe and aygshell.dll http://forum.xda-developers.com/attachment.php?attachmentid=320295&d=1272915476 (try with your own risk)
    2. Install CHT 2 and soft reset
    3. Install volDeus BG Tweak v0.6b4.CAB and soft reset
    4. Run volDeus BG Tweak v0.6b4.CAB, select the wallpaper portrait then landscape. Soft reset
    5. Start, picture & video, set as today background, set transparency = 0
    6. Find stwater_640x480.png (for VGA) at windows folder and copy this wallpaper to other folder
    7. CHT 2, set wallpaper, all tabs select portrait wallpaper, select landscape wallpaper stwater_640x480.png

    Have fun :)
    http://forum.xda-developers.com/showthread.php?t=686885&highlight=transparent+taskbar+softkey