Related
****** Information *****
I will no longer develop this kernel, for the lack of development on Z4Mod source.
If you like my work you can try this kernels:
DamianGTO Ultimate Kernel
DamianGTO Steam Kernel
You can also try my tweak program:
Damian tweak
I will continue to support this tread so long its needed.
If you want to change kernel you MUST remove all lagfix first.
*****************************************
The kernels I will post here is now based with Samsungs JPX source code.
The Froyo version is 2.2.1. in this source code.
This make a big change in performance on the samsung Galaxy S.
All this kernel I make will have Zmod in them so you can use Zmod app to convert the file system to ext2.
This will make the phone lagfree and the tweak I put in these kernels will improve things and add things that not supported in stock firmware.
The first kernels I have made(DamianGTO_JPX_1A) have this:
345MB Ram.
Optimized kernel tweaks
Alter minfree strict settings.
Deadline schedueler
Support for bootanimation.zip (custom boot animation)
Initramfs from JPY kernel( So it works on all new firmware)
The kernels has two versions. 256HZ and 500HZ versions.
File system:
Ext2
Rfs
The second kernel I have made(DamianGTO_JPX_2B) have this:
346MB Ram.
300HZ
Optimized kernel tweaks.
Cleaned the kernel from unused services.
Alter minfree strict settings.
Deadline schedueler( change some settings to balance it more)
Support for bootanimation.zip (custom boot animation)
Initramfs from JPY kernel( So it works on all new firmware)
File system:
Ext2
Rfs
This kernels is also an app so you can install it without ODIN.
Make sure you are rooted and you have Busybox 1.17 installed.
Always have a backup when you install other kernels if something happens that I cant predict.
If you come from other kernels then these kernels make sure you have flashed original kernel first so you know your phone is okey.
Do to restriction on file size I cant upload it here.
So I put it on freedrive. I hope it will work.
If any have a better way to do it for free i will look into that.
DamianGTO_JPX_1A.apk is the app with both 256HZ and 500HZ kernels.
DamianGTO_JPX_2B.apk is the app with 256Hz, 300Hz and 500Hz kernels.
I will put all kernels and program on my freedrive that i will make now.
All kernels and program I make from now I will put them on my Freedrive.
Downloading from there is easy. Works both on the computer or your phone.
************** OLD NEWS ***************
The base for these kernels is samsungs jpm source file.
So its NOT based on sztupy setup/kernel.
This kernel is NOT affected by the corruption bug that Supercurio did find.
The goal is to have a clean kernel so you can use z4mod app and change the file system. It will also have some tweaks thats useful for all.
It will always be close to stock kernel, so it will be an option to stock kernel.
If you want more tweak and other stuff there is allot of other kernels.
I will make different kernels with different things in them when I do have time to test them out and be sure they are good and stable.
Z4mod has changed they way to do things and I drop old kernels and use the new way.
I also drop all support for different file system.
Ext2 is a fast file system and its stable.
Most of the other file system use to much overhead and is slower or instable.
This make the kernel smaller to
To root the phone use Z4Root(included below)
To change file system use z4mod(included below)
If you have an old kernel from me and you want to upgrade you must
convert back to rtf first.
If you come from an other custom kernel undo all tweaks and lagfix.
Do also flash an original kernel to see your phone will boot up and work.
After that you can flash one of these kernels.
All zImage_z4mod kernels has this:
342MB Ram tweak.
Optimized kernel tweaks.
Hash 3.
File system:
Ext2
Rfs
The different in the zImage_z4mod kernels is the HZ value.
Lower HZ value can make the phone to drain battery less, but can make the phone less responsive.
Higher HZ value can make the phone drain battery more, but can make the phone more responsive.
DamianGTO_v3 kernel has this:
342MB Ram tweak.
Optimized kernel tweaks(more).
Hash 3.
Alter minfree strict settings.
I/O scheduler is deadline.
Support for bootanimation.zip (custom boot animation)
File system:
Ext2
Rfs
To use custom boot animations you need to download a bootanimation.zip and put that in your data/local folder.
you can find bootanimation.zip on this site or you can go to market and look for a program that help you with that.
If you don't want to use the bootanimation.zip you just remove it from the folder and the original boot animation will be used.
I also made a custom kernel for JPU firmware(DamianGTO_JPU_v1).
This IS JPU kernel with tweaks. Its NOT based on the old JPM kernel.
If you need to root you must use this SuperOneClick root.
This JPU kernel is also patched with Z4mod.
But you need to install the latest busybox from market if you want to convert to EXT2 file system.
This kernel also support boot animations.
DamianGTO_JPU_v1 kernel has this:
339MB Ram.
Optimized kernel tweaks(more).
Alter minfree strict settings.
Support for bootanimation.zip (custom boot animation)
File system:
Ext2
Rfs
DamianGTO_JPU_v2 kernel has this:
If you downloaded this then download V1 or V3. V2 dont work right.
DamianGTO_JPU_v3 kernel has this:
339MB Ram.
Optimized kernel tweaks(more).
Alter minfree strict settings.
Deadline schedueler.
Support for bootanimation.zip (custom boot animation)
Sdcard fix when mounting it in windows so you can write to it. It will not mount like a CD anymore
File system:
Ext2
Rfs
I have made an app for the DamianGTO_JPU_V4 kernel.
This will flash the kernel WITHOUT odin
Just make sure you are rooted before you use it.
Is you dont get superuser access, restart you phone and make sure you are rooted.
This DamianGTO_JPU_V4 kernel is little more tweak on deadline scheduler.
So it should be smother.
This kernel has:
339MB Ram.
Optimized kernel tweaks(more).
Alter minfree strict settings.
Deadline schedueler(More tweak).
Support for bootanimation.zip (custom boot animation)
Sdcard fix when mounting it in windows so you can write to it. It will not mount like a CD anymore
File system:
Ext2
Rfs
I have made an app for the DamianGTO_JPY_V1 kernel.
This DamianGTO_JPY_V1 kernel has:
339MB Ram.
Optimized kernel tweaks(more).
Alter minfree strict settings.
Deadline schedueler
Support for bootanimation.zip (custom boot animation)
File system:
Ext2
Rfs
z4root-1.3.0.apk is to root the phone. use that before you convert the file system.(NEW)
z4mod.0.9.3.apk is to convert file system.
zImage_z4mod_12_01_v1_500hz.zip Is the kernel with 500HZ value.
DamianGTO_v3_300hz.zip is the kernel with bootanimation and 300hz value.
DamianGTO_JPU_v1.zip is the JPU kernel with bootanimation and some tweaks.
DamianGTO_JPU_v3.zip is the JPU kernel with bootanimation, tweaks and usb storage fix.
DamianGTO_JPU_V4.apk is the new kernel with a installer.
DamianGTO_JPY_V1.apk is the new kernel with a installer.
Thanks all that has helped me to sort out problems.
Before you try this kernel out, make sure you have a backup on you system.
How to Install it? =)
borjaag said:
How to Install it? =)
Click to expand...
Click to collapse
Use Odin to flash the kernel. Use only PDA. no pit file and no re-pertion.
Then copy the update file to the sdcard. rename it to update.zip.
Start the phone in recoverymode and applay the update file.
Before do a backup and read about this things if you dont know what it is.
Edit: this was the old way, so read the first post.
why no EXT4?! Thanks.
hacksome said:
why no EXT4?! Thanks.
Click to expand...
Click to collapse
I think ext2 do work better and its faster then ext4.
I can compile a version with ext4 for you if you want that.
I will make support for most filsystem in the new z4mod system when it works good.
Sent from GT-I9000 jpm My own kernel for z4mod and with 341MB Ram
DamianGto said:
I think ext2 do work better and its faster then ext4.
I can compile a version with ext4 for you if you want that.
I will make support for most filsystem in the new z4mod system when it works good.
Sent from GT-I9000 jpm My own kernel for z4mod and with 341MB Ram
Click to expand...
Click to collapse
z4mod should work 100% with EXT2/EXT3/EXT4/JFS filesystems already, as long as support is compiled into the kernel.
So if you use a kernel with support, it should just work.
RyanZA said:
z4mod should work 100% with EXT2/EXT3/EXT4/JFS filesystems already, as long as support is compiled into the kernel.
So if you use a kernel with support, it should just work.
Click to expand...
Click to collapse
True. But i did not enable more support;-)
My point is that the new system is out and i have to make that work.
I have seen a couple of error on that. So i wait to realese that version. Z4ziggy is looking into the errors.
But i did this kernel and using it myself right now and it works great.
Ofcorce i want the new system to work. I spend my time to figure out what's wrong, but i guess i/we will solve that soon.
Sent from GT-I9000 jpm My own kernel for z4mod and with 341MB Ram
Thx for ur great work .
Just flashed it and it seems to work great. Before that I used a normal JPM Kernel with z4mod EXT2 without any kernel tweaks
DamianGto said:
I think ext2 do work better and its faster then ext4.
I can compile a version with ext4 for you if you want that.
Click to expand...
Click to collapse
Thanks!. I am trying out ext2 and it doesn't seem bad
Thanks.
I shall try to get it better and with more system support.
Sent from my GT-I9000 using XDA App
I would like a JPA kernel with ext4 on on all partitions also system. Thanks.
Sent from my GT-I9000 using XDA App
DamianGto said:
The goal is to have a clean kernel so you can use z4mod and use the filesystem you want.
Click to expand...
Click to collapse
Is anyone trying YAFFS/YAFFS2? As far as I know it would outperform EXT4...?
mclad said:
Is anyone trying YAFFS/YAFFS2? As far as I know it would outperform EXT4...?
Click to expand...
Click to collapse
Have not seen anybody use it.
Ext4 is not the fastest system either.
Its safe and better then stock system.
Sent from my GT-I9000 using XDA App
mclad said:
Is anyone trying YAFFS/YAFFS2? As far as I know it would outperform EXT4...?
Click to expand...
Click to collapse
YAFFS2 can't be used on /data since no interface is available. Doesn't seem like it can be done on BML either, because they're a bit freaky. (It probably can be done, I have no idea how you would though, they're non-standard.)
There is no real need though, as YAFFS2 is NOT a fast filesystem. It's filesystem designed to be safe for the underlying media, and performs decently, but it's not EXT2/HFS+/UFS speed. I think. It's hard to test since it is difficult (impossible maybe?) to port.
At any rate, since /data accounts for 99% of disk I/O, it's mostly waste of time...
As to converting over other partitions besides /data, the problem is that stock clockworkmod doesn't detect it then. Going to try work on making a 'smart' clockworkmod that can detect and mount the correct filesystems.
I' am happy with EXT2, its the most fast one and not really unsave. But would be great to have it on all partitions. Or just EXT2 on /data (for speed) and EXT4 on the other partitions
I may be (probably am) WAAAAAY out of my depth here, but you might want to grab sztupy's modified CWM - the one he uses for his ULK. I believe that would achieve the results you desire.
I think...
RyanZA said:
As to converting over other partitions besides /data, the problem is that stock clockworkmod doesn't detect it then. Going to try work on making a 'smart' clockworkmod that can detect and mount the correct filesystems.
Click to expand...
Click to collapse
Well, I will be short on this one:
Ext2 is NOT a good choice, why? No counselling, so in case of a crash, the chance of filesystem is just too big. Certainly since there is no filesystem checking utility... So this IS faster but very dangerous.
Jaffs or any other flash filesystem is a bad idea too, why? Sd does wear levelling in itself, double it and you will not benefit at all. So totally useless. More on this... On google
Sent from my GT-I9000 using XDA App
harrydg said:
Well, I will be short on this one:
Ext2 is NOT a good choice, why? No counselling, so in case of a crash, the chance of filesystem is just too big. Certainly since there is no filesystem checking utility... So this IS faster but very dangerous.
Jaffs or any other flash filesystem is a bad idea too, why? Sd does wear levelling in itself, double it and you will not benefit at all. So totally useless. More on this... On google
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
That is all very theoretical, but in practical usage of EXT2 on my day to day device for months now, I have not had any issues. And this is with deliberately pulling out the battery to try and break it.
The huge need for journaling on spinning media comes from just how unsafe spinning media can be. Flash storage is inherently a lot safer, since it writes in large chunks controlled by the disk controller, rather than playing with magnets. Not to say that it's 100% safe - and no filesystem is 100% safe when crashed - but it's really not a big issue in practice. The speed benefit makes up for any theoretical data safety issues many many times over for me, personally (and there really is a large speed benefit).
Also, e2fsck appears to do a decent job at checking for errors/metadata consistency.
Ahm,
Not really, journals are used to make writes safer, if you interrupt a write, your filesystem will be inconsistent, so you could loose your entire disk. But you are right, it's not as bad as with spinning disks, but I would never recommend it as safe... There is a reason that ext3 and 4 have been developed as successor..
Ps. Sent by my phone so my responses are short..
Sent from my GT-I9000 using XDA App
harrydg said:
Ahm,
Not really, journals are used to make writes safer, if you interrupt a write, your filesystem will be inconsistent, so you could loose your entire disk. But you are right, it's not as bad as with spinning disks, but I would never recommend it as safe... There is a reason that ext3 and 4 have been developed as successor..
Ps. Sent by my phone so my responses are short..
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Not really. Journals are just additional metadata such as 'I am about to write to block X' 'I have finished writing to block X', etc. When the system crashes, this helps the system recover and work out what it was busy doing - it's not a silver bullet that magically stops data loss. If a file was being resized, then without journals the metadata would show that the file had been resized - even though the data inside would be garbage as it wasn't written yet. In the journaled case, it's possible to tell that this has happened, and the file can be deleted instead.
So with journaling you'd end up with the old file, and without you'd end up with a corrupt file. In either case, try not to crash your system, since an out of date file can be bad too (but not as bad as a corrupt one).
At any rate, the actual chances of managing to hit the power at just the right time (between a metadata entry and actual file entry) is VERY slim on the SGS, because the MoviNAND has a capacitor backed operation queue which generally prevents this from happening in many cases.
STEAM KERNEL v2.9.9.0 (it's not 3.0.0.0 because that would mean stable)
Steam Kernel is the successor of ULTK, so you can expect it to be mostly the same, except for a few things.
But first the Credits: anzo,ChainFire,DocRambone,hardcore,koush,nikademus,neldar,newmail,patience,PFC,RyanZA,tariattila,XDA,ykk_fice,ZAGE,z4ziggy
What is this about?
This project is the successof of ULTK, with many new features. The main points are (the new features are in bold):
- Convert filesystems to ext2, ext4 or jfs (data, dbdata, cache and system)
- Use fake /efs to get a completely-rfs free ROM (only works if /system is set to be mounted as rw)
- Startup tweaks
- Even more boot-time settings (adb security settings, mounting options, bootanimation chooser)
- BackLightNotification 2.2
- Includes Steam Recovery (with many new features too, like touch based input, file manager, improved SGS compatibility, read more here)
- Includes possibility of filesystem encryption (read more here)
- Includes boot-time log viewer applications (with the option of watching the logs go instead of a bootanimation)
- Superuser install function
- Afterburner support (read more here and here)
- Many more I might have forgotten...
How does this work?
Simply flash the kernel to any non JPU/JPX based ROM. It might work with them too, but expect problems (mainly with the sd card and wifi). Steam kernel no longer includes 2e recovery, so you cannot flash it during initial flash (unless using Steam ROM).
How can I use the extra features?
All features can be enabled inside Steam Recovery. On a how-to on Steam Recovery check it's thread. Lagfixes and boot settings can be found inside the "Steam options" menu item.
What are the lagfix schemes?
They are ways on how to format and bind the various filesystems. You can chose how you want to format the partitions (data,dbdata,cache and system), whether you want to use an extra loop device or not, whether you want to encrypt the partition or not, and two other options, like fake /efs mode (which is a bit buggy in certain cases), and /system rfs reconvert mode
About inconsistent /system partitions
If you are using an ULTK kernel, which mounts system as "check", Steam Kernel tries to identify your partition and let you reformat it. If you know that you have a bad /system partition, but the autodetect couldn't figure it out, there is an option in the filesystem (lagfix) menu, that will tell Steam to convert your /system partition from one settings to another.
Which Lagfix scheme / config should I use?
You decide. Ext4 base is usually enough, but you can convert /system too. If you dare use the overkill options. Now that there is also the filesystem encryption support, you can actually use a mega-overkill scheme (encrpytion+loop device+ext)
What happens after I chose a lagfix scheme?
If the chosen one is different from the active one the kernel will reformat your device the next start. Before reformatting it will create a nandroid backup, reformats the device then restores the data from your backup. You can chose between some other options too before the reformat.
Is this ROM safe
As usual: no. There are a lot of places where the conversion can break (like not enough free space on the device while restoring /system), and steam is not yet good at handling these errors. The 3.0.0.0 milestone is however there so be prepared
What are the new features?
Steam Kernel uses Steam Recovery for configuration (plan on creating a native Android app for that is on the way), which has an extensive on-line help system, and touch screen interface. Try checking the new options, or ask!
How to switch to another kernel/ROM
There is an uninstall feature (in the about box) which will disable all lagfixes, removes steam config from the system and makes sztupy very sad. You can always flash another complete ROM package over this using Odin, you'll lose all your data however.
I've found a bug
And you'll find more of them. Please report them, so I can try and fix them.
Does this kernel cause corruption?
Yes, it corrupts your mind!
Okay this is great bout you still didn't put in feature X
I know, there are still a few features I'd like to add (like the journal free ext4), but I didn't
want to hold the current release any longer
You bet, we're already on CM/Gingerbread/2.2.1 and this only works for 2.2
Yep. But work is on the way to make it injectable to stock kernels without too much fuzz!
DL link: http://android.sztupy.hu/dl/Steam_Kernel_2.9.9.0.tar
(flash with Odin as PDA)
Source: https://github.com/SteamMOD
Sound good. Will try.
Good work sztupy.
WOW, I successor to ULTK. I bet this will be as path-breaking as ULTK.
ragin said:
WOW, I successor to ULTK. I bet this will be as path-breaking as ULTK.
Click to expand...
Click to collapse
I thought sztupy has moved on, but no, he was preparing for this big release!
Congratulations and thank You sztupy
Omfg youre pure awesomeness!!!
OMFG DUDE, you have done it again, cant wait to try this out, im on 2.2.1 right now but will try it as soon as its compatible, keep up the good work.. Im so happy with guys like you...
WOW what a Christmas present!!! Thanks alot!!! Will start testing now....
Looking good! Will try this as soon as it works with 2.2.1.
good to see u r still working for i9000
btw, looks like u have mis-spell my name
exelent m8,exelent job done
good start for 2.3 firmware
awesome the master is back , looking forward to a JPY compatible build
Ahh bravo! Well done I'm pretty sure no one expected this keep up the good work!
Sent from my GT-I9000 using XDA App
1617 in meaningless Quadrant. 1400's in latest hardcore kernels (with same config?). You did something right
tonyjansen said:
1617 in meaningless Quadrant. 1400's in latest hardcore kernels (with same config?). You did something right
Click to expand...
Click to collapse
what is the result of the mount command?
@sztupy thanks for your attempt to fix the RFS corruption on /system.
Master sztupy returns...
WOW!!!!!!!!!!!!!!!!!!!
Keep 'em coming!!!
Sent from my Samsung Galaxy S using tapatalk
created cwm flashable kernel ( thx hardcore and trasig )
Steam_Kernel_2.9.9.0_CWM.zip
pls clear dalvik after flashing.
tested it and it work just fine.
thx again sztupy
wow good work, hopefully we can have 2.2.1 compatibility soon with the release of the 2.2.1 sourcecode
WOW great work, the Recovery Mode is Awesome
I am trying it right now with original JPX and JFS Base.
One question!!! it tells me if I really want to formate /system because this can be undone. BUT if I flash it back with Odin to Original one with re-partition on it should be everything like original, should it ?
TweetyPeety said:
WOW great work, the Recovery Mode is Awesome
I am trying it right now with original JPX and JFS Base.
One question!!! it tells me if I really want to formate /system because this can be undone. BUT if I flash it back with Odin to Original one with re-partition on it should be everything like original, should it ?
Click to expand...
Click to collapse
if you reflash a full rom ( like jpu, low level package ) with repartition enable it will reformat your device in rfs.
Ok tried it and it doesn't work for me. It runs ok, but not really smooth. Live Wallpaper is really slow and I don't get connection to my mobile phone provider and WLAN doesn't work.
maybe not JPX ready, so I will try szutyps Steam Rom I have time today to try some stuff
Hey Guys! Im new on this forum (even though i have made this account some time ago, i never used it )
So.. i just Rooted my HTC Desire, which i've been so afraid of. But now i had to to it regarding the lack of SD-card installing.. BUT! now i installed this neat app called something like "app2sd" which unlocks the installing to SD-card, but it just unlocks the feature like the FroYo update unlocked, just on some other apps?
So my question is.. CAN i move the WHOLE app to my SD-Card, and can i do it without flashing a custom rom or whatever? (which i am afraid of doing) because i want some of those GAMELOFT apps and the main app does still fill up some space unfortunately..
I hope you get what i'm saying (im not the best at english, but im trying )
If you didnt understand me, and want to help me, just tell me and ill try slicing it in pieces
Thanks in advance!
- Mathias
Well the froyo a2sd do in fact move the full app. It just leaves data and dalvik cache behind on /data. But to answer your question, yes it is possible, but the best implementations of a2sd is found in the custom roms. Those are also a natural extend, when you have rooted your phone. And btw. there is no risk involved in flashing a custom rom at all. The risky part is the root process itself.
If you want proper a2sd, you must go about it in the following steps:
1. backup all files on you sd-card to your computer
2. install rom manager
3. in rom manager choose to partition your sd-card. Just pick 512 for ext, 0 for swap and the rest for fat32
4. Move all your stuff back to the sd-card, which should now show up as being 512 mb smaller
5. Pick a custom rom and download the zip file like leedroid, if you like the stock look(or find a flashable zip containing the files for a2sd)
6. backup anything necessary and flash the zip through recovery
edit: and btw. don't excuse your english. It's not bad compared to many other people on this board
mortenmhp said:
Well the froyo a2sd do in fact move the full app. It just leaves data and dalvik cache behind on /data. But to answer your question, yes it should be possible, but the best implementations of a2sd is found in the custom roms. Those are also a natural extend, when you have rooted your phone. And btw. there is no risk involved in flashing a custom rom at all. The risky part is the root process itself.
If you want proper a2sd, you must go about it in the following steps:
1. backup all files on you sd-card to your computer
2. install rom manager
3. in rom manager choose to partition your sd-card. Just pick 512 for ext, 0 for swap and the rest for fat32
4. Move all your stuff back to the sd-card, which should now show up as being 512 mb smaller
5. Pick a custom rom and download the zip file like leedroid, if you like the stock look(or find a flashable zip containing the files for a2sd)
6. backup anything necessary and flash the zip through recovery
Click to expand...
Click to collapse
Thanks for the fast answer!
Well its not for breaking my phone im afraid of using custom ROM, my problem is that theres always some issues, and i've heard something about the RADIO or some stuff??
But if theres a custom ROM based on the FroYo which allows me to move EVERYTHING from my internal to external, which would you recommend, and wheres a good spot to find alot of those roms?
By the way, i also want them in danish language!
Well as for stability, those completely based on the stock roms(leedroid) are just as stable as the htc-ones. And if you are already on froyo, updating the radio shouldn't be necessary. And the only roms without danish language on here is the one labeled miui(some chinese custom rom) btw. im danish myself.
But the way you want to completely move /data to /sd-ext is called data2ext, and i personally wouldn't recommend it, as everything gets kind of laggy in my experience. This is due to the sd-card being much slower in read/write rates than the nand chip, so keep as much as possible internal without filling it up. I would recommend a2sd+ instead, which should give you plenty of space for apps as well
A great rom build on std. htc with a2sd+ is leedroid as already mentioned or auraxtsense, if you want a different theme.
Yea I see but let's keep it English as some people might find it useful :b
But now I ran into another problem .. which is, that I know used that app2sd unlocker and now I can't put widgets on my homescreen from the apps? Like handcent sms if you know it?
Sent from my HTC Desire using XDA App
Yes that is because the froyo a2sd solution stores the apps on the fat32 partition which is not initialized before late in the bootprocess meaning the apps is not accessible when widgets are loaded. So using froyo a2sd you should keep apps with widgets on internal.
But with a2sd+ on leedroid or a similar Rom this won't be a problem as the ext partition is initialized early in the boot process. So go with one of the custom roms. That would be my recommendation
Alright then.. but is my data from my apps stored on my sdcard? Like I have "3gwatchdog", and it has stored all of my data transfers. Is that saved when I back up my sdcard and just install the program on my custom Rom?
Sent from my HTC Desire using XDA App
No, data from apps is still stored on the internal memory
The ONLY way to get it all onto the SD card is to use a custom ROM which includes Data2SD - but it's still a bit buggy and can lead to a quicker death of your SD card
So theres no way, that I can save my stats from my apps, so I can restore them on my custom Rom??
Sent from my HTC Desire using XDA App
mathiasb2 said:
So theres no way, that I can save my stats from my apps, so I can restore them on my custom Rom??
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Titanium backup.
TheGhost1233 said:
Titanium backup.
Click to expand...
Click to collapse
Thanks for telling me about that app! But my problem as I see it now, is that when I wanna use Titanium backup, I do need "busybox" and busybox fails when I try to install it? On the market it also says that HTC Desire is not supported?
- what am I supposed to do then?
Sent from my HTC Desire using XDA App
Update:
YOU MUST have a recovery that supports ext4 in order to use this patch. Currently there is only one recovery for G2 that I know of that is up-to-date that supports ext4 partitioning. That recovery is ext4 recovery. After you get ext4 recovery installed format and wipe everything before installing your rom of choice.
1. Format system
2. Format data
3. Format cache
4. Format sd-ext
----------
A lot of these scripts are based on the stock Cyanogenmod scripts to mount sd-ext partition and allow a2sd.
I've edited the stock system/etc/init.d/05mountsd to mount ext partition as ext4 instead of ext3. The system/etc/init.d/10apps2sd was made by Cyanogen himself and it can be found on the Cyanogenmod github. I've edited it to activate and utilize the sd-ext partition of the device. The swap patches and the cmparts source edits are all my own work. Please see the github for more details.
Required for swap: For swap you need a kernel that supports swap. E.G., Tiamat, and may be others but it is your responability to find out which kernels support swap
Udate: this current patch is still working fine for me on the latest nightlies (deodex roms only). But there is a certain way that this patch needs to be installed.
It does not matter if you wipe or do not wipe before flashing.
1. If you are flashing this on cyanogenmod nightlies you need
to flash in this order, otherwise the permissions for your
rom will not be correct. Flash the rom first, then the
patch, then the gapps.
2. For flashing on other CM based roms (deodex only). As
many of you might know, Some roms already include
gapps. So because of this, we will need to flash a
compatible deodex Rom, since the patch sets
permissions for the system, and gapps will not work
correctly with the permissions if already installed in the
system. Flash in the same order you would for normal
cyanogenmod roms. Rom first, then patch, then gapps.
Yes even if the rom already includes
gapps you still must flash gapps.
This thread will only be discussion for Cyanogenmod These are AOSP Roms. DO NOT EVER ASK ABOUT SENSE ROM TWEAKS EVER, they just simply won't work with these mods.
Do not submit revised versions that are already posted, I will try to keep the patches as updated as possible. Do not distribute or modify any of the scripts without my given consent, or at least give me credit!
I am not responsible for you breaking something on your device. If you come and tell me that my mods messed up your phone, I will laugh at you.
I have been running these mods flawlessly with no issues. So let's get right into it.
Options:
WARNING: Before you do anything, do a nandroid
backup. If you need to partition your sdcard via recovery, back up your
entire sdcard to your pc before doing so as it will get formated.
If you want a2sd, then you will need a ext4 partition on your sdcard. I
recommend at least a 1GB+ partition. That's it, the scripts will do the
rest.
You can not have any other types of a2sd installed before applying the patch.
The patch doesn't remove, it installs If you have manually installed some
other type of a2sd, you will need to wipe and re-flash rom. The main
important thing is, make sure system gets wiped.
If you want Linux-swap, just simply add a swap partition to your sdcard when
you go to format it in recovery, simple.
Next download and flash the latest patch over your current rom. Be aware
that if you have a swap partition, that your phone will reboot itself once after
your initial boot. Don't freak out and come crying about how your phone is
boot looping, it only reboots once. This is all part of the initial setup to make
sure swap is working properly.
How to check if a2sd is active and working in terminal emulator from your
phone
Code:
$ su
# df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 183.6M 32.0K 183.6M 0% /dev
tmpfs 183.6M 0 183.6M 0% /mnt/asec
tmpfs 183.6M 0 183.6M 0% /mnt/obb
/dev/block/mmcblk0p26
487.8M 143.8M 318.9M 31% /system
/dev/block/mmcblk0p27
430.0M 147.3M 260.5M 36% /data
/dev/block/mmcblk0p28
149.6M 47.5M 94.4M 33% /cache
/dev/block/mmcblk0p31
19.9M 17.2M 2.7M 86% /devlog
/dev/block/mmcblk1p2 1.9G 1.0G 788.7M 57% /sd-ext
/dev/block/mmcblk1p2 1.9G 1.0G 788.7M 57% /data/app
/dev/block/mmcblk1p2 1.9G 1.0G 788.7M 57% /data/app-private
/dev/block/mmcblk1p2 1.9G 1.0G 788.7M 57% /data/dalvik-
cache
If you see this part then you are golden
Code:
/dev/block/mmcblk1p2 1.9G 1.0G 788.7M 57% /sd-ext
/dev/block/mmcblk1p2 1.9G 1.0G 788.7M 57% /data/app
/dev/block/mmcblk1p2 1.9G 1.0G 788.7M 57% /data/app-private
/dev/block/mmcblk1p2 1.9G 1.0G 788.7M 57% /data/dalvik-cache
How to check if swap is active working from terminal emulator on your
phone
Code:
$su
# free
total used free shared buffers
Mem: 376008 353776 22232 0 15756
-/+ buffers: 338020 37988
Swap: 249544 36780 212764
Next, enjoy your new mods
CMParts (Cyanogenmod settings source): https://github.com/pbeeler/android_packages_apps_CMParts
Changelog: https://github.com/pbeeler/android_packages_apps_CMParts/commits/gingerbread
Can you pick which apps get moved to the SD or is this all or nothing?
boogie1077 said:
Can you pick which apps get moved to the SD or is this all or nothing?
Click to expand...
Click to collapse
Its automatically sending all apps that would go straight to data/app straight to sd-ext/app.
Sent from my HTC Pyramid using Tapatalk
Yes everything is automatic. This is only for gingerbread and it will probably take quite a bit more time and testing to get it working on ICS since we will probably need brand new recoveries to get ICS to be working the way it needs to. So once the cm9 nightlies come which should be this weekend or the begining of next week this patch will no longer work on it.
Sent from my PG06100 using xda premium
sparksco said:
Yes everything is automatic. This is only for gingerbread and it will probably take quite a bit more time and testing to get it working on ICS since we will probably need brand new recoveries to get ICS to be working the way it needs to. So once the cm9 nightlies come which should be this weekend or the begining of next week this patch will no longer work on it.
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
Are the CM9 nightlies that close?
Can I know what swap is? How does it improve the functionality of the phone? Why do I need it? (The last question is meant to understand the benefits of using swap, sry if it sounded condescending).
djfoo000 said:
Can I know what swap is? How does it improve the functionality of the phone? Why do I need it? (The last question is meant to understand the benefits of using swap, sry if it sounded condescending).
Click to expand...
Click to collapse
http://www.google.com/m?hl=en&gl=us&source=android-browser-type&q=what+is+linux-swap?
Sent from my PG06100 using xda premium
Didn't think a swap was needed with CM 7? I can understand some of the sense based ROM's needing it, anybody seeing improvements?
Then don't use it...It's here for people that want to use native a2sd and linux-swap, not for people to complain about it. I find swap very usefull when using a2sd, because I don't use a task killer and having more apps run in the background causes your ram/memory to run low. This stresses out you cpu a lot more sand drains battery faster since the cpu has to make up for missing ram/memory.
Sent from my PG06100 using xda premium
sparksco, are you assuming we're getting cm9 nightlies that soon? Or is there an actual reason to believe so? Sorry for the off topic but you mentioned it!
Yes I believe that's why the nightlies are down right now. The build under about phone might not change for awhile but they are adding ics stuff to github.
Sent from my PG06100 using xda premium
sparksco said:
Then don't use it...It's here for people that want to use native a2sd and linux-swap, not for people to complain about it. I find swap very usefull when using a2sd, because I don't use a task killer and having more apps run in the background causes your ram/memory to run low. This stresses out you cpu a lot more sand drains battery faster since the cpu has to make up for missing ram/memory.
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
Easy with the hostility buddy,I was asking a question not complaining,I am obviously not running with enough apps, thanks for your response.
bombadier said:
Easy with the hostility buddy,I was asking a question not complaining,I am obviously not running with enough apps, thanks for your response.
Click to expand...
Click to collapse
No hostility here. You should be able to make your own informed decisions about if this type of thing is usefull for you or not. I'm not here to convince anyone of anything. There is a way to disable a2sd by simply removing the /system/etc/init.d/10a2sd script using something like root explorer if you only want to use swap. Or you can run this command in terminal to disable a2sd. But once you do that any apps that are on the ext partiton will be missing. If you remove the script on a fresh wipe on a rom install before installing any apps you will not be missing any apps when you restore them with titanium backup or whatever you use to backup and restore your apps.
$ su
# mount -o remount, rw /system; rm -f /system/etc/init.d/10a2sd;
#
Sent from my PG06100 using xda premium
sparksco said:
Yes I believe that's why the nightlies are down right now. The build under about phone might not change for awhile but they are adding ics stuff to github.
Click to expand...
Click to collapse
The CM nightlies are down because of a hardware problem. (Source - Chris Soyars on Twitter)
Sent from my Desire Z running CM7.
steviewevie said:
The CM nightlies are down because of a hardware problem. (Source - Chris Soyars on Twitter)
Sent from my Desire Z running CM7.
Click to expand...
Click to collapse
Hmm, what do you think that hardware problem could be???
Sent from my PG06100 using xda premium
Works great. Thanx alot. Quick question tho. What Kernel is everyone using. I just tried Tiamat from there site and it didnt seem to work. Only 1 that worked for me was Umaro. Which from the looks of it is dated. For whateva reason my sound is a no go.
Flash Order:
CMNightly 263
Umaro 1.06
This Mod*
Gapps
YaKillaCJ said:
Works great. Thanx alot. Quick question tho. What Kernel is everyone using. I just tried Tiamat from there site and it didnt seem to work. Only 1 that worked for me was Umaro. Which from the looks of it is dated. For whateva reason my sound is a no go.
Flash Order:
CMNightly 263
Umaro 1.06
This Mod*
Gapps
Click to expand...
Click to collapse
I think that the kernel by umaro is a but old. Correct me if I'm wrong. The latest builds are newer based so it might be why.
Sent from my HTC Pyramid using Tapatalk
YaKillaCJ said:
Works great. Thanx alot. Quick question tho. What Kernel is everyone using. I just tried Tiamat from there site and it didnt seem to work. Only 1 that worked for me was Umaro. Which from the looks of it is dated. For whateva reason my sound is a no go.
Flash Order:
CMNightly 263
Umaro 1.06
This Mod*
Gapps
Click to expand...
Click to collapse
Hmm strange, I thought tiamat kernel supported swap but I'll have to look more at their website. it makes me sad to see the lack of kernel development here on the g2 forums as well as the mytouch 4G. I'll see if I can get a basic pershoot kernel built that has swap enabled.
Sent from my PG06100 using xda premium
sparksco said:
Hmm strange, I thought tiamat kernel supported swap but I'll have to look more at their website. it makes me sad to see the lack of kernel development here on the g2 forums as well as the mytouch 4G. I'll see if I can get a basic pershoot kernel built that has swap enabled.
Sent from my PG06100 using xda premium
Click to expand...
Click to collapse
Works for me with tiamat kernel.
**Sent from my T-Mobile G2 running CM7-Nightly using XDA Premium**
BookCase said:
Works for me with tiamat kernel.
**Sent from my T-Mobile G2 running CM7-Nightly using XDA Premium**
Click to expand...
Click to collapse
Yeah everything should work fine as long as you use a recovery like ext4 recovery that support ext4 partitioning. I just found out that koush's recoveries use ext3 which does not work very good with this patch since it mounts the ext partition as ext4.
How you been BookCase? Long time no talk lol.
Sent from my PG06100 using xda premium
Hello my fellow Epic Androidians. Although I have very few posts, I am not new here. I have spent countless hours browsing and searching various Android forums here. The reason for this particular post is to ask for some info that I have not as yet been able to find successfully. For many weeks now I have been doing my best to implement data2ext/data2sd on my beloved little Epic. I have tried various ROMs and kernels, and many scripts, as well as the Link2SD app. One script and Link2SD worked partially, but on reboots any apps on the /sd_xt partition disappear from the app drawer and the homescreen. The basic issue seems to be that my /sd-ext partition is not mounting soon enough in the boot sequence. No matter what I have tried has been able to change this. I've read quite a bit about editing various boot scripts (usually in init.d or etc folders), but so far nothing definitive on setting the boot sequence.
If anyone happens to know what files I might have to edit or tweak to successfully implement this on the Epic with any of the latest EI22 ROMs and kernels, I would very much appreciate it, as I have not set up a stable ROM/kernel/app configuration since I've been doing so much testing and experiementing (pretty much flashing ROMs and kernels constantly).
Thank you.
Links2SD on Epic 4G
Bump. Same issue.
Does EI22 not support apps2sd+
Tried on SleeperRom after partitioning using CWM 1024mb ext3 with 0mb swap.
I can link the app and it will show up and work as intended but as soon as I reboot it's gone. The space is still used on the sd-ext partition however.
Gotta get this to work. Darn touchdown (exchange email) app takes 70+mb with all my downloaded emails...
mikepfly2 said:
Bump. Same issue.
Does EI22 not support apps2sd+
Tried on SleeperRom after partitioning using CWM 1024mb ext3 with 0mb swap.
I can link the app and it will show up and work as intended but as soon as I reboot it's gone. The space is still used on the sd-ext partition however.
Gotta get this to work. Darn touchdown (exchange email) app takes 70+mb with all my downloaded emails...
Click to expand...
Click to collapse
BUMP again, same ROM and same partitioning with attempted use of darktremors apps2sd script resulting boot looping fail, is there any other way to enable it??
iviyth0s said:
BUMP again, same ROM and same partitioning with attempted use of darktremors apps2sd script resulting boot looping fail, is there any other way to enable it??
Click to expand...
Click to collapse
BUMP, id like to see this as well.