3

I have a HTC One M8 and I split my adopted storage with adb like this:

Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell
shell@htc_m8:/ $ sm set-force-adoptable true
shell@htc_m8:/ $ sm list-disks
disk:179,32
shell@htc_m8:/ $ sm partition disk:179,32 mixed 80
shell@htc_m8:/ $ sm list-disks adoptable
disk:179,32

It seems to work, no error, and the phone shows the SD card as internal and external, but both as "beschädigt" - it doesn't work.

So I have to format one partition with the phone. And the result is, either the whole space of the SD card is internal or external; it depends on which part I choose to format.

Is there any help for this problem?

Dan Hulme
  • 35,000
  • 17
  • 90
  • 155
Dawe
  • 31
  • 1
  • 3
  • Related: How to split adopted storage? Note that list-disks gave you 173,29 according to your question, but you ran partition disk with 179,32 which doesn't match. Moreover, shouldn't you have used sm list-disks adoptable (note the additional parameter)? – Izzy May 22 '16 at 12:34

1 Answers1

1

You are entering the wrong disk. The numbers are wrong and you have a space after the ":".

This is the correct command:

sm partition disk:173,29 mixed 80

Or this (I don't know your disk number..)

sm partition disk:179,32 mixed 80

If both commands don't work, please post a screenshot of the output of this command: sm list-disks.

Thomas Vos
  • 4,000
  • 5
  • 35
  • 46