[GUIDE] Increase RAM using Swap File and Swap Partition - Galaxy Ace S5830 General

Copied from CarlDeanCatabay post
Increase RAM using Swap File and Swap PartitionNOTE:
I spent hours updating my guides and I don't ask you to press that THANKS button, be kind enough not to copy my guides to other forums. I know some noobs want to make a name on other forum boards... but hey, that's not an excuse! ​WARNING: This mod may degrade SD card life.
​What you need:
MiniTool Partition Wizard for SD Card Partitioning
A MicroSD HC 4GB or higher class 6 or class 10
MicroSD HC Card Adapter
A card reader (if your pc doesn't have card reader built in | USB Mount is not adviseable)
Swapper2 from Google Play Store [DOWNLOAD]
ADB Shell or terminal Emulator (to check if swap is activated)
Make sure you have BusyBox installed
Before we start, lets do some reading . . .
RAM
What is RAMRandom Access Memory (RAM) is temporary data storage that the CPU uses during calculations. The more RAM a device has, the more calculated results the CPU can store - which means less time the CPU has to do the same thing over and over again. In other words, the CPU can check RAM to see if it has already made a particular calculation in the recent past. If it has, it can use the pre-computed results instead of wasting processing time recomputing the same calculation. In short, more RAM means a more efficient (and faster) device. ​SWAP
What is SWAPSwap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM. The computer will attempt to keep as much information as possible in RAM until the RAM is full. At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes. If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped'). The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.
Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory. Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits. When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed. In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap. ​Step by Step GuideHow to create Swap PartitionUsing MiniTool Partition Wizard
Plug in you MicroSD HC Card to your computer using the card adapter. (Do not use USB Mount)
Open MiniTool Partition Wizard and look for the card
Right Click on it and select Delete Partition
Click on Apply to Delete the Partition
Right Click on it again and select Create Partition
Set the partitions as follows:1st partition:
Label: Android-SD
Create as: Primary
File System: Fat32
Partition size: as much as you want! ​2nd partition:
Label: Android-EXT3 (2nd partition is for EXT which you can use for A2SD or Link2SD)
Create as: Primary
File System: EXT3 (be it a custom kernel or ROM with EXT4 support, use EXT3 still -play safe! )
Partition size: MIN: 256 MB MAX: 1024MB (1GB)​3rd partition:
Label: (do not put anything)
Create as: Primary
File System: Linux Swap
Partition size: MIN: 32MB MAX: 1024MB(1GB) RECOMMENDED: 256MB​
After creating partitions, click Apply to apply changes.
Using ClockWorkMod
Reboot to Recovery
Go to Advanced and Debugging
Select partition SD card and select the partition size that delights you
How to use Swap
For us to be able to use swap file or swap partition, we need to use Swapper2 which you can get from Google Play.
Download and Install Swapper2 (of course)
After installing, open Swapper2 and navigate to Menu > Settings
Swapper preferences: (for kernels that doesn't have swap partition support)
Run swapper at startup (put a check)
Swap place: /sd card/swapfile.swp (you can place it in a folder if you don't like a messy sd card structure )
Swap size: MIN: 10 MB MAX: 256MB RECOMMENDED: 32MB (choose any)
Swapiness: RECOMMENDED: 10MB SYSTEM DEFAULT: 60MB MAX: 100MB (choose any)
Safe unmount (put a check)
Safe remount (put a check)
Advanced preferences: (for Kernels that supports swap partition only)
Use swap partition (put a check)
Swap partition: /dev/block/mmcblk0p2​
After setting preferences, press back and tap on "ON" to turn on swap. Reboot afterwards
How can I tell if swap is running?Go to the terminal emulator - or open adb shell - and run 'free'.
If it looks like this (with zeros in the swap line), you do not have swap:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If it looks like this (with anything other than zeros in the swap line), you do have swap:
​NOTE:
You need to turn off swap before you mount SD via USB, if you don't you will not be able to mount sd as swapfile is active and set to read only which will deny request to mount USB Storage.​Confirmed Working:
works on my ace Rom StockLite v6 with kernel : cf-root b83 from ketut​

Thanks!
Very helpful - noob notwithsanding

thanks for the info. Will it show in task manager the total ram size increase?
\\
says swapper 2 is incompatible ace. can i have the apk?

BUMP !! Anyone?

lukip005 said:
BUMP !! Anyone?
Click to expand...
Click to collapse
No
Sent from my GT-S5830 using Tapatalk 2

does anyone have tried this. ?
is this really working . ?

manthan2611 said:
does anyone have tried this. ?
is this really working . ?
Click to expand...
Click to collapse
its impossible to increase the ram size. it is a Hardware part. swapping will destroy your flashmemory
Sent from my GT-S5830 using Tapatalk

I try these steps More than once, but also each time have 1 error when try turn on swap:
Code:
swapoff /dev/block/mmcblk0p2 invalid argument

Thanks for this post

Friends, you can't increase your RAM. It's size is fixed in the RAM chip. There's nothing like a Linux swap partition/Windows ReadyBoost to help with this but overclocking your CPU can increase your performance and also try to install lighter ROMs like AOSP ROM. I hope this will help you.
Kindly,
MZ

Does it affect on battery's life? shorter?

nambont12 said:
Does it affect on battery's life? shorter?
Click to expand...
Click to collapse
Yes, it will affect your battery life a bit as it is always running in the background. Hope I Helped

Related

Data to sd with dalvik-cache to ram for sga

There are a lot of ways of moving /data to SD ext(2nd) partition. Here I'll show you an easy way to do it which is fully compatible with Samsung Galaxy ACE(and possibly other devices as well). If you don't like the method used here, try other Data2SD/ext mod which may suit your needs.
Why move dalvik-cache to RAM? Basically, the idea of moving the whole /data partition to SD ext partition is to primarily get more space for installing apps. And in this case, it does perform very well and combined with fast SD cards, it could even provide real-life performance boost. Now the downside to this, is that while most /data contents just get copied and read not that much often, dalvik-cache stores some info that needs to be read and updated very frequently. This results in a high I/O read/write frequency and thus results in shortening of the SD card life(in theory, the same could also be said when left internally but this time dealing damage to the nand disk instead). To counter this, the method I used is to move dalvik-cache to a virtual-disk like partition known as a tmpfs. tmpfs resides in RAM and has dynamic resizing structure which can allocate space depending on your needs. This way, dalvik-cache won't be using any physical disk and therefore causing damage to none. Almost too good to be true right? Well the drawback is, because tmpfs resides in RAM anything written onto it get's lost when rebooted or in-case of power loss thus resulting in loooong boot times(depending on the apps installed), as dalvik-cache contents are being rebuilt on every boot. Well I think that's enough of dalvik-cache and lets start with the mod.
WARNING
USING A NON-APP2SD / NON A2SD / NON-LINK2SD ROM OR SIMPLY UNINSTALLING NON-APP2SD / NON A2SD / NON-LINK2SD IS STRICTLY RECOMMENDED
DO NOT EVEN TRY THIS MOD IF YOU HAVE ANY FORM OF NON-APP2SD / NON A2SD / NON-LINK2SD INSTALLED
ALWAYS PERFORM A BACKUP BEFORE TRYING OUT STUFF LIKE THESE
Disclaimer: I am not responsible for anything bad happening in the world blah blah, you know the drill!
Put the files of Data2SD_for_SGA.zip inside the corresponding places on your phone manually.
system/bin/e2fsck
system/xbin/busybox_d2sd
system/etc/install-recovery.sh
--------------------------------------
Basic Requirements
1. Fresh ROM
2. Rooted
3. No A2SD, No App2SD, No Link2SD
4. SD Card Partioned to Ext2 and Fat32
5. SD Card must be original (NOT Class A) as much as possible Class 4 and up.
6. Make sure that your SD Card is partitioned accordingly. Just like how you did when using link2sd.
7. Previous link2sd users need not partition your SD Card. Just format the EXT2 partition.
Steps
1. Flash DXKC1 ROM in your phone
2. Partition your SD Card with EXT2 (first) then the remaining FAT32
3. Root your phone with SuperOneClick then reboot
4. Before inserting the SD Card remove .android_secure, Android and LOST.DIR folders. And make sure that EXT2 is clean
5. Copy the extracted Data2SD_for_SGA.zip on your SD Card
6. Install Root Explorer on your phone
7. Copy the files from the extracted Data2SD_for_SGA.zip to your phone using root explorer
system/bin/e2fsck
system/xbin/busybox_d2sd
system/etc/install-recovery.sh
8. After successfully copying the files, reboot phone.
9. Turn on phone and wait. The initialization might take some time depending on the speed of read/write of your sdcard.
10. If errors has been encountered, REPEAT THE STEPS FROM STEP 1.
Thanks Ungaze
All credits goes to Ungaze of TCP / XDA
Hi, it tried 3 times and it's not working for sga.
Would that work also on GingerBread? AFAIK automount scripts make SGA reboot as per Link2SD issue.
@mastrone -> Link2SD and Data2SD is a different thing.. But both won't work on Gingerbread because install-recovery.sh is quoted inside init.rc
@roninxt -> worked for me... i am using DXKC1 ROM...
tazzz811 said:
@mastrone -> Link2SD and Data2SD is a different thing.. But both won't work on Gingerbread because install-recovery.sh is quoted inside init.rc
@roninxt -> worked for me... i am using DXKC1 ROM...
Click to expand...
Click to collapse
I'm also using that rom. But i didn't flash to a fresh rom. I had a Link2sd installation before and i followed the steps. I also uninstalled Link2sd.
Can someone explain why do we need a fresh rom?
Can someone explain why do we need a fresh rom?
Click to expand...
Click to collapse
When you have an applications installed before putting data2sd in its place... Some or most of the application will result to FORCE CLOSE... That's the reason why it should be applied on a FRESH ROM.
I experienced it before when i got excited on applying Data2SD having 200 apps installed... The result, i got FORCE CLOSES on most of my applications.
But you can still try it out on a currently running ROM in your phone, make sure that you have no a2sd, app2sd or link2sd installed..
Change the title
please specify this for GINGERBREAD or FROYO
roninxt said:
Can someone explain why do we need a fresh rom?
Click to expand...
Click to collapse
Basically to avoid/minimize errors with conflicting mods prior to this mod. If you're an advanced user(or something like that) you probably know what you're doing already so fresh ROM install is not necessary but still recommended.
@tazz811
Nice work man, I'm assuming that the current custom ROM available for SGA does not have init.d support as of now and that's why you placed the script inside the install-recovery.sh script. Well, this might sound useless but, why not make install-recovery.sh call any scripts from init.d? Maybe something like:
Code:
list=`ls /system/etc/init.d/*`
for k in $list
do
sh $k
done
this way, you can run the data2sd script from init.d which will then make it easier to make modifications as well as allow other scripts to run on init.d.
@Ungaze... Thanks for the idea... You owe all the credits... It's me LTGB
list=`ls /system/etc/init.d/*`
for k in $list
do
sh $k
done
Click to expand...
Click to collapse
my understanding of this simple script is, it will run any script found inside system/etc/init.d/ folder.
Internal Storage Capacity Increased
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Got huge Quadrant Score
This is the result of Data2SD on my SGA - DXKC1 ROM
tazzz811 said:
This is the result of Data2SD on my SGA - DXKC1 ROM
Click to expand...
Click to collapse
what is read/write speed of yours SD card..?
what is read/write speed of yours SD card..?
Click to expand...
Click to collapse
i'm using transcend 8gb class4
tazzz811 said:
my understanding of this simple script is, it will run any script found inside system/etc/init.d/ folder.
Click to expand...
Click to collapse
Exactly
Dude, TCP is already a giveaway lol.
is it working with VillainROM or KPE too..? or it is just for FROYO..?
is it working with VillainROM or KPE too..?
Click to expand...
Click to collapse
No.. It's not working on a rooted Gingerbread ROM (Stock or Villain ROM). The init.rc is kinda secured even if you unquote install-recovery.sh it will revert back to the original state. Therefore install-recovery.sh will not be executed during boot time.
http://62.0.5.133/oi51.tinypic.com/qzk8z9.jpg
working on it! thanks man. TCP rules
Ok i got it to work. I have about a couple of apps installed about 10 and i was successful running the script. I uninstalled all my other apps. I didn't encounter force closes. So yes i can confirm that d2sd will work even on an existing sga rom. But you need to uninstall most apps including big ones as this might lead to a force close.
not work on my SGA,install from fresh rom dxkc1
my sd card 8 GB class 10 - make ext-2 first then fat32
following your instruction, tried almost 10 times and still not work for me....

[Q] SG II phone memory full

hi
i got notification on my sg2 today, that say the phone memory in nearly full
so my question is how to move them to internal storage
ps: i don't have micro SD card on my phone
you dont need the external SD card (if you have enough space on the internal SD card) i guess you might have enough space... just do the following
go to settings -> applications -> manage applications
then tap the on SD card on top
this will list the applications which can be moved to SD card
check the box on the right to the application you want to move to SD card.
it will take you to another screen, click Move to SD card
job done.... do it one by one if you need more applications moved
hi i follow your steps but when i try "Move to SD Card" buttom i get Failed to move application: not enough memory, and yes i have 4gb free space
problem moving apps to phone memory
woodstock_ahem said:
you dont need the external SD card (if you have enough space on the internal SD card) i guess you might have enough space... just do the following
go to settings -> applications -> manage applications
then tap the on SD card on top
this will list the applications which can be moved to SD card
check the box on the right to the application you want to move to SD card.
it will take you to another screen, click Move to SD card
job done.... do it one by one if you need more applications moved
Click to expand...
Click to collapse
Tried doing tat..but it says "Failed to move application:Not enough memory".
My storage stats :
System storage :1.54GB/1.97GB
USB storage :2.16GB/11.50GB
SD card :0.00B/0.00B
I doubt whether it takes sd card as d external memory card which i abesnt in my phone & hence "not enough memory" ???
go to task manager -> clear memory from RAM
then try following my steps again...
wait a minute, just noticed that your System storage :1.54GB/1.97GB
which shows space available
the external SD card is not a requisite...phone will be fine without it
woodstock_ahem said:
go to task manager -> clear memory from RAM
then try following my steps again...
wait a minute, just noticed that your System storage :1.54GB/1.97GB
which shows space available
the external SD card is not a requisite...phone will be fine without it
Click to expand...
Click to collapse
Same
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Device memory 1.8GB USED /208 MB FREE
SD CARD 7.5 gb used/4.0GB free
provide the following details :
go to settings -> applications -> memory usage
then click the last tab - running
what do you see at the bottom of screen? the free RAM , how much is free , how much is used
then click the first tab - downloaded
what are the device memory details
OK try uninstalling few least essential apps to get the device memory free upto 400 MB... then start moving the rest of the Apps to SD card one by one
RAM : 237MB used / 415MB FREE
device memory details: 1.8GB used / 208 FREE
Running :209MB used, 499MB free
Device memory :1.5GB used, 443MB free
On SD card : 2.2GB used, 9.3GB free
I know i've got some space available..but still wen required to move apps to device memory...how can i do it?
Any help please?
moving apps to sd
woodstock_ahem said:
provide the following details :
go to settings -> applications -> memory usage
then click the last tab - running
what do you see at the bottom of screen? the free RAM , how much is free , how much is used
then click the first tab - downloaded
what are the device memory details
OK try uninstalling few least essential apps to get the device memory free upto 400 MB... then start moving the rest of the Apps to SD card one by one
Click to expand...
Click to collapse
(SRY 2 quote ur entire msg...but i can't figure out wats going wrong here..Help admired )
Running :209MB used, 499MB free
Device memory :1.5GB used, 443MB free
On SD card : 2.2GB used, 9.3GB free
I know i've got some space available..but still wen required to move apps to device memory...how can i do it?
I have run out of ideas !!
If you dont find any help from elsewhere and finding it hard to use the phone right now, i suggest doing a hard reset.
i dont know if you guys are running any customized ROM.
This is what i have and what i do.
I have the Stock official non-leaked ROM on UK generic phone which has been rooted.
I have around 45-50 the usual useful apps installed plus couple of game demos.
whenever i see the apps requiring 50mb + download required i tend to move it to SD Card and provide the SD card destination for any offline reference files (for example)
this i do just after the installation...(if it cant be done during installation)
this way i have managed to keep the device memory to around 400 MB usage
i keep the most frequently used apps on the phone memory/device memory... pushing others to SD card.
if you get stuck with no further help on your query
i suggest start over again after hard reset and follow the good practices whichever ROM you are using
Good Luck
You can't move apps to the internal SD. That is why you are getting failure messages. You need to add an external SD card to move apps to.
yes i was wrong all the time
apologies for providing misleading information earlier ( it wasnt intentional)
i pulled out my external SD card and i started getting the same reported error messages...
i got confused with the naming convention of the folders... hand up..my fault
so there you have it.. get a SD card
thanks @aterlecki
ok so now i need to find a new memory
whats best 32gb (for the price) i can find for my SG II?
Thanks for help guys!
Hussainoo said:
ok so now i need to find a new memory
whats best 32gb (for the price) i can find for my SG II?
Thanks for help guys!
Click to expand...
Click to collapse
Best is relative to your needs but I, and many others, prefer a card with a good balance of read/write speeds and decent IOPS. The Class 4 32GB Sandisk card is well respected and a solid performer for the price. It is faster in reads/writes than the class 4 spec suggests and has much better IOPS performance that the supposedly better class 10 cards.

Install and Configure a2sdgui on ROM's CyanogenMod

Install and Configure a2sdgui ROM's CyanogenMod
Hello fellow good here I leave this tutorial hos to use a2sdgui based on CyanogenMod ROMs, as these ROMs do not include this system and its installation is different from a stock rom; a2sdgui is an app that allows us to extend the internal memory the mobile to have more space to install apps, this is accomplished by configuring two aspects: SD memory partition and installing a script called darktremor a2sdgui, well initiate:
THE WHOLE PROCESS IS DONE AT YOUR OWN RISK, I AM NOT RESPONSIBLE FOR BRICKS IN MOBILE IF YOU DO EVERYTHING AS SHOWN TO WORK ALL YOU ASSURE THAT CORRECTLY
RECOMMENDED TO DO BEFORE INSTALLING THE MOBILE APPS
Requirements:
- ROM based CyanogenMod 7.1 or 7.2
- Install a2sdgui (DOWNLOAD FROM THE MARKET)
- Script darktremor a2sdgui 2.7.5.3 Beta 04 (Download)
- SD card partitioned
Instructions:
1. - Install a2sdgui
2. - MicroSD Memory Partitioning:
First download the MiniTool Partition Wizard.
http://download.cnet.com/Partition-W...=dl&tag=button
Once installed, we put our SD on the PC (with a reader, adapter or anything like that) and open the program.
If you already have some partitions it is recommended that if we start from 0 erase all as shown.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After deleting all now begin creating them.
We give and we get this Edit menu and the first is FAT32.
We have to make FAT32 and Primary, we assign space is relative, I having 8GB (class 6) I put all but 1.5 will be for ext4 and swap.
Now for the ext4 partition, select PRIMARY. Now the partition type is relative, it is recommended that if your card is less than 6 class partition is ext2. If Class 6 or more ext4. That and I leave to your judgment, in my case I assign 1 GB will be to host the apps as if they were in the internal memory.
Now we use the remaining space for the swap partition (PRIMARY), in my case 500 Mb RAM With this more of our ACE will have 800 MB of Ram (the swap partition is a partition that is used like RAM, it is so important!)
APPLY Now we give and we get this message should accept and the thing to end as you see in the two screenshots below.
Partitions that I recommend are:
3. - Restart the phone in recovery mode
4. - Scroll to and select mounts & storage mount / data and mount / system
5. - Made the above should be unmount / data and unmount / system
6. - Now return to the main menu of recovery
7. - Enter to install zip from sdcard> choose zip from sdcard>-2.7.5.3-beta04 dtapps2sd-signed.zip
8. - Restart the phone, when you start DO NOT OPEN OR ANYTHING IN THE MOBILE, the mobile just restart again, it is NORMAL not alarmed.
9. After reboot, enter A2SDGUI. On the menu that appears in the display of APPS on SD are expected to be active and SWAP may also, in case this is not no more to give up and active. At the end of the menu is the VALUE SET 0-100, I got 100 and I gave the side.
10. - Now we turn to LowMen directly and I have chosen this, to me is the one that best suits me. The option below elijais leave more free memory, it is better but in my case having 800 mb is fine for me up there.
11. - Now let's Dalvik-Cache and choose it and click Move & Rebuild and phone will reboot.
AND THIS IS WHAT WE HAVE TO END MUCH MEMORY FREE AND ESPECIALLY A lot of RAM! ENJOY!
Link2sd is better ..and s2e is better heavenly
Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
ayush29k said:
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
Click to expand...
Click to collapse
Yeah, Im pretty confused on this too.
What are the differences and cons/pros of each?
Thanks in advance
ayush29k said:
@tazlooney89, thanks for sharing this tutorial.
Could you please explain the difference between link2sd, s2e and app2sdgui??
there are so many methods, gets pretty confusing which to use.
Click to expand...
Click to collapse
Robbang said:
Yeah, Im pretty confused on this too.
What are the differences and cons/pros of each?
Thanks in advance
Click to expand...
Click to collapse
I haven't used s2e, so i can't give you a description of, but i can say that the main difference between links2sd and app2sdgui is that meanwhile the first only moves the apps to the sd (even those that aren't allowed to by the os), app2sdgui "cheat" Android to "think" that it have more internal memory, but really it's just part of your sdcard.
Hope you'd understood me
raymanlololo said:
I haven't used s2e, so i can't give you a description of, but i can say that the main difference between links2sd and app2sdgui is that meanwhile the first only moves the apps to the sd (even those that aren't allowed to by the os), app2sdgui "cheat" Android to "think" that it have more internal memory, but really it's just part of your sdcard.
Hope you'd understood me
Click to expand...
Click to collapse
Ok. Thanks. So what do you use? app2sdgui? I have used Link2Sd for a week or so now. I think it is really good. it gets the job done nicely.
Robbang said:
Ok. Thanks. So what do you use? app2sdgui? I have used Link2Sd for a week or so now. I think it is really good. it gets the job done nicely.
Click to expand...
Click to collapse
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
try this
raymanlololo said:
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
Click to expand...
Click to collapse
did u see this thread http://forum.xda-developers.com/showthread.php?t=1485470
raymanlololo said:
No one, 'cause I've installed the stocklite and,I don't know why, app2sdgui doesn't run on it (to me at least).
Click to expand...
Click to collapse
DTaaps2sd doesnt work on stock rom .. as it need supported kernel.... ext4 sd-ext partition....
and stock provides with rfs system type....so running app2sdgui is not possible..
refer the link here...
DT A2SD thread on xda : http://forum.xda-developers.com/showthread.php?t=715940
this one is my try on explaing DTA2sd--
http://forum.xda-developers.com/showthread.php?t=1530270
ps1max said:
did u see this thread http://forum.xda-developers.com/showthread.php?t=1485470
Click to expand...
Click to collapse
ambujpriyadarshi1991 said:
DTaaps2sd doesnt work on stock rom .. as it need supported kernel.... ext4 sd-ext partition....
and stock provides with rfs system type....so running app2sdgui is not possible..
refer the link here...
DT A2SD thread on xda : http://forum.xda-developers.com/showthread.php?t=715940
this one is my try on explaing DTA2sd--
http://forum.xda-developers.com/showthread.php?t=1530270
Click to expand...
Click to collapse
I think you guys didn't understood me; I'm on the stocklite v3, and it's a custom rom with DT scripts installed. Anyway I'll take a look over that threads ;-)
EDIT:
Haha, i've messed it up!
I don't know why or how, but now i have the app2sdgui running, but....also i had runngin link2sd, and several apps linked. Now i have a lot of "andro-boxes" (linked apps that are, seems, not readable) in my phone, a sdcard partitioned and a lot of information blocked.
I'm trying to create the mount scripts on link2sd to unmake the links, and start using app2sdgui, but link2sd can't because "device or resource busy"
Good, i'm the best! XD
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
myshowbiz said:
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
Click to expand...
Click to collapse
If you use Swype beta you need authenticate them, but u can use a altenative, a swype modify, i dont know if i can post the link here, because i dont know if this is a warez... ?? but put in the google and search for DA SWYPE. In this web site you have many options of colors of swype.
myshowbiz said:
I can't activate de Swap.
When I pres the button to activate the swap, appears "Changing setings..." after that "Reading setings...", some buttons appears in background but after 1 sec disappear.
how to fix that ? thx before...
Click to expand...
Click to collapse
Same goes here...cant activate the swap

[Tutorial] How to Increase Internal Memory of QMobile Noir A2 [Root Only]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi Everyone!
All users of QMobile Noir A2 know about the very limited Internal Memory of this phone.
Well you can get rid of that problem by Rooting your phone and using Link2SD application.
Here I have posted how to use Link2SD specifically on QMobile Noir A2. This is a edited version of the tutorial from this site:
wasconet.com/how-to-increase-the-internal-memory-of-your-android-devices/
I am not stealing any work, just modifing and reposting with reference.
Before starting do Note:
You will need to have a Rooted QMobile Noir A2. Search if you need help with Rooting.
Also note that there is absolutely no way you can actually increase the size of your phone's internal storage but you can allocate some part of your memory card for your phone to install applications to.
What you will need:
Your QMobile Noir A2 Phone (must be rooted)
Memory card (2GB and above only)
A memory card reader
A computer
Download and instal MiniTool to your computer. Download from this website: partitionwizard.com/free-partition-manager.html
Link2SD application (should be downloaded on Google play store)
Backup your memory card (copy all the data on it to a folder on your computer)
Remember that you will have to fully format your SD-Card so remember to copy and save all your data as you will lose it completely in the format.
YOU WILL LOSE ALL DATA ON THE SD-CARD, SO COPY AND SAVE IT ON YOUR PC.
Do not complain to me if you lose your data and did not make a backup of it. In that case I am afraid to say that nothing can be done now to get your data back.
Steps to increasing your A2's Internal Memory
Step 1: Backing up your memory card:
Before attempting this, make sure you have backed up all the files and folders on your memory card to your computer by easily coping the whole memory card and pasting into a folder on your computer.
Step 2: Partitioning your memory card (Be careful here you can destroy your memory card):
Connect your memory card to your computer using a memory card reader (dont use a phone and USB cable) and take note of the letter assigned to it by your computer on my computer page example (F: ), (D: ) etc .
Open the installed MiniTool on your computer.
Right click on your memory card letter (example D:, F: ) and click delete.
Now you will see the memory card showing unallocated space, right click on it again and select "Create as -> Primary"
If your memory card size is less than 2GB, select file system "FAT" . If it is more than 2GB, select "FAT32".
Now go down and reduce the size of your memory card on partition size so that there will be space on unallocated space (that will be your added memory, so you can choose any size you want).
I recommend that you leave at least 0.5GB or 500MB and if your memory card is 4GB or larger then leave 1GB.
No need to leave more than 1GB unallocated.
Now, choose the unallocated space again and select "Create as -> Primary"
Now, choose "FAT" file system. You can let the whole space take over in this step.
Now click ok and click apply on the top menu.
Wait for it to finish and you have successfully partitioned your memory card.
Copy your data backed up on your computer back to the memory card and insert it into your phone and turn it on.
Step 3: Configuring Link2SD:
Now open Link2SD which you have downloaded from Google play store on your phone
-Now open Link2SD which you have downloaded from Google play store on your phone
On first run you will see a diagloge from Super User similar to the image below. This is a safe application provided you downloaded it from Google Play with the correct name so go ahead and click on "Grant".
Next Link2SD will ask you to select the file system of your second permission, choose "FAT / FAT32". See image below.
Now click OK, the phone will ask to get restarted, click on "Reboot Device" so it will restart itself.
A dialogue box will come up after the restart click okay
Open Link2SD
There is a funnel-like icon on the top part click it you will see different options, choose on internal. Image below.
Now tap the Menu Key of your phone, and select multi-select, then press the select all button.
All of these apps will be selected. Now choose action then click create link
Select the three options (link application file, link dalvic-cache file,link library files) then click ok
Link2SD will then move all those apps and games then create a link with them from the second partition of your SD card. Touch OK when done
Now you are done but to make sure this happens automatically every single time you install an app you should goto settings from the menu and click on auto link and then select Auto Link Settings and then select the three options again and ok.
Also to prevent your phone from automatically moving apps to SD-Card by the default method which is not much effective and will cause problems goto settings from the menu, click on Install Location and select Internal
You are now free of the low memory issue with your phone.
This is how I got Link2SD to work on my QMobile Noir A2, and I love it. I have been able to install 45 applications on my mobile, including all big popular games.
Here is screenshot of my mobile after I used Link2SD and installed many games as you can see for yourself here that how much Internal Memory is even after installing these many applications:
Regards,
RaHBeR
facebook.com/RahberLeader/
Edit Info:
- 9th July 2013
Tutorial created
- 13th July 2013
Added working screenshots of Link2SD
good guide (Y)
finally someone did i was an developer of noir a2 but i moved to another phone kudoz to you man makin link2sd work perfectly
This is the error I am receiving:
/data/sdext2 mount not found.
Ghulam Muhammad Mustafa said:
This is the error I am receiving:
/data/sdext2 mount not found.
Click to expand...
Click to collapse
Where do you get this error, in which application?
Regards,
RaHBeR
How To Change Boot file Qmobile A50 ..
Dear All
Please give me solution .....
Can we use data2sd method with noir a2 to increase the internal memory ?
Can We Do Same With Our Mobile Internal Memory?
Thank you for this great article and I'm going to try this trick right now. I have a question also, Can we not use our mobile Internal memory instead of memory card memory? Actually I have 4 GB free internal memory and the other benefit is apps developers prefer that the apps should be stored in internal memory.
please tell me any one how about sdcard memory & sdcard memory use in internal memory or not ?
---------- Post added at 06:50 PM ---------- Previous post was at 06:49 PM ----------
please tell me any one how can i update my qmobile m90 on new android lollipop 5.1 info
My phone q i9 increace the internal memory plz help sir

[MOD] Storage Expansion for S4 Mini (microSD for /data)

------
TLDR
---
As most people know, 8GB is not enough for modern smartphones. With this mod, I provide a modified 'fstab' file and instructions on how to expand '/data' to install apps without root and in a universal way. All apps will install as if in internal storage.
Furthermore, given the old age of these phones, internal eMMC will progressively degrade until the phone dies completely. I have experienced going from 10MB/s writes, to 5, to 2 and then a completely dead phone. This extends the life of eMMC by only writing Android updates to eMMC and will improve responsiveness in phones with very worn eMMC flash.
This is work in progress (some slowdowns occur depending on the card), but I have been daily driving this mode for two months now. I have made adjustments so that the microSD stalls less than stock 'fstab' and EXT4 filesystem.
Example of 64GB card, w/ backup partition (p2) created, still 26GiB free for apps:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
---
THIS MAY DELETE YOUR DATA OR SOFT-BRICK YOUR PHONE. Be careful beforehand and backup your data to another microSD card.
IF YOUR PC HAS eMMC DRIVE, /dev/mmcblk1 MAY BE YOUR OS. Check before doing anything and after each reboot, as sometimes Linux reassigns them on machines with eMMC + card reader.
---
TODO/BUGS
---
- Used space will be messed up if you use more than one partition (can't be mounted as removable storage) but free space will be correct.
- Sometimes I have experienced reboots, with no data loss that I can find. I don't think it is related to this ROM mod.
- F2FS is still experimental and has no way to recover from a corrupted drive/card. If something goes wrong, your only option is to dump the files with PhotoRec software and try to recover what you can.
The data will be there but F2FS can't seem to recover from a damaged superblock.
I have used on one phone without issues for 3+ years but when there is SB corruption it can't recover.
- Push this to a 16.0 ROM, which is lighter on the RAM and has ambient display. (just personal preference) This requires a custom ROM.
---
HARDWARE
---
First you need a capable microSDXC card, I have only tested SanDisk Ultra A1 which are not perfect. SanDisk Extreme 64GB A2 class are probably good but please report performance if you try it. I only recommend this class of cards.
The problem with Sandisk Ultra is that sometimes they stall doing GC and the phone also stalls. This is quite random and will be worse if you use the phone for extended periods without time for background GC to run.
The advantages is they do some kind of wear-levelling and I am yet to see one of these cards die to wear out, despite being used on RPi machines 24/7.
SanDisk Ultra cards (A1 class) and most SanDisk USB drives have issues where they perform great when new but don't do proper garbage collection and will get very slow after a couple of days. So benchmarks look fine but real world it becomes really bad. I had a USB drive that only recovered to 5MB/s writes, that was the baseline, after three or four sequential wipes to most of the drive. These types of cards will also be very slow if you try them as adoptable storage.
Any microSD will work but choose a fast one and please help test different brands.
You also need a PC, preferably with Linux, and a card reader of any kind. This can be done in Windows through TWRP and ADB access but I don't recommend it.
---
BASICS
---
We will format the microSD card with one or two partitions. If you split it, you can do manual backups for the second partition but you can't mount it. Remember that by using /data on the SD card, you cannot use TWRP to backup to it. The modded '/data' partition will mount as a removable SD card in stock TWRP.
Download files:
Arco68's LineageOS 17.1 ROM
The new 'fstab' file from Pastebin: fstab.qcom.
Process flow:
Install 'adb' and enter TWRP mode to access shell,
Use fdisk to create a DOS partition table
Add a new partition with half or full size, starting at block 32768. Leave 1 or 2GiB space free and don't touch it with data. Some types of cards will be able to use these for better performance.
(OPTIONAL) Create 2nd partition right after the first one.
Change the partition(s) type to 'Linux' and spare space as 'Hidden HPFS/NTFS'.
Format partition(s) as F2FS (can also do ext4 but should be unusable),
After this, we will install arco68's 17.1 ROM and push a new 'fstab.qcom' file that will mount the microSD partiton as '/data' and the phone can use it to install apps and user data.
Encryption has not been tested and is not expected to work.
---
PREPARE microSDXC CARD
---
You should also format the card on a Linux PC if you can, as recovery has outdated f2fs-progs or not at all. The ROM has modules and will boot F2FS when instructed to do so.
Check that /dev/mmcblk1 is your microSD card reader BEFORE PROCEEDING! Otherwise, you may nuke your OS!
Do the procedure as listed before, first thing is to 'p' to check you are on the right microSD drive.
Then create the new DOS table and the partitions. This is for expert users only, at this time I will not post detailed fdisk commands.
The output from 'p' print command looks something like this:
Disk /dev/mmcblk1: 31.00 GiB, xxx bytes, 16252928 sectors
Disk model: Sandisk Ultra
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xZZZYYYXXX
Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 * 32768 62947327 62914560 30G 83 Linux
/dev/mmcblk1p2 62947328 yyyyyyyy xxxxxx 900M 17 Hidden HPFS/NTFS
Click to expand...
Click to collapse
You have to manually type '62947328' for the start of the hidden partition. This is only required if you had put data on the card, upon which you should TRIM the unused blocks:
blkdiscard -v /dev/mmcblk1p2
Click to expand...
Click to collapse
If you have a partition to do backups, this moves to p3. Next we format p1 to use as '/data':
mkfs.f2fs -s 2 -z 1 -g android /dev/mmcblk1p1
Click to expand...
Click to collapse
Now we move the card into the phone.
---
ADB COMMANDS
---
This tutorial assumes you have arco68's LineageOS 17.1 from this ROM already installed.
You need to boot the phone in recovery mode by rebooting with VOLUME UP + HOME pressed, until you see 'recovery booting' on the top of the screen.
Next, mount the /system partition and push the new 'fstab' file from your PC:
adb push fstab.qcom /system/vendor/etc/fstab.qcom
Click to expand...
Click to collapse
After this is completed wait a few seconds, unmount system and reboot the phone. It should take a while for the first boot but you should see the setup screen and everything should be running.
If it is not booting, go to recovery or remove the microSD card and check if files are being created on the drive. If yes, everything seems ok. S4 Mini has a very long first boot, for some reason.
Enjoy your new S4 Mini storage of 32/64/128 GB!
RESERVED FOR microSDXC user reports.
I already have LOS 17.1 on my gt-i9192, is there any video tutorial to help out in the SDCARD mod process?
Not really. Are you familiar with Linux and formatting hard drives? If you are, it's mostly install the software and run the commands. You need to know how to find the sdcard device node in /dev (if it's sdX or mmcblk0/1, depending on the PC).
I can help you out or post a preformatted MBR file so you can just write it to the SDCard.
As my 18.1 phone has eaten it's eMMC, I think I'll do this on my next one. Have you used this with Magisk?
ivorget said:
As my 18.1 phone has eaten it's eMMC, I think I'll do this on my next one. Have you used this with Magisk?
Click to expand...
Click to collapse
I definitely recommend doing this then, as I had my eMMC also down to something like 2MiB/s sequential writes before it died - after a few months - and killed the phone completely.
I have never used Magisk nor really understand it's purpose. What would you want to accomplish?
so it's possible format microSD as EXT4?
Yes, it is but you would need to change the above FSTAB file entry for 'mmcblk1p1' from F2FS to:
/dev/block/platform/msm_sdcc.3/mmcblk1p1 /data noatime,nosuid,nodev,auto_da_alloc
I would advise you to not use EXT4 as that is usually more suited to flash with advanced FTL and even TRIM support.
tM&M said:
I definitely recommend doing this then, as I had my eMMC also down to something like 2MiB/s sequential writes before it died - after a few months - and killed the phone completely.
I have never used Magisk nor really understand it's purpose. What would you want to accomplish?
Click to expand...
Click to collapse
Sorry, just saw this now. Yeah I went and ahead and did on 18.1 and it's working great so thanks for making this guide. I guess it's not really necessary as it hasn't caused you issues but I also fixed the relevant userdata partition line in /vendor/etc/selinux/vendor_file_contexts.
A GPT partition table also works fine now, maybe was just lucky as I saw afterwards that was a recent fix lifted into our kernel. Using gparted and mkfs.f2fs from a recent linux system doesn't seem to have caused any issues either.
I'm using a V10 speed card which I think is about the speed of the original eMMC so should probably be the suggested minimum.
Magisk I use for root, mainly for a Tasker setup to tweak charging to extend battery life. I'll tidy it up enough to share at some stage.
Anyway I took a chance and Magisk does work on this setup too.
ivorget said:
Sorry, just saw this now. Yeah I went and ahead and did on 18.1 and it's working great so thanks for making this guide. I guess it's not really necessary as it hasn't caused you issues but I also fixed the relevant userdata partition line in /vendor/etc/selinux/vendor_file_contexts.
A GPT partition table also works fine now, maybe was just lucky as I saw afterwards that was a recent fix lifted into our kernel. Using gparted and mkfs.f2fs from a recent linux system doesn't seem to have caused any issues either.
I'm using a V10 speed card which I think is about the speed of the original eMMC so should probably be the suggested minimum.
Magisk I use for root, mainly for a Tasker setup to tweak charging to extend battery life. I'll tidy it up enough to share at some stage.
Anyway I took a chance and Magisk does work on this setup too.
Click to expand...
Click to collapse
If you can share the context file that would be great. I was having some issues with contexts but this was not MOD related - happened wit the stock ROM - and had to manually fix contexts on TWRP. So maybe that was the issue.
Do please post what card you are using and if you experience performance degradation after a couple of weeks. SanDisk cards are notorious for only running well the first couple of days as they don't have background GC and maybe are not suited to F2FS/EXT4 at all.
tM&M said:
If you can share the context file that would be great. I was having some issues with contexts but this was not MOD related - happened wit the stock ROM - and had to manually fix contexts on TWRP. So maybe that was the issue.
Do please post what card you are using and if you experience performance degradation after a couple of weeks. SanDisk cards are notorious for only running well the first couple of days as they don't have background GC and maybe are not suited to F2FS/EXT4 at all.
Click to expand...
Click to collapse
OK I've attached the file - remove the .txt extension. Search for mmcblk1p1 to see the changes - one line referencing mmcblk1p1 commented out and another line where the data partition is changed to that.
(Full disclosure: I'm using partition 4 so I didn't need to comment out the mmcblk1p1 partition line in my setup.)
Reminder that the file is for 18.1 (unless you find that it's the same for 17.1). And to be clear for anyone else reading the full path it goes under is:
/system/vendor/etc/selinux/
My SD card is a Kingston Canvas Select Plus. The package indicates Class 10 U1 so maybe better to say that as the V10 only appears on the card label.
I am a little concerned that the default android 3-day trim seems to be taking longer but I'll keep an eye on it:
$ logcat | grep -E 'trim |Trimmed'
02-04 06:50:34.969 191 9173 D vold : Starting trim of /data
02-04 06:51:09.778 191 9173 I vold : Trimmed 397697024 bytes on /data in 34799ms

Categories

Resources