MoDaCo is undergoing planned maintenance. Site functionality may be reduced - follow @modaco or @paulobrien on Twitter for updates.

  • Announcements

    • Reminder - MoDaCo position on illegal content

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software
      Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)


      CUSTOM ROMS

      You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not be hosted directly in topic via the MoDaCo attachment system
      ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)
      ROMs must give full credit to the original author
      This decision has been taken in light of the huge amount of interest in this area of device customisation within the community, and member feedback! Please note that custom ROM discussion should be kept in specific device sub-areas, (e.g. Kaiser.MoDaCo.com for Kaiser based devices). ISSUES If you have any issues with this policy, please contact me directly via PM. P
    • Support MoDaCo by signing up to a MoDaCo Silver or Gold membership

      To sign up to an annual MoDaCo Silver subscription which will eliminate all ads from the site (as well as giving you access to the MoDaCo Online Kitchens for Android) for only £9.99 using PayPal, Credit or Debit Card, ensure you are logged in to the site, and then click the link below, which will take you directly to the subscription store! You can also sign up to an annual MoDaCo Gold subscription for £29.99, which adds the benefits listed below! PURCHASE A MODACO SUBSCRIPTION - FREE Titanium Backup Mobile for Android worth $5.99! - FREE 1 year PrivateInternetAccess.com worth $39.95! - FREE 1 year LastPass Premium worth $12! - FREE CalcConvert for Pocket PC from Binaryfish worth $17.95! - FREE Calendar Bar for Pocket PC from OmegaOne worth $9.99! - FREE CamerAware for Pocket PC and Smartphone from MoDaCo worth £19.99 / $30! - FREE Chronos for Pocket PC from ActiveKitten worth $14.95! - FREE CodeWallet Pro for Smartphone and Pocket PC from DeveloperOne worth up to $24.95! - FREE Concentrix for Pocket PC from eSoft Interactive worth $9.95! - FREE FlexMail for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE FTouchSL for Pocket PC from Vekoff s.r.o. worth 10 euro / $12.50! - FREE Jewel Challenge for Pocket PC from eSoft Interactive worth $9.95! - FREE John Cody's Alerts Pro for Smartphone from Omnisoft worth $14.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Dutch for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> French for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> German for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Italian for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Talking Dictionary 2008 English <-> Spanish for Pocket PC from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Dutch for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> French for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> German for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Russian for Smartphone from Lingvosoft worth $49.95! - FREE LingvoSoft Dictionary English <-> Turkish for Smartphone from Lingvosoft worth $49.95! - FREE Note2Self for Pocket PC and Smartphone from WebIS worth up to $19.90! - FREE Opera 8.60 for Pocket PC and Smartphone from Opera Software worth up to $48! - FREE Pocket Informant for Pocket PC and Smartphone from WebIS worth up to $59.90! - FREE Pocket Launcher for Pocket PC and Smartphone from Conduits worth $9.95! - FREE PTab for Pocket PC and Smartphone from z4soft worth up to $60! - FREE Resco Explorer for Pocket PC and Smartphone from Resco worth up to $49.90! - FREE Safemode for Pocket PC from monocube worth $12.95 - FREE SplashPhoto for Pocket PC and Smartphone from SplashData worth up to $59.90! - FREE Sprite Backup for Pocket PC and Smartphone from Sprite Software worth $29.95! - FREE Teksoft Glyphs UI for Pocket PC and Smartphone from Teksoft €9.95! - FREE Teksoft HeadsetRemote for Pocket PC and Smartphone from Teksoft €4.95! - FREE Traffic Jam for Pocket PC from eSoft Interactive worth $9.95! - FREE unlock (1 per year) from imei-check.co.uk - DISCOUNT of 10% at MoDaCo FairDeal - DISCOUNT of 10% at Semsons.com - FORUM - AD FREE SITE - FORUM - custom rank / title - FORUM - double competition entries - FORUM - double post attachment space - FORUM - no search flood control - FORUM - priority event registration - FORUM - triple PM space
    • Reminder: Selling items on the forum directly is not allowed

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspensions / ban.

CM-10 MODS COLLECTION[26.5][TRANSPARENT STATUBAR AND PULLDOWN, TRANSPARENT BUBBLE MMS, CENTER CLOCK, BRIGHTNESS SLIDER, AND MORE,,,]

170 posts in this topic

Posted · Report post

I finally managed to get the brightnessslider work! You just have to disable automatic brightness in the settings en the slider will appear! (And I confirm it works with the last update: 14-05)

Hey, nice to hear, I will still rebuild it as soon I can.

Yeah, I have read, that adi, who has originally ported this mod to cm10, had the same bug, so if you wanna use automatic brightness, you should tick it from brightness slider toggle :)

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Hey, nice to hear, I will still rebuild it as soon I can.

Yeah, I have read, that adi, who has originally ported this mod to cm10, had the same bug, so if you wanna use automatic brightness, you should tick it from brightness slider toggle :)

Thanks guys - wondering why it wasn't working. But AUTO doesn't seem to do anything on the brightness slider - stays the same. Any ideas ?

Also for me the icon on the LHS of bar should be white not blue to be consistent.

Prob - dialler mod does not work - installs OK but no change same solid background.

can you do same transparent mod on contacts ? Contacts in dialler are OK with dark background, but Contacts app itself is still black on white.

transparent statusbar did not work for me - amy I missing something to change in settings ? or should try a different combo ?

anyone know of a flashable mod to change the green MMS icon to ISC blue ? Have done it manually via .png files on the desktop & lockscreen, but really want the APPS icon changing too. Not worries about a complete theme - happy with having standard icons for everything else.

Edited by jonmac73
0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks guys - wondering why it wasn't working. But AUTO doesn't seem to do anything on the brightness slider - stays the same. Any ideas ?

Also for me the icon on the LHS of bar should be white not blue to be consistent.

Prob - dialler mod does not work - installs OK but no change same solid background.

can you do same transparent mod on contacts ? Contacts in dialler are OK with dark background, but Contacts app itself is still black on white.

transparent statusbar did not work for me - amy I missing something to change in settings ? or should try a different combo ?

anyone know of a flashable mod to change the green MMS icon to ISC blue ? Have done it manually via .png files on the desktop & lockscreen, but really want the APPS icon changing too. Not worries about a complete theme - happy with having standard icons for everything else.

I am not confused that some of mods doesnt work, because all those mods are for daemonds older build, so I will update this whole stuff in this topic, so you just need to be patient, and wait some days :)

About transparent contacts, I will try to make it soon...

I dont know is automatic brightness working or not, I will test it too.

0

Share this post


Link to post
Share on other sites

Posted · Report post

The first link is incorrect - for Transparent notification pulldown leads to the file "WHITE-CENTER CLOCK+TRANSPARENT STATUSBAR PULLDOWN+BRIGTHNESS SLIDER.zip" :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

The first link is incorrect - for Transparent notification pulldown leads to the file "WHITE-CENTER CLOCK+TRANSPARENT STATUSBAR PULLDOWN+BRIGTHNESS SLIDER.zip" :)

Oups, thanks for report. Its hard to play with many files... I will try to fix it when I am at home. I will update every zip soon, so I do not recommend to install these mods coz those are for older daemond build.
0

Share this post


Link to post
Share on other sites

Posted · Report post

Updated!

Updated every zip to daemond 14.5 release, so relflash needed.

I think that cm10 is getting to end of its life, but as long daemond releases updated, I will update my mods to work with them, as in cm10.1 thread too :)

2

Share this post


Link to post
Share on other sites

Posted · Report post

Could you please send me your sources of the 3rd mod? I'm compiling a customized version of CM10, and it'd be nice if I could integrate it to my ROM :)

0

Share this post


Link to post
Share on other sites

Posted · Report post

Could you please send me your sources of the 3rd mod? I'm compiling a customized version of CM10, and it'd be nice if I could integrate it to my ROM :)

Yeah, of course. But are u really compiling from source code, or do you just modify apks inside daemond cm10, but I for center clock, just decompile SystemUI.apk from zip, take status_bar.xml from it and replace yours. For transparent pulldown, I will tell later coz I am not at my computer now :)
1

Share this post


Link to post
Share on other sites

Posted · Report post

Okay, here u go ziyan:

This will give u transparent notification pulldown:

1. Decompile SystemUI.apk

2. Go to SystemUI\smali\com\android\system ui\statusbar\phone and open PhoneStatusBar$FastColorDrawable.smali

3. Find line:

iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;->mColor:I

4. Change it to const v0, -0x68000000

5. Compile

6. Flash and try, if it doesnt work, post here :)

1

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Okay, here u go ziyan:

This will give u transparent notification pulldown:

1. Decompile SystemUI.apk

2. Go to SystemUI\smali\com\android\system ui\statusbar\phone and open PhoneStatusBar$FastColorDrawable.smali

3. Find line:

iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar$FastColorDrawable;->mColor:I

4. Change it to const v0, -0x68000000

5. Compile

6. Flash and try, if it doesnt work, post here :)

Thanks, I'm compiling from source code, but I'll try copying your status_bar.xml over the one in the sources :) I'm so dumb, this will really work...

As for the transparent pulldown, I found this in PhoneStatusBar.java:


private static class FastColorDrawable extends Drawable {

	 private final int mColor;


	 public FastColorDrawable(int color) {

		 mColor = 0xff000000 | color;

	 }


	 @Override

	 public void draw(Canvas canvas) {

		 canvas.drawColor(mColor, PorterDuff.Mode.SRC);

	 }


	 @Override

	 public void setAlpha(int alpha) {

	 }


	 @Override

	 public void setColorFilter(ColorFilter cf) {

	 }


	 @Override

	 public int getOpacity() {

		 return PixelFormat.OPAQUE;

	 }


	 @Override

	 public void setBounds(int left, int top, int right, int bottom) {

	 }


	 @Override

	 public void setBounds(Rect bounds) {

	 }

}

I'm not sure if replacing that 0x.. value with -0x68000000 would work, but I'll try something. :D

Edited by ziyan
0

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks, I'm compiling from source code, but I'll try copying your status_bar.xml over the one in the sources :) I'm so dumb, this will really work...

As for the transparent pulldown, I found this in PhoneStatusBar.java:


private static class FastColorDrawable extends Drawable {

     private final int mColor;


     public FastColorDrawable(int color) {

         mColor = 0xff000000 | color;

     }


     @Override

     public void draw(Canvas canvas) {

         canvas.drawColor(mColor, PorterDuff.Mode.SRC);

     }


     @Override

     public void setAlpha(int alpha) {

     }


     @Override

     public void setColorFilter(ColorFilter cf) {

     }


     @Override

     public int getOpacity() {

         return PixelFormat.OPAQUE;

     }


     @Override

     public void setBounds(int left, int top, int right, int bottom) {

     }


     @Override

     public void setBounds(Rect bounds) {

     }

}

I'm not sure if replacing that 0x.. value with -0x68000000 would work, but I'll try something. :D

Hmm, try first compile without any changes. And DO NOT COPY status_bar.xml abd replace same file in scode. Pulldown mod works only after compiling, the code u posted, is java code. So first compile, then apply my mods AFTER compile, not before.

Ps. If u manage to compile, could u tell me too, how did u do it?

0

Share this post


Link to post
Share on other sites

Posted · Report post

Hmm, try first compile without any changes. And DO NOT COPY status_bar.xml abd replace same file in scode. Pulldown mod works only after compiling, the code u posted, is java code. So first compile, then apply my mods AFTER compile, not before.

Ps. If u manage to compile, could u tell me too, how did u do it?

I mean copying status_bar.xml, it's not compiled when compiling a rom, it's just 'copied' into the resulting apk file, so overwriting it in the source is safe.

As for the pulldown, I'll try it today, and edit this post with the results :) I think I got it, but I can't test it right now.

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I mean copying status_bar.xml, it's not compiled when compiling a rom, it's just 'copied' into the resulting apk file, so overwriting it in the source is safe.

As for the pulldown, I'll try it today, and edit this post with the results :) I think I got it, but I can't test it right now.

I dont think that its safe, coz the files in source code are much different, than in decompiled apk :)

But of course u can try, but for transparent pulldown, u must mofify the decmpiled .smali file, not the file in source code, modifying it, will propably get u stuck while compiling :(

And the file u must edit, will be PhoneStatusBar$FastColorDrawable.smali, not PhoneStatusBar.java: because it is java file, and u cannot modify it, like .smali file, those files are completely different thing! But of course u can try, but I recommend to modify files after compiling.

Edited by peetu20
0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

I dont think that its safe, coz the files in source code are much different, than in decompiled apk :)

But of course u can try, but for transparent pulldown, u must mofify the decmpiled .smali file, not the file in source code, modifying it, will propably get u stuck while compiling :(

And the file u must edit, will be PhoneStatusBar$FastColorDrawable.smali, not PhoneStatusBar.java: because it is java file, and u cannot modify it, like .smali file, those files are completely different thing! But of course u can try, but I recommend to modify files after compiling.

Got it working! First of all, I compared your status_bar.xml file with the one in the sources: the only modification I had to do was a search and replace in your status_bar.xml: @id to @+id. After that, the two xml files looked equal, apart from the center clock modification of course.

Now, the pulldown:

First of all, $ in java (smali is like compiled java code) means a subclass included in a class, and this subclass can only be accessed from the parent class, so it's pretty safe to modify it. So, PhoneStatusBar$FastColorDrawable means that I had to look for PhoneStatusBar.java, and inside it, for another class (FastColorDrawable). So, in this file, this is the line that calls that class, around at line 450-500:


mNotificationPanel.setBackground(new FastColorDrawable(context.getResources().getColor(

					R.color.notification_panel_solid_background)));

And the subclass:
mNotificationPanel.setBackground(new FastColorDrawable());
And the modified class:

After that, I compiled and installed it (while praying :D ), and, guess what? Everythings fine, the result looks just like your screenshot! Well, I think I'll increase 68 to something like A0, because I think it's too transparent now. Thanks for your help :)

private static class FastColorDrawable extends Drawable {

private final int mColor;


public FastColorDrawable(int color) {

mColor = 0xff000000 | color;

}


@Override

public void draw(Canvas canvas) {

canvas.drawColor(mColor, PorterDuff.Mode.SRC);

}


@Override

public void setAlpha(int alpha) {

}


@Override

public void setColorFilter(ColorFilter cf) {

}


@Override

public int getOpacity() {

return PixelFormat.OPAQUE;

}


@Override

public void setBounds(int left, int top, int right, int bottom) {

}


@Override

public void setBounds(Rect bounds) {

}

}
I modified it to be just a tiny bit faster too, by eliminating the mColor and color variables. For this, I had to modify the constructor too, so the new code that calls it is:

private static class FastColorDrawable extends Drawable {

	 public FastColorDrawable() {

	 }

	 @Override

	 public void draw(Canvas canvas) {

		 canvas.drawColor(0x68000000, PorterDuff.Mode.SRC);

	 }

	 @Override

	 public void setAlpha(int alpha) {

	 }

	 @Override

	 public void setColorFilter(ColorFilter cf) {

	 }

	 @Override

	 public int getOpacity() {

		 return PixelFormat.OPAQUE;

	 }

	 @Override

	 public void setBounds(int left, int top, int right, int bottom) {

	 }

	 @Override

	 public void setBounds(Rect bounds) {

	 }

}

Edited by ziyan
0

Share this post


Link to post
Share on other sites

Posted · Report post

Got it working! First of all, I compared your status_bar.xml file with the one in the sources: the only modification I had to do was a search and replace in your status_bar.xml: @id to @+id. After that, the two xml files looked equal, apart from the center clock modification of course.

Now, the pulldown:

First of all, $ in java (smali is like compiled java code) means a subclass included in a class, and this subclass can only be accessed from the parent class, so it's pretty safe to modify it. So, PhoneStatusBar$FastColorDrawable means that I had to look for PhoneStatusBar.java, and inside it, for another class (FastColorDrawable). So, in this file, this is the line that calls that class, around at line 450-500:


mNotificationPanel.setBackground(new FastColorDrawable(context.getResources().getColor(

					R.color.notification_panel_solid_background)));

And the subclass:
mNotificationPanel.setBackground(new FastColorDrawable());
And the modified class:

After that, I compiled and installed it (while praying :D ), and, guess what? Everythings fine, the result looks just like your screenshot! Well, I think I'll increase 68 to something like A0, because I think it's too transparent now. Thanks for your help :)

private static class FastColorDrawable extends Drawable {

private final int mColor;


public FastColorDrawable(int color) {

mColor = 0xff000000 | color;

}


@Override

public void draw(Canvas canvas) {

canvas.drawColor(mColor, PorterDuff.Mode.SRC);

}


@Override

public void setAlpha(int alpha) {

}


@Override

public void setColorFilter(ColorFilter cf) {

}


@Override

public int getOpacity() {

return PixelFormat.OPAQUE;

}


@Override

public void setBounds(int left, int top, int right, int bottom) {

}


@Override

public void setBounds(Rect bounds) {

}

}
I modified it to be just a tiny bit faster too, by eliminating the mColor and color variables. For this, I had to modify the constructor too, so the new code that calls it is:

private static class FastColorDrawable extends Drawable {

	 public FastColorDrawable() {

	 }

	 @Override

	 public void draw(Canvas canvas) {

		 canvas.drawColor(0x68000000, PorterDuff.Mode.SRC);

	 }

	 @Override

	 public void setAlpha(int alpha) {

	 }

	 @Override

	 public void setColorFilter(ColorFilter cf) {

	 }

	 @Override

	 public int getOpacity() {

		 return PixelFormat.OPAQUE;

	 }

	 @Override

	 public void setBounds(int left, int top, int right, int bottom) {

	 }

	 @Override

	 public void setBounds(Rect bounds) {

	 }

}

Whooah, amazing!!! :)

You can set different transparency with those codes:

0x00000000 (100%)

0x88000000 (75%)

0x7f000000 (50%)

0xd8000000 (25%)

0xee000000 (15%)

And hey, I have tried to compile too, without success, which ubuntu and compiling guide did u use??? :D

0

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

Whooah, amazing!!! :)

You can set different transparency with those codes:

0x00000000 (100%)

0x88000000 (75%)

0x7f000000 (50%)

0xd8000000 (25%)

0xee000000 (15%)

And hey, I have tried to compile too, without success, which ubuntu and compiling guide did u use??? :D

I'm using Ubuntu 12.04.2 (I'd use 13.04, but it's not LTS, so I'd have to upgrade every year, and upgrading ubuntu is like upgrading from CM7 to CM9 without wipe - it's a pain). For java, I used this guide: http://forum.xda-dev...d.php?t=1988701. When installing the required build packages, it said it'll remove mesa packages... it'd break the system, so I stopped there (to yell... damn, I hate linux, doing even a much simpler thing is so complicated!). Using the first guide, plus these: http://www.kernel-xp...d/32-build-cm10 http://source.androi...itializing.html http://forum.xda-dev...d.php?t=1971645 https://github.com/g...ybean/README.md, I got it working somehow (I also used google :D )

Edited by ziyan
0

Share this post


Link to post
Share on other sites

Posted · Report post

I'm using Ubuntu 12.04.2 (I'd use 13.04, but it's not LTS, so I'd have to upgrade every year, and upgrading ubuntu is like upgrading from CM7 to CM9 without wipe - it's a pain). For java, I used this guide: http://forum.xda-dev...d.php?t=1988701. When installing the required build packages, it said it'll remove mesa packages... it'd break the system, so I stopped there (to yell... damn, I hate linux, doing even a much simpler thing is so complicated!). Using the first guide, plus these: http://www.kernel-xp...d/32-build-cm10 http://source.androi...itializing.html http://forum.xda-dev...d.php?t=1971645 https://github.com/g...ybean/README.md, I got it working somehow (I also used google :D )

I hate linux too :D , but I need to use it for compiling, and in future as daily, coz I will not use win8, god thank I still have win7 on laptop

I will read ur guides soon :)

I have ubuntu 13.04, lets see does it work with compiling :D

0

Share this post


Link to post
Share on other sites

Posted · Report post

i tried the mod with trasparent statusbar, pulldown and britness slider; it is really neatly done but after flashing the zip the nav bar disappeared and i was not able to bring it back by any means . can u plz fix that.

0

Share this post


Link to post
Share on other sites

Posted · Report post

i tried the mod with trasparent statusbar, pulldown and britness slider; it is really neatly done but after flashing the zip the nav bar disappeared and i was not able to bring it back by any means . can u plz fix that.

Do you have cm10? I have never had such problem...
0

Share this post


Link to post
Share on other sites

Posted · Report post

Do you have cm10? I have never had such problem...

yup i do have cm 10, daemond's [DEV][ROM][14.5.] CyanogenMod 10 (Continuation of KonstaT's work)

0

Share this post


Link to post
Share on other sites

Posted · Report post

yup i do have cm 10, daemond's [DEV][ROM][14.5.] CyanogenMod 10 (Continuation of KonstaT's work)

I think thats something to related rom...try to reflash whole rom and then install mods.
0

Share this post


Link to post
Share on other sites

Posted · Report post

4.Transparent statusbar+pulldown+center clock

What's the weather widget ?? I like it ^^

0

Share this post


Link to post
Share on other sites

Posted · Report post

Go weather EX

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.