yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] androidcrazy1601:
Confused, please help....

Hi [MENTION=5514845]zeyad xu[/MENTION] and anyone who sees this first. Need Help!!! I am a newbie and bit confused.:confused:

I am using M dual C2004 4.3 BL Locked Rooted

In the zip file (in the OP link), there are two folders:

1. META-INF that has 2 files

2. system - Has etc./init.d folder in which 11extsd2internalsd file is there.

There is already a folder in the system (explored with root access) - system/etc/init.d which has 2 files: 1. 00test 2. 08setperm

Should I move both the folders in the zip to already existing folder in the system (system/etc/init.d) that has two files???

I follwed all the steps below. Nothing happened... :crying:

1. Get root

2. Get BusyBox using this app: press there Install

3. Get init.d support using this app: press there activate and then verify

4. Format external sdcard into FAT32. Don't forget backup files!

5. Create on external sdcard folder 0 and move there all data from internal storage

6. download the zip and extract it to system/etc/init.d

7. Set permissions to file with all 9 ticks

8. Reboot

Thanks in Advance...
[Sony Xperia M] paper13579:
Hey buddy, all you do is move the 11extsd2internalsd file and move it to /system/etc/init.d and then follow the other steps in that process. Hopw this helps
[Sony Xperia M] androidcrazy1601:
Works on C2004 Dual 4.3 BL Locked

Hi [MENTION=5482320]paper13579[/MENTION]...

Thanks that worked:good: But I have one more doubt.

When connecting to PC, I can see that both are swapped.:) but when i go to Apps to check the space, it shows 810 MB/1.2GB is used. BTW i have a 16 GB memory card... Wont the swap reflect in Apps? :confused:

Thanks to [MENTION=5514845]zeyad xu[/MENTION] and the developer who has done this... :highfive:
[Sony Xperia M] paper13579:
Ya, dont mind what you see in the settings or apps. If you want, you can use a file browser to tell you how much space you have, like root explorer. This will show you the swap, or the computer as you said, will also show you that. The settings however show something else and what they show is incorrect information. Take another full read of the OP first post i think that will explain a lot more than i can.
[Sony Xperia M] androidcrazy1601:
Yes, thanks again... :thumbup:

Using Xperia M Dual C2004

Android 4.3(15.5.A.0.18)/Rooted with Locked Bootloader :D
[Sony Xperia M] androidcrazy1601:
Hi [MENTION=5514845]zeyad xu[/MENTION], :confused:

It seems the apps are getting installed only on default sdcard after swapping.

It tried installing 3 apps, no trace of installation found in extsdcard. Internal sdcard neither.

Did anyone try with Bootloader locked in C2004 dual 4.3?

Please help. :o

Edit: Removing the file temporarily :(

Using Xperia M Dual C2004

Android 4.3(15.5.A.0.18)/Rooted with Locked Bootloader ;)
[Sony Xperia M] paper13579:
I am actually having the same problem. I have a feeling that this technique doesn't work on c2004 locked bootloader
[Sony Xperia M] Bonoboo:
[MENTION=4611752]androidcrazy[/MENTION]

[MENTION=5482320]paper13579[/MENTION]

This method only for games cache, not APK's.

To move apps on sdcard use Link2SD.

[MENTION=5514845]zeyad xu[/MENTION]

Please, write this in first post.
[Sony Xperia M] androidcrazy1601:
Hi [MENTION=5037002]Bonoboo[/MENTION]

Does link2sd work on Locked Bootloader? :(

Please share the tutorial thread for using link to sd :(

Using Xperia M Dual C2004

Android 4.3(15.5.A.0.18)/Rooted with Locked Bootloader ;)
[Sony Xperia M] aerialus:
link2sd work on LBL ,,

what do you need is Root Only..

Step by step:

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 :)

sorry my bad english
[Sony Xperia M] androidcrazy1601:
Hi [MENTION=937916]aerialus[/MENTION],

Thanks bro, that worked...gained sooo much space.. :D :cool: :highfive:
[Sony Xperia M] SDee96:
Is it working on the latest 4.3 build? :S
[Sony Xperia M] androidcrazy1601:
Hi Bro,

Yes, I have 15.5.A.0.18 Android 4.3 JB and it's working like a charm...

Using Xperia M Dual C2004

Android 4.3(15.5.A.0.18)/Rooted with Locked Bootloader ;)
[Sony Xperia M] lake0ftearz:
Not work with my C1905 15.4.A.1.9. Nothing happened when I flashed the zip in CWM

When I run this script with Script Manager i only got the message :

So sad, it worked like charms with the old fw.
[Sony Xperia M] androidcrazy1601:
Hi Bro,

BTW, just wanted to know if you are trying to move apps to extsdcard by this method... If so, you have to use link2sd... This swap method is for big games. Please anyone correct me if I am wrong :(, because moving apps doesn't work for me by this method.

Using Xperia M Dual C2004

Android 4.3(15.5.A.0.18)/Rooted with Locked Bootloader ;)
[Sony Xperia M] lake0ftearz:
I just want to swap the data to sdcard because when I install the Asphalt 8 or something big like that, Link2SD or FolderMount will reiceve the message "storage is not enough space". And as far as I know this is only Data, not apk. You can check the 0 folder.
[Sony Xperia M] maniek:
hello, work on C1905 15.4.A.1.9 :D whit unlock BL!!! I made this 5 min ago
[Sony Xperia M] StraightEdgeKid:
Im using this script for AOSPA paranoid rom by Nicki.

But i have major prob.. Swap is doing for sdcard to internal memory. Its ok, but for internal to external it's not happening, it still shows external as external memory too

Problem happens as gallary, walkman everything shows all stuff double, also, to apply this script i have to create 0 folder and put everything in it, it works in internal storage(sd card originally after swap) but in sdcard it shows the real content of sdcard along with additional duplicate obb folder outside at last layer with 0 folder.

Please help.
[Sony Xperia M] Bonoboo:
Read first post - on CM/KitKat-customs no actual swapping.

Only internal going to sdcard/0

It's ok and imho better than swapping.

Regarding doubling - try this
[Sony Xperia M] Se7enTime:
I have a problem with 4.4.4 AOKP, after flash the script via cwm, i see the internal data still not move to sdcard1/0 (in my case) and the size 2GB

my sdcard size is 32GB,

before i flash the .zip, i move all in internal data (0) to folder 0 in sdcard
[Sony Xperia M] shiromau:
try to install a big game like injustice... or check your storage via xplore... it will show both internal and external 32 GB...

---------- Post added at 08:32 PM ---------- Previous post was at 08:29 PM ----------

i m facing problem here... after installing script in gallery, music player, mx player, all files showing two times... though i deleted both storage and copy in to only new internal... bt after few reboots again they shows double... sory foe my bad english...
[Sony Xperia M] shiromau:
screenshot...
[Sony Xperia M] abuzer3:
ı cant focuses two things in same time, but someone says used link2sd someone says Uni-init_v1.0[1].apk. ı contnue without aimless. i do partiiton and i instal link sd and select ext4 at beging its saying please wait about 20 minutes.

about one hour lin2sd saying waiting. and phone says "" sd card was removed pls add new one ""

can some adding step step (except rooting) explain true way of swapping or is there any way using with terminal emulator for 4.3
[Sony Xperia M] Amanation:
Stucked, bootloop

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![/QUOTE]

i guess i messed up..i copied extracted file (& followed all process). Rebooted the phone and it stucked on bootloop. How to solve bootloop problem ? Is flashing new firmware is only solution? If yes then plz give me working link of file,if no then provide me working sol. Plz urgently needed. Reply asas..
[Sony Xperia M] Bonoboo:
Flashing helps, even without wipes.

So you on new 4.3 with locked bootloader?

Seem for new FW you need unlock BL.
[Sony Xperia M] Amanation:
Yes on new 4.3 updated few days back.(from sony service center).locked bootloader. Since phone is bootloop. So how to unlock bl
[Sony Xperia M] Bonoboo:
Google know answers for most questions.

Here tutorial
[Sony Xperia M] StraightEdgeKid:
Bro, I small query...

Now, my memory card have two "obb" folders.

1. /Sdcard/0/android/obb

2. /Sdcard/obb

And why this is happening? Its costs me lot of memory as obb folder is mirrord with large volume of game data... Any help?
[Sony Xperia M] Bonoboo:
2 All

Link2SD updated.

Fixed bug that causes linked apps disappear on reboot when internal data is linked on some KitKat devices.

Someone in this thread had that issue/
[Sony Xperia M] FakrudeenAhamed:
Hello, I ve a doubt in locked bootloader step number 5..

After creating the folder 0 in sdcard, should I move all the files in internal memory including the hidden files or only the visible files? Cos when I open internal memory with root explorer there are many data which I didn't find in normal file commander..

So I ve to move hidden files or not?? Please help...

And my next doubt is abt link2sd.,

We are using few steps to swap internal and external memory then what is the use of link2sd when we already swapped the memories and able to install games in sdcard .. I dnt understand this part. Please provide me solution.. :) ;)
[Sony Xperia M] Bonoboo:
1. Yes, sure.

2. Link2SD needed to move actually apk's and their dalvik-cache, libs and even data.

Swapping affects only games cache data, APK's still going into small 2 GB internal memory.

But because you clean internal storage by moving data on sdcard you got a lot space for apps, so Link2SD not needed.

Hope you understand me.

Also there is a few cases that on new 4.3 with locked bootloader this swap method not work / causes reboot.

After unlocking all ok.
[Sony Xperia M] FakrudeenAhamed:
Yeah I understand that and it helps.. Thanks abt that.

And abt rebooting, incase if it happens to me, any way of stooping it like by deleting some file.. Or flashing is the only solution? :(

I am so eager to play big games, other than swapping, is thr is any another method for installing games in sdcard with locked bootloader
[Sony Xperia M] Bonoboo:
1. Yep, flashing via flashtool without wipe data helps.

2. FolderMount, but it also can cause reboots,
[Sony Xperia M] FakrudeenAhamed:
Thanks man...

So it all depends on luck

.. Let's check mine :D ;)
[Sony Xperia M] Bonoboo:
2 All

Here alternative method for swapping memory.
[Sony Xperia M] FakrudeenAhamed:
Thanks

Oops!!! Just now I swapped using init.d method..

And my phone didn't reboot..

But I like to thank you for the efforts, u ve put to help new people(including me)who struggle with these things.. ;) ;) :good:
[Sony Xperia M] FakrudeenAhamed:
Hello, I am going to use link2sd, so I want to partition my sdcard..

What size do u recommend to me to allocate for the ext4 and remaining partition if I want to install many big games like asphalt, nova, etc. I ve 16gb sdcard
[Sony Xperia M] Bonoboo:
Link2SD doesn't handle games cache, only apps itself.

You need method in first post of this thread.
[Sony Xperia M] FakrudeenAhamed:
Actually I didn't ask for the steps to use link2sd, I asked you about the size of ext4 partition that I should create using mini tool partition wizard.. Anyway thanks for the reply and I ve created ext4 partition with 2gb space in my sdcard
[Sony Xperia M] SektorZero:
i have the same problem :crying:
[Sony Xperia M] TOoma:
I solved the problem:

- when u create the "0" folder, move ur ALL stuff stored in external SD Card, because it'll be unseen for phone + the stuff from internal SD Card, because this folder will be attached as Internal SD and the real internal SD will be sdcard1, so the external.

I hope this guide is clear :D
[Sony Xperia M] abuzer3:
Can you say me how you formatting remaning space of your sdcard? And is it working?
[Sony Xperia M] FakrudeenAhamed:
I formatted my sdcard in the normal way ( right click -> format)..

And then only I created two partitions. One as fat 32 and other one as ext4
[Sony Xperia M] Sandro8771:
[MENTION=5514845]zeyad xu[/MENTION]

Howdy bro,

Can this Mod be used on other xperia devices namely for 2011 models.

My query is because right now most of the scripts and mods are not working properly like before on certain custom roms i.e. kitkat 4.4.2,4.4.3 and 4.4.4.

Please enlighten me as I want to try this mod.What's the worst that can happen,brick?Well the device is already a couple of years old.But there is always a risk I know.But then again there's always a solution to get out off trouble here on xda.

Edit:Now,which goes into the 0 folder?

Internal or External?

Contradicting guides in OP and one other.
[Sony Xperia M] rionline:
Thank god it worked! That is the absolutely key problem of this handy device! ;)
[Sony Xperia M] donedos:
Perfectly working!!!

working perfectly without any issue.. Thanks man !!:victory:
[Sony Xperia M] XDAOwner!!:
Thanks-A-Lot :D
[Sony Xperia M] adneon0:
Problem !

i followed all the steps and everything worked perfectly ..

then when i rebooted my device , something goes wrong ,device starts hanging,sd card got corrupted.

and when i open in USB STORAGE options in settings . the usb connectivity stops to respond.!

:(
[Sony Xperia M] Bonoboo:
[MENTION=5514845]zeyad xu[/MENTION]

Please add into first post under MTP warning where check connection type:

Settings > Xperia Connectivity > USB Connectivity > USB Connection mode > Media transfer mode (MTP)
[Sony Xperia M] XDAOwner!!:
Thanks for your tutorial , But ,,

1. I created a folder called "0" in my external storage

2.Then I moved all my files (from internal) to "0"

3.And then i installed init.d and enabled it

4.I flashed zip

but when i rebooted . my devices Memory is not swapped.And my device's SD Card was formatted

ROM - CM11 (4.4.4)
[Sony Xperia M] Pranavtastic:
Hey great job. I know this is a rather "noob-ish" question but, does this mean that if I use a 32 gb card, I can install 20gb+ worth of application? I have a bootloader locked C2005 :)
[Sony Xperia M] SimsDhillon:
Little help here plz..

Everything works great but still have few questions in mind..

1. why apks still going in 2gb internal memory? .. is this script for data only like obb, etc?

2. what will happen if i mistakenly remove my memory card?

can i use link to sd to move apk files to ext sd card while using this script.. i mean now i have internal 8gb n ext 2gb but apk are still going in 2gb memory(which is exactly phone's memory) how

can i move them into 8gb memory (which is now my internal memory)

Anyway thanks for providing such great tutorial..
[Sony Xperia M] Amar Vautre:
can you please give me the scripte for xperia L, I really want to swap my phone memory

I am on CM11 4.4.4 ROM plzzzz hlppp.....
[Sony Xperia M] karthikgoud:
thank you very much dude you made every xperia m user happy becoz internal memory was the main prob for this mobile you have solved it I thank you on behalf of every xperia m user but i need some confirmation will this swap damage my mobile in future like phone memory or sd card does it corrupts and cause any issues to my mobile pls tell me
[Sony Xperia M] stevoh84:
I'm using ArchiDroid V2.5.3 i have TWRP 2.7.1.0 and can't get this to work. Some help or an alternative would be much appreciated?
[Sony Xperia M] zensuke87:
haii is this method work on xperia C 4.2.2 :confused:
[Sony Xperia M] AggelosGR:
Can anyone confirm that it works at cm11? Cause i see many users are experiencing problems.thanks in advance
[Sony Xperia M] srivmanu:
I Second that, I found problems as well.
[Sony Xperia M] shrisangram:
Not working on cm11 nightly
[Sony Xperia M] Arturiuz!:
yes it does!i'm on cm11 fxp333 ktu84q 4.4.4 kk XMS(will update to 334 later on)..so far seems to be fine at all! (y)

i just simply followed the OP for CyanogenMod 4.4 then,that's it!no sweat! :D
[Sony Xperia M] AggelosGR:
Did u reboot your device? You tried to connect your device with usb to a pc?
[Sony Xperia M] Arturiuz!:
yep!even a couple of times,still the same! :D

i already upgraded my build to fxp334 & still working good! :thumbup:

after successful memory swap,dont clear cache thru recovery for that will start cause problem! :eek:

also tried connecting to pc & will only see the ext_sd,not internal..
[Sony Xperia M] AggelosGR:
Apk are installing to ext sd right?or i have to use link2sd?
[Sony Xperia M] Arturiuz!:
u need to have link2sd for that.i havent tried it yet.maybe later..im still trying to figure out to how exactly it's done while reviewing the steps/instructions or wc method i find convinient & of course,safe for my phone.. :D
[Sony Xperia M] aerialus:
not work in Official CM11 Nigthly :(
[Sony Xperia M] bluemeda:
This script make my photos looked double.
[Sony Xperia M] Arturiuz!:
what do you mean double?like there are 2 copies of it when viewing gallery?
[Sony Xperia M] mclogan:
Doesn't work on CM11 official nightly

Any update? :D

EDIT:

Work on fxp344 latest build, but link2sd cause a problem
[Sony Xperia M] bluemeda:
Yes it does
[Sony Xperia M] mohitraj.raj:
Not working in cm11 fxp334 latest build
[Sony Xperia M] mohitraj.raj:
working but google camera asking to insert memory card
[Sony Xperia M] Arturiuz!:
yeah,i noticed too! ?

im trying to figure out how to have it not doubled.. ?

---------- Post added at 07:11 AM ---------- Previous post was at 07:09 AM ----------

it worked for me & im on fxp334 latest build too! :p
[Sony Xperia M] mohitraj.raj:
Yeah working for me too now. I had miss spelled 0 as O

But now my both internal and external are 32 GB and everything appears in the gallery twice. Checking the details, the location on one file is on internal memory while the other on external memory.

Even Apollo music player is affected with this bug. Every song playing twice. All songs appear twice in the library
[Sony Xperia M] Arturiuz!:
not for me though but only with Gallery that i get "2 copies"..Apollo worked just fine as it is! ?
[Sony Xperia M] mohitraj.raj:
I found a fix. Just hide the sdcard1/0 folder using any file manager . I used xplore. It's working fine now
[Sony Xperia M] Arturiuz!:
you mean only in Apollo but not in Gallery,right?i tried it too but still having double copies with Gallery.. ?

edit: i know where the problem is..you see,when pictures are store in sdcard/0,i noticed i only got copy of it.meaning,if pictures in gallery are transferred over to external from internal,hide /sdcard/emulated/0 using file explorer,then you get only 1 copy of pictures in gallery..problem solved!
[Sony Xperia M] mohitraj.raj:
Still buggy. After few reboots my gallery as well as Apollo shows no pictures or music

---------- Post added at 08:23 AM ---------- Previous post was at 08:21 AM ----------

If you hide emulated/0 then Google camera won't work and keep on asking for SD card
[Sony Xperia M] Arturiuz!:
oh!that's another problem there.hmm.. :confused:

but i'm only using stock camera,worked for me.album covers&songs working fine too! ?
[Sony Xperia M] bluemeda:
Yes, me too. Every reboot, sometimes I lost my internal memory.
[Sony Xperia M] mohitraj.raj:
yeah. that's kinda stupid. sometimes internal memory is there sometimes it disappears. and when it disappears google camera won't work, and ask for sd card
[Sony Xperia M] mohitraj.raj:
check the screenshot. Why is available memory different in both the storages?? Running Mokee OS XMD UL bootloader
[Sony Xperia M] Arturiuz!:
im wondering if google camera has option to store pictures to sd?coz stock does,like this:
[Sony Xperia M] mohitraj.raj:
Very less customisation in google camera

---------- Post added at 11:26 AM ---------- Previous post was at 11:24 AM ----------

I am sticking with foldermount as of now, and waiting for fix.
[Sony Xperia M] lxender:
anyone having a problem which is sdcard0 no longer detecting after hide it?

if u apply the script after new flash it still failing detecting? how to revert?
[Sony Xperia M] Arturiuz!:
this the problem as of the moment regardless if hiding sdcard/0 or not..im having the same problem too,tbh..but immediately restores after a couple of reboots.others may have to do more reboots than i do but in regards to reverting back to original,sorry but i dnt have any idea yet. :(
[Sony Xperia M] lxender:
too lazy to find solution. need to use the phone. i just revert back to stock and flash cm11 again.
[Sony Xperia M] Deejaydark:
Yeah this is complicated.. I just reverted back to Beans Build 22 that has SdSwap installed on it. I was looking for a solution for 4.3 but if anyone else has any idea please reply

Beans Build "22"
[Sony Xperia M] coolboyforeva:
SD card pics missing

Hi,

I created 0 folder on sdcard1(memory card) and flashed the zip. on restarting everything was fine.. But when i restarted again the SDcard1 pics went missing.. There were blank thumbnails of pics but no pics.. Though i have access to my songs on sdcard1.

Where am i wrong?

How to get pics on sdcard1 back??
[Sony Xperia M] Arturiuz!:
what i did was (on file manager) access:

system/data/media/

give permission to "0" with

read-write-execute

read-write-execute

read-(blank)-execute

it worked & was able to view pics/music albums like normal.only temporary for will have to do it again once phone rebooted.
[Sony Xperia M] noggin-the-nog:
CM11 4.4.4 memory swap - is it working?

Hi there,

Can anyone (who has actually done it!) confirm if you can swap memory in CM11 4.4.4 as I've not had much luck!

if you have done it, can you tell me what you did?

No links back to the OP as that didn't work for me. My XM is rooted, stock 4.3 and UB + CWM.

Cheers
[Sony Xperia M] SDee96:
Im using CM11 and the swap method is not working for me as well. I've complained everywhere but i guess the problem is inside the kernel.

It says that that the kernel does not have init.d support which you need for this swap method to work..that problem persisted since FXP330-331 and remains on these official CM Nightlies.
[Sony Xperia M] zeyad xu:
guys pardon me but i always have exams and stuff

and i tried the swap script on 4.4.4 and it worked well for me

tried it on lb 4.3 worked perfectly after rooting using nickiroot

tried it on ub 4.3

if something goes wrong i can't help because it's your fault
[Sony Xperia M] arpit_nnd:
Take a break buddy...

And before blaming the entire community, make sure you are actually right.

Good luck for your exams and stuff...
[Sony Xperia M] KevinB88:
I want to swap the storage of my Xperia Z2 but i can' t find the right paths and Adress Block. Where can i find it?
[Sony Xperia M] zeyad xu:
first of all thank you so much

look i am not trying to be arrogant or something but i tested it 10000 times and as you can see i am the one who made this thread so i am the one who knows the most about the script

if you need any help pm me and i'll try to help asap
[Sony Xperia M] hobbypunk90:
I have a similar problem on cm11,when I install your script, my internal sdcard is gone, I can access over /mnt/shell/emulated, but nothing else, any idea, why? I'm using link2sd too ?