[HowTo] Use swap to get much more performance ! - Samsung Galaxy Gio GT-S5660

What is Swap?
Linux divides its physical RAM (random access memory) into chucks of memory called pages. Swapping is the process whereby a page of memory is copied to the preconfigured space on the hard disk, called swap space, to free up that page of memory. The combined sizes of the physical memory and the swap space is the amount of virtual memory available.
Swapping is necessary for two important reasons. First, when the system requires more memory than is physically available, the kernel swaps out less used pages and gives memory to the current application (process) that needs the memory immediately. Second, a significant number of the pages used by an application during its startup phase may only be used for initialization and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache.
However, swapping does have a downside. Compared to memory, disks are very slow. Memory speeds can be measured in nanoseconds, while disks are measured in milliseconds, so accessing the disk can be tens of thousands times slower than accessing physical memory. The more swapping that occurs, the slower your system will be. Sometimes excessive swapping or thrashing occurs where a page is swapped out and then very soon swapped in and then swapped out again and so on. In such situations the system is struggling to find free memory and keep applications running at the same time. In this case only adding more RAM will help.
Linux has two forms of swap space: the swap partition and the swap file. The swap partition is an independent section of the hard disk used solely for swapping; no other files can reside there. The swap file is a special file in the filesystem that resides amongst your system and data files.
I want that on my Phone, how to do that?
Okay, here goes the real story. Since Android is Linux, that would be possible.
What is needed:
- Fast (Class 10) Micro-SD Card, if you dont have class 10, class 4 would be great too..
- CWM or Partitioning software
- Root (of course )
- Terminal Emulator app
- Kernel with swap and init.d support (for example our CM7, 9, 10 and 10.1 ROM)
- Root Exploring app (for example Root Browser or Root Explorer)
Steps:
1. Partition your SD Card, Ask Google how to do that. Make new Swap partition, or you want SD-ext too..
2. Open Terminal Emulator, do:
Code:
su
fdisk -l dev/block/mmcblk0
3. You'll see something like this:
Code:
/dev/block/mmcblk0p3 1861 1924 514080 82 Linux swap
4. Do the following code, change with your exact swap partition:
Code:
su
swapon /dev/block/mmcblk0p3
*change 3 with yours
5. Now you can check your swap partition by doing:
Code:
free
Now we create the script to do that automatically at boot
1. Open Root exploring apps, head to /system/etc/init.d
2. Make a new file, named 05swap
3. Edit that file, copy this up:
Code:
#!/system/bin/sh
echo Swap enabled
swapon -a
4. Save it and change the permission to :
V V V
V V V
V V V
*tick all the boxes (rwxrwxrwx)
5. Now head to /system/etc and create new file named fstab
6. Open it and enter this:
Code:
/dev/block/mmcblk0p3 swap swap
*remember, change the 3 with yours
Now we set the swappiness value
*the normal value is 60, but you can change to what number you want (max 100). Higher may help to improve overall performance, while setting it to lower may increase interactivity and overall stability.
1. Do this on Terminal Emulator
Code:
su
echo vm.swappiness=60 >> /system/etc/sysctl.conf
2. Reboot and you're done.
Thanks to:
- Linux.com (for the swap definitions)
- Segnale007 (for the swap how to)

First! :laugh: No just kidding. Great guide! Maybe you should cover the Swapper 2, it does it without any second partition.

X-zone said:
First! :laugh: No just kidding. Great guide! Maybe you should cover the Swapper 2, it does it without any second partition.
Click to expand...
Click to collapse
Swapper2 doesn't working fine on my phone lol

I get a error on your first step
"fdisk: can't open 'dev/block/mmcblk0': No such file or directory"

EvilKing009 said:
I get a error on your first step
"fdisk: can't open 'dev/block/mmcblk0': No such file or directory"
Click to expand...
Click to collapse
u need to partition ur sdcard first

simple and exlcellent
Thank you very much for this. :good:

AngSanley said:
u need to partition ur sdcard first
Click to expand...
Click to collapse
EvilKing009 said:
I get a error on your first step
"fdisk: can't open 'dev/block/mmcblk0': No such file or directory"
Click to expand...
Click to collapse
Is because the command does not use system path, it assumes you're in '/'.
Just use
fdisk -l /dev/block/mmcblk0
Sent from my GT-S5660 using xda app-developers app

AngSanley said:
Now we set the swappiness value
*the normal value is 60, but you can change to what number you want (max 100). Higher may help to improve overall performance, while setting it to lower may increase interactivity and overall stability.
1. Do this on Terminal Emulator
Code:
su
echo vm.swappiness=60 >> /system/etc/sysctl.conf
Click to expand...
Click to collapse
I can't find this file! I am in JellyBean 4.2.2, maybe its different file?
/system/etc/sysctl.conf

blazzer12 said:
I can't find this file! I am in JellyBean 4.2.2, maybe its different file?
/system/etc/sysctl.conf
Click to expand...
Click to collapse
Create it, new file
Btw i say do it in the terminal emulator, its easier
Sent from my GT-S5660 using xda premium

Can Plead
Please provide a zip file
To install the Recovery
Thank

$ su
#
# fdisk -l dev/block/mmcblk0
Disk dev/block/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Device Boot Start End Blocks Id System
dev/block/mmcblk0p1 129 195840 6262784 b Win95 FAT32
Partition 1 does not end on cylinder boundary
dev/block/mmcblk0p2 195841 228608 1048576 83 Linux
Partition 2 does not end on cylinder boundary
dev/block/mmcblk0p3 228609 242464 443392 82 Linux swap
Partition 3 does not end on cylinder boundary
# free
total used free shared buffers
Mem: 285732 277168 8564 0 2584
-/+ buffers: 274584 11148
Swap: 443388 63756 379632
# swapon /dev/block/mmcblk0p3
swapon: /dev/block/mmcblk0p3: Device or resource busy
# free
total used free shared buffers
Mem: 285732 279088 6644 0 2592
-/+ buffers: 276496 9236
Swap: 443388 63240 380148
# swapon /dev/block/mmcblk0p3
swapon: /dev/block/mmcblk0p3: Device or resource busy
#
What is wrong? Is swap partition already on? I'm on M'rage rom.
Sent from my GT-S5660 using xda app-developers app

Excellent work man! :good:
It works perfect, but you should make flashable zip file for this work

i made flashable zip but at the moment dont have phone.. is this ok?View attachment swap.zip

