Jump to content

mattlokes

Members
  • Content Count

    33
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mattlokes

  • Rank
    Newbie
  • Birthday 12/17/1989

Profile Information

  • Location
    UK
  • Your Current Device(s)
    HTC Desire, Advent Vega
  1. I know that this is posted in the Themes Competition but as it contains a guide to tweaking various files as well some customised mods I wasn't sure which to post in. Sorry if this is in the wrong place. A few weeks back I worked out a way of changing the notification bar so it would be transparent. I created several pre-packaged tweaks in various colours on the transparency and also a guide to creating your own themes as well. See topic below for more infomation: [HOW TO] Make the Notification Bar Transparent Matt
  2. I have been really busy with Uni Project and finally managed to write up the last part to the guide :( Thanks Matt
  3. Hi, A few weeks back I worked out a way of changing the notification bar so it would be transparent. I created several pre-packaged tweaks in various colours on the transparency and also a guide to creating your own themes as well. See topic below for more infomation: [HOW TO] Make the Notification Bar Transparent Matt
  4. Ok well for those interested, I couldn't get the umount adb command to work with the temporary fix so I worked out a way to resize the cache partition permanently to 50Mb which will keep me future proof until Google increase the App size again. All i did was make a clockwork backup of my system then using the advent installer, I then used a hack I had done before which i wrote a guide on at : Guide to Hacking Advent Stock ROM Installer then by replacing all the images in the stock installer with the clockwork backup, then fiddling with the flash.cfg file to resize the CAC partition to have size=55554432 rather than the previous size=33554432. Then ran lvds.bat and it restored my system to normal with a bigger cache partition. Did lose out on my data partition of course but i have a 16gb microsd so app space is not really a problem :huh: Now Playing Samurai II : Vengeance :) Matt
  5. :) As i said, when i type UMOUNT /cache it returns failed :P i had a go with unmount for a while and it kept saying didn't know what i was talking about then i saw your post about umount and tried that and all i get is just failed :S
  6. all i get when i follow these instructions are umount /cache then it returns failed. :S any ideas :huh: ?? Matt
  7. Thanks for the answers :huh: i knew it would be either 500mA or 100mA i just didn't want to get the ammeter out and the usb breakout boards. Going on a long haul flight and i want to be able to power the USB hdd off of another battery rather than the vegas usb power so that it will last longer. Cheers for your input :)
  8. Hi guys does anyone know what the USB current limit of the Vega is when the device is in host mode? Im trying to work out how much current my usb HDD is pulling!
  9. I have admit I'm surprised by the losing your Google account thing, there must be something linked with it in the services.jar file. However that is probably one of the most difficult parts of the modification as it requires pulling the file apart and adding an extra line in one of the .smali files. @Sir Gash - I had the same problem as you with occasionally insufficient space and I removed all the ring-tones from the system files as they are not really used this free's up a fair bit of space and allows for custom boot screens as well which is listed in another topic here on Modaco. @TylerDurden - I forget to mention it in this thread this Mod only currently works with a live wallpaper which is why you will be having issues. Also i'm running 1.08. I will be writing the full part 2 guide later, Thanks for your feedback, keep it coming ;)
  10. Take a looky! [HOW TO] Make the Notification Bar Transparent
  11. ############## [GUIDE TO] Make the Notification Bar Transparent ########### This works best with a Live-Wallpaper! This is guide is split into two parts. Part 1: Installing Notification Bar Mod Packs Created by Me Part 2: Creating Your Own Notification GUI Hacks The usual disclaimer... I can't be held responsible for anything that could happen with following this guide, I have done the procedure in Part 1 about 20 times and never broken anything, all modifications are of the GUI nature and should not cause any problems. IMPORTANT NOTE: Could require you to re sync with your Google Account with the Device! Hope everyone finds something they are looking for here! ######## PART 1 ######## INSTALLING NOTIFICATION BAR MOD PACKS ################# You will need: - ADB - A bit of command line know how ;) - One of the Mod Packs below. Steps 1. Download one of the Mod Packs below and extract (unzip) 2. Copy the files framework-res.apk & services.jar to the directory containing adb.exe or adb-windows.exe. 3. Open up CMD and navigate to the same directory as above. 4. Make sure USB Debugging is enabled on the Vega. (Oh and make sure the device is in USB Slave mode!) 5. Enter the following commands to make a backup of your current notification bar files: adb remount adb pull system/framework/framework-res.apk framework-res-backup.apk adb pull system/framework/services.jar services-backup.jar 6. Now to Apply the Mod Pack enter the following commands: adb remount adb shell rm system/framework/services.jar adb shell rm system/framework/framework-res.apk adb push services.jar system/framework/services.jar adb push framework-res.apk system/framework/framework-res.apk adb reboot 7. If any error messages appear on the Vega at this point don't worry, the Vega will now reboot! 8. When the Vega boots up you can enjoy your new notification bar! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ FAQ Q: When I try to push one of the files across it says that I have insufficient space. A: To free up some space try removing all of the ringtones to do this: adb remount adb shell # cd system/media/audio/ringtones/ # rm *.ogg # exit adb reboot The device will boot up blank but ADB will still be running so retry step 6 from above ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http://code.google.com/p/smali/ - Hex Editor Steps: 1. First retrieve framework-res.apk from your Vega and save a copy of it to a safe place. adb remount adb pull system/framework/framework-res.apk framework-res.apk 2. Using WINRAR open up the framework-res.apk so that you can see the contents. 3. Navigate to res/drawable-mdpi-v4/ 4. All the .png files contained are the icons for various parts of the UI of the android desktop. 5. By dragging the icons you wish to edit out of the winrar will extract them so that they can be edited. when you are finished editing the icons using your image editor of choice go to step 6. Below are all the image files that i changed to created the modpacks above with description of what each image is. stat_back.png --- Icon for back button on the notification bar. stat_home.png --- Icon for home button on the notification bar. stat_notify_wifi_in_range.png --- Icon for Wifi in range but not connected on the notification bar. stat_sys_adb.png --- Icon for ADB Usb Debugging on the notification bar. stat_sys_battery_0.png --- Icon for 0% Battery on the notification bar. stat_sys_battery_10.png --- Icon for 10% Battery on the notification bar. stat_sys_battery_20.png --- Icon for 20% Battery on the notification bar. stat_sys_battery_40.png --- Icon for 40% Battery on the notification bar. stat_sys_battery_60.png --- Icon for 60% Battery on the notification bar. stat_sys_battery_80.png --- Icon for 80% Battery on the notification bar. stat_sys_battery_100.png --- Icon for 100% Battery on the notification bar. stat_sys_battery_charge_anim0.png --- Battery Charging Animation Frame 1 on the notification bar. stat_sys_battery_charge_anim1.png --- Battery Charging Animation Frame 2 on the notification bar. stat_sys_battery_charge_anim2.png --- Battery Charging Animation Frame 3 on the notification bar. stat_sys_battery_charge_anim3.png --- Battery Charging Animation Frame 4 on the notification bar. stat_sys_battery_charge_anim4.png --- Battery Charging Animation Frame 5 on the notification bar. stat_sys_battery_charge_anim5.png --- Battery Charging Animation Frame 6 on the notification bar. stat_sys_battery_unknown.png --- Icon for Battery Error on the notification bar. stat_sys_data_bluetooth.png --- Icon for Bluetooth on the notification bar. stat_sys_data_bluetooth_connected.png --- Icon for Bluetooth Connected on the notification bar. stat_sys_data_usb.png --- Icon for USB Connected on the notification bar. stat_sys_headset.png --- Icon for Headset Connected on the notification bar. stat_sys_ringer_silent.png --- Icon for Silent Mode on the notification bar. stat_sys_wifi_signal_0.png --- Icon for Wifi Signal Strength 0 bar on the notification bar. stat_sys_wifi_signal_1.png --- Icon for Wifi Signal Strength 1 bar on the notification bar. stat_sys_wifi_signal_2.png --- Icon for Wifi Signal Strength 2 bar on the notification bar. stat_sys_wifi_signal_3.png --- Icon for Wifi Signal Strength 3 bar on the notification bar. stat_sys_wifi_signal_4.png --- Icon for Wifi Signal Strength 4 bar on the notification bar. statusbar_background.9.png --- Notification Bar Background! changing this will allow for diffrent colour bars and transparent bars. title_bar_shadow.9.png --- This is a very thing shadow line that appears under the statusbar_background.9.png. 7. Now that you have edited all of the files you wish to change on your notification bar you need to drag these new files back into the WINRAR window navigated to res/drawable-mdpi-v4/ this will automatically repackage the framework-res.apk 8. The only thing that has not been changed is the colour of the text for things in the notification bar and the colour of the clock. If you don't wish to change this jump to step 22. 8a. If you want to change the text colour and the clock colour to black then you can skip all these steps below and download yourself a modpack from above and steal the services.jar file and the /system/framework/framework-res.apk/res/layout/status_bar.xml file and replace it with your framework-res.apk file at the same location. Then jump to step 22. 9. To change the text colour is a little more complex than just changing some images. Firstly you will need to retrieve the services.jar file from the vega using: adb remount adb pull system/framework/services.jar services-backup.jar Once again make sure that you store a copy of the file somewhere safe so that you can restore it. 10. Downlad Smali and baksmali from the link above in the "What you will need" Section. 11. Once again using WINRAR open the services.jar file and copy out the file classes.dex to the location you downloaded smali and baksmali too. 12. Now using CMD navigate to the location where classes.dex and smali is saved. Then use the command: java -jar baksmali-1.2.6.jar -o classout/ classes.dex PLEASE NOTE the section saying baksmali-1.2.6.jar could be different depending on the actual file name of your downloaded baksmali. This also applies to later when using smali. 13. Now navigate to the newly created folder and navigate to classout/com/android/server/status/status and open up the file StatusBarIcon.smali in a text editor like Scite or Notepad. 14. Find the line that says .line 46. and change the line that says const/high16 v6, -0x100 to const/high16 v6, -0x0 for black or change it to a different value related to the colour you want. 15. Save the file and go back to CMD and use the following command: java -Xmx512M -jar smali-1.2.6.jar classout/ -o classes_edit.dex 16. Then rename to classes.dex and drag it back into the WINRAR window that contains the contents of services.jar (replacing the old classes.dex) 17. Now you have changed the colour of the clock on the notification bar. To change all other notification bar text colours continue to the next step. 18. Go back to the framework-res.apk file and open it in WINRAR 19. Navigate too /system/framework/framework-res.apk/res/layout/status_bar.xml and open it in your hex editor of choice I used HxD. 20. Search the file for the 16bit words 00 00 1C and replace the next 3 with the hex value of the colour you want i.e 00 00 00 for Black. (RGB Format) 21. Save this file and make sure that it goes back into the framework-res.apk WINRAR window replacing the old file. 22. Congratulations if you have got this far :D Nearly Done. Now it is time to push all the files you have edited back to the vega. Use the commands: adb remount adb shell rm system/framework/services.jar adb shell rm system/framework/framework-res.apk adb push services.jar system/framework/services.jar adb push framework-res.apk system/framework/framework-res.apk adb reboot 23. Your Vega will now reboot and you should see all your hard work paid off! I hope this guide helps you all with the basics of creating themes and allow you to fully customise your vegas!!! Matt Completely Transparent Notification bar Mod Pack Download: MEDIAFIRE MIRROR TRANSPARENT Red Transparent Notification bar Mod Pack Download: MEDIAFIRE MIRROR RED Blue Transparent Notification bar Mod Pack Download: MEDIAFIRE MIRROR BLUE Grey Transparent Notification bar Mod Pack Download: MEDIAFIRE MIRROR GREY ######## PART 2 ######## CREATING YOUR OWN NOTIFICATION BAR GUI HACKS ################# WARNING: This is a fair bit more difficult than Part One but if you have read and understood Part One for some of the basics then it should be done without to much difficulty. You will need: - ADB - Intermediate Command Line Knowledge ;) - Image Editor which can do alpha channels I used GIMP but I imagine Photoshop will also work. - WINRAR - Smali
  12. Hey its a live wallpaper called Bezier - Live Wallpaper, took me a while to set it up how i like it but it flows really nicely all the time, changing colours ;) works far far better on my Vega than my Desire. Guide shall be ready soon, just making finishing touches to some standard packs for those that don't want to fiddle with the apks and .jars. Matt
  13. OK So I managed to fix the fact that my clock and battery percentage is white and cannot be seen on my live wallpaper and also can now do semitransparent bars as shown by the following screenshot! Just got to sort out how to fixe normal wallpapers then i will write a guide! Anything you guys would like to see?
  14. Cool im just fiddling around with the apks xml now as i have apk manager working so I will post up the instructions when I'm done! Also the semi-transparent bar idea is great ill have a go with that as well. Matt
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.