yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] smitpatel0086:
credits

[MENTION=5037002]Bonoboo[/MENTION] for a more simple tutorial

[MENTION=5514845]zeyad xu[/MENTION] for finding this

[MENTION=243864]xda[/MENTION] people for trying

also for [MENTION=5083009]raffie_archildz[/MENTION] the man who made this

1. Create an Ext4 partition in your microSD with "Mini Tool Partition Wizard" ( you can search tutorial in google)

2. Install Link2sd and create mount script (EXT4)

3. reboot

4. Open Link2sd and select apk > menu> Create link

5. Done

Never use MSC mode (USB Mass Storage) for connecting to PC!

This can mess up data your files. Use only MTP!

Settings > Xperia Connectivity > USB Connectivity > USB Connection mode > Media transfer mode (MTP)[/QUOTE]

No matter how many times I try, I always get into Bootloop.
[Sony Xperia M] JoelAndrew9:
Reverse

I want to flash CM11 on my phone again. Is there any way to reverse this method?
[Sony Xperia M] StraightEdgeKid:
No matter how many times I try, I always get into Bootloop.[/QUOTE]

Is your device well rooted? May be it's half rooted.
[Sony Xperia M] smitpatel0086:
Towel rooted
[Sony Xperia M] rmgaikwad:
perfect

Thanks, successfully working link2sd on C2004:good::good:
[Sony Xperia M] AndyPhoenix9879:
That's all u did? Just towel root? U need to apply remountrebootfix man! Here I'll give u the link for the full set of instructions..

http://xdaforums.com/xperia-m/general/towel-root-steps-to-root-t2789990

Now re-try this swap method and it should work without bootloops.
[Sony Xperia M] Sabretooth93:
swap on cm11 nightlies

does it work on cm11 nightlies??
[Sony Xperia M] Bonoboo:
No, something wrong with init.d
[Sony Xperia M] Sabretooth93:
any fix for that??
[Sony Xperia M] ramdak:
I'm a little confused...

I have C1905 LB, rooted. But what DATA folder do I have to move to the /0 folder in the SD?

The ROOT/DATA or the emulated (/mnt/sdcard) folder?

Thanks!
[Sony Xperia M] Sabretooth93:
You have to move all the folders in the internal sd to folder named "0" on external sd card
[Sony Xperia M] WKhawam:
I try it in my brother's phone XM 4.3 rooted with locked bootloader LB

And It's work good

Great work, thanx man :)
[Sony Xperia M] surajrv6:
yes it's working... i am using universal init.d from playstore. i am on latest nightly (03-10-2014)

---------- Post added at 10:15 AM ---------- Previous post was at 10:08 AM ----------

those of you who r using cm11 official nightly, cyandelta doesnot work properly. I mean it can download latest nightly but if u try to update it using that "install zip" button, it cannot detect the downloaded zip file
[Sony Xperia M] Sabretooth93:
please tell the complete procedure of how to do it using universal init.d???
[Sony Xperia M] surajrv6:
I did not do anything extra... just followed the procedure mentioned in the first post.

first i installed universal init.d, then turned it on and restarted my phone

after that i flashed the script
[Sony Xperia M] ramdak:
Ok, so I got towel root with the remout fixed...

Then I got a 16gb card, copied my old sd card contents and created a 0 folder in the new card root. Then I copied all internal card data to the 0 folder, and copied the new init.d to system/etc, applied permissions... rebooted and bootloop. :confused:
[Sony Xperia M] vishalraj08:
work on cm11 nightly???

Will it work on latest cm11 nightly built ?
[Sony Xperia M] SimsDhillon:
Only data is going into external.. main apps and their cache still going into internal?

is there any way to move apps and their cache to external aswell..

btw thanks for the script.
[Sony Xperia M] Bonoboo:
Link2SD and second partition on sdcard.
[Sony Xperia M] SimsDhillon:
but he stated if i connect my mobile to msc mode to make second partition ... everything will be messed up n i may lose data..

so how can i make second partition now.. i already swapped memory..

anyway thanks for reply..
[Sony Xperia M] Bonoboo:
No, you need cardreader and PC for this.

There is on-device methods (from recovery and app), but seems it's not safe.
[Sony Xperia M] FakrudeenAhamed:
Help

Hey guys., i am using xperia m single sim, locked bootloader... I have swapped memory using this method.. Now i ve a system update for my phone.. Can i update my phone ? Do u thing that this ll cause any problem to my phone as i ve swapped memory ?
[Sony Xperia M] Arturiuz!:
as long as you back-up your data,that'll be fine! :)
[Sony Xperia M] FakrudeenAhamed:
So, it wont brick my phone...?

Did any one update ur phone?
[Sony Xperia M] Arturiuz!:
nope! the phone would actually just revert back to its original settings then you can flash again the kernel.
[Sony Xperia M] FakrudeenAhamed:
Thanks . What abt my games ? I ve games installed in my sdcard... Will they work after update or i need to reinstall them.. And titanium backup didnt work well for me
[Sony Xperia M] Arturiuz!:
backing up your data will have your games included on it..what i do though is(to be very sure)is i copy the data from sdcard & place it somewhere to external sdcard,then reinstall the app after phone update,then copy the data i backed up in external sdcard to sdcard(internal).a bit of a hassle but it works for me.
[Sony Xperia M] StraightEdgeKid:
Definitely not, no problem at all, it's just that you'll lost root as well as memory swap setup...
[Sony Xperia M] betulin:
Some Doubts

Hi, friends

I get some doubts. I've swaped my device memory before the 4.3 - 15.4 JB updating. I've done it: rooting , reboot fix, and swapping internal memory by jinishpv. It worked pretty good. When I updated to 4.3, the swaped disappeared.But, there are a lot of folders and files in my sd card 1, I really don't know what to do with them. I think they are not useful but i'm not sure of it. Should I include them in the sd card 1 back up?

