yashsingh1/xdaforums huggingface dataset:
[Android Themes] kpirnie:
Here's my lockscreen for this.

<?xml version="1.0" encoding="utf-8"?>
<com.android.keyguard.sec.SecKeyguardClockView android:orientation="vertical" android:id="@id/keyguard_sec_clock_view" android:layout_width="fill_parent" android:layout_height="wrap_content"
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
<FrameLayout android:id="@id/keyguard_sec_clock_holder" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</FrameLayout>
<com.adi.rom.interface.MusicEqualizerVisualizer android:gravity="bottom" android:id="@id/new_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="120.0dip" android:layout_marginBottom="8.0dip">
<FrameLayout android:id="@id/new_custom_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.adi.rom.interface.VisualizerView android:id="@id/new_custom_visualizer_view" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</FrameLayout>
</com.adi.rom.interface.MusicEqualizerVisualizer>
<LinearLayout android:orientation="vertical" android:id="@id/keyguard_sec_clock_bottom" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@dimen/kg_owner_text_left_margin">
<TextView android:textSize="@dimen/kg_owner_text_size" android:textColor="@color/theme_profile_text_color" android:ellipsize="marquee" android:id="@id/keyguard_owner_info" android:clickable="true" android:layout_width="fill_parent" android:layout_height="wrap_content" android:singleLine="true" android:shadowColor="#7f000000" android:fontFamily="sec-roboto-light" style="@style/keyguard_text_shadow" />
<TextView android:textSize="@dimen/kg_travel_text_size" android:textColor="#ffffffff" android:gravity="left" android:layout_gravity="bottom" android:id="@id/keyguard_travel_text" android:focusable="true" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="wrap_content" android:shadowColor="#c0000000" style="@style/keyguard_text_shadow" />
</LinearLayout>
</com.android.keyguard.sec.SecKeyguardClockView>

Right now, the eq does indeed work, so long as there are no notifications. Once the notifications start popping in, the eq freezes, and becomes hidden behind the notifications...
[Android Themes] kpirnie:
delete
[Android Themes] kpirnie:
screen of this with notices transparent...

sry bout that last one folks... on mobile...

eq is also frozen like that... no animation.
[Android Themes] kpirnie:
hey mate...

quick q for ya...

if i want it in multiple places... do i need to duplicate any methods? and then add/change the public id's?

i have it in my recents... where it works like a champion... but also copied to my status_bar and keyguard... but... they both show the eq... just no animations... only recents shows the animation...

t.i.a.
[Android Themes] LuanHalaiko:
Please help when I edit the status_bar_expanded.xml I get recompilation errors
[Android Themes] Ticklefish:
Those errors nornally say what the problem is. Have a look at what they say and then you can fix the issue.
[Android Themes] LuanHalaiko:
I can't becouse it give errors becouse the new codes
[Android Themes] LowTension:
[MENTION=5204709]Adi Aisiteru Reborn[/MENTION] works fine on MTK KK but i have issues(in volume popup and green color in notification header)
[Android Themes] Grohden:
why dont try Xposed?

Have you tried to make a xposed mod?I've made a mod that used systemUI and framework-res decompilation with apktool and got a lot of problems.. But I've tried xposed and its very simple,(my problem new is how I can get dimens from user prefs) you should look , or recommend ninjamorph or the other that I can't remember the name for decompile on phone.. Just suggestion XD

And sorry bad English :silly:
[Android Themes] anthonyg45157:
Xposed would be nice for an "easy way out". Lots of people would enjoy that. Even I would...buttttt...

...Off I go to do some tinkering! :) thanks for this!!
[Android Themes] Karamvir Singh:
just a question

Can the hieght of the equalizer bars be adjusted.....and also can we make the bars	continuous...instead of the piece by piece look.....I think that will look better on lollipop....though I am on JB right now.

PS awesome guide man.....thanks for sharing...
[Android Themes] G.Pawar:
Nice Tut bro I think it's work perfect in my xperia e1 I will try later

Send From Xperia E1

If I Help U Then Press Thanks Button It's Free
[Android Themes] nand.96:
Can u share me ur SystemUI? I'm on 5.1 build LMY47O ... Can u share!?
[Android Themes] uriel_zo:
I'm on 5.1 build LMY470 Moto G

You work?
[Android Themes] nand.96:
No i didnt try..My pc is Cracked! :/ So, i wanted if someone else can help!? And how did u edit Settings Background?? Is xposed working on urs? If yes..how??
[Android Themes] atulclassic:
Can anyone post a modified systemUI.apk for Nexus4 running CM12 since i am a noob at compile/decompile stuff.
[Android Themes] uriel_zo:
I do not use xposed

Edit manually

Which de vice you use?
[Android Themes] nand.96:
I use Android One project device! Symphony Roar.. Only locally available! :)
[Android Themes] FSadino:
I will try, thanks ;)
[Android Themes] FdeKlerk:
WHY?

Hi.

So i just gave this a try and all went well with decompiling and recompiling but it does not work at all. I am using aryamod v4.1 (lollipop 5.0)

Can the op maybe tel me what may be wrong?
[Android Themes] Rohit Gupta @123:
What Error I'm Getting Adi Sir ? :confused:

I Had Compiled Smali Before :) But didn't Get Error Like This I Can't Understand Error :p

Help Me

Regards

Send From YUREKA
[Android Themes] syaeful:
use new apktool!!!
[Android Themes] abhishekr700:
Yippeee

Works perfectly on 4.2.2 JB

[MENTION=5204709]Adi Aisiteru Reborn[/MENTION]

One small suggesstion.you mentioned that it works with all OS that have that visualiser.smali and the other file.

Please specify there that these are inside the framework.jar not to look for them in SystemUI

Rest works like charm !!!!!!!!!!

And you have made the news..

http://www.xda-developers.com/mod-spotlight-graphic-equalizer-for-notification-panel/
[Android Themes] silentvisitor:
Great mod !

I really wish someone would make an Xposed module of it.

Thanks :good:
[Android Themes] -->:
Lollipop compatible?

Is it work on lollipop too?? :D
[Android Themes] NFS_FM:
Tried on Sony's stock 4.4.4, unfortunately it didn't work.
[Android Themes] chyri1:
Could someone post the UI system modified to Nexus 5 5.1?
[Android Themes] Jullian_Ms:
Awesome!

Awesome work bro :D

and yes, working on GB

:D

[IMG="On my Galaxy Ace whit GB"]http://i.imgur.com/rYikEM3.png[/IMG]
[Android Themes] dlclassic:
I also would not be able to perform this. How possible would a flashable zip be for this?
[Android Themes] andybones:
Yes.

I'm using this great mod on android 5.0.1, I posted a pic on page 2 of this thread. Only wish the bar images were able to be changed to be larger.
[Android Themes] kennyjackson19:
Will it work on Xperia z2 existence rom?
[Android Themes] genius.lizard2:
thanks for this mod. [MENTION=5204709]Adi Aisiteru Reborn[/MENTION]

i'm modifying note edge SystemUI.

everything goes perfect until Step 4! my Public.xml file only has these lines:

<public type="integer" name="custom_equalizer_divisions" id="0x7f0cXXXX" />
<public type="integer" name="custom_equalizer_db_fuzz_factor" id="0x7f0cXXXX" />
<public type="integer" name="custom_equalizer_db_fuzz" id="0x7f0cXXXX" />
and
<public type="color" name="custom_equalizer_fill_color" id="0x7f09XXXX" />

Edit:

Maybe My Rom has not Landroid/media/AudioManager.smali and Landroid/media/audiofx/Visualizer.smali :rolleyes:
[Android Themes] Choritrowhin:
Can you make it for xposed module ...?

Can you make it for xposed module ...?

This is great but most of us can not do this .

hope you do this great job :cool:
[Android Themes] Adi Aisiteru Reborn:
I do not have XZ , but attached screenshot is original XZ-3 ported SystemUI for CM11, no smallapps

And this mod work fine :)
[Android Themes] Adi Aisiteru Reborn:
Am sorry, I dont know how,
[Android Themes] Adi Aisiteru Reborn:
No my friend, all rom has AudioManager.

and You need to be patient in doing this mod..,
[Android Themes] Adi Aisiteru Reborn:
Greeetzz :thumbup:
[Android Themes] Adi Aisiteru Reborn:
Have you install framework to the tool ? , the error tell not supported framework
[Android Themes] genius.lizard2:
i did all steps til step 4...it has not other lines.
[Android Themes] asratxda:
Very nice. But we need to pull down the notification bar, am I right? ... It would be more nice without needing to pull it down.

???
[Android Themes] montusk:
this is the error i get while decompiling, any idea?
[Android Themes] bakfitty:
For Xperia L

I made it for Xperia L (C2105)

Based on Serajr Swiping Power Toggles - SystemUI - v2 - 28/11/13

http://xdaforums.com/xperia-l/themes-apps/app-serajr-swiping-power-toggles-t2532743

And here is the mod, flashable zip

View attachment Serajr_SystemUI_Graphic_Equalizer_Notification_panel.zip
[Android Themes] codemansGT:
signing apk

So I have managed to follow the steps and and have recompiled the systemui.apk a second time around. I can't figure out how to sign the systemui.apk with the cyanogen's platform keys from the link given, I think that might solve my issue. Which is after copying over the systemui.apk and giving it the correct permissions and rebooting my phone, I don't have lockscreen, notification shade, etc. Could someone give me a step in the right direction from this point?
[Android Themes] serajr:
Just awesome!! Congrats my friend... \m/
[Android Themes] syaeful:
first, you must disable signature your rom for mod any apk files. Have it done?
[Android Themes] andybones:
it looks like you are missing the End_Method in one of the new Methods in smali.

I think.

This looks like you missed things.

looks like you didn't edit the

res/values/dimens.xml

or

res/values/ids.xml

once you add the lines in the tutorial and recompile it will build into Public.xml

I ran into this problem, I decided to try it without signing it and it worked. I do have the signature checks disabled in my services.jar, however.

would like to know how to do this though.
[Android Themes] codemansGT:
I took andybones advice and tried the unsigned apk and it ran but unfornatly it kept crashing. I decided to retry everything and when I go to recompile the first time around I get these errors:

warning: string 'accessibility_quick_settings_airplane' has no default translation.

warning: string 'accessibility_quick_settings_bluetooth' has no default translation.

warning: string 'battery_low_subtitle' has no default translation.

warning: string 'done_button' has no default translation.

warning: string 'jelly_bean_dream_name' has no default translation.

warning: string 'keyguard_accessibility_status' has no default translation.

warning: string 'kg_password_wrong_pin_code' has no default translation.

warning: string 'quick_settings_wifi_display_label' has no default translation.

warning: string 'quick_settings_wifi_display_no_connection_label' has no default translation.

warning: string 'ssl_ca_cert_dialog_title' has no default translation.

warning: string 'ssl_ca_cert_info_message' has no default translation.

warning: string 'ssl_ca_cert_settings_button' has no default translation.

warning: string 'ssl_ca_cert_warning_message' has no default translation.

I got these errors the first time around and I just ignored them and kept going which seems didn't work out. Is anyone able to tell me what these could mean?
[Android Themes] G.Pawar:
Hey bro I try this tutorial and I successfully complete this tutorial but can't display music visualize. If u don't mind can u make this in my systemUI.apk here is my systemUI.apk

https://www.dropbox.com/s/9mq94kjvk3iiwx9/SystemUI.apk?dl=0

Send From Xperia E1

If I Help U Then Press Thanks Button It's Free
[Android Themes] StyLish_DrOiD:
is this ganna work in lollipop tw n3?

Just wanna ask :) ..i want this badly ?
[Android Themes] sunpanc:
plz help it not wrkin

i hv lg g pro 2

lollipop 5.0.1
[Android Themes] genius.lizard2:
Thanks man.

i did step by step and Completed modifying SystemUI Now :)

i disabled (i think disabled) Signature check with this method:

http://xdaforums.com/showthread.php?t=2725233

------

after rebooting device...systemui won't work and has stopped...

---

even with modifying services.jar i have FCs so i think this is for Signature check!

---

so i want to use this method for disabling signature check:

http://xdaforums.com/showthread.php?t=2733681

-----

Edit:

i had Systemui FCs again...i did wipe dalvik and cache...now i have no FCs.

BUT:

there is no Graphic Equalizer!

i'm sure i did everything right..i checked everything again and again because of my yesterday mistakes

------------

Note EDGE N915F (Snapdragon) Android: 4.4.4 Stock

---

thanks
[Android Themes] haivp3010:
Nothing shows

Hi sir, I've gone through the steps and successfully compiled and signed my SystemUI.apk using the platform key provided on github, pushed it with no FC but nothing shows when I play the music :( could it be that this mod is not compatible with my rom? :confused: I am on Kitkat 4.4.2 Asus Zenfone 5. I've attached the modified SystemUI.apk and framework-res.apk, if possible could you review it for me? Anyway thank you very much for this wonderful mod :D
[Android Themes] andybones:
Took a very quick glance.

I can see you skipped step 2 my friend, this is why nothing shows.

