[KERNEL][T210/T210R/T211] blackhawk kernel 2.1

Search This thread

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,138
Bekasi
First unofficial kernel for Galaxy Tab 3 Marvell PXA988, reported works on T210 and T210R variant (T210 version) and T211 (T211 version)

Kernel source: https://github.com/kumajaya/android_kernel_samsung_lt02
Kernel modules source: https://github.com/kumajaya/android_kernel_samsung_lt02_modules

Features:
Based on my kernel commits and modules commits:
  • Open source exFAT filesystem driver from Samsung OSRC
  • Configurable touchscreen orientation, so we can use this kernel as touch based recovery kernel
  • Override 1MB ramdisk size limitation + xz compressed ramdisk. CWM recovery need > 2MB ramdisk, no blackhawk = no CWM/CWM based recovery
  • Zram support. Update LZO compression library to upstream version, optimized for arm processor
  • Linaro gcc compiler. Update Marvell P4JB CPU init routines for linaro
  • Hardcoded ION carveout memory. Old version bootloader will boot this kernel without blank pop up bug!
  • Using the latest T210R MJ1 GPU, WiFi, bluetooth, and T211 MI3 telephony drivers. This kernel always bring the appropriate kernel modules inside /system/lib/modules to prevent kernel modules incompatibility issue
  • Single source for all T21x variants, different kernel config, different flashable zip for T211
  • Integrated self compiled busybox, fstrim applet included for a lag fix
  • Auto root, no need to flash any root solution
  • Init scripts support (/system/etc/init.d, /data/local/userinit.d, and /data/local/userinit.sh)
  • Kernel module loader template /system/etc/init.d/02modules
  • Post boot template /system/etc/init.post_boot.sh
  • Zram manager, over "adb shell" or Terminal Emulator:
    Code:
    su
    setprop persist.service.zram 25
    to set 25% memory size zram, persistent.
    Code:
    su
    setprop persist.service.zram 0
    to disable zram. Needs reboot.

Samsung Open Source Release Center: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-t21

Special Thanks:

Note:
  • I don't own this tablet myself. This is the side result of my work and @gr8nole, making a working kernel for recovery. For better development support, please consider donating.
  • Both kernel and kernel modules source on my github account already, feel free to fork it. "Don't reinvent the wheel, unless you plan on learning more about wheels."

Flash at your own risk!
 

Attachments

  • blackhawk-kernel-1.6-t210.zip
    4.3 MB · Views: 6,437
  • blackhawk-kernel-1.6-usbhost-t210.zip
    4.5 MB · Views: 4,110
  • blackhawk-kernel-1.7.1-t210.zip
    5.7 MB · Views: 2,612
  • blackhawk-kernel-1.8-t210.zip
    5.7 MB · Views: 6,020
  • blackhawk-kernel-1.8.1-t211.zip
    5.8 MB · Views: 10,224
  • blackhawk-kernel-2.1-t210.zip
    5.1 MB · Views: 32,792
  • blackhawk-kernel-2.1-t211.zip
    5.2 MB · Views: 20,783
Last edited:

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,138
Bekasi
Changelog 2.1 (08/02/2014):
  • Merge Samsung OSRC T210R MK1 and T2105 MK3 update (platform, framebuffer, battery/charger driver, etc): https://github.com/kumajaya/android_kernel_samsung_lt02/commits/master
  • Merge Samsung OSRC T2105 MK3 modules update (new WiFi driver, Bluetooth, GPU driver update, etc): https://github.com/kumajaya/android_kernel_samsung_lt02_modules/commits/master
  • Newer su binary, Supersu.apk removed. Auto root still work, you can install Super SU from Google Play by yourself
  • Storage swapper script included. To set your external card as internal, type "setprop persist.customboot.sdcard external" over Terminal Emulator or "adb shell" as root, reboot. Type "setprop persist.customboot.sdcard internal" or delete /data/property/persist.customboot.sdcard to restore to default, reboot.

Changelog 1.8.1 (31/10/2013), T211 only:

Changelog 1.8 (29/10/2013):

Changelog 1.7.1 (15/9/2013):
  • Ramdisk based on 1.6-linaro-tweaks
  • Kernel compiled using Linaro gcc 4.7, SM-T210R MI1 update applied
  • Hardcoded ION carveout memory, the new kernel source need "ioncarv" kernel parameter from bootloader. This solution fix blank pop up windows problem
  • Untested!

Changelog 1.7 (13/9/2013):
  • Ramdisk based on 1.6-linaro-tweaks
  • Kernel compiled using Linaro gcc 4.7, SM-T210R MI1 update applied
  • Untested! BUG! The current bootloader have no "ioncarv" kernel parameter

Changelog 1.6-linaro-tweaks (12/9/2013):
  • Based on 1.6-linaro, blackhawk standard tweaks applied:
    • Integrated busybox
    • Auto root
    • Init scripts support (/system/etc/init.d, /data/local/userinit.d, and /data/local/userinit.sh)
    • Kernel module loader template /system/etc/init.d/02modules
    • Post boot template /system/etc/init.post_boot.sh
    • Zram manager, over "adb shell" or Terminal Emulator:
      Code:
      su
      setprop persist.service.zram 25
      to set 25% memory size zram, persistent.
      Code:
      su
      setprop persist.service.zram 0
      to disable zram.
  • Untested!

Changelog 1.6 (12/9/2013):
  • Cleancache disabled
  • Kernel with USB host support in separated package
  • Kernel compiled using Linaro gcc in separated package
  • Untested!

Changelog 1.5 (11/9/2013):
  • Revert Samsung OSRC SM-T210L kernel update
  • Remove PN547 NFC support, android_vibrator and timed_gpio
  • Enable USB host and mass storage support, a lot of USB HID drivers (keyboard, mouse, etc), PS3 and Xbox controller, and USB GSM dongle
  • Untested!

Changelog 1.4 (11/9/2013):

Changelog 1.3 (11/9/2013):
  • Fix IR LED permission
  • Disable OTA recovery update
  • Untested!

Changelog 1.2 (10/9/2013):
  • Add PN547 NFC support. android_vibrator and timed_gpio as module
  • Untested!

Changelog 1.1 (10/9/2013):
  • CIFS filesystem support
  • Disable a lot of kernel debug (SLUB debug, tracing, and a lot of things from kernel hacking config) for size and performance
  • Untested!

A screenshot from @hkjr:
yte9ehun.jpg
 
Last edited:

ketut.kumajaya

Recognized Developer
Apr 28, 2011
4,935
14,138
Bekasi
SM-T210[R/L], SM-T211: Marvell PXA988 based platform, 1.2GHz dual core processor

SM-T21x variant information, based on kernel defconfig:
1. lt02wifi: base configuration - T210
2. lt02wifiue: WiFi + IR remote - T210R, US market
3. lt02wifidtv: WiFi + digital TV - T210?, South America market?
4. lt02wifilgt: WiFi + NFC - T210L, Korea market
5. lt023g: WiFi + 3G - T211
6. lt023gdtv: 3G + digital TV - T211?, South America market?

SM-T215: MSM based platform, 1.7GHz dual core processor, LTE
 
Last edited:

gr8nole

Senior Member
Oct 9, 2010
3,958
8,042
Lynchburg, VA
Not for now. Just use it and report me for any bug. Please try 1.2 :D

Flashed 1.2 and System Tuner reports that both cores are maxed out (1.2ghz) and do not scale back down. I gave it a few minutes after restart and they remained maxed out. (Wifi off, nothing syncing).

Flashed back to 1.1 and everything looks normal again.

Not sure how reliable System Tuner is.

EDIT: Nevermind...flashed 1.2 again (wiped cache and dalvik) and all is well. Both cores scaling properly now.
 
Last edited:
  • Like
Reactions: trazfer

SOHKis

Senior Member
Apr 29, 2008
579
158
VA
Flashed 1.2 and System Tuner reports that both cores are maxed out (1.2ghz) and do not scale back down. I gave it a few minutes after restart and they remained maxed out. (Wifi off, nothing syncing).

Flashed back to 1.1 and everything looks normal again.

Not sure how reliable System Tuner is.
I'm seeing similar behavior.

does system tuner allow for adjusting settings? i'm using kernel tuner - http://xdaforums.com/showthread.php?t=1719934

& it was showing the 'min' value for both cores was set to 1205Mhz, the same as the max.

i've backed it down to 312Mhz on both cores & all seems to be good.
 

gr8nole

Senior Member
Oct 9, 2010
3,958
8,042
Lynchburg, VA
I'm seeing similar behavior.

does system tuner allow for adjusting settings? i'm using kernel tuner - http://xdaforums.com/showthread.php?t=1719934

& it was showing the 'min' value for both cores was set to 1205Mhz, the same as the max.

i've backed it down to 312Mhz on both cores & all seems to be good.

Please see the edit to my post above.

I don't think System Tuner does a very good job reporting dual-core devices, but I haven't found a better app yet (still looking).
 
  • Like
Reactions: trazfer

gr8nole

Senior Member
Oct 9, 2010
3,958
8,042
Lynchburg, VA
Looks like the IR is not working. I'm going to flash back to stock to make sure it works correctly with that.

Edit: IR blaster works on stock but not on this kernel (v1.2).

Let me know if you need any files from me to get a possible fix.
 
Last edited:
  • Like
Reactions: trazfer

