[MOD]Swap external-internal SD Gingerbread Version - Samsung Galaxy SL i9003

i've ported file vold.fstab that was intended for Froyo version.
Tough the gingerbread version is a little bit different.
Before using this modified vold.fstab, i use the file for froyo, and i was unable to connect using usb storage mode at gingerbread. But now using this modified file, i'm able to connect using usb storage mode, flawlessly.
Here's the code:
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard1 /mnt/sdcard/external_sd 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = disable
discard = enable
mbr_policy = skip
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
And here's the file
View attachment vold.rar
http://www.4shared.com/file/ofMosTOk/vold.html?
Click to expand...
Click to collapse
Remember that i'm not responsible for everything caused by this file.
And if you like it, just press thanks.

Dude where is the file???
Sent from my GT-I9003 using XDA App

try that, my mistake

Good job but not the best idea as of now. Chances are your going to be reflashing in a few weeks or less anyways. Dev version is still glitchy so careful

thanks man nice work,here the attachment

Nice work man
Sent from my Galaxy SL using XDA Premium App

Nice work buddy.
Sent from my GT-I9003 using XDA App

thks man,been waiting for this

Misledz said:
Good job but not the best idea as of now. Chances are your going to be reflashing in a few weeks or less anyways. Dev version is still glitchy so careful
Click to expand...
Click to collapse
I enjoy using XXKP9 for everyday use, because it works flawlessly for me. No panic kernel, no SOD, both camera work well, even when i use touchwiz4 it's no problem at all. I think it's worth to be used while we are waiting for the final release.
bala242 said:
thanks man nice work,here the attachment
Click to expand...
Click to collapse
thank's for the help

There's word going around that there's another release in a weeks time. I'm eager to see the changes and what they cropped +.+. Nevertheless will be trying this going to reflash anyways
Sent from my GT-I9003 using Tapatalk

Misledz said:
There's word going around that there's another release in a weeks time. I'm eager to see the changes and what they cropped +.+. Nevertheless will be trying this going to reflash anyways
Sent from my GT-I9003 using Tapatalk
Click to expand...
Click to collapse
well, this will be useful too if GB released offically

So, you will not have usb issue after placing this file? in GB version?

lazyelf88 said:
So, you will not have usb issue after placing this file? in GB version?
Click to expand...
Click to collapse
yes, it won't be any issue

is it works other galaxy series pohones? for exmp. gio, ace?

tam35 said:
is it works other galaxy series pohones? for exmp. gio, ace?
Click to expand...
Click to collapse
Is galaxy ace has internal sd?i don't think so. Then it can't work

nurseto said:
i've ported file vold.fstab that was intended for Froyo version.
Tough the gingerbread version is a little bit different.
Before using this modified vold.fstab, i use the file for froyo, and i was unable to connect using usb storage mode at gingerbread. But now using this modified file, i'm able to connect using usb storage mode, flawlessly.
Here's the code:
Code:
## Vold 2.0 Generic fstab
## - San Mehat ([email protected])
##
#######################
## Regular device mount
##
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
## label - Label for the volume
## mount_point - Where the volume will be mounted
## part - Partition # (1 based), or 'auto' for first usable partition.
## <sysfs_path> - List of sysfs paths to source devices
######################
# internal sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun0/file
asec = enable
mbr_policy = overwrite
}
dev_mount sdcard1 /mnt/sdcard/external_sd 1 /devices/platform/mmci-omap-hs.1/mmc_host/mmc0
# externel sdcard
{
ums_path = /sys/devices/platform/usb_mass_storage/lun1/file
asec = disable
discard = enable
mbr_policy = skip
}
dev_mount sdcard /mnt/sdcard 1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
#end line ## keep this line
And here's the file
View attachment 643784
Remember that i'm not responsible for everything caused by this file.
And if you like it, just press thanks.
Click to expand...
Click to collapse
Hi There, just copy & paste to GB I9003 will do? any special command/step require?
Thanks.

Can anyone provide the original version of vold.fstab?
I forgot to make a buckup
P.S. I'm using XXKPE and SD can't be detected even i've formatted the SD card as FAT32 in card reader.

By the way, I finally made it with the version below from a chinese forum
Sadly, there are USB issues.

Finally I made it with your attachment! But what confused me is that I can only successfully apply the new vold.fstab by the "adb push" command, anytime i replace it by root explorer it doesn't work.
Anyway, thank you very much

calvinljh said:
Hi There, just copy & paste to GB I9003 will do? any special command/step require?
Thanks.
Click to expand...
Click to collapse
Yes, there's no other step required. That's assuming your phone is already rooted.

Related

[ROM Makers] xVold

this is repost of thread I've created here. Please post all related messages there. TIA
Hi!
I'd like to share my project called xVold:
xVold
What is xVold?
Vold is Android volume management daemon.
xVold is extended version made to help in "native" (aka Magpie or no-script) Apps2SDExt implementation created by Firerat and me.
xVold can mount Ext4 partition at /sd-ext and create all needed directories.
Here is an example of vold.fstab that will mount sd-ext at boot time:
Code:
## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>
dev_mount sdcard /mnt/sdcard auto /devices/platform/goldfish_mmc.0 /devices/platform/msm_sdcc.2/mmc_host/mmc1
## Format: ext_mount <label> <mount_point> <part> <sysfs_path1...>
ext_mount sdcard /sd-ext 2 /devices/platform/msm_sdcc.2/mmc_host/mmc1
(Please note that one can safely skip "/devices/platform/goldfish_mmc.0 as it's intended for emulator and not real device)
xVold is also capable of bind mounting /data/data to /sd-ext/data (which is usefull if your target phone is similar to HTC Dream). This binding is done only if
Code:
ro.data2sdext=1
property is in build.*.prop file
Current source tree is available on GitHub. Please use master branch.
I've attached binary that should work with CM6 based ROMs.
love it
not had a proper look yet, but I love it anyway
Need to add all the is "sd-ext mounted logic" to Magpie, so I'm sure this will make that easier
I look forward to it in my gingerbread build at some point.
btw do you know if the user gets a notification if the ext partition exists but fails to mount? (A required feature for my support sanity.. just wondering if its out of box or something for my list of things to do if I ever get around to it..)
Firerat said:
love it
not had a proper look yet, but I love it anyway
Click to expand...
Click to collapse
Need to add all the is "sd-ext mounted logic" to Magpie, so I'm sure this will make that easier
Click to expand...
Click to collapse
I kinda started doing it but got distracted while trying to simplify logic in DefContainer ;o) Now I'd like to get Settings to show sd-ext (seems faster to do than digging in framework again ;o) ) and than get back to framework.
ezterry said:
I look forward to it in my gingerbread build at some point.
Click to expand...
Click to collapse
I'd say sooner the better Just to avoid all the hassle with scripts and some legacy support. If you don't use ext_fs it's almost drop-in replacement (and it works also when init.d script mount sd-ext before vold starts). Just this morning I came to think that mounting sd-ext at boot should be property driven too. Just I'd like to have some bigger agreement on used property namespace. I was thinking about ro.vold.* and (maybe) sys.vold for runtime report.
btw do you know if the user gets a notification if the ext partition exists but fails to mount? (A required feature for my support sanity.. just wondering if its out of box or something for my list of things to do if I ever get around to it..)
Click to expand...
Click to collapse
There will be none. Vold is not really meant to advertise it. It starts too early in the bootup and there would be noone to listen.
Framework talks to vold and might ask it if sd-ext is mounted or why it wasn't.
Early mounting of /sd-ext is mainly for tricks like data2sdext. I believe that getting apps only from sd-ext would be similar to getting apps from FAT (framework asks sdcard to be mounted then issues "asec list")
xVold 2.1.3
I've updated first post in http://forum.xda-developers.com/showthread.php?t=935988 with info on xVold 2.1.3

Htc sensation not start and boot

Hi,
friends
i have installed AOKP_RMS_DIANXIN_HYBRID_BUILD_34 rom and it works fine. But today i try to erase sd card and then try to start phone in recovary then phone switch off and now phone nt starting. I try to remove battarey then try to start but nt starting. Even nt show orange light during charger connect. It seems like phone is dead . So please help me friends.
Thanking u all in advance
Does your battery provide voltage if you measure it? Could be that it somehow died
Sent from my HTC Sensation using XDA
Uh oh.
Do you have handy the .zip of the ROM still? If so, open it up and look at the file /system/etc/vold.fstab if it contains:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host /devices/platform/msm_sdcc.1/mmc_host
instead of:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc1
Then basically what you've just done (unwittingly) is wiped the phones eMMC. It is now useless.
Rusty! said:
Uh oh.
Do you have handy the .zip of the ROM still? If so, open it up and look at the file /system/etc/vold.fstab if it contains:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host /devices/platform/msm_sdcc.1/mmc_host
instead of:
Code:
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host/mmc1
Then basically what you've just done (unwittingly) is wiped the phones eMMC. It is now useless.
Click to expand...
Click to collapse
Yes Your right i seen in this file and it has same code
like
dev_mount sdcard /mnt/sdcard auto /devices/platform/msm_sdcc.3/mmc_host /devices/platform/msm_sdcc.1/mmc_host
..
so now what is solution for it .. bro please help me it just 5 month old phone .
You can't do a thing, it's dead. You'll have to send it back to HTC and get it repaired under warranty.
I installed custom rom so is it come under warranty?
There is no evidence that you installed a custom ROM, there is no evidence of anything anymore, the phone is now completely empty.
What HTC will make of that I don't know, it could be that it's the equivalent of a dead motherboard. Some other people had the same problem after formatting the SD card, but I don't know what they did about it.
All you can do is call them and hope. Don't mention the custom ROM though, that would be silly.
hi
is there anyother way to fix it , rather go to htc care ?
drshail23 said:
hi
is there anyother way to fix it , rather go to htc care ?
Click to expand...
Click to collapse
What happen is the device formated the internal NAND memory so you now have no bootloader. With no bootloader your device can not boot or be flashed. The only fix I s to replace the mainboard or JTAG.
What about the unbricking project?
primekrieger said:
What about the unbricking project?
Click to expand...
Click to collapse
It's not bricked, it's unuseable, send it to htc, and 99% you will get another one (or replaced motherboard). There is no way to see that you rooted or anything.
this is similar to my phone problem... I only clean the pin connector in phone and battery and expecially in the phone i push in and out the four pin connector and repeat that for some minutes ..... sorry for my bad english i hope you understand
look at this thread at post 5 and 6
http://forum.xda-developers.com/showthread.php?p=42186812#post42186812

[GUIDE][MOD][ICS] Swap internal and external storage

Hi All,
I managed to modify the vold.fstab in ICS to swap internal memory and external sdcard. Attached is a flashable zip file.
I actaully made a lot of changes through Root Explorer before creating this zip - so I am not exactly sure if it will work for everyone. But it most definitely works for me now. Please try and let me know.
Note:- Dont forget to take a backup of vold.fstab from /system/etc folder.
I wont go into complete details now. For more information on what it really is, below is a link to similar mod for Ginderbread. Credit to Pudup.
http://forum.xda-developers.com/showthread.php?t=1517974
FLASH AT YOUR OWN RISK !!
I am not sure if I posted this in the right section but its more of a guide ..
Here the change that was required, hit it by pure co-incidence while trying out several combinations (Don't know why this particular way worked, but who cares)
change
dev_mount sdcard /mnt/sdcard 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
to
dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
And
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
to
dev_mount sdcard1 /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
Thats all that was required
Title seems bit confusing, it will be better and clear if stated as *swap internal and external storage*
Sent from my CM7.2 powered Galaxy R using Tapatalk 2.
xlm13x said:
Title seems bit confusing, it will be better and clear if stated as *swap internal and external storage*
Sent from my CM7.2 powered Galaxy R using Tapatalk 2.
Click to expand...
Click to collapse
Title changed as requested
Anyone tried it yet? Does it work fine for you guys?
parajsinghal said:
Anyone tried it yet? Does it work fine for you guys?
Click to expand...
Click to collapse
Yes it is working perfectly.
Thanks !!
Sent from my GT-I9103 using xda app-developers app
I tried it too. works fine so far.
explorer, task manager, Titanium backup all are recognizing the change.
pudup said:
Alright. Strange issue here. This may or may not be the cause.
I can't mount sdcard on CWM 4.0.0.2
I could with the gb swap on GB.
Can other use memory card on clockwork mod?
And never mind.... I flashed CWM 5.5 and its fine now
"I like spelling my name backwards"
Click to expand...
Click to collapse
Yes, I have been on CWM 5.5 all the way and never faced this issue ... But is it really happening on 4.0.0.2? Will check at my end too and add it to OP if that is the case. And ofc I will add instructions to backup data too. Its just that I have been a little busy lately. I hope to get some time over the weekend
My memory is swapped as i'm on Neo Rom v3 which is having this feature by default.
Will my sd card gets wiped if I wipe data via CWM or if I do a factory reset?
How to swap memory again to the default mode without flashing another Rom ?
Sent from my Galaxy Royale using xda-developers app
NeO RoM v3 - ardatdat's kernel 1.8.3
parajsinghal said:
hi all,
i managed to modify the vold.fstab in ics to swap internal memory and external sdcard. Attached is a flashable zip file.
I actaully made a lot of changes through root explorer before creating this zip - so i am not exactly sure if it will work for everyone. But it most definitely works for me now. Please try and let me know.
Note:- dont forget to take a backup of vold.fstab from /system/etc folder.
I wont go into complete details now. For more information on what it really is, below is a link to similar mod for ginderbread. Credit to pudup.
http://forum.xda-developers.com/showthread.php?t=1517974
flash at your own risk !!
I am not sure if i posted this in the right section but its more of a guide ..
Here the change that was required, hit it by pure co-incidence while trying out several combinations (don't know why this particular way worked, but who cares)
change
dev_mount sdcard /mnt/sdcard 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
to
dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
and
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
to
dev_mount sdcard1 /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
thats all that was required
Click to expand...
Click to collapse
dude you are a godddddd! I worship you from now on!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
parajsinghal said:
Hi All,
I managed to modify the vold.fstab in ICS to swap internal memory and external sdcard. Attached is a flashable zip file.
I actaully made a lot of changes through Root Explorer before creating this zip - so I am not exactly sure if it will work for everyone. But it most definitely works for me now. Please try and let me know.
Note:- Dont forget to take a backup of vold.fstab from /system/etc folder.
I wont go into complete details now. For more information on what it really is, below is a link to similar mod for Ginderbread. Credit to Pudup.
http://forum.xda-developers.com/showthread.php?t=1517974
FLASH AT YOUR OWN RISK !!
I am not sure if I posted this in the right section but its more of a guide ..
Here the change that was required, hit it by pure co-incidence while trying out several combinations (Don't know why this particular way worked, but who cares)
change
dev_mount sdcard /mnt/sdcard 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
to
dev_mount sdcard /mnt/sdcard auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
And
dev_mount sdcard1 /mnt/sdcard/external_sd auto /devices/platform/sdhci-tegra.2/mmc_host/mmc1
to
dev_mount sdcard1 /mnt/sdcard/external_sd 4 /devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0 encryptable_nonremovable
Thats all that was required
Click to expand...
Click to collapse
im tottally BUMMED. turns out the 32 gb i used for this was a FAKE!!! its says its a 32 gb but once you add data, it gets erased or becomes unreadable. so my question is how do you revert to the original default sdcard settings?
---------- Post added at 11:56 AM ---------- Previous post was at 11:24 AM ----------
symax said:
im tottally BUMMED. turns out the 32 gb i used for this was a FAKE!!! its says its a 32 gb but once you add data, it gets erased or becomes unreadable. so my question is how do you revert to the original default sdcard settings?
Click to expand...
Click to collapse
nvm, i just relpaced the vold in the rar and flashed it, now im back to being a 4gb'er ;(
symax said:
dude you are a godddddd! I worship you from now on!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Click to expand...
Click to collapse
Thanks for kind words buddy but you got to be kidding me
Its just a mod that already existed for gb. I just manged to play around and bring it to our phone for ICS. But yes you'll definitely find some devs whom we can actually worship on this forum. They do a great job.
Btw, sad to hear your sdcard turned out to be a fake. Thats a new for me. Never heard that for memory cards
Sent from my GT-I9103 using xda app-developers app
Please someone give me stock ics vold file. I used this vold and now i m not able to download game data for any game.
gitanshu said:
Please someone give me stock ics vold file. I used this vold and now i m not able to download game data for any game.
Click to expand...
Click to collapse
Here's the stock vold. Just rename from vold.fstab.txt to vold.fstab before using it. Anyway, what issue are you facing? Are you using CWM 5.5.0..4. Some users reported issues with older CWM. I am not much of a gamer myself. Do other users also face this issue?
When i try to download game data, game says you need 0 MB more space to download data but at that time, more than 2 GB is free.
Sent from my GT-I9103 using xda app-developers app
done, thanks
I didn't want to create another thread for this but, is it possible to physically swap the internal flash from one phone to another. I crush a my gnex and would like to pull some stuff off the old one. just curious
I'll try it know, just after coping everything to external sd. Will confirm if it works.
Cheers
Sent from my I9103
Will it work with Angeeks?
Sent from my GT-I9103
khpatel4991 said:
Will it work with Angeeks?
Sent from my GT-I9103
Click to expand...
Click to collapse
Yup
HiT ThE ThnX BuTTon If I Help U
Has worked perfectly after copying all the internal card to the external.
Great!
Sent from my I9103

[script] 98swapon by -FuFu-

Hi there,
here now the official thread for my 98swapon script...
Latest Version: V11
Download: http://droid-world.bplaced.net/index.php?cat=Downloads&page=Scripte
there you will always find the latest version
Infos about the Script you can find here: http://droid-world.bplaced.net/index.php?cat=Milestone&page=Swap Aktivieren
but its German
here a translation using google translate (so please excuse the bad english, but i think my english is not much better then google translate)
Simply download the latest zip and copy to /sdcard/Open Recovery/updates and then run in the Open Recovery by apply update.
Best done previously a Nandroid backup of your current system, which you can import in case of problems again.
UPDATE
As of Version 9, there is on the SD card, the file swapon.conf with which you can adjust the different variables of the script, so it's no longer necessary to directly edit the script.
SWAPSIZE is the amount of swap in MB
If you put SWAPINT to 1, the internal memory is used for swap.
Swapdev determines which internal partition to use, possible / are cache and / data, all other partitions were too small to use it for swap.
RESETSWAP at 1 and at every reboot the swapfile is created, what is nützlch when changing SWAPSIZE.
SWAPIONLY set to 1 and it will only set the value for swappiness with boats, the rest are ignored.
For the rest of the values ​​consulted with Google, I can not say at all what may.
To edit the swapon.conf please use Notepad + + or it may cause problems.
Click to expand...
Click to collapse
i only test the script on cm7 and there it works fine...
if you have problems or find some issues, please let me know...
please post your swapon.log from /cache if you have a problem, and also your swapon.conf from sdcard.
changelog
V11
- add dos2unix to script, so that is now also possible to edit the swapon.conf with windows editor
V10
- add disable funktion to the script
- script now work on cm7 and cm10
Works perfectly on CM10.
Erovia said:
Works perfectly on CM10.
Click to expand...
Click to collapse
Did you try internal memory settings? It doesn't work for me on CM10.
main problem is, that the swapon.conf will not be found on boot...
so i need the mount points on bootup to see if the sdcard will be mount and for that i have line 19 in the script only thing to do is to delete the "##" to activate the line...
you also can edit the line directly in the zip befor apply it via OR apply update...
but if there still "/sdcard/swapon.conf not found..." in /cache/swapon.log there is something wrong...
may sdcard will not be mount on boot
or
there is no swapon.conf an sdcard
koodiifin said:
Did you try internal memory settings? It doesn't work for me on CM10.
Click to expand...
Click to collapse
Nope. I have serious concerns about using the internal memory as swap.
@Erovia
did you also have "/sdcard/swapon.conf not found..." in /cache/swapon.log?
if so i think its a mounting issues on cm10
I think you misunderstood me.
I have concerns about the idea of swapping on the internal memory, not problems with the script itself.
i understand you
i only want to know if the script found the swapon.conf on sdcard
Oh, in that case I misunderstood you.
You are right. It seems the config file is not found on CM10.
(Maybe if you use /mnt/sdcard/swapon.conf ? I know it is basically the same, I just dont have any other idea. Or maybe CM10 mounts the sdcard after the script runs? )
i add a mount command to the script, for cm7 it works fine but i think on cm10 it wont work...
but i dont kwno why...
for me it will be a help if you also delete the "##" on line 19 in the 98swapon script, the in the swapon.log all mountpoints will be shown....
on line 18 the script will try to mount the sdcard, but maybe on cm10 the mountpoint is different to cm7
i think i must flash cm10 this weekend to test it
I guess I found the source of problem.
It seems that sdcard is not being mounted. (although sd-ext is mounted)
on cm7 also the sdcard is not mountet on boot, first i try to mount with "mount /sdcard" but it wont work so i try "mount -t vfat -o rw,dirsync,nosuid,nodev,noexec,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,shortname=mixed,utf8 /dev/block/vold/179:1 /sdcard" and that works on cm7, after that the sdcard is mount on /mnt/sdcard and /sdcard
but i think that not work for cm10, but dont know way, maybe the sdcard will be mount but not on /sdcard.
for that i have add line 19 to the script to check that (for debugging its helpfull, but for release i comment out that line) so i have all mountpoint in the swapon.log to see what is mountet and where...
so i think i must flash cm10 to test it here to see where is the problem and its the fastes way for me
as i know the sdcard will not be mount on boot on no rom, cause there is no need to, the sdcard will be mount from android when the system is load
Wish I could help more, but I'm not really an expert in this kind of stuff.
An easy "workaround" would be if the config file was placed on the sd-ext as it is mounted properly. I know then it would be not as easy to edit it (for windows users) but it should work.
if i find no other way, i will add a option to use also /data and /sd-ext for the config file
at the moment i flash cm10 on my second device for testing
maybe its just a mountpoint issues
I think I found a solution.
I edited row #17 to this:
mount -t vfat /dev/block/vold/179:1 /sdcard >>$SWAPLOG
Basically I just deleted the parameters.
The log shows no error and /mnt/sdcard is mounted properly.
I ran some test and it doesn't work.
im testing
now i have 4 mount commands in the script an one of them work ^^ now i must find the one that work
i think i found the right command
maybe you can test it and confirme?
use
Code:
mount -t vfat /dev/block/mmcblk0p1 /sdcard
here it works, i reboot now 10 times and on every boot it mounts sdcard
if you confirm, i will update the script so that all can be test it ^^
now i just must test if it also works for cm7
Confirmed.
Works fine. :good:
Great job, again.
okay so now the latest version ist V10 ^^
i edit the first post and also uploaded the new script to my homepage
http://droid-world.bplaced.net/load.php?file=download/scripts/98swaponV10or.zip
it also works on cm7
now i have 1 device on cm7 and one on cm10 and btw, cm10 with 32mb swap on cache and sslauncher may works smooth so i stay on cm10 and test some days
Hey fufu I'm trying to enable internal memory swap with your new script. But now I'm getting a new error in the log.
Here's my config:
## 98swapon config file
##
## set to 1 to disable swap on boot
DISABLE=0
## set swapfile size in MB
## default setting is 32 for 32mb
SWAPSIZE=32
## set to 1 to use intern memory for swap
SWAPINT=1
## settings for use swap on intern memory
## use /cache or /data for swap
SWAPDEV=/cache
## recreate swapfile on every boot
## set to 1 to recreate swapfile on every boot, may be helpfull if you change SWAPSIZE
RESETSWAP=0
## set to 1 to set only swappiness value all other values will be ignored
SWAPIONLY=0
## vm settings
## swappiness
SWAPPINESS=15
## dirty radio
DRADIO=80
## dirty backgriound radio
DBRADIO=30
## vfs cache pressure
VFSCP=10
## dirty expire centisecs
DEC=1000
## dirty writeback centisecs
DWC=1000
## laptop mode value 0 or 1
LAPTOPM=0
## oom kill allocating task value 0 or 1
OOMKAT=1
## panic on oom value 0 or 1
POOOM=0
Here's the log:
please set DISABLE in swapon.conf to 0 or 1
swap disabled in case of wrong DISABLE value
Sent from my Milestone using xda app-developers app

[Q] iRola DX752 Internal SD SWAP External SD [HELP]

Okay, so this might get a bit lengthy, and i will post my exact vold.fstab file a little later (currently cannot because i am at work), first of all yes my system is rooted (first thing i did when i bought it.) id like to use the vold.fstab edit method if possible as i can control the entire outcome and it is not left up to a piece of software that can become currupted.
So the issue is i swap the sdcard & external_sd of the following: (note this was copied offline, not my exact but is damn near close, mine has those three, only thing im unsure if it is correct is the rk29part.)
dev_mount flash /mnt/sdcard auto /devices/virtual/mtd/mtd9/mtdblock9
dev_mount sdcard /mnt/external_sd auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
dev_mount udisk /mnt/usb_storage auto /devices/platform/usb20_host/usb /devices/platform/usb20_otg/usb
so it looks like:
dev_mount flash /mnt/external_sd auto /devices/virtual/mtd/mtd9/mtdblock9
dev_mount sdcard /mnt/sdcard auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
dev_mount udisk /mnt/usb_storage auto /devices/platform/usb20_host/usb /devices/platform/usb20_otg/usb
and i reboot, and i CAN download apps to my external SD BUUUUUT the real issue is, after i install the apps and then reboot, none of the apps i installed are showing up. and i have done this mutiple times, normally i am not one to ask for help, but i have scoured the net and it seems noone is having a similiar issue, so i joined these forums for this specific question....please help?
Shinytish said:
Okay, so this might get a bit lengthy, and i will post my exact vold.fstab file a little later (currently cannot because i am at work), first of all yes my system is rooted (first thing i did when i bought it.) id like to use the vold.fstab edit method if possible as i can control the entire outcome and it is not left up to a piece of software that can become currupted.
So the issue is i swap the sdcard & external_sd of the following: (note this was copied offline, not my exact but is damn near close, mine has those three, only thing im unsure if it is correct is the rk29part.)
dev_mount flash /mnt/sdcard auto /devices/virtual/mtd/mtd9/mtdblock9
dev_mount sdcard /mnt/external_sd auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
dev_mount udisk /mnt/usb_storage auto /devices/platform/usb20_host/usb /devices/platform/usb20_otg/usb
so it looks like:
dev_mount flash /mnt/external_sd auto /devices/virtual/mtd/mtd9/mtdblock9
dev_mount sdcard /mnt/sdcard auto /devices/platform/rk29_sdmmc.0/mmc_host/mmc0
dev_mount udisk /mnt/usb_storage auto /devices/platform/usb20_host/usb /devices/platform/usb20_otg/usb
and i reboot, and i CAN download apps to my external SD BUUUUUT the real issue is, after i install the apps and then reboot, none of the apps i installed are showing up. and i have done this mutiple times, normally i am not one to ask for help, but i have scoured the net and it seems noone is having a similiar issue, so i joined these forums for this specific question....please help?
Click to expand...
Click to collapse
I just bought mine....how did you root yours? I've looked all over the net...nothing.
Yes please tell how you rooted it. Secondly does the stock kernel support apps2sd?
Easy Root
So this ones easy, after some research I found out that the iRola was previously known as the Kocasco m752 which is built the same as the m760 so I just followed this guide here.
W w w (.) androidtablets.net/forum/attachments/ice-cream-sandwich/8946d1352809516-rooting-kocaso-m760-how-root-kocaso-760 (.) pdf
Shinytish said:
So this ones easy, after some research I found out that the iRola was previously known as the Kocasco m752 which is built the same as the m760 so I just followed this guide here.
W w w (.) androidtablets.net/forum/attachments/ice-cream-sandwich/8946d1352809516-rooting-kocaso-m760-how-root-kocaso-760 (.) pdf
Click to expand...
Click to collapse
has rooting it made any difference?
gmfirebird said:
has rooting it made any difference?
Click to expand...
Click to collapse
for me yes, running AnTuTu benchmark stock for me ran around 5100 from what i remember (i'll know more when my replacement shows up, first one broke 6 days after getting it), after removing a lot of bloatware from it and running it again it gave a 7166.
mind you that it has 4GB share internal, part for the O.S., part for the image recovery file, part for user space, and part for the system recovery.
the more apps you have on it, the slower this thing will be. it only has a single core 1.2GHz Rockchip rk2926

Categories

Resources