Post Reply

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

OP serajr

10th March 2014, 09:41 PM   |  #1  
serajr's Avatar
OP Recognized Developer / Recognized Themer
Flag Rafard - SP
Thanks Meter: 10,152
 
2,654 posts
Join Date:Joined: Apr 2011
Donate to Me
More
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!!
.
Last edited by serajr; 24th March 2014 at 05:37 PM. Reason: v1.2
The Following 95 Users Say Thank You to serajr For This Useful Post: [ View ]
10th March 2014, 09:42 PM   |  #2  
serajr's Avatar
OP Recognized Developer / Recognized Themer
Flag Rafard - SP
Thanks Meter: 10,152
 
2,654 posts
Join Date:Joined: Apr 2011
Donate to Me
More
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
Last edited by serajr; 16th March 2014 at 04:49 PM. Reason: v1.2
The Following 25 Users Say Thank You to serajr For This Useful Post: [ View ]
10th March 2014, 09:42 PM   |  #3  
serajr's Avatar
OP Recognized Developer / Recognized Themer
Flag Rafard - SP
Thanks Meter: 10,152
 
2,654 posts
Join Date:Joined: Apr 2011
Donate to Me
More
[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:
.method public declared-synchronized show(Landroid/os/Bundle;)V
4. Inside the method look for something like:

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:
    .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:
.method public setTranslucentBackground(Z)Lcom/sonymobile/ui/support/SystemUiVisibilityWrapper;
4 (Prograrded version). Look for this method:

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

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:
.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:
.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:
.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:
.method public static setDefaultSystemUiVisibility(Landroid/view/Window;)V
4. Insert blue lines

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:	2226
Size:	45.9 KB
ID:	2627496   Click image for larger version

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

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

Name:	Album_Bars.jpg
Views:	1417
Size:	200.8 KB
ID:	2632159  
Last edited by serajr; 15th March 2014 at 04:19 PM. Reason: v1.1
The Following 25 Users Say Thank You to serajr For This Useful Post: [ View ]
10th March 2014, 09:43 PM   |  #4  
serajr's Avatar
OP Recognized Developer / Recognized Themer
Flag Rafard - SP
Thanks Meter: 10,152
 
2,654 posts
Join Date:Joined: Apr 2011
Donate to Me
More
Camera Thumbs
Thumbs...
Attached Thumbnails
Click image for larger version

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

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

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

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

Name:	Serajr_ZU_KK_07.jpg
Views:	33624
Size:	60.1 KB
ID:	2623927   Click image for larger version

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

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

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

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

Name:	Serajr_ZU_KK_06.jpg
Views:	31219
Size:	66.1 KB
ID:	2625942   Click image for larger version

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

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

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

Name:	Serajr_ZU_KK_Accent_04.jpg
Views:	26933
Size:	32.5 KB
ID:	2633679  
Last edited by serajr; 16th March 2014 at 04:45 PM. Reason: v1.2
The Following 24 Users Say Thank You to serajr For This Useful Post: [ View ]
10th March 2014, 10:18 PM   |  #5  
lyndonguti's Avatar
Recognized Contributor
Milano
Thanks Meter: 2,102
 
2,729 posts
Join Date:Joined: Sep 2011
Donate to Me
1st to sayyy woooowwwww great mate !!

Sent from my C6603 using Tapatalk
10th March 2014, 10:28 PM   |  #6  
funky0308's Avatar
Recognized Themer
Flag Osijek
Thanks Meter: 5,391
 
6,604 posts
Join Date:Joined: Aug 2012
Donate to Me
More
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
Last edited by funky0308; 10th March 2014 at 10:49 PM.
10th March 2014, 10:38 PM   |  #7  
lyndonguti's Avatar
Recognized Contributor
Milano
Thanks Meter: 2,102
 
2,729 posts
Join Date:Joined: Sep 2011
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
Last edited by lyndonguti; 10th March 2014 at 10:50 PM.
10th March 2014, 10:59 PM   |  #8  
funky0308's Avatar
Recognized Themer
Flag Osijek
Thanks Meter: 5,391
 
6,604 posts
Join Date:Joined: Aug 2012
Donate to Me
More
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
10th March 2014, 11:04 PM   |  #9  
lyndonguti's Avatar
Recognized Contributor
Milano
Thanks Meter: 2,102
 
2,729 posts
Join Date:Joined: Sep 2011
Donate to Me
Quote:
Originally Posted by funky0308

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
10th March 2014, 11:05 PM   |  #10  
funky0308's Avatar
Recognized Themer
Flag Osijek
Thanks Meter: 5,391
 
6,604 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Quote:
Originally Posted by lyndonguti

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

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Sony Cross-Device Development Themes and Apps by ThreadRank