Hirdetés

Új hozzászólás Aktív témák

  • sto1911

    veterán

    Adoptable storage beallitasa: [link]

    Prerequisites:
    - Phone using Android 6.0
    - SD Card that will get erased
    - ADB access (developper menu + usb adb enabled + adb authorized)

    Commands:
    macbook:~ jean$ adb shell
    shell@p1:/ $ sm list-disks
    disk:179,64
    shell@p1:/ $ sm list-volumes all
    private mounted null
    public:179,65 mounted 9F29-15FD
    emulated mounted null

    At this point I have a SD formated from the phone. Old cards are public and SD card device id is disk:179,64.

    shell@p1:/ $ sm set-force-adoptable true

    set-force-adoptable should not be needed. But I'm lazy and I won't do it again to confirm, so there it is.

    shell@p1:/ $ sm partition disk:179,64 private

    That line repartition and format, it takes time.

    shell@p1:/ $ sm set-force-adoptable false
    shell@p1:/ $ sm list-volumes all
    private:179,66 mounted 0ef3b40b-103f-4331-b0ce-92f105f8xxxx
    private mounted null
    emulated mounted null
    emulated:179,66 unmounted null

    This is a win, the card is now mounted as private (internal).

    [ Szerkesztve ]

Új hozzászólás Aktív témák