4.4.2 fix internal sd help - Sony Xperia L

i use phantom kernel and AOSPA 4.0 Beta-6 DB-1 i dont fix internal sd pls help me
now internal sd 2gb

taylan08 said:
i use phantom kernel and AOSPA 4.0 Beta-6 DB-1 i dont fix internal sd pls help me
now internal sd 2gb
Click to expand...
Click to collapse
http://forum.xda-developers.com/xperia-l/development/kernel-kitkat-t269004
NEXT TIME, SEARCH OVER THE FORUM, BUT READ THIS THREAD, PLEASE!

I saw it., but I do not understand. trial but did not try to

taylan08 said:
I saw it., but I do not understand. trial but did not try to
Click to expand...
Click to collapse
Have you reboot?
After flashing must reboot once then you have 4gb..follow guide to access internal storage..

I use this method. bit more can you explain (google translate )
1. flash phantom kernel 7
2. system.img
3.userdata.img
4.gapps
5.reboot
6.start up
7.reboot and flash.zip phantom kernel 7 and start up phone but internal sd 2 gb
and
i dont understant this method
Instructions to fix your SD files locationto see them in /sdcard and /storage/sdcard0) (you need to have root)
First way is with root explorer:
1.Go to /data/media and move all the files and folders without "legacy,obb,0" to /data/media/0
Second way is with terminal:
1.Just tipe:
Code:
su
cd /data/media
mv !(0|legacy|obb) 0
You need to do this once.

taylan08 said:
I use this method. bit more can you explain (google translate )
1. flash phantom kernel 7
2. system.img
3.userdata.img
4.gapps
5.reboot
6.start up
7.reboot and flash.zip phantom kernel 7 and start up phone but internal sd 2 gb
and
i dont understant this method
Instructions to fix your SD files locationto see them in /sdcard and /storage/sdcard0) (you need to have root)
First way is with root explorer:
1.Go to /data/media and move all the files and folders without "legacy,obb,0" to /data/media/0
Second way is with terminal:
1.Just tipe:
Code:
su
cd /data/media
mv !(0|legacy|obb) 0
You need to do this once.
Click to expand...
Click to collapse
All that process are in mnt folder...root your phone than you can checked
Mnt folder there are sdcard and 0 folder..op mention to move from sdcard to 0 folder...In 0 folder you'll have another sdcard that you'll paste all file...
Using terminal command is more easier.

So,, the only Bug in KK is Bluetooth?
Sent from my C2105 using XDA Premium 4 mobile app

I tried it a lot times aswell and it do not work....
Edit: I use Paranoid Android AOSPA

passie99 said:
I tried it a lot times aswell and it do not work....
Edit: I use Paranoid Android AOSPA
Click to expand...
Click to collapse
I'm using paranoid aospa beta6[rooted], with thunderzap4.1 storage fixed kernel... nd all is working well...storage 4gb.

taylan08 said:
I use this method. bit more can you explain (google translate )
1. flash phantom kernel 7
2. system.img
3.userdata.img
4.gapps
5.reboot
6.start up
7.reboot and flash.zip phantom kernel 7 and start up phone but internal sd 2 gb
and
i dont understant this method
Instructions to fix your SD files locationto see them in /sdcard and /storage/sdcard0) (you need to have root)
First way is with root explorer:
1.Go to /data/media and move all the files and folders without "legacy,obb,0" to /data/media/0
Second way is with terminal:
1.Just tipe:
Code:
su
cd /data/media
mv !(0|legacy|obb) 0
You need to do this once.
Click to expand...
Click to collapse
My fix is not using /data/media folder to mount SD anymore.
Here you can read what you need to do:
http://forum.xda-developers.com/showpost.php?p=51293864&postcount=720
Also in Phantom kernel thread: (Q: What do I need to do for proper functioning of storage in KitKat kernel?)
http://forum.xda-developers.com/showpost.php?p=46822872&postcount=3
Civic kernel too: (HOW TO DEAL WITH KITKAT STORAGE?)
http://forum.xda-developers.com/xperia-l/development/kernel-civic-1-0-t2557602
:cyclops:

siankatabg said:
My fix is not using /data/media folder to mount SD anymore.
Here you can read what you need to do:
http://forum.xda-developers.com/showpost.php?p=51293864&postcount=720
Also in Phantom kernel thread: (Q: What do I need to do for proper functioning of storage in KitKat kernel?)
http://forum.xda-developers.com/showpost.php?p=46822872&postcount=3
Civic kernel too: (HOW TO DEAL WITH KITKAT STORAGE?)
http://forum.xda-developers.com/xperia-l/development/kernel-civic-1-0-t2557602
:cyclops:
Click to expand...
Click to collapse
I tried every single one but it do not work... when I try it with adb shell, there comes "failed on Android - directory not empty"
what am I doing wrong?

Empty the folder that it claims to be not empty or try to move files using explorer. Not terminal.
Sent from my C2105 using xda app-developers app

[quote name="siankatabg" post=51564843]My fix is not using /data/media folder to mount SD anymore.
Here you can read what you need to do:
http://forum.xda-developers.com/showpost.php?p=51293864&postcount=720
Also in Phantom kernel thread: (Q: What do I need to do for proper functioning of storage in KitKat kernel?)
http://forum.xda-developers.com/showpost.php?p=46822872&postcount=3
Civic kernel too: (HOW TO DEAL WITH KITKAT STORAGE?)
http://forum.xda-developers.com/xperia-l/development/kernel-civic-1-0-t2557602
:cyclops:
Click to expand...
Click to collapse
I tried every single one but it do not work... when I try it with adb shell, there comes "failed on Android - directory not empty"
what am I doing wrong?[/QUOTE]
Let me guess, TWRP folder? Just delete it and try again.
Or just move them manually.
Sent from my C2105

siankatabg said:
I tried every single one but it do not work... when I try it with adb shell, there comes "failed on Android - directory not empty"
what am I doing wrong?
Click to expand...
Click to collapse
Let me guess, TWRP folder? Just delete it and try again.
Or just move them manually.
Sent from my C2105[/QUOTE]
I also did it manually... But it does not work... I moved all files and folders to 0, when I reboot then, nothing had changed. By the way I use newest Thunderzap kernel with internal storage fix

You sure about this?
Try checking by connecting your phone to the laptop. Do you still see only 2 GB?

No. My computer shows 4gb, I don't know whats wrong
Edit:
but in settings of my phone it just show 2gb..
but when I have a look on root explorer, it shows me the internal 4gb storage. but I can´t move apps to it. And file commander shows the 4gb storage as internal storage aswell, and file comander works without root... I am so confused..
and I have to add that the 4gb internal storage is shown as "sdcard" in root explorer. The microsd card is shown there as "sdcard1"..

it shows that way only. As sd card for the internal storage. That is normal. You have access to the 4gb storage now. You can wait till someone gets that up so perfectly for the setting screen.
Sent from my C2105 using xda app-developers app

Okay thanks but I can't move apps to the storage
Sent from my C2105 using xda app-developers app

Welcome!
passie99 said:
Okay thanks but I can't move apps to the storage
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
Use folder mount app from the market and see if that helps!
You can hit that thanks button over there to add up to that thanks you know

Thats a good idea haha, it could have been my own idea I thank you so much !!
Sent from my C2105 using xda app-developers app

Related

[APP]FOLDER MOUNT Play games data from ext_card

Thanks for @madmack because to make this app
Requirement
*Please root your devices
*Works on JB .31/.36
Instruction
1.Make sure your sdcard have data games (Android/obb)@(Android/data)
2.Open FolderMount and create new pair
3.Make sure Source must be in sdcard, select folder data what you want.
4.Click yes, to create the destination folder.
5.Tick pin you have mount it
Optional(Easy step)
1.Open Folder Mount and click icon then select Apps analyzer
2.Choose Games/app what you want to mount it to ext_card
3.Create pair (data or obb)
4.Finish
Credit madmack
Source: http://forum.xda-developers.com/showthread.php?t=2192122
levered said:
I have edit vold.fstab
Requirement
Need Root
Instruction
Extract it to computer
Copy to sdcard
Copt vold.fstab to system and write permission rw-- r- r-
Move vold.fstab to etc
BUGS
SDCARD GET DAMAGE...need help
I HAVE NOT RESPONSIBLE FOR BRICK YOUR PHONE
Click to expand...
Click to collapse
You just changed sdcard0 and sdcard 1 right..??
im tried before.. but isn't worked..
and after i changed vold.fstab , not say sdcard damage
just cant mounted internal sd card ... and external sd card still 32 GB..
ducksweet said:
You just changed sdcard0 and sdcard 1 right..??
im tried before.. but isn't worked..
and after i changed vold.fstab , not say sdcard damage
just cant mounted internal sd card ... and external sd card still 32 GB..
Click to expand...
Click to collapse
not only
levered said:
not only
Click to expand...
Click to collapse
so, are you success, to swap memory..??
im tried your vold.fstab. but not work..
whats wrong..??
please help..
ducksweet said:
so, are you success, to swap memory..??
im tried your vold.fstab. but not work..
whats wrong..??
please help..
Click to expand...
Click to collapse
really?.. it work for me...now i have not devices because it at my sister..
levered said:
really?.. it work for me...now i have not devices because it at my sister..
Click to expand...
Click to collapse
yeah bro... is not work for me..
okey thanks a lot bro..
maybe just waiting to other ways..
ducksweet said:
yeah bro... is not work for me..
okey thanks a lot bro..
maybe just waiting to other ways..
Click to expand...
Click to collapse
1GB of ram isn't enough for you?
Need to unlock bootloaders ??
levered said:
Thanks for @madmack because to make this app
Requirement
*Please root your devices
*Works on JB .31/.36
Instruction
1.Make sure your sdcard have data games (Android/obb)@(Android/data)
2.Open FolderMount and create new pair
3.Make sure Source must be in sdcard, select folder data what you want.
4.Click yes, to create the destination folder.
5.Tick pin you have mount it
Optional(Easy step)
1.Open Folder Mount and click icon then select Apps analyzer
2.Choose Games/app what you want to mount it to ext_card
3.Create pair (data or obb)
4.Finish
Credit madmack
Source: http://forum.xda-developers.com/showthread.php?t=2192122
Click to expand...
Click to collapse
Need to unlock bootloader ?? / Need Full root/partial root access
Navneet Suresh said:
Need to unlock bootloader ?? / Need Full root/partial root access
Click to expand...
Click to collapse
only root..
okay
levered said:
only root..
Click to expand...
Click to collapse
ok....
how about GL to sd app ??
Tried, but didn't work..!
Thanks man. It´s great
Street Fighter iv. NFS Most wanted and Mini Motor racing. Work on app.
How any one tested with GTA VC ? Cause if it's working I have to clean internal storage and downloaded
Where i can get the gta vc??thanks
Sent from my ME172V using xda app-developers app
Hipom said:
Where i can get the gta vc??thanks
Sent from my ME172V using xda app-developers app
Click to expand...
Click to collapse
By buying it in google play store
damian01211 said:
By buying it in google play store
Click to expand...
Click to collapse
No offense,but you can get gta vc from google for free.warez,warez everywhere :cyclops:
Anyway,the game doesn't work on our device,it's not optimized.Play gta 3 if you want a gta.For best quality set the image quality to medium(you can even try higher),screen resolution at max,and distance view somewhere around 80.Also disable shadows/subtitle/vibration.
problem
Hi I do all de process... but the program copy the folder ( I have all the program in the internal sd... and in the external sd...)
why? my internal sd is not empty...? or just a small file that does link to the sd ...
I have xperia z1 but i think.. its de same.
Try android tuner guys
follow the steps
1. install Xposed framework
2. install android tuner
3. under miscevilous setting select SD
4. create new link
source: /SDcard/android
destin: /SDcard1/android
note: for source open android folder and select ok
for destin dont open android folder simply navigate to /SDcard1 and select ok
5. copy game file in /SDcard1/android
6.reboot
done:good:
Dude I am using JB Stock with root. Tried installing FIFA 14 to sd card didnt work(OBB)
But it is running fine when moved to internal storage. by this method is it possible to keep the OBB date in SD card and still make the Game work
i have xperia m (rooted and swapped mem)which has same hardware with xperia L.
i have bought nfs mw from gplay., but gplay says nfs mw imcompatible with your phone(xperia m)
I m thinking change device id so
is nfs mw compatible with xperia L or not in gplay.
Note:nfs mw work perfect my phone(downloading diffrent source).
Sent from my C1905 using XDA Premium 4 mobile app

[MOD] Swap External to Internal

Requires:
ROOT
Important:
Copy Android folder from internal to external first. Because its contain your game data.
Step by step:
1. Download Script Manager from Play Store
2. Download the script at attachment and put to /data using filemanager(root explorer) then change permission to 644(rw-r--r--)
3. Open script manager then choose the script
4. Select SU(bones) and save then RUN then immediately open notif bar to open Setting, check Storage.
5. If it is successfully swapping, back to script manager then select script to run at boot(gear symbol)
6. And save it then reboot your phone
7. Wait at least 30seconds till the script finished running. Then check your storage again at Setting > Storage.
8. Voila, it is done.
See the result in post #3
Nice trick
karkand said:
Requires:
ROOT
Important:
Copy Android folder from internal to external first. Because its contain your game data.
.....
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
Have you tested it... and can u make an Init.d script for this ??
Navneet Suresh said:
Have you tested it... and can u make an Init.d script for this ??
Click to expand...
Click to collapse
Yes, everything I wrote have been tested three times.
Init.d? Okey I will work on it
Sent from my C2105 using xda app-developers app
karkand said:
Yes, everything I wrote have been tested three times.
Init.d? Okey I will work on it
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
Thank you for screens
@karkand so it's just backup "Android" directory from Internal Memory to External??
---------- Post added at 06:09 AM ---------- Previous post was at 06:02 AM ----------
One more question sir.
putting System All in One to SDCard is amazing, but isn't that SDCard will worn out soon?
I mean SD's burden so high for putting System and Data in one Place.
thanks
zaltran said:
@karkand so it's just backup "Android" directory from Internal Memory to External??
---------- Post added at 06:09 AM ---------- Previous post was at 06:02 AM ----------
One more question sir.
putting System All in One to SDCard is amazing, but isn't that SDCard will worn out soon?
I mean SD's burden so high for putting System and Data in one Place.
thanks
Click to expand...
Click to collapse
Yes, because game data is located in Android folder like this /sdcard/Android/data and /sdcard/Android/obb ..if you're not copy that, your game will be download game data again..
No sir, it's just swapping internal memory partition, not the /system /cache /data or another partitions..so I think, it is safe..because what? it's just swap the storage, you can read it in the script...just mount like as vold.fstab,..but I'm not playing with that, very risky..so just using script to swap external sdcard partition and internal sdcard storage partition at boot..nor the /system or /data or /cache partition..do you clear it?
karkand said:
Yes, because game data is located in Android folder like this /sdcard/Android/data and /sdcard/Android/obb ..if you're not copy that, your game will be download game data again..
No sir, it's just swapping internal memory partition, not the /system /cache /data or another partitions..so I think, it is safe..because what? it's just swap the storage, you can read it in the script...just mount like as vold.fstab,..but I'm not playing with that, very risky..so just using script to swap external sdcard partition and internal sdcard storage partition at boot..nor the /system or /data or /cache partition..do you clear it?
Click to expand...
Click to collapse
roger that commander. thanks for explanation karkand
Now I know what you mean
Good job man!!:thumbup:
Btw I guess thread name should be "Swap Internal to external" instead of "Swap external to internal"..
No offence though
Sent from my C2104 using xda premium
I installed script but it shows "no such directory found" or "device or source busy" and cant see any diffrence in sizes help
Sent from my Xperial L C2104 using xda premium
Raj joshi said:
I installed script but it shows "no such directory found" or "device or source busy" and cant see any diffrence in sizes help
Sent from my Xperial L C2104 using xda premium
Click to expand...
Click to collapse
Do this :
1. In terminal, type 'su' enter, then type 'cat /proc/partitions > partitions' enter, then 'mount > file' enter.
2. Look to ' /' directory then find files 'partitions' and 'file' then zip and upload here.
Sent from my C2105 using xda app-developers app
how to get back to a previous state ?
krzysiek1984 said:
how to get back to a previous state ?
Click to expand...
Click to collapse
Delete the script and reboot
Sent from my C2105 using xda app-developers app
Not work on C2105. 31 firmware
@krzysiek1984
Do something with terminal, see my post before you..maybe your partition is different..so it can't mounted..
Sent from my C2105 using xda app-developers app
karkand, i find a sulution. first screenshot shows your script. on second screenshot can you see edited by me your script. and now everything works ok.
krzysiek1984 said:
karkand, i find a sulution. first screenshot shows your script. on second screenshot can you see edited by me your script. and now everything works ok.
Click to expand...
Click to collapse
Nice, I see that bro. you change the umask value..
btw, Congrats
sir, what happens if I removing my sd card?
abielzuliom said:
sir, what happens if I removing my sd card?
Click to expand...
Click to collapse
Your internal will be gone. And internal still at external. Because I'm not make a condition like that which is when external is removed.
You must delete that script or not run at boot of that script.
Sent from my C2105 using xda app-developers app
karkand said:
Your internal will be gone. And internal still at external. Because I'm not make a condition like that which is when external is removed.
You must delete that script or not run at boot of that script.
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
it happening too if i connecting my Xperia L to my PC with USB cable?
abielzuliom said:
it happening too if i connecting my Xperia L to my PC with USB cable?
Click to expand...
Click to collapse
Yes, external as internal and internal as external...read the title thread bro...but it will not affect in CWM
Sent from my C2105 using xda app-developers app

[Resolved] (guide xperia m) rooting , reboot fix, and swapping internal memory

first of all all the tools and steps in this post is not mine . i had tried to bring all these things in to one thread
note:first thing first ,follow the steps from A,B,.....D
A-rooting
1-download framroot
2-install framroot
3-open framroot
4-u have to select install supersu
5-then select gandalf exploit wait for few seconds a pop up message comes sucess ..........
6-do nothing the phone will reboot itself when the phone turns on u will see super su is installed and u have ur xperia m rooted
note: some time ur phone will b rooted with the first attempt but i had tried these steps 3 times to get rooted my xperia m for the first time first time . but some time u will get rooted ur phone with single attempt so dont worry
B-busybox
1-download busybox
2-install busybox and open it wait for some time and grand super su request
3-wait for some time busybox loads tweaks after loading completes there is a install button on bottom left corner click install then choose normal
4-busy box installs tweaks after compleation of installation sucess popup message comes
5-installation of busy box is sucessfull
note:some time the phone will reboot in between the busybox installation dont worry follow from the 3rd steps. this is because of the system folder read write error
C-reboot fix (sucessfull system read/write)
1-download reboot fix.rar
2-unrar it on ur pc
3-turn on usb debugging on ur phone and connect to ur pc(sony pc companion should b installed in ur pc)
4-run supersu.bat
5-follow the instructions on the pc screen
note:without sucessful busybox installation the reboot fix will not work try these reboot fix steps several times if u r not sucessful
D-swapping internal memory
1-download extsd2internalsd_xz.txt and scriptmanager
2-install scriptmanager
3-copy the .txt file to /data folder
4-open scriptmanager and select browse as root and grand supersu permissions
5-navigate to /data folder on scriptmanager and long press the extsd2internal_xz.txt and select open As... then select Script/Executable
6-then select su and boot and select save
7-suddenly the .txt file will turn to yellow colour turn off ur phone annd turn on u will see a swapped internal to external sd
note:if the reboot fix is not sucessful ur phone will constantly reboot after the 7th step then u have to uninstall the script manager to solve this
this is how i done all these thanks for all the all orginal developers who found these tweaks
you better post this guide on http://forum.xda-developers.com/forumdisplay.php?f=259 section, mate
nice guide anyway, thanks
This is how a guide should be. Will try out soon enough to report problems, if any.
monster.kancut said:
you better post this guide on http://forum.xda-developers.com/forumdisplay.php?f=259 section, mate
nice guide anyway, thanks
Click to expand...
Click to collapse
Your link is broken
Storage!!!!!!
It show
my internal storage is same as sd card
i.e.Internal 2.05 gb - sd 2.05gb
my sd card is 16gb class 4
look the screenshot!!!!!!
Follow the steps as a,b,c,d
Sent from my C5302 using xda premium
jinishpv said:
Follow the steps as a,b,c,d
Sent from my C5302 using xda premium
Click to expand...
Click to collapse
still not working!!!!!!!!!!!!!!!!!!!!!!
Works Fine!!
Hey,
Thanks a lot. :good::laugh: It works perfectly. Just wanted to know if the apps I installed need to be kept installed (eg. smanager) or can they be uninstalled after it is swapped?
Thanks in advance
Shashank
shshnk said:
Hey,
Thanks a lot. :good::laugh: It works perfectly. Just wanted to know if the apps I installed need to be kept installed (eg. smanager) or can they be uninstalled after it is swapped?
Thanks in advance
Shashank
Click to expand...
Click to collapse
Done rooting n installed busy box in xbin.....instlled pipm my rom n instld init.d support....phone reboots continiously after sony logo plz hlp!!!!
Sent from my Micromax A110 using xda app-developers app
can we have recovery on our devices
master_boy_dn said:
can we have recovery on our devices
Click to expand...
Click to collapse
Yeah . we can ... but its nt easy .. needa compile from source, coz cnt find stock recovery image in here!
Steps 1-3 worker great but can't get step 4 to work whatever I do. Anyone else had this??
Sent from my C1905 using xda app-developers app
7lucky7 said:
Steps 1-3 worker great but can't get step 4 to work whatever I do. Anyone else had this??
Sent from my C1905 using xda app-developers app
Click to expand...
Click to collapse
Ok so it finally worked after a few attempts. Do i need to uninstall all my apps and re-install them to get them on the 'external sd' as my 2gb partition is still full
Can we partition the SD card so that some of it appears as external storage and allows apps such as app2sd to move the data stored on the internal storage to move to external storage and free up space that way instead??
Sent from my C1905 using xda app-developers app
What is bootfix for?
help! xperia c1905 swap sdcard error
7lucky7 said:
Can we partition the SD card so that some of it appears as external storage and allows apps such as app2sd to move the data stored on the internal storage to move to external storage and free up space that way instead??
Sent from my C1905 using xda app-developers app
Click to expand...
Click to collapse
i also follow all steps A-D and attempt many times, at last it should be fully successed.run sciptmanager also work.
i open ES file explorer to check sdcard has been swaped. sdcard0=>external sd 16Gb card and sdcard1=>internal 2Gb.
i use link2sd to move some apps to my sdcard 16Gb, but an Warning occurred: "App2SD is not supported by ur device. becoz ur device has a primary external storage which is emulated form the internal storage. You can link the app in order to move its files to ur SD card."
so i cant move my apps to my sdcard 16Gb. what happen and why?
anybody know whats wrong ???
Plz help me out that problem. thx....
foxy2k said:
i also follow all steps A-D and attempt many times, at last it should be fully successed.run sciptmanager also work.
i open ES file explorer to check sdcard has been swaped. sdcard0=>external sd 16Gb card and sdcard1=>internal 2Gb.
i use link2sd to move some apps to my sdcard 16Gb, but an Warning occurred: "App2SD is not supported by ur device. becoz ur device has a primary external storage which is emulated form the internal storage. You can link the app in order to move its files to ur SD card."
so i cant move my apps to my sdcard 16Gb. what happen and why?
anybody know whats wrong ???
Plz help me out that problem. thx....
Click to expand...
Click to collapse
C25 said:
It show
my internal storage is same as sd card
i.e.Internal 2.05 gb - sd 2.05gb
my sd card is 16gb class 4
look the screenshot!!!!!!
Click to expand...
Click to collapse
just try this one if working for anyone?(reboot many times to see)
my storage changes after every reboot.
Anyone know what new features will be available on the next firmware update?? Will they reconfigure the storage settings to show move apps to SD?? Anything else known??
Sent from my C1905 using xda app-developers app
Sony Xperia M
Hey Guys,
I have bought Sony Xperia M phone yesterday and I found out that we need to root for moving apps to SD card,
Please tell what should be done after rooting in order to the move the apps to SD card.
Please help!!!!!!!!
xperia M c1905 rooted but fail2 move apps2 sd
bought two week. rooted and system r/w fixed. also swap internal sd and external sd.
but not work move apps to sd under android 4.1.2 jelly bean.
is it bugs for ics and jelly bean with this?
i checked xperia system emulated internal sd to "/data/media" not to partition.
any idea create one partition then remount the sd with this partition can solve the problem?
any body help!!!!
do v downgrade to gingerbread? so v can move Apps to SD huh?
Anybody that can confirm I can root the Xperia M C1905 model with the latest .67 firmware wth framaroot 1.6.0?

Temporary fix for Internal SD mount in CM11

Hello
Finally i found a way to mount sd partition used in 4.2.2(after 2 hours ) on 4.4.2(cm11)...
So this is the way i do it:
Be sure that your checked ADB Debugging in Developer menu,your phone is recognized in ADB and you have rooted your rom.
Run ADB and tipe this:
Code:
adb root
adb shell
mount -o rw -t vfat /dev/block/mmcblk0p32 /mnt/shell/emulated/0
Symlinks will do the rest.
Then go with any android explorer to /sdcard or /storage/sdcard0 and see if all is good (ye,it will be used for internal sd) Now you have full access to your old 4gb sdcard used in 4.2. (And finally you can download asphalt 8 or any other big game )
The only bug i found is Settings>Storage dont show 4gb,but its there.
Work when connect with computer too No problems with Gplay,camera too.
This is temporary fix,so use it till @varun.chitre15 release kernel with the real fix
You need to repeat this steps after every restart
Please test and report
P.S.- Im using CM11 alpha 2 with ThunderZap 4.1 kernel
Didn't worked on PA BETA 6.
I discovered this few days ago, but I had used /sdcard2 as the new mount point to avoid conflicts with the default path.
Instead of using init.d script the correct way of doing this is replacing all references of /data/media and emulated sdcard with the new block.
I will post a new kernel tomorrow here which will fix the internal storage completely on any android 4.4 ROM
Sent from my C2105 using Tapatalk
not working
Not working on CM11 either
varun.chitre15 said:
I discovered this few days ago, but I had used /sdcard2 as the new mount point to avoid conflicts with the default path.
Instead of using init.d script the correct way of doing this is replacing all references of /data/media and emulated sdcard with the new block.
I will post a new kernel tomorrow here which will fix the internal storage completely on any android 4.4 ROM
Sent from my C2105 using Tapatalk
Click to expand...
Click to collapse
Ye,I used /data/sdcard2 first,but then i try to mount it directly to sdcard0 and that was the place where it worked correct
Will wait for your kernel Good luck with it.
Navneet Suresh said:
Not working on CM11 either
Click to expand...
Click to collapse
Wait for the new kernel from varun
Shivam Kuchhal said:
Didn't worked on PA BETA 6.
Click to expand...
Click to collapse
Navneet Suresh said:
Not working on CM11 either
Click to expand...
Click to collapse
This should work for anyone
1. Create a folder in root say sdcard2
2. Open terminal or shell with root permissions
Then type
Code:
mount -t vfat /dev/block/mmcblk0p32 /sdcard2
Now you can access your true internal storage but only through terminal emulator Here is how
Code:
su
cd sdcard2
ls
This will give you root level access to your storage.
Sent from my C2105 using Tapatalk
Not working
varun.chitre15 said:
This should work for anyone
1. Create a folder in root say sdcard2
2. Open terminal or shell with root permissions
Then type
Code:
mount -t vfat /dev/block/mmcblk0p32 /sdcard2
Now you can access your true internal storage but only through terminal emulator Here is how
Code:
su
cd sdcard2
ls
This will give you root level access to your storage.
Sent from my C2105 using Tapatalk
Click to expand...
Click to collapse
Not working am unable to create sdcard2 folder with Solid Explorer any other way (not even with terminal explorer)
Navneet Suresh said:
Not working am unable to create sdcard2 folder with Solid Explorer any other way (not even with terminal explorer)
Click to expand...
Click to collapse
I updated OP.Try it and be sure that you phone is recognized in ADB and of course rooted rom
Ok works now
Navneet Suresh said:
Not working am unable to create sdcard2 folder with Solid Explorer any other way (not even with terminal explorer)
Click to expand...
Click to collapse
varun.chitre15 said:
This should work for anyone
1. Create a folder in root say sdcard2
2. Open terminal or shell with root permissions
Then type
Code:
mount -t vfat /dev/block/mmcblk0p32 /sdcard2
Now you can access your true internal storage but only through terminal emulator Here is how
Code:
su
cd sdcard2
ls
This will give you root level access to your storage.
Sent from my C2105 using Tapatalk
Click to expand...
Click to collapse
siankatabg said:
I updated OP.Try it and be sure that you phone is recognized in ADB
Click to expand...
Click to collapse
Ok works now but only shows in terminal I used this config as I wasn't able to use it directly :
Made a folder in emulated sdcard
Changed the mount point to it
Code:
mount -t vfat /dev/block/mmcblk0p32 /storage/emulated/legacy/sdcard2/
Then
Code:
su
cd sdcard2
ls
It shows in Terminal only as stated by Varun
Nice work :good: @varun.chitre15
EDIT : o.f.c am rooted -_- leave it it worked with a small workaround stated above.
Nice
Dont know why my method not work for you... but i can see all the files with explorer(got picture in op) and its used for internal sd (i can use it from computer too)
But lets all wait for the real fix from varun
hmm
siankatabg said:
Nice
Dont know why my method not work for you... but i can see all the files with explorer(got picture in op) and its used for internal sd (i can use it from computer too)
But lets all wait for the real fix from varun
Click to expand...
Click to collapse
Even if I use your method stated in OP it shows the emulated one it must be a CM11 bug
Navneet Suresh said:
Ok works now but only shows in terminal I used this config as I wasn't able to use it directly :
Made a folder in emulated sdcard
Changed the mount point to it
Code:
mount -t vfat /dev/block/mmcblk0p32 /storage/emulated/legacy/sdcard2/
Then
Code:
su
cd sdcard2
ls
It shows in Terminal only as stated by Varun
Nice work :good: @varun.chitre15
EDIT : o.f.c am rooted -_- leave it it worked with a small workaround stated above.
Click to expand...
Click to collapse
You need to mount the root subsystem as root and then create the folder
Code:
mount -o rw, remount /
mkdir /sdcard2
Sent from my C2105 using Tapatalk
Navneet Suresh said:
Even if I use your method stated in OP it shows the emulated one it must be a CM11 bug
Click to expand...
Click to collapse
This emulated folders are the method used from sony,I only mount the mmcblk0p32 there to use it for internal sd(not for third sd),so when i mount it there,symlinks do all the rest and you can see it in /sdcard,/storage/sdcard0 and so on
P.S.-Dont know why ,but if you mount it with ADB you will see the files with explorer not only with terminal
varun.chitre15 said:
You need to mount the root subsystem as root and then create the folder
Code:
mount -o rw, remount /
mkdir /sdcard2
Sent from my C2105 using Tapatalk
Click to expand...
Click to collapse
siankatabg said:
This emulated folders are the method used from sony,I only mount the mmcblk0p32 there to use it for internal sd(not for third sd),so when i mount it there,symlinks do all the rest and you can see it in /sdcard,/storage/sdcard0 and so on
P.S.-You can mount it with ADB and you will see the files with explorer not only with terminal
Click to expand...
Click to collapse
Ok guys it seems the issue has a temporary fix, @varun.chitre15 I forgot to remount as RW my bad :silly:
Oh man thats really great
Wow!! Finally bug is fixed!! Will be checking for your kernel tomorrow @varun.chitre15
Thank you so much
The fact is you can also access the internal storage using ddms from android sdk
varun.chitre15 said:
The fact is you can also access the internal storage using ddms from android sdk
Click to expand...
Click to collapse
Oh hmm yep. BTW for those who don't know what's DDMS
More progress ...!
Works completely fine as a separate partition. Now you have the 2GB emulated and 4GB true internal storage completely accessible. Bonus right?
Await my tomorrows release. I am also going to release updated CM with some more fixes of others in thread by @#root or a new thread maybe.
But I have got exams from Tuesday. Will try as hard as possible to release everything tomorrow. Finally got this irritating bug fixed
Cheers
varun.chitre15 said:
More progress ...!
Works completely fine as a separate partition. Now you have the 2GB emulated and 4GB true internal storage completely accessible. Bonus right?
Await my tomorrows release. I am also going to release updated CM with some more fixes of others in thread by @#root or a new thread maybe.
But I have got exams from Tuesday. Will try as hard as possible to release everything tomorrow. Finally got this irritating bug fixed
Cheers
Click to expand...
Click to collapse
Oh great i am backing up my data and waiting for you release of cm11 tomorrow

