FORUMS
Remove All Ads from XDA

[Tips Tricks Tools] Huawei P9 Lite

95 posts
Thanks Meter: 53
 
By Therand, Member on 1st September 2016, 02:37 PM
Post Reply Email Thread
Hi,

Today I will introduce the changes you can make to your Huawei P9 lite device.
These methods have been tested on my VNS-L31C432 and it's work on B130 update and earlier.
Sorry in advance for my incorrect syntax in inglish, i'am french user

1. Update to latest version
If your device is NOT ROOTED install the OTA update.

Otherwise place a folder named "dload" into you external or internal SD card and put update file (unzipped) on this folder.
Update for VNS-L31C432BXXX to VNS-L31C432B130 dual-sim, european version here >> https://www.hidrive.strato.com/lnk/H2ljl9lt
Turn off your device.
Hold volume up/down and power button for a long time.... Update starts automatically after this.

If your device is bricked, do not format the partition (except dalvik and cache) and go update (this update is a full version, your system will be restored).

2. Unlock Bootloader/install TWRP/Root your device
Follow this steps >> http://forum.xda-developers.com/huaw...-root-t3405701
if you have problems to get the unlocking code, log on Huawei site with your Facebook login, CHOOSE your device model and click request the code, enter the requested information, done!

TWRP 3.0.2.0 work but nandroid backup doesn't work!
For solve this, install the "TWRP Manager" app and go backup page, done!!!
(If you need set SElinux in permissive mode please read below).

3. Set SElinux to permissive mode for ever!

Download "Terminal IDE" app.
Open it and run this:
(please, type a command at a time)
Code:
su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh
restart your device, done!

4. Install Xposed Frameworks
Follow this step >> http://forum.xda-developers.com/huaw...-lite-t3425315 and chose this version >> http://dl-xda.xposed.info/framework/...dk23-arm64.zip (xposed-v86-sdk23-arm64 work fine, no battery drained).

5. Best Xposed module worked fine
Here are some useful and functional modules (not exhaustive list..)

-Amplify (for battery saving)
-Greenify (for battery saving)
-BootManager (for chose your apps in start on boot)
-Play Store Changelog (to display your apps and update at the opening of the Play Store)
-WiFiKeyView (view your wifi key in new tab at wifi setting. Little bug your key is not visible but copy your key and past on a note worked)
-XInternalSD (chage the path to dowload file from Chrome >> external SD) (work on other app )
-VolumeSteps+ (If you find that your volume increases too quickly, This module add steps in the volume bar! Customisable)
-ActivityForceNewTask (Force app open in correct app)
-Force Immersive Mode (Force immersive mode in your app, customisable)
-VirtualSensor (Material emulation of gyroscop, not worked with pogo dev running for this isue)
-AdBlocker and Lucky Patcher Module (I'm not sure that really works..)

6. Use your External SD on Internal (Full supported!!)
This trick enable the official feature "adoptable storage" on your Marshmallow with EMUI. better than Link2SD.

-Connect your device in your PC.
-Run ADB and run this comand:
Code:
adb shell
sm list-disks
you will see a number, that is the identifier of your SD card. For example "159,49".
Run this comand (replace YOUR_SD_IDENTIFIER ):
Code:
sm partition disk:YOUR_SD_IDENTIFIER mixed:50
Done, your external SD have 50% of memory for external and 50% for internal emulation.
Next, appointment in your storage settings and check the total capacity of the device! It may appear 0.00 o available, it's just a visual bug don't worries
Use a "DiskInfo" app or a file explorer for see correctly values.

7. BONUS play the walking dead season 1 and 2 on your P9 lite
I love this game! But device not suported..
the only solution is to take a file from the game with the unlocked level ...
Version named "Mali".



I hope you enjoyed my guide if you have questions or other tricks leave a comment.
Thanks!
The Following 6 Users Say Thank You to Therand For This Useful Post: [ View ] Gift Therand Ad-Free
 
 
1st September 2016, 05:36 PM |#2  
snapdesign's Avatar
Senior Member
Flag Bucharest
Thanks Meter: 476
 
More
nice guide, thinking myself do one like this, but can be improved... add multi user, multi window, calling recorder, substratum/layer support, build.prop mods, smart-e, smart cover etc
The Following 2 Users Say Thank You to snapdesign For This Useful Post: [ View ] Gift snapdesign Ad-Free
1st September 2016, 06:55 PM |#3  
Member
Thanks Meter: 7
 
More
Quote:
Originally Posted by Therand

...
Hold volume up/down and power button for a long time.... Update starts automatically after this.
...

I was trying this some time ago...

With TWRP, I was just getting booted into TWRP. Is there something I'm doing wrong or is it just me? I would appreciate any suggestions.
1st September 2016, 07:53 PM |#4  
OP Member
Thanks Meter: 53
 
More
Thank you Snapdesign, If you have more info to add , I would edit the post and I would quote you.

Zeruno, TWRP, stock recovery and stock updater some many diferent. if you don't remove it, you have full acces on it.

Your device is shutdown, hold volume up + volume down + power and don't release it before the updater screen appears!
normally it works...
1st September 2016, 09:50 PM |#5  
Member
Thanks Meter: 7
 
More
Quote:
Originally Posted by Therand

Thank you Snapdesign, If you have more info to add , I would edit the post and I would quote you.

Zeruno, TWRP, stock recovery and stock updater some many diferent. if you don't remove it, you have full acces on it.

Your device is shutdown, hold volume up + volume down + power and don't release it before the updater screen appears!
normally it works...

Yep there's my problem -- updater screen never comes but TWRP loads instead. I wonder if there is some adb command?! That would solve a problem.
1st September 2016, 10:59 PM |#6  
OP Member
Thanks Meter: 53
 
More
i do not think there is an command to go in the updater..
Wait for a more positive response from another user

Or try this at your risk...
Put any file for update (update.app, META-INF, ...) On a .zip archive named "update.zip" and place in your adb folder.
Connect your device on PC launch adb and run this:
Code:
Adb reboot bootloader
Wait for see bootloader screen and run:
Code:
Adb sideload update.zip
I not tested personally this method...
2nd September 2016, 06:50 AM |#7  
Junior Member
Thanks Meter: 0
 
More
Quote:

Otherwise place a folder named "dload" into you external or internal SD card and put update file (unzipped) on this folder.
Update for VNS-L31C432BXXX to VNS-L31C432B130 dual-sim, european version here >> https://www.hidrive.strato.com/lnk/H2ljl9lt
Turn off your device.
Hold volume up/down and power button for a long time.... Update starts automatically after this.

If your device is bricked, do not format the partition (except dalvik and cache) and go update (this update is a full version, your system will be restored).

Is this the procedure if your phone is rooted but you still want to install the OTA? (My current situation)
2nd September 2016, 08:39 AM |#8  
OP Member
Thanks Meter: 53
 
More
This method work on a rooted and no-rooted device.
The root "disable" the OTA function.

Don't try OTA on stock app update in your setting if your device is rooted.
2nd September 2016, 04:34 PM |#9  
asusgarb's Avatar
Senior Member
Thanks Meter: 307
 
More
The trick to use ext sd to increase space works with both stock and root or only with root?

Inviato dal mio SM-N9005 utilizzando Tapatalk
2nd September 2016, 05:36 PM |#10  
OP Member
Thanks Meter: 53
 
More
This trick no need a su promp comand.
Su command is only available for root user.

Trick work on no root acces

EDIT: im not sur if adb shell work for guest user.. try it
5th September 2016, 04:16 PM |#11  
OP Member
Thanks Meter: 53
 
More
After lot of test, this version Xposed Framework is not a better for P9 lite.

Version unmodified v86 work fine with resource hook activated!
The direct download link >> http://dl-xda.xposed.info/framework/...dk23-arm64.zip
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes