Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,152 Members 54,212 Now Online
XDA Developers Android and Mobile Development Forum

[APP] [KK PORT] [4.3] Original ZU 4.4.2 SystemUI / Home (Fullscreen) - v1.2, 16/03/14

Tip us?
 
serajr
Old
(Last edited by serajr; 24th March 2014 at 05:37 PM.) Reason: v1.2
#1  
serajr's Avatar
Recognized Developer / Recognized Themer - OP
Thanks Meter 8995
Posts: 2,342
Join Date: Apr 2011
Location: Rafard - SP
Phone [APP] [KK PORT] [4.3] Original ZU 4.4.2 SystemUI / Home (Fullscreen) - v1.2, 16/03/14

Here are original apk's from Xperia ZU system dump, ported to work on JB 4.3.

Whole porting process was done on my Xperia ZQ (ZL) running lastest JB 4.3 firmware, but they should work on any JB 4.3 device/firmware (to be confirmed)!

Warning:
As you know (I hope so), every device has its own framework-res.apk with its own resources/ids and the SystemUI.apk inherits a lot of them at run-time, so, if you install on a "non-ZQ" device 4.3 and face some wrong resources (pngs, strings, animations, ...) at your screen, it is a normal behavior, and this means that some SystemUI.apk edits are necessary to match your framework-res.apk resources.



Screenshots:


.



Theme accent colored SystemUI
 


.

.

.



Others...
 


.

.

.

.

.

.

.





Warning:
- If you have Serajr Xperia Xposed v2 installed, uninstall it and then install module KK version and reboot!
- If you have any other xposed module that hooks SystemUI.apk, disable it!!!


You´re warned - TRY AT YOUR OWN RISK!!

Install instructions:
1. Update Xperia Xposed from above link (if applicable)
2. Backup your files (You´re warned again)
3. Download and put .zip at your sdcard

Download Mirrors:
v1.1 - Dev-Host <<< White SystemUI (original version)
(YOU CAN APPLY ACCENT COLOR UNDER EXPANDED CONTENTS WITH NEW XPERIA XPOSED KK MODULE)

v1.2 - Dev-Host <<< Runtime theme accent colored SystemUI
(DO NOT USE THIS VERSION WITH NEW XPERIA XPOSED KK MODULE !!!)

4. Flash it!

If you have problems with a big "back" key, get fixed version here or here.
Thanks @funky0308 and @Soheil_rf



Known Issues:
- Some minor issues causing fc on some devices!



Special Thanks:
- Sony
- @MN-Ming for Xperia ZU system dump
- @DooMLoRD for Xperia Z2 system dump



If you like it, press thanks... Simple so!!
.
I have paced these forests for so long
I don`t know, if I am a man or I am beast
I though hold deep within me, a quest for revenge
Then I must be a man as much as I can be
I have learned to speak the tongue of animal
I have learned to read the signs in bark and snow
I have taken within myself the spirits of my fathers long time gone
In this short time, far from home
A man of iron I`ve grown...
...A man of iron I have grown

(Hail Quorthon... RIP)

If you like my work and consider me worthy, consider DONATE me too. Thanks in advance!
The Following 93 Users Say Thank You to serajr For This Useful Post: [ Click to Expand ]
 
serajr
Old
(Last edited by serajr; 16th March 2014 at 04:49 PM.) Reason: v1.2
#2  
serajr's Avatar
Recognized Developer / Recognized Themer - OP
Thanks Meter 8995
Posts: 2,342
Join Date: Apr 2011
Location: Rafard - SP
Default Changelog

v1.2 - 16/03/2014
- Runtime theme accent colored SystemUI version (no reboot or restart required)
- Colored active tab glow
- Colored active tab title
- Colored expanded big clock
- Colored Clear recents button title (white border)
- Colored Edit quick settings button title (white border)
- Colored active quick settings toggles
- Fixed Recents empty background gap


v1.1 - 11/03/2014
- Fixed Wifi Hotspot and Location (GPS) toggles
- Fixed Search Panel at landscape orientation
- Removed vibration by taping near to home soft key


v1 - 10/03/2014
- Initial release
I have paced these forests for so long
I don`t know, if I am a man or I am beast
I though hold deep within me, a quest for revenge
Then I must be a man as much as I can be
I have learned to speak the tongue of animal
I have learned to read the signs in bark and snow
I have taken within myself the spirits of my fathers long time gone
In this short time, far from home
A man of iron I`ve grown...
...A man of iron I have grown

(Hail Quorthon... RIP)

If you like my work and consider me worthy, consider DONATE me too. Thanks in advance!
The Following 24 Users Say Thank You to serajr For This Useful Post: [ Click to Expand ]
 
serajr
Old
(Last edited by serajr; 15th March 2014 at 04:19 PM.) Reason: v1.1
#3  
serajr's Avatar
Recognized Developer / Recognized Themer - OP
Thanks Meter 8995
Posts: 2,342
Join Date: Apr 2011
Location: Rafard - SP
Default [Guide] Give your system bars a gradient immersive KK flag

WARNING: just do it if you are using OP 4.4 SystemUI.apk on JB 4.3 firmware (backup your files too)



Lockscreen Status Bar:
 

1. Decompile your JB 4.3 android.policy.jar

2. Go to \com\android\internal\policy\impl\keyguard\ folder and open (with Notepad++) KeyguardViewManager.smali file

3. Look for this method:

Code:
Select Code
.method public declared-synchronized show(Landroid/os/Bundle;)V
4. Inside the method look for something like:

Code:
Select Code
    .line 126
    iget-object v2, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

    invoke-virtual {v2}, Landroid/widget/FrameLayout;->getSystemUiVisibility()I

    move-result v2

    const/high16 v3, 0x20

    or-int v1, v2, v3

    .line 128
    .local v1, visFlags:I
    iget-object v2, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->setSystemUiVisibility(I)V
5. Found! Now change above red lines to blue ones below:

Code:
Select Code
    .line 126
    iget-object v2, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

    invoke-virtual {v2}, Landroid/widget/FrameLayout;->getSystemUiVisibility()I

    move-result v2
	
    const/high16 v3, -0x1000

    or-int/2addr v3, v2
	
    move/from16 v1, v3

    .line 128
    .local v1, visFlags:I
    iget-object v2, p0, Lcom/android/internal/policy/impl/keyguard/KeyguardViewManager;->mKeyguardHost:Landroid/widget/FrameLayout;

    invoke-virtual {v2, v1}, Landroid/widget/FrameLayout;->setSystemUiVisibility(I)V
6. Save, compile, replace it and DONE!



Walkman both Bars (I think the same can be applied on more Semc??? and Somc??? apks):
 

1. Decompile your JB 4.3 SemcMusic.apk

2. If you open smali folder and face folders/files titled like a, b, c... you have a "Proguarded version" (obfuscated code)!!! I've never thought Sony would encrypt its sources.. but It did it!! Mine is!!!!!

Words from Proguard page:
Quote:
ProGuard now has a sibling optimizer and obfuscator for Android: DexGuard. It focuses on code protection, with additional features like string encryption and class encryption. It directly targets Dalvik bytecode and streamlines the Android build process.

3. Go to \com\sonymobile\ui\support\ folder and open (with Notepad++) SystemUiVisibilityWrapper.smali file

3 (Prograrded version). Go to \com\sonymobile\c\a\ folder and open (with Notepad++) a.smali file

4. Look for this method:

Code:
Select Code
.method public setTranslucentBackground(Z)Lcom/sonymobile/ui/support/SystemUiVisibilityWrapper;
4 (Prograrded version). Look for this method:

Code:
Select Code
.method public a(Z)Lcom/sonymobile/c/a/a;
5. Found! Now replace whole method from red to blue:

Code:
Select Code
.method public setTranslucentBackground(Z)Lcom/sonymobile/ui/support/SystemUiVisibilityWrapper;
    .locals 1
    .parameter "value"

    .prologue
    .line 309
    sget v0, Lcom/sonymobile/ui/support/SystemUiVisibilityWrapper;->SYSTEM_UI_FLAG_TRANSPARENT:I

    invoke-direct {p0, v0, p1}, Lcom/sonymobile/ui/support/SystemUiVisibilityWrapper;->setFlag(IZ)V

    .line 310
    return-object p0
.end method
Code:
Select Code
.method public setTranslucentBackground(Z)Lcom/sonymobile/ui/support/SystemUiVisibilityWrapper;
    .locals 3
    .parameter "value"

    .prologue
    .line 309
    iget-object v0, p0, Lcom/sonymobile/ui/support/SystemUiVisibilityWrapper;->mView:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getSystemUiVisibility()I

    move-result v0
	
    const/high16 v1, -0x1000

    or-int/2addr v1, v0
	
    move/from16 v2, v1

    invoke-direct {p0, v2, p1}, Lcom/sonymobile/ui/support/SystemUiVisibilityWrapper;->setFlag(IZ)V

    .line 310
    return-object p0
.end method
5 (Prograrded version). Found! Now replace whole method from red to blue:

Code:
Select Code
.method public a(Z)Lcom/sonymobile/c/a/a;
    .locals 1
    .parameter

    .prologue
    .line 309
    sget v0, Lcom/sonymobile/c/a/a;->b:I
	
    invoke-direct {p0, v0, p1}, Lcom/sonymobile/c/a/a;->b(IZ)V

    .line 311
    return-object p0
.end method
Code:
Select Code
.method public a(Z)Lcom/sonymobile/c/a/a;
    .locals 3
    .parameter

    .prologue
    .line 309
    iget-object v0, p0, Lcom/sonymobile/c/a/a;->h:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getSystemUiVisibility()I

    move-result v0
	
    const/high16 v1, -0x1000

    or-int/2addr v1, v0
	
    move/from16 v2, v1
	
    invoke-direct {p0, v2, p1}, Lcom/sonymobile/c/a/a;->b(IZ)V

    .line 311
    return-object p0
.end method
6. Save, compile, replace it and DONE!



Album both Bars:
 

1. Decompile your JB 4.3 SemcAlbum.apk

2. Go to \com\sonyericsson\album\util\ folder and open (with Notepad++) BarUtils.smali file

3. Look for this method:

Code:
Select Code
.method public static setDefaultSystemUiVisibility(Landroid/view/Window;)V
4. Insert blue lines