Besides, my ES File explorer shows a: D.device, where I find system/etd/init, 0 emulated, and sdcard 1 (see the screenshot, I've attached). I'm not sure but I believe I should extract the zip on 0 emulated, right?

What is gonna happen with the apps which still keep some file/s or folder/s in the current sdcard1?

Hi, friends

I get some doubts. I've swaped my device memory before the 4.3 - 15.4 JB updating. I've done it: rooting , reboot fix, and swapping internal memory by jinishpv. It worked pretty good. When I updated to 4.3, the swaped disappeared.But, there are a lot of folders and files in my sd card 1, I really don't know what to do with them. I think they are not useful but i'm not sure of it. Should I include them in the sd card 1 back up?

Besides, my ES File explorer shows a: D.device, where I find system/etd/init, 0 emulated, and sdcard 1 (see the screenshot, I've attached). I'm not sure but I believe I should extract the zip on 0 emulated, right?

What is gonna happen with the apps which still keep some file/s or folder/s in the current sdcard1?

Thanks

Xperia M

AV : 4.3

BN : 15.4.A.1.9

Rooted (Locked bootloader)

Thanks
[Sony Xperia M] betulin:
Sorry, I'm duplicating a post because I didn't know how to attach an image

Hi, friends

I get some doubts. I've swaped my device memory before the 4.3 - 15.4 JB updating. I've done it: rooting , reboot fix, and swapping internal memory by jinishpv. It worked pretty good. When I updated to 4.3, the swaped disappeared.But, there are a lot of folders and files in my sd card 1, I really don't know what to do with them. I think they are not useful but i'm not sure of it. Should I include them in the sd card 1 back up?

Besides, my ES File explorer shows a: D.device, where I find system/etd/init, 0 emulated, and sdcard 1 (see the screenshot, I've attached). I'm not sure but I believe I should extract the zip on 0 emulated, right?

What is gonna happen with the apps which still keep some file/s or folder/s in the current sdcard1?

Thanks

Xperia M

AV : 4.3

BN : 15.4.A.1.9

Rooted (Locked bootloader)

Thanks
[Sony Xperia M] ramdak:
Ok, so I got this working... since I have an unlockable bootloader, this saved my phone to be smashed against the wall (cause I never had space for installing anything).

However I'm getting the "not more space available" alert... I see only 200mb-ish free (of 2gb) on the swapped SD-card in root explorer, but there're almost no files on it, besides some xml and other folder. The swapped internal now uses the 16gb external card and I installed a lot of apps without problem, but sometimes it pops that anoying alert.

Is there a way to avoid this? I mean to not get more "insuficient space" alerts? :confused:
[Sony Xperia M] SimsDhillon:
im on cm11 and script just worked fine but now i am seeing everything double.. like all photos in my gallery are showing doubles even same thing happening in walkman app.. is there any fix for that?
[Sony Xperia M] SimsDhillon:
i am having the same problem.. did you find any fix?
[Sony Xperia M] StraightEdgeKid:
It's because cwm, you must be on twrp(or whatever they call it), you must change your kernel or recovery, one of them don't support sdcard swap.

Suggestions: install another kernel or change ROM
[Sony Xperia M] SimsDhillon:
swap is working fine i can see sdcard changed with internal memory.. but see this is exactly what happening.. even in music player each song is displaying 2 times..
[Sony Xperia M] StraightEdgeKid:
Yes, you won't see changes in settings, that kinda awkward, and till now, even I haven't find out why the hell those replicas appear in media apps...
[Sony Xperia M] thelous:
Hey

Didnt work on my ace llx cm11, still goes to real internal storage.... how i remove this`?
[Sony Xperia M] arpit_nnd:
It's so obvious why those replicas come...

One comes from the internal storage(which is mapped to the 0 folder but, still acts as a separate storage) and the other from the SD card(the 0 folder is there on the SD card itself and cannot be excluded from media scanning).

Although there is just one copy of files but, for the system those files are there in two different storage devices.
[Sony Xperia M] StraightEdgeKid:
Oh yes, that sounds understandable, but the what happens with 4.3 stock? No duplication at all.

All I wanted to say that why no the same swap occurs with 4.4 stuff...
[Sony Xperia M] SimsDhillon:
in 4.3 both memories are visible and accessible but in 4.4 only sdcard are visible and accessible whether you go to internal or external storage through file manger.. only sd card memory shows..
[Sony Xperia M] dunc4n88:
Quick question, been a long time since I've been on here and glad to see more development on this device, my question is the copy content of sd card to '0' folder is it the external sd card content to this folder?
[Sony Xperia M] ramdak:
While the swap works fine, I keep getting "out of space" alerts...

It looks that the swapped internal memory is acting as the cache/data memory, as you can see in the screenshot attached. Is there any way to free space on it? :confused:
[Sony Xperia M] syedafzal.shah:
Iam running cm11 Nightly on my Xperia M and also using some Xposed modules... so will the memory swap work for me?
[Sony Xperia M] ppprokurator:
Ok so.. You have flashed zip in CWM or manually copy file to init.d?
[Sony Xperia M] giridhargp:
Flashed in cwm
[Sony Xperia M] zeyad xu:
i will make a tut

after 30 minutes
[Sony Xperia M] giridhargp:
Thanks man....
[Sony Xperia M] zeyad xu:
uploading

but i forgot to say in the video

first step is format your sd card!!! w/o formatting

sd0 and sd1 will be 2.0gb
[Sony Xperia M] giridhargp:
Ok..

Will do that...
[Sony Xperia M] zeyad xu:
[YOUTUBE]watch?v=qtePTzBt63Y[/YOUTUBE]
[Sony Xperia M] ppprokurator:
You mean erase everything or really format? On 1 page You meant erase everything.

I didnt format my card only erase and in Settings, memory I have 2GB in both, but in Root Explorer I have the right space. If I format it, will the space in Settings, Memory be fixed?

Wysłane z mojego C1905 za pomocą Tapatalk 2
[Sony Xperia M] zeyad xu:
no i mean format it from settings but he thought that i meant to say use minitool partition to change ext..etc
[Sony Xperia M] trkostas:
i did format but still in setting shows 2GB & 2GB , should i also create 0 folder?
[Sony Xperia M] Bonoboo:
zeyad xy

In video you recommended to get init.d support by app Universal init.d Support

I want to aware users install only APK provided on YouTube, NOT app with almost same name form Google Play.

Last app just emulates feature and executes scripts after boot, not in process. This causes problems: memory don't swapped.

I by mistake mentioned wrong app in tutorial, sorry.

As alternative you also can use Init.d Toggler.

That app adds true init.d support too.
[Sony Xperia M] zeyad xu:
hmm

do these steps

remove that script

format the sd again

watch my video

if you don't want to

just make sure you have init.d support

cut it and paste it in system etc init.d

reboot
[Sony Xperia M] trkostas:
what about “/system/etc” “vold.fstab”

i see in many forums that if you change sdcard0 to sdcard1 is doing the same thing

has anybody test it?
[Sony Xperia M] Bonoboo:
Not in our case.

There only one line, we need at least two to swap them: second for internal memory.
[Sony Xperia M] ansebovi:
guys any tested on dual...i tested but failed :(

any other succeed?
[Sony Xperia M] zeyad xu:
what happened with you
[Sony Xperia M] Bonoboo:
One guy on other forum said that all good.
[Sony Xperia M] ansebovi:
tried all steps 2 times but internal is 2gb external is 32gb same even after that...used universal init.d + the one u given Bonoboo...it says init.d works,even test.log is there...i flashed 1st time,and manually second time...nothing happened :(
[Sony Xperia M] Bonoboo:
Delete Universal init.d, maybe there conflict.
[Sony Xperia M] ansebovi:
k i will try and tell
[Sony Xperia M] nurulmac11:
it doesnt work with cm 11. doesnt it ? and now i cant install any apps.

moreover, my int storage is 1,8 gb. how can it be possible. i didnt install a lot things. there is a mistake. please help
[Sony Xperia M] pmauzao:
Hi there,

II'm with problems of internal mem installing new apps.

I would like to now if a can erase my 2Gb internal mem, cause i've copied all my internal storage to the sdcard...

Can i do this on the phone or should i connect to the pc by usb?

thks
[Sony Xperia M] pmauzao:
I've copied instead of moving data between internal storage and sdcard, and now i'm having problems with low storage space.

Is there a way to delete the internal storage files? with file explorer i just see 60Megas of files... where i should see 1.8Gb...
[Sony Xperia M] zolee_:
I followed OP for LB JB4.3 C1905 and got bootloop.

Had to reflash the newest JB (no wipe cache and data).

Did it again and got boot loop again

Flash again (w/o wipe), followed OP but added reboot fix.

This time it didnt boot loop but just nothing happened.

Tried it again without creating 0 folder. No swao happened (neither 0 folder was created by itself on ext card).

Just cant see what I am doing wrong.

Questions - when saying move internalt to ext/0 - What files are in question? Root/Data folder (whole 2Gb)? Root/Data/Data (just apk data)? Root/Sdcard?

Sorry, I really don get that.

But that is not the major problem. It just doesnt work for me.

Help anyone?

Is there custom rom with already swaped memory?
[Sony Xperia M] FakrudeenAhamed:
....

Hey., you need to move all the files and folders in the sdcard0 to '0' folder. NO need to move all the files in root folder.(Just the folders that ll be visible in normal file explorer like file commander)

This method worked for me, ( c1904,4.3,rooted,locked bootloader)
[Sony Xperia M] zeyad xu:
hey everyone

i am sorry for not replying to any pm i receive

but....

my xperia m faced many hardware problems and i had to sell it sorry guys :crying: :crying: :crying:

i will still try to help as much as i can

and i know about the bug on lolipop if i had the phone maybe i would have tried to find a solution

forgive me guys..

i hope that someone can fix it in lolipop

and btw

sometimes it might not work on a locked bootloader if u used towelroot for some reason

but if you rooted using nickiroot it works on a locked bootloader

on an unlocked bootloader it works 100% regardless the way u used to root

and i used it many times on cm11 i didn't face any duplicating pics bug or something like that..
[MENTION=5037002]Bonoboo[/MENTION] can u please try to help with me :)

thanks guys for understanding
[Sony Xperia M] Pacjonek:
Thaks for tutorial
[Sony Xperia M] zolee_:
I used the towelroot. Ok. Now I will try this nickiroot.
[Sony Xperia M] siabangichsan:
Thanx for tutorial. Work on ArchiDroid (Xperia M c1905).
[Sony Xperia M] Abhishek verma:
How to properly remove swap?

I flashed this when I was on Archidroid. Although it successfully swapped the memories. When I installed and big games with obb files none of them ran correctly (When opened they began to download game data as if they cannot find their obb files). So to remove the swap I deleted the extsd2internalsd file from etc>init.d.

Now, although the swap was removed the Gallery app says "No external storage found". This was not happening until I removed swap. Then I again swapped, the error was removed. When I again removed it, the error again started to occur!

I finally wiped cache partition with no gain, did a factory reset, no change, flashed and reflashed cyanogenmod nightly, nothing happened, I even restored one of my oldest backup with no benefit.

I am currently on Cyanogenmod 11 nightly, and the error is there and I cannot access Gallery, cannot download anything from chrome and more undiscovered problems are there. How to remove the swap properly? Please help!:(
[Sony Xperia M] RintSo:
is there anyone that has managed to solve about double pictures and music on gallery and music player?

sorry for my bad english
[Sony Xperia M] monster.kancut:
whoa.. i had this problem too on cm12 :silly:

try to wipe SYSTEM, data, and cache, then re-flash the rom from INTERNAL sdcard using your custom recovery

it worked for me, hope this will help~
[Sony Xperia M] siabangichsan:
Just move all of your media file (picture, music, video) to 0 folder. And create

.nomedia file in 1 folder (ext sdcard).

Sorry for my bad English :/
[Sony Xperia M] RintSo:
thankx :)
[Sony Xperia M] Haminjuri:
Thanks

Worked
[Sony Xperia M] adneon0:
Heeeeeeeeelp

while installing apps it says "Insufficient Storage" even after flashing the script .. the Storage has already swapped .. Just Installing apps is a problem ! :(
[Sony Xperia M] siabangichsan:
swap it just replace the internal storage ( sdcard0 ) to external ( sdcard1 ). So APK's will remain in internal (system partition ) . Use link2sd to move it .

link2sd + swap its perfect combination #IMHO

*sorry for my english.
[Sony Xperia M] thichthat:
I solved duplicate image and music by swapping sdcard1 with sdcard0 directory and then hide the real external sdcard directory (sdcard0)

My method: move all your data storaged in internal memory to your sdcard (root of sdcard, NOT "0" folder) and then flash this: View attachment ext2int_nui.zip

Never use unmount or mount sdcard in Settings
[Sony Xperia M] Nicklas Van Dam:
It's this work on locked bootloader condition?:confused:
[Sony Xperia M] ByronFer:
Does it work in a 5.0 Android cm 12 rom?????
[Sony Xperia M] Nicklas Van Dam:
i guess not, but maybe you can try another app like GL to SD or try a build in feature bro (App2SD) ok ;)
[Sony Xperia M] ByronFer:
thanks a lot, i tried, didnt work so had to use link2sd that was the solution.... thanks!!
[Sony Xperia M] Nicklas Van Dam:
That's great :D,
[Sony Xperia M] lampik:
hi there , i instaled cyanogen 12 and im trying to swap sd memory , but i cant install .zip file. from recovery menu, any advice how to do this easy with xperia m c1905 ?
[Sony Xperia M] Bonoboo:
Default CM's recovery not unusable because flashes only signed ZIP's.

Also it can't backup system.

So install persistent CWM / TWRP
[Sony Xperia M] FakrudeenAhamed:
Bro, swapping is working in cm12 also ? :eek:
[Sony Xperia M] Theomed:
hey everyone sorry i'm new to this so be patient with me please :)

i have an Xperia M1905 single sim running 4.3 stock i tried following the steps twice and everytime i end up with a phont that keeps rebooting alone

my phone is rooted , have Supersu and busybox installed, init.d activated and verified, formated the SD card

my questions :

- when i format and create the 0 folder and put it back on the phone i find other folders created by the phone ( android and lost dir ) is it normal to keep them or should i delete them and only leave folder 0 in the SD card ?

- when i extract the zip file i find two folders but i only copy the file inside system/ect/init.d to the same destination in my system using root explorer that's the right way to do it ?

after i fix the permissions and reboot my phone keeps rebooting and i have to repair it again .. pleaaase help !
[Sony Xperia M] StraightEdgeKid:
What rooting procedure you've used?

well, at first glance, it looks like you have a half rooted device. One suggestion, update your supersu from play store, after rooting device. it will ask you to update your binaries, update them, then install busybox, get init.d toggler and force enable it 4-5 times install zip from recovery, if possible, and see if it works.
[Sony Xperia M] Theomed:
i just got this phone and i used Towelroot to root it the BL is locked and i don't know how to get to recovery from this phone :(
[Sony Xperia M] StraightEdgeKid:
Well, Towelroot does give you root access but it will give you half root only. you have to apply root fixer after rooting from towelroot. You can use ddflasher from here, to root your locked bootloader phone.

It will full root your phone.

Though I recommend to unlock your phone's bootloader. :highfive:
[Sony Xperia M] Theomed:
my bootloader can't be unlocked after i checked the rooting status it says that it is not allowed unfortunately so should i try the DD flasher way ?
[Sony Xperia M] StraightEdgeKid:
like I said, Yes, you can!
[Sony Xperia M] pmauzao:
Hi there,

I'm with stock 4.3 and locked bootloader, i've managed to swap the sd card and then the link2sd with partitioned sd.

But then i've lost the swap, and i'me not getting it back, busybox installed, init.id activated and files copied to system, and nothing, i'm always getting de 2gb internal mem...

There's some kind of problem with some app? I'm using xposed with gravitybox and Gem...

Thks
[Sony Xperia M] Diablo100:
HI :)

anyone tried it on cm12/12.1?? will method for kitkat work on lillipop??
[Sony Xperia M] soeltz7fold:
swap @ cm12 ?_?

SAME question here, stuck with another way to swap on cm12 :confused:

so please
[Sony Xperia M] neildenver:
Insufficiant storage...

Xperia M with 4.3 LB and managed to swap.

While connecting to the PC, the internal memory says 13.5 GB and external says 2.05 -- Perfect.

But while installing any app or games it always eating the mem and says insufficient space but my SD card is almost empty.

Theoretically swapped but ultimately the purpose was not fulfilled.

Am I failed to do any additional steps to use my SD cards memory for apps?
[Sony Xperia M] neildenver:
Insufficiant storage...

credits

[MENTION=5037002]Bonoboo[/MENTION] for a more simple tutorial

[MENTION=5514845]zeyad xu[/MENTION] for finding this

[MENTION=243864]xda[/MENTION] people for trying

also for [MENTION=5083009]raffie_archildz[/MENTION] the man who made this

1. Create an Ext4 partition in your microSD with "Mini Tool Partition Wizard" ( you can search tutorial in google)

2. Install Link2sd and create mount script (EXT4)

3. reboot

4. Open Link2sd and select apk > menu> Create link

5. Done

Never use MSC mode (USB Mass Storage) for connecting to PC!

This can mess up data your files. Use only MTP!

Settings > Xperia Connectivity > USB Connectivity > USB Connection mode > Media transfer mode (MTP)[/QUOTE]

Xperia M with 4.3 LB and managed to swap.

While connecting to the PC, the internal memory says 13.5 GB and external says 2.05 -- Perfect.

But while installing any app or games it always eating the mem and says insufficient space but my SD card is almost empty.

Theoretically swapped but ultimately the purpose was not fulfilled.

Am I failed to do any additional steps to use my SD cards memory for apps?
[Sony Xperia M] waqawaqa:
[YOUTUBE]qtePTzBt63Y[/YOUTUBE]

This video is private !!