yashsingh1/xdaforums huggingface dataset:
[Android Themes] :
Sorry for the PM sir....

But I need your help in modding my systemUI and framework apks . I want to add this mod along with the transparency of status bar and notification background. But failing from last 5 days..

So will you like to help me out for mediatek devices with dual sim support.

:confused::confused::confused:

Hit Thanks Instead of Saying It......

:) :) :)
[Android Themes] Dzol Cp:
Oki Doki

Check PM
[Android Themes] sieuan:
Thanks bro! But after flash it, my phone was lost statusbar and FC:(
[Android Themes] Dzol Cp:
I have no errors compile/decompile your SystemUI..

Wierd..

Fly from My SNAPDRAGON using XDA Premium
[Android Themes] luki2411:
Same hapends when i try befor whit your guide i dont hawe any errors but interface fc and statusbar disapear
[Android Themes] Dzol Cp:
Ahh.. I see that one you have mod and upload to me rite?? No META INF files,,thats why,,can you upload the clean one without mod,, i re-check again.. :confused:

Fly from My SNAPDRAGON using XDA Premium
[Android Themes] luki2411:
here is system ui what i use and work for now
[Android Themes] Dzol Cp:
Last call for you :silly::rolleyes::eek::p:laugh:
[Android Themes] :
Thanks a lot brother.....

You are true genius......

My notification background is transparent but the statusbar is not transparent and then speed meter is not working on WiFi....

Analog clock is great and you added a great thing in my transparency MODs....

And yes how to remove the pie....

Coz we have hard buttons on phone for that...

Awesome work done by you brother. I owe you a coffee/beer whatever you like . one more request can you please teach me how you ported this....

Please......

Hit Thanks Instead of Saying It......

:) :) :)

Hit Thanks Instead of Saying It......

:) :) :)
[Android Themes] Dzol Cp:
Big THANKS My Bro!! :good::D

Appreciated on what you mention above :D

yes.. i will teach you bro.. i will send you a link in your PM

I am nobody bro..just a man nobody know.. :o

You don't owe me anything bro! because my THANKS BUTTON always visible to you..and not for someone here..

LOL :laugh:
[Android Themes] kevin_tn:
here's error when recompile systemui.apk with modified smali

Compiling APK File...
I: Smaling...
...

edit :

i've solved this problem.
[Android Themes] EpullSalvatrucha:
Here the error:-

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

D:\MODIFI~1\APKTOO~1.2>apktool if framework-res.apk
I: Framework installed to: C:\Documents and Settings\Mydestiny\apktool\framework
\1.apk

D:\MODIFI~1\APKTOO~1.2>apktool if systemui.apk
I: Framework installed to: C:\Documents and Settings\Mydestiny\apktool\framework
\127.apk

D:\MODIFI~1\APKTOO~1.2>apktool d systemui.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Documents and Settings\Mydestiny\apktool
\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

D:\MODIFI~1\APKTOO~1.2>apktool b systemui
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
D:\MODIFI~1\APKTOO~1.2\systemui\res\values\styles.xml:24: error: Error retrievin
g parent for item: No resource found that matches the given name '@style/TextApp
earance.StatusBar.Clock'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 10, --target-sdk-version, 10, -F, C:\WINDOWS\TEMP\APKTOOL3950745903
635156528.tmp, -I, C:\Documents and Settings\Mydestiny\apktool\framework\1.apk,
-S, D:\MODIFI~1\APKTOO~1.2\systemui\res, -M, D:\MODIFI~1\APKTOO~1.2\systemui\And
roidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 10, --target-sdk-version, 10, -F, C:
\WINDOWS\TEMP\APKTOOL3950745903635156528.tmp, -I, C:\Documents and Settings\Myde
stiny\apktool\framework\1.apk, -S, D:\MODIFI~1\APKTOO~1.2\systemui\res, -M, D:\M
ODIFI~1\APKTOO~1.2\systemui\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 10, --target-sdk-version, 10, -F, C:\WINDOWS\TEMP\APKTOOL395074590363
5156528.tmp, -I, C:\Documents and Settings\Mydestiny\apktool\framework\1.apk, -S
, D:\MODIFI~1\APKTOO~1.2\systemui\res, -M, D:\MODIFI~1\APKTOO~1.2\systemui\Andro
idManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more

D:\MODIFI~1\APKTOO~1.2>
[Android Themes] Dzol Cp:
Error in styles.xml line no. 24
[Android Themes] EpullSalvatrucha:
ya... it because of this:-

<style name="TextAppearance.StatusBar.Speed" parent="@style/TextAppearance.StatusBar.Clock">

after i change it to:-

<style name="TextAppearance.StatusBar.Speed" parent="@style/TextAppearance.StatusBar.Speed">

no error occur while recompile... but the 0.00k/s meter dont exist... Help please sir... :(
[Android Themes] jeswinjv:
I'm using TOUCHWIZ RES V9.5.....

can u do for me diz?

via XDA Premium developer's-app
[Android Themes] DSA:
As you have already been told...you are saying that the parent theme is xxx.xxx.xxx.speed, but have no actual parent theme called xxxx.xxxx.xxx.'speed'

What does that mean?
[Android Themes] EpullSalvatrucha:
So what should i do? if i use xxx.xxx.xxx.clock, i cannot recompile... if i use xxx.xxx.xxx.speed, the 0.00k/s not exist...

What should i do sir?
[Android Themes] Ticklefish:
Then you need to use something else. As I said in my post, can you share your xml please?
[Android Themes] EpullSalvatrucha:
Yes... but what xml you want? i will give it tommorow...
[Android Themes] Ticklefish:
Your status_bar.xml.
[Android Themes] kingdj:
im using samsung s3 international with imperium rom v26,was looking for smali traffic that work on jb 4.3 befpre its always error on smali or if not error it will give system ui fc, then finaly i found smali traffic that working great on jb 4.3,succes without fc

here ,s the link

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

btw im using TMA for RC/DC all my mods,its work great,thank you ticklefish :good:
[Android Themes] Ticklefish:
Oh no... Thank you!! :D
[Android Themes] Cekiwang:
help

please help me sir thanks

im on fw 2.23 odex

Xperia E C1505
[Android Themes] Ticklefish:
For now, until you've got more experience with making your own styles, I'd suggest using this code instead:

<fx.dzolcp.Speed android:textAppearance="@*android:style/TextAppearance.StatusBar.Icon" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

That should make the traffic speed have the same style as your battery text and your clock.
[Android Themes] EpullSalvatrucha:
Ok i will try... tommorow i will give you feedback... Thanks sir..
[Android Themes] kingdj:
also working geat on 4.4.2 tested on s4 gti9500 with stockrom

:good:
[Android Themes] S-X-ShaX:
Dear sir,can your smali show upload traffic?I really like the first way on the 2#,because it can show upload in a different color,but it always appear on my ics rom,can you teach me how to make it only appear when I turn on the wifi or data?
[Android Themes] dddddttttt:
thanks

that's great documents
[Android Themes] AndroidAddict||AA:
Does anyone know how I can do this on Galaxy S4 with 4.4.2? I would appreciate any quick responses, thank you!
[Android Themes] DSA:
Post 2 works fine
[Android Themes] AndroidAddict||AA:
Thanks bud, i'll try it out later today.
[Android Themes] Hamidreza2010:
does it work on 4.3 on xperia sp?

what do i do for make for sp?
[Android Themes] morisah:
finally i figure out where to put the line on my gt7+.. thanks this great work.. :victory::victory::victory:
[Android Themes] Ticklefish:
All works nicely on Xperia KitKat! Thanks again!
[Android Themes] Oohhlala:
what i was wrong when tried to add this mod to 4.3 Sony stock rom:(
[Android Themes] Ticklefish:
You've used the wrong version of apktool. You need to use apktool 1.5.2..
[Android Themes] Dzol Cp:
Hi,

Can you please copy/paste an error message from your apktool.

also upload your framework-res.apk if you want someone help you to modded it.
[Android Themes] Oohhlala:
yep, i uploaded error message in first reply. i will upload again with framework and systemui

http://www.mediafire.com/download/68vf1fa6kdl70lw/framework_log.rar

---------- Post added at 03:35 PM ---------- Previous post was at 03:33 PM ----------

the version of apk tool i used is special modified version that made for sony jelly bean rom, it's very easy to use, i will try the version that you mentioned
[Android Themes] Ticklefish:
Yes...and it uses an old version of apktool 2.

It's worth suggesting that you look at Tickle My Android.tinyurl.com/ticklemyandroid

It's a decompiling tool that, among other things, lets you choose which version of apktool you want to use.

There's also a FAQ that explains precisely why you've been having this error.. [emoji6]
[Android Themes] Oohhlala:
yaya, i found this when read FAQ in ur thread, this smali will work with new apk tool and this code is for this smali ?

<com.android.systemui.statusbar.policy.Traffic android:id="@+id/traffic" android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
[Android Themes] Ticklefish:
All the smali in the OP will need apktool 1.5.2...
[Android Themes] Oohhlala:
i meant this smali you posted in this

http://xdaforums.com/showpost.php?p=52206367&postcount=962&nocache=1&z=9670140058733522
[Android Themes] Ticklefish:
Oh, that smali. Yes, that'll work with apktool 2. :good:
[Android Themes] Hamidreza2010:
is it work on 4.3?

i try it but cant

work it?

xperia sp
[Android Themes] Ticklefish:
It works on 4.3.
[Android Themes] Hamidreza2010:
with first post or second?

when i download smali files from attachment , where are should cpoy it?
[Android Themes] Ticklefish:
With either post. And the smali files need to go into your smali folder, just like in the instructions.

If you're having compiling errors, you need to tell us what those errors are. Or, if you're using Tickle My Android, just attach the history.txt.

If your file recompiled and your SystemUI.apk is force-closing, you need to attach a logcat.

If your file recompiled, your SystemUI.apk isn't force-closing but you just can't see the 0.00KB/s meter, then you need to attach your xml.
[Android Themes] Hamidreza2010:
I used your tools and dont have problem for de/recompile files ( thanks for that )

but i cant make it.when i copy attachment smali to my smali folder , when i want to decompile , tools get error and said the place of smali is not correct.

and i dont know how to attach my xml or attach a logcat.

if i give my SystemUI.apk , can you make it for me?
[Android Themes] Ticklefish:
No, not without your framework-res.apk.

When you decompile a deodexed apk with TMA, you'll have a folder in the _working folder with the same name as that apk. Inside that folder will be a folder called 'res' and a folder called 'smali'.

The smali from this thread goes in the smali folder.

There's actually a neat trick for knowing precisely where to put the smali files:

For the smali files in the first post, the code you have to put in the xml is:

<[COLOR="Red"]fx.dzolcp.Speed[/COLOR] android:textAppearance="@style/TextAppearance.StatusBar.Speed" android:gravity="left|center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

So you need to put the smali files in 'smali\fx\dzolcp/'.

(The chances are you'll have to make these folders yourself.)

In the second post, you have:

<[COLOR="red"]com.android.systemui.statusbar.policy.Traffic[/COLOR] android:textAppearance="@style/TextAppearance.StatusBar.Traffic" android:gravity="left|center" android:id="@id/traffic" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />

So you'd need to put the smali files in 'smali\com\android\systemui\statusbar\policy\'.

(You should already have these folders in your decompiled apk.)

If you don't have a smali folder in your decompiled apk, your apk is probably odexed and you'll have to deodex it first. Handily, TMA can do that for you.

If you're still getting a recompiling error, attach your history.txt from the user_files\LOGS folder. The option to attach files in XDA is beneath the box where you enter all the text, under the heading 'Additional Options'.

If you can't attach the text file, just copy and paste the contents into your actual post.
[Android Themes] Hamidreza2010:
this is my log:

i put my smali in in 'smali\com\android\systemui\statusbar\policy\'. but when i want to decompile get error

Recompiling "SystemUI.apk" With Original Signature,
in work area "_WorkArea1", using "apktool_2.0.0-RC1-848f0d6b5f.jar"

With Tickle My Android V9.1
(tinyurl.com\ticklemyandroid)

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

I: Using Apktool 2.0.0-RC1-848f0d6b5f on SystemUI.apk
I: Smaling...
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[24,4] Error for input '.parameter': Invalid directive
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[39,4] Error for input '.parameter': Invalid directive
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[40,4] Error for input '.parameter': Invalid directive
..\_WorkArea1\_working\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[39,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/policy/Traffic$1.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:342)
at brut.androlib.Androlib.buildSources(Androlib.java:303)
at brut.androlib.Androlib.build(Androlib.java:289)
at brut.androlib.Androlib.build(Androlib.java:262)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)

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

Recompile Not Successful!
[Android Themes] Ticklefish:
That is exactly what I needed to see. You need to use apktool 1.5.2. for this mod, not apktool 2. That's why you're having problems.

For further information, look at the FAQ post on the Tickle My Android thread.
[Android Themes] Hamidreza2010:
you mean i used apktool 1.5.2 for decompile my systemui.apk?

if yes , can you give me the download link of apktool 1.5.2.

thanks my brother
[Android Themes] Ticklefish:
It's already in Tickle My Android. Have a look in the Settings Menu. :cool:

You'll need to use apktool 1.5.2. to decompile and recompile.
[Android Themes] Hamidreza2010:
yes bro , i look at it now

your tools is really compelete bro

special thanks for that :laugh: :good:

if i edit my systemui.apk and get fc , how to attach my xml or locgat?
[Android Themes] Ticklefish:
It is, isn't it? :D

The option to attach files in XDA is beneath the box where you enter all the text, under the heading 'Additional Options'.
[Android Themes] Hamidreza2010:
Yes bro

its complete , be sure

I make it without any problem . HA HA HA HA :good: :laugh:

THANKS A LOT

​
[Android Themes] Ticklefish:
Anytime. A nice-looking statusbar! :highfive:
[Android Themes] smL.Aguiar:
Internet_Speed_Meter_v1_3_4 worked for me, without root.

Enviado de meu GT-I9192 usando Tapatalk
[Android Themes] t_ted:
thx

Work great for my mtk6577 device
[Android Themes] Hamidreza2010:
My max quick setting panel icon is 2*5 ( i can totally add 10 toggle )

i mean 2 rows and in per row is 5 icon

i want to increase 2 rows to 3 row who can add more toggle

what should i do?

xperia sp and my fw is 4.3 build 205
[Android Themes] Oohhlala:
adding this activity to androidmanifest of setting.apk that make me can control the traffic value and color ?:silly:
[Android Themes] DanielFlorin:
Delete
[Android Themes] zigbye82:
hey, can any help me to change font size in gingerbread? i read the op but the resize method dont work for gingerbread.

this is how i edit my styles.xml

<resources>

<style name="TextAppearance.StatusBar.Policy.Traffic" parent="@*android:style/TextAppearance.StatusBar.Icon">

<item name="android:textSize">2.0sp</item>

<item name="android:textStyle">normal</item>

</style>

edited; solved it.
[Android Themes] Dzol Cp:
Work successfully on Android KitKat 4.4

Has anyone try this on latest Android L?
[Android Themes] Ticklefish:
Is there much point this early? There's still so much Google might change about L before they release it.

People like the Cyanogenmod team and the apktool dev are just waiting until it's out publicly.
[Android Themes] princemouli:
hello is there any way to get both transmitting and receving speed .....
[Android Themes] Linuxx84:
Good idea!
[Android Themes] princemouli:
yes.. thanks

so then is there any way to get this...
[Android Themes] cuddas:
hi all, i can't do this. sorry i'm noob.

some one help to add 0.00ks style new to my statusbar (mtk chipset)

this is all farmwork files and SystemUI

thank so much!
[Android Themes] 3to4:
Working for Galaxy Note 2 (CleanRom V5)

I just want to report that I followed the instructions for JB given in post 2, and this mod is working very well. Thank you very much.

I modified tw_status_bar instead of status_bar.

In the beginning, I was getting errors recompiling (parameter, invalid directive, etc.), but an old version of Apk-Multi Tool (APK-Multi-Tool-Stable-RELEASE) worked well.

This is a very useful mod!! Thank you again!!

PS: Worked also for my N5120 (4.1.2 deodexed and rooted) and HTC Sensation (4.0.3 Hypernonsense)
[Android Themes] Ticklefish:
That's because you were using a version of Apktool 2 and you need Apktool 1 for this mod.

Worth remembering if you're ever adding smali files for another mod.

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

Sent via Tapatalk

---------------------------
[Android Themes] 3to4:
Thank you for your advice. I will keep both Apktoo1 and 2.

By the way, I did the same mod for my N5120. One of the files to modify is res/layout-sw600-tvdpi/tw_status_bar.
[Android Themes] arvanhanzo12:
I've followed your tutorial but can not

Can you help ??

my phone kitkat 4.4.2
[Android Themes] Ticklefish:
Where was it going wrong?
[Android Themes] arvanhanzo12:
I not be able to compile always error
[Android Themes] princemouli:
hello brother is there any way to get both transmitting and receving speed .....????:confused::confused:
[Android Themes] Ticklefish:
What error are you getting?

---------- Post added at 04:08 PM ---------- Previous post was at 03:59 PM ----------

Not that I know of, no. Not yet, anyway. :(
[Android Themes] princemouli:
but in many roms there is two way speed meter .....

can you build some smali files and make a guide ... ??
[Android Themes] Ticklefish:
I'm hardly a smali expert!

I know xml but I'm still just a beginner at smali. :crying:

If there's a two way speed meter in a rom you know, you could always decompile the relevant apk and try to extract the speed meter from it..
[Android Themes] arvanhanzo12:
I can not recompile

please help me
[Android Themes] ghost45:
SystemUI for Zopo zp780 Kitkat O. S.

I have found in my SystemUI.apk (Mtk 6582 Zopo Zpp780 Kitkat 4.4.2 )

according the thread:

http://xdaforums.com/showthread.php?t=2628560&page=15

little difference:

9. Open SystemUI\smali\com\android\systemui\statusbar\phon e\PhoneStatusBar.smali in Notepad++

Find Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryController

In my PhoneStatusBar there isn't this code :

iput-object v0, v1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryController:Lcom/android/systemui/statusbar/policy/BatteryController;

.line 727

new-instance v25, Lcom/android/systemui/statusbar/policy/SmartBondingController;

move-object/from16 v0, p0

...

I found this:

iput-object v0, v1, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->mService:Lcom/android/systemui/statusbar/phone/PhoneStatusBar;

.line 454

move-object/from16 v0, p0

But is different if i want to find the same code is diffent the numbers (v1 , v0):

iput-object v1, v0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryController:Lcom/android/systemui/statusbar/policy/BatteryController;

.line 656

new-instance v1, Lcom/android/systemui/statusbar/policy/NetworkController;

move-object/from16 v0, p0

---------- Post added at 07:10 PM ---------- Previous post was at 07:01 PM ----------

One other differences :

Always in the same file

9. Open SystemUI\smali\com\android\systemui\statusbar\phon e\PhoneStatusBar.smali in Notepad++

There isn't this code:

Find iput-object v0, v1, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mBatteryText

This is my original PhoneStatusBar:

http://www.4shared.com/file/xBA5yMxA...StatusBar.html

And this is my SystemUi already decompiled but in zip file

http://www.4shared.com/zip/4zW8xFiQce/SystemUI.html:

i wait for your answer

Thanks
[Android Themes] Ticklefish:
This has nothing to do with this thread.

If you are having problems with a mod on a particular thread, you really should post on that thread asking for help.
[Android Themes] ghost45:
Probably the step that i would like to understand is not clear... And if you have read carefully probably you could give me one good thing to go ahead and to resolve the mistake!
[Android Themes] arvanhanzo12:
3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[24,4] Error for input '.parameter': Invalid directive

..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[39,4] Error for input '.parameter': Invalid directive

..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[40,4] Error for input '.parameter': Invalid directive

..\3-Out\SystemUI.apk\smali\com\android\systemui\statusbar\policy\Traffic$1.smali[39,15] mismatched input '"context"' expecting END_METHOD_DIRECTIVE

Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/systemui/statusbar/policy/Traffic$1.smali
[Android Themes] Ticklefish:
Don't use apktool 2 for this mod. Use apktool 1.5.2. instead.
[Android Themes] abhimortal6:
Working Fine in 4.2.2 MTK 6572

Working Fine in 4.2.2 MTK 6572

here is a screenshot

Thanks by the way
[Android Themes] Ticklefish:
Nice. :)

What font is that, by the way?
[Android Themes] abhimortal6:
choco cooky:good:
[Android Themes] Ticklefish:
Thanks. :highfive: