Jump to content


Photo

[Systemui Mod] Integrated Cyanogenmod-Style Notification Toggles


  • Please log in to reply
50 replies to this topic

#1 sinewave

sinewave

    Member

  • Members
  • PipPip
  • 25 posts

Posted 23 September 2012 - 08:42 PM

!!!!!CAUTION!!!!!

Always have a backup of your system before trying any kind of mod that could compromise it.

 
Changes/Updates:

Please Login or Register to see this Hidden Content

About:
This mod is for deodexed stock jelly bean roms.  It is intended to be installed using Safestrap.
 
I have tested this mod on the deodexed system zip made available by DLuke here:

Please Login or Register to see this Hidden Content


 
I have not yet tested this with the deodexed files provided by jp1044 in the Bionic Roms Forum.
 
Version 1 has blue status indicators below each toggle, while Version 2 is meaent to more closely resemble the CyanogenMod power widget
 
You have my permission to modify/include this in your own projects.
 
Thanks:
to footracer1983 for introducing superdallas' RAG3 rom to everyone here over in the Bionic ROMS section Thanks to superdallas for his RAG3 rom, which was the first time I had seen the toggles on a stock bionic ics rom. I used

Please Login or Register to see this Hidden Content

to port the toggles to a stock jelly bean SystemUI.apk.
 
Thanks to Hashcode for developing Safestrap
 
Thanks to DLuke for the

Please Login or Register to see this Hidden Content


 
Thanks to MarkusMcNugen for helping me get this to work on jelly bean.
You might also be interested in

Please Login or Register to see this Hidden Content

if you have not already checked them out
 
 
Screenshot:

Version 1

Spoiler

 

Version 2

Spoiler

 
Download:
Version 1

Please Login or Register to see this Hidden Content


 
Version 2

Please Login or Register to see this Hidden Content


 
 
How to use with Safestrap:
-Place zip file on your sdcard
-If you have not done so already, back up your stock rom slot, create a new rom slot, and restore the backup of your stock slot to this new slot
-Make sure you have installed the deodexed files available from

Please Login or Register to see this Hidden Content


-Install the "SystemUI_Toggles.zip file"
 
 
P.S.
The entire apk has been optimized with just about every available lossless png compression utility. (Honestly, I'm not sure if there are any performance advantages to this at all, or if it's even necessary to compress PNGs stored in a zip archive but I'm sure it can't hurt).


  • johnlgalt, T3T3droid, Bama and 6 others like this

#2 johnlgalt

johnlgalt

    Antidisestablishmentarianist

  • Superuser
  • 7,296 posts
  • Twitter:https://twitter.com/JohnLGalt
  • Location3rd Rock
  • Current Device(s):Pixel 4 XL 128 GB

Posted 23 September 2012 - 08:54 PM

I've reached my quota of likes, so Thank you!!!!

BTW, does this work with all BIONIC ICS leaks?

Edited by johnlgalt, 23 September 2012 - 08:55 PM.


#3 sinewave

sinewave

    Member

  • Members
  • PipPip
  • 25 posts

Posted 23 September 2012 - 09:18 PM

You're welcome. :)

I believe so, but I don't really have a way to test. I'm on .232

I know it worked on the rag3 rom without problems, and I've had 3 other people say for sure that it worked but I didn't think to ask what version they were on.

You should be fine as long as you have a backup because the phone will still boot even if it cant load SystemUI.apk. You'll just have a missing status bar until you get your backup copy back where it belongs.

#4 johnlgalt

johnlgalt

    Antidisestablishmentarianist

  • Superuser
  • 7,296 posts
  • Twitter:https://twitter.com/JohnLGalt
  • Location3rd Rock
  • Current Device(s):Pixel 4 XL 128 GB

Posted 23 September 2012 - 10:09 PM

ugh, there were a ton of UI changes, particularly between .235 and .238. You might want to update the OP to reflect that you've only tested it on .232

#5 sinewave

sinewave

    Member

  • Members
  • PipPip
  • 25 posts

Posted 23 September 2012 - 10:31 PM

Thanks for the info. I'll grab some of the newer leaks and start working on it.

#6 johnlgalt

johnlgalt

    Antidisestablishmentarianist

  • Superuser
  • 7,296 posts
  • Twitter:https://twitter.com/JohnLGalt
  • Location3rd Rock
  • Current Device(s):Pixel 4 XL 128 GB

Posted 23 September 2012 - 11:16 PM

if you do, you'll be stuck on them - .232 is the last one you can FXZ back to .905 from.

#7 sinewave

sinewave

    Member

  • Members
  • PipPip
  • 25 posts

Posted 23 September 2012 - 11:52 PM

I was really close to updating to a newer leak but I decided I better not.. But I downloaded the .246 deodexed zip posted here just to see if if any of the relevant parts were changed very drastically and fortunately the files that need to be modded for this (res/values/strings.xml, res/values/ids.xml, res/values/public.xml, res/drawable-hdpi) seem to be exactly the same. I compiled the apk for .246 with the modifications and it seems to work on .232 so thankfully they must be similar enough in all the right places. I'll probably end up modding the rest of the leaks down to .232 just so everyone can make sure they don't lose out on any changes that occured between 232 and theirs.
  • johnlgalt likes this

#8 T3T3droid

T3T3droid

    D3v3lop3r/Th3m3r/Machin3

  • Developer
  • 1,115 posts
  • Google+:t3t3droid@gmail.com
  • LocationConnecticut
  • Current Device(s):Droid Bionic, Droid Razr M, SGS4

Posted 24 September 2012 - 02:34 AM

Great job man thanks!
Posted Image
Sig by Bama
If you like our work please consider
Donating towards
Phones and Site costs :D Thanks!!

#9 mossholderm

mossholderm

    n00b

  • Members
  • Pip
  • 5 posts

Posted 24 September 2012 - 04:19 AM

Doesn't seem to work on Liquid Blur with .232 ... I'll take a look at logcat a bit later and see if I can figure out what is going on.

#10 kbdroid

kbdroid

    Member

  • Members
  • PipPip
  • 25 posts

Posted 24 September 2012 - 05:31 AM

I'm getting an SystemUI.apk force close now after replacing it and my UI isn't showing up. I can't mount system as r/w either.. how can I bring my old one back now?

edit: Nevermind, somehow the system remounted as r/w on its own in E.S Explorer and I was able to get SystemUI.apk back. Also, I was doing this on a stock ICS leak (.232), aka on the unsafe side of safe strap.

#11 elreydotcix

elreydotcix

    n00b

  • Members
  • Pip
  • 17 posts
  • Google+:philip.saindon

Posted 24 September 2012 - 01:17 PM

Confirmed .246 file working on .244Thanks for this!

#unseen
  • johnlgalt likes this

#12 sinewave

sinewave

    Member

  • Members
  • PipPip
  • 25 posts

Posted 24 September 2012 - 01:26 PM

Doesn't seem to work on Liquid Blur with .232 ... I'll take a look at logcat a bit later and see if I can figure out what is going on.

That would be great

#13 sinewave

sinewave

    Member

  • Members
  • PipPip
  • 25 posts

Posted 24 September 2012 - 01:29 PM

I'm getting an SystemUI.apk force close now after replacing it and my UI isn't showing up. I can't mount system as r/w either.. how can I bring my old one back now?

edit: Nevermind, somehow the system remounted as r/w on its own in E.S Explorer and I was able to get SystemUI.apk back. Also, I was doing this on a stock ICS leak (.232), aka on the unsafe side of safe strap.


Are your apks deodexed? If you're not sure what that means, if you look in /system/app and you see any files ending in .odex, that's your problem.

And for future reference you can mount system as r/w by opening android terminal emulator and typing "su -c mount -o remount,rw /system"

#14 acordill

acordill

    Member

  • Members
  • PipPip
  • 97 posts
  • Twitter:https://twitter.com/@acordill
  • Google+:http://goo.gl/J90Lv
  • LocationCentral Florida

Posted 24 September 2012 - 02:24 PM

Now all we need is power menu mod to go with it. Nice work.
HoB 246 (Thanks to SamuriHL) running Icarus Hd 1.0 (Thanks to Jp1044 and T3T3Droid)

#15 razz1

razz1

    n00b

  • Members
  • Pip
  • 17 posts
  • Current Device(s):GS3

Posted 24 September 2012 - 03:12 PM

Nice work sinewave! Working great! Thank you.

#16 mossholderm

mossholderm

    n00b

  • Members
  • Pip
  • 5 posts

Posted 24 September 2012 - 07:22 PM

That would be great


Here is what I believe is the pertinent part of the logcat:

Please Login or Register to see this Hidden Content


Oddly, the AndroidManifest.xml file DOES exist in the apk, but mine, at least, is filled with control characters - mostly NULL bytes. I pulled the apk down again, just to be sure my copy wasn't hosed, with the same result Looking at the original file, it looks like it is identical.

Looks like the problem is on my end... /system/app has 0 bytes free.

#17 kbdroid

kbdroid

    Member

  • Members
  • PipPip
  • 25 posts

Posted 25 September 2012 - 04:34 AM

Are your apks deodexed? If you're not sure what that means, if you look in /system/app and you see any files ending in .odex, that's your problem.

And for future reference you can mount system as r/w by opening android terminal emulator and typing "su -c mount -o remount,rw /system"


Thanks. Yes, they are odexed. I'm running a completely clean, stock ICS. I guess I have to have a deodexed ICS for this to work, but I want to have a clean system as a dd.

#18 mossholderm

mossholderm

    n00b

  • Members
  • Pip
  • 5 posts

Posted 25 September 2012 - 05:09 AM

Here is what I believe is the pertinent part of the logcat:

<snip>

Looks like the problem is on my end... /system/app has 0 bytes free.


Just to confirm, works fine with Liquid Blur as long as you have enough space :)

#19 sinewave

sinewave

    Member

  • Members
  • PipPip
  • 25 posts

Posted 27 September 2012 - 06:45 PM

Sorry for taking so long with the other systemui versions and the flashable zip. Tomortow i have absolutely nothing to do and nowhere to be so i'll post something new either later tonight or tomorrow.

#20 StevenM27

StevenM27

    n00b

  • Members
  • Pip
  • 1 posts

Posted 28 September 2012 - 07:27 AM

Any chance on your ui mod mixed with dluke's battery mod?




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users