FORUMS
Remove All Ads from XDA

[KERNEL] FuguMod 2.4 beta3 (jfs,ext2/3/4,reiserfs, overclock, undervolt and more)

746 posts
Thanks Meter: 4,644
 
By marcellusbe, Senior Member on 17th March 2011, 10:30 PM
Post Reply Email Thread
Hello,

Here is Fugumod (based on http://forum.xda-developers.com/showthread.php?t=812836) ported to I5800. It allows users to convert without data loss all your filesystems to jfs/ext2/ext3/ext4/reiserfs and rfs.

Included in the image are (in Fugumod 2.4 beta3 Standard and 800Mhz edition):
  • Root ADB
  • own busybox 1.19
  • TUN support
  • No more RFS at all (if you want) (nearly, /efs stay rfs)
  • Compcache support
  • CIFS support
  • NFS modules
  • Security fixes
  • TinyRCU (default)
  • SIO Simple I/O scheduler (default)
  • BFQ (info : http://algo.ing.unimo.it/people/paolo/disk_sched/)
  • Autogroup scheduler patch v4
  • jhash3 patch
  • Support for early startup scripts (/system/etc/init.d)
  • Filesystems: rfs, ext2, ext3, ext4, btrfs, jfs*, reiserfs*
  • Support /data to sdcard
  • Support 1% battery steps mod
  • Support UV and pimpmycpu app.
  • Voodoo Sound v8
  • Overclock 800Mhz (no voltage raised)**

* : on a separate build
** : 800Mhz edition only

-----------------------------------------------------------------------------
Included in the image are (in Fugumod 2.2 Bleeding Edge version):
Like the original Fugumod, there is a "bleeding edge" version with advanced and experimental features I try to add.

/!\ This version is not STABLE and may corrupt your datas, make your phone not responding, crashing .... You have been warned /!\
  • Root ADB
  • own busybox 1.18.4
  • TUN support
  • No more RFS at all (if you want) (nearly, /efs stay rfs)
  • Compcache (info : http://code.google.com/p/compcache/)
  • CIFS support
  • Security fixes
  • TinyRCU
  • Support for early startup scripts (/system/etc/init.d)
  • SDcard speedup fix included (thx Kyrillos)
  • Filesystems: rfs, jfs, ext2, ext3, ext4, reiserfs, nilfs2, btrfs (will be used for /data on sdcard soon)
  • Overclock up to 1300Mhz : Frequencies : 83-166-333-667-866-1066-1300
  • 500Hz
-----------------------------------------------------------------------------
Read the whole post (except the changelog) before attempting to install

THERE IS NO MORE AUTOMATIC CONVERSION.
Conversion will occurs only if a fs.convert file is present in /sdcard/Android/data/fugumod.

I suggest that you start convert /cache and see that is working and then, if OK, convert /data and /system.

Custom rom makers could use this kernel to convert the filesystem.

Requirements
You must have at least 400Mb free on your SD card storage for initial conversion if you don't have any apps installed. If you have apps already installed, you must ensure that you have at least the same size as you data storage free on the sdcard.

What does Fugumod do ?
Fugumod convert to any filesystem supported by creating a fs.convert file in the directory /Android/data/fugumod/ on the sdcard. In exemple, you want to convert /data partition (/dev/block/stl7) to ext4, just make a fs.convert file containing :
Code:
stl7 ext4
or two partitions in a row :
Code:
stl7 jfs
stl8 ext2
How to use it ?
Flash with Odin as "One package" option.

How does it work ?
Once you create your fs.convert file in /sdcard/Android/data/fugumod/fs.convert, the conversion will start on the next reboot.
Depending how many partition you want to convert and the speed of your sdcard, the process could take some times ... 5, 10, 15 minutes .. do NOT interrupt the process or you will have to reflash a whole ROM.

When the conversion process is finished, the phone start.

How to check if it worked ?
Type : adb shell mount
and look for the partition you converted : you should see your new filesystem.
Below, I converted /data (stl7) and /cache (stl8) from rfs to ext4 :
Code:
D:\android-sdk\platform-tools>adb shell mount
rootfs / rootfs rw 0 0
proc /proc proc rw,relatime 0 0
sys /sys sysfs rw,relatime 0 0
tmpfs /dev tmpfs rw,relatime,mode=755 0 0
devpts /dev/pts devpts rw,relatime,mode=600 0 0
none /acct cgroup rw,relatime,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,relatime,mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,relatime,cpu 0 0
/dev/block/stl6 /system rfs ro,nodev,noatime,nodiratime,vfat,log_off,check=no,gi
d/uid/rwx,iocharset=cp437 0 0
/dev/block/stl7 /data ext4 rw,nosuid,nodev,noatime,nodiratime,commit=20,barrier=
1,data=ordered 0 0
/dev/block/stl8 /cache ext4 rw,nosuid,nodev,noatime,nodiratime,commit=20,barrier
=1,data=ordered 0 0
/dev/block/stl4 /efs rfs rw,nosuid,nodev,relatime,vfat,llw,check=no,gid/uid/rwx,
iocharset=cp437 0 0
How to desinstall Fugumod ?
2 solutions :
- Flash a complete ROM
or
- Take a custom kernel or a standard kernel and convert all the partitions to a filesystem supported by the new kernel and then flash it.

How to change a frequency ?
You can change by yourself the frequencies in all overclocked versions of fugumod (v2.4+ only). It's possible also in the 800 Mhz edition.
There is an entry in /sys/devices/system/cpu/cpu0/cpufreq/plls_table where you can put your own value for APLL.

Before doing this, set "PERFORMANCE" governor on and min and max frequencies to the maximum
Example : in the 800Mhz edition :
Code:
# cat /sys/devices/system/cpu/cpu0/cpufreq/plls_table
index - apll
0 81900301
#
now, you can change this value and put 834Mhz (0x81a10301) on the index 0 (the highest freq):
Code:
# echo "0 0x81a10301" > /sys/devices/system/cpu/cpu0/cpufreq/plls_table
As usual, use it at your OWN risk.

This should work also with Loop based lagfix. This need to be tested more... Backup applications have not been tested already. Please give feedback.

You can find all the scripts and source code on github : https://github.com/sdadier

------ Note for startups scripts
- Put your script in /system/etc/init.d
- Scripts with Filename starting with E* (earlystartup scripts) are executed before script with filename starting with S* (users scripts)
- Scripts are executed before playlogo and after init.rc
- Log is available in /res/user.log


Thanks to nikademus the original author of fugumod and sztupy for universal lagfix initramfs.
Thanks to Supercurio for voodoo additions.
Thnaks to Cpasjuste for pimpmycpu and help.
Thanks to s3th.g3ck9, FadeFx and others I forgot for bugfixes and ideas, The Dark Lestat for cooking us the best ROM here


--> DOWNLOAD : http://code.google.com/p/fugumod-i5800/downloads/list


This project takes a lot of time and work.
Please, consider donating to help further development : http://forum.xda-developers.com/dona....php?u=3404423

Thanks for your support!










Changelog :

2.4 beta3 (05/20/2011) :
- Fix lags (ksm)
- Fix app2sd froyo way ... should fix data2sd
- Fix screen flickering
- Set default headphones volume to max (voodoo)

2.4 beta2 (05/18/2011) :
- Fix Conservative governor
- Fix undervolt not working on 800Mhz edition

2.4 beta1 (05/18/2011) :
- SIO scheduler
- Removed NILFS2
- Autogroup scheduler
- VS v8
- Support pimpmycpu app
- sysfs files to tweaks voltages and frequencies
- fix clicks/cuts sounds during calls


2.3 (04/11/2011) :
Removed due to severe issues

2.3 Bleeding Edge (04/11/2011) :
Removed due to severe issues

2.2 final (04/06/2011) :
- Updated ext4 with ext4-patches-for-2.6.32.11--14 (same perfs as before but more mount options supported)
- Added nilfs_cleanerd garbage collector as service (not tested)
- Compcache disabled : you can always start it with # sh /sbin/ramzswap.sh or put a script that run it in init.d

2.2 Bleeding Edge (04/06/2011) :
- Overclock s5p6442 upto 1300 Mhz : use SetCPU to set the frequencies or via /sys/devices/system/cpu/cpu0/cpufreq/ (not tested)
- Updated ext4 with ext4-patches-for-2.6.32.11--14 (same perfs as before but more mount options supported)
- Added nilfs_cleanerd garbage collector as service (not tested)
* Compiled with TinyRCU, CFQ & 500Hz
2.2 beta :
- added BFQ (default I/O scheduler)
- added init.d support
- fix SDcard speed
2.1 :
- Fixed /efs not mounting correctly
- Added TinyRCU
2.0 :
- Based on fugumod 1.8
- Arm 2010-09 g++
1.2.1 :
- fixed version
1.2 :
- Fix /efs
- add NILFS2 support (experimental)
1.1 :
- root adb
1.0 :
- Initial release
Attached Thumbnails
Click image for larger version

Name:	pimpmycpu.png
Views:	5085
Size:	20.5 KB
ID:	599696   Click image for larger version

Name:	voodoo.png
Views:	4654
Size:	26.7 KB
ID:	599697  
The Following 67 Users Say Thank You to marcellusbe For This Useful Post: [ View ] Gift marcellusbe Ad-Free
 
 
18th March 2011, 12:27 AM |#2  
s3th.g3ck9's Avatar
Senior Member
Flag Styria
Thanks Meter: 29
 
More
This should go to dev section... Could be useful for custom rom devs.

Sent from my GT-I5800 using Tapatalk
The Following User Says Thank You to s3th.g3ck9 For This Useful Post: [ View ] Gift s3th.g3ck9 Ad-Free
18th March 2011, 05:31 AM |#3  
Kaleptik's Avatar
Inactive Recognized Developer
Thanks Meter: 1,234
 
More
Quote:
Originally Posted by marcellusbe

Hello,

Here is Fugumod (based on http://forum.xda-developers.com/showthread.php?t=812836) ported to I5800. It allows users to convert without data loss all your filesystems to jfs/ext4/reiserfs.

Not all original features are ported but they will be if possible in the future.

Included in the image are:
- own busybox 1.18.4
- TUN support
- No more RFS at all
- compcache
- filesystems: jfs, ext4, reiserfs
- CIFS support
- security fixes
- filesystems: jfs, ext4, reiserfs, btrfs

Read the whole post (except the changelog) before attempting to install

This kernel converts all rfs based /data,/cache and /system to jfs automatically. It also makes /efs on jfs or ext4, but for safety purposes /dev/block/stl4 is still rfs formatted, but not mounted anymore.

Odin flashable kernel (select one package when flashing with odin.)

Custom rom makers could use this kernel to convert the filesystem.

You can convert to any filesystem supported by creating a fs.convert file in the directory /fugumod/ on the sdcard. In exemple, you want to convert /data partition (/dev/block/stl7) to ext4, just make a fs.convert file containing :

Code:
stl7 ext4
The filesystems conversion will occurs at reboot : dont touch your phone for about 5 min (depending how many partition should be converted).

- You don't need to do anything, just flash the kernel without repartition and wait some minutes for the first boot.
- You must have at least 400Mb free on your SD card storage for initial conversion if you don't have any apps installed. If you have apps already installed, you must ensure that you have at least the same size as you data storage free on the sdcard.

- The cleanest way to revert the mod is to reflash a complete ROM. But it also works by converting filesystems to ext4 and flash one of the numerous kernel which support full ext4
- Do NOT interrupt your first boot or you will have to reflash a full system.


As usual, use it at your OWN risk.

Tested on XXJPM, Lestatious ROM, Kyrillos V3 and InDroid 3.0 with success. This should work also with Loop based lagfix. This need to be tested more... Backup applications have not been tested already. Please give feedback.

Thank to nikademus the original author of fugumod.

Changelog :
1.0 : Initial release

Posted in general section since i could not post in dev section.

You're kidding right? Straight up best kernel so far if true. Does this kernel have adb root?

Sent from my Lestatious v1.4.5 Galaxy 3 FROYO
The Following User Says Thank You to Kaleptik For This Useful Post: [ View ] Gift Kaleptik Ad-Free
18th March 2011, 06:22 AM |#4  
ronhoover88's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 548
 
More
Quote:
Originally Posted by The Dark Lestat

You're kidding right? Straight you best kernel so far if true. Does this kernel have adb root?

Sent from my Lestatious v1.4.5 Galaxy 3 FROYO

looks good...@lestat can we use it on your rom??
18th March 2011, 06:45 AM |#5  
Kaleptik's Avatar
Inactive Recognized Developer
Thanks Meter: 1,234
 
More
Quote:
Originally Posted by ronhoover88

looks good...@lestat can we use it on your rom??

If it has adb root, then heck yes!

Sent from my Lestatious v1.4.5 Galaxy 3 FROYO
18th March 2011, 07:10 AM |#6  
ronhoover88's Avatar
Senior Member
Flag Bangalore
Thanks Meter: 548
 
More
Quote:
Originally Posted by The Dark Lestat

If it has adb root, then heck yes!

Sent from my Lestatious v1.4.5 Galaxy 3 FROYO

i flashed the kernel and i'm not getting any network on my phone...


going back to lestat's original package
The Following User Says Thank You to ronhoover88 For This Useful Post: [ View ] Gift ronhoover88 Ad-Free
18th March 2011, 10:29 AM |#7  
FadeFx's Avatar
Senior Member
Flag Vienna
Thanks Meter: 3,027
 
Donate to Me
More
To bad i don't have the g3 at my hand ATM to test this...
18th March 2011, 04:53 PM |#8  
kyrillos13's Avatar
Inactive Recognized Developer
Flag Athens
Thanks Meter: 5,187
 
Donate to Me
More
Looks Nice! But tell haree to move the thread in the development section!
The Following User Says Thank You to kyrillos13 For This Useful Post: [ View ] Gift kyrillos13 Ad-Free
18th March 2011, 05:09 PM |#9  
debaj's Avatar
Senior Member
Flag Budapest
Thanks Meter: 173
 
More
Installed without problems. This phone is better and better thaks to you guys.
18th March 2011, 05:22 PM |#10  
Junior Member
Thanks Meter: 1
 
More
what is the improvment to Kyrillo's Rom (Ver.3.0 final) ???

Gives it a better performance, or is it something, what not everybody need?
18th March 2011, 05:32 PM |#11  
marcellusbe's Avatar
OP Senior Member
Flag Québec City
Thanks Meter: 4,644
 
More
Quote:

Originally Posted by The Dark Lestat
You're kidding right? Straight you best kernel so far if true. Does this kernel have adb root?

Sent from my Lestatious v1.4.5 Galaxy 3 FROYO
looks good...@lestat can we use it on your rom??

default.prop is :
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=1
persist.service.adb.enable=1

You must SU to get root.
Note that Im not a kernel guru and the kernel could be optimised more.

The best thing in Fugumod is the initramfs and the pre-init.sh script that convert all the filesystems without any data loss.

Notes:
- the app Fugumodapp work with the kernel but I didnt try to use it to make a fs.convert file.
- I successfully added compcache. /dev/ramzswap0 was created and initialised but I dont know yet if it brings improvements to the phone or not.


Quote:
Originally Posted by ronhoover88

i flashed the kernel and i'm not getting any network on my phone...


going back to lestat's original package

Really?. I got this problem one time but network get back after a reboot.
The Following User Says Thank You to marcellusbe For This Useful Post: [ View ] Gift marcellusbe Ad-Free
Post Reply Subscribe to Thread

Tags
ext4, fugumod, kernel, overclock

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes