Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,783,129 Members 45,749 Now Online
XDA Developers Android and Mobile Development Forum

[APP][ABANDONED] z4mod

Tip us?
 
RyanZA
Old
(Last edited by RyanZA; 30th November 2010 at 09:02 PM.)
#1  
Senior Member - OP
Thanks Meter 737
Posts: 2,021
Join Date: Jan 2006
Location: JHB
Default [APP][ABANDONED] z4mod

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, 11789 views)
The Following 8 Users Say Thank You to RyanZA For This Useful Post: [ Click to Expand ]
 
DAGr8
Old
#2  
DAGr8's Avatar
Recognized Developer
Thanks Meter 6,332
Posts: 3,525
Join Date: Feb 2010
Location: Montreal

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

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

testing now
COME CHAT WITH US

T W I T T E R
 
King-Kang For The Galaxy Note LTE

The Hybrid for Galaxy Note II & SGH-I717


SAUROM-PROJEKT for I9000


or

 
RyanZA
Old
#3  
Senior Member - OP
Thanks Meter 737
Posts: 2,021
Join Date: Jan 2006
Location: JHB
Quote:
Originally Posted by DAGr8 View Post
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: [ Click to Expand ]
 
epakrat75
Old
(Last edited by epakrat75; 19th November 2010 at 07:49 PM.)
#4  
Senior Member
Thanks Meter 107
Posts: 1,030
Join Date: Aug 2010
Location: Chicago
Quote:
Originally Posted by RyanZA View Post
- 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.
 
DAGr8
Old
#5  
DAGr8's Avatar
Recognized Developer
Thanks Meter 6,332
Posts: 3,525
Join Date: Feb 2010
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by RyanZA View Post
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 ..
COME CHAT WITH US

T W I T T E R
 
King-Kang For The Galaxy Note LTE

The Hybrid for Galaxy Note II & SGH-I717


SAUROM-PROJEKT for I9000


or

 
DamianGto
Old
#6  
Account currently disabled
Thanks Meter 422
Posts: 2,022
Join Date: 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
 
specialex
Old
#7  
specialex's Avatar
Senior Member
Thanks Meter 60
Posts: 245
Join Date: Jun 2010
can i use this with speedmod kernel?
 
RyanZA
Old
(Last edited by RyanZA; 19th November 2010 at 07:56 PM.)
#8  
Senior Member - OP
Thanks Meter 737
Posts: 2,021
Join Date: Jan 2006
Location: JHB
Quote:
Originally Posted by DamianGto View Post
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 View Post
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.
 
Whitehawkx
Old
#9  
Whitehawkx's Avatar
Recognized Developer
Thanks Meter 9,347
Posts: 2,379
Join Date: Oct 2010
Location: Emerald City

 
DONATE TO ME
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.
@Whitehawkx - Github - #TeamKang @ Freenode

donate
 
RyanZA
Old
#10  
Senior Member - OP
Thanks Meter 737
Posts: 2,021
Join Date: Jan 2006
Location: JHB
Quote:
Originally Posted by Whitehawkx View Post
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

Tags
abwarten
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes