I guess everybody would like to expand the Ouya's internal memory. I tried the usual tools, and although DirectoryBind is working, it doesn't help much because there are no obb or data directories to be moved for Ouya games.
However, Link2SD works just fine!
Prerequisites:
Installed SuperUser on Ouya
Link2SD apk
USB drive with a 2nd primary partition formatted as ext4
There are plenty of guides that explain how to get the SuperUser apk installed, so just use the search button above.
The Link2SD apk you can install on your phone from Google Play, and copy it to some place from where you can install it on your Ouya.
Use any tool (gparted, MiniTool Partition, etc.) to create a 2nd, primary partition on your USB drive, and format it to ext4. Use the search button if you are in doubt.
Now, Link2SD does not seem to recognize that there is indeed an ext4 formatted 2nd partition on the USB drive.
To make it work you have to mount it manually (see below), or install my SDExt2Mounter for Ouya, or use the script in post #3.
Manual way:
So, insert the USB drive in Ouya, and do the following:
[in adb shell]:
su
mkdir /data/sdext2
mount -t ext4 /dev/block/vold/8\:2 /data/sdext2
exit
:victory: Now start Link2SD on the Ouya, and start using that cumbersome touchpad to move apps and data (use the Link button, as Move to SD card does not work for Ouya) to your new found storage space! There are some options in the Link2SD menu to make all future installed app be automatically moved (and linked) to the new location, but I haven't tested that one yet.
Of course things will break if you remove the USB drive from the Ouya, and if you really power down the Ouya, you have to make sure you first mount the ext4 partition before the launcher starts, or you cannot use the games!
Use SDExt2Mounter:
Make sure you have rooted your Ouya and installed busybox; you will have to reroot your Ouya after each firmware upgrade!
Install SDExt2Mounter; you will find the app in the "PLAY" menu, not in the "MAKE" menu. Yes! My first Ouya app!
Start SDExt2Mounter
Grant it PERMANTENT root access if asked
Press the (make and) mount button
Press the AutoMount on Boot button
Reboot your Ouya
After the reboot step, your Ouya will automatically mount the sdext2 partition so your games will show up in the launcher. Obviously, you only need to go through these steps once.
Start the app, grant it PERMANTENT root access, and hit the "(make and) mount button".
Changelog:
v1.2: Added Automount option to mount sdext2 on boot, so your games show up in the launcher.
v1.1: Corrected directory path; added SuperUser permission
Awesome! on the todo list.. FYI though be sure not to put your main launcher or su stuff on the linked partition.
here i have made smal script....extract it to system/etc/init.d an then install Universal Init.d
https://play.google.com/store/apps/details?id=com.androguide.universal.init.d&feature=search_result#?t=W251bGwsMSwxLDEsImNvbS5hbmRyb2d1aWRlLnVuaXZlcnNhbC5pbml0LmQiXQ..
Now open the app and give it su permissions and turn inti.d support on! Now all goes automatically
What happens if you start up your OUYA with the USB drive not plugged in? Would it just not show the apps? Or maybe show an error? Basically I'm wondering if there could be any complications with the OUYA if I forgot to add the HDD to the OUYA before turning it on.
JLCollier2005 said:
What happens if you start up your OUYA with the USB drive not plugged in? Would it just not show the apps? Or maybe show an error? Basically I'm wondering if there could be any complications with the OUYA if I forgot to add the HDD to the OUYA before turning it on.
Click to expand...
Click to collapse
The links are basically shortcuts made to the app on the new partition. The same idea if you remove a drive with all your steam games on it, worst case the shortcut won't work.
Also they would then just show a link icon instead of the actual app icon as this is rendered from a file in the apk itself.
After reboot even with the init script any linked apps were gone for me
Sent from my OUYA Console using xda app-developers app
Someone correct me if I'm wrong, since I am in no way an expert, but looking at the init.d script I think there should be a space in between 'shmkdir /data/sdext2' and 'mount -t...' ? Haven't powered down yet so I can't confirm whether it works or not.
I have this working great now!
When I tried to go to the play store and download Universal Init.d, it would force close upon opening. I had to search for and download an earlier version, Uni-init v1.0.apk.
It does take longer for my OUYA to boot now, so just wait for it.
Do you mind if I add this script into my Ouya ToolBox?
All credit will be given to you, of course.
Thank you!
http://forum.xda-developers.com/showthread.php?t=2350900
I believe that you can add the ability to mount the ext partition to the ramdisk in the boot.img
foil said:
Do you mind if I add this script into my Ouya ToolBox?
All credit will be given to you, of course.
Thank you!
http://forum.xda-developers.com/showthread.php?t=2350900
Click to expand...
Click to collapse
Hope the author let you added asap it be pretty good
is there a way to verify the linking was successful?
i opened links2sd before i gparted my 1.5tb external and it said that there was no secondary partition..
then did the ext4 partition for 100gb and enabled the init.d support and moved the script linked in this thread to my new init.d folder created and then reboot my ouya
then when i opened up links2sd again it allowed me to make links so i did those on gta3 and gtaVC (which are about 1gb a pop) and after it finished i navigated to the /data/sdext2 folder in ES file explorer and it says the folder is empty... i then went into my system settings and it says that my internal storage is still the whack 5.78gb and that i only have like 1,21gb remaining (which is what was present before i tried the mod)..
Im purdy sure i followed everything like i am supposed to... plus it says that my usbdrive folder is empty now too??
so i went into terminal emulator and rebooted the device.. and now my usbdrive shows up, but the apps i linked aren't there in the make drawer and when i opened up links2sd, i cant find the apps i linked in the list at all and it says the second partition isn't found :/
Whats the best combo as far as speed and performance goes? Fastest usb vs SD Card (sandisk extreme pro) with usb adapter?
WhoDunnit said:
I guess everybody would like to expand the Ouya's internal memory. I tried the usual tools, and although DirectoryBind is working, it doesn't help much because there are no obb or data directories to be moved for Ouya games.
However, Link2SD works just fine!
Prerequisites:
Installed SuperUser on Ouya
Link2SD apk
USB drive with a 2nd primary partition formatted as ext4
There are plenty of guides that explain how to get the SuperUser apk installed, so just use the search button above.
The Link2SD apk you can install on your phone from Google Play, and copy it to some place from where you can install it on your Ouya.
Use any tool (gparted, MiniTool Partition, etc.) to create a 2nd, primary partition on your USB drive, and format it to ext4. Use the search button if you are in doubt.
Now, Link2SD does not seem to recognize that there is indeed an ext4 formatted 2nd partition on the USB drive. To make it work, you have to mount it manually to /data/sdext2. So, insert the USB drive in Ouya, and do the following:
[in adb shell]:
su
mkdir /data/sdext2
mount -t ext4 /dev/block/vold/8\:2 /data/sdext2
exit
:victory: Now start Link2SD on the Ouya, and start using that cumbersome touchpad to move apps and data (use the Link button, as Move to SD card does not work for Ouya) to your new found storage space! There are some options in the Link2SD menu to make every future installed app be automatically moved (and linked) to the new location, but I haven't tested that one yet.
Of course things will break if you remove the USB drive from the Ouya, and also if you really power down the Ouya, you have to first mount the ext4 partition manually before you can use the games!
If I find the time I might make a small app/script to automate things, but if someone beats me to it, I won't cry!
Click to expand...
Click to collapse
"To make it work, you have to mount it manually to /data/sdext2. So, insert the USB drive in Ouya, and do the following" <---do i type in the commands right from the ouya with terminal emulator? and if so when i type (mkdir /data/sdext2) from the terminal emulator i get a "mkdir failed for /data/sdext2, File exists" i know the file exists so it's cool but when i type the second command (mount -t ext4 /dev/block/vold/8\:2 /data/sdext2) it gives me a "mount: No such file or directory" i dont know what im doing wrong ...please i need some help, i keep running out of internal space and i need to expand ...also i used mini tool partition wizard to format my 16gb sd card to ext4...
foil said:
Do you mind if I add this script into my Ouya ToolBox?
All credit will be given to you, of course.
Thank you!
http://forum.xda-developers.com/showthread.php?t=2350900
Click to expand...
Click to collapse
Since the author of the script in post #3 (natorus87) is not answering your question, I will. If you want to copy the concept in your ToolBox, that's perfectly fine with me. Also, if you want to add my app to your toolbox, that's fine too. If you want the exact script of post #3, you'll have to PM natorus87.
Ouya mounting app added
I added an app for the Ouya to do the manual steps of creating the folder and mounting the partition to the OP. The app needs root access (so be sure to reroot your Ouya after a firmware update). Note: it is an Ouya app, so it will show up in the "PLAY" menu instead of the "MAKE" menu...:silly:
Where can we get this app?
Forget that. I have seen you have addedit to the 1st post.
Sent from my GT-I9100 using xda app-developers app
I am having issues with the app finding the partition.
What type Id does it need to be?
Sent from my GT-I9100 using xda app-developers app
I have tried unsuccessfully all day to create a partition that is seen by link2sd.
Your app mounts the ext4 partition and I can see it on a file explorer but link 2sd says no partition found.
Sent from my GT-I9100 using xda app-developers app
robinscp said:
I have tried unsuccessfully all day to create a partition that is seen by link2sd.
Your app mounts the ext4 partition and I can see it on a file explorer but link 2sd says no partition found.
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
You're right. I'm afraid I left the app in "testing" mode: it mounts to /data/sdext while it should be /data/sdext2. I'll update it tonight. Sorry for the inconvenience, and thanks for reporting.
Related
I've been trying to use link2sd but this error "mount script cannot be created. mount:Invalid argument". Other forums give fixes but they are bit vague as to what to do. I need a step by step fix. Please help
You need a partitioned sd card, have you tried other mount formats (fat32, ext2, ext3)?
What rom, kernel and scripts are you running?
Initially I used mini tool to partioned the sd card and all the formats didn't work. so i used cwm to partion the sd card partioning worked but link2sd is won't. Kernel:[email protected]#1
Rom:S5830XWKP7. I haven't an idea about the scripts though. how do i find that?
What is your rom because some roms aren't compatible with this script, but you can install the script !
I'm using a stock rom:S5830XWKP7
Sent from my GT-S5830 using xda app-developers app
Link2sd might give trouble in stock roms if the partition is in ext3 or ext4. Cwm makes an ext3 format pqrtition.
With minitool, make the partition in fat32 format, both partitions as primary, and try link2sd with fat32 and ext2 mount scripts to see if one of them mounts succesfully.
If you already tried this and didn't work, i dunno whats wrong, sorry i couldn't help.
Other solutions would be to flash a custom kernel with init.d support (such as cf-root or battery extender) these support all partition formats and give access to other methods of moving apps to the partition (s2e, int2ext script, amarullz, etc)
dxppxd said:
Link2sd might give trouble in stock roms if the partition is in ext3 or ext4. Cwm makes an ext3 format pqrtition.
With minitool, make the partition in fat32 format, both partitions as primary, and try link2sd with fat32 and ext2 mount scripts to see if one of them mounts succesfully.
If you already tried this and didn't work, i dunno whats wrong, sorry i couldn't help.
Other solutions would be to flash a custom kernel with init.d support (such as cf-root or battery extender) these support all partition formats and give access to other methods of moving apps to the partition (s2e, int2ext script, amarullz, etc)
Click to expand...
Click to collapse
I had the same problems and I tried switching around the formats too.
One thing that did work for me, twice, was to completely format the card and recreate both the partitions on the SD card each time whenever I flashed a new ROM and was going to use Link2SD or S2E. And I used FAT32 for the Link2SD partition. Formatting only the second partition always gave me the mount error.
Hope this helps!
Not all Aces are equal. I don't know the difference, but I had 2 Aces, the ROM info shows same version of software. On one (older one) EXT3 worked, on the newer one it didn't and I had to use FAT32. Strange. I also noticed one Ace (newer one) is a bit THINNER! Same rooting worked for both Aces...
Partioning both as fat32 doesnt work as the phone reads the card as damaged
Sent from my GT-S5830 using xda app-developers app
Why don't you just use the move to SD card function in Settings > Applications > Manage Applications?
That works however the phone internal memory isnt increased and apps are still part on internal memory
Sent from my GT-S5830 using xda app-developers app
sjg2797 said:
That works however the phone internal memory isnt increased and apps are still part on internal memory
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
That's how Link2SD works. Internal memory is still the same, and application data isn't moved to the SD card.
The actual app file, dalvik cache and library files are moved to the SD card.
If you go to the application management system option, you'll see applications are still taking all the memory space they're supposed to take. Well, that's what the phone thinks, but they're actually not.
Of course, all of this and more is included in the official [url="http://www.link2sd.info/faq]Link2SD FAQ[/url], but then again, everyone knows FAQs are not supposed to be read, and I won't be bugging you more about this subject because I too didn't read the FAQ at first, and once asked similar questions.
Darkcloud4491 said:
Why don't you just use the move to SD card function in Settings > Applications > Manage Applications?
Click to expand...
Click to collapse
Perhaps the op actually wants to move whole apps to the SD and not leave massive chunks still in /data partition? Or maybe that doesnt provide enough space?
Use cronmod script its a flashable zip you mount/data and mount/system that's it done just search cronmod and you will find what you need
my ace is 'ACE'
invalid argument
both of my partitions are fat32, but i had to select ext4 in link2sd to get it to mount. is this a normal fix? or is it not going to function properly?
is it possible to use an sd card to increase /data and /system? cuz even with link2sd i keep running out of internal space, and ive only got 18 mb free in system. my link2sd is set to install to external and autolink.
im using this rom: 【ROM】【=CM10=】【=Aroma=】| ★★ Optimus Prime v1.8 ★★ | 16-04-2013 | 《 Reborn © ✌ 》
Solution of the problem mount script error
NOW I AM GONNA TELL U ABOUT THE MOST MAJOR PROBLEM
WHICH IS A SIILY MESSAGE BOX APPEARS TELLING YOU THAT
(MOUNT SCRIPT CAN NOT BE CREATED. MOUNT: INVALID
ARGUMENT)
BUT HERE IS THE REAL ERROR THAT CAUSED THE MESSAGE BOX
AND IT IS THAT THE PARTITIONS PASS IS WRONGLY CREATED
AND HERE HOW CAN IT BE FIXED U R GONNA OPEN APARTED AND
RECREATE THE PARTITIONS THEN GO TO THE CONFIGURATION PART
AND CHANGE THE DETECTED DEVICE FROM (MMCBLK0)
TO(USBDISK) THEN AUTOMATICALLY THE PATH SHOULD BE
CHANGED FROM (/DEV/BLOCK/MMCBLK0) TO (/DEV/BLOCK/SDA)
AND SURELY YOUR PROBLEM SHOULD BE SOLVED
THEN OPEN THE LINK2SD THERE SHOULD BE A MESSEGE APPEARED
SAYING
AND IF NOT YOU SHALL GO TO THE OPTIONS AND
CHOOSE (RECREATE NEW LINK SCRIPTS) CHOOSE THE PARTITION S
SYSTEM AND HERE IT IS YOU JUST GOT YOURSELF A SUCCESSFUL
LINKING
If IT DIDN T WORK THEN YOU R GONNA HAVE TO FULLYSHUTDOWN
YOUR MOBILE THEN REBOOT
AND I ASURE U IT IS GONNA WORK
:good:
:laugh:
Expatiate
John Risky said:
NOW I AM GONNA TELL U ABOUT THE MOST MAJOR PROBLEM
WHICH IS A SIILY MESSAGE BOX APPEARS TELLING YOU THAT
(MOUNT SCRIPT CAN NOT BE CREATED. MOUNT: INVALID
ARGUMENT)
BUT HERE IS THE REAL ERROR THAT CAUSED THE MESSAGE BOX
AND IT IS THAT THE PARTITIONS PASS IS WRONGLY CREATED
AND HERE HOW CAN IT BE FIXED U R GONNA OPEN APARTED AND
RECREATE THE PARTITIONS THEN GO TO THE CONFIGURATION PART
AND CHANGE THE DETECTED DEVICE FROM (MMCBLK0)
TO(USBDISK) THEN AUTOMATICALLY THE PATH SHOULD BE
CHANGED FROM (/DEV/BLOCK/MMCBLK0) TO (/DEV/BLOCK/SDA)
AND SURELY YOUR PROBLEM SHOULD BE SOLVED
THEN OPEN THE LINK2SD THERE SHOULD BE A MESSEGE APPEARED
SAYING
AND IF NOT YOU SHALL GO TO THE OPTIONS AND
CHOOSE (RECREATE NEW LINK SCRIPTS) CHOOSE THE PARTITION S
SYSTEM AND HERE IT IS YOU JUST GOT YOURSELF A SUCCESSFUL
LINKING
If IT DIDN T WORK THEN YOU R GONNA HAVE TO FULLYSHUTDOWN
YOUR MOBILE THEN REBOOT
AND I ASURE U IT IS GONNA WORK
:good:
:laugh:
Click to expand...
Click to collapse
Can you please be a bit more detailed seeing as you have not expressed yourself adequately to be of assistance. kindly try enumerating the points instead of lumping them.
1.PARTITIONS PASS IS WRONGLY CREATED ..... i believe you mean path please come again and where is this partition part so i can reconfigure it.
sjg2797 said:
I've been trying to use link2sd but this error "mount script cannot be created. mount:Invalid argument". Other forums give fixes but they are bit vague as to what to do. I need a step by step fix. Please help
Click to expand...
Click to collapse
Have you partitioned your sd card to ext2/ext3/ext4? If it's ext2 then make sure you select ext2 in link2sd. Your phone has to be rooted.
john risky said:
now i am gonna tell u about the most major problem
which is a siily message box appears telling you that
(mount script can not be created. Mount: Invalid
argument)
but here is the real error that caused the message box
and it is that the partitions pass is wrongly created
and here how can it be fixed u r gonna open aparted and
recreate the partitions then go to the configuration part
and change the detected device from (mmcblk0)
to(usbdisk) then automatically the path should be
changed from (/dev/block/mmcblk0) to (/dev/block/sda)
and surely your problem should be solved
then open the link2sd there should be a messege appeared
saying
and if not you shall go to the options and
choose (recreate new link scripts) choose the partition s
system and here it is you just got yourself a successful
linking
if it didn t work then you r gonna have to fullyshutdown
your mobile then reboot
and i asure u it is gonna work
:good:
:laugh:
Click to expand...
Click to collapse
could you please elaborate it...
worked for me on my moto e
same problem solved by making the partition as primary partition ..try it
NOTE: Currently only working on Android 4.1.2. I'll look for a workaround when my new OTG cables come in.
So I purchased the 8 GB Nexus 7 and began to regret not getting the 16 GB version. These 1-3 GB games are killing me. I purchased The Bard's Tale (great game btw) and the TegraHD version requires 3.5 GB! I already had a USB OTG cable so I began looking for a way to store the game data on the USB drive and mount it to the data directory on the sdcard.
You will need:
Compatible USB OTG Cable
Paragon NTFS&HFS+
GScript Lite
Compatible kernel (ntfs read/write support)
I've tested this on ParanoidAndroid and SGT7 but it should work on any rom.
Note: Each game requires a game data folder on the USB drive that matches my script (or you can create your own folder and edit the script). You will also need a blank folder on the sdcard (/sdcard/android/data/GAMEFOLDER_from_Script - You have to use this folder name). Once this folder from the USB drive has been mounted to the correct position on the SDCARD, the game data will download to the USB drive.
Video: http://www.youtube.com/watch?v=4dWqLjnCSBg&feature=youtube_gdata
NTFS USB Drive STEPS:
Plug in USB drive to Nexus 7 and unmount if the system automounts the drive (Settings - Storage - Unmount shared storage)
Open Paragon NTFS&HFS+ and mount the USB drive using the automatic mount point setting (/storage/usbdisk).
Open GScript Lite and run a game script to bind mount the game data folder to the sdcard.
Enjoy your game and extra space!
When done, unmount with Paragon NTFS&HFS+.
FAT32 USB Drive STEPS:
Plug in USB drive to Nexus 7, it should be automounted by the system to the default location: /storage/usbdisk
Open GScript Lite and run a game script to bind mount the game data folder to the sdcard.
Enjoy your game and extra space!
When done, unmount via the system: (Settings - Storage - Unmount shared storage)
Assuming your USB drive is mounted on /storage/usbdisk/ and you have created the empty game data folder on the sdcard (/sdcard/android/data/GAMEFOLDER_from_Script), the following scripts should work:
Code:
Script for Horn:
mount -o bind /storage/usbdisk/Horn /sdcard/Android/obb/com.Phosphor.Horn.Paid
Script for Bard's Tale:
mount -o bind /storage/usbdisk/BardsTale /sdcard/Android/data/com.inxile.BardTale
Script for Max Payne:
mount -o bind /storage/usbdisk/MaxPayne /sdcard/Android/data/com.rockstar.maxpayne
Script for Dead Trigger (gave me an error the first time opened but worked fine afterwards):
mount -o bind /storage/usbdisk/DeadTrigger /sdcard/Android/obb/com.madfingergames.deadtrigger
Script for Shadow Gun THD:
mount -o bind /storage/usbdisk/shadowgun /sdcard/Android/data/com.madfingergames.shadowgun_thd
Script for Asphalt 7:
mount -o bind /storage/usbdisk/Asphalt7 /sdcard/Android/obb/com.gameloft.android.ANMP.GloftA7HM
Script for The Dark Knight Rises:
mount -o bind /storage/usbdisk/TDKR /sdcard/Android/obb/com.gameloft.android.ANMP.GloftKRHM
Script for Mass Effect Infiltrator:
mount -o bind /storage/usbdisk/MassEffect /sdcard/Android/data/com.ea.games.meinfiltrator_na
I'll add more scripts as time permits.
Alternate Method (No scripts needed but you loose SDCard when USB drive is mounted):
http://forum.xda-developers.com/showthread.php?t=1865094
Have you tried running horn or dead trigger from the flash drive? I'm just curious if the drive is fast enough to play high end games off of or if it lags?
kieso said:
Have you tried running horn or dead trigger from the flash drive? I'm just curious if the drive is fast enough to play high end games off of or if it lags?
Click to expand...
Click to collapse
I'll see about moving dead trigger over. I haven't purchased horn yet due to lack of space but may consider buying it now.
(BTW the Bard's Tale is pretty graphics intensive and it runs fine)
kieso said:
Have you tried running horn or dead trigger from the flash drive? I'm just curious if the drive is fast enough to play high end games off of or if it lags?
Click to expand...
Click to collapse
Dead Trigger works.. added script.
I'm getting a black screen followed by a close on Mass Effect... Going to try internal memory to make sure it's not the rom.
Sent from my SGH-T989 using xda app-developers app
I get the message 'no NTFS of HTS+/HFSX partitions found' when opening the app
On paranoid android 2.15
life02 said:
I'm getting a black screen followed by a close on Mass Effect... Going to try internal memory to make sure it's not the rom.
Sent from my SGH-T989 using xda app-developers app
Click to expand...
Click to collapse
I had the same problem with mass effect....just turn on internet and use it...game will start. You might need to delete 1 more file...but 1st see if it runs
Please press thanks if it works.
Sent from my K-Touch W619 using xda premium
Jordanooo said:
I get the message 'no NTFS of HTS+/HFSX partitions found' when opening the app
On paranoid android 2.15
Click to expand...
Click to collapse
Did you unmount via storage first? Is your USB drive formatted with NTFS?
life02 said:
Did you unmount via storage first? Is your USB drive formatted with NTFS?
Click to expand...
Click to collapse
...oops haha. Forgot about formatting
Jordanooo said:
...oops haha. Forgot about formatting
Click to expand...
Click to collapse
Let me know if it works for you when you get the drive ready.
Kudos to you sir this is briliant i've got the 16gb and i've got a ton of games and im down to 4GB's this should come in handy when more 1gb games come out that interest me.
Directory bind works best for this and free, bards tale works, as does GTA/FIFA/spiderman
Sent from my Nexus 7 using Tapatalk 2
karl0ss said:
Directory bind works best for this and free, bards tale works, as does GTA/FIFA/spiderman
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Yeah that's pretty much what I'm doing with GScript (directory bind mounts from one device to another)... still have to unmount via Storage and use Paragon if you want to use NTFS drives.
Got usb mounted and had a go at the script, but keeps saying directory not found
Could you possibly do a video?
Jordanooo said:
Got usb mounted and had a go at the script, but keeps saying directory not found
Could you possibly do a video?
Click to expand...
Click to collapse
Yeah I'll see if I can't throw one together tonight/this weekend. What game are you trying?
Note: Each game requires a game data folder on the USB drive that matches my script (or you can create your own folder and edit the script). You will also need a blank folder on the sdcard (/sdcard/android/data/GAMEFOLDER_from_Script - You have to use this folder name). Once this folder from the USB drive has been mounted to the correct position on the SDCARD, the game data will download to the USB drive.
life02 said:
So I purchased the 8 GB Nexus 7 and began to regret not getting the 16 GB version. These 1-3 GB games are killing me. I purchased The Bard's Tale (great game btw) and the TegraHD version requires 3.5 GB! I already had a USB OTG cable so I began looking for a way to store the game data on the USB drive and mount it to the data directory on the sdcard.
You will need:
Compatible USB OTG Cable
Paragon NTFS&HFS+
GScript Lite
Compatible kernel (ntfs read/write support)
I've tested this on ParanoidAndroid and SGT7 but it should work on any rom.
Note: Each game requires a game data folder on the USB drive that matches my script (or you can create your own folder and edit the script). You will also need a blank folder on the sdcard (/sdcard/android/data/GAMEFOLDER_from_Script - You have to use this folder name). Once this folder from the USB drive has been mounted to the correct position on the SDCARD, the game data will download to the USB drive.
STEPS:
Plug in USB drive to Nexus 7 and unmount if the system automounts the drive (Settings - Storage - Unmount shared storage)
Open Paragon NTFS&HFS+ and mount the USB drive using the automatic mount point setting (/storage/usbdisk).
Open GScript Lite and run a game script to bind mount the game data folder to the sdcard.
Enjoy your game and extra space!
When done, unmount with Paragon NTFS&HFS+.
Code:
Script for Bard's Tale:
mount -o bind /storage/usbdisk/BardsTale /sdcard/Android/data/com.inxile.BardTale
Script for Max Payne:
mount -o bind /storage/usbdisk/MaxPayne /sdcard/Android/data/com.rockstar.maxpayne
Script for Dead Trigger (gave me an error the first time opened but worked fine afterwards):
mount -o bind /storage/usbdisk/DeadTrigger /sdcard/Android/obb/com.madfingergames.deadtrigger
I'll add more scripts as time permits.
*FAT32 drives may work fine using the default Android USB automounter (just skip step 1 (unmount part) and step 2. When finished, unmount via storage instead of Paragon NTFS&HFS+). Please let me know if this works for you!
Click to expand...
Click to collapse
Gotta love bind mounts! I use em all the time.
-Ronan
Sent from my Nexus 7 using xda app-developers app
life02 said:
Dead Trigger works.. added script.
Click to expand...
Click to collapse
No lag? Wow you deserve a beer! Awesome work! I have a 16 gig and don't want to get below 4 gig and this will be a big help. This should be pinned.
thanks for the tip, very useful info. I'm looking at using a USB to micro SD adapter and using the micro SD as storage (obviously), will report how well (or not) it works.
Oh, wow. Just got this working.
Didnt see the space in the script
Great work, thanks for this tutorial!
Ignore...
I am the lucky owner of a new RAZR-i and have practically no real complaints (yet). However, I would like to move certain apps (some games use up huge amounts of storage: Asphalt Heat 7) to my sdcard (labeled "external1" on my razr-i).
That does not seem to be possible. In settings it offers to move stuff to the external card, but only movies etc, not apps. when I go to apps and select the game, it also does not offer any option and finally "App2SD" could not move it either.
There must be a way....Any suggestions?
Thanks!
You can't bay all accounts due to the way Motorola work...
Sent from my XT890 using xda app-developers app
htcmodteam said:
You can't bay all accounts due to the way Motorola work...
Sent from my XT890 using xda app-developers app
Click to expand...
Click to collapse
Hey.... I'm on the same situation... That's my only problem with RAZR i
Is there really no way to transfer apps to SD?
Tks.
hacks should work...
I haven't tried anything like this yet (only just got my RAZR i) but I did a similar thing on a LG C660.
The hack I used was to move /data/app onto the SD card and symlink it back. So the phone could find everything under /data/app but the actual .apks were on the SD card (useful because the internal storage was tiny).
I used an app called Simple2Ext to enable this hack but it was probably designed for older devices and may not handle the different paths used on the RAZR i. It also installed startup scripts (that ensured the SD card was mounted early during the boot so the symlinks were valid when they were first accessed) that are most likely not compatible.
If you want to move only some apps, move /data/app/<app>.apk to the SD card and symlink it back into /data/app. You'll need to manually clean up the .apk on the SD card if you remove the app.
With both of these, you can't boot the phone without the SD card or remove the SD card at any time while the phone is running.
An example of the commands you might use (entered into an ADB shell or terminal):
move all apps to SD card
Code:
$ su
# mv /data/app /external1
# ln -s /external1/app /data
move angry birds to SD card
Code:
$ su
# mkdir /external1/app
# mv /data/app/com.rovio.angrybirds-1.apk /external1/app
# ln -s /external1/app/com.rovio.angrybirds-1.apk /data/app
If you don't understand the above... please don't do this. It's dangerous and you could break your phone.
You can use directory bind for that:
http://forum.xda-developers.com/showthread.php?t=1410262
Need to use the alternate DB (check the settings of the apps), but it works great to "move" folder from the sdcard to external.
This is the only workaround we have until a custom rom let us use external as SDcard.
Direcrtory Bind
Le_Poilu said:
You can use directory bind for that:
http://forum.xda-developers.com/showthread.php?t=1410262
Need to use the alternate DB (check the settings of the apps), but it works great to "move" folder from the sdcard to external.
This is the only workaround we have until a custom rom let us use external as SDcard.
Click to expand...
Click to collapse
I'm using DirectoryBind with my Razr i and works almost perfect, I can't make a Data base backup so if I turn off the Phone I lose all the bind directories and I have to do it again, so I'm not turning off the phone never ever. The rest works perfect and very fast.
good luck!
xopendaz said:
I'm using DirectoryBind with my Razr i and works almost perfect, I can't make a Data base backup so if I turn off the Phone I lose all the bind directories and I have to do it again, so I'm not turning off the phone never ever. The rest works perfect and very fast.
good luck!
Click to expand...
Click to collapse
If you use the alternate db in the settings it will keep the bind directory after reboot
Envoyé depuis mon Nexus 7 avec Tapatalk
xopendaz said:
I'm using DirectoryBind with my Razr i and works almost perfect, I can't make a Data base backup so if I turn off the Phone I lose all the bind directories and I have to do it again, so I'm not turning off the phone never ever. The rest works perfect and very fast.
good luck!
Click to expand...
Click to collapse
You could use init.d scripts to do it automatically at boot.
But first you need to enable init.d (check here)
nrseife said:
I am the lucky owner of a new RAZR-i and have practically no real complaints (yet). However, I would like to move certain apps (some games use up huge amounts of storage: Asphalt Heat 7) to my sdcard (labeled "external1" on my razr-i).
That does not seem to be possible. In settings it offers to move stuff to the external card, but only movies etc, not apps. when I go to apps and select the game, it also does not offer any option and finally "App2SD" could not move it either.
There must be a way....Any suggestions?
Thanks!
Click to expand...
Click to collapse
Not really sure why you need to..... do you have 5Gb of apps????
Reason I ask is I have all my music on sd card, camera can be set to store directly to Sd card and if you've forgpt to do that when you fill phone like I did with a video the other day it asks if you want to transfer all videos and photos to SD card... Problem solved no messing about looking in options
Yes I do have more than 5GB of apps + sd data. and for me the problem is that the application is gonna try to store the data in the Sd card, and our main partition is called sdcard and external1 the sdcard so... all the data of the apps like need for speed, whatsapp, N.O.V.A ... is going to be stored in your internal memory because of that my phone memory was full in 48 hours.
Sent from my XT890 using xda app-developers app
help me!!
xopendaz said:
Yes I do have more than 5GB of apps + sd data. and for me the problem is that the application is gonna try to store the data in the Sd card, and our main partition is called sdcard and external1 the sdcard so... all the data of the apps like need for speed, whatsapp, N.O.V.A ... is going to be stored in your internal memory because of that my phone memory was full in 48 hours.
Sent from my XT890 using xda app-developers app
Click to expand...
Click to collapse
hello I tried using bind directory, but when I link the dorectorios and open a game simply does not recognize the link and I can not play anything that I start to request data, help! How Do I? Does init.d solved? I need an explanation. Also let me know which firmware have
thank you!
Directory Bind
josmel91 said:
hello I tried using bind directory, but when I link the dorectorios and open a game simply does not recognize the link and I can not play anything that I start to request data, help! How Do I? Does init.d solved? I need an explanation. Also let me know which firmware have
thank you!
Click to expand...
Click to collapse
-Open Directory Bind
-Go to menu click Add new entry
-Enter in (data) path where you are gonna place the data en your external sd " /external1/ " where you want save it, the directory should be empty if doesn´t exists you will be asked to create it.
-Enter in mount(target) the path (directoy) of the data that you want to move to external1 , for example " /sdcard/Android/data/directory name "
-check Transfer files from target to data.
-click on Add.
Once the process has finished :
-Check your entry on the main menu by clicking on the check box.
-Click over the diskette on the right side to save it.
-Click on menu - Bind checked.
-Click on More - Backup Database. (I´m stil fighting to make the database backup) use to fail.
After this :
-Go to menu - preferences
- Check Bind on boot.
-Handle USB connection.
-Backup config file.
-use alternate db
Note: If you restart the phone and the database backup failed before, you will lose your bind directory, not the data, you will have to do it all over again, in other thread is explained how to backup the data base, because in my case, even with alternate db checked in directory bind settings, the data base backup is still failing.
Good luck!
xopendaz said:
-Open Directory Bind
-Go to menu click Add new entry
-Enter in (data) path where you are gonna place the data en your external sd " /external1/ " where you want save it, the directory should be empty if doesn´t exists you will be asked to create it.
-Enter in mount(target) the path (directoy) of the data that you want to move to external1 , for example " /sdcard/Android/data/directory name "
-check Transfer files from target to data.
-click on Add.
Once the process has finished :
-Check your entry on the main menu by clicking on the check box.
-Click over the diskette on the right side to save it.
-Click on menu - Bind checked.
-Click on More - Backup Database. (I´m stil fighting to make the database backup) use to fail.
After this :
-Go to menu - preferences
- Check Bind on boot.
-Handle USB connection.
-Backup config file.
-use alternate db
Note: If you restart the phone and the database backup failed before, you will lose your bind directory, not the data, you will have to do it all over again, in other thread is explained how to backup the data base, because in my case, even with alternate db checked in directory bind settings, the data base backup is still failing.
Good luck!
Click to expand...
Click to collapse
excuse me what is your firmware?
---------- Post added at 03:12 PM ---------- Previous post was at 03:04 PM ----------
I did everything I say, and the link is created all very bn!, but when I open the game seems to not link anything, the game asks me sd data again: '(I do not know what to do
stock ics 4.0.4 rooted
are you able to see the sdcard data on your external1 with Astro or other similar file manager? is a original not cracked app?
81.5.32002.XT890.retail.en.Eu
Do you see the files in both sides sdcard and external1?
How do you store the data in the phone? do you copy the data to external1 and then you move it to the sdcard and then you use directory bind? in this way for me it's working
Or you copy the data directly to the sdcard and after taht you use directory bind? in this way for me it' not working
Sent from my XT890 using xda app-developers app
xopendaz said:
stock ics 4.0.4 rooted
are you able to see the sdcard data on your external1 with Astro or other similar file manager? is a original not cracked app?
81.5.32002.XT890.retail.en.Eu
Do you see the files in both sides sdcard and external1?
Sent from my XT890 using xda app-developers app
Click to expand...
Click to collapse
hello
yes! I see them on both sides in external1 and sdcard but when I run a game sd data calls. sd data are always there but the game any game I ask.
How do you store the data in the phone? do you copy the data to external1 and then you move it to the sdcard and then you use directory bind? in this way for me it's working
Or you copy the data directly to the sdcard and after taht you use directory bind? in this way for me it' not working
Sent from my XT890 using xda app-developers app
xopendaz said:
How do you store the data in the phone? do you copy the data to external1 and then you move it to the sdcard and then you use directory bind? in this way for me it's working
Or you copy the data directly to the sdcard and after taht you use directory bind? in this way for me it' not working
Sent from my XT890 using xda app-developers app
Click to expand...
Click to collapse
I did what you told me but I served.
you tell me what version of bind directory you use?
version 0.2.0k
you have root acces right? the root button on directory bind appears green?
Sent from my XT890 using xda app-developers app
I wish Motorola would let you install to the (real) SD card.
I can't really use Spotify, despite having bought a 64GB memory card. I've now had to limit the number of games I can install too.
I expect music and films purchased on Play will also be limited?
In fact, I'd rather use the 64GB card for apps and the internal storage for photos and video recording!!
I will try, hopefully work!
Many people have it but those who don't, need it badly
Very Big Thanks to Fire rat for sharing his knowledge with us
Here is his thread:-
http://forum.xda-developers.com/showthread.php?t=679572
What does it do?
If you have any second partition of SD Card
(ext2, ext3, ext4), it makes a directory SD-EXT in the root of mobile and mounts it at every boot.
NOTE: It is not a script for moving any Data or App from Internal memory to EXT Partition, it just creates that directory.
Its for those who are not using(or even using) any script for moving data to next partition and want to just make a prominent directory of SD-EXT.
For eg, if someone is using Link2SD, then the second partition is mounted as /data/sdext2 and not as /sd-ext
So they can't, well, do a lot of things.
Required:-
*Custom ROM with init.d support
*Busybox(not sure if compulsary, but it would be better to have it)
*Root Explorer
*Patience
*Mind
Method:-
1. Download the file in the attachment. Extract it.
2. Go to Root Explorer.
3. Copy the file (03mountsd) you just downloaded.
4. Go to /system/etc/init.d (There is also a shortcut- /etc in root of phone, both are same, NO PROBLEM)
5. Select Mount as R/W.
6. Make backup of your 03mountsd(some files for mounting SD Card may be different from 03mountsd, so you have to use common sense and choose the script which is used for mounting SD Card) [In special condition, there may be no script for mount the SD Card Partition, if so, skip thus step]
7. Paste the downloaded file in there.
8. Set Permissions. Every block must be ticked
Tick means X here
Read Write Execute
...X........X..........X......
...X........X..........X......
...X........X..........X......
9. Reboot
If correctly and successfully done, you will see SD-EXT directory in root of your phone after reboot
If it is not seen, reboot your phone
If again, check again if you had pasted it properly
If again, Download SManagerAds
Select to browse as root
Browse to /system/etc/init.d
And click on 03mountsd and click on (android skull with crossbones)[Root] icon and (blue gear)[Boot] icon and click save and Reboot.
Download
View attachment SD-EXT.zip
Regards
IamAreebJamal
Hmm good post but corn mode script solves this all .
If i helped you there is a tiny button in lower left side (thanks) click it
debsattam said:
Hmm good post but corn mode script solves this all .
If i helped you there is a tiny button in lower left side (thanks) click it
Click to expand...
Click to collapse
Cronmod doesn't work for me and many other users
And also for those who don't want to use scripts for transferring the data
i think this is the same method that i use and lost my IMEI number
marchellei said:
i think this is the same method that i use and lost my IMEI number
Click to expand...
Click to collapse
No; I am using it and I have IMEI
iamareebjamal said:
No; I am using it and I have IMEI
Click to expand...
Click to collapse
is this better than cronmod?
marchellei said:
is this better than cronmod?
Click to expand...
Click to collapse
I told you bro that it does not move any apk or data to sd-ext
This looks like it might solve a problem for me because I'm running both Titanium Backup and Link2SD and wanted to use TB to move app data to my ext2 partition.
Unfortunately I'm still using a stock ROM, so there isn't an init.d available to modify. However, I am using SManagerAds to run a V6 Supercharger script at boot. Does the 03mountsd script need to be in init.d?
Updated
Can anyone explain. ME the 6th step
And where can I find 03mountsd????
Thank you
Sent from my GT-S5830i using xda premium
I already have this sd- ext on my root. I am not using an scrpts. I just partioned my SD card and using Link2SD to move apps to sd
Sent from my GT-S5830i using xda premium
Can anyone explain it
rahulnandwani said:
Can anyone explain it
Click to expand...
Click to collapse
?????????????????????????
Sent from my GT-S5830i using xda premium
rahulnandwani said:
?????????????????????????
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Nobody??????
Sent from my GT-S5830i using xda premium
iamareebjamal said:
Many people have it but those who don't, need it badly
Very Big Thanks to Fire rat for sharing his knowledge with us
Here is his thread:-
http://forum.xda-developers.com/showthread.php?t=679572
What does it do?
If you have any second partition of SD Card
(ext2, ext3, ext4), it makes a directory SD-EXT in the root of mobile and mounts it at every boot.
NOTE: It is not a script for moving any Data or App from Internal memory to EXT Partition, it just creates that directory.
Its for those who are not using(or even using) any script for moving data to next partition and want to just make a prominent directory of SD-EXT.
For eg, if someone is using Link2SD, then the second partition is mounted as /data/sdext2 and not as /sd-ext
So they can't, well, do a lot of things.
Required:-
*Custom ROM with init.d support
*Busybox(not sure if compulsary, but it would be better to have it)
*Root Explorer
*Patience
*Mind
Method:-
1. Download the file in the attachment. Extract it.
2. Go to Root Explorer.
3. Copy the file (03mountsd) you just downloaded.
4. Go to /system/etc/init.d (There is also a shortcut- /etc in root of phone, both are same, NO PROBLEM)
5. Select Mount as R/W.
6. Make backup of your 03mountsd(some files for mounting SD Card may be different from 03mountsd, so you have to use common sense and choose the script which is used for mounting SD Card) [In special condition, there may be no script for mount the SD Card Partition, if so, skip thus step]
7. Paste the downloaded file in there.
8. Set Permissions. Every block must be ticked
Tick means X here
Read Write Execute
...X........X..........X......
...X........X..........X......
...X........X..........X......
9. Reboot
If correctly and successfully done, you will see SD-EXT directory in root of your phone after reboot
If it is not seen, reboot your phone
If again, check again if you had pasted it properly
If again, Download SManagerAds
Select to browse as root
Browse to /system/etc/init.d
And click on 03mountsd and click on (android skull with crossbones)[Root] icon and (blue gear)[Boot] icon and click save and Reboot.
Download
View attachment 1453784
Regards
IamAreebJamal
Click to expand...
Click to collapse
Thanks dude it work's a treat on my HDC A9300 MTK6575 I had to download the .apk to get it to take but at last a striaght forward look at my partition :victory: Now if I can get TWRP to automaticly make a back it up all would be perfect. :good:
I will spread the news Thanks again.
rahulnandwani said:
Nobody??????
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Sorry bro, this thread got out from my subscribed thread
And I forgot about it
Well, the script is in SD-EXT. zip file attached below.
Could something like this work for this situation?
http://forum.xda-developers.com/showthread.php?t=2227471
Mind of sharing some knowledge?
rahulnandwani said:
Nobody??????
Sent from my GT-S5830i using xda premium
Click to expand...
Click to collapse
Basicly, for what I read in the script, it's for mounting the sd-ext partition with appropriate permissions, now what I don't really get is, why would I need that?
Compatibility issues with certain apps?
El_Dark said:
Basicly, for what I read in the script, it's for mounting the sd-ext partition with appropriate permissions, now what I don't really get is, why would I need that?
Compatibility issues with certain apps?
Click to expand...
Click to collapse
I wanted just my sd-ext partition to be present at every boot
At that time, no data2sd or cronmod was working for our mobile
Can u help me !!
i used ungaze script and second partion not mounting as internal memory.
After every reboot the internal memory get back to default state.
as stated in trouble shooting i remove my sd in recovery mode and mounted sd ext by reinserting the sd and it works like charm.
but it cant be done in normal sytem reboot. so anybody please help me in this issue.
Thanks in advance for your helps.
============================================================================================
Hit THANKS if i helped You in this issue
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WANT TO MAKE YOUR GALAXY Y AS A HIGH END DEVICE WITH 1.2GHZ , 1 GB INTERNAL STORAGE , HD GAMING , LAGGLESS
GO THE BELOW LINK
EMPOWER YOUR GALAXY Y
Click here
Hi,
This is my first android device, so am pretty much a newbie for android.
Have created this mod to mount external SD card partition as internal partition.
I took pointers from a lot of threads on xda forums to get this working, so I feel bound to share it.
Note: Have only tested it with Android 4.1.
(I'm not responsible for any Damage to your phone. Use at your own risk.)
Note: This will likely result in data loss. Backup!
Required :
1. Root Access
2. init.d support click here
3. Root Browser click here
4. SManager click here
5. An sd card (duh!) (with class 10 SD cards preferable)
6. Some way to partition your SD Card (like MiniTool Partition Manager)
Install instructions:
1. Create two ‘fat32’ partitions on SD card(EDIT: PS: both partitions should be Primary). Your first partition will be mounted as normal extSd card, and your second partition will be mounted as internal SD Card for your apps. (I partitioned my 64GB(10^9 bytes) sd card with ~16 GB 1st partition and ~42 GB 2nd partition)
2. Copy and paste “mountSd” to etc/init.d folder. (If you don’t have such a folder, means you lack init.d support. click here and follow instructions to enable it) This script creates another mount point called ‘sdcard2’ and mounts current internal sd card there. It also tries to mount second partition to ‘sdcard0’ location, but seems to fail some times (as fat32 is not natively supported linux partition it seems, but could be wrong), so step 3 is required.
3. Copy ‘mountSdFailSafe.txt’ to your phone’s ‘/data’ folder. Now with ‘SManager’, register this file as script with ‘su’ and ‘boot’ selected. (click and hold script -> in context menu click ‘Open As..’ -> ‘Script/Executable’ -> Is Script = true, select ‘su’ and ‘boot’ buttons)
4. Restart.
This should do it. Once restarted, second partition will be shown as internal memory.
Note:
You will lose all app data and other app related customizations. You may be able to restore it by simply copy pasting ‘Android’ folder from ‘/storage/sdcard2’ to ‘/storage/sdcard0’. This has not been tested by me but should work theoretically (as I started with a blank phone, and so did not need to back up my app data). Or you could use Titanium Backup.
Some Issues that occur due to this mod:
I have been using this mod since the past 2 weeks, and the phone is quite stable with this mod.
The only issue I have faced is that when connected to PC (Windows 8) through USB, ‘My Computer’ keeps crashing unless and until you disconnect the phone. Otherwise it seems to be working fine. To circumvent this issue I have been using Samba to share files between PC and my phone.
Please share how it works out for you guys.
Other Notes:
I tried to get this working with ext4 partition, which has a +ves that it will not require step ‘3’ of install instructions and supports file sizes >4GB, but there are loads of permission issues happening, which I could not solve.
(Thought of setting “set GID” bit and then finding and adding all users to root group but failed. Also tried to set owner group ‘sdcard_rw’ without much success. May be someone who knows linux better may know how to solve this, Could not find much help on the forums as it seems others are facing a similar problem see more)
Thanks to:
For basic idea (PS: do not use the given method exactly as you will end up in a boot loop. For some reason, ‘sdcard1’ mount point has to be mounted by system only and can’t be mounted any other way, it seems.)
http://forum.xda-developers.com/showthread.php?t=2180733
Edit:
Simplified installation if you do not care for easy accessibility to your orig internal memory:
Use this video tutorial by ashwin123:
The only exceptions are that, you need to partition your card,
and you have to use the file 'mountSdFailSafe.txt' instead of the file in the package mentioned by him.
Nice
Waiting for someone to test it n confirm it successfully works
Still here
N!geR -> E!ch0
NisJ said:
Hi,
This is my first android device, so am pretty much a newbie for android.
Have created this mod to mount external SD card partition as internal partition.
I took pointers from a lot of threads on xda forums to get this working, so I feel bound to share it.
Note: Have only tested it with Android 4.1.
(I'm not responsible for any Damage to your phone. Use at your own risk.)
Note: This will likely result in data loss. Backup!
Required :
1. Root Access
2. init.d support click here
3. Root Browser click here
4. SManager click here
5. An sd card (duh!) (with class 10 SD cards preferable)
6. Some way to partition your SD Card (like MiniTool Partition Manager)
Install instructions:
1. Create two ‘fat32’ partitions on SD card. Your first partition will be mounted as normal extSd card, and your second partition will be mounted as internal SD Card for your apps. (I partitioned my 64GB(10^9 bytes) sd card with ~16 GB 1st partition and ~42 GB 2nd partition)
2. Copy and paste “mountSd” to etc/init.d folder. (If you don’t have such a folder, means you lack init.d support. click here and follow instructions to enable it) This script creates another mount point called ‘sdcard2’ and mounts current internal sd card there. It also tries to mount second partition to ‘sdcard0’ location, but seems to fail some times (as fat32 is not natively supported linux partition it seems, but could be wrong), so step 3 is required.
3. Copy ‘mountSdFailSafe.txt’ to your phone’s ‘/data’ folder. Now with ‘SManager’, register this file as script with ‘su’ and ‘boot’ selected. (click and hold script -> in context menu click ‘Open As..’ -> ‘Script/Executable’ -> Is Script = true, select ‘su’ and ‘boot’ buttons)
4. Restart.
This should do it. Once restarted, second partition will be shown as internal memory.
Note:
You will lose all app data and other app related customizations. You may be able to restore it by simply copy pasting ‘Android’ folder from ‘/storage/sdcard2’ to ‘/storage/sdcard0’. This has not been tested by me but should work theoretically (as I started with a blank phone, and so did not need to back up my app data). Or you could use Titanium Backup.
Some Issues that occur due to this mod:
I have been using this mod since the past 2 weeks, and the phone is quite stable with this mod.
The only issue I have faced is that when connected to PC (Windows 8) through USB, ‘My Computer’ keeps crashing unless and until you disconnect the phone. Otherwise it seems to be working fine. To circumvent this issue I have been using Samba to share files between PC and my phone.
Please share how it works out for you guys.
Other Notes:
I tried to get this working with ext4 partition, which has a +ves that it will not require step ‘3’ of install instructions and supports file sizes >4GB, but there are loads of permission issues happening, which I could not solve.
(Thought of setting “set GID” bit and then finding and adding all users to root group but failed. Also tried to set owner group ‘sdcard_rw’ without much success. May be someone who knows linux better may know how to solve this, Could not find much help on the forums as it seems others are facing a similar problem see more)
Thanks to:
For basic idea (PS: do not use the given method exactly as you will end up in a boot loop. For some reason, ‘sdcard1’ mount point has to be mounted by system only and can’t be mounted any other way, it seems.)
http://forum.xda-developers.com/showthread.php?t=2180733
Click to expand...
Click to collapse
Am interested to try this but before I do, just wanted to check when you say data is lost, is it due to the lost of the original /data partition? Or just due to the sd card's partition?
What's the outcome when this is done, I mean do we have two data partitions one from the original phone's memory and another with the sdcard? And in the settings menu, will we get to choose to send apps over to sd? Thanks
grim_ripper said:
Am interested to try this but before I do, just wanted to check when you say data is lost, is it due to the lost of the original /data partition? Or just due to the sd card's partition?
What's the outcome when this is done, I mean do we have two data partitions one from the original phone's memory and another with the sdcard? And in the settings menu, will we get to choose to send apps over to sd? Thanks
Click to expand...
Click to collapse
Your application data will be lost in a way, as orig internal sd card will be mounted to 'sdcard2' mount point(newly created). All your app data will be installed to your memory card's second partition, which is now the new internal sdcard. To access your orig data, you will have to go to it through a file manager, and apps or media scanner will not be able to access this memory any more.
The scripts provided will not format your internal memory.
Still apk files, dalvik cache etc, will still take up your original internal memory's space.
Partitioning your sd card will probably format it as well unless you take special precaution (ie. through shrink volume).
Hope it makes sense...?
NisJ said:
Your application data will be lost in a way, as orig internal sd card will be mounted to 'sdcard2' mount point(newly created). All your app data will be installed to your memory card's second partition, which is now the new internal sdcard. To access your orig data, you will have to go to it through a file manager, and apps or media scanner will not be able to access this memory any more.
The scripts provided will not format your internal memory.
Still apk files, dalvik cache etc, will still take up your original internal memory's space.
Partitioning your sd card will probably format it as well unless you take special precaution (ie. through shrink volume).
Hope it makes sense...?
Click to expand...
Click to collapse
It makes sense, just am confused on how the system will still recognize the original storage when the sd card's storage is supposingly replacing it. Could you post a screen shot of your storage from settings?
grim_ripper said:
It makes sense, just am confused on how the system will still recognize the original storage when the sd card's storage is supposingly replacing it. Could you post a screen shot of your storage from settings?
Click to expand...
Click to collapse
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
NisJ said:
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
Click to expand...
Click to collapse
Can u do a tutorial video how to install this script bro?
Cuz the installation steps r bit complicated
Still here
N!geR -> E!ch0
NisJ said:
Here you go....
PS: third image shows that internal storage is still accessible, just not to apps. Only apk files, and other android files go there go there. sdcard2 in 4th image is newly created mount point for your orig internal storage, but is ignored by most of the apps...
Click to expand...
Click to collapse
Phone keeps rebooting now, couldn't copy it to /etc/init.d
I think it has something to do with having data running in the background, now I don't know what to do with my phone
EDIT: Ok, manage to recover from the reboot state, had to deny root access to my file explorer. I think the reboot was caused when I set permission to write for /system. Anyway, everytime I keep trying to copy to /etc/init.d, I get a permission denied so am not sure what I should do now.
grim_ripper said:
Phone keeps rebooting now, couldn't copy it to /etc/init.d
I think it has something to do with having data running in the background, now I don't know what to do with my phone
EDIT: Ok, manage to recover from the reboot state, had to deny root access to my file explorer. I think the reboot was caused when I set permission to write for /system. Anyway, everytime I keep trying to copy to /etc/init.d, I get a permission denied so am not sure what I should do now.
Click to expand...
Click to collapse
When ever you copy something to init.d it will reboot, or does it go into boot loop?
To check if it worked correctly, see if new mount point storage/sdcard2 was created..
EDIT: If it worked correctly, then you could move to next step.
else you could also skip it, and goto the next step of SManager, but in that case you will lose access to your original internal storage as it wont be mounted to sdcard2.
E!ch0 said:
Can u do a tutorial video how to install this script bro?
Cuz the installation steps r bit complicated
Still here
N!geR -> E!ch0
Click to expand...
Click to collapse
Creating a video will take time at least til sat... prob more.
Will see if I can create a simplified install instructions once i reach home.
NisJ said:
When ever you copy something to init.d it will reboot, or does it go into boot loop?
To check if it worked correctly, see if new mount point storage/sdcard2 was created..
EDIT: If it worked correctly, then you could move to next step.
else you could also skip it, and goto the next step of SManager, but in that case you will lose access to your original internal storage as it wont be mounted to sdcard2.
Click to expand...
Click to collapse
What happens is that everytime I try to mount /system as writable, it reboots and hence I can't copy either files to their designated location
EDIT: Also, now everytime I reboot, there's a popup that says USB connectivity has stopped, and if I go under settings->storage, settings fc. I'm thinking this has something to do with two partitions on the sd card so I hope it all goes away when this works or I revert back to as it was.
EDIT 2: So I managed to get all the files to the appropriate place using terminal and managed to get the script to run at boot. Alas, the phone doesn't detect my sdcard at all now and still throws the USB connectivity error at boot. Once I removed the sdcard, everything works alright. Also, I figured the solution to the reboot (haven't tested it yet as I wanted to resolve my sdcard first):
http://forum.xda-developers.com/showthread.php?t=2317432
EDIT 3: Got the reboot solve, but the sdcard can't be read and I tried plugging it into my other phone, the first partition is only read. I can't get minitool to even find the 2nd partition. I am thinking I need to get a card reader to plug it into my laptop. Anyway, I went through your script and open the log file it used, says that there's an invalid argument for mount. Any idea?
Final Edit: Got it working! I had to re-partition my sdcard and made both partitions primary so maybe you might want to add that in OP as MiniTool by default selected the 2nd partition as logical
grim_ripper said:
What happens is that everytime I try to mount /system as writable, it reboots and hence I can't copy either files to their designated location
EDIT: Also, now everytime I reboot, there's a popup that says USB connectivity has stopped, and if I go under settings->storage, settings fc. I'm thinking this has something to do with two partitions on the sd card so I hope it all goes away when this works or I revert back to as it was.
EDIT 2: So I managed to get all the files to the appropriate place using terminal and managed to get the script to run at boot. Alas, the phone doesn't detect my sdcard at all now and still throws the USB connectivity error at boot. Once I removed the sdcard, everything works alright. Also, I figured the solution to the reboot (haven't tested it yet as I wanted to resolve my sdcard first):
http://forum.xda-developers.com/showthread.php?t=2317432
EDIT 3: Got the reboot solve, but the sdcard can't be read and I tried plugging it into my other phone, the first partition is only read. I can't get minitool to even find the 2nd partition. I am thinking I need to get a card reader to plug it into my laptop. Anyway, I went through your script and open the log file it used, says that there's an invalid argument for mount. Any idea?
Click to expand...
Click to collapse
Why are you trying to mount /system as rw?
for getting init.d support you just have to download the apk from mentioned thread and install it, and then fallow instruction in app.
you can mount root as rw with the foll command if you want, and that is exactly what is done in he scripts as well if you will check:
Code:
mount -o remount,rw /
also to check if partition is created on sd card, type the command:
Code:
blkid
and see if
Code:
/dev/block/vold/179:34
is listed
if not post the output and i'll see what i can do.
grim_ripper said:
Final Edit: Got it working! I had to re-partition my sdcard and made both partitions primary so maybe you might want to add that in OP as MiniTool by default selected the 2nd partition as logical
Click to expand...
Click to collapse
EDIT: Correct, you need both the partitions to be primary. got out of my mind when posting the tutorial.
NisJ said:
Why are you trying to mount /system as rw?
for getting init.d support you just have to download the apk from mentioned thread and install it, and then fallow instruction in app.
you can mount root as rw with the foll command if you want, and that is exactly what is done in he scripts as well if you will check:
Code:
mount -o remount,rw /
also to check if partition is created on sd card, type the command:
Code:
blkid
and see if
Code:
/dev/block/vold/179:34
is listed
if not post the output and i'll see what i can do.
EDIT: Correct, you need both the partitions to be primary. got out of my mind when posting the tutorial.
Click to expand...
Click to collapse
For whatever reason, my /etc folder is actually a link from /system/etc
Could you post a way to revert back? I think my apps are acting all funny now and just want to revert back to before. Thanks!
grim_ripper said:
Could you post a way to revert back? I think my apps are acting all funny now and just want to revert back to before. Thanks!
Click to expand...
Click to collapse
The apps are behaving funny because you have lost their data as I had warned in the original post.
To fix do either of the foll:
1. reinstall app, and start fresh.
or
2. restore from Titanium backup if you had created...
or
3. copy paste 'Android' folder from sdcard2 if it is created to 'sdcard0'
To remove and revert, just delete the files from int.d, and stop scheduling it in SManger.
Note: to un schedule it from smanager, you first have to remove memory card, un schedule and then put in your memory card (this is coz when phone boots up, it is in standard way, with 8gb internal but, after script is executed SManager looses its data too.
How complicated will it be to make this compatible with 4.2.2?
grim_ripper said:
How complicated will it be to make this compatible with 4.2.2?
Click to expand...
Click to collapse
Ideally should be possible, unless something has changed majorly, but I haven't tried it, as am waiting for OTA update. If it is not forth coming in 2-3 weeks, may be tempted to flash nordic rom and try.
NisJ said:
Ideally should be possible, unless something has changed majorly, but I haven't tried it, as am waiting for OTA update. If it is not forth coming in 2-3 weeks, may be tempted to flash nordic rom and try.
Click to expand...
Click to collapse
I did try but nothing happened, am guessing it has permission issues or something on those lines
grim_ripper said:
I did try but nothing happened, am guessing it has permission issues or something on those lines
Click to expand...
Click to collapse
Could you be more specific? Like system restarts etc...
Else in terminal try out what I Gave in post no 12 and give me what the output is for both the commands in the terminal.
Note: execute them with super user credentials.
Thanks
NisJ said:
Could you be more specific? Like system restarts etc...
Else in terminal try out what I Gave in post no 12 and give me what the output is for both the commands in the terminal.
Note: execute them with super user credentials.
Thanks
Click to expand...
Click to collapse
on the 4.2.2 update, it doesnt recognize the second partition even if it is formatted to primary and set to active. there r definitely some updates done in that field and plus i cant get the init.d rights on the phone as the test.log file is absent in the data folder..no matter what i do i just cant get it straight with the present procedure. please try it on 4.2 and there r more frequent updates on the nordiac then the local version. so i decided to flash it rather than waiting for ota update