FORUMS

[trick] switching roms without loosing adopted sd data[mm]

271 posts
Thanks Meter: 124
 
By Abhimanyu Shekhawat 121, Senior Member on 14th February 2016, 04:53 AM
Post Reply Email Thread
Marshmallow had a new cool feature of adopted storage but all the flashoholics had trouble in changing roms because they have to format sd card every time they change roms .
I have a solution.
1:- while flashing rom wipe system dalvik cache and cache but dont wipe data .
2:- flash the rom and let it optimize apps .
3:- after optimizations most probably you will be in bootloop , simply boot into recovery and wipe data and reboot.
4:- your phone will optimize apps again and this time it will boot up and you can access sd card as adopted storage without need to format it again as internal.
This trick worked for me and should work for you guys too.
There's another method that is :-
1:- navigate to root folder
2:- copy all the files from data/misc/vold to somewhere in SD card
3:now boot to recovery wipe everything except SD card and flash new ROM .
4:- now using twrp's file manager move the files you from step 2 to the same folder I.e. data/misc/vold
5:-reboot
The Following 15 Users Say Thank You to Abhimanyu Shekhawat 121 For This Useful Post: [ View ] Gift Abhimanyu Shekhawat 121 Ad-Free
14th February 2016, 05:48 AM |#2  
Senior Member
Flag DAVANGERE
Thanks Meter: 1,487
 
More
According to twrp dev, you can use this trick ' Note, if you factory reset and leave the key present in /data/misc/vold, then Android will still detect and use the adopted storage on the next boot.'

https://gerrit.omnirom.org/#/c/15921/
The Following 4 Users Say Thank You to Adarsh1998 For This Useful Post: [ View ] Gift Adarsh1998 Ad-Free
5th March 2016, 04:10 PM |#3  
PoseidonKing's Avatar
Senior Member
Flag Pune
Thanks Meter: 515
 
More
Thanks! Worked for me!
19th March 2016, 01:58 PM |#4  
OP Senior Member
Thanks Meter: 124
 
More
Quote:
Originally Posted by PoseidonKing

Thanks! Worked for me!

11th April 2016, 10:49 AM |#5  
Junior Member
Thanks Meter: 0
 
More
Dirty Flashing....and adopted sd card
If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?
11th April 2016, 11:11 AM |#6  
-z3r0-'s Avatar
Senior Member
Thanks Meter: 103
 
More
Quote:
Originally Posted by [email protected]

If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?

It'll work, according to the trick mentioned here
11th April 2016, 04:45 PM |#7  
OP Senior Member
Thanks Meter: 124
 
More
Quote:
Originally Posted by [email protected]

If I dirty flash a rom by just clearing the cache and dalvik cache, will the old adopted sd card setting work or will I have to follow your procedure even then also?

Yup but most probably you will get boot loop if you have installed significant number of apps....so clean flash is advised......and use the trick mentioned

Sent from my Moto E using Tapatalk
14th April 2016, 09:53 AM |#8  
Senior Member
Thanks Meter: 74
 
More
Quote:
Originally Posted by Abhimanyu Shekhawat 121

Yup but most probably you will get boot loop if you have installed significant number of apps....so clean flash is advised......and use the trick mentioned

Sent from my Moto E using Tapatalk

can you explain? why this bootloop?
pls do read my post here http://forum.xda-developers.com/show...postcount=1784
does this sound familiar?
i had 39 apps installed so you can say i have lots of apps
but this never happened to me before i flashed 13th april nightly...
ultimately i had to wipe everything, do a clean flash and use this method to save the sdcard
14th April 2016, 09:56 AM |#9  
OP Senior Member
Thanks Meter: 124
 
More
Quote:
Originally Posted by booo159159

can you explain? why this bootloop?
pls do read my post here http://forum.xda-developers.com/show...postcount=1784
does this sound familiar?
i had 39 apps installed so you can say i have lots of apps
but this never happened to me before i flashed 13th april nightly...
ultimately i had to wipe everything, do a clean flash and use this method to save the sdcard

I don't know the exact reason but as long as you have only 10-15 apps you won't get bootloop .....I always get bootloop while dirty flashing updates

Sent from my Moto E using Tapatalk
22nd April 2016, 06:32 PM |#10  
Senior Member
Thanks Meter: 31
 
More
will this also work on other phones? i have an i9505
24th April 2016, 01:34 PM |#11  
OP Senior Member
Thanks Meter: 124
 
More
Quote:
Originally Posted by k2828

will this also work on other phones? i have an i9505

It will

Sent from my Moto E using Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes