yashsingh1/xdaforums huggingface dataset:
[Sony Xperia M] neildenver:
Hi

Unable to watch the video even after siging in and says private video.

Please help...
[Sony Xperia M] zeyad xu:
I'm really sorry guys

It is public again

:)
[Sony Xperia M] jarvis 2.0:
Will it work on cm12.1 please help!!!!!!

if yes then how

thanks in advance
[Sony Xperia M] kjiratssiekoedel:
The video doesn't work here either. And is it indeed possible to swap om 12.1?
[Sony Xperia M] babyyeobo14:
it works. but now 2GB internal is now gone right? where is that now? or it will merge to external card ?
[Sony Xperia M] StraightEdgeKid:
Nope, Does not work on CM12.1
[Sony Xperia M] mt12345:
Activate, Verify:

'Possibly you dont have init.d support... did you try Activate button?'

Phone is rooted.
[Sony Xperia M] nandhagr8:
Can you add the undo procedure to the thread please...???
[Sony Xperia M] Bonoboo:
Just delete file /system/etc/init.d/11extsd2internalsd

Then reboot and move back data from "0" folder on sdcard into internal memory.
[Sony Xperia M] rovaguy:
hiiiiii

after foloowing everythin on xperia m 4.3 just keep getting bootloops
[Sony Xperia M] ijsa:
Thank you guys for the great tutorial....

I did it on stock 4.3 with locked bootloader XMD and it worked....

This is my wife's phone.... it was working fine till last week.... now there are lot of problems.....

On checking I found that the BusyBox app was not there.... which I reinstalled again and infact followed the complete procedure again... But despite that... following problems are there.....

1. Power button can not be used when the phone is switched on mode (to switch display on/ off from sleep and to power off the device).... although it switches on the phone from off state...

2. When the phone is in switched on mode....... it does not charge or gets connected to PC(neither mass storage nor MTP)...... although after switching off the device it charges....

Due to this the device is almost rendered useless..... I have installed an app to Power Off device..... and Shake On/ Off app for restoring from sleep... but still it becomes very difficult to get it off from sleep...... seems like phone is in a deep sleep mode and takes a lot of time to recover.... some times calling from another phone to get it back from sleep....

Can someone shed light on what has gone wrong...... as of now... I am not able to do anything as it does not get connected to PC...

Any solution/ advice to resolve this issue.....

Thanks

Inderjit
[Sony Xperia M] Bonoboo:
Umm, strange.

Memory swap 99% not related to problem with power button.

Why not to try flash stock ROM? (with lost of all data, of course)

Here files and tutorial.

It must connect to PC in flashmode, try.
[Sony Xperia M] ijsa:
Thanks for the reply friend....

This is what I intend to do........ but as I mentioned earlier.... while the phone is in switched on mode..... neither does it charge/ or connects to PC (neither mass storage nor MTP).......... but able to charge phone when the device is switched off.....

I will try tomorrow if the flash tool works in switched off mode.....

any other suggestion/ advice...
[Sony Xperia M] Bonoboo:
Again: flashing performs from "off" mode and it will 99% work. Try
[Sony Xperia M] ijsa:
Flashed twice with FlashTool and twice with Sony Companion....... but still the problem persists...

I suspect either the phone is hacked or a hardware failure.......

Hacked because.... Power button functions at startup but does not work when the phone is in switched on mode........................................... And USB will also not work if the cable is connected in switched on mode, it works only when connected just after switching on( with in a second or two as Sony logo appears) and not after that.....

My second guess that it could be hardware failure though not sure..... will try to switch power button with camera button.....

Any clue what could be wrong....
[Sony Xperia M] shahid.ahmed:
Locked bootloader, full root access, universal init.d support.

copied all contents to a folder 0 in sd card.

copied main script file to system/etc/init.d/ and set permissions

reboot and now I am stuck in bootloop.

Any help would be appreciated
[Sony Xperia M] op3n:
would be apreciated? man, c'mon....must be apreciated any help. you must pray for it if you really want it!!!!!! :))
[Sony Xperia M] shahid.ahmed:
Locked bootloader, full root access, universal init.d support.

copied all contents to a folder 0 in sd card.

copied main script file to system/etc/init.d/ and set permissions

reboot and now I am stuck in bootloop.

Any help WILL be appreciated:p

---------- Post added at 06:56 AM ---------- Previous post was at 06:50 AM ----------

same here. How did you reset it?
[Sony Xperia M] shahid.ahmed:
troll alert%%%%%%%%%
[Sony Xperia M] op3n:
goodnight golum :))
[Sony Xperia M] Xperiac2004:
Hello guys ,

I am in difficult situation right now. I have used 4.3 stock locked bootloader method to swap my internal <--> External sd card.

Now my xperia m dual c2004 just continuously restarts. There is nothing I can do.

Please help me to recover from this condition.
[Sony Xperia M] BohArie:
has anyone figure it out how to swap storage in cm12.1??
[Sony Xperia M] kentpachi:
Create on external sdcard folder 0 and move there all data from internal storage

what you mean by move? cut or copy?

you mean all the files inside the internal? or the DATA folder in internal only?

or you mean all the files in SDcard i should moved it in 0 folder that i made?

please be specific, i dont want any risky moves
[Sony Xperia M] SoNick_RND:
Skipped "copy all to SD" part, stuck in bootloop

Can anyone send me files which should be on SD to flawless boot? I'll copy it from PC and try again.... I think.
[Sony Xperia M] BohArie:
can this be use on lollipop?? i already try but no luck.. gallery wont show any thumbnail.. camera said cant be use.. need to insert sd card to use camera..
[Sony Xperia M] t-driver:
I have found that a newer superSU version makes this mod impossible to work. (v 1.94 is ok)

tried ....everything. ones supersu is updated it wont swap at next boot.

any thoughts??

.
[Sony Xperia M] Diablo100:
Big Thanks Man !!!

It's fully working :D

all i did was installing init.d support and module and reboot... no formating SD card :D

U rock man :)

I'm using FXP314 by the way so it's working on CM11 too :)
[Sony Xperia M] trkostas:
what app did you use for init.d?

can u see in setting full sd memory as internal?
[Sony Xperia M] ansebovi:
u didnt create "0" folder in sdcard?
[Sony Xperia M] Diablo100:
I used uniwersal init.d support like in video...

In settings it shows total internal memory 2 GB and sdcard 16 GB as always but everything is saved on sdcard (folder "0" on sdcard is now internal) :D

For me nothing more we dont need coz i'm downloading now Gangstar Vegas from play store :D

Folder "0" created automatically :)
[Sony Xperia M] Diablo100:
But I forgot to say that u need to back up your internal storage coz u will lose it...

Sorry that I told it so late :/
[Sony Xperia M] zeyad xu:
guys how did you get it to work on LB?

i get into bootloop when i try
[Sony Xperia M] Diablo100:
Did u remove ".bin" from init.d module?? Maybe this is the reason...
[Sony Xperia M] mDwiktor:
Can someone PLEASE finally say if:

I the 0 folder was supposed to be filled with INTERNAL SDCARD files OR EXTERNAL ????

Cuz guy in 1st post says to copy EXTERNAL SDCARD files to 0 folder and the other guy says to copy INTERNAL SDCARD files to 0 folder ...

So what am i supposed to do ?

btw i used that zip to make it work and all it had done was making 0 folder and copying script to etc/init.d ... still my PC sees them normally .
[Sony Xperia M] Diablo100:
Folder 0 on external sdcard is now your new internal storage so old will disappear (u don't have access to it)...

If you dont copy your internal memory you will lose it...

About zip file check permission of script (rwxrwxrwx should be) ...

If I'm wrong please correct me :)
[Sony Xperia M] mDwiktor:
I am so ashamed :(

I was flashing a lot ROM's today and after all that i forgot to install BusyBox or rather I was sure that it's installed...

Then init.d trigger popped out notification that scripts may not work cuz BusyBox isn't installed and I just skipped it forward ...

Sooo yeah - after I installed BusyBox everything works fine - thank's for awesome script :) :good:
[Sony Xperia M] ansebovi:
sry guys i used busybox x thats y it didnt work...after installing busybox now working
[Sony Xperia M] Bonoboo:
Updated text tutorial.

Now it's parted for different cases: locked BL, unlocked BL, CyanogenMod.

Maybe this can be added into first post?
[Sony Xperia M] zeyad xu:
alright i will add it

and credit you
[Sony Xperia M] ansebovi:
i didnt create 0 folder in sd..

after pushing script and reboot i seen 0 folder in sdcard0[swapped external][note:automatically created]

but actually the 0 folder is gone after i connected with pc..i just put files in internal storage

now i m just pasting directly to sd
[Sony Xperia M] zeyad xu:
this info is in the OP as you requested

you can now remove it ^-^
[Sony Xperia M] Bonoboo:
Great, thanks!

Now procedure more clearly for new users.

I deleted content of my post.

BTW, please, can you rename theme with adding word "memory"?

Because someone can misunderstand that it all about RAM swap on sdcard.
[Sony Xperia M] StraightEdgeKid:
Damn awesome man... Thank you very much...
[Sony Xperia M] zeyad xu:
locked bootloader ?

unlocked bootloader?

cm11?
[Sony Xperia M] StraightEdgeKid:
I'm on unlocked bootloader, with stock 4.3

I think im in trouble, not sure what happened but I'll let you know what's the result.
[Sony Xperia M] mohitraj.raj:
Bro please elaborate what u did exactly. I rooted my Xperia M dual on c2004 firmware on 4.3 (locked bootloader) and then tried enabling init.d support and pushed.the file. after reboot, nothing happened. then again, installed busybody by Stephen and did the same, this time stuck in a. bootloop
[Sony Xperia M] StraightEdgeKid:
Oh my god, this thing works like a charm... Thanks...

---------- Post added at 02:22 AM ---------- Previous post was at 02:16 AM ----------

Rooted right.

Now do this.

1. Download busybox, open it and install it.

2. Download the app to enable init.d suport, link is in op thread, open app and enable init.d suport.

3. Download ES file explorer, grant SuperSU permission, go to sdcard1 section, create new folder and name it as "0".

4. Download the script from the link provided by op, and move to the folder as he asked.

You're done!

Say thanks, it took alot to write this whole ****!!! :P
[Sony Xperia M] Diablo100:
U forgot to write 1 thing :P

5. just reboot your phone :P
[Sony Xperia M] ansebovi:
reflash 4.3...flash cwm kernel,flash supersu.zip from cwm

then install root explorer

install busybox[dont use busybox X]

now use universal init.d app to enable init.d and verify it...

copy the script to internal sd..[extract the file from zip]

now make backup of ur external sdcard and format ur ext sd using phone[settings/storage/erase sd] [no need of mini partition]

now copy the script file to system/etc/init.d and give tick all boxes in permission...

now reboot

after reboot see ur sdcard0 using rootexplorer[hopefully it should be ur external card]

now connect phone to pc...copy ur backed up sd data to ur internal[that is ur sd]

this is what i did,,,,

oops sry just now seen u have locked bootloader...

then skip my first step...do the rooting procedure then follow other steps
[Sony Xperia M] mohitraj.raj:
I am on locked bootloader Bro. which busybox is exactly to be used? last time I normally installed v1.22.1 and followed the procedure. resulted in a bootloop. and before that, when I used universal init.d, that time I lost my su binary files.
[Sony Xperia M] ansebovi:
normal only bro...it works...try again from start..
[Sony Xperia M] mohitraj.raj:
BOOTLOOP

c2004 brazil firmware 4.3, locked bootloader, rooted. installed same busybox given in op. same init.d enabler too. but after placing script in init.d folder and rebooting, phone goes in bootloop. the original busybox 1.21.1 which is preinstalled after rooting didn't cause reboot but twice i installed this busybox 1.22.1 and both times bootloop. but with the preinstalled busybox, the swap don't happen. what to do now????? m tired of flashing 4.2.2 and rooting it and again flashing 4.3 . did all that about 5 times, but everytime failed.
[Sony Xperia M] Bonoboo:
Important information

On other forum users noticed that if in names files / folders used non-latin characters they going to question marks ("??????????")

So this can cause lost of data on internal storage.

Well that was fixed by diksun and korn3r just by adding "utf8" into mounting command.

[MENTION=5514845]zeyad xu[/MENTION]

Please replace archive in first post on attached below and also update script on Dev-Host (link in tutorial for Locked bootloader).
[Sony Xperia M] zeyad xu:
done
[Sony Xperia M] mohitraj.raj:
I am too getting a bootloop in locked bootloader. is there any fix??
[Sony Xperia M] sam4android:
I have c2004, 4.2.2, LB but full rooted, link2sd is working fine. So this swap method would work on my device ?
[Sony Xperia M] trkostas:
i also ended with bootloop when i used Init.d Toggler but when i used Unversal init.d support which i found on forum (NOT FROM MARKET) it worked just fine
[Sony Xperia M] mohitraj.raj:
what about busybox?????? which version??
[Sony Xperia M] zeyad xu:
this one is different

it is for games data not apps
[Sony Xperia M] trkostas:
i install last vesrion from market 1.22.1
[Sony Xperia M] zeyad xu:
did it work on lb?!:confused:
[Sony Xperia M] trkostas:
yes i have lb

but i am not sure that this method is 100% working

i see in my pc and in root explorer that internal and sd seems to be swaped but i have noticed that when i am installing new apps swaped internal (new sd) is lowering...... ? and swaped sd (new internal) remains the same...

maybe someone has to comment about that
[Sony Xperia M] zeyad xu:
this method is for games data like mc4 gangstar vegas gta san andreas....etc which are higher than 1.6gb that came free not for apps
[Sony Xperia M] mohitraj.raj:
I enabled init.d support using the universal app from the forum. so after the reboot, no swap happened, but now my supersu is not detecting the su binary files anymore.now what???
[Sony Xperia M] raffie_archildz:
this is my work on facebook page n you dont tell me about this?
[Sony Xperia M] mohitraj.raj:
another bug is that I can't install any more apks. can't even sideload saved apks. the install button is just not clicking
[Sony Xperia M] zeyad xu:
I am sorry

I didn't know that it was yours i found it on Xperia m group on Facebook

And i wanted to share it

Everyone knows that this isn't my work

I hope that you accept my apologies.
[Sony Xperia M] Bonoboo:
Thanks, but you forget to update single script file on Dev-Host.

Link for this under first "Hide" for locked BL (Download script) and on YouTube.

That error with messing non-latin symbols very serious.
[Sony Xperia M] zeyad xu:
i can't get it to work on lb guys it bootloops

but when i unlock my bl it works like a charm :eek: :silly:
[Sony Xperia M] mohitraj.raj:
Bro I just don't want to unlock my bootloader coz Sony will/may log my imei and I may lose my warranty. forever. how come the other guy is getting it to work?? I will try updating su binary today after rooting. then also if it bootloops, then I'll have no other option left
[Sony Xperia M] trkostas:
is it possible to modify the script so to mount also data/app directory ??
[Sony Xperia M] paper13579:
Wait, then why is there a tutorial in the main thread for locked bootloaders
[Sony Xperia M] zeyad xu:
Because someone has reported that it worked for him

But not for me :(
[Sony Xperia M] Gyrxiur:
Be warned, that init.d toggler causes bootloop on xperia M dual C2005, that universal init.d enabler from link in video works, but I can't write to internal memory (now marked as sdcard), how to fix that?
[Sony Xperia M] Pkb2003:
Not working in xmd

Just tested
[Sony Xperia M] zeyad xu:
what did you do
[Sony Xperia M] paper13579:
Man, u have to change the title, stop deceiving people, it doesn't work on the xperia m dual
[Sony Xperia M] haresh311999:
It works on the Xperia M Dual.
[Sony Xperia M] paper13579:
WHAT, how did u get it to work on xmd, most people say they are getting bootloops
[Sony Xperia M] haresh311999:
1.unlocked my bootloader.

2.rooted my phone.

3.installed busybox pro.

4.Installed init.d.

5.Formatted the external sd card.

5.created a folder 0 on the external sd card.

6.moved all data from the internal storage to the 0 folder.

7.Flashed the Zip provided by the Op.

And voila got sd card swapped.
[Sony Xperia M] zeyad xu:
No no no no no no

The bootloop is related to lb

But some said that it works on lb

And if you watch my video you will notice that i have an M Dual :mad:

You should have watched the video first instead of spamming the thread
[Sony Xperia M] paper13579:
Hey hey, mistakes happen, dont get your balls in a twist
[Sony Xperia M] bhavei:
It worked for me MS
[Sony Xperia M] raffie_archildz:
yes,sure

im understand ;)
[Sony Xperia M] nurulmac11:
thanks guys;

xperia m single ulb..
[Sony Xperia M] zeyad xu:
great news for me and lb guys

i found a way to make this work [MENTION=5685093]sunny54_8[/MENTION] you may find this good for you

1)flash 4.2.2 and use the guide that is made to root on lb

2)after flashing modified system of 4.3 and flashing the ftf excluding the system you will have to install busybox again and rootfix

3)install the app from the video and enable init.d support then reboot and paste the script then reboot

4)hit the thanks button because it won't cost you a cent
[Sony Xperia M] paper13579:
Two problems, there is no need for step two as the rooting method for 4.3 on lb comes with busybox and full root.. Secondly, can you explain step 3 in more detail plz
[Sony Xperia M] zeyad xu:
it is needed

when i ignored doing it on lb i had a bootloop but when i full rooted again w/o superuser (installing busybox and rebootfix)

watch the video if you want the #3) step to get explained :highfive:
[Sony Xperia M] Bonoboo:
Here's guide, BTW.
[Sony Xperia M] Lordificated:
works fine on my 4.4.2 LS ROM... so far so good...

but one question, what if we format SDCARD to EXT2 ???
[Sony Xperia M] Anmol0022:
Well i tried on locked bootloader it doesnt work goes in bootloop

but if bootloader is unlocked its working perfectly

its Working on locked bootloader just tried with this APP ie the one on Youtube link
[Sony Xperia M] Bonoboo:
[MENTION=5514845]zeyad xu[/MENTION]

Many users got bootloop if they have locked bootloader.

Here said that with your "Universal Init.d support" all ok.

Please replace link to app in LB section in first post: http://d-h.st/Eh5

And replace "press there Enable init.d" to "press there Activate"
[Sony Xperia M] saigetshu:
Can I swap without formating my external sdcard to others file system? My device XM single C1905 running CM11 FXP315.
[Sony Xperia M] zeyad xu:
it doesn't work perfectly on cm

