[Android Software/Hacking General [Developers Only]] Pos411:
no probs, take your time...everyone busy wiht real life right... :cool:

oki doki...got it...thanks! :good:

_____________________

downloading and adding new script v12...

so here is the result

==============================================

Hi. Thanks for using...

//----------------------------------------//

// Defiant07's SwapItOn //

//----------------------------------------//

Hope you like it!

==============================================

Okay, first gunna check if busybox has the

required applets, if you are running as root,

if /etc/init.d exists, and if your kernel

supports swap.

Boss, busybox is complete.

Gnarly, running as root.

Good, init.d detected.

Nice, swap is supported.

==============================================

Now I need some input from you so as to

customize the setup according to your

needs and preferences.

You can make up to three prioritized swap

files. Where should I make the primary swap

file?

Pick (e)xternal sd card, (d)ata partition,

(c)ache partition, (s)ystem partition,

or (k)ustom location: e

The primary swap file will be made here:

/storage/sdcard0

If this location is copasetic with you

input (p)roceed or (e)xit: p

Do you want to make a secondary swap file?

Input (y)es or (n)o: n

==============================================

Next, I need your desired swappiness.

Note: The higher the value the higher the

probability things will get transferred to

the swap file.

Please input your desired swappiness value

- any integer from 0 to 100 - and then

press enter: 20

==============================================

If you want, these vm/swap related settings

can be applied to your current session and

future boots:

dirty_background_ratio =

(10) [25] {60}

dirty_ratio =

(20) [50] {95}

vfs_cache_pressure =

(50) [10] {10}

dirty_writeback_centisecs =

(3000) [3000] {2000}

dirty_expire_centisecs =

(500) [1500] {1000}

The values in () are from ThunderBolt.

The values in [] are a middle ground by me.

The values in {} are from KickAssKernelizer.

Wanna try one of them? Input (t)hunderbolt,

(m)iddle, (k)ickasskernelizer, or (n)one: k

==============================================

If any of your swap file locations are slow to

become accessible an additional delay in the

init.d script maybe necessary so as to avoid

potential problems.

Should I add an additional delay to Z99SwapOn?

Input (y)es or (n)o: y

==============================================

Based upon accessible ram, I recommend the sum

of your swap files equalling around: 408 mb.

It is unlikely you will use more than this.

Input your desired size in mb as an integer

for the primary swap file: 500

Please wait while I create the swap file(s),

init.d script, and switch swap scripts

according to your specifications.

It could take a while (avg.: 5-10 minutes).

==============================================

Making the swap file(s)...

500+0 records in

500+0 records out

524288000 bytes (500.0MB) copied, 141.676985 seconds, 3.5MB/s

...done.

Formatting the swap file(s)...

Setting up swapspace version 1, size = 524283904 bytes

UUID=3e35d3e9-191d-4689-8932-ab59a2886b49

...done.

Turning swap on, setting priorities, and

applying swappiness value...

swapon: /storage/sdcard0/swapfile: Function not implemented

ABORT !!! ABORT !!! ABORT !!! ABORT !!!

Your kernel thinks it can swap, but it's

a flop. It does NOT fully/properly

implement swap.

Flash a new kernel or fix your current kernel

and try again. If neither is possible you're

SOL...sorry...bye :p.

==============================================

any thoughts? when that is related to kernel than "F" word [not for you...it's for the phone]....i have a CDMA/GSM cheap chinese made phone, and there's no kernel lying around on the net for innos i6c...