[MOD]LolliPop Navigation bar / navigation keys for galaxy quattro/win i8552 - Samsung Galaxy Grand Quattro

Lolipop Styled navigation bar for samsung galaxy quattro / win
for those who loves the lollipop styled naviation bar and keys for samsung quattro
Remember as always “I WILL NOT BE RESPOSIBLE FOR YOUR DEVICE..DO IT ON YOUR OWN RISK”
Tools required
1.A computer ofcourse
2.Apktool or AdvancedApkTool
I prefer AdvancedApkTool by BDFreak for its ease of use.
Before using the above mentioned tools You should be having a good knowledge about the procedure and how to decompile , recompile and signing apk files
U can check it from here if u never heard about the apktools
http://forum.xda-developers.com/show....php?t=1755243
For Step to step procedure
http://forum.xda-developers.com/show....php?t=1989533
For Advanced ApkTool http://forum.xda-developers.com/show....php?t=2639400
2.SystemUI.apk
You can can pull it out from your phone using any root enabled file mangers like root explorer or ES file manager
3.An XML editing tool
Preferably Notepad++
You can Install it on your PC from https://notepad-plus-plus.org/download/v6.7.9.2.html
BEFORE DOING THIS ALWAYS TAKE A BACKUP OF YOUR ROM USING NANDROID OR TWRP I WLL NOT BE RESPONSIBLE FOR BRICKED PHONE
STEP 1 --- ACTIVATING THE NAVIGATION BAR
1. using root explorer or ES file manager open build.prop as editable text or use any buil.prop editor
2. go to the bottom and add this line
HTML:
qemu.hw.mainkeys=0
3. Save the file and reboot
now you will ab able to see the jelly bean themed navigation bar
STEP 2.------ Lollipop soft keys
download the attached file , unzip it and push the files inside lollipopkeys folder to SystemUI.apk\res\drawable-hdpi using 7zip or you can add it after decompiling the SystemUI.apk and recompille and sign it back
STEP 3.------ Now push back your SystemUI.apk to your Phone
ie. Root\System\app\
Paste it and set persimmons as rw-r-r (assuming you know the drill )
ReBoot
IF YOU WANT TO DISABLE THE PHONE RECENT AND BACK BUTTON
OPEN Root Explorer, navigate to System > usr > keylayout, and open Generic.kl in Text Editor
navigate to key 139 MENU and key 158 BACK, and put a "#" sign in front of each line. Save the file.
For disabling backlight on your capacitive keys go to phone Settings > Device > Display > Touch key light duration, and switch the setting to Always off
TO REARRANGE THE BACK AND RECENT TAB BUTTON
if you want the back button on the left and recent on the other side
follow the steps
. Decompile the SystemUI.apk file using the apktool or advancedapktool
2. Open the folder and go to \res\layout
3. Find the file “ tw_navi_bar.xml”
4.Open it using Notepad++ or any xml editing tool
find
HTML:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/recent_apps" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_navigationbar_recent" android:layout_weight="1.0" android:contentDescription="@string/accessibility_recent" systemui:glowBackground="@drawable/tw_sysbar_highlight" />
and
HTML:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:layout_width="wrap_content" android:layout_height="fill_parent" android:src="@drawable/tw_navigationbar_back" android:layout_weight="1.0" android:contentDescription="@string/accessibility_back" systemui:keyCode="4" systemui:glowBackground="@drawable/tw_sysbar_highlight" />
Now replace the first with the second one and second with the first one
its just shifting each code position on the top and bottom side of the home button
save it
. Recompile the apk..and don’t forget to sign or else u will end up in Bootloop
Now push back your New SystemUI.apk to your Phone
ie. Root\System\app\
Paste it and set persimmons as rw-r-r
ReBoot
IF YOU WANT TO CHANGE THE HEIGHT AND WIDTH OF NAVIGATION BAR
for this you need to decompile framework-res.apk
If u knw how to decompile and recompile framework apk then only you proceed or else u wll end up in bootloop
decompile framework-res.apk
Go to /res/values
open dimens.xml
find "navigation_bar_height" , "navigation_bar_height_landscape" and "navigation_bar_width"
change the dpi values ....better not to change it below 22 dpi
save it
recompile the apk and push it back to framework folder
reboot

can u please make flashable zip......please ....thakns in advance

Yes can u give atleast the systemui. Apk

Related

[TUT] Advance Framework Edit

things you'll need
APK MANAGER
7zip
DESCRIPTION :
Q : Basic
A : The icons are stored in the Drawable-mdpi folder in the framework.
these icons are linked to XML's in Drawable folder
if you just add the icons and don't change the xml, you'll get nothing.
Q : Why Cant we just Edit the XML files?
A : The XML files are encrypted. if you try to edit it you will get weird characters.
Q : No XML No Edits, Are we Done?
A : Yes, No XML No Edits. But we've a walkaround. The APK MANAGER
it decompiles the apk and unencrypts the xml file.
BASIC :
Extract the contents of APK MANAGER to any folder
you'll have few folders
place your apk in the place-apk-here-for-modding folder
open Script.bat
and chose option to decompile and minimize
it will create a folder namely PROJECTS
now you can edit the xml files
after your done, maximize the apkmanager window and choose comiple apk
HOW TO ADD MORE PNGS :
if you want to add pngs like the battery percentage you'll need to link the png to the xml file
this can be done by two ways
1. assigning resource_id
&
2. directly putting in the names
the 1st method is easy but complex so forget it
the second method is simpler.
just find the xml file corresponding to the png and than simply add the name.
for eg.
stat_sys_battery.xml is the battery status xml.
<item android:drawable="@drawable/stat_sys_battery_0" android:maxLevel="0" />
Click to expand...
Click to collapse
here the
android:drawable is the android code
and
@drawable/stat_sys_battery_* is the file location
check the attachment for better understanding
Click to expand...
Click to collapse
THE PROBLEM & THE SOLUTION :
if you try to edit any modded framework file you'll get error while compiling.
and your phone will hang if you use that file.
SOLUTION
instead of using modded file. use the STOCK framework. Edit your files and compile your apk
now when you compile it, it will give you few options
1. is it a system file [y/n]
choose yes
2. (...blah blah.. do you wish to keep files)
choose yes
now it will extract the stock (unedited) framework in a KEEP folder
minimize the window
open the folder and delete all the files you modified.
if you had modified xml file you'll also need to delete resources.asrc
now maximize the apkmanager window and press any key.
your modded apk will be compiled in the place-apk-here-for-modding folder
PS : IT WOULD BE UNSIGNED
LAST STEP :
open the compiled unsigned apk and extract all the files you edited (including resources.asrc)
simply replace these files in the framework-res.apk you wanted to mod
only part to take care is the resources.asrc file you don't have to replace it directly
do this steps for replacing resources.asrc
1. right click the resources.asrc
2. select add to archive
3. archive format zip
4. compression method Store
5. select the path of your framework-res.apk
I know this all seems way to complex but if you read carefully and do it step by step, its all easy as a PIE

[GUIDE][UPDATED] Port Jelly Bean transitions animations for Gingerbread

