[21 JUN 2012] DORIMANX ICS Kernel 7.3 Linux 2.6.32.59 OC 96/1.62 CFS and OC Stable!

Search This thread

dorimanx

Senior Member
Feb 20, 2010
12,716
93,528
TERA Prime.
www.dorimanx.com
I use GPS sporadically..
When I did use it some days ago I forgot to turn the GPS off (if that even matters)
Next morning I saw a drained battery (38% left) with at least 60ma on my current widget..

So turning off Google Locationservice is a workaround ?
I will try it out, Thanks.

yes fix it freezing the apk of location in system app, then you loose location by network, but no wakelocks.

i suggest to update this apk from ics google apps package, and see if its resolved.


Sent from my GT-I9100
 

securecrt

Senior Member
Aug 4, 2010
763
2,762
Shanghai
It won't, not alteast till opengl is allocated memory to work with :p

It seems the kgsl-3d0 driver init ok but the first open is failed

898 <3>kgsl kgsl-3d0: |kgsl_open| Runtime PM: Unable to wake up the device, rc = -38
904 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_pwrrail| power on, device 0
905 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
906 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
909 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
910 <6>kgsl kgsl-3d0: firmware: requesting yamato_pm4.fw
911 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pm4_ucode| loading pm4 ucode version: 0
912 <6>kgsl kgsl-3d0: firmware: requesting yamato_pfp.fw
914 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pfp_ucode| loading pfp ucode version: 0
915 <4>kgsl kgsl-3d0: |kgsl_open| state -> ACTIVE, device 0
916 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
925 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
926 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
927 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
928 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
929 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
930 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
942 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
943 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
944 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
945 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
946 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
947 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
948 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from (null) to cadf9900 flags 4
949 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
950 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc04f700 numibs 1 ts 4
951 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 4 ts_free 5 gpuaddr 6605c000)
952 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
953 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
954 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
955 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
956 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
957 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
959 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 4 ts_free 5 gpuaddr 6605c000)
960 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
961 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
962 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
963 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
964 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
965 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
966 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc04f940 numibs 1 ts 6
967 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 6 ts_free 5 gpuaddr 6605c000)
968 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 6 ts_free 7 gpuaddr 660ac000)
969 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
970 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
971 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
972 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
973 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
974 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
976 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 6 ts_free 7 gpuaddr 660ac000)
977 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 6 ts_free 7 gpuaddr 660ac000)
978 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
979 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
980 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
981 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
982 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
983 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
984 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc04fe60 numibs 1 ts 8
985 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 8 ts_free 7 gpuaddr 660ac000)
986 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 8 ts_free 9 gpuaddr 6addc000)
987 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
988 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
989 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
990 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
991 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
992 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
 
Last edited:

Yank555

Senior Member
Sep 18, 2009
8,713
19,939
Sony Xperia Pro-I
You run Hyperdroid rom right Yank?
because I don't see a file named anything close to Location Services via TB in Dx's rom. Maybe that' why I never got that particular issue?

Yep, Hyperdroid 6 extreme.

The app to freeze is called "Network Location 1.0.0" in Titanium Backup.

BUT !!

I had the damn wakelock this morning, AGAIN :( So it's not that afterall ...

JP.

---------- Post added at 10:34 AM ---------- Previous post was at 10:21 AM ----------

Yank,

I am using Dorimanx ROM, and I had the GPS wakelock exactly 2 times, which is very few, when you consider that I have the same charging pattern than you:

* every night, I plug the phone at 23:30 for charging overnight,
* BatteryMonitor widget shows that around 2am, I reach the 100% charge
* but the phone keeps plugged until 6:30am
* at 6:30am, Current Widgets shows 0mA, as expected

Even doing that every day, I almost never had the GPS wakelock.
This is not good news: the bug is hard to reproduce, except for you.

It is very strange, and when I stick to exactly what you describe, the second I pull the HD2 from the wall charger, the wakelock begins (eg. BetterBatteryStats says the lock is on from that moment on).

To show the drain you'd need to wait for the next read obviously, since BatteryMonitorWidget only does it once every x minutes (config).

Don't ask why I have it so systematically :(

I will try to keep having a look at this to confirm if it has been solved, since I seem to be the only one to be able to reproduce it once every 24h ;)

But I have a good/bad news, as of today I am the owner of an htc Sensation XE ... so my HD2 will no longer be my daily within a few days (the time I need to S-off/root and find a good ROM for the XE ;)).

I will probably sell one of my 2 HD2s but keep the other one, it's been too good a companion to just give it away, I know I'd regret it shortly after if I let it go :D

JP.
 

securecrt

Senior Member
Aug 4, 2010
763
2,762
Shanghai
make some changes the kgsl-3d0 device init has no error now.

958 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_pwrrail| power on, device 0
959 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
960 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
961 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
962 <6>kgsl kgsl-3d0: firmware: requesting yamato_pm4.fw
970 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pm4_ucode| loading pm4 ucode version: 0
971 <6>kgsl kgsl-3d0: firmware: requesting yamato_pfp.fw
973 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pfp_ucode| loading pfp ucode version: 0
974 <4>kgsl kgsl-3d0: |kgsl_open| state -> ACTIVE, device 0
975 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
977 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
978 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from (null) to caf80b00 flags 4
979 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
980 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc2be500 numibs 1 ts 4
981 <4>kgsl kgsl-3d0: |kgsl_cp_intrcallback| ringbuffer rb interrupt
982 <4>kgsl kgsl-3d0: |kgsl_cp_intrcallback| ringbuffer ib1/rb interrupt
988 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
991 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
992 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
993 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
994 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
995 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
996 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1008 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
1009 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
1010 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
1011 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
1012 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
1013 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
1014 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from caf80b00 to cce37400 flags 4
1015 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| active_ctxt flags 00002110
1016 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
1017 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 1 g ccf676a0 numibs 1 ts 13
1018 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 13 ts_free 14 gpuaddr 6611e000)
1019 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
1020 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
1021 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
1022 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
1023 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
1024 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1027 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 13 ts_free 14 gpuaddr 6611e000)
1028 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
1029 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
1030 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
1031 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
1032 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
1033 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
1034 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 1 g ccf67bc0 numibs 1 ts 15
1035 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 14 gpuaddr 6611e000)
1036 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 16 gpuaddr 6616e000)
1037 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
1038 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
1039 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
1040 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
1041 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
1042 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1043 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 16 gpuaddr 6616e000)


but the error still there , is it possible the ICS ROM .so problems?

E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger( 124): GL error 0x0505
E/Adreno200-EGLSUB( 124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20( 124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL( 124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger( 124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
 

Rick_1995

Inactive Recognized Developer
Sep 3, 2009
1,118
3,017
Santa Clara
make some changes the kgsl-3d0 device init has no error now.

Code:
958 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_pwrrail| power on, device 0
 959 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
 960 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
 961 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
 962 <6>kgsl kgsl-3d0: firmware: requesting yamato_pm4.fw
 970 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pm4_ucode| loading pm4 ucode version: 0
 971 <6>kgsl kgsl-3d0: firmware: requesting yamato_pfp.fw
 973 <6>kgsl kgsl-3d0: |adreno_ringbuffer_load_pfp_ucode| loading pfp ucode version: 0
 974 <4>kgsl kgsl-3d0: |kgsl_open| state -> ACTIVE, device 0
 975 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
 977 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
 978 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from (null) to caf80b00 flags 4
 979 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
 980 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 0 g cc2be500 numibs 1 ts 4
 981 <4>kgsl kgsl-3d0: |kgsl_cp_intrcallback| ringbuffer rb interrupt
 982 <4>kgsl kgsl-3d0: |kgsl_cp_intrcallback| ringbuffer ib1/rb interrupt
 988 <6>kgsl kgsl-3d0: |kgsl_open| Initialized kgsl-3d0: mmu=on pagetable_count=1
 991 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
 992 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
 993 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
 994 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
 995 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
 996 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1008 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
1009 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
1010 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
1011 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
1012 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
1013 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
1014 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| from caf80b00 to cce37400 flags 4
1015 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| active_ctxt flags 00002110
1016 <6>kgsl kgsl-3d0: |adreno_drawctxt_switch| drawctxt flags 00002110
1017 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 1 g ccf676a0 numibs 1 ts 13
1018 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 13 ts_free 14 gpuaddr 6611e000)
1019 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
1020 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
1021 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
1022 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
1023 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
1024 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1027 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 13 ts_free 14 gpuaddr 6611e000)
1028 <6>kgsl kgsl-3d0: |kgsl_ioctl_rb_issueibcmds| Using IB list mode for ib submission, numibs: 1
1029 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi on, device 0
1030 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks on, device 0
1031 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| state -> ACTIVE, device 0
1032 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq on, device 0
1033 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_wake| wake return for device 0
1034 <6>kgsl kgsl-3d0: |adreno_ringbuffer_issueibcmds| ctxt 1 g ccf67bc0 numibs 1 ts 15
1035 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 14 gpuaddr 6611e000)
1036 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 16 gpuaddr 6616e000)
1037 <6>kgsl kgsl-3d0: |kgsl_timer| idle timer expired device 0
1038 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| sleep device 0
1039 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_irq| irq off, device 0
1040 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_axi| axi off, device 0
1041 <6>kgsl kgsl-3d0: |kgsl_pwrctrl_clk| clocks off, device 0
1042 <4>kgsl kgsl-3d0: |kgsl_pwrctrl_sleep| state -> NAP/SLEEP(8), device 0
1043 <6>kgsl kgsl-3d0: |kgsl_memqueue_drain| ts_processed 15 ts_free 16 gpuaddr 6616e000)


but the error still there , is it possible the ICS ROM .so problems?

E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)

As xylograph suggested, have you tried using the shared objects from desire hwa enabled roms instead of the qualcomm supplied binaries ?
Compare the kgsl driver and it's related pmem, kgsl structures in board files from www.github.com/drewis/tiamat-kernel

Also, please wrap such logs, code in [ CODE ] [ /CODE ] blocks..

Here is my latest diff, have to fix board files, include leo-specific drivers and review the code.
 

Attachments

  • tiamat-htcleo.patch.zip
    404.6 KB · Views: 19
Last edited:

Xylograph

Senior Member
Sep 2, 2009
1,825
7,708
It seems the kgsl-3d0 driver init ok but the first open is failed

I found the wakeup error entry in kgsl.c so it probably has something to do with that ?

Code:
static int kgsl_open(struct inode *inodep, struct file *filep)
{
	int result;
	struct kgsl_device_private *dev_priv;
	struct kgsl_device *device;
	unsigned int minor = iminor(inodep);

	device = kgsl_get_minor(minor);
	BUG_ON(device == NULL);

	if (filep->f_flags & O_EXCL) {
		KGSL_DRV_ERR(device, "O_EXCL not allowed\n");
		return -EBUSY;
	}

	result = pm_runtime_get_sync(device->parentdev);
	if (result < 0) {
		KGSL_DRV_ERR(device,
			"Runtime PM: Unable to wake up the device, rc = %d\n",
			result);
		return result;
	}
	result = 0;

yes fix it freezing the apk of location in system app, then you loose location by network, but no wakelocks.

i suggest to update this apk from ics google apps package, and see if its resolved.


Sent from my GT-I9100

unfortunately I am already using the latest one... I will freez or uninstall it, but I hope you can look at it..

33xhbgi.jpg


make some changes the kgsl-3d0 device init has no error now.

It seems the graphics aren't getting any memory assigned ?

---------- Post added at 10:45 AM ---------- Previous post was at 10:44 AM ----------

As xylograph suggested, have you tried using the shared objects from desire hwa enabled roms instead of the qualcomm supplied binaries ?

Also, please wrap such logs, code in [ CODE ] [ /CODE ] blocks..

Already tried that Rick... same results unfortunately (as far I could see exchanging the libs)

EDIT : Though it couldn't hurt to try booting a HWA Desire rom.. I will look at it ;)

---------- Post added at 11:21 AM ---------- Previous post was at 10:45 AM ----------

make some changes the kgsl-3d0 device init has no error now.

Btw securecrt if you have any new developments you would like to have tested just email me ;)
 
Last edited:

Aternus

Senior Member
Feb 8, 2010
389
492
atern.us
Code:
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)
E/SurfaceFlinger(  124): GL error 0x0505
E/Adreno200-EGLSUB(  124): GetBackBuffer() handle base address is NULL
E/Adreno200-ES20(  124): <gl2_surface_swap:41>: GL_OUT_OF_MEMORY
E/Adreno200-EGL(  124): <qeglDrvAPI_eglSwapBuffers:3345>: EGL_BAD_ALLOC
E/SurfaceFlinger(  124): eglSwapBuffers: EGL error 0x3003 (EGL_BAD_ALLOC)

You need to adjust the memory range, also take into account that the mem range is allocated differently due to MAGLDR. I don't know exactly how, perhaps you should look into it :)
 
  • Like
Reactions: RoadXY

Xylograph

Senior Member
Sep 2, 2009
1,825
7,708
init.rc
add the two lines
chmod 0777 /dev/kgsl-3d0
chmod 0777 /dev/genlock


Sent from my HTC HD2 using xda premium

Comparing the bravo CM9 HWA rom ramdisk with the one from tytung I found some entries in the ueventd.bravo

Code:
mtd@misc 0460 radio diag

# the genlock client device node is world writable/readable.
/dev/genlock            0666    system  graphics

# gpu driver for adreno200 is globally accessible
/dev/kgsl-3d0           0666    system  graphics

# camera - just make sure its all writeable
/dev/msm_camera/*       0666    system  camera
/dev/graphics/fb*       0666    system  graphics

Interesting ? ;)

EDIT: Also what is this about ??

Code:
# Allow system to modify ksm control files
    chown root system /sys/kernel/mm/ksm/pages_to_scan
    chmod 0664 /sys/kernel/mm/ksm/pages_to_scan
    chown root system /sys/kernel/mm/ksm/sleep_millisecs
    chmod 0664 /sys/kernel/mm/ksm/sleep_millisecs
    chown root system /sys/kernel/mm/ksm/run
    chmod 0664 /sys/kernel/mm/ksm/run

Reading the first post it says :

KSM Memory Management
Do to heavy memory load with OpenGL support, it is recommended to activate KSM to reduce the memory usage and avoid problems like random reboots.

This is done by going to "Settings"->"Performance"->"Memory Management" and check "Kernel samepage merging"

You can also activate zRam if you still encounter low RAM issues.
 
Last edited:

Xylograph

Senior Member
Sep 2, 2009
1,825
7,708
!!! Front page alert !!!

Guys.. I have ported the bravo CM9 rom to our device and used the test kernel that securecrt sended me yesterday and I am happy to inform you all ::

WE HAVE HARDWARE ACCELERATION GOING ON OUR HD2

FINALLY!!!!!!!!!!!!!!!!!!!!

chrome in action !

2evrptv.png


so now I will start fine tuning this rom.. it's a rough port with no working sound yet and probably more... but we have it !!!

THANKS YOU VERY MUCH : securecrt, Rick_1995, Dorimanx
 

DonEmu

Senior Member
Jun 7, 2011
92
15
Accra
Guys.. I have ported the bravo CM9 rom to our device and used the test kernel that securecrt sended me yesterday and I am happy to inform you all ::

WE HAVE HARDWARE ACCELERATION GOING ON OUR HD2

FINALLY!!!!!!!!!!!!!!!!!!!!

chrome in action !

2evrptv.png


so now I will start fine tuning this rom.. it's a rough port with no working sound yet and probably more... but we have it !!!

THANKS YOU VERY MUCH : securecrt, Rick_1995, Dorimanx

This is awesome news.

So are you planning to just work with porting this rom? `I hope you plan to merge the bravo rom to your own AOKP or make the changes to your AOKP though. Would be easier to iron out the bugs no?
 
  • Like
Reactions: shendan

securecrt

Senior Member
Aug 4, 2010
763
2,762
Shanghai
It won't, not alteast till opengl is allocated memory to work with :p

Guys.. I have ported the bravo CM9 rom to our device and used the test kernel that securecrt sended me yesterday and I am happy to inform you all ::

WE HAVE HARDWARE ACCELERATION GOING ON OUR HD2

FINALLY!!!!!!!!!!!!!!!!!!!!

chrome in action !

2evrptv.png


so now I will start fine tuning this rom.. it's a rough port with no working sound yet and probably more... but we have it !!!

THANKS YOU VERY MUCH : securecrt, Rick_1995, Dorimanx

Oh my god. ...
 

dermann

Senior Member
Sep 17, 2008
847
309
This is definitely good news, but what other tests can be done to further confirm this development/discovery? I don't mean to be a pessimist, I just don't want to get my hopes up only to have them broken. :)
 

sam razzy

Senior Member
Oct 12, 2011
3,755
596
Ma sweet home
Should I go back to HTC HD 2...? Ohh man.. I miss my HTC HD 2... I just love it.. now here I can get HTC HD 2 only just 5000Rs.. Indian price


TapaTalk Gnex Galaxy Sii
 

Xylograph

Senior Member
Sep 2, 2009
1,825
7,708
Should I go back to HTC HD 2...? Ohh man.. I miss my HTC HD 2... I just love it.. now here I can get HTC HD 2 only just 5000Rs.. Indian price


TapaTalk Gnex Galaxy Sii

Maybe you can get one of dorimanx :p

Anyway I will be uploading an alpha release of what I have now (Magldr only, but will make a cLK package also later)

It also depends a bit on securecrt if it's ok with him to share.. it is his work also you know :)
 

securecrt

Senior Member
Aug 4, 2010
763
2,762
Shanghai
Maybe you can get one of dorimanx :p

Anyway I will be uploading an alpha release of what I have now (Magldr only, but will make a cLK package also later)

It also depends a bit on securecrt if it's ok with him to share.. it is his work also you know :)

I think it is better hold on for a while more testing is needed.
I will release the source code after confirm.
 

Xylograph

Senior Member
Sep 2, 2009
1,825
7,708
I also don't know is it really work. so just be patient. :D

First alpha is being sent to your inbox ;)

---------- Post added at 02:03 PM ---------- Previous post was at 01:58 PM ----------

Is it smooth?
How does it run througout the ROM?

Tell me more please! :eek: :D ;)

It's very smooth lol.. I was suprised myself to see the nice 'gradients' throughout the rom..

To bad I need to work now... Will work on it more tonight.. Just a bit more patience guys.. The kernel probably needs some finetuning also ;)
 
  • Like
Reactions: Marvlesz and ovivo

Top Liked Posts

  • There are no posts matching your filters.
  • 225


    Dorimanx Kernel for HD2

    DorimanxSplash.png



    My kernel is based on Tytung Latest ICS, But Tree 2.6.32.59 Main Line! + My Tweaks and install menu.
    To use my initrd that included in kernel, you must have 2.3.4 and UP ROM

    (Thanks Tytung for your great job on it so far!)

    My GIT Repository
    HERE





    WORK ON ROMS with no changes:

    MY ROM

    Typhoon ROM

    May work for MIUI! use it in install menu.

    WILL NOT WORK Unless you use your ROM initrd.gz:

    Put your initrd.gz in kernel zip folder initrd-Custom

    For ANY 2.3.3 and lower you have to add the initrd.gz
    For SENSE ROM you have to add the initrd.gz
    For HyperDROID ROM you have to add the initrd.gz


    What is included:



    • Default CPU governor: HYPER
    • This is ICS Tuned Kernel, ICS part by GREAT Developer TYTUNG!!!
    • AROMA INSTALLER BOOT MENU!
    • CFS CPU SCHEDULER!
    • Default CPU frequency: 245-998 MHz (for OC to 1.61, 998Ghz = Normal non OC 1Ghz speed!)
    • Min CPU frequency can be 96Mhz! default 245Mhz
    • Support overclocking to 1612 MHz. (via SetCPU or shell script) (Credits: Dorimanx)
    • Support undervolt/overvolting via sysfs interface. (850-1375mV) (Credits: snq-,Dorimanx)
    • Default I/O Scheduling: SIO
    • More I/O Scheduling present in kernel: AS,DEADLINE, VR,
    • Patched with G-Sensor freeze fix (Credits: mdebeljuh and jdivic)
    • Patched with Bluetooth 60mA battery drain fix (i.e. support Low-power mode Bluetooth) (Credits: trilu and charansingh)
    • Patched with wakeup lag fix for AUO panels (Credits: mdebeljuh and jdivic)
    • Full cLK bootloader support (Credits: cedesmith)
    • Two-way call recording (Credits: avs333 and snq-)
    • Mic Gain Fix is included! + script to adjust the gain to best (credits:memin1857, dorimanx)
    • T-Mobile Wi-Fi Calling (Credits: tytung)
    • Wi-Fi IEEE 802.1x/EAP authentication (Credits: tytung)
    • Native USB Tethering + my fix in configs (Credits: tytung , dorimanx)
    • Native Wi-Fi Tethering + my fix in configs (Credits: tytung, dorimanx)
    • Real Wi-Fi MAC address (Credits: tytung, rick1995)
    • Real Bluetooth MAC address (Credits: tytung, rick1995)
    • Official HTC extended battery support (HTC EB 2300mAh) (Credits: arne)
    • File systems support: Yaffs2, Ext2/3/4, ReiserFS, (NLS_UTF8 is compiled into the kernel) (Credits: tytung, dorimanx)
    • ALSA sound driver as kernel modules (alsa-pcm-htc-leo.ko and alsa-mix-htc-leo.ko) (Credits: Cotulla,Tytung!)
    • Fix to Video Drivers, PFS to max (Credits: 3DAK)
    • Fix to PPP drivers for full VPN Support (CM7 only) (Credits: 3DAK, Dorimanx, Arne182)
    • Fixed Proximity sensor wakeup (Credits: 3DAK)
    • Added Latest SQLB memory scheduler (Credits: 3DAK,Dorimanx)
    • Added Tiny RCU CPU scheduler
    • Added tweaks to increase I/O Speed. (Credits: Dorimanx)
    • Added tweaks to increase CPU speed (Credits: Dorimanx)
    • Full support for Decoder M4V and H264 Camera recording (3gp + mp4)
    • Removed all the debuggers to free the kernel from unneeded jobs (Credits: Dorimanx)
    • Removed lots of unneeded configurations and partitions. (Credits: Dorimanx)
    • Fixed the color banding issue. (Credit to marc1706)
    • Added 2 new governors to play with, smoothass and interactiveX (Credits: HierOS)
    • Updated USB Drivers from Hieros and ACA kernels.
    • Enable cleancache pseudo-RAM driver to cache clean pages
    • Run-time PM core functionality
    • ZRAM XVMALLOCATOR
    • Compressed in-memory swap device (zram) + activation scripts for CM7 and non CM7 ROMS!
    • Added extension to 14MB RAM page table! was 2MB!
    • New Nand Driver that will allow EXT4 on NAND after full testing. (credits to Munjeni)
    • Added Vdd AVS ( Adaptive Voltage Scaling ) code files! (by Marc1706) (this obsolete undervolt/overvolting via sysfs interface now it's all AUTO! but we still can configure dynamic voltage settings via script, added to init.d with kernel)
    • Tweak camera (better picks in dark, less greenly) (by Marc1706)
    • Added Keyboard back light !ON! in DARK, and !OFF! in LIGHT :) (Mod is DISABLED by default can be ON by Choose in install menu (By Munjeni)
    • Added ICS HeadSet FIX (Credits: tytung , dorimanx)
    • Stochastic Fair Blue Net Scheduler (SFB) (all credits to fhasovic)
    • Added new hyper governor (very strong and fast!) (credits to fhasovic and Dorimanx)
    • New Video driver from 2.6.28 kernel ported by RICK1995
    • ZCACHE and CLEANCACHE are ONLINE now!
    • New WIFI driver + patches.

    Plans for next builds:

    • Debug and find more code errors! (always some thing new :) )
    How to install:
    Copy Kernel for your ROM to sdcard (CLK / MAG)
    Reboot, and enter to CWM (Recovery)
    Install kernel via INSTALL ZIP FROM SDCARD
    Navigate installer menu!
    To Uninstall, reinstall your ROM, or Install your older kernel / other kernel.

    Credits: Marc1706, RICK1995, SecureCRT, Munjeni, AmeriCanAndroid, Fhasovic ,Gokhanmoral, Markinus, Cotulla, Tytung, Hastarin, Letama, Rajko, Dan1j3l, Cedesmith, Arne, Trilu, Charansingh, Mdebeljuh, Jdivic, Avs333, Snq-, Savan, Drizztje,3Dak,HierOS, Amarullz, Nixda99, And My ROM Best Team!



    Here is something COOL for time that you wait till phone boots! :)
    This was given to me by user XANTHRAX !



    Change Log:

    21/6/12 Time:16:50

    New Kernel 7.3 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)

    *BT driver FIX
    *New WIFI driver + lots of patches! (by MARC an ME)
    *New CODE for CPU / RAM / SYSTEM / GSENSOR / ZCACHE / ZRAM
    *Losts of bug fixing.
    *Performance boosted!
    *New Ondemand + hyper GOVS merged with kernel 3.0.45!
    Ondemand = power save(slow) hyper=performance!
    *USB drivers fixes
    *Lots of tuning.

    Report how it's going! :)

    03/6/12 Time:21:56


    New Kernel 7.2 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)


    • Added new WIFI/BT driver fix that will allow us to use our real WIFI and BT MAC address! so from now own, every one have different MAC! so if your router block by MAC, please update for the last time :) Credits to TYTUNG and RICK1995!
    • Added new ZRAM compression method: made by google team, it's will reduce the amount of CPU usage while ZRAM compress ram pages to swap! so ZRAM improved allot!
    • Small changes to USB / WIFI hotspot by Tytung.
    • Tuned and fixed ondemand and hyper govs, should save more battery now.
    New Kernel 7.2 ICS+CM9-HWA (HWA! This is for CM9/AOKP)


    • All as in above kernel! but with HWA driver! for CM9/AOKP with HWA driver!
    Have fun :)



    19/5/12 Time:17:35


    New Kernel 7.1A ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)


    • Ported huge amount of new stuff from MARC new HWA merged with 2.3.39 kernel! (without the HWA, we dont need it on CM7!)
    • Now we have latest video driver for CM7 and lots of new functions and tweaks.
    • also tweaked config, reduced use of IPV6 it's still needed for some apps but things like VPN via ipv6 we dont need.
    • Kernel working great for 2 days now!
    • Added back the 800mv min cpu voltage scale, use with extreme caution.!
    • Added updated busybox 1.20 use the kernel menu to update, (forgot to change the description in kernel aroma menu :) )
    Have fun :)


    13/5/12 Time:03:00

    New Kernel 7.0 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)

    • Compiled with GCC 4.4.5 toolchain
    • Fixed WIFI Drivers code errors
    • Added support for VPN in kernel
    • Switched back to TINY RCU
    • check that your initrd.gz is not more than 1.8MB, if it's bigger kernel will not boot! we have 5MB boot partition, and kernel already 3.2MB!
    • Restored full busybox 1.19.4 for now without changes.
    • Have fun and dont forget about beer for developer :)


    08/5/12 Time:00:20


    New Kernel 6.9 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)

    *Updated lowmemkiller not mess with system and do less noise :)
    *Added new logger code from 3.0.30 kernel
    *Tuned kernel build flags
    *Added to manual zram, swapon file that will help to enable zram load balance with 3 zrams in sync! (good for any not CM7 roms)

    now performance is back as should be!


    04/5/12 Time:22:13


    New Kernel 6.8A ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)

    *I have found major bug that existed from 5.6ver and killed it!
    It's was responsible for SOD in many cases. (not all of them!)
    *Tuned kernel for performance and stability!
    *Fixed ZRAM activation
    *Added new video driver from 2.6.38 kernel ported and tuned by RICK1995! big thanks to him! :)
    *RICK1995 fixed the logo kernel code! now it's normal! :)
    *Tuned kernel tweaks, removed some things, need to check if notification light is ok.

    Have fun!


    02/5/12 Time:02:51


    New Kernel 6.7 ULTRA ICS+CM7 (NO HWA! This is for CM7/ICS)

    *Tuned for stability
    *Removed many addons, that i am not fully understand.
    *Added latest code changes that i can port from high kernels.
    *Tested on my HD2, all great.
    Have fun!

    About kernel with HWA i am working on it, and probably will open new Thread!
    Here only CM7/MIUI/No HWA ICS

    i will keep working till i get it to be masterpiece! :)


    [FONT=&quot]28/10/11 Time:19:25 > TO > 14/4/12 Time:13:30[/FONT][FONT=&quot]

    [/FONT]Kernel 1.7 -> 6.5D ULTIMATE

    All very important change log!

    *Added code fixes from 3.0.12 kernel.
    *Updated lots of code from 3.0.28 kernel
    *Fixed code for usb tether (for cm7)
    *Fixed data stats for ICS ROMS.
    *Switched to SLUB with fixed code
    *Added new SIO scheduler and switched to it by default.
    *Added XZ kernel compression! we lost 100kb and more faster decompression for kernel.
    *Fixed the stuck on net apps, found the bug and removed it.
    *Fixed charger and usb tether code.

    *Fixed standby DRAIN! now 2~6mA
    *Added new CPU cache instructions for better cache processing (RAM cache not disk cache)

    *I have added new WIFI driver from CM7 kernel, now CH13/14 works!
    Tuned the wifi driver, added new code for ROAMING and for wake locks add/remove in need.
    Also reduced the voltage that wifi use from 2750mv to 2250mv!
    lots of power will be saved!

    *Added new ADB driver from 2.3.37 kernel. all cool and one less warning in kernel build.

    *I have found out that if i use 3 zram drives each 100MB then system is more stable that way and working better, the work together!
    and the process working faster with less ram drive!
    So now it's load balanced! this give us 150 more ram!

    *Added to install menu some good stuff!
    1)you can now install the non CM7 ZRAM from menu.
    2)you can now activated the keys light on/off by light, mod!
    3)you can choose languages and theme!
    4)you can install most advanced busybox 1.19.4 FULL! all included!
    Updated and Compiled by me :)
    5)you can safely reboot after all installed.

    *Added new boost code to HYPER and to ONDEMAND govs
    *Added new USB tether driver
    *Fixed the WIFI driver, now channels 13 /14 work
    *Added new lowmemorykiller module to help with ram management.

    I will contact some active people to test the BETA kernel that i will upload to secret folder. :)When stability will be OK i will upload for public.

    Stable kernels are 4.7, 3.8, 3.2, 5.7

    *Added new install menu! AROMA INSTALLER! by great Developer Amarullz from HERE
    HUGE Thanks to TYTUNG for his hard work on ICS parts!

    *Updated all ICS tweaks from Tytung ICS Kernel to my Kernel!
    Included:
    Tuned Video Driver
    Tuned System parts (system is huge, so to support ICS is had to add some more stuff)
    *I have fixed the GPS stuck and hold wakelock,
    *I have tuned the DEEP SLEEP, now phone sleep and rest :)
    *Since there is no more bug with BT and 2way recording! now kernel is 2way as default! only one kernel now!
    *Added frame buffer fix for camera (credits to fhasovic )
    *Added lots of new code for PowerManager! now phone sleep as a baby :)
    *Fixed the file transfer over dual mount apps, i get stable 1.5~2MB write over usb with no lag or delay in phone.
    If mounted as normal via usb mount, then close to 5MB write. but no access to sdcard.
    *Updated to busybox 1.19.4!
    *Tuned the cpu freq to be stable on 1.574, so the danger freq is only 1.62
    Many CPU will stuck!(some will work) and lots of apps will crash on 1.62, this is must know info!
    *Added Hyper as default governor + fixed it's deep sleep function!
    *Added deep sleep function to ondeman governor
    *Fixed MMC sdcard, now kernel will not remove it in any condition!
    So we will have stable phone, that wake up when we need it, and do it faster.
    *Added helper driver for touch screen, it will help to reduce cpu usage when using touch screen.
    *Tweaked RCU boost for faster cpu respond.
    *Tweaked most governors to be fast as hyper!
    *Added new network driver Stochastic Fair Blue Net Scheduler (SFB) (all credits to fhasovic)
    *Changed network settings as in CM-KERNEL + light mod.
    *Added new hyper governor (very strong and fast!) (All credits to fhasovic)
    *Compiled with builder 2010.09 (gcc 4.5.1)

    *If strange problems with ROM use your initrd.gz! put it to custom-initd folder before install! (to zip use latest winrar or 7zip)

    *Updated to 2.6.32.56!

    *Fixed power manager code
    *Fixed the WIFI Sleep state,
    *Added ICS headset fix. (working for CM7 also with no problem)
    *Added new tunned for miui initrd, try to install kernel without adding your miui ROM initrd in custom folder, use miui in kernel install menu.
    *Boosted CPU voltage in script, to help with CPU stuck on some ROMS...

    *I have merged lots of things from 2.6.37.6 and from 2.6.35.4
    NEW Stuff:
    *Wifi driver
    *G-sensor driver
    *Lots of bug fix and cleanups,
    *Boosted CPU power
    *Added new Power Manager to save more battery power. now i see 2ma and it's jump to 5ma and back... but it's depend on cell towers and running apps.
    *Fixed the zram
    *Added Ram tweaks for video driver, may improve speed.
    *Added cache fixes, boosted the CPU some more!
    clip_image001.gif


    *Updated kernel to 2.6.32.55 main line!
    UPDATE from 50 to 55 from HERE

    I have messed allot with power wakelocks, and looks like all cool now, no stuck with 60ma!
    performance boosted!
    And with my ROM and data to 2 ext ON, i get 3000+ on advanced quadrant
    clip_image001.gif

    *Added lots of tweaks to boost the sdcard I/O and CPU power
    *Updated my kernel builder to GCC 4.5.1 SorceryCode 2010.09
    *Faster sleep times and fixed incorrect kernel locking...
    *Added VR scheduler!
    *Added 96Mhz super low standby frequency with 975mV set to be stable!
    *Added Tiny Preemptable RCU CPU scheduler! Now cpu power increased allot!
    *Fixed Video driver, now scrolling in all apps and home launcher is much faster!
    *Added extension of RAM page table from 2MB to 14MB! More ram for system operations! Greatly increase system performance!
    *Added safe Overcharge for battery.
    Now it's will be really fully charged and live for longer time.
    *Added Power Management tweaks to reduce standby drain.
    *Added I/O fix and Manager, now I/O of the sdcard is much faster!
    *Added ICS to Kernel Menu! now all ICS users can use my kernel.
    *Added lots of cpu governors to play with, most stable and strong is ondemand and smartassv2 all the rest should be tested for long time to see if they good or not..
    *I have moved to new GITHAB! Now I host 4 kernels!
    clip_image001.gif


    Lots of this great addons came from AmeriCanAndroid Kernel!
    SO THANK YOU AmeriCanAndroid
    clip_image001.gif

    *Lots of updates from kernel .35 to .32!
    *New Video and audio drivers!
    *New decoding driver for movies!
    *Lots of bug fix and cleanup
    *Added new ZRAM module!
    *Tweaked scheduling and wakeup times,
    *Added new camera driver
    *Tweaked the ondemand governor to have disk IO checks when working on heavy loads..
    *Fixed stand alone zram activation script for 357MB! For ROMs that don’t have option in settings for compcache.

    *Fixed Network Drivers,
    Facebook and droid wall works now.

    *Added zram from 2.6.38 kernel and removed old ramzswap
    *Replace zram with faux123's files
    *Compile zram as module
    *Back ported vzalloc to better support zram (faux123)
    *Removed obsolete code for msm_clocks
    *Fixed remaining issues after getting rid of obsolete msm_clocks
    *Fixed hard coded setting of REG_PLL_MULTIPLIER_LSB
    *Fixed and cleaned the network drivers, no more delays in apps.
    *Razed min voltage to 975mV
    *Fixed WIFI bug
    *Boosted Volume! in all speakers!
    *Tweaked Disk Schedulers and CPU schedulers
    *Tweaked System Cache and Ram management

    Thanks to Marc1706 and to bananacakes!!! (Kernel Mega DEV)

    *Added lots of updates from HERE and lots but not all from HERE
    *kernel merged with 2.6.35.x
    clip_image001.gif


    *Added major fix for Dynamic Voltage MOD in kernel. now it's finally works
    *Upgraded regulator core from Kernel 2.5.35.14 to be able to fix the AVS
    as should! the 15voltage script is back to init.d!
    But this time it's can control the dynamic voltage settings!

    example:
    echo "499200 1000 1075" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
    echo "537600 1000 1100" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
    echo "576000 1000 1100" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs

    frequency min voltage max voltage > sent to sysfs interface.
    new 15voltage will check if your kernel support vdd_levels_havs if yes activate dynamic settings if no activate static!
    clip_image001.gif


    Fix was been made by Marc the great kernel DEV from .35 kernel.

    *Added fix for auto button on in dark and off in light, now we can switch to old ways, 10 sec on then off till touched, or screen off/on this is the default in ROM if you need to have auto light on /off depend on light, edit the 13_modules script in init.d and look for #KEYBOARDAUTOLIGHTON

    Remove the # save (remove the .bkp) and reboot or run this for imitate effect.
    echo 1 > /sys/devices/platform/btn_backlight_manager/button_auto
    but it will be cleared on next boot, so 13_modules script change is needed.

    Fix was been made by Great Kernel Dev Munjeni by my request for you all
    clip_image001.gif


    *Added new Governor ondemanx it's more battery friendly but not super fast as original tweaked ondemand, best to use it on screen off!
    *Added Vdd AVS ( Adaptive Voltage Scaling ) code files! (by Marc1706)
    *Tweaked AVS code for HTC Leo (by Marc1706)
    *Raise VOLTAGE_MIN_START of AVS to 950 (by Marc1706)
    *Use a realtime priority thread for AVS. (by Marc1706)
    *Tweaked the AVS to support 1.61Ghz and tweaked Voltage ranges to prevent SOD and over drain. (By dorimanx)
    *Tweak camera (better picks in dark, less greeny) (by Marc1706)
    *Added Light Sensos Fix (By Munjeni)
    *Added Keyboard backligh !ON! in DARK, and !OFF! in LIGHT
    clip_image001.gif
    (can be tweaked in ROM) (By Munjeni)
    *Tweaked Settings and removed all king of stuff that not needed for normal operations. (By dorimanx)
    *Added the Colored ADB in initrd.gz, but it's working only in LINUX or in SSH session! not via windows ADB!
    Just type logcat -C
    And see nice colurs!
    *Tweaked kernel to reduce battery drain (removed not needed stuff that sit and eat battery
    clip_image001.gif
    )
    *Added updated interactiveX governor (by Marc1706)
    *Added new Governors to play with: Lagfree, SavagedZen, scary, superbad, virtuous. (by Marc1706)
    *Changed zram manual activation script to 375MB to reduce the cpu load.
    *Reduced zram also in auto script to max of 375MB

    *Tweaked the Deadline Scheduler to boost read/write i/o speed.
    By request from NuttShell I have added to kernel Step that will allow installing custom mic gain file for MIUI ROM and initd.

    Change log only for MIUI:
    ***Added miui inird.gz
    ***Added changed mic gain script
    ***Added custom miui rom default.acdb and htcleo.acdc to reduce calls problems.
    ***Added my tweaked modules script.

    All thanks to NuttShell for supplying files for MIUI rom.
    *I have added new NAND driver, + Network, CPU, and system patch by Munjeni Thanks allot for your hard work, and for looking for a way to mount EXT4 on NAND!

    *I have patched from 2.6.32.39 to 2.6.32.50 main line!
    *Added 6 disk schedulers deadline as default (AS,CFQ,SIO,DEADLINE,VR)
    *Tweaked max cpu voltage from 1350 to 1375
    *Added max CPU freq to 1.6 with 1375 voltage
    *Fixed the CPU settings, so 998000 is really 1Ghz and 1.61 is MAX overclock! It’s slightly faster than Tytung 1.19Ghz because of more voltage!
    So to get non overclocked device use 998000 this is also the default!
    *Added minor stable tweaks for best kernel support and faster ROM!
    see /system/etc/init.d/13_modules (my ROM users have them all in 2.9.9 ROM)

    Patch to .50 was from HERE
    And patch from .15 to .49 from HERE

    *Patched Kernel from 2.6.32.15 to 2.6.32.39!

    *Added new SQLB allocator, Thanks 3DAK!
    ALSA drivers Disabled! they make Buzz sound, and not really needed for CM7!
    only for LINUX ROMS (Ubuntu and others)

    *Added new kernel modules:

    • Enable cleancache pseudo-RAM driver to cache clean pages
    • Run-time PM core functionality
    • ZRAM XVMALLOCATOR
    • Compressed in-memory swap device (zram) + activation scripts for CM7
    • Page cache compression support
    All Run auto! Except the ZRAM swap!
    All you need to know is HERE
    To activate the ZRAM in CM7
    At Kernel Install, choose from menu to install ZRAM SWAP

    Go to settings > CyanogenMod > Performance > Compcache RAM usage
    Use 26% for 110MB virtual ram swap (best choose)
    Or lower, or you can disable it any time.
    Reboot needed to apply the change.

    After reboot!
    You can check the swap load / stats
    Here is how to:
    Open terminal or connect by ADB SHELL

    Code:
    su - 
    free
    #This will show you that you have swap! and 0  used!
     
      zram_stats 
    
    #this will show you the usage + statistics in KB 
    Also the compression rate
      Short info:
    Compression is with LZO algorithm. already in kernel
    ZRAM is RAM based SWAP, so it's take 357MB RAM and make them 700! or close to 720MB by compressing the data pages!
    CPU will work slightly more, when compressing RAM, but when done, it's will be free as was.
    This mod was lost for too long! time to activate it again!
    Also the old mod was called ramzswap! This project is closed, now it's new 2011 project in mainline! Now it's ZRAM!
     
     
      Thanks for all the donations! [IMG]file:///C:/Users/lastman/AppData/Local/Temp/msohtmlclip1/01/clip_image001.gif[/IMG]this is really help [IMG]file:///C:/Users/lastman/AppData/Local/Temp/msohtmlclip1/01/clip_image002.gif[/IMG]09/11/11 Time:00:05
    
    *Added menu to kernel! now there is only one kernel for all!
    Navigate in menu with volume down.
    Menu goes only forward. No back choose. (Just start over)
    
    You can choose:
    No-2way-REC / 2way-REC ability.
    CM7 + others OR sense ROM or MIUI
    MAG / CLK
    With new busybox 1.19.4 STABLE! / Or without! (Stay with yours form ROM)
    
    *Compressed kernel with LZMA compression! very small image.
    *I have added the smartass V2 it's working ok most of the time!
    *I have added and fixed the smartass governor! 
      *Added kernel optimization with new tool-chain 2010 for best compatibility.
    *Added RiserFS partition support.
    *Added all commits from TYTUNG R13! (new audio driver as module, loaded with script that i have included.)
     
     
      The END :)
      [/QUOTE][COLOR=Red][B][U][SIZE=5] 
    [/SIZE][/U][/B][/COLOR][/LEFT]
     
    
    [SIZE=4][B][U]KERNEL 6.7 ULTRA + MY INITRD.GZ [/U][/B][/SIZE]
    [SIZE=5][B]
    [IMG]http://img840.imageshack.us/img840/2581/dl1copy.png[/IMG]
    [URL="http://www.bourseanalyse.fr/dorimanx/"]DOWNLOAD[/URL]
    
    [IMG]http://img811.imageshack.us/img811/9285/dl2.png[/IMG]
    [URL="http://www.dorimanx.com/"]DOWNLOAD[/URL]
    
    [/B][/SIZE][U][SIZE=4][B]For older version visit my mirrors in ROM page.[/B][/SIZE][/U]
    
    
    [LEFT] [CENTER][SIZE=6][COLOR=Red][U][B]Warning!!![/B][/U][/COLOR][/SIZE]
    
    [SIZE=5][B] [SIZE=4][COLOR=Red]If you are using not [U]CM7 ROM[/U] then add your ROM [U]initrd.gz [/U][/COLOR][/SIZE][/B][/SIZE][COLOR=Red][B][SIZE=4]in [/SIZE][SIZE=4][U]initrd-Custom[/U] folder in Kernel zip.[/SIZE][/B][/COLOR]
    [/CENTER]
        
    
     [CENTER][B][SIZE=5][U]Donations are welcome![/U] :)[/SIZE][/B]
    
    [SIZE=4][COLOR=YellowGreen][B][URL="http://xdaforums.com/donatetome.php?u=2376110"]TO DONATE CLICK ME[/URL][/B][/COLOR][/SIZE]
    
    [SIZE=5][U][B]DONATIONS FROM:[/B][/U][/SIZE]
    [B][SIZE=5]Bologna[/SIZE][/B]
    [B] [B][SIZE=5][B]Jolas[/B][/SIZE][/B][/B][B] 
    [SIZE=5]Ghenarys[/SIZE][/B]
    [SIZE=5][B]Joescian[/B][/SIZE]
    [SIZE=5][B]Themadproducer[/B][/SIZE]
    [SIZE=5][B]D1wepn[/B][/SIZE][SIZE=5]
    [B]Jjmmll
    [/B][B]Fire1981[/B][/SIZE]
    [B][SIZE=5]Jonas2295[/SIZE][/B]
    [SIZE=5][B]N1ghtm4r[/B][/SIZE]
    [SIZE=5][B]Johann2204[/B][/SIZE]
    [SIZE=5][B]Sonscheiss
    Kev007[/B][/SIZE]
    [SIZE=5][B]Pirlano[/B][/SIZE]
    
    [SIZE=5][B]THANKS ALLOT FOR DONATIONS!
    They really get me going :)
    [/B] [/SIZE]
    [SIZE=4][B]I am here for you! so ask and comment!
    Help me to make this kernel as good as possible!
    [/B][/SIZE]
    
    [SIZE=5][COLOR=RoyalBlue][U][B]DORIMANX[/B][/U][/COLOR][/SIZE]
    
    
    
    [/CENTER]
    [/LEFT]
     [/CENTER]
    86
    !!! Front page alert !!!

    Guys.. I have ported the bravo CM9 rom to our device and used the test kernel that securecrt sended me yesterday and I am happy to inform you all ::

    WE HAVE HARDWARE ACCELERATION GOING ON OUR HD2

    FINALLY!!!!!!!!!!!!!!!!!!!!

    chrome in action !

    2evrptv.png


    so now I will start fine tuning this rom.. it's a rough port with no working sound yet and probably more... but we have it !!!

    THANKS YOU VERY MUCH : securecrt, Rick_1995, Dorimanx
    42
    Ok i have read all the comments 3 pages :)

    I am happy that freezing the locations apk in system/app help to kill the GPS wakeup!

    i will try to use the one from ICS google app package! when i get new device.

    or any one that what to make the experiment can do that.

    I will tune HD2 kernel some more, i see that new common commits are added to all kind of kernel that i watching.

    i will try to pull them to HD2.

    about HW for ICS. i checked the ZTE device kernel and i see the video driver changes..

    i will try to port them to HD2.

    i need to work on it non stop with device in hand.
    so it's will be possible soon as i get it!

    i will install TYTUNG ROM, and do the testing!

    i think that we need to JUMP to CM9 as it's great (after using it on my SG2 for 2 weeks! i like it)

    and with HW! it's can be done!, and i will do it!

    i will build CM9 rom for HD2! but only if i can port the drivers!

    if not, it's pointless, why someone want slow graphic device when it can do better with CM7?

    so stay tune :)
    40
    New update!

    Dear people!

    Kernel 6.3 is online.

    See change log and GIT.

    I will be away for some time now...

    Many things changed in my life... and i need to keep up with them...

    I got promotion at work!, new car , new phone ,new laptop, new chair and new desk! :)

    so now i have to work on my carrier some more..

    i will update my git sometimes... so if any one want to use my source then have fun :)

    my phone goes to my mom, and my second phone broken :( so i have now only samsung galaxy 2 :) and my samsung tab.

    so in time my thread with rom and kernel we be up at Samsung development thread.

    It's was an honor working with all of you! it's was best time i had with so many people working together! and sharing feelings and ideas!

    This is the best xda community!

    I will post and answer some times, but less then before..

    Join me some day at Samsung galaxy thread, when i have time and learn to build for it....

    I want to share pics of my new car, it's one of the beautiful cars in Israel for now (for class 2 cars, bmw and alike are class 6, so for class 2 it's wow car!)..
    36
    We're waiting for HWA version !!!

    it's ready! :) forged from 6.8A but with HWA drivers.

    i am constructing new ICS AOKP ROM, with lots of help!
    Rom maintenance will be not by me, i will just move my scripts and re base the existing.

    and work hard on kernel + tweaks updates!.

    soon we (me and my partner) will announce new ROM + KERNEL for all :)

    And new age will begun! new race to perfection! :)

    so stay tuned :)