i am using cm atm and the internal and external are 16gb

but it still does the job

it is not necessary to erase everything but it is necessary to format it as fat32 or whatever it is if you have it formatted like that there is no need of erasing everything

i recommend you to get back to 4.3 to get the ultimate swap experience
[Sony Xperia M] saigetshu:
Okay, thank for your help
[Sony Xperia M] syedafzal.shah:
Friends I have Xperia M single Sim running cm 11 Beta 5... IS IT running fine? Didy any one test this? Should I move only "0" folder files from internal memory to "0" folder in SD card, or should I move device files also.. And should I MOVE OR COPY??
[Sony Xperia M] Bonoboo:
Tested, all ok.

Move only whole "0" folder directly to sdcard.
[Sony Xperia M] syedafzal.shah:
And after I swap the Memory, what should I do to undo the process? If I remove the memory card and install any file will its install in internal memory? Or if memory card stops working or gets formatted, or I insert any new memory card does the filesinstall on SD card or internal memory?
[Sony Xperia M] Bonoboo:
Delete file in /system/etc/init.d folder. You easy find it by name, I don't remember.

Then phone will use real 2 GB memory which almost free because you moved all on sdcard.

So you need back files from 0 folder.

Script mounts internal memory on sdcard in folder 0.

Without card you lost all access to both type storage.

If you change card make sure it contains needed internal files in 0.
[Sony Xperia M] syedafzal.shah:
So if something happens to my SD card and gets formatted.. Without that "0" folder and system files what will happen to my mobile?? Will it get bricked?
[Sony Xperia M] Bonoboo:
There no system files.

Just most of apps will can't start.
[Sony Xperia M] syedafzal.shah:
Oh OK.. And can I remove my MC (for any reason) and insert it back? Will the swap memory feature will work fine after I insert the MC back??
[Sony Xperia M] Bonoboo:
Didn't tested, most probably will no internal storage.
[Sony Xperia M] syedafzal.shah:
Means?? No internal storage means?
[Sony Xperia M] Bonoboo:
Probably phone will can't mount moved "storage" again because this doing only at boot.
[Sony Xperia M] syedafzal.shah:
Still didn't understand what you are trying to say... Can't I use my internal memory? Or what
[Sony Xperia M] Bonoboo:
Seems yes.
[Sony Xperia M] syedafzal.shah:
Seems risky... If I can't be able to use my internal memory then I can't install any app at all in future...

---------- Post added at 05:04 PM ---------- Previous post was at 05:02 PM ----------

Can I flash another Rom or another Beta version of cm 11 after swapping my memory?? And if flash another rom on build of cm, where will it be installed then?
[Sony Xperia M] zeyad xu:
you misunderstood

you can install apps but the internal storage will be 0 the sd will stay as the 2 gigs

no risking
[Sony Xperia M] syedafzal.shah:
I have 16 gb of sd card, what will happen if something goes wrong? Will I get my 16 gb sd card back? and also the internal memory? Or will I loose any one?
[Sony Xperia M] zeyad xu:
if you remove your 16gigs card sd0 will be 0 gigs and sd1 will be 2

if you insert it again sd0 will be 16 and sd1 will stay as 2 gigs

no risking

i am using it

i have been using it for 15 days
[Sony Xperia M] syedafzal.shah:
Thanks yaar and [MENTION=5037002]Bonoboo[/MENTION] Thanks man.. You guys are very helpful..

---------- Post added at 07:21 AM ---------- Previous post was at 07:16 AM ----------

One last doubt... Does the games and apps run fluently? Or then will run slow and freeze? Games like NFSMW, MODER COMBAT 3,4, ASPHALT 7 ETC freeze as they are running in sd?
[Sony Xperia M] zeyad xu:
No they run perfectly fine

Tested
[Sony Xperia M] saigetshu:
Can I use without formating my extsdcard/keep on current fs? And how to check the script running well?
[Sony Xperia M] zeyad xu:
You can try it and tell me

You have to format it as a fat32 only

No need for formatting the whole SD card

Please hurry up and tell me
[Sony Xperia M] 8hodgsonkh:
works perfectly without formating, just move all the files on /sdcard1 to /sdcard1/0
[Sony Xperia M] Alx31:
[MENTION=5514845]zeyad xu[/MENTION]

hi mate

one of my users wants to use ur swap trick and i don't have this device with me so i cannot test.

He's on locked BL. Im trying to read here and there but what is that zip file? there's system and meta inf in it, it's a flashable zip?

set permissions to wich file ??? and has to be pushed where? just have to extract the whole unzipped folder to sd in "0" or init.d and give chmod777 ?

accordingly to files in zip i guess it goes in etc/init.d but still its not clear at all.

Thanks a lot by advance.
[Sony Xperia M] itsnie:
I swap my memory and if you are know, my xperia m is very smooth. . :D
[Sony Xperia M] Bonoboo:
Yes, copy that file into corresponding path as in ZIP (/system/etc/init.d) on phone using good root-filemanager.

Guess this must be added into first post.
[Sony Xperia M] zeyad xu:
it is very clear and working 100% on xperia m/dual

download the zip

extract the file and push it to system/etc/init.d with the permissions of tick all except special