My mobile device have

OS Android 6.0.1 Marshellow Processor Qualcomm Family cortex a53 Machine arrch 64 Architecture arm cortex a53 External memory card 64GB ROM 16 GB MOBILE NOT ROOTED

It have option to formatting external card as internal but when I install user apps and move not all apps move to the internal formatted external as card some installs still on internal card. And occupies internal memory.

I tried to partition Micro SD card from PC mini partition wizard and created two three partition

first one of 20GB Fat32 Second one 20GB ext2 Third one 20 GB ext2.

When I connected it to mobile it doesn't show any partition and asked.for.formatting in portable or internal when I said to format as internal it formatted and deleted all partitions.

After searching googling founded some posts and answers in many forums and found the commands for and shell or terminal all emulator

adb shell sm list-disks adoptable
sm partition disk:179:160 mixed 25
adb shell sm format private:179,3
adb shell sm mount private:179,3
adb shell pm set-install-location 2
adb shell pm get-install-location

But will these commands for partitioning 2 portions and I want 3 dedicated partitions

  1. First fat32 one mountable viewable for photos videos of fat32 partion readable in Windows to

  2. Second ext2 one as apps moving ext2 partition for fast apps functioning

  3. Third ext2 For backup of stock from or custom ROM a can't support more than 4gb file size

I tried these commands from Windows adb shell but 'SM' file not found error come

Now my queries are :-

  1. Do SM & PM: command solve my problem to dedicated partitions for proper functioning. Of adoptable storage. In my case of Android 6.0.1

  2. Does the SM & PM commands needs to be turned in terminal emulator or Windows DOS and shell

  3. Does SM & PM command compatible in Android 6.01 do it function in it or not

  4. Does SM & PM command need rooting the mobile first

  5. Does super user command SU should be running before SM & PM command but sinus not functioning to do SU function without rooting.

  6. Where to get binAry files SM & PM & SU commands and how can we infuse or download in mobile system folder or can work without infusing in mobile by running bootloader recovery tarp image can we run it .... command help please

  7. How to mount and view browwse ext2 external partions in Android as whenever I format it in ext2 it's unreadable from file manager or any app which app or command we can view or mount the ext2 partitions from Android mobile

As I am novice and new to Android adb commands Linux commands to. So I need advice help to modify the command and precious advice. Kindly guide step by step?

  • never did but maybe clone small MicroSD Card (which is already mixed 50) to larger MicroSD Card with more disk space. finally add 3rd partition with external tool on remaining disk space
    – alecxs
    Jul 22 at 6:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.