Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[TUTORIAL] Speed up notification pullup and dropdown (SystemUI.apk) all devices :)

OP Mr.Nigma...

6th May 2013, 11:13 PM   |  #1  
Mr.Nigma...'s Avatar
OP Senior Member
Flag Tirana
Thanks Meter: 111
 
189 posts
Join Date:Joined: Sep 2012
More
Tutorial about speeding up notification center drop down/pull up
1.First of all you need to get SystemUI.apk of yur actual rom
The ne im using is open root explorer and copy SystemUI.apk to your sdcard
2.Connect the phone to the computer and copy the SystemUI.apk to the extracted APKTOOL directory (download apktoolApktool.zip)
3.There is a guide on how to use apktool here :Guide apktool
4.Decompile SystemUI.apk
5.Navigate \SystemUI\res\values and open dimens.xml (use notepad ++)
6. Find self_expand_velocity, self collapse velocity. and change the values from the defalut +2000 per each.
7.You can change other values too, they are pretty much selfexplanatory.
8.After the necessary changes save the file and recompile systemui.apk
9.After recmpiling you can push it to system using ADB or i made a .zip to flash it in recovery.(Just put SystemUI.apk in system/app and you are ok) Just whatch out for the name as it should be exactly the ssame as it was before.
10.Flash the zip wipe cache/dalvik and enjoy your new fast dropdown and pullup
DONT FORGET THANX BUTTON

EDIT: It was pointed out that in newer versions of android (dip=dp) its the same thing so don't change it.
Attached Thumbnails
Click image for larger version

Name:	Untitled.jpg
Views:	5502
Size:	200.8 KB
ID:	1941331  
Attached Files
File Type: zip Systemui-flasher.zip - [Click for QR Code] (153.8 KB, 1079 views)
Last edited by Mr.Nigma...; 17th May 2013 at 12:33 AM.
The Following 53 Users Say Thank You to Mr.Nigma... For This Useful Post: [ View ]
7th May 2013, 08:12 PM   |  #2  
Member
Flag Bucuresti
Thanks Meter: 11
 
56 posts
Join Date:Joined: Sep 2011
More
Quote:
Originally Posted by Mr.Nigma...

Tutorial about speeding up notification center drop down/pull up
1.First of all you need to get SystemUI.apk of yur actual rom
The ne im using is open root explorer and copy SystemUI.apk to your sdcard
2.Connect the phone to the computer and copy the SystemUI.apk to the extracted APKTOOL directory (download apktoolApktool.zip)
3.There is a guide on how to use apktool here :Guide apktool
4.Decompile SystemUI.apk
5.Navigate \SystemUI\res\values and open dimens.xml (use notepad ++)
6. Find self_expand_velocity, self collapse velocity. and change the values from the defalut +2000 per each.

7.You can change other values too, they are pretty much selfexplanatory.
8.After the necessary changes save the file and recompile systemui.apk
9.After recmpiling you can push it to system using ADB or i made a .zip to flash it in recovery.(Just put SystemUI.apk in system/app and you are ok) Just whatch out for the name as it should be exactly the ssame as it was before.
10.Flash the zip wipe cache/dalvik and enjoy your new fast dropdown and pullup
DONT FORGET THANX BUTTON

I decompiled systemui.apk but i can/t find \SystemUI\res\values
9th May 2013, 07:00 AM   |  #3  
Ramboboy's Avatar
Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Jan 2013
I have the same question. maybe your decompilation have some problems.

Sent from my lenovo A789 using xda app-developers app
9th May 2013, 09:13 PM   |  #4  
webleeper's Avatar
Senior Member
Flag Long Island, NY
Thanks Meter: 50
 
220 posts
Join Date:Joined: Apr 2007
Got it working... FINALLY
OK first of all thanks for this, makes a huge difference on the notification pullup and dropdown speed.

I couldn't apply the path with just the regular apktool, tried different revisions and none worked until I found apktoolsjb on this forum

http://forum.xda-developers.com/show....php?t=1809649

Thanks again
10th May 2013, 01:03 PM   |  #5  
Mr.Nigma...'s Avatar
OP Senior Member
Flag Tirana
Thanks Meter: 111
 
189 posts
Join Date:Joined: Sep 2012
More
Quote:
Originally Posted by yonutz

I decompiled systemui.apk but i can/t find \SystemUI\res\values

it is in that folder for sure. have followed the guide step by step? maybe u havent decompiled just extracted the apk.
The Following User Says Thank You to Mr.Nigma... For This Useful Post: [ View ]
14th May 2013, 11:08 PM   |  #6  
Senior Member
Thanks Meter: 65
 
1,172 posts
Join Date:Joined: Jul 2009
More
On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smal i). However those are in hex format which I cannot decode.

Quote:

.field public static final self_collapse_velocity:I = 0x7f0c001c
.field public static final self_expand_velocity:I = 0x7f0c001b

Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?
14th May 2013, 11:32 PM   |  #7  
Mr_Bartek's Avatar
Senior Member
Thanks Meter: 400
 
1,193 posts
Join Date:Joined: Jun 2009
Donate to Me
More
Quote:
Originally Posted by matejdro

On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smal i). However those are in hex format which I cannot decode.



Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?

Looks more like a reference to resources to me.
14th May 2013, 11:34 PM   |  #8  
CarlDeanCatabay's Avatar
Senior Member
Flag Imus City
Thanks Meter: 4,753
 
568 posts
Join Date:Joined: Apr 2012
Donate to Me
More
Quote:
Originally Posted by matejdro

On Note 2 (and probably other Samsung devices) there is no layout.xml, but values are inside smali file (SystemUI\smali\com\android\systemui\R$layout.smal i). However those are in hex format which I cannot decode.



Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?

Try to check for that id (0x7f0c001c and/or 0x7f0c001b) in res/values/ids.xml. It could point to any value in any of the xml inside res/ folder.
The Following 2 Users Say Thank You to CarlDeanCatabay For This Useful Post: [ View ]
14th May 2013, 11:38 PM   |  #9  
Senior Member
Thanks Meter: 65
 
1,172 posts
Join Date:Joined: Jul 2009
More
No xml file contains those values (I ran search over whole folder). Only before mentioned R$layout.smali and com\android\systemui\statusbar\phone\PhoneStatusBa r.smali
14th May 2013, 11:44 PM   |  #10  
Member
Flag Powder Springs
Thanks Meter: 3
 
84 posts
Join Date:Joined: Nov 2012
Donate to Me
More
Linux
Any way I con do this in Linux, ubuntu to be specific.

I figured it out, Ijust hope I can put back into .apk format.
Last edited by thomtlhom; 14th May 2013 at 11:49 PM. Reason: figured it out

Post Reply Subscribe to Thread

Tags
center drop down, fast android, notification, pull up, speed
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes