yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Themes and Apps] RyanZA:
This is not compatible with Doc's rom's custom kernel. Should be pretty clear if you read the first post, but your choice not to read is accepted as normal. Carry on, citizen! :)

EDIT: To be honest, you wouldn't even need to read the first post. Inside the app it says 'Current Filesystem' in big. See how it says RFS? ...

Thanks for the bug report though! I'll try and work on making the UI easier to understand for those who aren't too fond of reading!
[Galaxy S I9000 Themes and Apps] fredphoesh:
Oooo, a little defensive are we? A bit arrogant of you to make generalisations about a specific error, isn't it?

Come weds I may try it with the Orange Froyo release.

Tot siens poepall!
[Galaxy S I9000 Themes and Apps] iqbalbaskara:
Being the curious person I am, I installed the new version anyway. And lo and behold, I can't find the unpatch kernel button on the app screen. But I think that's normal right? :-/
[Galaxy S I9000 Themes and Apps] Spike_M:
not working with sgs-jpjpa
[Galaxy S I9000 Themes and Apps] RyanZA:
Unpatch kernel button will only appear if your current filesystem is RFS, for obvious reasons. :)

Haha hardly defensive - more like feeling sorry for a dog that just spent 10 minutes chasing it's own tail, only to eventually catch it and bite it, and realize that it's tail is sore now. :)

But luckily some good came out of your lack of reading - the UI is clearly not good/obvious enough yet, and I will work on improving it. :)
[Galaxy S I9000 Themes and Apps] penfold:
i can't try it because i have the CFRoot kernel with oclf, but why jfs instead of EXT2?
[Galaxy S I9000 Themes and Apps] RyanZA:
What JFS? App is currently EXT2 only, while the kernel patch supports all filesystems that the kernel itself supports.
[Galaxy S I9000 Themes and Apps] iqbalbaskara:
Gotcha. Thought so too. Thanks for confirming it ! :)
[Galaxy S I9000 Themes and Apps] scampstom:
After installing 0.9.2 the restoring of the kernel seems to be not longer available ...

edit: OK, just have to read the posting ahead ^^

But: It´s not possible to restore my origin kernel anymore, right? Would have to flash it once again with Odin?

Not that there is a reason for that at the moment, the phone is still running very fine.
[Galaxy S I9000 Themes and Apps] Vampiro2000:
Ok, I know i'm too noob but is it possible for you to give some screenshots on how to use this app and what to do ? The home page of your app seems to be a little different from what your app claims... I know your work and it seem very good (i'm on z4root), but I'm a little slow :) so please a little guide would be usefull...

Thanks!
[Galaxy S I9000 Themes and Apps] scampstom:
You won´t need any manual. Just install the app and run it ;)
[Galaxy S I9000 Themes and Apps] RyanZA:
No no, you misunderstand - and clearly my UI needs to explain it! The restore original kernel option is only available if your filesystem is on RFS! If you are on EXT2, then the restore original kernel option is disabled, because the stock kernel can't understand EXT2.

It really is just click the button easy. :)

Well, as long as your kernel is properly supported, which is very much not guaranteed if you're using a custom kernel! But that is being worked on.
[Galaxy S I9000 Themes and Apps] scampstom:
Got it, that´s quite logical. So I would have to go back to RFS and could go back to the orgin kernel - if I would like to ...

By the way: in difference to z4root there is no "about" with left button. So no chance to identify the built-no. of the app on that way.
[Galaxy S I9000 Themes and Apps] drhonk:
So I take it, the fix for Vibrant RFS to ext2 conversion is not available yet?
[Galaxy S I9000 Themes and Apps] RyanZA:
Yeah I should add that, but you can also see the version in Settings->Applications if you want.

Most Vibrant users on XDA seem to be using Eugene's 2.2 kernel. Unfortunately, this kernel does some interesting stuff with scripts (very far from stock, btw) which makes it incompatible with z4mod. Still trying to work out an elegant method for dealing with this. :)

If you use the stock kernel from Samsung though - the STOCK one - then z4mod should work just fine. Let me know if it doesn't! :)
[Galaxy S I9000 Themes and Apps] fredphoesh:
I feel lucky to have someone as high and important as you obviously are "feeling sorry" for normal, less important people... wow your arrogance is incredible.
[Galaxy S I9000 Themes and Apps] DamianGto:
If you did read then you should know.

Ryanza is nice person and use to be very friendly. I think he has all rights to tell people that keep ignoring to read a simple post to get all information they keep asking about also get error they done have to get, if they did read the first post..

Sent from GT-I9000 jpo. My own kernel for z4mod and with 342MB Ram
[Galaxy S I9000 Themes and Apps] RyanZA:
The people on XDA are generally all top notch, and are very good at understanding the issues involved in this kind of stuff, or at the very least reading the OP about what is and isn't compatible.

And then there are people like you, who aren't. Sorry. :)

As with any puzzle though, making an app that can work for people who make illogical choices and don't read the information presented to them is just part of the challenge of making a good system though! And while it never seems to be possible to make it usable to everyone, it's at least a goal. So thanks again for testing!

Next version will automatically start the application after flashing the kernel, giving the option to convert partitions without having to launch the app after boot. Plus hopefully a method to handle custom kernels well... although I'm not sure if it's even possible in all cases. But it definitely needs to at least give a warning that the custom kernel won't work if there are complications!

So anyway, thanks for the feedback!

EDIT: I genuinely am glad for the feedback btw. The attitude is because attitude like this is the only way I've found that seems to catch people's attention, and it gives me a good chuckle. :D

It's also a pretty good reflection of the attitude you yourself displayed in your first post - coming across as if you had all the answers, when you didn't even get z4mod to install. ;)

The proper way to have phrased your post would have been something like: "Hi, I tried z4mod but it didn't work! I'm using Doc's rom, what could be wrong?". Or alternatively you could have read the OP.
[Galaxy S I9000 Themes and Apps] fredphoesh:
Ryan, first off I acknowledged I made a mistake, so I would hope and expect people on xda to be courteous and polite, generally they are, but some are not, and today you have chosen to act the arrogant cad. Secondly, you made a generalization about "people like me" based on ONE EVENT. It seems you are frustrated or angry with yourself. I've seen you act up on a few occasions so I'd suggest you stop seeing yourself above others on this forum... you've made some good things but you are not a God.

A little humility would go a long way as it seems you've pissed off a lot of people.
[Galaxy S I9000 Themes and Apps] munnergep:
Installed it, and my sgs looks and feels much faster then it was. Thank you! ! !
[Galaxy S I9000 Themes and Apps] keltai:
Hi, so i had install 0.9 version, when shall i do a update to 0.92-5? is it neccessary? thks
[Galaxy S I9000 Themes and Apps] wultan:
Hey Ryan. Got a problem. I'm trying to convert back to rfs but don't seem to be able to do so. The app runs, goes to the blue screen but stays there for a short while before the phone restarts.

When I checked back the app, it says the current file system is ext2.

Using damiengto's kernal with your app. Also using the latest version off your app.
[Galaxy S I9000 Themes and Apps] RyanZA:
Sue me. :)

Number of people pissed off: ~100

Number of people helped: 100,000+

Works for me! Next time read the OP, or lose the attitude, or accept the criticism. ;)

Not really sure -- could be a ton of things! Could you post up /sdcard/z4mod.log ? :)

It's necessary when you want to convert back to RFS.
[Galaxy S I9000 Themes and Apps] drhonk:
Well it seems that Team Whiskey's stock 2.2 kernel is also JK2 based, just tested it and still didn't work. I guess I will have to patiently wait for the next update. :)
[Galaxy S I9000 Themes and Apps] RyanZA:
Got a link to that kernel so I can check? But in general - any kernel that does something like install root won't be stock, and won't work yet.
[Galaxy S I9000 Themes and Apps] drhonk:
http://www.teamwhiskey.com/home/downloads
[Galaxy S I9000 Themes and Apps] wultan:
Here ya go Ryan.

[ ! -f /z4mod/z4version ]

+ partition=data

+ devblock=/dev/block/mmcblk0p2

+ filesystem=rfs

+ [ rfs == ext ]

+ [ rfs == jfs ]

+ [ rfs == rfs ]

+ format_cmd=mkfs.vfat

+ echo /z4mod/bin:/:/sbin:/system/xbin:/system/bin:/z4mod/bin:/:/sbin:/system/xbin:/system/bin:/sbin:/system/xbin:/system/bin:/sbin:/system/sbin:/system/bin:/system/xbin

/z4mod/bin:/:/sbin:/system/xbin:/system/bin:/z4mod/bin:/:/sbin:/system/xbin:/system/bin:/sbin:/system/xbin:/system/bin:/sbin:/system/sbin:/system/bin:/system/xbin

+ [ mkfs.vfat == ]

+ busybox which mkfs.vfat

+ [ ]

+ halt

+ busybox umount /data

umount: can't umount /data: Invalid argument

+ [ == ]

+ busybox umount /sdcard

umount: can't umount /sdcard: Device or resource busy

+ exit 1

+ busybox cat

+ busybox date
[Galaxy S I9000 Themes and Apps] Neo-ST:
Hi Ryan,

I installed z4mod on official JP7 fw (rooted). It downloaded modified kernel from server, flashed, restarted and after that, the phone would just keep restarting after first i9000 logo, in a loop.

I can't post any logs because I had to reflash it all over again via Odin.

I used z4mod 0.9.2.
[Galaxy S I9000 Themes and Apps] PhoenixFx:
I'm still getting Error: zImage test failed :(

As I said earlier, I'm using an untouched JPO rom : ver 2.6.32.9 root@sep-35 #1 (Updated via Kies with the reg hack, no lag fixes or any other mods installed, rooted with SuperOneClick).
[Galaxy S I9000 Themes and Apps] RyanZA:
You are using the old version, 0.9.2 uses fat.format. Grab it off the first post. :)

That means that the download of the kernel was corrupt - it does an MD5 check to make sure the downloaded kernel is fine - which it isn't. You really wouldn't want to flash a damaged kernel so the app doesn't do it. Try it again on wifi/hsdpa and see if it helps?

Did you use CFRoot?
[Galaxy S I9000 Themes and Apps] wultan:
I used 0.9.2 too. Did't work. Phone just rebooted.

Could this have anything to do with the fact that i did not uninstall the old ver before installing the new one? I just override it.

EDIT: Ok. Now i can't even find the log file. I unistalled z4mod, deleted the log file from sdcard, then reinstalled 0.9.2 again, hoping that it will be a reset. Same thing. Didn't work and no log file now.

Any advice?

Thanks!
[Galaxy S I9000 Themes and Apps] wultan:
Another thing that might help... when i was in ext2 mode, i flashed damiengto's kernal followed by celaring the cache and dalvik cache.

Does that have anything to do with the issue?
[Galaxy S I9000 Themes and Apps] DamianGto:
Should not be any problem. I use the file from the github.

I also tried it without any problem.

Sent from GT-I9000 jpo. My own kernel for z4mod and with 342MB Ram
[Galaxy S I9000 Themes and Apps] ramiawad99:
So this lagfix needs a modified kernel to work like voodoo, so how is the battery life with this custom kernel and lagfix ? from my experience with custom kernels they tend to drain battery faster as they are based on sammy released source code which is not always up to date with recent firmwares.

Anyone can compare this to voodoo lagfix ? i tried voodoo and the phone was very snappy but the battery life was very bad, if this lag fix can give me a snappy phone with a good battery life, then it will be the best lagfix around.

Thanks
[Galaxy S I9000 Themes and Apps] AnnihilatorSC:
I've switched from SpeedMod to stock fw/kernel + z4mod. I must say I'm pleased so far; the idea of having a minimally tweaked system, compared to stock, is slowly growing on me.

So far, performance is good, battery life is good.

One question: will the OS auto-fsck the ext2 partitions on boot if they're unclean? Also, I'm a bit worried by the errors=continue mount option, and unclear about the purpose of nobh.

And one more thing: nodiratime is redundant, as noatime implies it.
[Galaxy S I9000 Themes and Apps] wultan:
Ok. I flashed back oem rom and kernal. And everything works, fron rfs to ext2 and vice versa.

I was using the v2 of your kernal damien, not sure if that means anything. Have not tried the conversion using v1 of your kernal.
[Galaxy S I9000 Themes and Apps] Neo-ST:
Of course. I needed it because JP7 installs 3e recovery, so I flashed this: CF-Root-XX_XEU_JPO-v1.2-Busybox-1.17.1.zip
[Galaxy S I9000 Themes and Apps] DamianGto:
It should work without any problem.

V2 is little more tweak then v1, but it should make any errors.

It still very stock.

Sent from GT-I9000 jpo. My own kernel for z4mod and with 342MB Ram
[Galaxy S I9000 Themes and Apps] ilbulgaro89:
amazin' on JPO xD
[Galaxy S I9000 Themes and Apps] darklordkk:
Possible to change to Ext4 after conversion to ext2

Hi fellas. This is my first post at XDA. So in case this question has been already asked, and answered, kindly excuse. I updated to Stock kernel in India today

Phone - I9000DDJP2

PDA - I9000DDJP6

CSC - 19000DDJP5

Applied Z4root and Z4mod, patched and converted to ext2 and all working fine. Quadrant score of 1812 in the bag. I just want to know whether it's possible to re-convert from ext2 to ext4 using the update.zip file available here

sgscompilebox.dreamhosters (z4mod kernel patcher) website

Or will it crap out the phone something bad?? Just that i've been reading that ext2 is kinda not too secure in case of inadvertant power loss. (Kindly excuse - the phone did cost me a pretty penny to buy :P)

Any clarification will be most appreciated.
[Galaxy S I9000 Themes and Apps] G.HendriX:
Installed 0.9.2 on stock froyo JP5 ITV. Kernel patched and filesystem converted to EXT2 succesfully.

The system is generally smoother, except for a persistent lag using the pinch to zoom capability on the application menu (I have 6 pages of applications). Is it normal?

Thanks a lot!
[Galaxy S I9000 Themes and Apps] RyanZA:
You can't use EXT4 on a samsung kernel - they don't support it. You need a kernel with EXT4 compiled in, or an EXT4 module.

z4mod was originally going to support EXT4/whatever fully - and probably still will eventually - but that feature is very very low priority simply because EXT2 works the best. Well, the kernel does support it as is, and using the update.zip (or copying your own script to init.d) is very very easy if you want EXT4. There just isn't a one button solution for it currently.

Battery life will be completely unchanged. This isn't a custom kernel - this method uploads your kernel to the server, where minor changes are made to it (a small boot time script is added, basically). So you are still using your original kernel, just with an extra script. That script only runs a single time, so EVERYTHING is completely unaffected.

To be honest, the whole idea of dynamically patching a kernel by uploading it to a remote server is just plain awesome! :D I have plans to add the same functionality for things like patching new battery icons and themes directly into .apk files too. :)

fsck.ext2 is copied into /system/xbin automatically on install - and the relevant settings are set using tune2fs. This means that on mounting, the mount command will check the ext2 partition when the triggers are hit, exactly the same way a desktop linux would.

It seems to be working properly, but no great research has gone into it. As far as mount settings, errors=continue is so that it will actually try and mount it even if the filesystem somehow crashes - which has chance of then letting the phone boot up with some missing data. No filesystem has actually crashed yet, so I don't actually know if this works, but it doesn't do any harm. :D

nodiratime is redundant, but doesn't do any harm. nobh saves some kernel memory, and I believe it helps solve certain corruption issues involving small files. Not 100% sure on why it was added/who added it to be honest, but it's probably helping! :)
[Galaxy S I9000 Themes and Apps] ilbulgaro89:
I think that to solve the touchwiz lag tou need to install a modded touchwiz, cuz also with no system lag the UI is always lagging on froyo.....

ITA: ( xD )

per risolvere il problema del lag dell'interfaccia penso sia neccesario installare una touchwiz modificata (le trovi qui su XDA ) dato che anche senza alcun lag di sistema, con froyo lo scrolling delle applicazioni della touchwiz lagga sempre appena superi un certo numero di app...io infatti uso launcherpro (o anche ADW launcher)
[Galaxy S I9000 Themes and Apps] kyrillos13:
Tested on Samsung GT-I5800 with JP8 installed.

Patch Kernel. > Copying required files > Extracting Kernel > Error: zImage test failed ... Will this be fixed in an update??

RyanZA keep working, your apps are awesome :)
[Galaxy S I9000 Themes and Apps] bobgeek:
I used z4root to root my phone temporarily. After flashing the kernel, I hit the 'Convert' button to change the file system to ext2. The phone has restarted and the score in Quadrant was unchanged. Then, I used z4root again to root my phone permanently and after rebooting, it made the conversion.

Does the use of temporary root can have any other effects with z4mod ?
[Galaxy S I9000 Themes and Apps] RyanZA:
Because z4mod app currently doesn't include it's own busybox, this happens. Next version will include busybox, and then this won't be an issue.

I'm currently leaning towards dealing with the custom kernel issue by simply having the app return an error message if you have an unpatchable kernel. The risk of trying to fix it up means that someone, somewhere will end up with a phone that won't boot and will need to be flashed with Odin. This would be bad...

So next version will probably have the following: advanced mode that will let you choose a patchable kernel from the server. If you choose a kernel that doesn't match your device, you'll have to then fix it yourself later with Odin. The advanced option will have all the applicable warnings on it. ;)

Since 99% of SGS user's are of course using Samsung kernels, this isn't really that big of a deal... I hope. There really is no perfect solution.
[Galaxy S I9000 Themes and Apps] ahhentz:
Hello. Newbie here, please be patient with any stupid questions ;-)

I wanna try this app in a brazilian Galaxy S (GT i9000b). What kind of backup should I do first? Only the kernel image is sufficient? I have already extracted the kernel image using an adb root shell using dd. Is it enough in case anything goes wrong? I have already rooted my phone using an update.zip (don't really know the method). Should I unroot it first?

Kudos to all, and thanks for the great work.
[Galaxy S I9000 Themes and Apps] fiforty:
EDIT

Fixed by flashing to a previous rom using odin and samfirmware.com

Original

After following the prompts provided by the app itself my phone is now stuck in a boot loop. Any recommendations???

Please Help:confused:
[Galaxy S I9000 Themes and Apps] PhoenixFx:
I have already tried many times, on two different Wi-Fi networks and my own HSDPA network both with ver 0.9.1 and 0.9.2. Rebooted the phone, uninstalled and reinstalled the app. There is nothing more left to do at my end.

Maybe it is keeping the corrupted copy and trying to patch with that every time. Because when I ran the app just now on my 3G connection, there was no data transfer (arrows under H didnt light up). Where do you store the temporarily downloaded kernel ? Maybe if I delete it manually it might redownload :confused:

EDIT : To make sure, just now I uninstalled the app > rebooted the phone > installed again > Gave it root permissions > exited > relaunched (to make sure root permission were granted properly) > Ran patch kernal > Same error, and NO data transfer. I'm pretty sure its not connecting to the internet anymore. Internet is working because I did a speedtest soon after and got 1.5Mbps down 600kpbs UP.
[Galaxy S I9000 Themes and Apps] RyanZA:
Huh.. I'll take a look!

If something goes wrong, you can flash back your original kernel using Odin. (Put it in a .tar file, load it into the PDA slot in Odin, put your phone in download mode, and flash.)
[Galaxy S I9000 Themes and Apps] PhoenixFx:
Thanks :) ........
[Galaxy S I9000 Themes and Apps] ahhentz:
Thanks! I'll setup Odin tonight and give it a try :-)
[Galaxy S I9000 Themes and Apps] thimy:
Hi,

I have an error at the end of kernel download, it's say : could not patch kernel.

I'm on eclair 2.1 BVJG2, kernel version 2.6.29root@SE-S603#2

Any advices please ?

Thanks
[Galaxy S I9000 Themes and Apps] RyanZA:
Grab the updated version in the first post if you've had any issues with conversion!

V0.9.3 Changelog

Critical: Upload kernel now passes binary MIME type to prevent corrupt kernels

Fixes for text in conversion screen.

Fix for 'mmcblk0p2' always being chosen for /data, even on devices that use 'mmcblk0p1'

Bug fixes for UI
[Galaxy S I9000 Themes and Apps] thimy:
Hello Ryan,

i download your new version but it's the same message.

It's happen just after the end of the kernel download. I try twice.

Thanks for your answer.
[Galaxy S I9000 Themes and Apps] ahhentz:
First of all, thanks for the quick response, Ryan :)

Same thing happened here. My phone is an i9000B (brazilian Galaxy S), and I was on WiFi. PDA version is I9000BVJJG9, verified by typing *#1234# in the keypad. If it is of any assistance in diagnosing the problem, I have rooted the phone using an update.zip with the following lines in the beginning of the updater-script:

ui_print("");
ui_print(" +------------------------------------+ ");
ui_print(" | Samsung GALAXY S i9000 Root | ");
ui_print(" | by BackfireNL | ");
ui_print(" | Superuser 2.3.6.1 | ");
ui_print(" +------------------------------------+ ");
ui_print("");
ui_print("Rooting phone...");

I also tried to use the online patcher using an image I dumped from the phone using dd, but it failed with the following error:

Warning: rename(temp/ddbfdcaea868d9572980d4c9a2b5c6f6/zImage.tar,temp/ddbfdcaea868d9572980d4c9a2b5c6f6/zImage) [function.rename]: No such file or directory in /home/ryanza/sgscompilebox.dreamhosters.com/dopatch.php on line 105

Warning: copy(temp/ddbfdcaea868d9572980d4c9a2b5c6f6/zImage) [function.copy]: failed to open stream: No such file or directory in /home/ryanza/sgscompilebox.dreamhosters.com/dopatch.php on line 107

Warning: md5_file(temp/ddbfdcaea868d9572980d4c9a2b5c6f6/zImage) [function.md5-file]: failed to open stream: No such file or directory in /home/ryanza/sgscompilebox.dreamhosters.com/dopatch.php on line 108
/home/ryanza/sgscompilebox.dreamhosters.com/temp/ddbfdcaea868d9572980d4c9a2b5c6f6/zImage: No such file or directory
[E] Can't find kernel:

Usage:
z4build <zImage> [-z zImage] [options] [-t <file.tar>]

Where:
zImage = the zImage file (kernel) you wish to patch
-z zImage = [optional] use initramfs from a different zImage
options = [busybox/recovery/root] install into initramfs
-t file.tar = [optional] extract file.tar over initramfs

I have verified that the image is good, by extracting the kernel proper and the initrd following the z4build.sh script downloaded from the git repository. However, I'm currently unable to patch this image using the script because I'm in a Mac, and the shell tools are not the GNU ones, so the arguments for some of the tools are different. I can try to make the script work on Mac too, if it is of any interest.

Sorry if I'm being too verbose, but I'm still a newbie in Android development, so some of the jargon and terminology is still not 100% clear to me, and I want to make sure I'm passing all the necessary info.

Thanks for the great work, guys! I'm looking forward to learn a lot from you :)
[Galaxy S I9000 Themes and Apps] PandaKiller:
I receive a message tell me that can't patch my kernel. Why?
[Galaxy S I9000 Themes and Apps] DamianGto:
What kernel is that?

Sent from GT-I9000 jpo. My own kernel for z4mod and with 342MB Ram