Top Liked Posts

  • There are no posts matching your filters.
  • 113
    First unofficial kernel for Galaxy Tab 3 Marvell PXA988, reported works on T210 and T210R variant (T210 version) and T211 (T211 version)

    Kernel source: https://github.com/kumajaya/android_kernel_samsung_lt02
    Kernel modules source: https://github.com/kumajaya/android_kernel_samsung_lt02_modules

    Features:
    Based on my kernel commits and modules commits:
    • Open source exFAT filesystem driver from Samsung OSRC
    • Configurable touchscreen orientation, so we can use this kernel as touch based recovery kernel
    • Override 1MB ramdisk size limitation + xz compressed ramdisk. CWM recovery need > 2MB ramdisk, no blackhawk = no CWM/CWM based recovery
    • Zram support. Update LZO compression library to upstream version, optimized for arm processor
    • Linaro gcc compiler. Update Marvell P4JB CPU init routines for linaro
    • Hardcoded ION carveout memory. Old version bootloader will boot this kernel without blank pop up bug!
    • Using the latest T210R MJ1 GPU, WiFi, bluetooth, and T211 MI3 telephony drivers. This kernel always bring the appropriate kernel modules inside /system/lib/modules to prevent kernel modules incompatibility issue
    • Single source for all T21x variants, different kernel config, different flashable zip for T211
    • Integrated self compiled busybox, fstrim applet included for a lag fix
    • Auto root, no need to flash any root solution
    • Init scripts support (/system/etc/init.d, /data/local/userinit.d, and /data/local/userinit.sh)
    • Kernel module loader template /system/etc/init.d/02modules
    • Post boot template /system/etc/init.post_boot.sh
    • Zram manager, over "adb shell" or Terminal Emulator:
      Code:
      su
      setprop persist.service.zram 25
      to set 25% memory size zram, persistent.
      Code:
      su
      setprop persist.service.zram 0
      to disable zram. Needs reboot.

    Samsung Open Source Release Center: http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-t21

    Special Thanks:

    Note:
    • I don't own this tablet myself. This is the side result of my work and @gr8nole, making a working kernel for recovery. For better development support, please consider donating.
    • Both kernel and kernel modules source on my github account already, feel free to fork it. "Don't reinvent the wheel, unless you plan on learning more about wheels."

    Flash at your own risk!
    26
    Changelog 2.1 (08/02/2014):
    • Merge Samsung OSRC T210R MK1 and T2105 MK3 update (platform, framebuffer, battery/charger driver, etc): https://github.com/kumajaya/android_kernel_samsung_lt02/commits/master
    • Merge Samsung OSRC T2105 MK3 modules update (new WiFi driver, Bluetooth, GPU driver update, etc): https://github.com/kumajaya/android_kernel_samsung_lt02_modules/commits/master
    • Newer su binary, Supersu.apk removed. Auto root still work, you can install Super SU from Google Play by yourself
    • Storage swapper script included. To set your external card as internal, type "setprop persist.customboot.sdcard external" over Terminal Emulator or "adb shell" as root, reboot. Type "setprop persist.customboot.sdcard internal" or delete /data/property/persist.customboot.sdcard to restore to default, reboot.

    Changelog 1.8.1 (31/10/2013), T211 only:

    Changelog 1.8 (29/10/2013):

    Changelog 1.7.1 (15/9/2013):
    • Ramdisk based on 1.6-linaro-tweaks
    • Kernel compiled using Linaro gcc 4.7, SM-T210R MI1 update applied
    • Hardcoded ION carveout memory, the new kernel source need "ioncarv" kernel parameter from bootloader. This solution fix blank pop up windows problem
    • Untested!

    Changelog 1.7 (13/9/2013):
    • Ramdisk based on 1.6-linaro-tweaks
    • Kernel compiled using Linaro gcc 4.7, SM-T210R MI1 update applied
    • Untested! BUG! The current bootloader have no "ioncarv" kernel parameter

    Changelog 1.6-linaro-tweaks (12/9/2013):
    • Based on 1.6-linaro, blackhawk standard tweaks applied:
      • Integrated busybox
      • Auto root
      • Init scripts support (/system/etc/init.d, /data/local/userinit.d, and /data/local/userinit.sh)
      • Kernel module loader template /system/etc/init.d/02modules
      • Post boot template /system/etc/init.post_boot.sh
      • Zram manager, over "adb shell" or Terminal Emulator:
        Code:
        su
        setprop persist.service.zram 25
        to set 25% memory size zram, persistent.
        Code:
        su
        setprop persist.service.zram 0
        to disable zram.
    • Untested!

    Changelog 1.6 (12/9/2013):
    • Cleancache disabled
    • Kernel with USB host support in separated package
    • Kernel compiled using Linaro gcc in separated package
    • Untested!

    Changelog 1.5 (11/9/2013):
    • Revert Samsung OSRC SM-T210L kernel update
    • Remove PN547 NFC support, android_vibrator and timed_gpio
    • Enable USB host and mass storage support, a lot of USB HID drivers (keyboard, mouse, etc), PS3 and Xbox controller, and USB GSM dongle
    • Untested!

    Changelog 1.4 (11/9/2013):

    Changelog 1.3 (11/9/2013):
    • Fix IR LED permission
    • Disable OTA recovery update
    • Untested!

    Changelog 1.2 (10/9/2013):
    • Add PN547 NFC support. android_vibrator and timed_gpio as module
    • Untested!

    Changelog 1.1 (10/9/2013):
    • CIFS filesystem support
    • Disable a lot of kernel debug (SLUB debug, tracing, and a lot of things from kernel hacking config) for size and performance
    • Untested!

    A screenshot from @hkjr:
    yte9ehun.jpg
    14
    2995 downloads for previous version, unbelievable!
    12
    I hope this is useful.
    12
    Yea, I did it :victory: 35 downloads 13 thanks = XDAttitude :p Thinking to remove all attachment from post #1 and leaving you alone here :( But I will update my Marvell T21x kernel source soon, for future reference for all of you :crying: