[KERNEL] [Mini/MiniPro/LiveWithWalkman/Active] X kernel 2.6.32.59 ZRAM [2-April-2012]

Search This thread

krizky82

Senior Member
Nov 2, 2008
125
166
Bandung
X Kernel 2.6.32.59

This is DoomLord based kernel, I just add a few stuff so most of the credit are for him and other developers in FXP project...

Features:
  • almost all DoomKernel features (OC to 2Ghz, USB OTG, Tiny RCU, TUN/TAP, slqb memory allocator, Two Way Call Recording, Debugging removed, autoroot, CWM, init.d support etc...

    What I changed:
  • Updated to 2.6.32.58 from the upstream. most patch are clean, some are added manualy
  • change CONFIG_RWSEM_GENERIC_SPINLOCK to CONFIG_RWSEM_XCHGADD_ALGORITHM (optimized for ARM)
  • Swap enabled and ZRAM added from Faux123 github

screenshot_2012-01-24_0248.png
screenshot_2012-01-24_0250.png

screenshot_2012-01-24_0247.png

CPU governor
  1. Performance
  2. Powersave
  3. Userspace
  4. Ondemand (Default)
  5. Conservative
  6. Interactive
  7. MinMax
  8. SmartassV2
  9. Brazilianwax
  10. Smoothass
  11. InteractiveX
  12. SavagedZen
  13. Lagfree
  14. Scary

I/O Scheduler
  1. Noop
  2. Ancipatory
  3. Deadline
  4. CFQ
  5. BFQ
  6. VR
  7. SIO

Supported file system:
  1. ext2/3/4
  2. fat32
  3. NTFS
  4. ISO9660
  5. YAFFS2

Please report if there is some issues with these kernel, I'm not a real kernel developers (just applying patches i think it doesn't count), I don't understand any C language, but I'll try to do my best to fixed it.
However I am NOT responsible if you damage your phone! please use it at your own risk!

How to Use it:
  • make backup of your original wlan modules
  • Put the downloaded wlan module (xxxxx_wlan_v3.zip) in your sdcard
  • Power off the phone
  • Connect the phone to the PC while pressing up volume to enter fastboot mode (the led is turning blue)
  • Use Flashtool to flash the boot.img or using fastboot --> fastboot flash boot boot.img or if it doesn't do anything fastboot -i 0xfce flash boot boot.img
  • Reboot the device
  • Press continuously the volume down button to get in the recovery
  • Choose install zip from sdcard; install xxxxx_wlan_v3.zip
  • In CWM go to advance menu and do a dalvik cache wipe... (fist boot will take a minutes to 3 minutes longer because it will create a new dalvik cache)
  • Reboot the phone

Zram is enabled in default setting., to disable it delete this file --> /system/etc/init.d/00zraminstall
to enable it again delete this file --> /system/zraminstall (v3) or /system/zraminstall2 (v4)

V4 Changelog
  • fix bootloop in costum rom with built in recovery for locked bootloader
  • disable 1,9ghz and 2ghz cpu freq... it causes random crash and not as stable as other freq so OC only enabled tp 1,8ghz
  • Updated to 2.6.32.59
  • Led notification light for entering the CWM
  • New KGSL driver ported from 2.6.35 kernel [adridu59]
  • Updated some android staging driver from 3.3/3.4-rc1 kernel git
  • Updated zram driver, modified to use snappy compression instead of LZO
  • Updated touchscreen driver from .74 kernel source
  • Mount partition as noatime (kernel default) and set as non-rotational (using init.d script)
  • Increase default minfree setting a little bit
  • More and more changes can be seen at my github commit

V3 Changelog
  • fix FM Radio bug
  • Updated to 2.6.32.58
  • Increase GPU memory to 4MB (before is 2MB) thanks to DooMLord
  • Updated few MSM driver from codeaurora.org
  • Other changes can be seen at my github commit

V2.1 Changelog:
  • fix VPN bug
  • Fix missing CPU freq setting from DoomLord Github
  • Salvaged some RAM thanks to jerpelea
  • Fix Ramdisk to install zram at default
  • Remove some unnecessary driver
  • Fix long startup at boot (please test it)
  • updated to 2.6.32.56

V2 Changelog:
  • Rebranding it to X kernel
  • Update cpu freq driver from Doomlord Github
  • Update Patched Battery driver by Bazoocaze
  • Expanding support to Mini, Mini Pro and Active (please be advised, I don't have the device so I can't test it, but I don't have any compiling problem Please report to me if any of you find one...)
  • Remove NFS and CIFS support

KNOWN BUG:
  • Compass may not working correctly in active... please report if there is any changes in the new kernel, I don't have the device to test it...

DOWNLOAD:

Live with walkman: Kernel | Wlan Modules
Xperia Active: Kernel | Wlan Modules
Xperia Mini: Kernel | Wlan Modules
Xperia Mini Pro: Kernel | Wlan Modules

previous builds (v3):
Live with walkman: Kernel | Wlan Modules
Xperia Active: Kernel | Wlan Modules
Xperia Mini: Kernel | Wlan Modules
Xperia Mini Pro: Kernel | Wlan Modules


I would like to thanks to:
DoomLord for the base kernel
DuMOHsmol, I use his kernel source as my base kitchen
Faux123, for the ZRAM script
adridu59 for the help and support
 
Last edited:

radmir

Member
Oct 10, 2006
27
11
Luton
I don't see files /system/etc/zram.sh and /system/etc/init.d/00zram, no zram device. I guess you push it in autoroot script in ramdisk and if device already rooted...

---------- Post added at 09:19 PM ---------- Previous post was at 09:16 PM ----------

I've deleted /system/autorooted file and rebooted phone but no changes...

---------- Post added at 09:20 PM ---------- Previous post was at 09:19 PM ----------

Could you upload that scripts?
 
  • Like
Reactions: Bilal Maximus

Gustavo RD78

Senior Member
May 19, 2011
1,723
2,400
Maringá - PR
Works great on my Xperia Mini!

As the above post, do not locate the files zram.

One thing I noticed is that using the kernel KRsH Rage or I get the warning for the latest update FW62 (I am in FW62), and using your do not have this problem, for this would be the last version?

Thank you!
 

krizky82

Senior Member
Nov 2, 2008
125
166
Bandung
I don't see files /system/etc/zram.sh and /system/etc/init.d/00zram, no zram device. I guess you push it in autoroot script in ramdisk and if device already rooted...

---------- Post added at 09:19 PM ---------- Previous post was at 09:16 PM ----------

I've deleted /system/autorooted file and rebooted phone but no changes...

---------- Post added at 09:20 PM ---------- Previous post was at 09:19 PM ----------

Could you upload that scripts?

Works great on my Xperia Mini!

As the above post, do not locate the files zram.

One thing I noticed is that using the kernel KRsH Rage or I get the warning for the latest update FW62 (I am in FW62), and using your do not have this problem, for this would be the last version?

Thank you!

I'll take another look at the ramdisk...
for the script you can use the zip files from this tread http://xdaforums.com/showthread.php?t=1207251
download the zram.zip from the attachment and flash it from CWM

the for now it will be the last version but if I have a bug fixed or an update, I'll post an update :)

Thanks will flash it and response ;)

Sent from my ST15 using XDA App

thanks... :)
 

r33p

Senior Member
Jul 3, 2011
370
104
any improvement using zram?

Creates RAM based block devices: /dev/zramX (X = 0, 1, ...). Pages written to these disks are compressed and stored in memory itself. These disks allow very fast I/O and compression provides good amounts of memory savings.

-From a SEARCH in xda.
 
  • Like
Reactions: D-dy

iceeyes91

Senior Member
Mar 19, 2009
192
36
Ffm
This kernel definitely looks promising. :D
Just flashed it and it is working good so far without any glitches.
Will give a feedback after I see how the battery life is doing.
Thanks for your contribution in the Xperia Lineup.

Best regards

Btw I am using a Xperia Mini Pro
 
  • Like
Reactions: afeeq

nimbold

Senior Member
Oct 3, 2011
691
206
Xiaomi Redmi Note 7
Flashed it and works great!
battery life is good i think. 2 hours in stand by and 1% drop.
5 hours display and wifi on and 30% yet remaining:)

but i have some problem with VPN which every time i try to connect via L2TP if display goes off, the phone will reset. but if i force screen been on (toching) it won't and connects successfully. don't know it's Kernel problem or not. but last kernel i used (KRsH) didn't have this problem.

Thanks in advance :)
 

krizky82

Senior Member
Nov 2, 2008
125
166
Bandung
I downloaded your kernel sources, /sbin/installzram.sh script just doesn't exist in ramdisk.

yes... I made a mistake after editing the ramdisk, it will be fixed after an update
meanwhile you can install this zram.zip from CWM...

Flashed it and works great!
battery life is good i think. 2 hours in stand by and 1% drop.
5 hours display and wifi on and 30% yet remaining:)

but i have some problem with VPN which every time i try to connect via L2TP if display goes off, the phone will reset. but if i force screen been on (toching) it won't and connects successfully. don't know it's Kernel problem or not. but last kernel i used (KRsH) didn't have this problem.

Thanks in advance :)

It could be a kernel problem, there is a some compiling warning using gcc 4.6.3 one of them is a tunneling protocol, I've patched it so it doesn't gives warning (not as much as before) I'll going to take another look than at the script

This kernel definitely looks promising. :D
Just flashed it and it is working good so far without any glitches.
Will give a feedback after I see how the battery life is doing.
Thanks for your contribution in the Xperia Lineup.

Best regards

Btw I am using a Xperia Mini Pro

Flashed my mini this moment,:D
no problems so far;)
keep up the good work

Good work krizky82... glad to see ppl improving the semc xperia kernel...

Sent from my LT15i using XDA App

thanks all for the support :)
 
  • Like
Reactions: nimbold and radmir

himasura

Senior Member
Dec 5, 2011
435
278
I check it on Xperia Active - works faster than stock kernel.
But hangs from time to time when booting (50%/50%) on "SONY ERICSSON" appears.

May be it is because of new CPU frequency driver.

UPD: After few minutes of hour (don't know) the magnetic and orientation sensors are goes off until next reboot. It happend twice today.
 
Last edited:

krizky82

Senior Member
Nov 2, 2008
125
166
Bandung
yeah, but i don't mean it.
when wifi signal is weak and i want to connect VPN using L2TP phone resets. without VPN in any signal strenght it's really good though.

Is there any free L2TP VPN service I could try? I google it but I can't find any free sites that doesn't need a credit card account :(

I check it on Xperia Active - works faster than stock kernel.
But hangs from time to time when booting (50%/50%) on "SONY ERICSSON" appears.

May be it is because of new CPU frequency driver.

UPD: After few minutes of hour (don't know) the magnetic and orientation sensors are goes off until next reboot. It happend twice today.

I'll try to test is some more and revert to the old cpuclock driver...
But I can't promise to post an update soon though... I get stuck on my job lately...

Sent from my WT19i using XDA App
 

Top Liked Posts

  • There are no posts matching your filters.
  • 72
    X Kernel 2.6.32.59

    This is DoomLord based kernel, I just add a few stuff so most of the credit are for him and other developers in FXP project...

    Features:
    • almost all DoomKernel features (OC to 2Ghz, USB OTG, Tiny RCU, TUN/TAP, slqb memory allocator, Two Way Call Recording, Debugging removed, autoroot, CWM, init.d support etc...

      What I changed:
    • Updated to 2.6.32.58 from the upstream. most patch are clean, some are added manualy
    • change CONFIG_RWSEM_GENERIC_SPINLOCK to CONFIG_RWSEM_XCHGADD_ALGORITHM (optimized for ARM)
    • Swap enabled and ZRAM added from Faux123 github

    screenshot_2012-01-24_0248.png
    screenshot_2012-01-24_0250.png

    screenshot_2012-01-24_0247.png

    CPU governor
    1. Performance
    2. Powersave
    3. Userspace
    4. Ondemand (Default)
    5. Conservative
    6. Interactive
    7. MinMax
    8. SmartassV2
    9. Brazilianwax
    10. Smoothass
    11. InteractiveX
    12. SavagedZen
    13. Lagfree
    14. Scary

    I/O Scheduler
    1. Noop
    2. Ancipatory
    3. Deadline
    4. CFQ
    5. BFQ
    6. VR
    7. SIO

    Supported file system:
    1. ext2/3/4
    2. fat32
    3. NTFS
    4. ISO9660
    5. YAFFS2

    Please report if there is some issues with these kernel, I'm not a real kernel developers (just applying patches i think it doesn't count), I don't understand any C language, but I'll try to do my best to fixed it.
    However I am NOT responsible if you damage your phone! please use it at your own risk!

    How to Use it:
    • make backup of your original wlan modules
    • Put the downloaded wlan module (xxxxx_wlan_v3.zip) in your sdcard
    • Power off the phone
    • Connect the phone to the PC while pressing up volume to enter fastboot mode (the led is turning blue)
    • Use Flashtool to flash the boot.img or using fastboot --> fastboot flash boot boot.img or if it doesn't do anything fastboot -i 0xfce flash boot boot.img
    • Reboot the device
    • Press continuously the volume down button to get in the recovery
    • Choose install zip from sdcard; install xxxxx_wlan_v3.zip
    • In CWM go to advance menu and do a dalvik cache wipe... (fist boot will take a minutes to 3 minutes longer because it will create a new dalvik cache)
    • Reboot the phone

    Zram is enabled in default setting., to disable it delete this file --> /system/etc/init.d/00zraminstall
    to enable it again delete this file --> /system/zraminstall (v3) or /system/zraminstall2 (v4)

    V4 Changelog
    • fix bootloop in costum rom with built in recovery for locked bootloader
    • disable 1,9ghz and 2ghz cpu freq... it causes random crash and not as stable as other freq so OC only enabled tp 1,8ghz
    • Updated to 2.6.32.59
    • Led notification light for entering the CWM
    • New KGSL driver ported from 2.6.35 kernel [adridu59]
    • Updated some android staging driver from 3.3/3.4-rc1 kernel git
    • Updated zram driver, modified to use snappy compression instead of LZO
    • Updated touchscreen driver from .74 kernel source
    • Mount partition as noatime (kernel default) and set as non-rotational (using init.d script)
    • Increase default minfree setting a little bit
    • More and more changes can be seen at my github commit

    V3 Changelog
    • fix FM Radio bug
    • Updated to 2.6.32.58
    • Increase GPU memory to 4MB (before is 2MB) thanks to DooMLord
    • Updated few MSM driver from codeaurora.org
    • Other changes can be seen at my github commit

    V2.1 Changelog:
    • fix VPN bug
    • Fix missing CPU freq setting from DoomLord Github
    • Salvaged some RAM thanks to jerpelea
    • Fix Ramdisk to install zram at default
    • Remove some unnecessary driver
    • Fix long startup at boot (please test it)
    • updated to 2.6.32.56

    V2 Changelog:
    • Rebranding it to X kernel
    • Update cpu freq driver from Doomlord Github
    • Update Patched Battery driver by Bazoocaze
    • Expanding support to Mini, Mini Pro and Active (please be advised, I don't have the device so I can't test it, but I don't have any compiling problem Please report to me if any of you find one...)
    • Remove NFS and CIFS support

    KNOWN BUG:
    • Compass may not working correctly in active... please report if there is any changes in the new kernel, I don't have the device to test it...

    DOWNLOAD:

    Live with walkman: Kernel | Wlan Modules
    Xperia Active: Kernel | Wlan Modules
    Xperia Mini: Kernel | Wlan Modules
    Xperia Mini Pro: Kernel | Wlan Modules

    previous builds (v3):
    Live with walkman: Kernel | Wlan Modules
    Xperia Active: Kernel | Wlan Modules
    Xperia Mini: Kernel | Wlan Modules
    Xperia Mini Pro: Kernel | Wlan Modules


    I would like to thanks to:
    DoomLord for the base kernel
    DuMOHsmol, I use his kernel source as my base kitchen
    Faux123, for the ZRAM script
    adridu59 for the help and support
    13
    Source Code

    I just open my GitHub account few days ago, I've upload the source there (I'm new at this, so the commit it a rather bit messy, but it contain my last source code)

    here is the link:

    https://github.com/krizky82
    6
    I wonder when will you update ths :)

    Sent from my SK17i using xda premium

    I̶'̶l̶l̶ ̶p̶o̶s̶t̶ ̶a̶n̶ ̶u̶p̶d̶a̶t̶e̶ ̶t̶o̶d̶a̶y̶ ̶:̶)̶

    The update is uploaded in page one :D

    V3 Changelog
    • fix FM Radio bug
    • Updated to 2.6.32.58
    • Increase GPU memory to 4MB (before is 2MB) thanks to DooMLord
    • Updated few MSM driver from codeaurora.org
    • Other changes can be seen at my github commit


    Thanks :D I will try it out in the next release...
    6
    thanks all for the support guys...
    I have some work and personal issues in the last month, so I'm not doing my homework fixing the kernel...
    but now I've back to built it again...
    currently I use ICS rom, I think it will be my main project, I thinking on built it from the original source, not the gb xkernel ported to ics, I have some bug after trying it... so it will take a more time to build it, please be patient and I'll not giving a release date because I'm not sure when it will be released...
    for GB kernel, I'll post some update in the same time of the ICS release...
    5
    bump... 297 views but nobody giving comment? :(
    please do... even if you think it sucks...