• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][ARC/ARCS]KTG anzu Kernel v1.52 for 4.1.B.0.587

Search This thread

tkymgr

Senior Member
Nov 11, 2010
92
418
Narashino
www.gorochan.net
For Official ICS,Aiming to work more smoothly :D

KTG anzu Kernel v1.52 (team KTG presents - tsuyo.Kou,Thjap & tkymGr)

new kernel is tuned wonderfully by Sony Mobile.
so, I tried to modify a little bit based on this source code :)
and,according to the LT18 ROM, I fixed the "/system/vendor" partition is not to be independent :p

  • kernel patch 2.6.32.59
  • added battery 0% issue patch (not test)
  • added 2 way call recording patch
  • enabled ext4
  • enabled CIFS with utf-8
  • OC/UV with VDD interface(exclude own overclock code)
  • BFQ I/O Scheduler with autogroup
  • SIO & VR I/O Scheduler
  • FM Radio fix
  • compiled with linaro toolchain 4.6.3

How to flash
use next command:
> fastboot flash boot KTG_anzu_v1.52.elf

after flash kernel, flash WiFi Driver by CWM Recovery :)

KTG_anzu_v1.52(arc / arc S)
KTG_urushi_v1.52(ray)

Kernel Sources

older version
KTG_anzu_v1.51a(arc / arc S)

KTG_anzu_v1.50b(arc / arc S) fixed green LED lighting issue
KTG_hallon_v1.50b(neo) fixed green LED lighting issue
KTG_urushi_v1.50b(ray) fixed green LED lighting issue

KTG_anzu_v1.50a(arc / arc S) fixed CWM Recovery issue
KTG_hallon_v1.50a(neo) fixed CWM Recovery issue
KTG_urushi_v1.50a(ray) fixed CWM Recovery issue

KTG_anzu_v1.50

----------------------------------------------

KTG anzu Kernel v1.4 (team KTG presents - tsuyo.Kou,Thjap & tkymGr)

  • added battery 0% issue patch
  • added 2 way call recording patch
  • enabled ext4
  • added vzalloc & vzalloc_node function.
  • modified WiFi driver(remove vzalloc)
  • update kgsl driver (ported from primou-ics-3.0.16)

plz report the condition of the battery drain ;)

ICS_anzu_KTG tuned_V1.4 not available

ICS_anzu_KTG tuned_V1.41

ICS_anzu_KTG tuned_V1.42 for nand backup&restore test

----------------------------------------------

KTG anzu Kernel v1.3 (team KTG presents - tsuyo.Kou,Thjap & tkymGr)

  • deleteded SLQB allocator[thx LeeDroid]
  • added autogroup patch
  • fixed 2D Drawing (test plz)
  • fixed touch driver(feel so good!!) from 4.1.B.0.479
  • fixed WiFi driver from 4.1.B.0.479
  • linux kernal base is 2.6.32.14

ICS_anzu_KTG tuned_V1.3

----------------------------------------------

KTG anzu Kernel v0 (team KTG presents - tsuyo.Kou,Thjap & tkymGr)

  • added zram swapping
  • modified 2D Drawing (more smooth! ported from sources HTC One V)
  • added SLQB allocator[thx LeeDroid]
  • modified touch driver[thx FXP] and merged 4.1.B.0.431
  • added tinyrcu
  • added & modified cpu frequency governor
    • Performance,PowerSave,UserSpace,OnDemand, Interavtive,
    • Conservative,Lagfree,Smartass,SCARY,BrazilianWax,MinMax,
    • InteracviveX,SavagedZen,Smartass2,Smoothass
  • added I/O scheduler(BFQ/VR/SIO)
  • added CPU OC/UV and vdd level
  • using ramdisk[thx DooMLoRD]

ICS_anzu_KTG tuned_V0

source
source base is 4.1.B.0.431

-------------------------------------------------------------------------
Hi all,

I found software rendering patches on the web site of Linaro

now I have been using the Official ICS ROM, there is a very laggy, such as scrolling :(

but, after applying this patch, now works quite smoothly

to developper, let's try to patch ;)

my dedexed and patched framework.jar(from official ics rom)

using this framework.jar, whether work with other rom I do not know :p

Cheers,

---------------------------------------------------------------

if you create a ROM to compile the android source codes, you have to do apply this patch to source codes.

if you want to apply to compiled framework.jar,

step1: decompile a framework.jar

Code:
$ java -jar baksmali.jar framework.jar

step2: replace source file
replace next two files
Code:
/android/app/ActivityManager.smali
/android/view/HardwareRenderer.smali

step3: recompile a framework.jar

Code:
$ java -jar smali.jar out -o classes.dex

step4: using 7zip, replace classes.dex in framework.jar

step5: added next line in your build.prop
Code:
ro.nohardwaregfx=true

if you want to disable software rendering, edit your build.prop follow
Code:
ro.nohardwaregfx=false

Knowledge issues:
when enable software rendering, Chrome beta not work.
because Chrome beta require hardware acceleration :(

Good luck ;)
 

Attachments

  • smali-patch.7z
    5.9 KB · Views: 2,290
Last edited:

Monipeev

Senior Member
Apr 22, 2010
671
143
Sofia
How to install this patch? Write in post. :)

I downloading from phone, but not suported. Now i download from computer and extract with winzip, than put it to system/framwork with permision rw-r-r.

Sent from my LT18i using xda premium
 
Last edited:

doomed151

Senior Member
Dec 5, 2009
1,522
2,185
Just gave this a try. It works well, Twitter and menu scrolling are noticeably smoother.

May I know what exactly is patched within framework.jar?

Edit: Never mind, decompiled it myself and saw what has been changed. Interesting to say the least.
 
Last edited:
  • Like
Reactions: xiaodongmeimei

elroysk

Senior Member
Apr 19, 2009
142
86
Need to change something in build.prop such as: 'ro.nohardwaregfx = true' or others ?

-------------------------

problem solved ;)
 
Last edited:

simonsy

Member
Dec 7, 2008
49
6
How to install this? I replaced old framework.jar , but i noticed that there is also a file framework.dex , i'm on stock rom, so i have to do something else?
 
Last edited:

plopingo

Senior Member
May 12, 2010
882
187
37
Paris
I'm noob on this.

Somebody can me explain difference between software and hardware rendering ?

Hardware rendering should be better for performance right ?

Software rendering consume more battery life ?
 

doomed151

Senior Member
Dec 5, 2009
1,522
2,185
Hardware rendering should be better in terms of smoothness and performance but somehow Sony managed to mess up something causing the UI to lag and stutter.
 
  • Like
Reactions: tkymgr

jjdoctor

Inactive Recognized Developer
May 3, 2011
2,730
4,165
Rawalpindi
hmm... I will give this a go... But I have a question...

we already have build.prop tweaks that force HW acceleration like e.g

debug.sf.hw=1
video.accelerate.hw=1
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=1

Should these be removed or kept in build.prop...:confused:

wont they conflict with the patch...?
 

zainthesnipe

Senior Member
Jan 8, 2011
362
40
Mississauga
hmm... I will give this a go... But I have a question...

we already have build.prop tweaks that force HW acceleration like e.g

debug.sf.hw=1
video.accelerate.hw=1
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
com.qc.hardware=1

Should these be removed or kept in build.prop...:confused:

wont they conflict with the patch...?

Remove forced he acceleration its actuslyy broken

Sent from my LT18i using XDA
 

Diskun

Senior Member
Jan 11, 2008
61
9
Barcelona
Hardware rendering should be better in terms of smoothness and performance but somehow Sony managed to mess up something causing the UI to lag and stutter.

I must be some lucky guy since I rarely experience any performance issues at all (Arc S, last Arconium build, Arknight Kernel on SmartAssV2 Max.1.4Ghz + SIO scheduler, that's no overclock). What's more, here is my question, please correct me if I'm wrong:

Wouldn't software acceleration use much more CPU and decrease battery life?
 
Last edited:

chitose_ndy

Senior Member
Jan 30, 2011
1,756
193
27
Jakarta
Question,
Will it work on MIUI v4?
I assume it will work cause MIUI v4 is based also on ICS.
But I'm not really sure..
Can someone help before I install this?

And please upload files as .zip .. not 7zip.
Thanks

Sent from my LT15i using xda premium
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 115
    For Official ICS,Aiming to work more smoothly :D

    KTG anzu Kernel v1.52 (team KTG presents - tsuyo.Kou,Thjap & tkymGr)

    new kernel is tuned wonderfully by Sony Mobile.
    so, I tried to modify a little bit based on this source code :)
    and,according to the LT18 ROM, I fixed the "/system/vendor" partition is not to be independent :p

    • kernel patch 2.6.32.59
    • added battery 0% issue patch (not test)
    • added 2 way call recording patch
    • enabled ext4
    • enabled CIFS with utf-8
    • OC/UV with VDD interface(exclude own overclock code)
    • BFQ I/O Scheduler with autogroup
    • SIO & VR I/O Scheduler
    • FM Radio fix
    • compiled with linaro toolchain 4.6.3

    How to flash
    use next command:
    > fastboot flash boot KTG_anzu_v1.52.elf

    after flash kernel, flash WiFi Driver by CWM Recovery :)

    KTG_anzu_v1.52(arc / arc S)
    KTG_urushi_v1.52(ray)

    Kernel Sources

    older version
    KTG_anzu_v1.51a(arc / arc S)

    KTG_anzu_v1.50b(arc / arc S) fixed green LED lighting issue
    KTG_hallon_v1.50b(neo) fixed green LED lighting issue
    KTG_urushi_v1.50b(ray) fixed green LED lighting issue

    KTG_anzu_v1.50a(arc / arc S) fixed CWM Recovery issue
    KTG_hallon_v1.50a(neo) fixed CWM Recovery issue
    KTG_urushi_v1.50a(ray) fixed CWM Recovery issue

    KTG_anzu_v1.50

    ----------------------------------------------

    KTG anzu Kernel v1.4 (team KTG presents - tsuyo.Kou,Thjap & tkymGr)

    • added battery 0% issue patch
    • added 2 way call recording patch
    • enabled ext4
    • added vzalloc & vzalloc_node function.
    • modified WiFi driver(remove vzalloc)
    • update kgsl driver (ported from primou-ics-3.0.16)

    plz report the condition of the battery drain ;)

    ICS_anzu_KTG tuned_V1.4 not available

    ICS_anzu_KTG tuned_V1.41

    ICS_anzu_KTG tuned_V1.42 for nand backup&restore test

    ----------------------------------------------

    KTG anzu Kernel v1.3 (team KTG presents - tsuyo.Kou,Thjap & tkymGr)

    • deleteded SLQB allocator[thx LeeDroid]
    • added autogroup patch
    • fixed 2D Drawing (test plz)
    • fixed touch driver(feel so good!!) from 4.1.B.0.479
    • fixed WiFi driver from 4.1.B.0.479
    • linux kernal base is 2.6.32.14

    ICS_anzu_KTG tuned_V1.3

    ----------------------------------------------

    KTG anzu Kernel v0 (team KTG presents - tsuyo.Kou,Thjap & tkymGr)

    • added zram swapping
    • modified 2D Drawing (more smooth! ported from sources HTC One V)
    • added SLQB allocator[thx LeeDroid]
    • modified touch driver[thx FXP] and merged 4.1.B.0.431
    • added tinyrcu
    • added & modified cpu frequency governor
      • Performance,PowerSave,UserSpace,OnDemand, Interavtive,
      • Conservative,Lagfree,Smartass,SCARY,BrazilianWax,MinMax,
      • InteracviveX,SavagedZen,Smartass2,Smoothass
    • added I/O scheduler(BFQ/VR/SIO)
    • added CPU OC/UV and vdd level
    • using ramdisk[thx DooMLoRD]

    ICS_anzu_KTG tuned_V0

    source
    source base is 4.1.B.0.431

    -------------------------------------------------------------------------
    Hi all,

    I found software rendering patches on the web site of Linaro

    now I have been using the Official ICS ROM, there is a very laggy, such as scrolling :(

    but, after applying this patch, now works quite smoothly

    to developper, let's try to patch ;)

    my dedexed and patched framework.jar(from official ics rom)

    using this framework.jar, whether work with other rom I do not know :p

    Cheers,

    ---------------------------------------------------------------

    if you create a ROM to compile the android source codes, you have to do apply this patch to source codes.

    if you want to apply to compiled framework.jar,

    step1: decompile a framework.jar

    Code:
    $ java -jar baksmali.jar framework.jar

    step2: replace source file
    replace next two files
    Code:
    /android/app/ActivityManager.smali
    /android/view/HardwareRenderer.smali

    step3: recompile a framework.jar

    Code:
    $ java -jar smali.jar out -o classes.dex

    step4: using 7zip, replace classes.dex in framework.jar

    step5: added next line in your build.prop
    Code:
    ro.nohardwaregfx=true

    if you want to disable software rendering, edit your build.prop follow
    Code:
    ro.nohardwaregfx=false

    Knowledge issues:
    when enable software rendering, Chrome beta not work.
    because Chrome beta require hardware acceleration :(

    Good luck ;)
    9
    New Kernel released :)

    i released new kernel !!

    i fixed touch driver & wifi driver with Kernel source 4.1.B.0.479.

    touch sense feel so good!

    lets enjoy :p

    cheers,
    8
    Kernel 2.6.35 source (alpha version)

    I'll put the kernel sources in porting from Linux 2.6.35 (based SMC 6.0.A.3.62) ;)

    github

    issue
    * Wifi module not available ( because not port yet :p)
    7
    i released New Kernel for stock rom 4.1.B.0.431 :D

    see top page !
    3
    What about the /system/vendor issue?? Is it fixed yet??

    Sent from my LT26i using xda-developers app

    i fixed recovery program.

    so, i have placed version 1.42 to the top page.

    this kernel image is to simply replace the recovery program in version 1.41. :)

    try, plz ;)