(Touchwiz Samsung) How to Double Status Bar without decompiling Framework-res.apk - Android General

Items Required:-
1) SystemUI.apk
2) Apktool
3) Any text Editor such as Notepad ++ Or 920 Text Editor Or Jota Editor
Steps:-
1) First of all decompile SystemUI.apk
2) Now open decompiled UI.
3) Goto res/values folder of your decompile systemUI.
4) Open Dimens.xml By any text editor.
5) Search status_bar_size .
6) You will get something likes this :-
@*android:dimen/status_bar_height .
7) Now delete @*android:dimen/status_bar_height and replace it by 50.0dip .
8) Now Save it.
9) Recompile it. Push Meta Inf and androidmanifest.xml of original ui into the modded one.
10) Push it,,,,, and set permissions to rw--r-r :thumbup:
Tested by me in Samsung Galaxy Star Pro GT-S7262 JB 4.1.2

eboybasit said:
Items Required:-
1) SystemUI.apk
2) Apktool
3) Any text Editor such as Notepad ++ Or 920 Text Editor Or Jota Editor
Steps:-
1) First of all decompile SystemUI.apk
2) Now open decompiled UI.
3) Goto res/values folder of your decompile systemUI.
4) Open Dimens.xml By any text editor.
5) Search status_bar_size .
6) You will get something likes this :-
@*android:dimen/status_bar_height .
7) Now delete @*android:dimen/status_bar_height and replace it by 50.0dip .
8) Now Save it.
9) Recompile it. Push Meta Inf and androidmanifest.xml of original ui into the modded one.
10) Push it,,,,, and set permissions to rw--r-r :thumbup:
Tested by me in Samsung Galaxy Star Pro GT-S7262 JB 4.1.2
Click to expand...
Click to collapse
What do u mean by double status bar??

Doubling status bar size to make flyme OS status bar

kahmad989 said:
What do u mean by double status bar??
Click to expand...
Click to collapse
maybe change size statusbar height :angel:

syaeful said:
maybe change size statusbar height :angel:
Click to expand...
Click to collapse
Right bro ^_^

Related

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

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.
Mr.Nigma... said:
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
Click to expand...
Click to collapse
I decompiled systemui.apk but i can/t find \SystemUI\res\values
I have the same question. maybe your decompilation have some problems.
Sent from my lenovo A789 using xda app-developers app
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/showthread.php?t=1809649
Thanks again
yonutz said:
I decompiled systemui.apk but i can/t find \SystemUI\res\values
Click to expand...
Click to collapse
it is in that folder for sure. have followed the guide step by step? maybe u havent decompiled just extracted the apk.
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.smali). However those are in hex format which I cannot decode.
.field public static final self_collapse_velocity:I = 0x7f0c001c
.field public static final self_expand_velocity:I = 0x7f0c001b
Click to expand...
Click to collapse
Above value translates to 2131492892 as integer, which makes zero sense. Probably some kind of float value?
matejdro said:
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.smali). 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?
Click to expand...
Click to collapse
Looks more like a reference to resources to me.
matejdro said:
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.smali). 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?
Click to expand...
Click to collapse
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.
No xml file contains those values (I ran search over whole folder). Only before mentioned R$layout.smali and com\android\systemui\statusbar\phone\PhoneStatusBar.smali
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.
Be careful:
"dp" was actually called "dip" in early versions of the SDK. They changed it to "dp" shortly after.
Click to expand...
Click to collapse
That screenshot isn't from a 4.1/4.2 rom - So anyone who wants to try this and has 4.2 (I'm having 4.2.2), change only the values. leave the "dp" as is, don't change it into "dip".
OP - you might as well write this down!
Great, some developer with Xposed skills to do that through an Xposed module .... (You know that would be great)
I used your MOD as an Add On for my ROM. I hope thats ok credit was given (see bottom of OP). Thanks for the Info..
http://forum.xda-developers.com/showpost.php?p=37148754&postcount=1
Thanks. I already hitted it.
Sent from my C6603 using xda app-developers app
Great tut, I would suggest turning off animations entierly in developers options for the best UI smoothness.
self_expand_velocity, self collapse velocity NOT FOUND
I dint find anything like that in \SystemUI\res\values\dimens.xml
Samsung galaxy ace GT-S5830i
I can't find a values folder in my SystemUI
riteshpanjwani said:
I dint find anything like that in \SystemUI\res\values\dimens.xml
Samsung galaxy ace GT-S5830i
Click to expand...
Click to collapse
As some people replied these values are in another file. But i'll look again and edit the op with SAMSUNG specific files
Hmmm
JDogg1329 said:
I can't find a values folder in my SystemUI
Click to expand...
Click to collapse
Check your ROM if it is odex, check /system/app/ if there is SystemUI.odex. You need to deodexed if first so you can edit. However you can also di it using baksmali you just need the SystemUI.odex.
I have this, dont have this what you say.What do now?.Custom ROM - CM7

[GUIDE][ICS] Status BAR/General [18/6/13]

Change Background Of Recent Apps.​
NOTE:
-This Works only with Sense4.0a,ICS,CM-9 [Trust me I've tested it myself]
-I'll take the Black Color Code to Change the Background.
-Read before posting Queries.
-Changing Background-- Increases Smoothness
Click to expand...
Click to collapse
TUTORIAL :
Click to expand...
Click to collapse
Pull SystemUI.apk from your Phone.
Decompile the APK Using Any APK Decompiler.
Navigate to res/values/drawables.xml
Search "<item type="drawable" name="status_bar_recents_background_solid">#b3000000</item>" inside "drawables.xml"
Change The Color Code That is "#b3000000" To "#ff000000" to make it black.
You can Change to any color you want, Just change the color code.
Save the xml.
Recompile APK
Sign the APK
Push it in /system/app
You're free to Enjoy .
Open this Thread and Hit Thanks. Least You can do.
Thank's. Try it and let me know.
Click to expand...
Click to collapse
Enabling Lock Screen Rotation
Instructions:​
Decompile framework-res.apk
Navigate to /res/values/bools.xml
Open bools.xml via notepad++
Change "confix_enableLockscreenRotation" To "True" From "False"
Recompile framework-res.apk
Sign the APK And test it
​
Disabling Capacitive Button's Backlight​
Over review:​
Decompile framework-res.apk
Edit bool.xml
Recompile APK
Sign APK
Procedure:
Decompile framework-res.apk
Go to framework/res/value/bools.xml
Find these Two lines:
<bool name="config_automatic_brightness_available">true</bool>
Click to expand...
Click to collapse
AND
<bool name="config_autoBrightnessButtonKeyboard">true</bool>
Click to expand...
Click to collapse
Make Sure that the value in these two lines must be >true<
That's All :angel:
I'll add more when I'll get time For now try these ​
The capacitive buttons backlight procedure, is the solution for some ROMs that had them dissable?
If yes, I cant find the bools.xml into framework-res.apk
Regards!

[GUIDE][GB]How to Make A Transparent Status Bar

Hello Guys
This is a Guide on How to make your status bar transparent
This Thread is mostly on GB Devices
Moderators.. Please MOVE This Thread if post in wrong section... Sorry
Click to expand...
Click to collapse
You can try it on other device....
Like on ICS,JB,KK
Tested on GB Device... (GT-S5302 Samsung Galaxy Pocket Duos Lite)
I will tell you the Requirements and Or anything you need..... Just continue reading
Requirements:
SystemUI.apk
Knowledge of Editing XML
Apktool Installed
Java JRE Installed (To make everything fine at all)
Nandroid Backup or Backup of Existing Status Bar Before Editing
Click to expand...
Click to collapse
Additional:
Download This...
Name:Transparent Codes.TXT*NEEDED*
Link:http://d-h.st/gsI
MD5:95f9cca41d0f6ff6f067b675d0a5af33
Click to expand...
Click to collapse
This what will you do...
1.) Decompile SystemUI.apk
2.) Navigate to SystemUI/res/layout/status_bar.xml
3.) Then Find this line
<com.android.systemui.statusbar.StatusBarView androidrientation="vertical" android:background="#ff000000" android:focusable="true" android:descendantFocusability="afterDescendants"
4.) You will edit in this line is this....
Code:
android:background="#ff000000"
Now.... Go open the transparent codes.txt and copy the code that list there..(there are 20% 50% 75% and 100 % transparent codes..)
and it will be like this...
Code:
android:background="#3F000000" (75% transparent code though)
5.) Now Save and recompile and Sign it...
6.) Flash it or Push it
Click to expand...
Click to collapse
No PC?? Then In Mobile.... this is how..
Apktool For Android Devices
Link:https://code.google.com/p/apktool/
920 Text Editor
Link:Not Available.... Search it on Play Store
Or Any Editor That has XML Supported!
Decompile it but first install framework first!
Then Open the status_bar.xml with 920 Text editor or any editor xml supported
After Editing Recompile and Sign
Push it
Click to expand...
Click to collapse
There are two methods that ables you to apply it to your system
1.)Flashing The ZIP
2.)Pushing through System
Flashing Method...
Link:http://d-h.st/Bm9
MD5:8e4d16ffaf810025df1dc3b2f427f563
AND Requires a..
And have an knowledge of adding files through the ZIPs
Must Extract it and edit the updater-script through Notepad ++
And Make it into ZIP in Compression Format to Store
Click to expand...
Click to collapse
DONE!
For Pushing...
You Need... Root Explorer....
Cannot add link.. Why.. Its Paided..
This is how...
1.)Go to Root Explorer
2.)Get The SystemUI.apk that has modified....
3.)Navigate to System/app
4.)Mount R/W
5.)Delete the Exist SystemUI.apk
6.)Paste it quickly the copied SystemUI.apk
7.)Set Permission... to rw-r--r--
Click to expand...
Click to collapse
or just this...
Owner:Check Check Uncheck
Group:Check Uncheck Uncheck
Others:Check Uncheck Uncheck
Click to expand...
Click to collapse
Credits:
Narinda iBay
Galaxy Pocket FB Community Group
Me
You who reading
Click to expand...
Click to collapse

[Guide] Changing Dialer Background

This is a small tutorial showing you about changing dialer background...
.
Necessary Tools
-Apktool/NinjaMorph!
-Root Explorer
-A brain
.
It's a easy process... Any one can do this!!!
Let's start
.
At first take Contacts. apk of a ROM which you want to mod.. Then decompile it with apktool or NinjaMorph.
You will find some folders......
Open "res" folder the search for folder "drawable-nodpi" open it you will find some PNG images...
Search for the PNG file "background_dial_holo_dark.PNG" .. replace it with any PNG with the same name "background_dial_holo_dark.PNG"!!!
.
After done recompile the apk and push in to system>app by root explorer and reboot your phone.......
And enjoy the new dialer background……
.
N.B- I cannot make sure that it will work, but I have done it in my MTK phone and it worked..
.
HIT A THANKS IF I HAVE HELPED YOU
.

[Guide] How to edit app icons using Apktool

Hello,
This is a guide that will show you how to edit app icons, by decompiling the apk file using Apktool X (current version is: 7.2.2a- Black).
But why would You want to edit a app icon using this method?
Well, at the time of speaking Android N doesn't have support for Xposed so you can't use Flipster for example... Or if you don't have root, by following this guide you can edit app icons system- wide.
Firstly download Apktool X by Andro Black.
After that you want to install it, and find a apk file you want to modify.
After you found the apk, press it once and chose: Decompile res
After that is done (depending on your phone and the apk size it might take several minutes), Use a file manager and open the "Base_src" > "res".
Then find " minimap-*****-** (the "*" could be for example xxhdpi-v4).
Then open one of those minimap folders ( I recommended the first or last one so you could keep track of it where you replaced the icons).
Copy your preferred .png icon and paste it in one of the folders. In the minimap folder you should find the .png icon... Usually it has a name ic_launcher.png.
Delete it, and rename your icon to the name of the stock icon.
Repeat the process in every minimap folder.
After you did that, go to Apktool X and find the Base_src file that you just edited.
Long press it and chose recompile.
Now wait... A few moments/minutes...
When it's done you will get a base_src.apk.
Press it and chosse "Sign".
After that install the base_src_sign.apk
After installation i recommended disabling updates for that app, because a future update will (most likely) overwrite your icon.
Special thanks to: @iBotPeaches for making the original Apktool, and Andro Black for updating the app.
Hope this help's Your OCD :laugh:
In case this guide doesn't help you, leave a question, and i will kindly answer as soon as i can.
In case this works for You, it would be great if You could leave a thumb's up
Links:
Apktool by Andro Black: https://www.androidfilehost.com/?w=profile&uid=24562946973631820
Tags: Edit app icons, no root, icon pack, system wide
Screenshots:
-Here is: Kernel Auditor with a modified icon:
Whatsapp with S8 icon plz
Editing app's totally
Open an app as zip file then res>midmap.
You can see three or four midmaps, there will be a png called ic_launcher.png or icon.png change it manually which icon you want and rename it as what the icon name is in midmap that's all it will be change completely.
Thank you for reading.:

Categories

Resources