Adoptable storage prior to marshmallow?


Question

As most people know, adoptable storage is a feature that allows users to use an SD card as internal storage, including the saving of apps (Similar to the app2sd system, which was removed in KitKat). Now, is there any way (Short of creating my own custom ROM/kernel) to utilise this feature on phones and tablets before Marshmallow?



Edit: I should clarify that I mean anything that replicates the behaviour of adoptable storage (so anything like editing vold file still counts, from the accepted answer, for example)


Answer

This is the closest I could find that matches OP's expectations and should work, requires rooted device ( not tested by me). This only replicates adoptable-storage behaviour of Marshmallow to the extent it allows use of external SD to be used as internal SD for moving apps



Sources:




  1. Swap internal storage with the SD card in Android Lollipop and KitKat


  2. How to swap internal storage with the SD card in Android device




Both these are blogs by the same person but take different approaches:



Source 1 requires






This module changes value (path to internal SD card) in some Android APIs which apps use. Control this path in module's settings. You can enable this module for all apps or only for specific apps. Also you can enable full access to external SD card (for KitKat+)




And




  • WSM Tools app that can be downloaded from Aptoide - not available on Play Store



Source 2 requires only Xposed module XInternalSD



Approach




  • Swap internal storage with external SD using the XInternalSD module ( Common step for both methods)



enter image description here




  • Using WSM Tools choose apps which you want to move External SD or move all apps (Source 1)



OR




  • Using a root explorer amend vold.fstab to interchange sdcard0 with sdcard1 ( Source 2)


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes