Right now i am on cm 10.1 . Jelly Bean 4.2.2 . I have tried all method of partition but its not working i.e int2sd , app2sd and with minipartition tool , i have created partition with CWM 6.0.2.8 . Please Need urgent Help ?
rkumbhar said:
Right now i am on cm 10.1 . Jelly Bean 4.2.2 . I have tried all method of partition but its not working i.e int2sd , app2sd and with minipartition tool , i have created partition with CWM 6.0.2.8 . Please Need urgent Help ?
Click to expand...
Click to collapse
connect sdcard to pc via card reader & check in minitool partition wizard..you may have made the partitions logical or something..post the details here.
You need to make all partitions as Primary & with a sequence.
Affangta said:
connect sdcard to pc via card reader & check in minitool partition wizard..you may have made the partitions logical or something..post the details here.
You need to make all partitions as Primary & with a sequence.
Click to expand...
Click to collapse
No i have mad e partiton primary i just used this method > 1. delete your sd-ext partition (JUST YOUR SD-EXT PARTITION)
2. create partition
3. set as Primary
4. and CHOOSE ext4!!,
5. ok and then,
6. Apply
rkumbhar said:
No i have mad e partiton primary i just used this method > 1. delete your sd-ext partition (JUST YOUR SD-EXT PARTITION)
2. create partition
3. set as Primary
4. and CHOOSE ext4!!,
5. ok and then,
6. Apply
Click to expand...
Click to collapse
then the problem is in the memory script..have you tried those scripts on other roms? do they work?
Affangta said:
then the problem is in the memory script..have you tried those scripts on other roms? do they work?
Click to expand...
Click to collapse
NO didnt tried anyother rom please suggest me rom which is stabe and easily supports memory script
rkumbhar said:
NO didnt tried anyother rom please suggest me rom which is stabe and easily supports memory script
Click to expand...
Click to collapse
Change your recovery and try.. Then use the scripts i hope you know the permissions and all for scripts to work..
recovery
rkumbhar said:
Right now i am on cm 10.1 . Jelly Bean 4.2.2 . I have tried all method of partition but its not working i.e int2sd , app2sd and with minipartition tool , i have created partition with CWM 6.0.2.8 . Please Need urgent Help ?
Click to expand...
Click to collapse
Change your recovery and partition your sd card with Recovery it happens with me on everytime with mini partition tool but Recovery Soved it.....preferable Philz Recovery.:good:
maksuperlink said:
Change your recovery and partition your sd card with Recovery it happens with me on everytime with mini partition tool but Recovery Soved it.....preferable Philz Recovery.:good:
Click to expand...
Click to collapse
ok then after that which software or script should i use
recovery
rkumbhar said:
ok then after that which software or script should i use
Click to expand...
Click to collapse
Use Philz recovery for partition but first backup your all data
Related
Guys the fix was included in the original script and hence this thread as of now is no longer active.
for further queries please go to the original script thread here
Dark Passenger said:
Hi INT2ext4+ works on android 4.2.1.(Device : Galaxy Fit GT-S5670)
ScreenShots.
and for those dying for to use it here is the fixed script (yes its a flashable zip)
Credits::good:
vvFiCKvv : for finding the error and showing how to fix it.
dk75 : for sharing it with us.
dark passenger : for posting the fixed zip here(just modded original zip) and testing.
if you appreciate this please press thanks on all these guys posts.:good:
Click to expand...
Click to collapse
I've installed S2E on thos ROM. Need I reinstall CM 10.1? Where is tutorial for this?
ZmisiS said:
I've installed S2E on thos ROM. Need I reinstall CM 10.1? Where is tutorial for this?
Click to expand...
Click to collapse
tutorial added to first post. no just remove the revert all settings in the app(and hope they fit into /data) and delete the script its something s2e like the script will automatically move all apps and dalvik cache and everything except /data/data to /sd-ext nothing to configure.
Dark Passenger said:
Hi INT2ext4+ works on android 4.2.1.(Device : Galaxy Fit GT-S5670)
ScreenShots.
and for those dying for to use it here is the fixed script (yes its a flashable zip)
Credits::good:
vvFiCKvv : for finding the error and showing how to fix it.
dk75 : for sharing it with us.
dark passenger : for posting the fixed zip here(just modded original zip) and testing.
if you appreciate this please press thanks on all these guys posts.:good:
How to Install guide
1.remove all app2sd scripts from init.d folder inside /system/etc you should have two scripts only smothing like 90userinit and 00banner or module if any other script that has 2ext or app in it please delete them.(only app2sd scripts matter no other script)
2.uninstall all related apps for the same scripts.
3.reboot into recovery.
4.under mount & storage(or something similar) chose mount /system & /data and /sd-ext
5.go back and choose install zip
6. select Fixed-Int2ext4+.zip and flash.
7 go back to mount & storage and unmount /data & /sd-ext.
8.format /sd-ext from the same menu.
reboot and enjoy.
Note : this will work for only ext 4 partition(if you format sd-ext using cwm 5 its ext 4) will upload int2ext+ soon if requested.
Click to expand...
Click to collapse
This is works for me. Thanks.
ZmisiS said:
This is works for me. Thanks.
Click to expand...
Click to collapse
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Rohit02 said:
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Click to expand...
Click to collapse
I've partitioned the SD Card on FAT32 and ext4. For ext4 I made 1 GB. My SD Card is of 16 GB. Rest is FAT32.
The first make partition FAT32 and then ext4.
Rohit02 said:
how is your internal storage showing 1 GB space??
pl share wat n how did u do dat.
Click to expand...
Click to collapse
it mounts your /sd-ext partition as /data hence internal storage is the size that your /sd-ext is.
also its easier to partition with cwm and keep swap as 0.
Help me!
why I can't mount sd-ext?
PrimZaap said:
why I can't mount sd-ext?
Click to expand...
Click to collapse
What do you use, CWM 5, CWM 6 or Amon-RA?
ZmisiS said:
What do you use, CWM 5, CWM 6 or Amon-RA?
Click to expand...
Click to collapse
CWM5
PrimZaap said:
CWM5
Click to expand...
Click to collapse
Is it partition SD Card O.K.? If yes, try CWM6 or Amon-RA.
PrimZaap said:
CWM5
Click to expand...
Click to collapse
first try installing script without mounting /sd-ext but follow all other steps(mainly mount /system & /data flash script & later unmount /data and format /sd-ext).
If this doesnt work(I seriously doubt it won't still) it means that the /sd-ext partition is corupt(many reasons) so do this flash amon ra and choose fix sd-ext partition the n flash cwm 5 again and format sd-ext partition.
still doesnt work(really still doesnt ?!?!?!) post here the full porblem you face then and if you tried both these solutions.
Good luck.
Dark Passenger
Dark Passenger said:
first try installing script without mounting /sd-ext but follow all other steps(mainly mount /system & /data flash script & later unmount /data and format /sd-ext).
If this doesnt work(I seriously doubt it won't still) it means that the /sd-ext partition is corupt(many reasons) so do this flash amon ra and choose fix sd-ext partition the n flash cwm 5 again and format sd-ext partition.
still doesnt work(really still doesnt ?!?!?!) post here the full porblem you face then and if you tried both these solutions.
Good luck.
Dark Passenger
Click to expand...
Click to collapse
In Amon-RA I've formated sd-ext in the way that I went to on wipe sd-ext. It works for me. I've flashed script with Amon-RA.
ZmisiS said:
Is it partition SD Card O.K.? If yes, try CWM6 or Amon-RA.
Click to expand...
Click to collapse
I have Amon-RA,, and I have a new problem. how to format/sd-ext in Amon-RA?
PrimZaap said:
I have Amon-RA,, and I have a new problem. how to format/sd-ext in Amon-RA?
Click to expand...
Click to collapse
I'm already write.Format sd-ext in Amon-RA to go to Wipe/wipe sd-ext.
First Post Updated added INT2EXT and also added a little description for each script.
Amon-ra recovery is good but i personally preffer cwm 5 and really dont trust cwm 6.
Dark Passenger said:
First Post Updated added INT2EXT and also added a little description for each script.
Amon-ra recovery is good but i personally preffer cwm 5 and really dont trust cwm 6.
Click to expand...
Click to collapse
With CWM 5 I have problem with restore. With Amon-RA I have not had any problems.
ZmisiS said:
With CWM 5 I have problem with restore. With Amon-RA I have not had any problems.
Click to expand...
Click to collapse
since I had a bad experience with cwm 6 i dont trust that and personally dont like amon-ra so cwm 5 is the best for me.
but each his own right.
Dark Passenger said:
since I had a bad experience with cwm 6 i dont trust that and personally dont like amon-ra so cwm 5 is the best for me.
but each his own right.
Click to expand...
Click to collapse
Yes, I agree. I'm only mentioning their experiences.
Problem with Amon-RA is it that he don't flashing custom ROM on stock ROM.
Thanks for your help,, and it work
Please help me...I flashed the FlyROM V4 correctly but its stuck at boot animation...when i go to mount sd-ext..its shows "Error mounting sd-ext"..is that the problem? If it is..how to solve it?
Make Sure You Made A Sd-Ext Partition Correct, To Check Whether You Made A Partition Correct Or Not, Just Mount Sd-Ext In Recovery, If It Mounts Without Any Error Then Just Go Ahead, But If It Shows An Error, It Means You Didn't Make A Partition Correct. So Now What You Need To Do Is:
1. Don't Partion Your SD Card By Using Recovery.
2. Partition It Via "Minitool Partition Wizard" Manually.
3. Create A Ext 4 Partition As Primary.
4. Now, Install Yannou's Recovery (The One Which You Install While Rooting)
5. Finally, Mount Sd-Ext And Flash Any Sense 4 Rom..
Note: Don't Use CWM Recovery, It Never Mount Sd-Ext At Any Cost.. Use Yannou's Recovery Or Philz Touch Recovery Instead..
Sent from my HTC Explorer using xda premium
thanks for replying here..i got the problem solved by just
1. removing old partitions
2. changing to philz recovery
3. making a new partition using philz and then flashing..
But now am unable to install any kind of memory script to increase internal memory..even after installing successfully .. the memory isnt increasing..what's wrong?
First open ur rom zip, navigate to system/etc/init.d and remove that 78mv2ext file and replace it with ur desired script and then reflash rom..
But do this at your own risk, if u get into a bootloop just reflash the rom with 78mv2ext script again..
Note: in sense roms, internal memory will always be 150 mb, but when you install apps its internal memory will not decrease as it decreases usually because of that Sd-Ext Partition you created..
Sent from my HTC Explorer using xda premium
lol i didnt know internal memory is always 150mb..but it doesnt decreases..if its true..then there's no problem.
Hello i m getting problem i have created 1st ext partition using CWM recovery and second ext partition using minitool partition wizard but i m not able to install sense 5 ROM my second ext partition is not detected by the CWM. Plz help
hemang94 said:
Hello i m getting problem i have created 1st ext partition using CWM recovery and second ext partition using minitool partition wizard but i m not able to install sense 5 ROM my second ext partition is not detected by the CWM. Plz help
Click to expand...
Click to collapse
what's your ext partition mate?
---------- Post added at 02:49 AM ---------- Previous post was at 02:43 AM ----------
sense 5 rom need only one partition it should ext 3 or ext 4 min. 1GB bro
maybe you didn't wipe all manually before flashing
hemang94 said:
Hello i m getting problem i have created 1st ext partition using CWM recovery and second ext partition using minitool partition wizard but i m not able to install sense 5 ROM my second ext partition is not detected by the CWM. Plz help
Click to expand...
Click to collapse
First off all bro use TWRP recovery from there create a 1/2GB 2nd ext4 partation with 0mb as a swap size
Okay and secondly after creating the partation wipe everything from twrp and then try to install sense 5 although its not that smooth i'd suggest u walkman sense 4
Thanks
saadahmeddar said:
First off all bro use TWRP recovery from there create a 1/2GB 2nd ext4 partation with 0mb as a swap size
Okay and secondly after creating the partation wipe everything from twrp and then try to install sense 5 although its not that smooth i'd suggest u walkman sense 4
Click to expand...
Click to collapse
Thank u so much buddy !!!!!!!!!
hemang94 said:
Thank u so much buddy !!!!!!!!!
Click to expand...
Click to collapse
No problemo bro! :highfive:
Gamersab is stock and htc sense 3.5. How to flash it? I need to make RUU?
Its not RUU
michal16 said:
Gamersab is stock and htc sense 3.5. How to flash it? I need to make RUU?
Click to expand...
Click to collapse
No need to make RUU its a flashable zip..
In the instructions its written flash the zip..
Hit thanks if helped you
But i formating all and flashing and nothing! Stuck on htc logo. Please help me
i have latest TWRP recovery and i going to recovery format all without sdcard (cache, data, syste, dalvik cache, sdext and other) and flash rom and reboot and waiting 2 hours and only htc logo! please help
And i have sdcard partitions
Files 13GB
SD-DATA - !GB
SD-CACHE 65MB
michal16 said:
But i formating all and flashing and nothing! Stuck on htc logo. Please help me
i have latest TWRP recovery and i going to recovery format all without sdcard (cache, data, syste, dalvik cache, sdext and other) and flash rom and reboot and waiting 2 hours and only htc logo! please help
And i have sdcard partitions
Files 13GB
SD-DATA - !GB
SD-CACHE 65MB
Click to expand...
Click to collapse
Remove all your partitions..
Then flash the ROM..
As the ROM is in band memory card removal won't affect the ROM..
Now take a backup of your card..
Create partition through recovery ..
Use link2sd only not anything else..
via Apache Helicopter
I don't understand
You mean delete partions flash rom copy sdcard files make partions from recovery?
michal16 said:
I don't understand
You mean delete partions flash rom copy sdcard files make partions from recovery?
Click to expand...
Click to collapse
1. Empty your card by copying all your contents to PC..
2. Open minitool ..
Delete all partitions as you have 3 partitions .. Make it single means 1 partition make it fat32
3. Copy the ROM in the card after partitioning ..
4. Go to recovery.
5. Flash the ROM..
6. Reboot your phone
7. Again to recovery
8. Partition SD card
9. Now boot in ROM ..
10 . install link2sd select the partition type and its done..
via Apache Helicopter
6. Wait for boot or pull out battery?
michal16 said:
6. Wait for boot or pull out battery?
Click to expand...
Click to collapse
Wait.. As its on nand it won't take much time to boot .. If it takes time then remove battery and try again..
via Apache Helicopter
ok i will try
Still not booting. i wipe everything in recovery and not working too.
michal16 said:
Still not booting. i wipe everything in recovery and not working too.
Click to expand...
Click to collapse
Switch to yannou recovery and try..
via Apache Helicopter
Hi guys,
I'll share some scripts (flashable) that I've made to help with xperia l internal memory shortage.
1. First one is the link2sd-enabler.zip: http://www24.zippyshare.com/v/UduJGjqJ/file.html.
For this to work you'll need a second partition on the external sdcard formated as ext4. So first partition is the vfat one, the second primary partition on the external sd card is the ext4 one. Currently I have a 8Gb ext4 second partition.
Installation procedure: prepare your external sdcard, flash the zip, install link2sd application.
2. Second is the 01link2sdmm: http://www86.zippyshare.com/v/9DSgorlH/file.html.
The link2sd application does not automatically link the oat directory of the application. This directory contains the compiled application in the form of an odex file. For big apps this file is pretty big. So this script will automatically link this directory to the sdcard second partition for the applications that are linked to the sdcard. This works in conjunction with the link2sd-enabler.zip script.
Installation procedure: put this script in the /etc/init.d directory with the proper permissions. This way it will run at boot. If you want to run this directly after you link an app you'll need to use automagic and make a rule to run this script after you exit the link2sd application.
Observations: This script is not needed if you switch the internal partitions because you'll have enough space to keep the odex file internally. It's your choice.
3. Third script is the mm-partition-swapper.zip: http://www10.zippyshare.com/v/eyRO7gLw/file.html.
This one will switch your sdcard and userdata partition on your current mm rom. This was tested on rr573 that I have installed, but it should work in other mm roms as well.
Installation procedure: Make sure you have enough space on the external sd card so the script will be able to save your current data partition files. Save the files that you need from your internal partition to your external sd card. Make a backup of your current rom from twrp in case something wrong happens. Format from TWRP the internal sd card as ext4. Flash the zip. If everything works ok then you'll have a rom with the internal partitions swapped and you'll have 4Gb of user data available (minus your space for the already installed apps).
!!!!!!!!!!!!!!!!!!Very important!!!!!!!!!!!!!!!!!!
Don't try formatting the internal sdcard as ext4 with twrp version 3.0.2! It seems that his twrp version does not support this. I'm using twrp 2.8.7.0 by Barbarosa.
Observations: Twrp does not support backing up/restoring internal sd. If you swap partitions you'll have to backup your ext4 internal sd manually from within twrp connected through adb (with a simple tar command)
4. I think 256 ZRAM for the rr573 rom is too big so this zip will change this to 128MB:
mm-128Mb-zram.zip:http://www103.zippyshare.com/v/XjVAnXEl/file.html.
Please make a backup before flashing the swap zip and report if this worked for you.
Hope this helps,
Thanks.
cojocar.andrei said:
Hi guys,
1. First one is the link2sd-enabler.zip:
For this to work you'll need a second partition on the external sdcard formated as ext4. So first partition is the vfat one, the second primary partition on the external sd card is the ext4 one. Currently I have a 8Gb ext4 second partition.
Installation procedure: prepare your external sdcard, flash the zip, install link2sd application.
Click to expand...
Click to collapse
I've been struggeling for quite some time to get the link2sd app working since I flashed MM.
I've done a clean install, flashed the zip, installed link2sd, but I still get a 'mount script error, Cannot create script, mount: no such file or directory.' Anyone got an idea what I do wrong?
thx!
mikelektro said:
I've been struggeling for quite some time to get the link2sd app working since I flashed MM.
I've done a clean install, flashed the zip, installed link2sd, but I still get a 'mount script error, Cannot create script, mount: no such file or directory.' Anyone got an idea what I do wrong?
thx!
Click to expand...
Click to collapse
Check if you have in the /etc/init.d directory the 00link2sd script. For this script to work you need a rom with a working init.d (otherwise this won't work obviously...). If you have the script there, then check if you see a directory /data/sdext2 (if this directory is missing, but you have the 00link2sd script in the /etc/init.d directory, then this means you don't have init.d support in the rom). If you partition your sdcard correctly then the second ext4 partition of you sdcard should me mounted in the /data/sdext2 directory ... All these you need to check before installing the link2sd app...
Awesome! Thank you. I'll try this
cojocar.andrei said:
Check if you have in the /etc/init.d directory the 00link2sd script. For this script to work you need a rom with a working init.d (otherwise this won't work obviously...). If you have the script there, then check if you see a directory /data/sdext2 (if this directory is missing, but you have the 00link2sd script in the /etc/init.d directory, then this means you don't have init.d support in the rom). If you partition your sdcard correctly then the second ext4 partition of you sdcard should me mounted in the /data/sdext2 directory ... All these you need to check before installing the link2sd app...
Click to expand...
Click to collapse
I have the init.d folder, but it seems the sdext2 folder was only created after I installed the link2sd app.
I tried doing it all over again, but it still doesnt work, same messages...
mikelektro said:
I have the init.d folder, but it seems the sdext2 folder was only created after I installed the link2sd app.
I tried doing it all over again, but it still doesnt work, same messages...
Click to expand...
Click to collapse
Then your rom doesn't have init.d support. You need a kernel/rom (more precisely a ramdisk) with init.d support to use this ... The rr573 supports init.d ... Try it with this one ...
cojocar.andrei said:
Then your rom doesn't have init.d support. You need a kernel/rom (more precisely a ramdisk) with init.d support to use this ... The rr573 supports init.d ... Try it with this one ...
Click to expand...
Click to collapse
Thx! Which do you recommend? I've tried several in the last two or three months. Now I'm running AOSP-OMS.
I ran slim, RR and CM 13 beta before without any problems, just the storage issue.
mikelektro said:
Thx! Which do you recommend? I've tried several in the last two or three months. Now I'm running AOSP-OMS.
I ran slim, RR and CM 13 beta before without any problems, just the storage issue.
Click to expand...
Click to collapse
I've just told you. RR573. For a completely working camera on this one just replace a camera library... Search the rr thread...
Sent from the center of the galaxy
3. Third script is the mm-partition-swapper.zip: http://www10.zippyshare.com/v/eyRO7gLw/file.html.
This one will switch your sdcard and userdata partition on your current mm rom. This was tested on rr573 that I have installed, but it should work in other mm roms as well.
Installation procedure: Make sure you have enough space on the external sd card so the script will be able to save your current data partition files. Save the files that you need from your internal partition to your external sd card. Make a backup of your current rom from twrp in case something wrong happens. Format from TWRP the internal sd card as ext4. Flash the zip. If everything works ok then you'll have a rom with the internal partitions swapped and you'll have 4Gb of user data available (minus your space for the already installed apps).
Click to expand...
Click to collapse
I use rom AOSP OMS . file zip working?
Brick and problem other ?
Thx you building script .
Thx advanced
I am on stryflex MM ROM and TWRP 3.0.2.
I formatted internal storage as ext4, then flashed mm-partition-swapper.zip.
Says that there is no ext4fs partition and I tried reboot recovery and my phone is dead now, can't turn it on...
I don't blame you, I blame myself for trying. But please help. Flashtool doesn't recognize flash mode.
Don't use this method. Not safe.
Option58 said:
I am on stryflex MM ROM and TWRP 3.0.2.
I formatted internal storage as ext4, then flashed mm-partition-swapper.zip.
Says that there is no ext4fs partition and I tried reboot recovery and my phone is dead now, can't turn it on...
I don't blame you, I blame myself for trying. But please help. Flashtool doesn't recognize flash mode.
Don't use this method. Not safe.
Click to expand...
Click to collapse
Sorry to hear this. If the script gave you this error then the script did nothing to your phone. It just aborted the procedure because it did not find the sdcard formated as ext4. It must be the twrp version. I'm using twrp 2.8.7.0 by barbarosa. I think twrp 3.0.2 does not support formatting the internal sdcard as ext4. Most pobably the twrp version 3.0.2 formated something else as ext4 or whatever instead of internal sd... I did not know this. Sorry again...
Try to search the brick threads. If you still have a blue light when in flashmode I think you still have a chance to resurect it...
Sent from the center of the galaxy
I've modified the post to warn people of this twrp version. So, people, use only twrp 2.8.x.x to format the internal sdcard. I'm using 2.8.7.0 twrp version by Barbarosa. I don't know if other twrp versions support ext4 on internal sdcard.
Sent from the center of the galaxy
Thanks for the solutions. So now if I only need to swap internal sd and /data, i just need to flash 3rd script? I'm quite confusing about partitioning and memory stuffs
newguyknowsnothing said:
Thanks for the solutions. So now if I only need to swap internal sd and /data, i just need to flash 3rd script? I'm quite confusing about partitioning and memory stuffs
Click to expand...
Click to collapse
You have to have twrp 2.8.7.0, then format internal sdcard as ext4 (wipe settings) and then flash the zip...
Sent from the center of the galaxy
Yes, formatting internalSD as ext4 is tricky. My recovery was broken. Probably formatted something else. It wasn't your script.
However I have no volume up button on my phone (fell out) - no fastboot. And just volume down button (flash mode) and a somewhat broken USB cable. Phone not recognized by flashtool at all...
cojocar.andrei said:
You have to have twrp 2.8.7.0, then format internal sdcard as ext4 (wipe settings) and then flash the zip...
Sent from the center of the galaxy
Click to expand...
Click to collapse
Ok thanks! One more question, If I somewhat want to undo this, I need to back up the current MM rom before flashing the script? Will the internal sd and /data automtically be swapped back when I restore the back up?
newguyknowsnothing said:
Ok thanks! One more question, If I somewhat want to undo this, I need to back up the current MM rom before flashing the script? Will the internal sd and /data automtically be swapped back when I restore the back up?
Click to expand...
Click to collapse
After swapping the partitions your old backups of the rom will not work anymore (or probably they would just revert the swapping. Anyway if you want to restore a backup that's been done prior to swap it's better to format back by hand the internal sdcard to vfat and data to ext4)
For backing up a rom with swapped partitions you'll have to select the sdcard instead of data partition in the backup options... I did not try it yet...
Sent from the center of the galaxy
Option58 said:
Yes, formatting internalSD as ext4 is tricky. My recovery was broken. Probably formatted something else. It wasn't your script.
However I have no volume up button on my phone (fell out) - no fastboot. And just volume down button (flash mode) and a somewhat broken USB cable. Phone not recognized by flashtool at all...
Click to expand...
Click to collapse
I don't know, sorry. You have to search the brick threads...
Sent from the center of the galaxy
I ran the the link2sd enabler script on my rr573, works like a charm now.
Thank you so much, I needed this!
Didn't swapped the storages yet.
The dream is real!
Congratulations.
Seeking a long time for a script like mm-partition-swapper.zip
Before seeing your post, I had already made the formatting of SD0 (ext4) to try to install Link2SD to work with SD0 without work.
I used the TWRP 3.0.2.
I could easy return the partition to FAT.
I intend to make a clean installation of ROM on my device to then install your mm-partition-swapper.zip script.
As both the "DATA" as SD0 are empty you still think need to format with TWRP 2.8.7?
No way to change this script without the data transfer?
Only formatting partitions and inverted mounts?
If not necessary then ok...but... please clear this my doubts.
Again without getting tired ... very thank you even for your script.