New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
THREAD CLOSED
Tip us?
 
Yank555
Old
(Last edited by Yank555; 5th March 2013 at 12:53 AM.)
#1  
Yank555's Avatar
Senior Member - OP
Thanks Meter 6103
Posts: 4,882
Join Date: Sep 2009
Default Thread closed.

Thread closed.
SGS3 GT-I9300
Samsung SDXC 64Gb FAT32 / PhilZ Touch / SlimBean 6 / DLIB
Yank555.lu CM10.1 kernel v1.6c-beta5 (3.0.82) @0.2-1.6GHz / 240dpi

My latests kernels : CM-AOSP-AOKP v1.6b (3.0.81) for i9300 & v1.6b (3.0.81) for i9305 / SGS3-U10 v3.4b (3.0.81) for i9300 & v3.4b (3.0.81) for i9305

Hardswap mods : SGS3 / Sensation / HD2

HTC Sensation XE & HD2
TF300TG 32Gb
The Following 76 Users Say Thank You to Yank555 For This Useful Post: [ Click to Expand ]
 
Yank555
Old
(Last edited by Yank555; 5th March 2013 at 12:53 AM.)
#2  
Yank555's Avatar
Senior Member - OP
Thanks Meter 6103
Posts: 4,882
Join Date: Sep 2009
Thread closed.
SGS3 GT-I9300
Samsung SDXC 64Gb FAT32 / PhilZ Touch / SlimBean 6 / DLIB
Yank555.lu CM10.1 kernel v1.6c-beta5 (3.0.82) @0.2-1.6GHz / 240dpi

My latests kernels : CM-AOSP-AOKP v1.6b (3.0.81) for i9300 & v1.6b (3.0.81) for i9305 / SGS3-U10 v3.4b (3.0.81) for i9300 & v3.4b (3.0.81) for i9305

Hardswap mods : SGS3 / Sensation / HD2

HTC Sensation XE & HD2
TF300TG 32Gb
The Following 26 Users Say Thank You to Yank555 For This Useful Post: [ Click to Expand ]
 
Yank555
Old
(Last edited by Yank555; 5th March 2013 at 12:54 AM.)
#3  
Yank555's Avatar
Senior Member - OP
Thanks Meter 6103
Posts: 4,882
Join Date: Sep 2009
Thread closed.
SGS3 GT-I9300
Samsung SDXC 64Gb FAT32 / PhilZ Touch / SlimBean 6 / DLIB
Yank555.lu CM10.1 kernel v1.6c-beta5 (3.0.82) @0.2-1.6GHz / 240dpi

My latests kernels : CM-AOSP-AOKP v1.6b (3.0.81) for i9300 & v1.6b (3.0.81) for i9305 / SGS3-U10 v3.4b (3.0.81) for i9300 & v3.4b (3.0.81) for i9305

Hardswap mods : SGS3 / Sensation / HD2

HTC Sensation XE & HD2
TF300TG 32Gb
The Following 45 Users Say Thank You to Yank555 For This Useful Post: [ Click to Expand ]
 
Yank555
Old
#4  
Yank555's Avatar
Senior Member - OP
Thanks Meter 6103
Posts: 4,882
Join Date: Sep 2009
Reserved
SGS3 GT-I9300
Samsung SDXC 64Gb FAT32 / PhilZ Touch / SlimBean 6 / DLIB
Yank555.lu CM10.1 kernel v1.6c-beta5 (3.0.82) @0.2-1.6GHz / 240dpi

My latests kernels : CM-AOSP-AOKP v1.6b (3.0.81) for i9300 & v1.6b (3.0.81) for i9305 / SGS3-U10 v3.4b (3.0.81) for i9300 & v3.4b (3.0.81) for i9305

Hardswap mods : SGS3 / Sensation / HD2

HTC Sensation XE & HD2
TF300TG 32Gb
The Following 7 Users Say Thank You to Yank555 For This Useful Post: [ Click to Expand ]
 
mattiadj
Old
#5  
mattiadj's Avatar
Senior Member
Thanks Meter 1260
Posts: 3,098
Join Date: May 2010
Location: Francavilla al mare

 
DONATE TO ME
God job but this can fix the problem of memory leak?

Inviato dal mio GT-I9300 con Tapatalk 2
 
Yank555
Old
#6  
Yank555's Avatar
Senior Member - OP
Thanks Meter 6103
Posts: 4,882
Join Date: Sep 2009
Quote:
Originally Posted by mattiadj View Post
God job but this can fix the problem of memory leak?
Unfortunately not, to fix that you'd need to find the source of the leak and correct it

JP.
SGS3 GT-I9300
Samsung SDXC 64Gb FAT32 / PhilZ Touch / SlimBean 6 / DLIB
Yank555.lu CM10.1 kernel v1.6c-beta5 (3.0.82) @0.2-1.6GHz / 240dpi

My latests kernels : CM-AOSP-AOKP v1.6b (3.0.81) for i9300 & v1.6b (3.0.81) for i9305 / SGS3-U10 v3.4b (3.0.81) for i9300 & v3.4b (3.0.81) for i9305

Hardswap mods : SGS3 / Sensation / HD2

HTC Sensation XE & HD2
TF300TG 32Gb
The Following User Says Thank You to Yank555 For This Useful Post: [ Click to Expand ]
 
mattiadj
Old
#7  
mattiadj's Avatar
Senior Member
Thanks Meter 1260
Posts: 3,098
Join Date: May 2010
Location: Francavilla al mare

 
DONATE TO ME
So what is the benefits of this fix?
Simply... Why we need this? Sorry but I didn't understand.... My bad mate

Inviato dal mio Transformer TF101 con Tapatalk 2
 
Yank555
Old
#8  
Yank555's Avatar
Senior Member - OP
Thanks Meter 6103
Posts: 4,882
Join Date: Sep 2009
Quote:
Originally Posted by mattiadj View Post
So what is the benefits of this fix?
Simply... Why we need this? Sorry but I didn't understand.... My bad mate
No problem The thing is, we have a certain amount of RAM at our disposal, plus our devices are getting faster and faster, getting more and more cores, but not that much RAM increase.

Let me illustrate my point :

htc HD2 (my frist device to run Android) - 2009

RAM : 448 MB usable
CPU : 1 GHz Qualcomm Snapdragon (single core)

SGS3 - 2012

RAM : 778 MB usable
CPU : 1.4 GHz quad-core Cortex-A9

So CPU speed is up by way much more than RAM, and I'm not taking GPU into consideration, plus storage speed increase etc...

Now those devices tend to be used in multitasking, having many apps running at the same time.

What those need is :

- CPU power to run on (we have plenty !)
- RAM to fit in (we have little)

Now even though an APP is running, not every bit of it is really needed, so those parts can be swapped out (put into swap) freeing these memory blocks and making room for more apps to fit in RAM.

So what will this mod do for you : Allow for more multitasking

Keep more apps running in RAM at the same time, making the device snappier when switching from one app to the other.

One app won't run faster !

If now you don't have swap, Android will have to gently ask the least used app to please close (save data, and quit) to free up RAM. Now when you get back to that app, Android will have to reload it, the app will start and reload it's data.

You can see, this will take more time.

Hope this isn't too confusing
SGS3 GT-I9300
Samsung SDXC 64Gb FAT32 / PhilZ Touch / SlimBean 6 / DLIB
Yank555.lu CM10.1 kernel v1.6c-beta5 (3.0.82) @0.2-1.6GHz / 240dpi

My latests kernels : CM-AOSP-AOKP v1.6b (3.0.81) for i9300 & v1.6b (3.0.81) for i9305 / SGS3-U10 v3.4b (3.0.81) for i9300 & v3.4b (3.0.81) for i9305

Hardswap mods : SGS3 / Sensation / HD2

HTC Sensation XE & HD2
TF300TG 32Gb
The Following 4 Users Say Thank You to Yank555 For This Useful Post: [ Click to Expand ]
 
hefonthefjords
Old
#9  
Senior Member
Thanks Meter 123
Posts: 765
Join Date: Jun 2010
Location: Livingston

 
DONATE TO ME
I have a question before i attempt setting this up.

How do we identify which partition on the card is supposed to be for swap?
I have a 64gb sandisk card and say i make two partitions, one massive one for data and a 2gb one on the end for swap, how do i identify to android that the 2gb one is for swap? Also, what format should the partition be?

Cheers.

Sent from my GT-I9300 using xda premium

Motorola Milestone - CM 7.1.0-RC12-11.07.14
LG Optimus 3D P920 - LGP920-V10d-JUL-08-2011
Samsung Galaxy S3 GT-i9300 - Stock Jelly Bean JRO03C.I9300XXDLJ4
 
Yank555
Old
#10  
Yank555's Avatar
Senior Member - OP
Thanks Meter 6103
Posts: 4,882
Join Date: Sep 2009
Quote:
Originally Posted by hefonthefjords View Post
I have a question before i attempt setting this up.

How do we identify which partition on the card is supposed to be for swap?
I have a 64gb sandisk card and say i make two partitions, one massive one for data and a 2gb one on the end for swap, how do i identify to android that the 2gb one is for swap? Also, what format should the partition be?

Cheers.
The script handles finding the partition

All you need to do is partition your card and be sure the swap partition is :

- a primary partition
- of type "Linux Swap"

JP.
SGS3 GT-I9300
Samsung SDXC 64Gb FAT32 / PhilZ Touch / SlimBean 6 / DLIB
Yank555.lu CM10.1 kernel v1.6c-beta5 (3.0.82) @0.2-1.6GHz / 240dpi

My latests kernels : CM-AOSP-AOKP v1.6b (3.0.81) for i9300 & v1.6b (3.0.81) for i9305 / SGS3-U10 v3.4b (3.0.81) for i9300 & v3.4b (3.0.81) for i9305

Hardswap mods : SGS3 / Sensation / HD2

HTC Sensation XE & HD2
TF300TG 32Gb

The Following 2 Users Say Thank You to Yank555 For This Useful Post: [ Click to Expand ]
THREAD CLOSED
Subscribe