[Q] Searching Kernel for SWAP on my SENSE-ROM - G2 and Desire Z Q&A, Help & Troubleshooting

Hello,
After i have runed well supercharger , i want to swap mi sdcard. But many kernels does not support this. And i get error via adb (applet not found) , i have a sense based rom (rcmix) wich has already by 100-150mb ram free , but i want to have swap , wich kernel works for that?

unity and rcmix3d kernel both support swap...
your problem must be something else. How did you create your swap partition? (means you first have to format your sdcard and create a swap partition)
maybe redownload the script
EDIT: and use the thanks button if people try to help you... (i saw you posted your problem in different threads)

I have partitioned the SD , i add i tryed with two different SD cards. And not working , the error seems is because the kernel does not support it

xdadevolpers said:
I have partitioned the SD , i add i tryed with two different SD cards. And not working , the error seems is because the kernel does not support it
Click to expand...
Click to collapse
hm... never had problems with unity kernel (swap related), which version of unity do you use?
unity kernel v10 supports swap for sure

Ok solved , there was busybox version problem

Related

[MISC] Flashable All-in-one-data2sd-Solution v0.2e + v0.4 test (dec 27th)

Now found this at the HTC Desire forum,but don`t tested
at the moment and don`t know if this works on Desire Z/G2
too!
It seems to be a good solution.
Features:
- Supports: Ext2, Ext3, Ext4 (and if kernel supports it: ) btrfs, ReiserFS
- Supports loop device as optional addon (as siberes data2sd)
- Flashable zip for many app2sd ROMs (no long setup required)
- It does a e2fsck (disk check) on every boot and creates a logfile on the sdcard (/sdcard/e2fscklog.txt)
- looks nice if you do a logcat on boot
- no "settings lost on reboot" bug like in my old or siberes script
- changes the scheduler for the sd-card and internal to noop for better performance on sd.
- Nandroid Backup of EXT2/3/4 external with AmonRa 2.0.0.1 or any clockwork recovery.
- Removes the common app2sd scripts on its own
More info and downloads:
DATA2whatever-Flashable All-in-one-data2sd-Solution v0.2e + v0.4 test
http://forum.xda-developers.com/showthread.php?t=867049
Hey mate..Thanks for the contribution..I just wanted to ask if there could be any bennefits to using this on a device as DZ..internal memory is more than suufcient and our nand I/O are pretty huge..Back when i had a HTC Desire i used this hack, but i am not sure if this could result in any kind of benefit..Please share ur knowledge/point of view i am interested.
Awesome I might test later... Although like what Chris said, The I/O speeds are pretty fast already
did anyone test this out
chris2busy said:
Hey mate..Thanks for the contribution..I just wanted to ask if there could be any bennefits to using this on a device as DZ..internal memory is more than suufcient and our nand I/O are pretty huge..Back when i had a HTC Desire i used this hack, but i am not sure if this could result in any kind of benefit..Please share ur knowledge/point of view i am interested.
Click to expand...
Click to collapse
Well if you have a class 6 or better sdcard then it will be faster then internal memory that's the only real benefit that I could think of!
Sent from my HTC Vision
Sorry to ask, but i really don't understand this..? what is this about? creating more virtual memory or what is it?
thx
I tried this and it kept causing a boot loop for me.... but I realized later that I think if I had mounted data and cache, like you do for GB gaps it probly would have worked.... just a suggestion. Also there is another all in one data/cache/dalvikcache to sd-ext option that I am testing now.... but I can't remeber were I found it. I think it is called dtappstosd or something like that. And is from the developer dark something...........
EDIT ok he is called dark tremer and it can be found by searching for apps2sd or datasd
EDIT: I should have said mount system/and data.....
Sent from my HTC Vision using XDA App
This is a good idea and good find however, since we have Darktremors a2ext for the G2 and it does data2sd I don't see a huge need for this.

[MOD] Speed up sdcard

Found this on the Legend Android Development forums..
It really works!!!
http://forum.xda-developers.com/showthread.php?t=1010807
bonesy said:
Found this on the Legend Android Development forums..
It really works!!!
http://forum.xda-developers.com/showthread.php?t=1010807
Click to expand...
Click to collapse
Yeah I tried this one out a few days ago and it works awesome, I was trying to go all out with my phone so I flashed ele's speedmachine rom applied this fix, applied the noop scheduler fix and I was trying to enable data2ext. That would have been awesome but unfortunately I have not been able to get data2ext to work on any roms I try, maybe some day but with the newest nightly, erasmux's fixes (thanks to him and a warm welcome back), the scheduler fix and his apps2sd with the cm7 flykernel 12a, and this sd card fix my phone runs so smooth.
Try to use Darktremor's app - http://forum.xda-developers.com/showthread.php?t=715940
Data2SD works well. My suggestion is to use ext2 filesystem. Journaling filesystem will kill sd-card too quickly
what zip did you use ? from the thread because its sound promising

[Q] The best app2sd implementation for HTC Desire

Hi,
I'm thinking about which app2sd implementation for HTC Desire is the best. I know it depends on the ROM, but some solutions are more/less universal. Right now, I'm using CM7.1 ROM and I'm planning to try its clones (MildWild / Cibernodo Mod2Bravo) or ICS when will be final.
I'm using a microSD Sandisk Mobile Ultra 32GB, Class 6, partitioned with gParted (30GB fat32 + 1,5GB ext4).
I consider those options:
S2E (simple2ext) - probably the best solution for CM ROMs.
AMARULLZ DATA TO SD-EXT - for some people too laggy and problematic, Plus: System App Data + Dalvik in Internal, System App apk + 3rd party App Data & Apk on sd-ext
DarkTremmor A2SD Script - uses symbolic links as others. Some people reported problems too, some people are satisfied.
sibere's Data2SD - I tried with my old card (A-Data class6) , but I faced huge lags. Minus: complicated installation, no longer support for lates script for easy installation.
Proz0r's INT2SD For AOSP - no symlinks whatsoever, seems to be very good and fast. I faced some FCs after some time, but it was with old version. Minus: not universal - must be compiled for every single ROM independently.
Mounts2SD - I'm running right now, seems to be very good, fast and stable. Plus: still in development, aroma installer, lot of options, universality.
From my experiences: for the best performance (speed) is recommended to left dalvik cache in internal, and if possible also application data should stay in internal memory.
What are your experiences? What are the advantages /disadvantages of the concrete solutions according to you?
I am interested about stability (FCs, random restarts) and speed (lags)?
in my experience, s2e is the best for cm7, as it is built specifically for it. I found amarullz xscript too laggy and problematic, although I've heard that it has improved lately. I tried Proz0r's INT2SD but I found it unusable - extreme lag. sibere's Data2SD was ok for me. I would recommend sibere's d2sd out of the lot, except for cm7.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
best so far, in my opinion: AD2SDX by amarullz (CM7r2 HBOOT)
Mounts2SD plays great with ICS.
Used s2e before
Thank you all for your replies .
I had new experience with Proz0r's INT2SD (with CM7.1) - from the beginning it was very good, but after few days I was facing FCs (force closes of many applications). Reboot helped just on short time.
Right now I decided to try Cibernodo's MOD of CM7 and I have these experience:
- with the S2E - I had again performance problem and not enough space.
- According to discussion, there were some problems also with DarkTremmor A2SD
- so I'm trying AMARULLZ solution.
I will report the performance/stability after some time.
Can i use ad2sdx for mildwild or cm7 nightly rom? If yes, where can i get that?
Sent from my HTC Desire using xda premium
siavash2death said:
Can i use ad2sdx for mildwild or cm7 nightly rom? If yes, where can i get that?
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Don't know if you can use it (just make backup and try it). But here you have the thread:
http://forum.xda-developers.com/showthread.php?t=1310309
Sent from my HTC Desire using Tapatalk
@siavash2death: i think it will work without problem (as i'm using it also with Cibernodo ROM based on CM7 nightly), but make a backup for sure.
BTW: link is also in my first post and my signature...

Custom Roms with Swap Support ?

Hello,
I have just tested most of the custom roms (wildchild3, Kim's Mod, WhateverMod etc) comes with DUST V9 Overclocked Kernel. I used MiniPartitionTool and created (1gb Ex2 Primary, 512Mb Swap, 2.5GB Fat32 Primary Active).
All of the above Rom builds mentioned that they support SWAP partition. I just want to know that do i need any apk to Configure SWAP or those custom roms comes with pre-configured Swap support. Is there a tool to see swap stats?

[MOD][21FEB] ExtSd2InternalSd v5JB V6KK|Increase your data storage|100% Working|

STOP! THIS MOD IS ONLY FOR SAMSUNG ROM! NOT WORKING ON ASOP, CM OR OTHER!​
Hello folks,
i'm new of gs4 but not of android. I'm a php developer and I like to play with my android devices and Linux but I'm surely not a king on Linux little more than a newbie
But first of all i want to describe the scenario:
THE PROBLEM
Since in the past i had a desire hd and i had a normal management of internal memory and sd as separate process my problem is to have a similar management on my gs4. Also i have 16gb version of gs4 and i want install a lot of apps!!! Also i have a 64gb sd card available. I have noticed that my gs4 installs all on internal sd also and apps download all their resources on internal sd. So with some heavy games and heavy app the internal memory became quickly full!!!
THE SOLUTION
My aim so became to use the external sd as internal sd and internal sd ONLY for apps installation so became used as internal memory!
And... yes after a lot of testing and work i have to make this working!!! So now my 64gb external sd is used for all tasks which the internal sd was used and the internal sd is only used for apps storage!! All extra files (resources, caches, etc etc) are stored in my external SD!!
HOW TO GET IT >>> VERY SIMPLE
Download ExtSd2InternalSd here correct latest version for JB(4.3) or KK(4.4.2)
WHAT YOU NEED
International galaxy s4 (i9505) with root, insicure kernel and kernel with init.d support
External sd card class 4 or superior. (you can try with class 2 also and tell us how it goes)
Rom with init.d support (if not init.d support see below)
My file attached
THE GUIDE
First of all make a nandroid backup!! I'm not responsable for any problem! You make this procedure at your risk!!!
Changelog and upgrade steps in second post
Format external sd card from your pc as fat32 or extfat
Copy attached zip in you external sd. Choose the right zip. If you have formatted your sd as fat32 choose _fat32 version, if the filesystem is extfat choose _extfat version
Go into recovery
Flash the zip for your sd card file system
Reboot and....enjoy your memory increase!!!!
IMPORTANT NOTES:
If you want to access to your INTERNAL SD you have to go with astro or ES filemangaer into /sdcard/intSdCard/0. Take attention to go into intSdCard
After the flash, please copy all content of /sdcard/intSdCard/0 to /sdcard to avoid file conflicts and files lost.
When you plug the phone to pc, the first sd is the external and you can access internal into intSdCard/0. DON'T TOUCH SECOND PARTITION SHOWED!
HOW CAN I CHECK IF ALL IS OK?
Is very simple.
With a file explorer with root ability go into /sdcard. Check If in this location you can see your files of your EXTERNAL SD card and check if you can see in /sdcard/intSdCard/0 the content of INTERNAL sd
If you want to remove the mod with a file explorer with root ability, delete the file 11extsd2internalsd from etc/init.d folder
IF YOU HAVE ISSUES
Please report:
Rom and kernel in use
the file system of external SD card and attach here
the log file stored in data/extsd2internalsd
IMPORTANT NOTE FOR DEV/ROM COOKER/WHO WANT'S TO PORT MY MOD
If you want to use the ExtSd2InternalSd in your ROM, give proper credit and a HTML link to this thread.
Do not modify it, do not rebrand it: the name is ExtSd2InternalSd
Modification and redistribution of the attached script is not permitted at all without permission of Mattiadj member
This means that you cannot feel free to zip up the attached script with other tweaks and this means that it is not be edited and shared.
WARNING for USERS: If you use or encounter a ROM with the ExtSd2InternalSd without proper credit given and no ExtSd2InternalSdr source links, please make the Developer aware of it, and if necessary, please let me know about it. Thank you.
Personal Use: You may tweak the ExtSd2InternalSd (leaving credits intact) to your own personal liking as long as it is NOT redistributed in any way.
If you like my job, buy me a beer
Help Mattiadj to buy a Galaxy s5 to make ExtSd2InternalSd mod
Now....feedback, feedback and feedback!
UPGRADE STEPS
Simply flash new zip over the older one.
Wipe cache and davilk just for sure.
CHANGELOG
v6 - 21/02/2014
v6 is compatible with latest 4.4.2 leaked XXUFNAD. Not use v5 for kk
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v5 - 10/12/2013
Extended compatibility with all TW roms
Code clean
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v4.1 - 19/11/2013
Fixed permission problem with some app like beatiful widgets and others
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v4- 14/11/2013
Completely new code
Changed the mount point of internal to /sdard/intSdCard/0
Fixed problem of app2sd apps which disappear
Fixed bootloop problem
Fixed first boot camera lag
Fixed timing problem for switch on some rom/kernel combo
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v3- 31/10/2013 Hallowen edition
TW Android 4.3 (MJ5 and above) support
Changed the mount point of internal to /data/media/intSdCard/0
Fix for app installed on external sd somentimes being lost
Some cases of bootloop fixed (need testing, please report)
Speed improvement!
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v2 - 12/10/2013
Not need to install or use Folder mount app anymore! Simply flash and enjoy!
Media files problem fixed (wait for second reboot to make it ok or force media scanner one time)
Same size in memory managment fixed and not inverted!
Native app2sd support restored
Some app were not installable if the internal free space is less than the app space. Now this problem is fixed
Speed improvement!
Now is possibile to flash it before the first boot after new rom installation.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
v1 - 3/10/2013
First working relase
US Variants
Is this working on any of the US Variants? Specifically Verizon SCH-1545?
Thanks and Nice Work!!!
EMSpilot said:
Is this working on any of the US Variants? Specifically Verizon SCH-1545?
Thanks and Nice Work!!!
Click to expand...
Click to collapse
I don't know mate. Try and report... I have the i9505 so I can't test on other device
From universe with my gs4 snapdragon powered! now Free
SCH-1545 Verizon S4
Here are the Screen Shots you requested. I formated SD Card with extfat.
It does not work on my S4.
EMSpilot said:
Here are the Screen Shots you requested. I formated SD Card with extfat.
It does not work on my S4.
Click to expand...
Click to collapse
Which kernel do you have?
Do you see internal storage in /data/media/0?
Have you parched your system with folder mount?
From universe with my gs4 snapdragon powered! now Free
Stock Kernel
mattiadj said:
Which kernel do you have?
Do you see internal storage in /data/media/0?
Have you parched your system with folder mount?
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
I have the stock Samsung Dev Phone Kernel. Version 3.4.0-562219
Yes I see internal in /data/media/0.
Yes I patched my system with Folder Mount.
EMSpilot said:
I have the stock Samsung Dev Phone Kernel. Version 3.4.0-562219
Yes I see internal in /data/media/0.
Yes I patched my system with Folder Mount.
Click to expand...
Click to collapse
Try to use a custom kernel with init.d support. Init.d support is required
From universe with my gs4 snapdragon powered! now Free
Unfortunately it's not working for me. Phone just boots as normal, external card is still external and all my apps installed work as normal with their data still on internal SD.
Running foxhound 2.0 with faux beta. Kernel doesnt have exfat support so I only tried fat32. And yes, I installed foldermount and patched system.
Please keep working on this, would be excellent to have it working.
Wait up 2mins before check in /sdcard, mod needs to make a lot of stuffs after first boot
Does it work with 9500
drlalitbida said:
Does it work with 9500
Click to expand...
Click to collapse
I don't know...you can try...i have i9505
init.d
mattiadj said:
Try to use a custom kernel with init.d support. Init.d support is required
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
My kernel has init.d support. I even tested it with Universal Init.d.
EMSpilot said:
My kernel has init.d support. I even tested it with Universal Init.d.
Click to expand...
Click to collapse
Is your a i 9505?
From universe with my gs4 snapdragon powered! now Free
mattiadj said:
Is your a i 9505?
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
No SCH-1545
EMSpilot said:
No SCH-1545
Click to expand...
Click to collapse
I haven't this phone... I can't tell you why it is not working...
From universe with my gs4 snapdragon powered! now Free
Screen Shot
mattiadj said:
I haven't this phone... I can't tell you why it is not working...
From universe with my gs4 snapdragon powered! now Free
Click to expand...
Click to collapse
Can you please post your Screen Shots?
/mnt folder ant take a shoot
/dev/block/vold folder and take a shoot
with terminal emulator type su then mount and take a shoot
Thanks
EMSpilot said:
Can you please post your Screen Shots?
/mnt folder ant take a shoot
/dev/block/vold folder and take a shoot
with terminal emulator type su then mount and take a shoot
Thanks
Click to expand...
Click to collapse
It is almost equal to yours so it should works but I don't know why not.
This mod is very complicated. For example a version which works for i9500 doesn't works to i9505 so... We have to wait for i9505 users feedback.
For me it's fully working from 5 days and finally I can feel the power of gs4!!!
From universe with my gs4 snapdragon powered! now Free
Good
Sent from my Lenovo A690 using xda premium
Perhaps a Kernel problem ?
Hello Mattiadj,
I don't know why it doesn't work for me.
As a matter of fact, the system sees that i have 2 internal SD.
I have a Gt-i9505 (French version) rooted with CF-Auto Root.
I have init.d support with universal init.d
The Rom is samsung MH8.
I've installed Folder Mount and patched the system.
I think the problem might be a Kernel problem. Which one do you use ?
Thanks a lot.
PS: I used your patch when I had a GS 3, and it worked perfectly.

Categories

Resources