[Q] using preinstall as swap, possible? - Atrix 4G Q&A, Help & Troubleshooting

I would like to know if is possible to use preinstal partition as swap on stock rom with stock kernel.
what would be the drawbacks of doing such thing?
can be placed a file to act as swap?

On a rooted device, yes. No problem. You don't need a file, you could just format the entire partition as swap. I don't see any drawbacks but I also don't see many benefits to this... For me, the normal physical RAM available to the system is more than enough. I have not been able to fill up more than half of that, not even once.
BTW the total RAM available should be around 700-800 MB. If you have less than that, you probably need to apply the ramfix, which will improve the performance of your device more than any kind of swap.

chepe263 said:
I would like to know if is possible to use preinstal partition as swap on stock rom with stock kernel.
what would be the drawbacks of doing such thing?
can be placed a file to act as swap?
Click to expand...
Click to collapse
The advantage of using the internal storage as swap is that it would be faster than putting it on a microSD card. The preinstall partition is certainly large enough to use for swap.
The disadvantage to using internal storage is that flash memory does have a limited life. For normal file access the lifetime of flash memory will most likely exceed the useful life of the phone, but this may not be the case when flash memory is used for swap. Swap will put many more read - write cycles on the flash memory than normal file access.
I use swap; my experience is that I need swap space if I want to use the webtop for anything more than occasional web browsing. Before I enabled swap webtop was regularly warning me that I had low memory (and you can't close the warning message, which is really annoying). I put together a description of what I did in the 7th post on this thread:
http://forum.xda-developers.com/showthread.php?t=2200679​
If you do go ahead and use preinstall as swap, let us know how it works.

Related

Linux-Swap without App2SD???

Hi everyone,
A relatively noob question here.
I am running the Official ROM 2.76.405.5 on an unbranded Hero, and want to give Linux-Swap a try. But I don't want Apps2SD; I might move certain apps cache to the SD after rooting, but like the Apps themselve on the internal memory though. How can I go about it? What do I need to do?
1) Can I format my SD card so that it has a fat32 and a linux-swap partition but NO "ext" partition?
2) If I do make an EXT partition, what patch/fix should I do to make only swapping work, without Apps2SD? Modaco's Hero patch as well as his custom ROMs come with Apps2SD. Is there a way to get rid of it?
3) Will I need "busybox" to make swapping work? Or is "Swapper" alone going to be enough?
4) If I make my custom update.zip file from Modaco's Hero patch.zip, from which I delete A2SD, and then falsh that update.zip via the recovery mode, will it work?
5) And what swap size do you recommend? Some people use as large as 256MB... while the default in most cases is 32MB. Is the larger the better?
Please help a non-developer here. Many thanks in advance!
OK, I have done it and it seems right. I made all three partitions (fat32, ext3, and linux-swap) and then pushed busybox by Modaco's method via "adb shell". That means I have the ext3 partition but no Apps2SD, so my apps would stay on the internal memory. Am I right?
Now I have also installed Swapper and so far it has not given me any error. Via Advanced settings, I have told it to use Swap "partition" instead on swap file. My swap partition is 256MB
My questions now are:
1) If I kill swapper by taskkiller, will swapping end?
2) How much swappiness should I choose?
3) How do I know that it is working and what improvements should I expect to see? How can I test that my phone is functioning faster??
Please reply
Would anyone like to share their comments on this, please?!?
One more thing, Hero comes with a 288MB RAM, but the total available system memory (RAM) shown by Swapper app is 197MB. Why such discrepancy??
Your views will be much appreciated!
Very well asked questions. Some masters respond to them please so we don't disturb you about these questions within every thread of yours
to format your sdcard (i'm assuming you know how to use parted and have only 1 partition) resize your fat32 partition, for example, with my 7948 MB sdcard:
Code:
(parted) resize 1 0 7850 (where 7850 is the maximum size of your sd-card minus the amount you wish to allocate for swap, in this case, 98 MB)
wait for it to finish re-sizing, doing it this way prevents data loss, after it's done;
Code:
(parted) mkpartfs primary linux-swap 7850 7900
(parted) mkpartfs primary linux-swap 7900 7948
(parted) rm 2
(parted) resize 3 7850 7948
(parted) quit
you basically create two linux-swap partitions (the second partition can be anything, but I use linux-swap because it can be any size in MB) so that the third one gets asigned a p# of 3, then remove the second one, and then resize the third one to take up the whole space left after your fat 32 partition, that way you don't waste any space. You can always
Code:
(parted) print
to make sure your fat 32 partition has a p# of 1 and your linux-swap has a p# of 3
About why there's only 197MB left on your device? Radio and GPU take the other 96 MB and the system has no access to that memory. Don't worry, it's still enough for you to run hero, pity us dream users with only 96 MB working RAM.
===edit====(answer more questions)
If by "official rom 2.73.405.5" you mean the one you can download from MoDaCo, then I don't even think it has root. There are four 2.73.405.5 roms there, the RUU, which you should avoid like the plague, the Official one which is only the RUU but packaged in OTA format, the Official one with Radio update, and the Official rooted one. You wan't to use the rooted one. Also, you do need busybox (you're already done it). I think that in the official rooted there are no scripts running at boot, so you won't get A2SD forced upon you (always a good thing, soon as I buy my Hero I'm using that build too as a base for my build), no compcache, no swap-file usage, nothing, just a stock rom with root. Anyway, you already have busybox, and that's all swapper requires, so you're good. For extra credit, you could learn how to unpack boot.img and edit the init.rc to call on your own script from bin and have it do swap automagically instead of using swapper (plus you can do nifty things like using mmcblk0p2 instead of p3, among other things).
I don't know how swapper works exactly, but I think all it does is echo settings to the VM to set up swap, so killing the app should do nothing (it's just a front-end to what other roms do automatically) and swap should stay working after you kill it. You can try, just kill the app and then open up the terminal and type
Code:
$su
# busybox free
that will tell you how much memory you have and how much swap you have, you should still have swap even after killing swapper.
About swap size?... depends who you ask. If you ask me, you have a hero with 198 MB working ram and you shouldn't even have to bother with swap at all. If you still want to, maybe try to set up a 32 MB compcache setup (you have enough ram where compcache makes sense) with a swappiness of 0 (this keeps the memory pages for Rosie in swap and even after heavy usage, you can always go back to rosie w/o reloads).
Having a swap-file on your sdcard makes no sense if you don't have a class 6 sdcard as it will hurt performance, so, if you do, anywhere between 64 MB and 198 MB (to match the whole working memory space of the device) with a swappiness of 60 should suffice.
I wish I had a hero...
Thanks jubeh, thanks soo much. It was really helpful After reading your answer, I completely understand how to make only fat32 and linux-swap partitions and save space by not having an ext3.
I am afraid I don't quite understand the compcache thing; I think I have to do more reading/homework on this before I ask further questions
I did install the Official ROM which I downloaded from HTC website as an RUU >> flashed Amon_RA's recovery image via flashrec >> rooted by pushing "su" and "Superuser.apk" via ADB shell, and then also pushed Busybox (from Modaco's 2.2 ROM, I think it is version 1.5.1).
I am using a Sandisk 8GB class 6 card... it is fine so far (except the photo thumbnails not being generated in the ".thumbnails" forlder, but that's a different story). I have noticed that after the ROM upgrade, a folder called "rosie_scroll" get automatically created on the SD card... may be it's a kind of built-in swap?!?! Am not too sure.
Moreover, at the moment, I have set swappiness to 60. When most of the apps are open, the hero functions quite well but I see that about 190-194MB of the internal memeory is being uesd at times and heavy use and the area of occupied swap partition gradually increases. I think it is because only thise apps will swap which are kind of sleeping or dozing in the background. Am I right?
Just another question, if you unzup MCR 2.2, you see in the xbin folder, a file called "dexopt-wrapper", an addition to busybox. What does it do? Its function?
Will having lots off apps open in the background and swapping them continuosly have a deleterious effect on the battery life??
Thanks again
Best regards.
having many apps open means using ram a lot. if you add swapping, it means not only ram sucking battery, but also reading/wirtting sd, which is pretty much battery sucker itself.
so yes, if you want to lengthen your battery life, keep your apps loaded atst to a minimum.
if what you want is a comparison for battery life between swapping and not swapping.. you should check if you have your phone always on or off and some other factors (keeping ram alive in hibernation mode wastes more battery than static sd memory, ie).
Thanks sik_gerar I understand where you are coming from.

Out of Space even after App2SD!

I have a HTC Legend running on NewSense RC4. I have App2SD installed. I've changed the default install location to SD Card via " pm shell setInstallLocation 2". Though I've done all this, I have only around 2-3 MB space always. I're removed the data and cache for many apps. Yet, this is the situation. And I only have 52 APPS.
Please tell me another method to increase the amount of space. Please don't sugesst me to flash to another ROM.
I also read somewhere about partitions on SD card or something. Can you please enlighten me on this?
Note: I read to fast and COMPLETELY skipped the part where you said "Don't tell me to flash another rom" I am soooooo sorry!
The only other option I can give you is to flash Cyanogenmod7 and use data2ext if you want app space, but that is probably out of the question for you!
On the partitioning note:
Partitioning quite simply means splitting your microSD card into 2 or more PARTS (hintART-itioning). Often times, partitioning is used to create a separate space for apps2SD or data2ext. The simplest way to partition is to download rom manager (you must have root and be able to boot into recovery) and choose the option "partition sd card" choose 0 swap , then choose 512mb partitioning space! WARNING: this will delete EVERYTHING on your memory card, so either turn back, or backip tour mem. Card! After it is partitioned, you can proceed to add apps to the new partition of your SD card. Note this will, like I said, split your memory card space! Ex:
If you hav a 1 GB (1024 MB) Memory card, after partitioning, your memory for files will decrease to 512 mb, while 512 mb is reserved for your apps!
Just a word of advice from a fellow XDA-er!
I am not aware whether or not the HTC legend runs Cyanogenmod7 or not, but it would be well worth the flash to use it. Unless you are in love with the Sense UI (because CM7 uses 2.3.3 Gingerbread) then come on over to the Cyan side . Data2ext takes your ENTIRE data section of your phone (that part that holds the meat and bones of an app, PLUS the huge apk file) and puts it in that partition you created. Data2ext is simply a flashable script that puts that partition in action. After flashing the script via recovery, just go to your terminal emulator app on your phone and on the first line, type "su" (without quotes) and then type "data2ext --enable" (exactly as typed without quotes) and vuala, your REAL data section on your phone is literally virtually UNTOUCHED! Which makes your phone a lot faster. There is also a script that let's you choose the size of your partition (no more than 2 GB is strongly recommended) but I haven't used that script just yet, but will soon! Data2ext is WAY bettr than apps to SD! I know that I did way more than just answer your question, but I wanted to answer, plus give a better alternative should you choose to use it
Hope I answered ur question,
Ognimnella
Sent from my T-Mobile myTouch 3G Slide using XDA App
ognimnella said:
Note: I read to fast and COMPLETELY skipped the part where you said "Don't tell me to flash another rom" I am soooooo sorry!
The only other option I can give you is to flash Cyanogenmod7 and use data2ext if you want app space, but that is probably out of the question for you!
On the partitioning note:
Partitioning quite simply means splitting your microSD card into 2 or more PARTS (hintART-itioning). Often times, partitioning is used to create a separate space for apps2SD or data2ext. The simplest way to partition is to download rom manager (you must have root and be able to boot into recovery) and choose the option "partition sd card" choose 0 swap , then choose 512mb partitioning space! WARNING: this will delete EVERYTHING on your memory card, so either turn back, or backip tour mem. Card! After it is partitioned, you can proceed to add apps to the new partition of your SD card. Note this will, like I said, split your memory card space! Ex:
If you hav a 1 GB (1024 MB) Memory card, after partitioning, your memory for files will decrease to 512 mb, while 512 mb is reserved for your apps!
Just a word of advice from a fellow XDA-er!
I am not aware whether or not the HTC legend runs Cyanogenmod7 or not, but it would be well worth the flash to use it. Unless you are in love with the Sense UI (because CM7 uses 2.3.3 Gingerbread) then come on over to the Cyan side . Data2ext takes your ENTIRE data section of your phone (that part that holds the meat and bones of an app, PLUS the huge apk file) and puts it in that partition you created. Data2ext is simply a flashable script that puts that partition in action. After flashing the script via recovery, just go to your terminal emulator app on your phone and on the first line, type "su" (without quotes) and then type "data2ext --enable" (exactly as typed without quotes) and vuala, your REAL data section on your phone is literally virtually UNTOUCHED! Which makes your phone a lot faster. There is also a script that let's you choose the size of your partition (no more than 2 GB is strongly recommended) but I haven't used that script just yet, but will soon! Data2ext is WAY bettr than apps to SD! I know that I did way more than just answer your question, but I wanted to answer, plus give a better alternative should you choose to use it
Hope I answered ur question,
Ognimnella
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
Yes, I read about the partitioning method. I've a few questions.
1. Will this method work on ANY ROM ?
2. Will I reclaim ALL my internal memory?
3. Is this is a sure shot method to install AS MANY apps as we need (the only condition being you that much SD card partition space) ?
4. Can you please link me to a detailed tutorial?
abhishek_turbo911 said:
Yes, I read about the partitioning method. I've a few questions.
1. Will this method work on ANY ROM ?
2. Will I reclaim ALL my internal memory?
3. Is this is a sure shot method to install AS MANY apps as we need (the only condition being you that much SD card partition space) ?
4. Can you please link me to a detailed tutorial?
Click to expand...
Click to collapse
1. Method will only work on rom that support it.
2. You will get a lot of internal memory back but data will remain internal unless you move app's data to sd-ext also.
3. Method trick the phone into thinking the sd-ext is part of your internal memory so you'll be able to install a good amount of apps.
4. Search Dark Tremor's a2sd or S2E in the market.
abhishek_turbo911 said:
Yes, I read about the partitioning method. I've a few questions.
1. Will this method work on ANY ROM ?
2. Will I reclaim ALL my internal memory?
3. Is this is a sure shot method to install AS MANY apps as we need (the only condition being you that much SD card partition space) ?
4. Can you please link me to a detailed tutorial?
Click to expand...
Click to collapse
1. No to my knowledge it only works on CM7 (and you said flashing a new rom is out of the question)
2. Yes, plus more
3. Yes, so far, I hav somewhere around 85 apps installed (and that's with 512 mb only, with 150-200mb still left
4. http://forum.xda-developers.com/showthread.php?t=902395
P.S. - If you want to have the freedom of installing up to 2GB partition space for apps, use data2ext-v4. If you want the already preset 512mb, then use data2ext-v7 (it is thoroughly explained in the post)
Sent from my T-Mobile myTouch 3G Slide using XDA App

[Q] A2SD, TiBu, Nandroid and You...

Hoping someone can help me understand the implications of using the above methods of backup as it relates to device performance and restore.
First is a question about how Android memory works. I'm running Virtuous Unity 2.39 on an Inspire. According to TiBu my System ROM is 575MB with 40.4MB free, 1.21GB internal with 648 free. The system memory manager says I have 180MB of memory available. So, I'm not sure which memory is which. What's used for storage, and what's used for runtime of programs? Am I correct to assume that if I move programs from internal memory to storage that I'll be able to run more apps at any given time?
Here are my questions.
Will moving some (larger) apps like CoPilot (33MB), Documents2Go (11MB), SPB Wallet (12MB) and infrequently used utilities like SpeedTest benefit the handset performance in any real way, or am I over-thinking this?
If the answer to the above is 'yes', there is a performance gain, what happens when I do a Nandroid or TiBu backup in preparation for a ROM upgrade? I know that TiBu has the setting 'Restore backups to... Original Location' as one of the options. Does this mean I could theoretically restore apps to an entirely new (blank) card if need be?
Will using a utility like D2SD (if I partition my card with an EXT4 segment) likewise help in any substantial way?
How can I help organize the apps and data on the card so that it reduces 'clutter' and presents a more easily managed folder structure to find things that I need?
Thanks in advance for your help!
Anyone out there have thoughts on this?
The system ROM, is the memory used by the custom rom. It stores all the files the rom needs to run. The internal memory is the memory used for storage by all the apps, etc. you have. The 180mb you had free, is the RAM. You'll notice it'll be at different amounts (depending on how many things are running, and how resource consuming the are).
1. Yes, but only if your internal memory is very low (low enough to get the "low space" warning (or at least close to that).
2. No (not fully). Some may be restored fine but some would be corrupted.
3. Only if your device's internal memory (in total) is low.
4. Usually when you move an app to the SD card, they automatically organize themselves in one folder called ".android_secure"
Hope this clarifies some things for you .
Theonew said:
The 180mb you had free, is the RAM. You'll notice it'll be at different amounts (depending on how many things are running, and how resource consuming the are).
Click to expand...
Click to collapse
I appreciate your reply.
So, there wouldn't be any performance improvement if I were to free up more RAM or perhaps create an EXT4 partition on the SD card for system use?
BillTheCat said:
I appreciate your reply.
So, there wouldn't be any performance improvement if I were to free up more RAM or perhaps create an EXT4 partition on the SD card for system use?
Click to expand...
Click to collapse
Yes there will be a performance gain if you free up RAM but creating an EXT4 partition does not contribute to that. That partition will only be for storage.

Kernel with swap support?

Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
borg17a said:
Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
Click to expand...
Click to collapse
Yes, there is. Look at sirkay's work.
borg17a said:
Is there any kernel (GB, ICS) who supports a swap partition on xperia ray to get more ram? I am wondering why not all ROMs support swap by default
Thanks!
PS: I know the disadvantages of swap partition on a slow SD-card.
Click to expand...
Click to collapse
Few good reasons why swap is not enabled by default:
swap=amazingly slow (even on a fast sdcard)
swap makes your sdcard dead soon, as it read/writes a lot
So if possible, please stay away from swap, manage your memory in another way, like minfree settings or by disabling memory hungry programs.
If you are in ICS, than don't forget the light GB alternative...less memory consuming and really fast.
Also a good thing is to use the tool : autostarts
With this tool, you can disable triggers that automatically startup application in the background, like gmaps and other crap.
Br.
Michel
Easy sollution - Swapper for Root
I found a app who installed a swap file:
http://forum.xda-developers.com/showthread.php?t=644706
I installed it, but I dont know, whether it works or not...
vleutmans said:
swap makes your sdcard dead soon, as it read/writes a lot
Click to expand...
Click to collapse
Could you define 'soon' please? Due to the wear-levelling on cards it would take years for this to happen. Each time something is written to the card it's written to a different free location to ensure that you don't 'burn out' one section of the card prematurely.
From a report done by Toshiba on flash memory you could: “completely write and erase the entire contents once per day for 27 years, well beyond the life of the hardware.”
Unless you've completely filled up the card and are swapping data continuously then it's a safe bet that your £20 card will still be working perfectly when you've thrown away your £200 phone.
And one more downside of swap partition: battery consuming. Try zram instead.
avin4 said:
And one more downside of swap partition: battery consuming. Try zram instead.
Click to expand...
Click to collapse
How can I enable ZRam?
Do I also need a special Rom/Kernel?
I use GB with Aire Kernel.

[Q] what is /cache and /system ?

could anyone give me a clear explanation about swap. i found the term /cache and /system. i do not find any clear explanation about where the swap process takes places.
if i use swap2cache script, will the swap happen at sdcard or internal memory?
sory for noob question.
sony_84 said:
could anyone give me a clear explanation about swap. i found the term /cache and /system. i do not find any clear explanation about where the swap process takes places.
if i use swap2cache script, will the swap happen at sdcard or internal memory?
sory for noob question.
Click to expand...
Click to collapse
Swapping:
When the ram has very less free space the operating system moves the low priority processes from the ram and places them in the swap partition to make space for high priority processes .
When those low priority processes attain high priority the operating system moves that process from swap partition and places it in the ram.
This process of moving files to and from ram is defined as swapping and the partition which is used for storing these swapped files is the swap partition.
/cache is a partition which is utilized by programs. Programs place their files which are routinely used in the cache partition to reduce the processing time.
For example:
Gallery app saves all the thumbnails of all the pics and videos in the cache partition for fast access when the app is opened.
/system is the partition where all the operating system files are placed . This partition contains nothing but the files which are needed for the operating system to perform without any intervention by the user (both cache and system are generally write protected).
For example:
The folder C:\windows is the system folder in windows whereas /system is the system partition in android.
When you use the /cache partition for swap space you are using the phone memory and not the external memory.
you might want to google the term "zram" it is some what faster than swap to cache,
it compresses the ram memory and makes way for new processes and when the compressed memory is needed again, it simply uncompress them right in the ram memory. as it works with the ram memory itself it is considered to be the fastest.
(please correct me if I am wrong)
And don't be sorry for a noob question. Every experienced developer must have started as a noob and we are here to learn and share so questions are always welcome!
PRESS THANKS IF I HELPED YOU!
sent from my smultron
gouthamthemostwanted said:
When the ram has very less free space the operating system moves the low priority processes from the ram and places them in the swap partition to make space for high priority processes .
When those low priority processes attain high priority the operating system moves that process from swap partition and places it in the ram.
/cache is a partition which is utilized by programs. Programs place their files which are routinely used in the cache partition to reduce the processing time.
/system is the partition where all the operating system files are placed . This partition is nothing but the files which are needed for the operating system to perform without any intervention by the user (both cache and system are generally write protected).
When you use the /cache partition for swap space you are using the phone memory and not the external memory.
you might want to google the term "zram" it is some what faster than swap to cache,
it compresses the ram memory and makes way for new processes when the compressed memory is needed again it simply uncompress them right in the ram memory. as it works with the ram memory itself it is considered to be the fastest.
(please correct me if I am wrong)
PRESS THANKS IF I HELPED YOU!
sent from my smultron
Click to expand...
Click to collapse
great explanation brother, the only bad swap, in which damages the lifetime of sd memory, I remember when I used my old w8 swap took longer to copy files from PC to phone and vice versa, so I do not recommend doing swap is my simple opinion :highfive:
Swapping to external memory is never recommended unless you badly need swap partition and it's the only option you have. Swapping to external memory reduces the life of the external memory very quickly since swapping pages to and from external memory increases the number of read/write cycle count of the external memory which is a very important factor in the external memory's life.
PRESS THANKS IF I HELPED YOU!
sent from my smultron
gouthamthemostwanted said:
Swapping to external memory is never recommended unless you badly need swap partition and it's the only option you have. Swapping to external memory reduces the life of the external memory very quickly since swapping pages to and from external memory increases the number of read/write cycle count of the external memory which is a very important factor in the external memory's life.
PRESS THANKS IF I HELPED YOU!
sent from my smultron
Click to expand...
Click to collapse
so, when we use swap to /cache or /system , will it reduce the life of our internal memory ?? it means that it will break our gadget someday
sony_84 said:
so, when we use swap to /cache or /system , will it reduce the life of our internal memory ?? it means that it will break our gadget someday
Click to expand...
Click to collapse
Theoretically yes,
It depends on how often the swapping takes place and practically in very extremely rare cases the internal memory fails due to swapping. (someone correct me if I am wrong)
External memory is designed in a way to have large space so it's transfer speed is the lowest.
Internal memory is embedded flash memory and has lower capacity compared to external memory and it has higher transfer speeds compared to external memory.
Ram is volatile memory designed for high speed data transfer.
If you are very much concerned about your life of external memory and internal memory then zram is your only option.
PRESS THANKS IF I HELPED YOU!
sent from my smultron
gouthamthemostwanted said:
Theoretically yes,
It depends on how often the swapping takes place and practically in very extremely rare cases the internal memory fails due to swapping. (someone correct me if I am wrong)
External memory is designed in a way to have large space so it's transfer speed is the lowest.
Internal memory is embedded flash memory and has lower capacity compared to external memory and it has higher transfer speeds compared to external memory.
Ram is volatile memory designed for high speed data transfer.
If you are very much concerned about your life of external memory and internal memory then zram is your only option.
PRESS THANKS IF I HELPED YOU!
sent from my smultron
Click to expand...
Click to collapse
if it's so , I just need to apply zram script ?
sony_84 said:
if it's so , I just need to apply zram script ?
Click to expand...
Click to collapse
yes.
this is the script to be executed to enable zram.
i guess it should work with all kernels for our device (i guess)
i took it from rage kernel thread thread so the credits goes to DuMOHsmol
the script must be run at boot every time (copy it to etc/init.d folder)(provided you have init.d support).
HIT THANKS IF I HELPED YOU!
gouthamthemostwanted said:
yes.
this is the script to be executed to enable zram.
i guess it should work with all kernels for our device (i guess)
i took it from rage kernel thread thread so the credits goes to DuMOHsmol
the script must be run at boot every time (copy it to etc/init.d folder)(provided you have init.d support).
HIT THANKS IF I HELPED YOU!
Click to expand...
Click to collapse
this is working great.
just to make sure, is this safe for internal and external memory??
Ya man! Nothing to worry. The main concept behind zram is to optimize the ram memory for system on chip devices (devices whose hardware can't be upgraded).
PRESS THANKS IF I HELPED YOU!
sent from my smultron

Categories

Resources