doctor-who said:
i made flashable zip but at the moment dont have phone.. is this ok?View attachment 2880098
Click to expand...
Click to collapse
Anyone that tried this that can confirm if it works?
thanks

i am using Joyos 2. 3. 7. (Android)rom and this is what i get flashing the swam.zip...
E:error in storage/sdcard0/swap.zip
(status 0)
installation aborted
also adding the command su
echo vm.swappiness=60 >> /system/etc/sysctl.conf
cannot create /system/etc/sysctl.conf read-only file system
#
even after adding the files etc/sysctl.conf (with the aromat zip file manager) with read wright permission

i am using
Joyos 2. 3. 7. (Android)rom
Sent from my GT-S5660 using XDA Free mobile app

devrieshh said:
Joyos 2. 3. 7. (Android)
Sent from my GT-S5660 using XDA Free mobile app
Click to expand...
Click to collapse
WIll the flashable zip work with this rom?
p.s. - ANy change you can suggest another way for increasing the internal memory of the Gio?

Not yet,
See the result with flashing It,
E:error in storage/sdcard0/swap.zip
(status 0)
installation aborted
this happend also with the mmb. 7.2 rom
perhaps those roms havent- Kernel with swap and init.d support
things you can do,make an extra ext4 partition so you can put apps on it with special appstomemorycard programms see forum somewere
Sent from my GT-5660 using XDA Free mobile app

devrieshh said:
Not yet,
See the result with flashing It,
E:error in storage/sdcard0/swap.zip
(status 0)
installation aborted
this happend also with the mmb. 7.2 rom
perhaps those roms havent- Kernel with swap and init.d support
things you can do,make an extra ext4 partition so you can put apps on it with special appstomemorycard programms see forum somewere
Sent from my GT-5660 using XDA Free mobile app
Click to expand...
Click to collapse
thanks for the help and will try that solution. found a thread here with some interesting tips, so I'll have a go from there.

do everything manualy and will work... but i didnt felt some better ezxeprience with swap on my devixe with class 10 sd card... just read/write became decreased after few days using swap

Related

[HOWTO] Optimal ext4 mount options

Hi guys,
Now that several lagfixes are using the ext4 filesystem, perhaps we should look at optimizing ext4 for performance and lifespan of the flash memory.
One of the main things we can change is the journaling method to data=writeback. This should reduce writes and improve performance at a slight expense of reliability. Quote:
"In data=writeback mode, ext4 does not journal data at all. This mode provides a similar level of journaling as that of XFS, JFS, and ReiserFS in its default mode - metadata journaling. A crash+recovery can cause incorrect data to appear in files which were written shortly before the crash. This mode will typically provide the best ext4 performance."
One explanation here:
http://blog.smartlogicsolutions.com...ions-to-improve-ext4-file-system-performance/
Reference here:
http://git.kernel.org/?p=linux/kern...02ac5fa36d7f4c07856fe9cf89391e08986f7;hb=HEAD
HOW TO
1. Change the default mount option of the partition using tune2fs. You need to use a version of tune2fs that supports ext4, the one in busybox 1.17 does NOT. A working version is attached to this post.
- Push the tune2fs file to the phone's SD CARD:
adb push tune2fs /sdcard/
- Copy the tune2fs file to /data/
adb shell
su
cp /sdcard/tune2fs /data/
Now change the options:
/data/tune2fs -o journal_data_writeback /dev/block/mmcblk0p2
To verify:
/data/tune2fs -l /dev/block/mmcblk0p2
Look for the line that says:
Default mount options: journal_data_writeback
* Repeat the above for all other ext4 partitions.
It should take effect after a reboot. The next time it will be mounted automatically with data=writeback. You might have to do the tune2fs settings and reboot twice to get it to stick - I'm not sure why, but I had to.
You can verify this using the mount command:
# busybox mount | grep ext4
/dev/block/mmcblk0p2 on /data type ext4 (rw,noatime,barrier=0,nobh,data=writeback,noauto_da_alloc)
/dev/block/stl10 on /dbdata type ext4 (rw,noatime,barrier=0,nobh,data=writeback,noauto_da_alloc)
2. In addition to that, you can also edit the mount options to include the nobh option, which is a further minor optimization for data=writeback mode.
I personally use the options noatime,barrier=0,nobh,data=writeback. Voodoo already uses some of them like noatime and barrier=0.
I do it using a startup script (you need to know how to use/modify a startup script), with the following commands:
for k in $(busybox mount | grep ext4 | cut -d " " -f3)
do
sync
busybox mount -o remount,barrier=0,nobh $k
done
EDIT: Attached tune2fs that supports ext4. Works on Froyo kernels with ext4 support.
I posted the same request in another thread and i though it will be better if i do it here.
I found e2fsprogs-ext4.zip, but not sure if this is the correct zip.
it will be great if you can provide it here.
For others willing to try it, please change the /dev/block/mmcblk0pX to whatever you are using now.
my system is using /dev/block/mmcblk0p4
s88 said:
I posted the same request in another thread and i though it will be better if i do it here.
I found e2fsprogs-ext4.zip, but not sure if this is the correct zip.
it will be great if you can provide it here.
Click to expand...
Click to collapse
I've attached it here, it worked for me with the Universal Lagfix Froyo kernel that supports ext4.
hardcore said:
I've attached it here, it worked for me with the Universal Lagfix Froyo kernel that supports ext4.
Click to expand...
Click to collapse
And did you notice any improvements with new mount options?
busybox 1.17.1 says invalid option -o on tune2fs
==
i need the version attached to this thread, busybox version only supports ext2 and ext3
danzel said:
busybox 1.17.1 says invalid option -o on tune2fs
Click to expand...
Click to collapse
copy tune2fs into /system/xbin and chmod 755
Write back will cause data loses on crashes and it will increase read time on read miss since you need to write the block back to the main mem before reading a new block.
how & where do i edit mount options?
mdalacu said:
And did you notice any improvements with new mount options?
Click to expand...
Click to collapse
I didn't do any benchmarks, but in theory it should be better - reduced periodic journal writes (better battery life, flash lifespan and performance).
I don't know about performance but my SGS feels like a little bit snappier.
Thanks for this info.
chanw4 said:
Write back will cause data loses on crashes and it will increase read time on read miss since you need to write the block back to the main mem before reading a new block.
Click to expand...
Click to collapse
There is always a risk of slight data loss during crash, even with data=ordered. And we are already using some even more 'risky' options like barrier=0 and noauto_da_alloc anyway.
This setting increases the risk a bit more.
s88 said:
copy tune2fs into /system/xbin and chmod 755
Click to expand...
Click to collapse
He's referring to the busybox 1.17.1 version. It doesnt support the ext4 options. For the version attached here, you have to copy it to somewhere else like /data/ before u can execute it. You don't really need to copy it to /system/xbin.
hardcore said:
There is always a risk of slight data loss during crash, even with data=ordered. And we are already using some even more 'risky' options like barrier=0 and noauto_da_alloc anyway.
This setting increases the risk a bit more.
Click to expand...
Click to collapse
Yeah but I think at some point you're just throwing away the safety of EXT4, and might as well just use EXT2 since it writes faster even with these options on. (Can anybody confirm this? I did a check and EXT2 is still faster even with these mount options... while EXT4 reads faster. But writes are more important than reads on MoviNAND from my usability experience, since the reads are generally fast enough anyway.)
RyanZA said:
Yeah but I think at some point you're just throwing away the safety of EXT4, and might as well just use EXT2 since it writes faster even with these options on. (Can anybody confirm this? I did a check and EXT2 is still faster even with these mount options... while EXT4 reads faster. But writes are more important than reads on MoviNAND from my usability experience, since the reads are generally fast enough anyway.)
Click to expand...
Click to collapse
Hi Ryan, it's different. ext4 with data=writeback still uses journaling but only for metadata, which supposedly "provides a similar level of journaling as that of XFS, JFS, and ReiserFS".
So it's still safer than ext2 but without the speed (and more importantly, battery or flash write lifespan) impact full data+metadata journaling.
More detailed information in the sources here:
http://git.kernel.org/?p=linux/kern...02ac5fa36d7f4c07856fe9cf89391e08986f7;hb=HEAD
hardcore,
how do you change the mount options? like buffer from 1 to 0 and nobh, etc
s88 said:
hardcore,
how do you change the mount options? like buffer from 1 to 0 and nobh, etc
Click to expand...
Click to collapse
I've made a clearer procedure in the first post. To change some options you might need a startup script though.
hardcore said:
I didn't do any benchmarks, but in theory it should be better - reduced periodic journal writes (better battery life, flash lifespan and performance).
Click to expand...
Click to collapse
That sounds very promising
Followed the procedure - had to do it twice as well to make it stick...dont see any obvious changes in the last 5 minutes. Will update after using it for a while.
PS: how persistent is that setting? what circumstance does it get reset? When a new kernel is installed?
Does it work with 2.1 too?
bobbel said:
Does it work with 2.1 too?
Click to expand...
Click to collapse
yes, it does. I am using JM9, and it feel faster.
take note i only change the data to write_back, haven't figure out a way to do the rest.
for write back, it can be done on the terminal emulator.
s88 said:
yes, it does. I am using JM9, and it feel faster.
take note i only change the data to write_back, haven't figure out a way to do the rest.
for write back, it can be done on the terminal emulator.
Click to expand...
Click to collapse
Cool, I give it a try.
One Question:
When I enter the mount cmd I have:
/dev/block/mmcblk0p4 /data ext4 rw,noatime,...
So I have to use
/data/tune2fs -o journal_data_writeback /dev/block/mmcblk0p4 (instead mmcblk0p2)
Right?

[initrd][DL Data2SD/Ext4+ V1.5] Enable your build with fast ext4/data.img support

This is my development based on Takaaki's initrd, during I develop my build at http://forum.xda-developers.com/showthread.php?t=913597, I spent a lot of time to enhance the data2sd and ext4, after studying almost all the popular methods: App2SD, Data2SD, Data2ext, Data2whatever, I develop this:
Features:
1. Support both data 2 data.img or ext4.
2. Support SquareFS.
3. Auto-format the 2nd partition with block size of 4096.
4. Utilize the Nand data partition to improve the performance.
5. Switch the PPP/RMNET.
6. Config the gps_zone
7. Support the update without re-flash. (you can fully customize your build based on this feature)
8. Backup the ext4 to data.img (implement in future)
9. Restore the data.img to ext4 (implement in future).
To enable external data.img
1. create '.data' folde under sdcard (/sdcard/.data).
2. create 'config.txt' under '.data' directory.
3. copy old data.img to '.data' directory, otherwise a new data.img will be created.
4. boot into Android.
Config.txt for data2SD.
data_img=1
data_ext=0
sd_boost=1
nand_data=0
Click to expand...
Click to collapse
To enable ext4
1. create '.data' folde under sdcard (/sdcard/.data).
2. create 'config.txt' under '.data' directory.
3. Config.txt for data2SD.
data_img=0
data_ext=1
sd_boost=0
nand_data=0
format_ext4=0
Click to expand...
Click to collapse
For first installation, it is always good to set the format_ext4=1 to format your ext4 partition with proper block size, after 1st boot, change it back to 0.
To config PPP/RMNET and GPS_ZONE
ppp_mode=1 will enable the ppp, set to 0 will use rmnet.
gps_zone='your country code', - country code, us, fr, jp, etc
To update/customize your build
1. Create a folder /DLZUPDATE under your sdcard.
2. put your app's apk under AndroidApps in /DLZUPDATE, that apps will be automatically installed into your data partition.
3. put your kernel file or other under root in /DLZUPDATE, all the files under root will be copied to your build, if your want to upgrade your kernel, just put zImage in /DLZUPDATE/root/system, and module files under /DLZUPDATE/root/system/lib/modules. etc.
Download
View attachment 492146
Install
1. extract the zip to a folder on your pc
2. backup your existing initrd.gz using adb
3. In "command prompt" env, run install.
4. your existing initrd.gz will be backup at the same folder named backup.initrd.gz.
5. if your have problem to boot into the system, just try: adb push backup.initrd.gz /system/initrd.gz. (even system can not be booted into the launcher or sense, in some point of time, the adb still can function, so just keep trying.)
Caution: if your build current use app2sd, you have to disable it before using this, rename the init.local.rc under etc to init.local.rc.bak, remove the 00start, 04apps2sd from /system/etc/init.d.
If your build uses boot partition, you should change the installation script to push the initrd.gz to replace the existing one wherever it is.
Thanks to
- ownhere (he is the expert of the ext4 or other file systems, and developed the data2ext.)
- melethron (the author of data2whatever)
- Takaaki (the author of data2sd)
- Cedesmith (He is guru of initrd )
Donation
I do not work for money, but it is always nice to know people really like my work and encourage me carrying on.
Please could you provide also information in case that NAND rom already use EXT4 for data2ext4 (like AF403 DesireHD stock based 1.0a)?
Good stuff.. thank you!
I am trying your NAND ROM now....
Good knowledge ... keep up cool stuff
i already use ur nand rom
If you don't want to look into the code to find out the difference, then, how about just try 1st.
totalcmdext said:
Please could you provide also information in case that NAND rom already use EXT4 for data2ext4 (like AF403 DesireHD stock based 1.0a)?
Click to expand...
Click to collapse
Sent from my DL DesireZ v2.5 using XDA App
Ok, i've managed to understand the concept of data2ext, and when on initial setup everything gets what i expect, i've 1 GB (depends on ext partition size) of free memory space, but i get an horrible performance even if formated with your tool, i guess it's SD performance/quality because i can't run any ext build published here where most of users claim to get good performance. So i try data2sd but instead of the 512MB (img size created with this) of memory i get only the 80MB of the free nand internal ram. What is stored on this img file ? only settings ? On 20 applications i use only 4 are movable to sd, so after my initial setup (and of course with good performance) i get a lot of memory low warnings.
Thanks
Looks like the data2sd was not enforced, what's your configuration in config.txt?
jpl69 said:
Ok, i've managed to understand the concept of data2ext, and when on initial setup everything gets what i expect, i've 1 GB (depends on ext partition size) of free memory space, but i get an horrible performance even if formated with your tool, i guess it's SD performance/quality because i can't run any ext build published here where most of users claim to get good performance. So i try data2sd but instead of the 512MB (img size created with this) of memory i get only the 80MB of the free nand internal ram. What is stored on this img file ? only settings ? On 20 applications i use only 4 are movable to sd, so after my initial setup (and of course with good performance) i get a lot of memory low warnings.
Thanks
Click to expand...
Click to collapse
Sent from my DL DesireZ v2.5 using XDA App
This is good and detail steps http://forum.xda-developers.com/showpost.php?p=10666187&postcount=341 on how to config, better than mine
Sent from my DL DesireZ v2.5 using XDA App
If i understand this, this is only change existing inird with modified initrd?
I'm sorry but with all this flash/unflash install/uninstall download configure i've lost my config, but i'm sure data_img=1 and data_ext=0
(just a note gps_zone=pt should configure gps to be used here in Portugal right ?)
If you say that it should work i'm going further with my tests and post here results because i don't want to flame this thread.
Update:
I've a stock 8GB class 4 card swaped with 4GB class 2, results on nand/ext4:
Initial setup (with format ext4) 1/2 time, second boot 1 minute and everything runing muuuch smother and faster so or i've got a malfunction card (?) (and i've read someone complaining about a 16GB class 10) or lowest class gets more speed (?)
Update2:
The diference is really amazing, i've got a completly functional android now with this card.
You should mention on your threads that if you get bad results on initial setup forget about that nand, return to SD builds or get other card.
Can you please post your card type please ?
how long does it take to format the ext4?
Hi,
I am trying to setup this new initrd, i put the format ext4 parameter in the config file and start my HD2.
wondering how long will it take to format my 1G ext4 partition?
thanks!
data.img Question
3. copy old data.img to '.data' directory, otherwise a new data.img will be created. ... Can I somehow set how big will the data.img be ?
Default will be 512M, you can config it by data_size.
BoneMo said:
3. copy old data.img to '.data' directory, otherwise a new data.img will be created. ... Can I somehow set how big will the data.img be ?
Click to expand...
Click to collapse
Sent from my DL DesireZ v2.5 using XDA App
Looks promising
This new initrd and file management seems well thought through and very promising.
In other builds I experienced that there can be a huge performance difference between the different file management choices (full NAND > adsd > ads2+ > data2ext > data2sd). It's good to see that you got into this subject and tried to find an optimal solution which can be configured by other chefs.
I assume that you implemented all this in your own DL DesireZ v2.5 build? If I find time I'm certainly gonna give it a try!
Keep up the good work!
works with AF403 DesireHD stock based 1.0a
there are a lot of discussions on my nand build about mixing using all the parameters, some got the performance improved a lot, some got things worse, your can refer to that to config your build for the best performance.
Dear, i got this error message...
D:\a>install
back your initrd...
remote object '/system/initrd' does not exist
replace your initrd...
1442 KB/s (0 bytes in 1523605.001s)
failed to copy 'mkfs.ext4' to '/system/xbin/mkfs.ext4': No space left on device
1263 KB/s (0 bytes in 303212.000s)
1410 KB/s (0 bytes in 428664.000s)
Unable to chmod /system/xbin/mkfs.ext4: No such file or directory
Unable to chmod /system/xbin/e2fsck: No such file or directory
Press any key to continue . . .
please help... I am using Gauner1986 build
Looks like the system in Gauner1986 build is read only or have the boot partition, or really occupied all the space? anyway, your existing build should be unchanged.
you can try adb shell ls /system, or adb shell ls /boot, whether there is an initrd.gz under it, then, manually push all the necessary files.
rasumia said:
Dear, i got this error message...
D:\a>install
back your initrd...
remote object '/system/initrd' does not exist
replace your initrd...
1442 KB/s (0 bytes in 1523605.001s)
failed to copy 'mkfs.ext4' to '/system/xbin/mkfs.ext4': No space left on device
1263 KB/s (0 bytes in 303212.000s)
1410 KB/s (0 bytes in 428664.000s)
Unable to chmod /system/xbin/mkfs.ext4: No such file or directory
Unable to chmod /system/xbin/e2fsck: No such file or directory
Press any key to continue . . .
please help... I am using Gauner1986 build
Click to expand...
Click to collapse
dandiest said:
Default will be 512M, you can config it by data_size.
Sent from my DL DesireZ v2.5 using XDA App
Click to expand...
Click to collapse
So you mean data_size= ... (512,1024,2048)
This is in cofig.txt?
jan-willem3 said:
So you mean data_size= ... (512,1024,2048)
This is in cofig.txt?
Click to expand...
Click to collapse
Yes, but please don't use 2048.

[Q] Need some help please. ref Synergy Rom and a2sd

This is a screen of TB. I just partitioned to ext3 by way of reapers tutorial and did a wipe and install of the new RC1. I have been reading this isn't required but a good idea. I actually had RC1 for awhile before this. Once I installed the 3d rosie I noticed some issues so I went the suggested route.
I have never seen the break down like this. System ROM, Internal, SD Card, and SDCard (a2sd).
I know what the top 3 are but had a question about the later. That thread is just moving WAY to fast so when I search I am getting a ton of useless info.
I am not to familiar with the a2sd, if someone could reference me to decent instructions I would be greatful. Preferably to this rom specific if that matters. Also, would moving apps over increase my System memory?
I should say I tried it once with CM7 but after I moved some apps it botched up a lot of things(not recognized, no widget available ect...). I also used TB to do it so I'm not sure if that was a no no or not.
Thank you
Anyone please?
Since this guide was posted, I'm getting questions ask on how to use Darktremor Apps2SD.
Darktremor Apps2SD is a command line interface (CLI) program (a GUI is planned, but has not been built).
You will need either a terminal program from the Android Marketplace, or you will need ADB from the Android Software Development Kit (SDK).
If you are using a terminal program, simply start up the program. Type su to allow the terminal program to gain superuser access (if you are using Superuser.apk to manage your superuser permission, this will automatically trigger a popup on the very first run. Press Accept to allow the terminal program superuser access).
If you are using ADB, simply navigate to the directory you stored the Android SDK in. Then navigate to the Tools directory under the SDK folder. Type adb shell in a command line on your computer (ADB can be found in the SDK under the Tools folder).
Both of these methods should bring you to a prompt that displays a pound sign (#).
Once you have the superuser prompt, simply type /system/bin/a2sd followed by the command you wish to use (i.e. /system/bin/a2sd check)
The list of commands are below.
Quote: Syntax
Syntax: /system/bin/a2sd command
command is one of the following:
Quote: Standard Apps2SD Commands: --------------------------------------------------reinstall Moves free and paid apps to the ext2/ext3/ext4 partition on your secure digital card. Removes the No A2SD flag file. This is used if you have already executed an a2sd remove command. Otherwise, this part is automatically performed when Apps2SD is started. File removed: /data/.noa2sd
remove Moves free and paid apps to the internal phone storage. Creates the No A2SD flag file. File created: /data/.noa2sd Quote: Swap Partition Commands: --------------------------------------------------reswap Removes the No Swap flag. Allows A2SD to activate the swap partition. This is used if you have already executed an a2sd noswap command. Otherwise, this part is automatically performed when Apps2SD is started. Note: This command has no effect in CyanogenMod 6. Swap space is disabled in the kernel. File removed: /data/.noswap
noswap Creates the No Swap flag. Prevents A2SD from activating the swap partition. Note: This command has no effect in CyanogenMod 6. Swap space is disabled in the kernel. File created: /data/.noswap Quote: Dalvik Cache Commands: --------------------------------------------------cachesd Moves Dalvik cache files to the ext2/ext3/ext4 partition on your secure digital card. Creates Dalvik Cache to SD flag. Quote: Caution: If your phone fails to mount the ext2/ext3/ext4 partition and your dalvik-cache is pointed to the SD card, you will likely end up in a boot loop. Execute a2sd nocache from adb shell to rectify the issue. File created: /data/.dalvikcacahe File removed: /data/.dcpartition
cachesdreset Same as cachesd above, but erases the contents of the dalvik-cache after move. This performs both the a2sd cachesd and a2sd resetcache all in one command. File removed: /data/.dcpartition
cachepart Moves Dalvik cache files to the /cache partition in your phone. Creates Dalvik Cache to Cache Partition flag. Quote: Caution: Some phones do not have enough space to put the dalvik-cache on the cache partition. Also, some roms that have SenseUI installed will not work well with the dalvik-cache on the cache partition. If you experience issues such as force closes, try moving the dalvik-cache to the SD card (a2sd cachesd) or internal storage (a2sd nocache) instead. File created: /data/.dcpartition File removed: /data/.dalvikcache
cachepartreset Same as cachepart above, but erases the contents of the dalvik-cache after move. This performs both the a2sd cachepart and a2sd resetcache all in one command. File removed: /data/.dalvikcache
nocache Moves Dalvik cache files to the internal phone storage. Removes all Dalvik Cache flags. File removed: /data/.dcpartition, /data/.dalvikcache
nocachereset Same as nocache above, but erases the contents of the dalvik-cache after move. This performs both the a2sd nocache and a2sd resetcache all in one command. File removed: /data/.dcpartition. /data/.dalvikcache
resetcache Clears the dalvik cache and restarts phone. Quote: Apps2SD Diagnostic Commands: --------------------------------------------------check Performs a symlink and flag file check on your setup. Outputs a report that shows you if there are issues with your Apps2SD setup.
repair Performs a repair of all symlinks based on flag file activation.
diskspace Shows disk space statistics for the ext partition.
sysinfo Displays information about your phone, partitions, swap, and more. Also writes a dump file that has an entire profile of your phone. This is for troubleshooting only. File Created: /data/dtsysdump.txt
swapspace Shows swap space statistics for all swap space active on the phone. Has no effect with CyanogenMod 6, as the swap space does not activate Quote: ZipAlign Commands: --------------------------------------------------align Performs a one-time zipalign on all APK files in /data/app and /data/app-private.
zipalign Allows ZipAlign to execute during the boot process. Creates the ZipAlign flag file. File Created: /data/.zipalign
nozipalign Prevents ZipAlign from executing during the boot process. Removes the ZipAlign flag file. File Removed: /data/.zipalign Quote: Dalvik Setting Commands: --------------------------------------------------jit Installs DalvikVM JIT. Quote: WARNING: Do not run this command if your phone has NAND protection active. nojit Removes DalvikVM JIT. Quote: WARNING: Do not run this command if your phone has NAND protection active. defaultheap Resets the Dalvik heap size to the default heap size. File Removed: /data/.smallheap, /data/.largeheap, /data/.jumboheap
smallheap Sets the Dalvik heap size to 16MB. File Created: /data/.smallheap File Removed: /data/.largeheap, /data/.jumboheap
largeheap Sets the Dalvik heap size to 24MB. File Created: /data/.largeheap File Removed: /data/.smallheap, /data/.jumboheap
jumboheap Sets the Dalvik heap size to 32MB. File Created: /data/.jumboheap File Removed: /data/.smallheap, /data/.largeheap Quote: Low Memory Killer Commands: ----------------------------------------------------lowmem-moderate Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 3072 pages / 12 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 7680 pages / 30 MB Content Provider: 8960 pages / 35 MB Empty App: 10240 pages / 40 MB Create File: /data/.lmmoderate Remove File: /data/.lmoptimum, /data/.lmstrict, /data/.lmaggressive, /data/.lmultimate, /data/.lmextreme
lowmem-optimum Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 2048 pages / 8 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 10240 pages / 40 MB Content Provider: 12800 pages / 50 MB Empty App: 15360 pages / 60 MB Create File: /data/.lmoptimum Remove File: /data/.lmmoderate, /data/.lmstrict, /data/.lmaggressive, /data/.lmultimate, /data/.lmextreme
lowmem-strict Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 2048 pages / 8 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 15360 pages / 60 MB Content Provider: 17920 pages / 70 MB Empty App: 20480 pages / 80 MB Create File: /data/.lmstrict Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmaggressive, /data/.lmultimate, /data/.lmextreme
lowmem-aggressive Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 3072 pages / 12 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 21000 pages / 82 MB Content Provider: 23000 pages / 90 MB Empty App: 25000 pages / 98 MB Create File: /data/.lmaggressive Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmstrict, /data/.lmextreme, /data/.lmultimate
lowmem-extreme Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 3072 pages / 12 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 38400 pages / 150 MB Content Provider: 40960 pages / 160 MB Empty App: 43520 pages / 170 MB Create File: /data/.lmextreme Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmstrict, /data/.lmaggressive, /data/.lmultimate
lowmem-ultimate Sets the internal memory killer to the following settings: Code: Foreground Apps: 1536 pages / 6 MB Visible Apps: 3072 pages / 12 MB Secondary Server: 4096 pages / 16 MB Hidden Apps: 51200 pages / 200 MB Content Provider: 57600 pages / 225 MB Empty App: 64000 pages / 250 MB Create File: /data/.lmultimate Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmstrict, /data/.lmaggressive, /data/.lmextreme
lowmem-default Sets the internal memory killer back to phone default settings. Remove File: /data/.lmmoderate, /data/.lmoptimum, /data/.lmstrict, /data/.lmaggressive, /
Sent from my PC36100 using XDA App
There is also a GUI in the market that makes this really easy its called a2sdGUI
Sent from my PC36100 using XDA App
When I setup Synergy the other day, for the first time,m I noticed I had only 124 mb free on Internal, even though I've had a 1 gig EXT3 partition and a 64 mb Swap partition.
Now, the way it was explained to me is that A2SD is not built into Synergy, but instead, in the Synergy Updater, you have to flash the modified version via the updater.
Then you can run your swap commands. However, when I run a2sd reswap, it failed on mine, so I was told to reformat my SD Card, and setup a 2 gig EXT3 and then run the a2sd again and that should fix it, which I haven't done yet.
Here's the results of my a2sd reswap, attached and my TB screen
Try using the reinstall command
Sent from my PC36100 using XDA App
james873 said:
Try using the reinstall command
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
That failed, too, attached
Try using /system/bin/a2sd reinstall
Sent from my PC36100 using XDA App
james873 said:
Try using /system/bin/a2sd reinstall
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
Looks like it could be working... processing all my apps, now rebooting
EDIT! Same thing on a2sd reswap... command failed.
I think my next step is to back up my sd card, then reformat it, and repartition to a 2 gig EXT3 and try again
Thanks for the read and the help peeps! Its long so ill have to catch it at home instead of the app lol.
Thanks again
Sent from my PC36100 using XDA Premium App
Here's what I did/doing.
I reformatted my SD Card, repartitioned to 2 gig ext and 128 swap.
Then I wiped everything and reinstalled Synergy. After setting it up, but before I restored my apps, I'm at 363 free internal. That's a great thing.
Now, once my restore is done, I'm at 316 free internal, so it's looking good!
Ok I am still lost here, sorry guys.
I just moved over to Synergy/Kingdom with 7/14 and now I show this.
Also, in that thread I was doing some nosing around and tried 'link2sd'. The app2sd thing i am still trying to figure out some so I thought this would be a bit more novice but I still am not sure how this is working and where I am actually freeing up space.
With link2sd does it move apps from the system partition over? After moving about 10 apps of decent size I went to check the partitions in the app and nothing had changed.
hellppppp meeee /ET Voice
lol

[MOD] How to replace /cache partition with a virtual one (any size)

I found a solution to temporarily replace the /cache partition with a virtual one having any arbitrary size.
I made a script that creates an empty file (64MB but it can be larger) on /data/local. Then it creates an ext4 filesystem on the file, unmounts the /cache and finally mounts the file as the cache partition through the loop device.
This virtual partition works until the next reboot and then the old /cache partition is mounted again.
To test this, copy the script to your phone give it executable permissions and run it through adb shell or a terminal. You have to be root and have busybox installed
I tested the script on stock JVQ, Semaphore kernel and works OK.
You may find a CWM edition (thanks to corgar) here. This version will create the cache partition (50 MB) in the /dbdata.
Use this script only if you know what you are doing and with your own risk!.
What does this do exactly? Does it take part of the flash memory to use as cache instead of RAM? I dont know much about advanced hacking etc, but this sounds like it could fix my constantly restarting apps when there are too many apps opened at the same time, or too many processes running at the same time. or are those things unrelated with this?
neswii said:
What does this do exactly? Does it take part of the flash memory to use as cache instead of RAM? I dont know much about advanced hacking etc, but this sounds like it could fix my constantly restarting apps when there are too many apps opened at the same time, or too many processes running at the same time. or are those things unrelated with this?
Click to expand...
Click to collapse
No, it creates a file in the /data partition and mount it as cache. I don't think that this will solve you the problem.
I made it mostly for people who want to download applications more that 30 MB from market
Nice idea @stratosk! I must give this a try!
Anyone tried this?
Please for your feedback.
I'm ready to test during the day. Do you have any name of a free app bigger than 30 Mb we can download to validate it works?
I've runned the script with SGS Tools. It runs ok, and creates a bigger cache partition, but i still can't download bigger apps on market, although it now gives me a different error (before was something like: There isn't space on this device. And now it is something like: There was an error). Tried with "Battle Bears 1 Lite" and "Extreme Formula"
EDIT: is it ok to run with SGS tools? I don't know how to run them in Terminal! Someone could tell me how?
EDIT 2: Actually i've tried now, and i can't download any apps from market!
lucbl1 said:
I've runned the script with SGS Tools. It runs ok, and creates a bigger cache partition, but i still can't download bigger apps on market, although it now gives me a different error (before was something like: There isn't space on this device. And now it is something like: There was an error). Tried with "Battle Bears 1 Lite" and "Extreme Formula"
EDIT: is it ok to run with SGS tools? I don't know how to run them in Terminal! Someone could tell me how?
EDIT 2: Actually i've tried now, and i can't download any apps from market!
Click to expand...
Click to collapse
Are you sure you have enough space on /data ?
stratosk said:
Are you sure you have enough space on /data ?
Click to expand...
Click to collapse
Yeah, pretty sure.
I've rebooted my device now, and downloads work fine again, except of course of those bigger than 30mb (actually 26mb, since ext4 conversion uses 4mb on cache).
PS: thinking about it now, could it be that the 4mb of ext4 conversion is keeping me from downloading the apps properly?
Just modified that script to move cache in dbdata ( onenand). A little request how to mount without specify fs? Instead of mount -t ext4. Thx
Inviato dal mio GT-I9000 usando Tapatalk
corgar said:
Just modified that script to move cache in dbdata ( onenand). A little request how to mount without specify fs? Instead of mount -t ext4. Thx
Inviato dal mio GT-I9000 usando Tapatalk
Click to expand...
Click to collapse
I have to test this, because the script makes ext4 file system on the cache.img. So it should be mounted as ext4
lucbl1 said:
Yeah, pretty sure.
I've rebooted my device now, and downloads work fine again, except of course of those bigger than 30mb (actually 26mb, since ext4 conversion uses 4mb on cache).
PS: thinking about it now, could it be that the 4mb of ext4 conversion is keeping me from downloading the apps properly?
Click to expand...
Click to collapse
I'm not sure about this.
If you don't use this remember to delete the cache.img file from /data/local because it's 64MB
If i delete the conversion and want to make the script dynamic? Mount rfs if rfs or mount ext4 if ext4. Dbdata is converted by kernel and by user decision so making it dynamically check is a must have i think.
Inviato dal mio GT-I9000 usando Tapatalk
corgar said:
If i delete the conversion and want to make the script dynamic? Mount rfs if rfs or mount ext4 if ext4. Dbdata is converted by kernel and by user decision so making it dynamically check is a must have i think.
Inviato dal mio GT-I9000 usando Tapatalk
Click to expand...
Click to collapse
Actually you may have dbdata in rfs and the file system of the cache.img could be ext4. You make and independent file system on this file
ok after some testing and tuning up, and since market apps can go up to 50mb maximum, and dbdata is on fast onenand i've modified a bit your script.
Code:
#!/system/bin/sh
#
# stratosk - 27/07/2011
# Corgar - 28/07/2011 ( changed location of cache in dbdata for onenand i/o, decreased cache dimension to 50mb )
# Remount /cache partition with a larger one (54.5 MB / 50mb cache)
# create a file 54.4 MB
dd if=/dev/zero of=/dbdata/cache.img bs=1024 count=55808
# create ext4 filesystem
mke2fs -F -T ext4 /dbdata/cache.img
# unmounting old cache partition
umount /dev/block/stl11
# mount
losetup /dev/block/loop7 /dbdata/cache.img
mount -t ext4 /dev/block/loop7 /cache
chown system.cache /cache
chmod 770 /cache
here are the script to push in /system/init.d folder. i'm not making a cwm flashable zip because is still in test version and i prefer at the moment to be used only by "veteran" user.
thx anyway to stratosk.
Download Here!
Nice script !
But why not make it on the sdcard ?
It should not have any problem there regarding space issues.
sdcard is mounted and checked after fs integrity check.
sdcard is slow compared to onenand memory. also sdcard is more fragmented than internal memory.
Any feedback?
Anyone tried this?
Running flawlessy on my custom rom. Very nice job indeed. Thx man. If you need a link Just ask but It's only for italian customer.
Inviato dal mio GT-I9000 usando Tapatalk
corgar said:
Running flawlessy on my custom rom. Very nice job indeed. Thx man. If you need a link Just ask but It's only for italian customer.
Inviato dal mio GT-I9000 usando Tapatalk
Click to expand...
Click to collapse
Glad to hear that
Did you test it on market applications > 30 mb?
Thanks for feedback.
P.S. with similar manner you can make portable (and maybe encrypted) filesystem. Create a file mount it as filesystem, write anything you want in it, then umount and mount somewhere else... Even in other phone or in your linux box
Edit: yes please send me the link

[Guide]Functional ext4 for external microSD with just a few bumps left

Y.G. said:
I formated my sd card to Ext4 and when insert it in to my phone, it says that's it's blank and has unsupported files. Any reasons for that?
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
The SPH-L710 Samsung Stock LJ7 TW 4.1.1 Android doesn't understand/support the change to ext4 external SD card (microSD) without a few things being done.
I'm working this out right now. So far I have manually been able to mount the newly created ext4 partition on the microSD card through adb, and after some chown/chmod I was able to go back to "Settings and Storage" and the "Mount SD Card" picked it up, and I was up and running ext4. But this didn't persist after a restart. So I'm looking into: /etc/vold.fstab MODS to keep it after restart right Now !!
If Some one else already has this perfected please chime in. I'm wanting to do most of the devices in the house this way when I get time because better performance, having a file system with a journal, and getting rid of thins like 4 Gig per file limitations is pretty Sweet in my humble opinion *Grin*
0) Assuming you already have your microSD card formatted ext4. I also happened to label mine extSdCard for the volume label within gparted
1) Can mount with:
mount -w -t ext4 /dev/block/mmcblk1p1 /storage/extSdCard/
2) To get the correct owner and permissions run:
chown root:sdcard_rw /storage/extSdCard
chmod 775 /storage/extSdCard
3) Should make the extSdCard owner/permissons match the regular internal sdcard you can verify this like so:
cd /storage/ && ls -l
drwxrwxr-x root sdcard_rw 2013-01-12 18:16 extSdCard
drwxrwxr-x root sdcard_rw 2013-01-12 17:05 sdcard0
4) After that you can go to the "Settings and Storage" to run "Mount SD" and you will have ext4 extSdCard Show up and it bring up the File System Status !! --> Until you reboot and it goes to crap because I don't have the vold.fstab edit/MOD complete _yet_ ... So, for now a boot script has been put in place to bring our external SD card back online during restart, so the system will acknowledges it, making the world a better place.
Example of how things look file system wise: mount | grep extSdCard
/dev/block/mmcblk1p1 /storage/extSdCard ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
5) Have not been able to resolve the vold.fstab to make this ext4 extSdCard matter fully Legit (in my opinion), but I did manage to make it remount the card on boot, so its online when the system comes up instead of having to manually mount it. Did this by -->
Added the following lines to the very bottom of: /etc/init.qcom.post_fs.sh
## sponix MOD to match with ktoonz kernel for better power management
stop mpdecision
## sponix MOD to mount extSdCard prior to GUI work around to make ext4 function
## read and write extSdCard mount
chown root:sdcard_rw /storage/extSdCard
chmod 775 /storage/extSdCard
mount -w -t ext4 /dev/block/mmcblk1p1 /storage/extSdCard
chown root:sdcard_rw /storage/extSdCard
chmod 775 /storage/extSdCard
## if you want read only extSdCard mount
## mount -r -t ext4 /dev/block/mmcblk1p1 /storage/extSdCard
Still attempting to automate the process so the Stock+root LJ7 can pick up the extSdCard _normally_ without having to do the mount command manually, but so far its kicking my butt. Also this is more a "General, or Question and Answer type Topic" the Kernel(s) obviously support ext4 the system fs uses/requires it *Grin*.. So we might get Our Friendly Neighborhood Moderator to Migrate it to the proper place to help others. Just hoping to get the last few bumps smoothed out, or find someone that already documented the process that I've overlooked *Grin*..
Current Known Issues: If you unmount the card through the "Settings | Storage | Umount SD" or by hand with umount, you will either need to reboot for it to reattach through the /etc/init.qcom.post_fs.sh boot script script addition, or will have to mount it manually if you want to keep the system up and running. Guess you could also probably just run the /etc/init.qcom.post_fs.sh as root from a terminal emulator (or adb).
Still searching for vold.fstab bits of wisdom but that will have to continue next weekend -->
Sexy and You Know it,
Keep on Flashing,
sponix2ipfw (sponix
:fingers-crossed:
Ha! Sorry. Deleted: Didn't understand that you had it running on boot (can't read properly )
Great idea
Am I really the only one who also thinks this idea is the nuts?
Am I the only one who longs to transform the mess that passes for a filing system on the internal sd using symbolic links into a beautifully organized, encrypted and cloud synced system on my external sd?
Is it just me and a few others that want to be able to achieve the above so that we can move from one ROM to another or recover from a lost phone with the minimum of fuss?
Are we freaks? :cyclops:
Say it isn't so XDA!! :crying:
I'm gonna try this on my international S3 running Null_ Rom 25 JB 4.1.2
PS do you have any idea how the entire ExtSD or just a folder can be enrypted using Cryptonite and automatically mounted at boot time?
emp111 said:
PS do you have any idea how the entire ExtSD or just a folder can be enrypted using Cryptonite and automatically mounted at boot time?
Click to expand...
Click to collapse
Is this along the lines of what you're looking for?
http://forum.xda-developers.com/showthread.php?t=1141467
Also your idea is pretty insane, but also genius
If you get that to work please do come back and share
Insane ideas are the best lol
CNexus said:
Is this along the lines of what you're looking for?
http://forum.xda-developers.com/showthread.php?t=1141467
Also your idea is pretty insane, but also genius
If you get that to work please do come back and share
Click to expand...
Click to collapse
Thank you for your prompt reply, yes it is asking a lot I know but I think that it can be done.
Now if you really thought that idea was insane......check this out:
Imagine that we asked every Android app developer to submit the various paths used for their config (and config backup) files to a central database and had the ability to add or own custom paths (which could be added to the central database once approved).
We could build an script/app that would retrieve a list of currently installed apps on your phone then automatically build a symbolically linked file system (and/or backup file system) in the location of your choice that you could either encrypt and/or sync using your current tools or even incorporate this functionality into the app itself along with the ability to choose what was encrypted/backed up and how i.e. either synced to the Cloud or (S)FTP or SMB as either a dd copy or even a cwm flashable zip.
Could I dare hope for a Tasker module or the ability to add custom scripts?
I wish I could do this myself but my coding skills are non existent
Anyway the LUKS manager app won't automatically mount a file system, but I really like it anyways, thank you for pointing me to it!
And on the Ext4 front, the mount command (yes the 1st one ) failed, maybe the op could offer a suggestion. :angel:
BTW is there a place for people to suggest ideas for apps here?
Wait really it wont? I couldve sworn I remembering that it did
But dude....
You need to learn yourself some java and start whipping stuff up
Idk about the whole central database thing, but the rest could definitely be done with root access
I think the main problem with that is the proprietary aspects...i mean even here on XDA where binaries released are supposed to be GPL compliant, many of them arent and its sad because it deteriorates the overall quality of work thats released afterward
This whole thing is just hard work!
CNexus said:
Wait really it wont? I couldve sworn I remembering that it did
Click to expand...
Click to collapse
Doesn't seem to unfortunately
But dude....
You need to learn yourself some java and start whipping stuff up :D :D[/QUOTE said:
You make it sound soooo easy lol, and at another point in my life maybe it would have been but right now I'm operating at a reduced level due to some unforeseen circumstances that have left me lacking focus, motivation etc
You know all the things you need to be creative, learn etc lol
Anyway back to the matter at hand, I have got my ext4 SD card to the stage where I have to manually mount it from within the Settings/Storage as I'm using the international S3 and don't have the init.qcom.post_fs.sh, I think the qcom refers to Qualcomm chipset in US S3's.
As for modifying vold.fstab so we can avoid the above workaround it would seem that maybe thats a dead end as according to a German guy on android-hilfe. de, Vold may have been modified by Samsung to only deadl with exFAT on External SD's.
Looks like I'm not gonna be in Android nirvana for a while :crying:
Unless anyone else on XDA fancies getting in on this !!!!
Click to expand...
Click to collapse
Got it working ..... kinda
Got an app called ezymount (by ezynow) that automounts my ext4 64GB microSD at boot time.
I have to wait a few seconds for the boot process to complete but it's automatic, am pretty happy!!
Now gotta get symlinks, encryption and cloud synchronization sorted :/

Categories

Resources