Post Reply

[APP][ABANDONED] z4mod

OP RyanZA

19th November 2010, 07:20 PM   |  #1  
OP Senior Member
Flag JHB
Thanks Meter: 740
 
2,021 posts
Join Date:Joined: Jan 2006
Alright, here is the z4mod app at long last! This release needs a lot of testing for different devices still, so make sure you check the compatibility table below unless you know how to use Odin to flash back your original kernel. Thanks for helping to test this!

This is still in beta! If you know how to flash with Odin, please help test so all bugs can be found and fixed to allow for wider release!

What is this?

Another lagfix. This one is a bit different from existing lagfixes though:

- Differences from OCLF: Uses native EXT/JFS instead of loopback mounts. Loopback mounts in linux can be a bit flakey at times, especially when they're on RFS. So this is generally better.

- Differences from lagfix kernels such as voodoo or sztupy's: These types of lagfixes are kernels compiled from GPL sources for specific devices. This can cause a number of issues, such as losing out on bug fixes in later Samsung kernels released after the GPL code, or differences in devices such as the I9000B, etc. z4mod also has (imo) a nicer design, in that it uses /etc/fstab for filesystem mounting, as well as keeping the convert scripts outside the kernel. It should also work across ALL (or many?) Samsung devices without changes!


How do I use this?

Install the app. Click the buttons. It should all just work. Let me know of any issues or complications! This is still in testing!

Device/firmware compatibility table

Samsung Galaxy S Devices
Stock Samsung
I9000 Stock Samsung 2.2 : WORKING
I9000 Stock Samsung 2.1 : NOT TESTED
I9000B Stock Samsung 2.2 : NOT TESTED
I9000B Stock Samsung 2.1 : NOT TESTED
I9000T Stock Samsung 2.2 : NOT TESTED
I9000T Stock Samsung 2.1 : NOT TESTED
I9000M Stock Samsung 2.2 : NOT TESTED
I9000M Stock Samsung 2.1 : NOT TESTED
Captivate Stock Samsung 2.2 : NOT TESTED
Captivate Stock Samsung 2.1 : NOT TESTED
Vibrant Stock Samsung 2.2 : NOT TESTED
Vibrant Stock Samsung 2.1 : NOT TESTED
Epic Stock Samsung 2.2 : NOT TESTED
Epic Stock Samsung 2.1 : NOT TESTED
Fascinate Stock Samsung 2.2 : NOT TESTED
Fascinate Stock Samsung 2.1 : NOT TESTED
Stock Japanese Docomo Galaxy S (SC-02B) : WORKING
Stock SHW-M110S (Korean SGS) : WORKING

Custom Firmwares
Any custom firmware that uses a stock kernel works as the stock kernel in the table above
Custom kernels that make use of changed filesystems or boot up scripts are unlikely to work at this time. Emphasis is on stock kernels currently.

Custom Kernels

BLN (backlight notification) custom kernel for GT-I9000 works
Voodoo kernels do not work
Kernels with heavily modified boot procedures such as rooted Vibrant kernels do not work
CFRoot kernel does not work.
DamianGto's kernels work

Other Samsung Devices
NOT TESTED

More info on z4mod
http://www.sgscompilebox.dreamhosters.com/about.html

Source Code
http://github.com/z4/z4mod

V0.9.2 Changelog

Fix for EXT2->RFS Conversion. Please update to this app version before using this conversion.
Other small bug fixes.
Conversion page now has scrolling text informing you of progress and any errors.

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

Donations

Donate link is available at https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Attached Files
File Type: apk z4mod.0.9.3.apk - [Click for QR Code] (1.44 MB, 11832 views)
Last edited by RyanZA; 30th November 2010 at 09:02 PM.
The Following 8 Users Say Thank You to RyanZA For This Useful Post: [ View ]
19th November 2010, 07:34 PM   |  #2  
DAGr8's Avatar
Recognized Developer
Montreal
Thanks Meter: 6,332
 
3,525 posts
Join Date:Joined: Feb 2010
Donate to Me
More
quick question I need to disable vodoo before using this right ?

anyways im running vibrant rom ( axura ) on my rogers captivate ( i896 )

testing now
19th November 2010, 07:37 PM   |  #3  
OP Senior Member
Flag JHB
Thanks Meter: 740
 
2,021 posts
Join Date:Joined: Jan 2006
Quote:
Originally Posted by DAGr8

quick question I need to disable vodoo before using this right ?

anyways im running vibrant rom ( axura ) on my rogers captivate ( i896 )

testing now

This probably won't work if you have a Voodoo kernel installed. The Voodoo kernel is unlikely to be patchable, since it's not native RFS, and does not use /etc/fstab.
The Following User Says Thank You to RyanZA For This Useful Post: [ View ]
19th November 2010, 07:44 PM   |  #4  
Senior Member
Flag Chicago
Thanks Meter: 107
 
1,030 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by RyanZA

- Differences from OCLF: Uses native EXT/JFS instead of loopback mounts. Loopback mounts in linux can be a bit flakey at times, especially when they're on RFS. So this is generally better.

I have a Vibrant and this is why I have avoided using the OCLF in the past. Many ROMs don't even need a lag fix. However, with that issue gone, I'll at least try it and report back on it.
Last edited by epakrat75; 19th November 2010 at 07:49 PM.
19th November 2010, 07:47 PM   |  #5  
DAGr8's Avatar
Recognized Developer
Montreal
Thanks Meter: 6,332
 
3,525 posts
Join Date:Joined: Feb 2010
Donate to Me
More
Quote:
Originally Posted by RyanZA

This probably won't work if you have a Voodoo kernel installed. The Voodoo kernel is unlikely to be patchable, since it's not native RFS, and does not use /etc/fstab.

hey I forgot to mention I had flashed setiron's reoriented kernel on it , so yea result is could not patch kernel ..
19th November 2010, 07:47 PM   |  #6  
Account currently disabled
Thanks Meter: 422
 
2,022 posts
Join Date:Joined: Sep 2010
Donate to Me
I guess i have more test to do. But right now Im stuck with 0.12 problem.

I did test it:P
I knew it would not work.;)
The thing i was testing was if you could do this on a kernel that has note been patched. Well you can press the button and the phone restart. I guess it try but failed and restart again.
Can you do a check on the kernel so you know its patched?
I thinking of ways happens if people try every kernel without the patch. It should point them to the website.:P
Instead of restarting the phone.

Sent from GT-I9000 jpo. My own kernel for z4mod and with 342MB Ram
19th November 2010, 07:53 PM   |  #7  
specialex's Avatar
Senior Member
Thanks Meter: 60
 
245 posts
Join Date:Joined: Jun 2010
can i use this with speedmod kernel?
19th November 2010, 07:54 PM   |  #8  
OP Senior Member
Flag JHB
Thanks Meter: 740
 
2,021 posts
Join Date:Joined: Jan 2006
Quote:
Originally Posted by DamianGto

I guess i have more test to do. But right now Im stuck with 0.12 problem.

I did test it:P
I knew it would not work.;)
The thing i was testing was if you could do this on a kernel that has note been patched. Well you can press the button and the phone restart. I guess it try but failed and restart again.
Can you do a check on the kernel so you know its patched?
I thinking of ways happens if people try every kernel without the patch. It should point them to the website.:P
Instead of restarting the phone.

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

It checks for a /z4mod/z4version file to determine if it's been patched already. If you are using an earlier patched z4mod kernel that doesn't have that file, then it won't work right. If you start with a stock samsung kernel then it should work fine.

Quote:
Originally Posted by specialex

can i use this with speedmod kernel?

Feel free to give it a shot, but the current emphasis in this 0.9 app release is on patching and lagfixing the stock samsung kernels. Once that is all working and bugfree across devices, then I will look more at supporting custom kernels. At present, any custom kernel that does not change the initramfs (in particular, the /init binary and init.rc mount options) too heavily should work fine.
Last edited by RyanZA; 19th November 2010 at 07:56 PM.
19th November 2010, 08:04 PM   |  #9  
Whitehawkx's Avatar
Recognized Developer
Flag Emerald City
Thanks Meter: 9,348
 
2,379 posts
Join Date:Joined: Oct 2010
Donate to Me
More
Hey Ryan,

I patched the stock Vibrant JK2 kernel and it patched successful, however the conversion to ext2 did not work. Said it worked, rebooted, but I was still on RFS.
19th November 2010, 08:09 PM   |  #10  
OP Senior Member
Flag JHB
Thanks Meter: 740
 
2,021 posts
Join Date:Joined: Jan 2006
Quote:
Originally Posted by Whitehawkx

Hey Ryan,

I patched the stock Vibrant JK2 kernel and it patched successful, however the conversion to ext2 did not work. Said it worked, rebooted, but I was still on RFS.

Thanks for testing!

Could you upload the z4mod.log file in your sdcard? /sdcard/z4mod.log

Post Reply Subscribe to Thread

Tags
abwarten
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes