[How-to] Enable "double tab to wake" Huawei P9 Lite - Huawei P9 Lite Guides, News, & Discussion

Hi, if "double tab wake" feature is enabled (or no option in settigs menu) on your P9 Lite:
FOR ANDROID 6.0
Go to /system folder and open build.prop file in text editor.
Find this code: ro.config.hw_easywakeup=false and change it to true
Save and exit
Go to system/emui/base/xml folder and open hw_easywakeupmotion_config.xml file in text editor.
Find this code:
Code:
"EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131""
Change to value="1"
Save and exit
Reboot phone. And go to Setting --> SmartAssistance --> Motion Controle
FOR ANDROID 7.0
Go to system/build.prop
Add this line: ro.config.hw_easywakeup=true
Go to product/etc/prop/local.prop
Find ro.config.hw_easywakeup=false and change it to true
Go to system/emui/base/xml
Find hw_easywakeupmotion_config.xml
Find this line: EasyWakeupMotion name="Double_Touch" support="1" value="0" flag="0" keycode="131""
Change to value="1"

We already have a similar guide.

Hi.. I need to root for this guide ?

Mimmetiello said:
Hi.. I need to root for this guide ?
Click to expand...
Click to collapse
Yes, you need root access

Related

Rebuild Cab from XML - as long as waiting for UC customizing

Hi - as long as we are waiting for some cook to provide a ROM with UC customizing.... take a look here:
http://www.gpcarreon.com/rebuildcab/
to make a cab out of a .xml file with all your customs settings like here as an example....
http://forum.xda-developers.com/showpost.php?p=1896955&postcount=2
Good luck!
Quted from Sleuth:
Registry CSPs
Within the registry type, I set a lot of cool stuff. You should be able to firgure out how it works if you have basic registry skills. Essentially, setting values for any registry key looks like this:
Code:
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="BatteryTimeout" value="240" datatype="integer"/>
<parm name="ACTimeout" value="360" datatype="integer"/>
</characteristic>
First you set the key with the <characteristic type> tag, then you set values with the <parm name> tags. Binary values are a PITA since they're encoded Base 64 (see my entry for Owner Information above). If you want to set owner information as I did in the example, then you need to convert Unicode to Base64. Post here if you want to learn how and I'll show you how I do it.
Click to expand...
Click to collapse
This is also somewhat related with the topic we talked about here:
http://forum.xda-developers.com/showthread.php?t=359311
editing existing "regular" cabs to keep them as pre-modified custom ones.
le_hades said:
You have to rename:
windows\HTCHome.dll.0409.mui
windows\HTC_HDlg.exe.0409.mui
windows\HH_0409_WeatherCities.xml
to your locale variable (if your rom isn't wwe), in my case it's spanish (0C0A):
windows\HTCHome.dll.0C0A.mui
windows\HTC_HDlg.exe.0C0A.mui
windows\HH_0C0A_WeatherCities.xml
It worked for me.
There's another way to do it, harder but way better, i usually do this with my own cabs because after a hard reset i don't like having to change everything again. Steps:
1- Decompress the cab with winrar
2- Edit the file "setup.xml" and correct things you want to change about installation setup: name of files to install (like in this case), name of registry variables to write (like in 10-button commanager for wing), etc
3- Find and download "Cabpack 1.4", be sure to use the following options for it to work: "compression type = mszip", "Create cabinets for = 16 bit extractor"
4- Use it for re-compressing your modified cab and install.
5- Voilá... great pre-modified cabs that you can keep for the next hard-reset.
Hope you like it. Regards
Click to expand...
Click to collapse
Theres no limit of the things you can do with a little patience and xml editing.
Enjoy it

Launcher Tab, unlimited shortcuts, based on ATT tab

Ok, here's the files. I started on att manila(which is where tab comes from) and now have it running on non att manila(. This has been tested with ONYX theme which is using the latest htc manila version(1.2.35845.1_1813.6), which is where pics came from. I had up to 48 shortcuts made up, so I don't think it has a limit. It can be an odd number of shortcuts, doesn't have to have 3 on last row.
Its made from the ATT tab that was used for ATT specific links. I removed the ATT links and images. I added the tab icon links for tab bar back into the icons.mode9 file, 61f866ab_manila. Included lua scripts and ATT tab icons (1a5a121d_manila and 2e35e5f2_manila) which you can change to match your theme. The heart of it is the att_tabitems.xml which is where you have to edit your links for the shortcuts. All of files in zip need to be placed into \Windows folder on your phone. I can't make a cab, because you will have to edit the xml file to use this first. You can make shortcuts to open web links, files, folders, or apps. IconPath can point anywhere? or left blank. The softkeys are also set in the xml, so make them what you want. They currently connect to home and programs tabs of tf3d.
Here's some examples of xml, in these I was linking to icons folder I made in root of device named Realize(from the realize icon set).
App Link
Code:
<ATTtabItem
Name="Total Commander"
Path="\Program Files\Total Commander\cecmd.exe"
Arguments=""
IconPath="\Realize\TotalCommander.png"/>
Web Links
Code:
<ATTtabItem
Name="Opera"
Path="\Windows\OperaL.exe"
Arguments="http://m.google.com"
IconPath="\Realize\Opera95.png"/>
<ATTtabItem
Name="Google"
Path=":DEFBROWSER"
Arguments="http://forum.xda-developers.com"
IconPath="\Realize\GoogleNew.png"/>
<ATTtabItem
Name="Ebay"
Path="\Windows\iexplore.exe"
Arguments="http://ebay.com"
IconPath="\Realize\ebay.png"/>
Folder/file links
Code:
<ATTtabItem
Name="Games"
Path="\Windows\fexplore.exe"
Arguments="\Windows\Start Menu\Programs\Games"
IconPath="\Realize\Poker.png"/>
Soft Keys
Code:
<Softkey>
<LSK Path="\Windows\manila.exe" Arguments="--switchtopage Manila://home.page" Text="Home"/>
<RSK Path="\Windows\manila.exe" Arguments="--switchtopage Manila://programs.page" Text="Programs"/>
</Softkey>
To Install:
1. Disable tf3d in today settings.
2. Take the xml file and edit on your pc using Notepad to setup all your links
3. Edit your 26948339_manila file using Notepad as well, add lines from Post #2 below.
4. Copy all files in zip and your 26948339_manila to somewhere on phone.
5. Copy all files into \Windows folder on your phone using Total Commander(or equivalent).
6. Restart tf3d.
Almost forgot, you will have to add tab to your tab xml for tf3d.
Edit your 26948339_manila file using notepad on your pc.
Add the following lines, just change the page number to match your xml file.
Code:
<Page Order="10" Name="atttab.page" PackageName="HTC" Title="Launcher">
<ComponentReference Name="page" Mode9Path="HTC\ATTtab.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="ATTAtt_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="ATTAtt_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="ATTAtt_Preview" />
</Page>
WOW nice work I know lots of people have been asking for something like this. Ill wait for it to be a bit easier to install and edit which I"m sure will happen once everyone catch's wind of this lol
Thanks for the hard work
Is it possible to get this tab working with the rhodium manila? I'm currently using Energy Rom series 2.

Increase Headphones Volume of Mi3

Hi all,
I recently brough MI3, everything about phone was good except volume from headphones were very low,
Since many review called it as "Apple of China" i expected lot about volume,
I found a thread miui.com about volume increase,
Normally i done it by editing snd_soc_msm_2x file in my previous s4 mini and xperia sp but MI3 doesn't have it,
The file which has to be edit is "system/etc/mixer_paths_3_2_forte"
Steps:
1. Root your device
2. Download any root explorer
3. Goto to "System/etc"
4. Open "mixer_paths_3_2_forte" file
5. In that file Search for "<path name="headphones">"
6. Below that there will be two line
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
7. Change value to higher as per ur needs, i set "90"
8. Now save that file and Reboot your Phone.
Alternatively,
Copy that file "mixer_paths_3_2_forte" to pc,
Edit with Notepad++
Replace again in "system/etc" by overwriting old one
Or,
I have attached Edited file which is set to "value=90"
Just download and replace it.
You can change other values like speaker and other anc-headphone or earpiece volume also.
I really don't what other files regardless of "mixer_paths_3_2_forte" of same name do.
Enjoy.
BEFORE YOU REBOOT YOUR PHONE MAKE SURE THAT FILE HAS PROPER PERMISSION "rw-r-r", ELSE YOU WILL END UP WITH BOOTLOOP
I found this method at http://www.miui.com/thread-1836269-1-1.html.
All credits goes to original OP of that Thread.
Not works on latest firmware, Can some one post original file of it.
This works fine, been using it since I got my Mi3 around the start of the year. I also change the the hphl and hphr volume from between 35-50 and change the TI PA Gain value from between 30-50 anymore and in will sound awful. But that will increase the volume a notable amount.
Thanks for that, works OK for me!
How to increase microphone volume in calls?
No sound for I've done this mod.
I've tried to edit file manually and set the value to 90.
When I restart "no volume" and the settings > sound application is crashing.
I've tried to copy and paste your file too and same thing.
Finally I tried to restore the file "source copy & source paste" and same error occur.
Is this an encoding problem ?
I do not know how to restore the original file and I have no more sound at all on my Xiaomi .
I am using the dev rom (build number : KTU84P).
ftyteca said:
No sound for I've done this mod.
I've tried to edit file manually and set the value to 90.
When I restart "no volume" and the settings > sound application is crashing.
I've tried to copy and paste your file too and same thing.
Finally I tried to restore the file "source copy & source paste" and same error occur.
Is this an encoding problem ?
I do not know how to restore the original file and I have no more sound at all on my Xiaomi .
I am using the dev rom (build number : KTU84P).
Click to expand...
Click to collapse
Check the permission is properly set for the file, it should be rw-r-r
I checked it already but something appear to be strange with perms on xiaomi mi3.
I see rw-r-r but when I try to edit the file it tells me that "file is read-only. Do I want to set it read/write to edit".
I reply all, set my update 84 => 90 then save and exit.
Reboot ... no sound and Settings => Sounds is crashing.
I did not try furthermore and I flashed it my MI3 with the new dev rom.
Sound back and I did not try to modify the file again.
By the way thanks for your help.
please can you write what i need to change to increase speaker soung. (ringtone, music or everything via speaker)
What should be edited in the file to increase in-call volume? TIA!
Can you increase music volume similarly ?
vasiulla said:
Hi all,
I recently brough MI3, everything about phone was good except volume from headphones were very low,
Since many review called it as "Apple of China" i expected lot about volume,
I found a thread miui.com about volume increase,
Normally i done it by editing snd_soc_msm_2x file in my previous s4 mini and xperia sp but MI3 doesn't have it,
The file which has to be edit is "system/etc/mixer_paths_3_2_forte"
Steps:
1. Root your device
2. Download any root explorer
3. Goto to "System/etc"
4. Open "mixer_paths_3_2_forte" file
5. In that file Search for "<path name="headphones">"
6. Below that there will be two line
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
7. Change value to higher as per ur needs, i set "90"
8. Now save that file and Reboot your Phone.
Alternatively,
Copy that file "mixer_paths_3_2_forte" to pc,
Edit with Notepad++
Replace again in "system/etc" by overwriting old one
Or,
I have attached Edited file which is set to "value=90"
Just download and replace it.
You can change other values like speaker and other anc-headphone or earpiece volume also.
I really don't what other files regardless of "mixer_paths_3_2_forte" of same name do.
Enjoy.
BEFORE YOU REBOOT YOUR PHONE MAKE SURE THAT FILE HAS PROPER PERMISSION "rw-r-r", ELSE YOU WILL END UP WITH BOOTLOOP
I found this method at http://www.miui.com/thread-1836269-1-1.html.
All credits goes to original OP of that Thread.
Click to expand...
Click to collapse
Also you can use ViPER4Android to do this and also change a lot of different setting to improve audio quality.
I don't if it works with call volume though.

[SOLVED] Remove lockscreen tint on CM10.2 Maclaw ROM

Hello,
i search to remove the tint on my lockscreen, i have try it by manually changing the wallpaper in lockscreen settings but tint stay, i have try it:
http://forum.xda-developers.com/showpost.php?p=19032014&postcount=6
But i don't find the line:
<com.android.internal.widget.LinearLayoutWithDefaultTouchRecepient android:gravity="center_horizontal" androidrientation="vertical" android:background="#70000000" android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
And in this thread:
http://forum.xda-developers.com/showpost.php?p=47225409&postcount=57
I have found this line:
invoke-virtual {p0}, Lcom/android/internal/policy/impl/keyguard/KeyguardViewBase;->resetBackground()V
So i have replace this line by it:
invoke-virtual {p0}, Lcom/android/internal/policy/impl/keyguard_obsolete/KeyguardViewBase;->resetBackground()V
I have recompile and take the file with same name in:
C:\apktool1.5.2\android.policy.jar.out\dist
Put same permissions of original file in same location (with ES file explorer)
But when i have reboot, i have bootlop (regeneration of odex files and again bootanimation)
So if someone have a solution to remove the tint
Another idea:
I can install GravityBox (version for JB) and enable option for it, it work on my phone but this app make a luminosity bug for me:
http://forum.xda-developers.com/showpost.php?p=56945897&postcount=8494
Thanks for help :good:
I have found the solution: set the defaut wallpaper in lockscreen settings.
And enable the first option in lockscreen modifications.

Increase volume on 6.0.1

how to increase the headphone volume on 6.0.1?
igi97 said:
how to increase the headphone volume on 6.0.1?
Click to expand...
Click to collapse
Easiest way is to use a custom rom that's already setup for it like this:-
http://forum.xda-developers.com/galaxy-s6/development/rom-weta-v1-0-t3177550
I use it and it really makes a difference
iNeoTom
well first of all your device need to be rooted and if you already have root follow these steps
-download the attached file and put on your device storage
-using root browser or any root explorer app navigate to System then etc
-place the file you downloaded there
-confirm to replace and set permission to rw-r-r
-reboot your device and you should notice the difference
oussama150an said:
well first of all your device need to be rooted and if you already have root follow these steps
-download the attached file and put on your device storage
-using root browser or any root explorer app navigate to System then etc
-place the file you downloaded there
-confirm to replace and set permission to rw-r-r
-reboot your device and you should notice the difference
Click to expand...
Click to collapse
Salam, :angel:
Source of your attached file pls ,5.1.1 or 6.0.1 ?
ryan42680 said:
Salam, :angel:
Source of your attached file pls ,5.1.1 or 6.0.1 ?
Click to expand...
Click to collapse
6.0.1 i modified it myself and using it on my device
oussama150an said:
well first of all your device need to be rooted and if you already have root follow these steps
-download the attached file and put on your device storage
-using root browser or any root explorer app navigate to System then etc
-place the file you downloaded there
-confirm to replace and set permission to rw-r-r
-reboot your device and you should notice the difference
Click to expand...
Click to collapse
Can you give us what is it you change to get boost ? Im using note 5 too would like too boost it too.
SM-N920C cihazımdan Tapatalk kullanılarak gönderildi
oussama150an said:
well first of all your device need to be rooted and if you already have root follow these steps
-download the attached file and put on your device storage
-using root browser or any root explorer app navigate to System then etc
-place the file you downloaded there
-confirm to replace and set permission to rw-r-r
-reboot your device and you should notice the difference
Click to expand...
Click to collapse
Thanks mate
Ozgurce said:
Can you give us what is it you change to get boost ? Im using note 5 too would like too boost it too.
SM-N920C cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
no problem
using any root explorer app go to system--etc
look for this file mixer_paths.xml
open it using any text editor and look for these lines
-<path name="gain-media-speaker">
<ctl value="26" name="DSP5L Input 1 Volume"/>
<ctl value="26" name="DSP5L Input 2 Volume"/>
<ctl value="32" name="AIF4TX1 Input 1 Volume"/>
<ctl value="32" name="AIF4TX2 Input 1 Volume"/>
you see the numbers in red, that's what you need to increase ( for example from 32 to 36 ) so it will be like this
-<path name="gain-media-speaker">
<ctl value="26" name="DSP5L Input 1 Volume"/>
<ctl value="26" name="DSP5L Input 2 Volume"/>
<ctl value="36" name="AIF4TX1 Input 1 Volume"/>
<ctl value="36" name="AIF4TX2 Input 1 Volume"/>
for me increasing to 36 is ideal cause the volume boosted without distortion.
once you are done save and reboot your device.
by the way you can see the title say's " gain-media-speakers" this means you are applying the boost to the speakers.
you can do the same to headset and bt..etc..

Categories

Resources