1) First of all, you need to download and install APK MANAGER:
http://forum.xda-developers.com/showthread.php?t=695701
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" (Set current project) and enter. Then enter "1" (to choose the first apk) and enter. Then enter "9" (Decompile apk) and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to projects\framework-res\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this: http://www.mediafire.com/?9pf469gjjtpz9qf
8) Copy the files from the folder "anim" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes.
9) Now go to your apk manager folder, go to projects\framework-res\res\values\. Edit the file integers.xml.
Modify the values in those lines:
Code:
<integer name="config_shortAnimTime">150</integer>
<integer name="config_mediumAnimTime">300</integer>
<integer name="config_longAnimTime">400</integer>
to:
Code:
<integer name="config_shortAnimTime">200</integer>
<integer name="config_mediumAnimTime">400</integer>
<integer name="config_longAnimTime">500</integer>
and add these just below:
Code:
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" (Compile apk) and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "n" and enter.
12) Go to the folder "place-apk-here-for-modding" delete the file "unsignedframework-res.apk", click with the right mouse button on "framework-res.apk" and select "7zip > Open file", delete the folder "res" and "resource.arsc", go to the folder "projects\framework-res\build\apk\" select the folder "res" and the "resource.arsc", drag to zip and close.
13) Ready, now just replace.
P.S.: If you think that this post can help or interest people of other forums (with other devices), please share this post and also give credit to me!
Video demonstration:
http://www.youtube.com/watch?v=6Jy13o4miME
Nice guide
nice tuts,, will try it soon.
Could someone please upload it for the latest CM nightly? I really want to try it, but I'm not at home. So if someone happens to do it, please upload.
Nice guide
Insert witty sentence here
https://dl.dropbox.com/u/1664131/framework-res.apk for latest CM 7.2 nightly 20120923. Works great, thanks for the guide .
Holy fing sht! This is great! Thank you very much.
Videodemonstration add in OP
Some moderator can move this topic to this area http://forum.xda-developers.com/forumdisplay.php?f=565
I think that is the most appropriate place!
tried on CMX. works great. thanks bud.
Very nice guide....i wl try it today.....
Sent from my GT-S6102 using Tapatalk 2
Is it compatible to a framework with transparency?
I've tried it with Hyperion and nothing happened!
ErvinJohnEstrera said:
Is it compatible to a framework with transparency?
I've tried it with Hyperion and nothing happened!
Click to expand...
Click to collapse
Yes
Send me your framework-res and I can do for you
I tried with a framework tha hve the 14 toggles in status bar and the phone cant boot....
I have the reflash the rom :thumbup:
Sent from my GT-S5830 using Tapatalk 2
DaNiElCoRe said:
I tried with a framework tha hve the 14 toggles in status bar and the phone cant boot....
I have the reflash the rom :thumbup:
Sent from my GT-S5830 using Tapatalk 2
Click to expand...
Click to collapse
I am 15 and toogles in statusbar works perfectly, must have done something wrong.
Dinhodroid said:
I am 15 and toogles in statusbar works perfectly, must have done something wrong.
Click to expand...
Click to collapse
I will try again and comment the results.
Sent from my GT-S5830 using Tapatalk 2
nice..definitely going to try it
nice guide! i'll try it.. thanks!
This mod work in a stock rom because dont work for me in ktm stock.
Sent from my GT-S5830 using Tapatalk 2
Dinhodroid said:
1) First of all, you need to download and install APK MANAGER:
http://forum.xda-developers.com/showthread.php?t=695701
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" (Set current project) and enter. Then enter "1" (to choose the first apk) and enter. Then enter "9" (Decompile apk) and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to projects\framework-res\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this: http://www.mediafire.com/?3iinoup1n6jxpu2
8) Copy the files from the folder "anim" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes.
9) Now go to your apk manager folder, go to projects\framework-res\res\values\. Edit the file integers.xml.
Modify the values in those lines:
Code:
<integer name="config_shortAnimTime">150</integer>
<integer name="config_mediumAnimTime">300</integer>
<integer name="config_longAnimTime">400</integer>
to:
Code:
<integer name="config_shortAnimTime">200</integer>
<integer name="config_mediumAnimTime">400</integer>
<integer name="config_longAnimTime">500</integer>
and add these just below:
Code:
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" (Compile apk) and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "n" and enter.
12) Go to the folder "place-apk-here-for-modding" delete the file "unsignedframework-res.apk", click with the right mouse button on "framework-res.apk" and select "7zip > Open file", delete the folder "res" and "resource.arsc", go to the folder "projects\framework-res\build\apk\" select the folder "res" and the "resource.arsc", drag to zip and close.
13) Ready, now just replace.
P.S.: If you think that this post can help or interest people of other forums (with other devices), please share this post and also give credit to me!
Video demonstration:
http://www.youtube.com/watch?v=43_weDoZHtc&feature=youtu.be
Click to expand...
Click to collapse
Can u give your aapt.exe .. I failed to compiled my framework-res.apk .. i feel the problem was the aapt.exe

[BOOT ANIMATION] VERIZON DROID RAZR HD AND SONY XPERIA with sound

Here we go cool Boot-Animation from MOTOROLA RAZR HD and SONY XPERIA Z with sound.
Download link in attachment :
For MOTOROLA : Motorola_DROID_HD.zip
For XPERIA : bootanimation.zip
HOW TO :
1- Extract Motorola_DROID_HD.zip to SYSTEM>MEDIA (using root explorer)
2- FIX PERMISSIONS to rw-r--r-- as shown in ATTACHED THUMBNAIL
3- Rename Stock Bootanimation.zip to Bootanimation.zip.bak(for backup)
Enjoy and hit thanx if you like it :thumbup::thumbup:
Nice very nice
Any idea is a possibility to put time on the middle of the bar up ?
monkteo said:
Nice very nice
Any idea is a possibility to put time on the middle of the bar up ?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2085367
Check this thread or you can use this method
1. Extract apktool to a new folder.
2. Copy framework-res.apk and SystemUI.apk from your phone or from cm10 zip to your apktool folder.
3. Create a backup file of your original SystemUI.apk, name it whatever you want (preferably, backup.apk)
4. open cmd and go to your apktool folder.
5. Set up your framework:
6. Now Decompile SystemUI.apk:
Code:
java -jar apktool.jar d SystemUI.apk
7. In explorer, open your apktool folder and look for this path: /SystemUI/res/layout/
8. Open with notepad++ status_bar.xml and edit the following code like this : set gravity center
Code:
<LinearLayout android:gravity="center" android rientation="horizontal" android:id="@id/clock" android:layout_width="wrap_content" android:layout_height="fill_parent"> <com.android.systemui.statusbar.policy.Clock android:textAppearance="@style/TextAppearance.StatusBar.Clock" android:gravity="center" android:layout_width="wrap_content" android:layout_height="fill_parent" android:singleLine="true" />
11. Once it is done building you need to open the backup apk you made at the beginning with Winzip, Winrar, 7zip or your prefered compress tool. Also open New_SystemUI.apk with Winzip, Winrar, 7zip or your prefered compress tool. From inside the New_SystemUI.apk drag resources.arsc and classes.dex to the root of backup.apk and it will replace resources.arsc that is in the apk. You are almost done. From inside New_SystemUI.apk drag the res folder into the backup apk.
12. Copy this modified backup file to Zipalign folder and run the ZipAlign executable. Then run the .bat file. You will find your zipaligned file on the "ZipAlignedApps" folder.
13. Copy the file to your phone.
14. Using Root Explorer, copy your new SystemUI.apk to /system/app, and set 644 permissions ((rw-r--r--) or (tick Read: owner, group, others / Write: owner)
15. Reboot your phone and Enjoy!!!
Source : http://forum.xda-developers.com/showthread.php?t=1864647
Sent from my XT910 using xda premium
Thank you.. I was searching for RAZR HD boot screen..
Sent from my XT910 using xda app-developers app
Thanks. This animation is really cool!
RAZR HD bootanimation for XT910
Hey guys, I resized the images of the Razr HD bootanimation from 720x720 to 540x540 for our XT910.
The one in the OP gets cropped on the sides. Enjoy!
Dropbox:https://www.dropbox.com/s/xy1apxmsziz8qag/bootanimation.zip
Does the sound work on your devices? I've tried everything, searched everywhere and can't find why my device doesn't play the sound. I have changed the permissions...
dinosz1000 said:
Does the sound work on your devices? I've tried everything, searched everywhere and can't find why my device doesn't play the sound. I have changed the permissions...
Click to expand...
Click to collapse
Make sure that your phone is not on silent mode or on vibration mode
pritkudale said:
Make sure that your phone is not on silent mode or on vibration mode
Click to expand...
Click to collapse
It isn't... always on loud, checked permissions, checked the file is in the right place, the line in desc.txt (in the bootanimation.zip) is there for the sound file... nothing... i'm running custom rom aopk r12.
EDIT: Just tried it on stock rom and works perfectly so it has something to do with the custom rom...
Can I disable the sound by deleting it's file?
tomsoyar said:
Can I disable the sound by deleting it's file?
Click to expand...
Click to collapse
Yes, you can.
tomsoyar said:
Can I disable the sound by deleting it's file?
Click to expand...
Click to collapse
yes u can
Sent from my XT910 using xda premium

Remove the sim card / duel sim icon on the status bar for Samsung galaxy win /Quattro

Remove the sim card / duel sim icon on the status bar for Samsung galaxy win /Quattro (i8552/8552B)
Sometimes the sim icon on the status bar is so annoying for someone who loves their phone to be clean ,simple and well organized.
Here is a simple Mod for removing the status bar sim icon
Remember as always “I WILL NOT BE RESPOSIBLE FOR YOUR DEVICE..DO IT ON YOUR OWN RISK”[/SIZE]
Tools required
1.A computer ofcourse
2.Apktool or AdvancedApkTool
I prefer AdvancedApkTool by BDFreak for its ease of use.
Before using the above mentioned tools You should be having a good knowledge about the procedure and how to decompile , recompile and signing apk files
U can check it from here if u never heard about the apktools
http://forum.xda-developers.com/showthread.php?t=1755243
For Step to step procedure
http://forum.xda-developers.com/showthread.php?t=1989533
For Advanced ApkTool http://forum.xda-developers.com/showthread.php?t=2639400
2.SystemUI.apk
You can can pull it out from your phone using any root enabled file mangers like root explorer or ES file manager
3.An XML editing tool
Preferably Notepad++
You can Install it on your PC from https://notepad-plus-plus.org/download/v6.7.9.2.html
4.Lots of patience and craving for learning
BEFORE DOING THIS ALWAYS TAKE A BACKUP OF YOUR ROM USING NANDROID OR TWRP I WLL NOT BE RESPONSIBLE FOR BRICKED PHONE
Now the Procedure :- How to remove the sim icon from status bar
1. Decompile the SystemUI.apk file using the apktool or advancedapktool
2. Open the folder and go to \res\layout
3. Find the file “ tw_signal_cluster_view.xml”
4.Open it using Notepad++ or any xml editing tool
5.Find the this Line
HTML:
android:id="@id/sim_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="4.0dip"
And replace with this
HTML:
android:id="@id/sim_icon" android:layout_width="0.0dip" android:layout_height="0.0dip"
6. Now Find the file “tw_status_bar_expanded_dual.xml
7.Open it and find the line
HTML:
android:id="@id/quickpanel_dualsim_layout" android:layout_width="fill_parent" android:layout_height="4.0dip"
Replace it with
HTML:
android:id="@id/quickpanel_dualsim_layout" android:layout_width="fill_parent" android:layout_height="0.0dip"
8. save Both the files
9. Recompile the apk..and don’t forget to sign or else u will end up in Bootloop
10 Now push back your New SystemUI.apk to your Phone
ie. Root\System\app\
11. Paste it and set persimmons as rw-r-r (assuming you know the drill )
ReBoot
Hope This Will Be Helpful

Cant remove access to status bar permanently in android Oreo on Samsung - lost status

Hello
I need to remove the access to status bar permanently in android Oreo but its visible and can see it(Samsung j7core - android 8)(Apktool 2.3.3).
I follow from this post and this one :
My steps is:
1- adb pull /system/priv-app/SystemUI/SystemUI.apk
2- adb pull /system/framework/framework-res.apk
3- apktool if framework-res.apk
4- apktool if SystemUI.apk
5- apktool d SystemUI.apk
6- Open SystemUI\res\layout\status_bar.xml and add android:clickable="false" to the top most xml element
7- Open xhdpi folder and replace the corrupt pip_dismiss_scrim.9.png file with the file on the top of my post link
8- run apktool b SystemUI
9- Go to SystemUI\original and copy AndroidManifest.xml and META-INF to SystemUI\build\apk\
10- run apktool b SystemUI again
11- Go to SystemUI\dist\ and override the device's original SystemUI.apk with the one at SystemUI\dist\SystemUI.apk with adb push SystemUI\dist\SystemUI.apk /system/priv-app/SystemUI/SystemUI.apk
12- change the permissions of SystemUI.apk
13- reboot device
14- see result >>> failed > the status bar and nav bar are lost ! cant see both of them
I do this steps on android 6 and worked perfectly .
Which step is wrong or must be do ?
please help ...
Many thanks.

Categories

Resources