I didn't check all your Public.xml ID's for step 4 to make sure you edited MusicEqualizerVisualizer.smali correctly. I believe you had all the colors.xml, dimens.xml, ids.xml and integers.xml from my quick peek.

I did however edit the status_bar_expanded.xml for you and re-compiled the SystemUI.apk

:cool:
[Android Themes] haivp3010:
Wow thanks buddy :) I got mixed up between asus_status_bar_expanded.xml and status_bar_expanded.xml so at first I just edited the former. Don't know why your apk fc on mine but with your suggestion I went on to edit the latter and now it works like a charm! Again thanks so much :D
[Android Themes] andybones:
Very nice my friend, glad I could help. :)
[Android Themes] haivp3010:
Doesn't this mod work with headset plugged in? When I plugged in my headphone, the visualizer stopped working until I restarted with the headset removed :( Is anyone experiencing the same error or just me? :(
[Android Themes] Adi Aisiteru Reborn:
Work fine with me
[Android Themes] haivp3010:
So maybe it's something with my device that causes it :( Does yours work with the volume turned down to 0?
[Android Themes] haivp3010:
Everytime I plug in my headset, the visualizer just stops working from then on (even if I plug it in and remove immediately before any music is played). Can you make some suggestions about this? Does something happen with the system the moment I plug the headset in? I want to debug but just don't know how, logcat shows nothing about this :(
[Android Themes] Adi Aisiteru Reborn:
Install any Visualizer application from playstore, and try that application with Headset plug, if that application run well, then you can decompile that App , copy all android.permission bla bla from its android.manifest.xml to your ui android.manifest.xml
[Android Themes] Neko Mimi:
Can't decompile LGSystemUI.apk

I couldnt find a SystemUI.apk, but I did find a LGSystemUI.apk which I copied to my computer. After following the instructions and using apk tool it was unable to decompress the apk. I am not sure what the problem is or how to fix it, can someone please help me? I will attach a link my LGSystemUI.apk and the code from the error if anyone needs it.

C:\Windows\system32>apktool d -f C:/Users/Matthew/Downloads/LGSystemUI.apk
I: Using Apktool 2.0.0-RC4 on LGSystemUI.apk
I: Loading resource table...
I: Decoding Shared Library (com.lge), pkgId: 2
Exception in thread "main" java.lang.NegativeArraySizeException
at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.ja
va:228)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:200)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:188
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:156)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:11
3)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:622)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:73)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:65)
at brut.androlib.Androlib.getResTable(Androlib.java:63)
at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:209)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:92)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)

Here is the LGSystemUI.apk. Cant post links yet, sorry

drive (dot) google (dot) com/file/d/0B0lJfPtoAxSEZ3ZqbWVPYW5EYkk/view?usp=sharing
[Android Themes] nmeuret:
Which XML layout file did you change for that ?
[Android Themes] G.M.L:
i want me a lot to use this quide but in smalis all its param p1 etc...

and my system ui its all in parameter in smallis i was try with other apktool but i m getting fc

how can i change the smallis in parameter? (sorry for my bad english)
[Android Themes] Rekjezt™:
I: Smaling...

[13,4] Error for input '.param': Invalid directive

[13,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /sdcard/apktool/SystemUI_src/smali/com/adi/rom/interface/AudioData.smali

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)

at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)

at brut.androlib.Androlib.buildSources(Androlib.java:214)

at brut.androlib.Androlib.build(Androlib.java:205)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:228)

at brut.apktool.Main.main(Main.java:79)
[Android Themes] Adi Aisiteru Reborn:
REQUIREMENT :

Use apktool 2
[Android Themes] Ticklefish:
I've just tried this on my Xperia Z, running 4.4.4 with a ported Z3 SystemUI.apk, and it FC's. Which is a shame. :(

By the way, you can probably shorten the OP a little. You don't need to manually add ID's to ids.xml, you can make apktool do it for you when you recompile. All you have to do is use '@+id' in the XML..

<com.adi.rom.interface.MusicEqualizerVisualizer android:layout_gravity="bottom" android:id="[COLOR="Red"]@+id/visualizer_view_panel[/COLOR]" android:layout_width="fill_parent" android:layout_height="48.0dip" android:layout_marginBottom="36.0dip">
<LinearLayout android:orientation="vertical" android:id="[COLOR="Red"]@+id/custom_visualizer_view_panel[/COLOR]" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.adi.rom.interface.VisualizerView android:id="[COLOR="Red"]@+id/custom_visualizer_view[/COLOR]" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</LinearLayout>
</com.adi.rom.interface.MusicEqualizerVisualizer>

It's a little thing but anything that saves time is good! :D
[Android Themes] kpirnie:
Now i just have to try this on a TW lollipop rom :)

Great tutorial bud :D
[Android Themes] haivp3010:
I tried it but without luck :(

I used this app https://play.google.com/store/apps/details?id=com.cyphercove.audioglowfs

Its manifest file just has these addition apart from the two required permissions in your guide

<uses-feature android:glEsVersion="0x20000" android:required="true"/>
<uses-feature android:name="android.hardware.touchscreen" android:required="true"/>
<uses-feature android:name="android.hardware.microphone" android:required="false"/>
<uses-permission android:name="com.android.vending.BILLING"/>

The app itself runs well with headset, but the mod doesn't :(

Another thing I notice is that the moment I open the visualizer app above, the mod stops working until I restart systemui or reboot, just like the case when I plug in my headset. I wonder what could cause the mod to stop :confused:
[Android Themes] Adi Aisiteru Reborn:
Maybe try in different rom ?
[Android Themes] Adi Aisiteru Reborn:
Am sorry sir tickelfish

Any logcat ?

I have cm11 using xz3 ported systemui , and I put the line in statusbar expanded header.xml,

and also work in somc_notifcation tab.xml, by removing android gravity bottom, and margin bottom,

Also I dont add RECORD_AUDIO permission Xz3 has it,

only MODIFY_AUDIO_SETTINGS
[Android Themes] Ticklefish:
I don't think it's an issue with the XML..but it could be something to do with the permissions. I added everything in the OP...maybe Android doesn't like duplicate permissions?

I'll try again and let you know. :good:
[Android Themes] Rekjezt™:
[MENTION=301180]adi[/MENTION]

Can you make a guide for statusbar blur

Not pulldown

And not exposed

Thks
[Android Themes] uriel_zo:
res/layout/keyguard_status_view

<?xml version="1.0" encoding="utf-8"?>
<com.android.keyguard.KeyguardStatusView android:gravity="center|top" android:orientation="vertical" android:id="@id/keyguard_status_view" android:layout_width="fill_parent" android:layout_height="wrap_content" androidprv:layout_maxHeight="@dimen/keyguard_security_height" androidprv:layout_maxWidth="@dimen/keyguard_security_width"
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:androidprv="http://schemas.android.com/apk/res-auto">
<LinearLayout android:layout_gravity="center|top" android:orientation="vertical" android:id="@id/keyguard_clock_container" android:layout_width="fill_parent" android:layout_height="wrap_content">
<TextClock android:textColor="@color/clock_white" android:layout_gravity="center_horizontal" android:id="@id/clock_view" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/bottom_text_spacing_digital" android:singleLine="true" android:format12Hour="@string/keyguard_widget_12_hours_format" android:format24Hour="@string/keyguard_widget_24_hours_format" style="@style/widget_big_thin" />
<include layout="@layout/keyguard_status_area" />
<TextView android:textSize="@dimen/widget_label_font_size" android:textColor="@color/clock_gray" android:ellipsize="marquee" android:layout_gravity="center_horizontal" android:id="@id/owner_info" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="16.0dip" android:layout_marginTop="@dimen/date_owner_info_margin" android:layout_marginRight="16.0dip" android:singleLine="true" />
</LinearLayout>
<com.adi.rom.interface.MusicEqualizerVisualizer android:layout_gravity="bottom" android:id="@id/visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="48.0dip" android:layout_marginBottom="36.0dip">
<LinearLayout android:orientation="vertical" android:id="@id/custom_visualizer_view_panel" android:layout_width="fill_parent" android:layout_height="fill_parent">
<com.adi.rom.interface.VisualizerView android:id="@id/custom_visualizer_view" android:layout_width="fill_parent" android:layout_height="fill_parent" />
</LinearLayout>
</com.adi.rom.interface.MusicEqualizerVisualizer>
</com.android.keyguard.KeyguardStatusView>
[Android Themes] Ubertool:
Anyone wanna properly sign this for me please, lollipop 5.1 for nexus 6.
[Android Themes] anthonyg45157:
I can't sign it lol but would also be interested in this. What ROM do you have?
[Android Themes] Ubertool:
This is built from stock LMY47E, but currently running DU Testv9.2.
[Android Themes] anthonyg45157:
Gotcha I'm on chroma which is aosp based, Im not sure if I could use the same one or not lol
[Android Themes] -->:
I'm facing that problem too, anyone have solution?