Code:
Select Code
.method public static setDefaultSystemUiVisibility(Landroid/view/Window;)V
    .locals 2
    .parameter "window"

    .prologue
    .line 306
    sget-boolean v1, Lcom/sonyericsson/album/util/BarUtils;->sIsKitKat:Z

    if-eqz v1, :cond_0

    .line 307
    const/16 v0, 0xe00

    .line 310
    .local v0, flags:I
    invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/View;->setSystemUiVisibility(I)V

    .line 315
    .end local v0           #flags:I
    :goto_0
    return-void

    .line 312
    :cond_0
    invoke-static {p0}, Lcom/sonyericsson/album/util/BarUtils;->enableStatusBar(Landroid/view/Window;)Z

    .line 313
    invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-static {v1}, Lcom/sonyericsson/album/util/BarUtils;->showNavigationBar(Landroid/view/View;)V
	
    .line 314
    invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0
	
    invoke-virtual {v0}, Landroid/view/View;->getSystemUiVisibility()I

    move-result v0
	
    const/high16 v1, -0x1000

    or-int/2addr v1, v0
	
    move/from16 v0, v1
	
    .line 315
    invoke-virtual {p0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/view/View;->setSystemUiVisibility(I)V
	
    goto :goto_0
.end method
5. Save, compile, replace it and DONE!



Warning: if you are having any problem on compile/fc, try to put -0x100000 value instead of -0x1000 (thanks @niaboc79)

Screenshots:
.
Attached Thumbnails
Click image for larger version

Name:	Lockscreen_StatusBar.jpg
Views:	2044
Size:	45.9 KB
ID:	2627496   Click image for larger version

Name:	Walkman_Bars_01.jpg
Views:	1512
Size:	222.6 KB
ID:	2631289   Click image for larger version

Name:	Walkman_Bars_02.jpg
Views:	1405
Size:	238.6 KB
ID:	2631290   Click image for larger version

Name:	Album_Bars.jpg
Views:	1267
Size:	200.8 KB
ID:	2632159  
I have paced these forests for so long
I don`t know, if I am a man or I am beast
I though hold deep within me, a quest for revenge
Then I must be a man as much as I can be
I have learned to speak the tongue of animal
I have learned to read the signs in bark and snow
I have taken within myself the spirits of my fathers long time gone
In this short time, far from home
A man of iron I`ve grown...
...A man of iron I have grown

(Hail Quorthon... RIP)

If you like my work and consider me worthy, consider DONATE me too. Thanks in advance!
The Following 25 Users Say Thank You to serajr For This Useful Post: [ Click to Expand ]
 
serajr
Old
(Last edited by serajr; 16th March 2014 at 04:45 PM.) Reason: v1.2
#4  
serajr's Avatar
Recognized Developer / Recognized Themer - OP
Thanks Meter 8995
Posts: 2,342
Join Date: Apr 2011
Location: Rafard - SP
Camera Thumbs

Thumbs...
Attached Thumbnails
Click image for larger version

Name:	Serajr_ZU_KK_02.jpg
Views:	29545
Size:	59.7 KB
ID:	2623922   Click image for larger version

Name:	Serajr_ZU_KK_03.jpg
Views:	29237
Size:	56.4 KB
ID:	2623923   Click image for larger version

Name:	Serajr_ZU_KK_04.png
Views:	29723
Size:	247.2 KB
ID:	2623924   Click image for larger version

Name:	Serajr_ZU_KK_05.jpg
Views:	29139
Size:	82.3 KB
ID:	2623926   Click image for larger version

Name:	Serajr_ZU_KK_07.jpg
Views:	28736
Size:	60.1 KB
ID:	2623927  

Click image for larger version

Name:	Serajr_ZU_KK_08.png
Views:	28643
Size:	218.1 KB
ID:	2623928   Click image for larger version

Name:	Serajr_ZU_KK_09.jpg
Views:	28457
Size:	56.5 KB
ID:	2623929   Click image for larger version

Name:	Serajr_ZU_KK_10.jpg
Views:	28353
Size:	64.6 KB
ID:	2623931   Click image for larger version

Name:	Serajr_ZU_KK_01.jpg
Views:	27299
Size:	53.3 KB
ID:	2625941   Click image for larger version

Name:	Serajr_ZU_KK_06.jpg
Views:	26296
Size:	66.1 KB
ID:	2625942  

Click image for larger version

Name:	Serajr_ZU_KK_Accent_01.png
Views:	22278
Size:	232.0 KB
ID:	2633676   Click image for larger version

Name:	Serajr_ZU_KK_Accent_02.jpg
Views:	22219
Size:	54.4 KB
ID:	2633677   Click image for larger version

Name:	Serajr_ZU_KK_Accent_03.jpg
Views:	22157
Size:	62.8 KB
ID:	2633678   Click image for larger version

Name:	Serajr_ZU_KK_Accent_04.jpg
Views:	21969
Size:	32.5 KB
ID:	2633679  
I have paced these forests for so long
I don`t know, if I am a man or I am beast
I though hold deep within me, a quest for revenge
Then I must be a man as much as I can be
I have learned to speak the tongue of animal
I have learned to read the signs in bark and snow
I have taken within myself the spirits of my fathers long time gone
In this short time, far from home
A man of iron I`ve grown...
...A man of iron I have grown

(Hail Quorthon... RIP)

If you like my work and consider me worthy, consider DONATE me too. Thanks in advance!
The Following 23 Users Say Thank You to serajr For This Useful Post: [ Click to Expand ]
 
lyndonguti
Old
#5  
lyndonguti's Avatar
Recognized Contributor
Thanks Meter 2102
Posts: 2,729
Join Date: Sep 2011
Location: Milano

 
DONATE TO ME
1st to sayyy woooowwwww great mate !!

Sent from my C6603 using Tapatalk
PrEsS TNX OR BUY ME A BEER If I HeLp yOu
and appreciate my work u can make me happy

 
funky0308
Old
(Last edited by funky0308; 10th March 2014 at 10:49 PM.)
#6  
funky0308's Avatar
Recognized Themer
Thanks Meter 4943
Posts: 6,133
Join Date: Aug 2012
Location: Osijek

 
DONATE TO ME
Awesome....I'm gonna flash it right away.

So, only "bug" you have in released version is that search bar bug?

Great work...!

Nice....mate...absolutely amazing..

Everything is working incredibly well...fast and fluid.

BTW - only "bug" I could found is that I should apply my theme again to get back my navigation bar icons...

I don't know is this is placebo or what but everything seems more fluid and smooth...

Also...do you maybe know how to fix this back icon (it's bigger that rest icons)

That was problem with some 136 firmwares on Z1 but I just used different systemUI - and I don't want to use another one anymore


Sent from my C6903 using Tapatalk
 
lyndonguti
Old
(Last edited by lyndonguti; 10th March 2014 at 10:50 PM.)
#7  
lyndonguti's Avatar
Recognized Contributor
Thanks Meter 2102
Posts: 2,729
Join Date: Sep 2011
Location: Milano

 
DONATE TO ME
The new home is really great works in all theme ...i gues this is the first fully functional home without problems !! I like the drawer its now full screen


Edit: im still trying to get work the systemui


Sent from my C6603 using Tapatalk
PrEsS TNX OR BUY ME A BEER If I HeLp yOu
and appreciate my work u can make me happy

 
funky0308
Old
#8  
funky0308's Avatar
Recognized Themer
Thanks Meter 4943
Posts: 6,133
Join Date: Aug 2012
Location: Osijek

 
DONATE TO ME
Z1 users - don't enable systemUI customisation in Xperia Xposed - you'll end in systemUI FC.

Everything seems excellent for me.

Sent from my C6903 using Tapatalk
 
lyndonguti
Old
#9  
lyndonguti's Avatar
Recognized Contributor
Thanks Meter 2102
Posts: 2,729
Join Date: Sep 2011
Location: Milano

 
DONATE TO ME
Quote:
Originally Posted by funky0308 View Post
Z1 users - don't enable systemUI customisation in Xperia Xposed - you'll end in systemUI FC.

Everything seems excellent for me.

Sent from my C6903 using Tapatalk
Mate i also have that hjge back button hene

Sent from my Transformer TF101 using Tapatalk now Free
PrEsS TNX OR BUY ME A BEER If I HeLp yOu
and appreciate my work u can make me happy

 
funky0308
Old
#10  
funky0308's Avatar
Recognized Themer
Thanks Meter 4943
Posts: 6,133
Join Date: Aug 2012
Location: Osijek

 
DONATE TO ME
Quote:
Originally Posted by lyndonguti View Post
Mate i also have that hjge back button hene

Sent from my Transformer TF101 using Tapatalk now Free
@niaboc79 had solution for that.
Mate, could you help a bit here...

I could resize it but that's not solution...that's improvising

In landscape is O.K but portrait is odd...

Sent from my C6903 using Tapatalk

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes