Hello everyone,
it's a simple tweak to change your home screen grid size by your desire.
Modifications were made on Android Marshmallow.
Modification is only for stock Huawei Launcher.
GUIDE:
First of all, device must be rooted.
The next step would be to locate two files and edit them with simple text editor.
1) Go to
Code:
data/data/com.huawei.android.launcher/shared_prefs/LAUNCHER_SETTINGS.xml
open the file and locate this line
Code:
name="DESKTOP_LAYOUT_CELLS">4x4,4x5</string>
Change
Code:
4x4,4x5
to
Code:
4x4,5x5
Save it and close.
2) Go to
Code:
system/hw_oem/[I]SELECT YOUR MODEL/[/I]xml/hw_launcher_default_config.xml
open the file and locate this line
Code:
<item name="config_desktopCellsOptionItems">4x4,4x5</item>
Change
Code:
4x4,4x5
to
Code:
4x5,5x5
3) Restart your phone.
You can adjust app grid size to whatever you want, but in my opinion 4x5,5x5 is the best looking. I'll upload an image how it looks like.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nice.....
Sent from my HUAWEI VNS-L31 using Tapatalk
Related
Hello GT540 users, I just want to share my humble template of our device, so with this you can paste a screenshot of your ROM or whatever you want to show inside the device. :victory:
How to use?
Simple, just have your screenshot in your PC, then use some image manipulator like PhotoScape or GIMP2, then drag you screenshot or paste it inside the template, and just make a little adjusts to fit perfect inside the template. YOU DON'T NEED TO RESIZE ANYTHING, the template it's ready to screenshots toked from your Swift of via ADB, both use the same resolution/pixel of the device (320x480p).
Here's an example:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Inside the attached zip are the template for GIMP (In case that you can use it) and .PNG image template to use with your favorite image program.
I hope you like this, use with whatever you want.
Regards.
try with 1 lock screen or home screen when it is charging the same as iphone
First you must guide how to decompile apk files
Suitable for all Android devices
Ok,then,get ready your framework-res.apk,Decompile it
go to res/values,open navigationbar.xml with Notepad++ or Notepad2
search code
<bool name="config_showNavigationBar">false</bool>
give false to true
save,then open dimens.xml
search code
<dimen name="navigation_bar_height">48.0dip</dimen>
<dimen name="navigation_bar_width">48.0dip</dimen>
navigation_bar_height behalf of vertical screen height
navigation_bar_width width represents the horizontal screen
The above figures to the size you want
Note: 48.0dip must exist in .0dip
For example: instead 30DPI is 30.0dip
save,Compile, replace the device back on OK
f the CM ROM, please add the code in build.prop
qemu.hw.mainkeys=0
save, reboot you device
If you don't wanna it ,add this code
qemu.hw.mainkeys=1
save, reboot you device
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
In the "About phone" in the title picture added
Below
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
OK,Then
Let Toturials begin!
same as before,Decompile settings.apk and get ready your resources!
A png picture,480 * 200 pixels,Just as an example
My files
then,you file copy to res/drawable-hdpi,name is logo.png
download this xml file,copy to res/layout
http://forum.xda-developers.com/attachment.php?attachmentid=2685092&stc=1&d=1397455814
goto res/xml open device_info_settings.xml
In
Code:
xmlns: android = "http://schemas.android.com/apk/res/android"
xmlns: settings = "http://schemas.android.com/apk/res/com.android.settings">
Next, add the phrase, note the alignment
Code:
<PreferenceScreen android:layout="@layout/logo" android:key="od_logo" />
preview:
Then you can compile it.
well done
good!thanx huaihuai
Sent from my MI 2SC using xda app-developers app
。。。。。。
bloody hell,you got the sofa
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
the phone's screen has shrunk. what i should ?
You need to be more specific? I'm assuming you mean that all the objects on your phone have become smaller? If so, the DPI in the build.prop was probably edited. To change it download Root Browser or an app that can browse system partitions and edit files, then navigate to /system/build.prop. Look for "ro.sf.lcd.density=" and change the number by a bit. A smaller number will be everything will shrink and a larger number means everything will be bigger. Try not to edit if by too much (40 should be ok) because you can get stuck in a blank screen. After you edit it and saved it, reboot and everything should be bigger. Good luck!
Hello, today I bring how to enable 3G only and 4G only[/ B] for those interested.
For this you need have the bootloader unlocked and root
The process is the following:
With our favorite explorer, go to /data/cust/xml and open the file hw_defaults.xml with text editor.
We look for the two lines of the picture, at the 3G line, we remove the numbers inside the quotation marks and leave empty, and in line 4G, we remove 250 and put the MCC of our country (in my case, that of Spain is 214)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Save it, restart and already have available
Original: http://www.htcmania.com/showthread.php?t=1178585
within root https://barzrul.com/add-4g-lte-only-option-on-huawei-phone-without-root/