Related
After I Flash This File http://forum.xda-developers.com/showthread.php?t=1106989 I Know That He Have Modified Boot.img To Make install-recovery.sh Run At Startup So That We Can Make Script Run.. But After I Rooted My Phone And Using This Script http://forum.xda-developers.com/showthread.php?t=1031734 To Make The Startup Script To Run .But After I Got Excuted I Got This Error "ERROR: System partition couldn't be remounted, are you on root-aid? (error c0)" It Mean The Script Problum Not The Startup Problum So I use Link2sd To Test .That it Can Mount Sd On Boot Or Not .But It Can So After that I Try To Add Command Manually To install-recovery.sh By Read From a2sd_enabler.sh
Command =
#!/system/bin/sh
/system/bin/sleep 8
/system/bin/mount -t ext2 /dev/block/mmcblk0p2 /system/sd
/system/bin/sh /system/etc/init.d/dtapp
/system/bin/sh /system/etc/init.d/99complete
And IT work ...
If some One want My File install-recovery.sh modified File You can Take it here
Us Root Explorer To Copy It To /system/etc
Don't Forget To Backup Your Old File also
After That reboot Your Phone and Continue Install Darktremor's App2sd+
Thank And Enjoy
Tineprogramming
can i use this on 2.3.4 ?
U Need To Modified init.rc To Let It Execute install-recovery.sh At Startup Because After 2.3.. Fw Is Out SamSung had Close This Point So we Can Not get a2sd+ To work But Some One In This Thread http://forum.xda-developers.com/showthread.php?t=1106989 Had Modified The File So we Can Get 2.3.3 To Work. So Just wait for instruction about Modified Boot.img ..So We Can Get It Work Most Of The 2.3...
Thank
Tineprogramming
Sry for this noob question but am new to android
this will increase the internal memory ???
And does it work with 2.3.4???
Actually it does
soudy1994 said:
Sry for this noob question but am new to android
this will increase the internal memory ???
And does it work with 2.3.4???
Click to expand...
Click to collapse
Yes Actually this method is called app2sd+ to prevent our internal memory from full capacity ..The work it do is fake the system by move ur app to another partition on Ur Sd Card..So u have to format ur Sd as 2 partition First is fat32 Second is ext2 . Ext2 is the linuk file format.. If u Need Extra information just search this key word App2sd+ .. And about 2.3.4 as I Already answered we need to wait for modified boot.IMF to make it execute App2sd+ Script .At boot Time...
Thank
Tine programming
soudy1994 said:
Sry for this noob question but am new to android
this will increase the internal memory ???
And does it work with 2.3.4???
Click to expand...
Click to collapse
Just install Move2SD Enabler from Market and ENABLE IT(you must be ROOTED).
How to ROOT, read this:http://forum.xda-developers.com/showthread.php?t=1034145
ALL WORKING FINE FOR ME!
Cheers!
If I helped, dont forget to push T.....
tineprogramming said:
Yes Actually this method is called app2sd+ to prevent our internal memory from full capacity ..The work it do is fake the system by move ur app to another partition on Ur Sd Card..So u have to format ur Sd as 2 partition First is fat32 Second is ext2 . Ext2 is the linuk file format.. If u Need Extra information just search this key word App2sd+ .. And about 2.3.4 as I Already answered we need to wait for modified boot.IMF to make it execute App2sd+ Script .At boot Time...
Thank
Tine programming
Click to expand...
Click to collapse
Thanks for reply so if i made the ext2 partiion 1gb the phone will show that i have 1gb internal memory?? And my sd card is 8gb class 4 it will work fine??
soudy1994 said:
Thanks for reply so if i made the ext2 partiion 1gb the phone will show that i have 1gb internal memory?? And my sd card is 8gb class 4 it will work fine??
Click to expand...
Click to collapse
The Phone will Not Show U have 1 gb Internal Memory But If U install App Ur internal Memory Will Not Decrease TooMuch... But The The Thing Is U need To Do By This Following Stucter
1.Format Ur Sd Card 2 Partition 1 fat32 2 ext2
2.Make Ur Phone Mount Ur Second partition At Boot Time
(See Above This Thread What I Have Done If U R in 2.3.3)
3.Install Darktremor's App2sd+ Script
Thank
Tineprogramming
i will be able to mount the phone to my pc?
cuz before i used a program called "root all data to sd" and i couldnt mount my phone to pc
soudy1994 said:
i will be able to mount the phone to my pc?
cuz before i used a program called "root all data to sd" and i couldnt mount my phone to pc
Click to expand...
Click to collapse
Just find USB drivers for samsung phone and install them or install KIES from Samsung(there is USB drivers too).
Download drivers for WIN PC:http://www.nodevice.com/search/search.html?text=s5830&search_area=drivers
CHEERS!
okay i will flash XXKPE now and test it
Hello.
I'm using the latest aurora and I'd like to discuss an idea I had.
Since the U8800 has plenty internal memory and it's quite fast comparing to an average sd card, it'd be great if we could use the internal memory for the tasks that need "speed" instead of "space".
Running apps from the sd card is the perfect example!
So the idea would be, while keeping the external sdcard mounted on /mnt/sdcard, having /mnt/sdcard/Android/data, for instance, point to the «internal sdcard path»/Android/data.
What do you think would be the best solution:
- hacking the mount points?
- using links?
- other solution?
Any developer or filesystem savvy user can point the advantages or dangers of using this solution?
- e.g.: the system or some apps may check if the external sd-card is mounted before trying to read/write to /mnt/sdcard/Android/data... that would mean the system/those apss may think that path isn't reachable with the ext-sdcard unmounted, altough they can be read.
Suggestions? Rants? Ideas?
Regards!
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
VuDuCuRSe said:
Hello.
I'm using the latest aurora and I'd like to discuss an idea I had.
Since the U8800 has plenty internal memory and it's quite fast comparing to an average sd card, it'd be great if we could use the internal memory for the tasks that need "speed" instead of "space".
Running apps from the sd card is the perfect example!
So the idea would be, while keeping the external sdcard mounted on /mnt/sdcard, having /mnt/sdcard/Android/data, for instance, point to the «internal sdcard path»/Android/data.
What do you think would be the best solution:
- hacking the mount points?
- using links?
- other solution?
Any developer or filesystem savvy user can point the advantages or dangers of using this solution?
- e.g.: the system or some apps may check if the external sd-card is mounted before trying to read/write to /mnt/sdcard/Android/data... that would mean the system/those apss may think that path isn't reachable with the ext-sdcard unmounted, altough they can be read.
Suggestions? Rants? Ideas?
Regards!
Click to expand...
Click to collapse
Well this is known for a while now . Quoted from my thread here:
vold.fstab - CHANGE THE DEFAULT SDCARD: -thanks to julle131
There is this file named vold.fstab at your /system/etc/ folder, which controls which of your sdcards (Internal/External) will be mounted when you connect your phone to the PC. The last 2 lines are the only that matter. These are the two possibilities:
EXTERNAL SDCARD MOUNTED (DEFAULT):
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.4/mmc_host
dev_mount emmc /mnt/sdcard1 14 /devices/platform/msm_sdcc.2/mmc_host
INTERNAL SDCARD MOUNTED:
dev_mount sdcard /mnt/sdcard 14 /devices/platform/msm_sdcc.2/mmc_host
dev_mount emmc /mnt/sdcard1 auto /devices/platform/msm_sdcc.4/mmc_host
change them as you wish with a root explorer or before flashing.
Click to expand...
Click to collapse
Make this change and every app will use the internal sdcard. Gallery works ok with images to external sdcard, it just might take a while for the first refresh. But I don't know if you'll notice any difference in terms of speed....
Cheers
spirosbond said:
Well this is known for a while now . Quoted from my thread here:
Make this change and every app will use the internal sdcard. Gallery works ok with images to external sdcard, it just might take a while for the first refresh. But I don't know if you'll notice any difference in terms of speed....
Cheers
Click to expand...
Click to collapse
That's not what he talked, I think. He said that the apparel would be installed on the external sd card, but the data would be moved to the internal one. And we have speed, but the main card would be the external one.
I think its a great idea if I understood it right!
Sent from my U8800 using xda premium
mrasquinho said:
That's not what he talked, I think. He said that the apparel would be installed on the external sd card, but the data would be moved to the internal one. And we have speed, but the main card would be the external one.
I think its a great idea if I understood it right!
Sent from my U8800 using xda premium
Click to expand...
Click to collapse
Oh I see! Sorry about that. As far as I know apps are not choosing were to put their data. They just say to the OS "I want these things to be at the sdcard" and the OS puts them at the correct place. So you can't "hack" the app to "see" at somewhere else. On the other hand the OS initialises on boot which card is the primary and which is the secondary. So my knowledge stops there and I can't imagine a way to make this separation between app data and the rest...
I hope for someone else's help!
PaulMilbank said:
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
Click to expand...
Click to collapse
Maybe this cannot be done, because I think that the mapping of the partitions and mounts comes from the bootloader, but there is already the solution of resizing the data partition using the space of internal storage.
PaulMilbank said:
I have wondered if the /data/app or maybe the whole /data partition could be mounted in the internal storage partition. That would give 2gb space for apps and associated files instead of 3-400 ish and would mean no need to move apps to sd card which would mean faster loads at startup due to internal memory being faster.
Click to expand...
Click to collapse
That's a great idea!
I almost don't use the so called "internal sd card", therefor I have 2GB of fast empty space being wasted.
Why not simply mounting the internal sd-card partition in the data folder and the data partition on the internal sd card folder?
I only use the internal sd card to hold ringtones and other small stuff that I need to be in accessible 100% of the time, so a few hundred MB are enough!
Me gusta!
Every ROM flashes it's own fstab, right?
So all we'd need to do would be, editing the fstab before flashing it.
-----------------
Regarding the my first idea... I don't think one can simply mount a path on another path. We'd need a "virtual" device pointing to /mnt/sdcard-internal/data/ then mount that virtual device on /mnt/sdcard-external/data/.
My knowledge of unix mount/filesystems is not much more than what's explained here: https://help.ubuntu.com/community/Mount
OK, just found this:
http://askubuntu.com/questions/11079/mount-a-directory-to-look-like-a-drive
there is a FUSE filesystem named bindfs that probably does exactly what you want. For example the following:
bindfs -n /media/USB-HDD-01/ISO/ /home/johnc/ISO-images
Click to expand...
Click to collapse
would result in ISO-images to show up as a mounted filesystem in the Places sidepanel in Nautilus. The -n is required because otherwise bindfs tries to use the allow_other FUSE option, which by default is not allowed for regular users (if you use bindfs in /etc/fstab this is not a problem).
The first directory you give is the existing one, the second directory you give is an empty directory under which the contents of the existing one will appear.
Click to expand...
Click to collapse
So, bindfs depends on FUSE... and there's a port of fuse to android: https://github.com/seth-hg/fuse-android but looking at the README I get the feeling that it's not really working. The last step would be having a kernel with FUSE support... and regarding that, I have no idea, how easy it is to get a kernel like that for our U8800 :\
Finding such a solution to expand the DATA partition indirectly would be great!
I used to apply genokolar's custom partition method as "1.2G DATA + 1.46G INTERNAL SD" before, but i found out that it has some issues with Official 2.3 Roms. One of them -the most important IMHO- is the BOOTLOOP problem occurring in some specific situations!!!
See the details in my post here:
http://forum.xda-developers.com/showpost.php?p=25853141&postcount=134
(Seems that I don't encounter the bootloops on Custom Roms, but i'm not %100 sure and never will be )
So i unfortunately gave up using it, and revert to the stock partition .
I will be grateful to the one who will find a better and reliable solution. Hope to see it soon...
I still have to gather more information on the official update "modus operandi".
My goal is to simply reformat both partitions and then swap their mount points.
If the official update formats the partitions before applying the flashing official ROM files, then partitioning changes shouldn't cause any failure on the official update.
But like I said, I'm still yet to confirm that info.
Gen's idea was great (I learned a lot just by looking at his scripts) but resizing partitions has its dangers.
Since "no one" really uses the internal memory, why not simply exchange its room with /data, right?
This would be awesome! I would love to have 2gb for apps, instead of cluttering my phone.. plus the 2gb of internal storage are just a waste for me.. I never use them.. so this would be great!
Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
rohitzz said:
Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
Click to expand...
Click to collapse
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
rohitzz said:
Hello,friends i need two solution from you people....
1.how to backup entire /system folder for using it in android kitchen working rom.
can i backup with root explorer or use some commands in terminal emulator..
i think terminal commands will bakup it in .tar and will not change anything in the files
so please give me the commands to backup system on sd card.
2.secondly what value to put while partioning sd card using rom manager....
thanks in advance.
Click to expand...
Click to collapse
1. nand backup via CWM or Amon_RA recovery
2. don't use ROM Manager (EVER for ANYTHING), either make the partition via recovery or via the built in tools
---------- Post added at 12:21 PM ---------- Previous post was at 12:19 PM ----------
QuantumFoam said:
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
Click to expand...
Click to collapse
Yeah, 1024 goes a long way but if you got a big SD card you might want to go for twice that and swap isn't just not needed, it's not even used unless you make a separate script to use it which ISN'T included in most roms.
Which kind of built in tools?
Sent from my Blade using xda premium
QuantumFoam said:
Don't know number 1,
I have a SD card partition of 1024 MB and 32 MB swap. I can install 500 apps . So I guess these values are more than enough
Click to expand...
Click to collapse
Why anyone don't know 1. Step!!!
Sent from my Blade using xda premium
rohitzz said:
Why anyone don't know 1. Step!!!
Sent from my Blade using xda premium
Click to expand...
Click to collapse
Jinxxed posted it above
Tar will only backup what is inside the system partition . For a more complete backup one needs backup of all partitions and boot loader with recovery. It possible only by a tool like CWM.
Also for a phone with 512 MB RAM one doesn't need swap. It mai actually degrade the performance.
My Idea ZTE Blade has only 256MB RAM, I am using CM7.2 . In manage applications total of free plus used is only 128MB. So I enabled swap using m2sd, it's 256MB, actual usage varies from 80MB to 130MB.
My phones performance is greatly improved.
Sent from my Idea Blade
rahulsa said:
Tar will only backup what is inside the system partition . For a more complete backup one needs backup of all partitions and boot loader with recovery. It possible only by a tool like CWM.
Also for a phone with 512 MB RAM one doesn't need swap. It mai actually degrade the performance.
My Idea ZTE Blade has only 256MB RAM, I am using CM7.2 . In manage applications total of free plus used is only 128MB. So I enabled swap using m2sd, it's 256MB, actual usage varies from 80MB to 130MB.
My phones performance is greatly improved.
Sent from my Idea Blade
Click to expand...
Click to collapse
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
2. It won't degrade the performance in any scenario, it MAY be unnecessary and unused though.
3. That's not swap, that's using an extended partition to store data, what you're looking at is internal storage and more specifically the internal partition /data
Jinxxed said:
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
2. It won't degrade the performance in any scenario, it MAY be unnecessary and unused though.
3. That's not swap, that's using an extended partition to store data, what you're looking at is internal storage and more specifically the internal partition /data
Click to expand...
Click to collapse
1. Ok, new learning for me.
2. Good to know this. I was bit worried initially with my 256MB swap size. As I saw 0 or 32 MB swap in many posts. But after 2 weeks I confirm that it was the best thing I did for my Blade. Yes it was even better than using sd card's ext4 partition for more space. Low RAM was a bit serious issue for me than low space.
3. I know swap and ext partition are different. I have 256MB swap and 2 GB ext-4 on my class 4 16GB.
Also understand that using m2sd one can mount /data on ext-4 (r mount) and /sdext on internal nand.
Sent from my Idea Blade
rahulsa said:
1. Ok, new learning for me.
2. Good to know this. I was bit worried initially with my 256MB swap size. As I saw 0 or 32 MB swap in many posts. But after 2 weeks I confirm that it was the best thing I did for my Blade. Yes it was even better than using sd card's ext4 partition for more space. Low RAM was a bit serious issue for me than low space.
3. I know swap and ext partition are different. I have 256MB swap and 2 GB ext-4 on my class 4 16GB.
Also understand that using m2sd one can mount /data on ext-4 (r mount) and /sdext on internal nand.
Sent from my Idea Blade
Click to expand...
Click to collapse
3. Just nitpicking but the way it works is to mount data to /sd-ext/data, /sd-ext is just the mount point for your ext partition (which may be ext2, ext3 or ext4 depending on how you configured it during partitioning and how you mount it). Depending on how you do this you can have data, app, dalvik-cache and app-private mounted to /sd-ext/[folder] (this is the common way of using it when you use my script and S2E).
Jinxxed said:
... Depending on how you do this you can have data, app, dalvik-cache and app-private mounted to /sd-ext/[folder] (this is the common way of using it when you use my script and S2E).
Click to expand...
Click to collapse
May I know your script name?
Using your script which of above should be moved last, I mean with swap already might take a portion of sd card i/o and hence i fear, may make overall speed very slow.
Or for enabling all of them should i upgrade to faster sd card?
Currently I am happy with swap and apps on sd card, rest all on int. nand.
Sent from my Idea Blade
rahulsa said:
May I know your script name?
Using your script which of above should be moved last, I mean with swap already might take a portion of sd card i/o and hence i fear, may make overall speed very slow.
Or for enabling all of them should i upgrade to faster sd card?
Currently I am happy with swap and apps on sd card, rest all on int. nand.
Sent from my Idea Blade
Click to expand...
Click to collapse
S2E-Swap-Jinxxed.zip is the name, you flash it via recovery. https://dl.dropbox.com/u/54672755/S2E-Swap-Jinxxed.zip
It's basically a set of init.d scripts for proper configuration of swap, mounting of sd-ext and the S2E application to move apps, data and cache (you can choose what you want to move and what you want to leave on your internal nand data partition) to sd-ext.
It works on all roms that don't have S2E support from the get go including all ICS variants and JB.
Jinxxed said:
S2E-Swap-Jinxxed.zip is the name, you flash it via recovery. https://dl.dropbox.com/u/54672755/S2E-Swap-Jinxxed.zip
It's basically a set of init.d scripts for proper configuration of swap, mounting of sd-ext and the S2E application to move apps, data and cache (you can choose what you want to move and what you want to leave on your internal nand data partition) to sd-ext.
It works on all roms that don't have S2E support from the get go including all ICS variants and JB.
Click to expand...
Click to collapse
To deactivate mounts2sd-4.6.2 script and use your script.
I did following after getting your answer as PM.
I deleted 10mounts2sd script from \system\etc\init.d\ .
While observing S2E-Swap-Jinxxed.zip, I realized that it contained s2e.apk in /system/app.
So I actually installed s2e from from market to get latest version.
Then to enable swap and other optimizations, I added following lines in begining of 20userinit script present in /etc/init.d .
mount -o remount,noatime,nodiratime,relatime,barrier=0,nobh /system
mount -o remount,noatime,nodiratime,relatime /data
swapon /dev/block/mmcblk0p3
So I got what I wanted and also learnt many things in the process.
Also experimented with /etc/sysctl.conf by adding vm.swappiness=50 (initially 70).
---------- Post added at 08:47 PM ---------- Previous post was at 08:26 PM ----------
Jinxxed said:
1. CWM will use TAR to make the backups so it's the same thing, to make a clone of the partition you'll need to use cc.
....
Click to expand...
Click to collapse
I backed up my Blade using the latest ClockworkMod 5.0.2.0 .
CWM backup up saying done, but with a message.
It said it did not backup up /sd-ext or external ext2/3/4 partition.
So I was worried to use app-to-ext scripts or programs.
Now I successfully used tar to backup sd-ext and restore it on a faster (class 4 to 6) sd card.
But I would like know if there is any new version of CWM for Blade 6.0.1.2 with or without touch, which backs up ext2/3/4 without any issues.
If yes, I would upgrade my CWM.
It saves time to use CWM, compared to tar.
Thanks in advance.
Hey there have been many videos and tutorials about swapping internal memory of S3, I wanted to ask if anyone could come up with a similar procedure for S4 as its internal memory is lower than what we got on S3 16gb version.
Ahmed1234568 said:
Hey there have been many videos and tutorials about swapping internal memory of S3, I wanted to ask if anyone could come up with a similar procedure for S4 as its internal memory is lower than what we got on S3 16gb version.
Click to expand...
Click to collapse
im after the same problem. i tried to create a script for it, but it only works if i run it from adb. running from Scriptmanager or similar does not work. script executes as normal, but no changes.
Code:
cd /
mount / -o remount,rw
umount /storage/extSdCard/
mount -t vfat -o umask=0000 /dev/block/vold/179\:9 /storage/sdcard0/
mount / -o remount,ro
also, i tried to use the external 2 internal sd card app from the market that is used for the s3, but after customisation (/dev/block/vold/179:9) it does not work.
Any update about working of scripts?
monalac said:
Any update about working of scripts?
Click to expand...
Click to collapse
Anyone tried this yet? http://forum.xda-developers.com/showthread.php?t=1857391&page=1
Does anyone konw if you can use this line in CM10.1 Galaxy W Build.prop
# Change to 0 to use internal SD memory 1.7 GB,default is 1 for external SD Card.
persist.sys.vold.switchexternal=1
please help , I need it urgently to change my s4 memory to external Sd
Anyone figured it out yet?
Have you tried running the script from init.d ?
I am also looking for my S4 to swap internal memory with sd card. Hope you continue your exploration on this w/ your phone. thx.
raw235 said:
im after the same problem. i tried to create a script for it, but it only works if i run it from adb. running from Scriptmanager or similar does not work. script executes as normal, but no changes.
Code:
cd /
mount / -o remount,rw
umount /storage/extSdCard/
mount -t vfat -o umask=0000 /dev/block/vold/179\:9 /storage/sdcard0/
mount / -o remount,ro
also, i tried to use the external 2 internal sd card app from the market that is used for the s3, but after customisation (/dev/block/vold/179:9) it does not work.
Click to expand...
Click to collapse
Hi!
What kernel do you use?
It only works with init.d support.
I am still trying...
Greetings,
Medizinmann
Gesendet von meinem GT-I9505 mit Tapatalk 2
i am curious so wait i have a SanDisk Ultra 64GB in front of me bought for the purpose to be the internal SD and i would like to know EXACTLY how to switch them and make it permanent if possible, so that i at every boot i wont have to do anything
Hi!
I tried this one...
(MOD)swap sdcard for Samsung s4
...it seems to work, but only with help of these to apps:
Init.d Toggler
Universal Init.d
I know it doesn't make much sense to run both, but this works for me...
Using Omega ROM V9.0 and KT-kernel
It should also work also with a kernel with init.d support, but I like KT.
Downside - you have to deactivate init.d support or the script to gain access to the internal SD-card again and you cannot realy use the internal card anymore.
So its not perfect - I am still looking for the real change - but all other scripts I found didn't work.
Greetings,
Medizinmann
Hello Medizinmann,
Do you know if the (MOD)swap sdcard for Samsung s4 also works with the samsung s4 active?
Please help
Please help sir i swapped my internal memory to external memory using swapsd application when i restart my phone it does not show internal nor external memory please help me i also reset it from setting.
i m using galaxy S4 clone
Working Swap Mod for S4
For all of you that want a working Memory Swap for S4 TW here you go: Link
The "11extsd2internalsd" mod is flying on other phones.
The script works on "Avstralia Deodex Mod by ZaYAC for XT907" w/initd support but not on CM.
Search "11extsd2internalsd" "emulated":
http://forum.xda-developers.com/showthread.php?p=39530248
Hit on emulated http://forum.xda-developers.com/showthread.php?p=39530248
Can someone write a flash able zip for this script?
I will upload the one from ZaYAC's "ROM" (in zip format only for the upload to take) NOT A FLASH ABLE ZIP http://forum.xda-developers.com/showthread.php?p=43220186#post43220186
Why can't someone do this for other roms on the M?
Code from the upload:
#!/system/bin/sh
#extsd2internalsd is a modification that allows to switch internal sd to external sd and viceversa. With this you can use default internal sd only for app storage #and the external sd to store all apps resource and all others stuff. The resut is a very big increase of installable apps on gs3
#All credits to Mattiadj of xda forum for the idea and script and to mike1986 for the cmw zip.
#xda thread url at
#Script Modified for U.S. Galaxy S3s by Zedomax at GalaxyS3Root.com to be compatible when sdcard is not inserted.
busybox mount -o remount,rw /
busybox mount -t vfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
busybox mount -t exfat -o umask=0000 /dev/block/vold/179:97 /mnt/sdcard
if busybox mount | busybox grep vold/179:97; then
busybox mount -o bind /data/media /mnt/external1
fi
End code
OK. I got the swap working for these stock base roms w/ initd : Rage and Flying Jelly (Rzr forums). Though it is not really a swap, the emulated portion of internal memory is rendered useless and you delete everything there. Then all storage is on your external now seen as storage0.
The Settings/Storage will judge things incorrectly now.
Also for the Flying J I had to # (COMMENT) out If statment so the then would execute.
Edit: works w/ o edits now (??).
Just be sure all media is backed up before you reboot.
Now you have all internal memory for apps.
THIS IS GREAT!!!
Thanks for that, I've been trying to mod the file for use on an Galaxy Grand Duos. It was driving me nuts. Now all I had to change was:
/mnt/external1 to /mnt/extSdCard and
/dev/block/vold/179:97 to /dev/block/vold/179:9
After rebooting, it was all fixed.
Notes
TK: more on the SD swap. Tip: wipe Dalvik and Cache from TWRP (with the Sd back in place) to fix problems if you have previously booted w/o the extSD. Just get a BIG SDcard. Basically internal SD memory is disabled (rather now used by your apps) . And Storage info is skewed.
Rosbif said:
...
Click to expand...
Click to collapse
See above
aviwdoowks said:
And Storage info is skewed.
Click to expand...
Click to collapse
I've noticed that. On the Galaxy Grand Duos, there's only 4Gb available for apps and even though I appear to be installing to the SD card, it shows up as the internal storage, so it looks like I'm going to hit the 4Gb limit with come of my larger apps still.
Sigh. Back to the drawing board...
Rosbif said:
I've noticed that. On the Galaxy Grand Duos, there's only 4Gb available for apps and even though I appear to be installing to the SD card, it shows up as the internal storage, so it looks like I'm going to hit the 4Gb limit with come of my larger apps still.
Sigh. Back to the drawing board...
Click to expand...
Click to collapse
No no. All is good. Or as good as it's going to get. Ignore the storage info rely on rootexplorer.
aviwdoowks said:
No no. All is good. Or as good as it's going to get. Ignore the storage info rely on rootexplorer.
Click to expand...
Click to collapse
I'll hold you to that!
Rosbif said:
I'll hold you to that!
Click to expand...
Click to collapse
I tried FolderMount & this is better, no maintenance.
I DO NOT KNOW WHY THIS IS NOT CATCHING ON MORE.
Stock based roms only w/initd.