[P8lite Q&A, Help & Troubleshooting] danibus:
-----------------------------------------------------------------------------------------------------------------------------------------------------------

TAKE NOTE I don't have this phone anymore, I can't help you as you deserve, I'm sorry.

Don't use this tutorial with last firmware, as Huawei changed some things and it's not working.

-----------------------------------------------------------------------------------------------------------------------------------------------------------

Hi folks, this is a small tutorial to extend storage using SD space for P8 lite 2017.

It's more or less the same tutorial you can read for any Nougat phone.

As you know, P8 lite 2017 has only 7 GB free space at 1st, and after install all your favourite programs and restore your photos, music, etc you find 1-2GB free only.

To avoid this we will configure Android to use ALL SD to install programs and data.

This will ERASE ALL SD content, so backup any data there..

What we are doing?

We will configure Android to use SD as adoptable storage.

Making this, SD will be encrypted and will be part of phone storage.

That means you CAN'T remove. If you remove SD, your phone will not work (well, only programs installed there). Also that means SD will not work as external storage = portable SD, so you can't connect phone to any PC and transfer music, photos, etc. In this case you need a program to do it (I suggest AIRDROID from PlayStore).

Internal phone storage will be use for system apps.

SD storage will be use for install user programs and data. Whatsapp will be here :D

Others like Motorola or Samsung enable this option in stock rom, Huawei not.

What I need?

First of all, fast SD. At least UHS-I class.

Second you need to know how to use ADB console (not in this tutorial).

Third enable developer options (not in this tutorial). Read here.

Let's rock

* Connect your phone to PC

* Be sure to enable developer options, enable debug mode and accept message from phone:

[IMG="accept debug mode"]https://www.howtogeek.com/wp-content/uploads/2016/04/Screenshot_20160419-094818.png[/IMG]

* Format SD using phone menu.

* Start ADB console. Write:

>> sm list-disks

We will read something like: disk:179,64

>> sm set-force-adoptable true

>> sm partition disk:179,64 private

Remember disk:179,64 it's just an example, we have to write down what our phone shows.

Can be 179,64 also can be 179:192 also can be 179_32

All are correct. Exit adb now.

Last pass, migrate data

You must also migrate apps and data. This can be done through the storage section of your Android settings menu. Tap the MicroSD card, then move to the top right of the menu and click on Move data. You could not select this menu item before partitioning.

[IMG="migrate data"]https://fscl01.fonpit.de/userfiles/6473453/image/neues_format/internal-sd-move-data-1-w782.jpg[/IMG]

Check everything works

At this moment storage section in your android menu will show non-sense data (i.e. shows me -1.66GB free space, yes, minus 1.66GB).

Also your SD total storage can be wrong, mine shows 64GB but it's a 32GB SD card.

[IMG="bad storage info"]https://image.prntscr.com/image/49305df4132b4379b93cbe4e3e2cea1e.jpg[/IMG]

Install a 3rd party file app, like this one,and check storage:

[IMG="correct storage"]https://image.prntscr.com/image/cc83f462164d4f8aace22cf948818e33.jpg[/IMG]

Now all it's ok!!!

NOW DON'T FORGET THIS

* You can't simply remove your SD.

* If you want to replace SD for another one, maybe a bigger one, you CAN'T. You have to backup your data, un-make this tutorial (just down), make all steps with new SD.

* If HUAWEI updates ROM, I don't know what will happen, hope nothing breaks.

HOW TO "UNDO" THIS TUTORIAL

First of all backup all your info using google account, AIR DROID, etc.

* Start ADB console. Write:

>> sm list-disks

We will read something like: disk:179,64

>> sm partition disk:179,64 public

Now SD it's available for portable use, I think it has been formatted (don't know, never made this).