Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,813,290 Members 53,090 Now Online
XDA Developers Android and Mobile Development Forum

Flyme Statusbar

Tip us?
 
bluq
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Apr 2012
Default Flyme Statusbar

is there anyone can help me to make statusbar like Flyme OS

it look like this



i try from this
http://forum.xda-developers.com/xper...-look-t2275715

but always get error when recompile

Quote:

Log For : SystemUI.apk

Log Type : Recompiling

Log Recorded At : Fri 02-05-2014 16:35:34.11

Log Recorded By : Advanced ApkTool v2.0.0 By BDFreak

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

..\3-Out\SystemUI.apk\smali\com\android\systemui\status bar\policy\Traffic$1.smali[24,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\status bar\policy\Traffic$1.smali[39,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\status bar\policy\Traffic$1.smali[40,4] Error for input '.parameter': Invalid directive
..\3-Out\SystemUI.apk\smali\com\android\systemui\status bar\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(SmaliBuil der.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:338)
at brut.androlib.Androlib.buildSources(Androlib.java: 299)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)

------------------------------------------------------
here is my original systemui.apk http://www.4shared.com/mobile/VLrXLXssba/SystemUI.html

anyone know where`s i miss
 
cuatzstress
Old
#2  
cuatzstress's Avatar
Senior Member
Thanks Meter 73
Posts: 152
Join Date: Sep 2012
Location: you tell me
This happen when u r using Apktool Android did u? I guess u should try with APKTOOL Desktop version, apktool android version could not identify "parameter", and only identify "param"....

Sent from my C1905 using XDA Premium 4 mobile app
 
Kevin-0100
Old
#3  
Kevin-0100's Avatar
Senior Member
Thanks Meter 61
Posts: 122
Join Date: Feb 2013
Location: Vlaardingen
Using apktool 1.5.2 instead of 2.0 should resolve the compile error

Sent from my C1905 using XDA Premium 4 mobile app
Current devices:

Xperia S - CM11
Xperia M - 4.3 stock firmware



 
ansebovi
Old
#4  
ansebovi's Avatar
Senior Member
Thanks Meter 796
Posts: 1,073
Join Date: Dec 2012
Location: Chennai
Quote:
Originally Posted by bluq View Post
is there anyone can help me to make statusbar like Flyme OS
here is my original systemui.apk http://www.4shared.com/mobile/VLrXLXssba/SystemUI.html

anyone know where`s i miss
use this advanced apktool,...
http://forum.xda-developers.com/show....php?t=2639400

and u should use 2 files as framework...like below install both using advanced apktool


MODEL-Xperia M Dual C2005

My second sign below
 


 
kosmita1993
Old
#5  
Junior Member
Thanks Meter 3
Posts: 18
Join Date: May 2014
These smali files dont work for me also (i get the same errors). So i suggest to use smali files from Znxt Rom for Xperia M. These files work good for me on stock 4.3 XMS.
 
bluq
Old
#6  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Apr 2012
Quote:
Originally Posted by ansebovi View Post
use this advanced apktool,...
http://forum.xda-developers.com/show....php?t=2639400

and u should use 2 files as framework...like below install both using advanced apktool


already use advance apktool and install those 2 framework,
i think its wrong with the smali because its from diferent type device

Quote:
Originally Posted by kosmita1993 View Post
These smali files dont work for me also (i get the same errors). So i suggest to use smali files from Znxt Rom for Xperia M. These files work good for me on stock 4.3 XMS.
can u share ur systemui and framework with that znxt,
im using stock 4.3 to
 
kosmita1993
Old
#7  
Junior Member
Thanks Meter 3
Posts: 18
Join Date: May 2014
Quote:
Originally Posted by bluq View Post
can u share ur systemui and framework with that znxt,
im using stock 4.3 to
http://forum.xda-developers.com/show....php?t=2733039
Just decompile SystemUI.apk from this ROM and you will get working smali files.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


MediaTek Continues Steps Towards Being Developer-Friendly

Not too long ago MediaTek was very closed off towards the mobile developer … more

Sony PS4 Remote Play Ported to All Android Devices

Im pretty sure that every informed gamer out there perked their ears up when Sony came out … more

Change Your Samsung Galaxy S2’s Dialer Background in Real Time

As with anything, if youve looked at something long enough, things can … more