[KERNEL][Test] KitKat [Fixed Internal SD][TWRP flash from Internal SD]

Hello.
I will be short.
This is test kernel with my work from here:
http://forum.xda-developers.com/showpost.php?p=51236354&postcount=41
Kernel is purely stock with fix for deep sleep,TWRP recovery with working flash from internal SD and my internal SDcard fix.
Instructions for flash:
1.Flash kernel with Flashtool or fastboot.
2.Flash modules.zip from recovery
Instructions to fix your SD files location:(to see them in /sdcard and /storage/sdcard0) (you need to have root)
First way is with root explorer:
1.Go to /data/media and move all the files and folders without "legacy,obb,0" to /data/media/0
Second way is with terminal:
1.Just tipe:
Code:
su
cd /data/media
mv !(0|legacy|obb) 0
You need to do this once.
If all went well,you will have your 4gb sd back on place.
Download:
Boot.img -> http://www.mediafire.com/download/emg35kqh8sqj0d1/boot-kk-twrp.img
Modules.zip -> http://www.mediafire.com/download/335zedpjks9i2g6/KitKat+modules.zip
Test and report,please.
Kernel is tested on CM11,but should work on other KitKat roms too.
I am not responsible for bricked devices.Do it at your own risk.
Аll can use my method or ramdisk, just mention me in your thread.
Credits:
@KillerKink - For DeepSleep issue fix
@vishal_android freak - For the great TWRP recovery,link here -> http://forum.xda-developers.com/xpe.../kernel-stock-kernel-twrp-integrated-t2667370
Nice work.
Will the sd internal fix work without flashing the kernel
or should the kernel be there for the commands to work ?
Anyways thanx for your help
The fix lies in ramdisk only or you've done some changes while compiling kernel also?
BTW thanks for one more way fixing storage.
Shivam Kuchhal said:
The fix lies in ramdisk only or you've done some changes while compiling kernel also?
BTW thanks for one more way fixing storage.
Click to expand...
Click to collapse
Just ramdisk changes.
nandroidz said:
Will the sd internal fix work without flashing the kernel
or should the kernel be there for the commands to work ?
Anyways thanx for your help
Click to expand...
Click to collapse
You need to flash it and if you flash other kernel after that you will lose your storage again.
Sent from my C2105 using xda app-developers app
siankatabg said:
Just ramdisk changes.
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
Any drawbacks of this method noticed so far?
Shivam Kuchhal said:
Any drawbacks of this method noticed so far?
Click to expand...
Click to collapse
No.All apps and games working fine for me.Only settings>storage dont show correct space,but this is OS bug i think.I will update this kernel today to use /mnt/media_rw/sdcard0 as mount point and fuse,because with this recovery(for stock rom) we dont need to use /data/media.This way i think there will be no problems to wipe data or format sd at all
siankatabg said:
No.All apps and games working fine for me.Only settings>storage dont show correct space,but this is OS bug i think.I will update this kernel today to use /mnt/media_rw/sdcard0 as mount point and fuse,because with this recovery(for stock rom) we dont need to use /data/media.This way i think there will be no problems to wipe data or format sd at all
Click to expand...
Click to collapse
It looks like I'll wait for your update to merge the fix into my kernel as waiting for 1 day isn't a big deal.
Shivam Kuchhal said:
You've made changes in recovery also?
And it looks like I'll wait for your update to merge the fix into my kernel as waiting for 1 day isn't a big deal.
Click to expand...
Click to collapse
Im done with update i think Now i formated /data and /sdcard survive it Will test sdcard format and will upload it.
For recovery: Im using vishal_android recovery for stock rom.Nothing changed there.
Test kernel 2. Changed mount point and fuse to /mnt/media_rw/sdcard0 ,so now you need to move files from there to /mnt/media_rw/sdcard0/0
If you moved them on the previous kernel you dont need to do that again.This needs to be done once on the first use of my fix.
Download here:
http://www.mediafire.com/download/5ck8z6or1b0r8jg/boot-kk-twrp-2.img
P.S.- Terminal command is same,just use "cd /mnt/media_rw/sdcard0"
I forgot to say that you can wipe /data without problems now.
Thanks bro Great work!
But isnt there a way to mount the internal storage as the 'REAL' internal storage
i mean make it the storage where we install apps and games and place game data etc !
Me_Shazzy said:
Thanks bro Great work!
But isnt there a way to mount the internal storage as the 'REAL' internal storage
i mean make it the storage where we install apps and games and place game data etc !
Click to expand...
Click to collapse
It is mounted as the real sdcard.I'm using it since one week for apps and games without problems.
But don't use this kernel, I got permissions from varun to add my fix to ThunderZap kernel.Go to official TZ kernel thread and you will find link.
Sent from my C2105 using xda app-developers app
siankatabg said:
It is mounted as the real sdcard.I'm using it since one week for apps and games without problems.
But don't use this kernel, I got permissions from varun to add my fix to ThunderZap kernel.Go to official TZ kernel thread and you will find link.
Sent from my C2105 using xda app-developers app
Click to expand...
Click to collapse
Thanks~
siankatabg said:
Test kernel 2. Changed mount point and fuse to /mnt/media_rw/sdcard0 ,so now you need to move files from there to /mnt/media_rw/sdcard0/0
If you moved them on the previous kernel you dont need to do that again.This needs to be done once on the first use of my fix.
Download here:
http://www.mediafire.com/download/5ck8z6or1b0r8jg/boot-kk-twrp-2.img
P.S.- Terminal command is same,just use "cd /mnt/media_rw/sdcard0"
I forgot to say that you can wipe /data without problems now.
Click to expand...
Click to collapse
Can you update first post with updated commands now please? I am trying out this fix in my kernel right now. Thanks.
EDIT:
 @siankatabg
I typed these commands, are they correct?
Code:
su
cd /mnt/media_rw/sdcard0
mv !(0|legacy|obb) 0
Shivam Kuchhal said:
Can you update first post with updated commands now please? I am trying out this fix in my kernel right now. Thanks.
Click to expand...
Click to collapse
I updated this fix in thunderzap kernel again.Moved mount from fstab to init.sony.rc.Here is what you need to add:
on init add this:
mkdir /mnt/media_rw/sdcard0 0700 media_rw media_rw
on fs,after mount_all fstab.sony add this:
# Mount internal SDcard partition.
wait /dev/block/mmcblk0p32
mount vfat /dev/block/mmcblk0p32 /mnt/media_rw/sdcard0 rw wait
and on sdcard service,change them to this:
service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /mnt/media_rw/sdcard0 /mnt/shell/emulated
class late_start
disabled
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard1 /storage/sdcard1
class late_start
disabled
Im adding init.sony.rc here,so you can compare it with stock one and see whats changed in better way.
And the commands for terminal are:
su
cd /mnt/media_rw/sdcard0
mv !(0|legacy|obb) 0
P.S.- Just rename the file.
Shivam Kuchhal said:
EDIT:
@siankatabg
I typed these commands, are they correct?
Code:
su
cd /mnt/media_rw/sdcard0
mv !(0|legacy|obb) 0
Click to expand...
Click to collapse
Yes.If you see all your SD files in /sdcard,all is good.
P.S.2- One more thing.You can swap internal and external SD with simple edit on sdcard service:
service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /mnt/media_rw/sdcard1 /mnt/shell/emulated
class late_start
disabled
service fuse_sdcard1 /system/bin/sdcard -u 1023 -g 1023 -d /mnt/media_rw/sdcard0 /storage/sdcard1
class late_start
disabled
siankatabg said:
I updated this fix in thunderzap kernel again.Moved mount from fstab to init.sony.rc.
Click to expand...
Click to collapse
I don't want to swap
And I must say you've done an awesome job in this method. Can you tell me for what is the 1.5gb partition is used now? I mean the partition which was previously mounted as sdcard0
Shivam Kuchhal said:
I don't want to swap
And I must say you've done an awesome job in this method. Can you tell me for what is the 1.5gb partition is used now? I mean the partition which was previously mounted as sdcard0
Click to expand...
Click to collapse
For nothing i think./data/media is part of /data,so when now its empty this space will be used for your installed apps,libs and so on in /data.
siankatabg said:
For nothing i think./data/media is part of /data,so when now its empty this space will be used for your installed apps,libs and so on in /data.
Click to expand...
Click to collapse
I need bit of your help here bro.
I'm using this method and I can see my files under sdcard0/0 but the problem is that I copied some data under Android/obb folder for paying a game. After I went to sdcard0 through es file explorer shortcuts, I failed to delete obb folder but when I went to sdcard0 by navigating to mnt/media_rw/sdcard0/0. It deleted successfully. Is there any reason? The game for which I copied the data for also kept force closing. Also when I type those commands that you gave for moving data, they keep giving me errors like TWRP isn't empty and no such file or directory.
Shivam Kuchhal said:
I need bit of your help here bro.
I'm using this method and I can see my files under sdcard0/0 but the problem is that I copied some data under Android/obb folder for paying a game. After I went to sdcard0 through es file explorer shortcuts, I failed to delete obb folder but when I went to sdcard0 by navigating to mnt/media_rw/sdcard0/0. It deleted successfully. Is there any reason? The game for which I copied the data for also kept force closing. Also when I type those commands that you gave for moving data, they keep giving me errors like TWRP isn't empty and no such file or directory.
Click to expand...
Click to collapse
I already stated on how to mount obb directory correctly in TZ kernel thread. Take a look at this post.
http://forum.xda-developers.com/showpost.php?p=51310631&postcount=724
Sent from my Xperia SP using Tapatalk 2

Categories

Resources