Fix for mali200 graphics issues !!! (Angry Birds Works Perfectly on TCC8902)

newdin

Member
Feb 2, 2011
2
2
Tested in tablet M701-R 2GB, the following firmwares:
2.1: 11/16
2.2: 11/24

Do at your own risk!
Requirements:
ADB;
Root;
Procedures:
1 - Unzip the file Mali.ko.rar in your ADB folder;
2 - Connect your tablet to PC in debug mode;
3 - Run the command: adb push mali.ko /system/lib/modules/mali.ko
4 - Adb Shell reboot
5 - Be happy!
* First of all make a backup of the original Mali.ko, you may need!
* Do not attempt to install Mali.ko 2.1 on firmware 2.2 or vice versa, this will damage the tablet!

Credits for the fix: Sidnet.
Download:
2.1:
mali 2.1.rar - 4shared.com - online file sharing and storage - download
2.2:
mali 2.2.rar - 4shared.com - online file sharing and storage - download
 

Attachments

  • $SDC12602.png
    $SDC12602.png
    73.5 KB · Views: 1,698
  • $SDC12606.JPG
    $SDC12606.JPG
    53.9 KB · Views: 1,482
  • $SDC12607.JPG
    $SDC12607.JPG
    47.8 KB · Views: 1,735
  • $SDC12603.JPG
    $SDC12603.JPG
    49.1 KB · Views: 1,545

l_n

Senior Member
Dec 28, 2010
788
99
Testing on Coby MID7015A now. :)

This module segfaults on the MID7015A, resulting in a non-booting tablet. So:
DO NOT USE THIS ON THE COBY MID-7015A.
 
Last edited:

strider_mt2k

Member
Nov 22, 2010
406
19
Oh man, this looks great!

I'd love to apply it to my 4GB M701-R, but I haven't done the ADB thing yet.

Looks like this might be an extremely good reason to start! :D
 

xaueious

Administrator
Staff member
Jul 9, 2010
3,483
436
Where did you get this file? Do you have the rest of the system dump?

Looks good. Will give it a shot on my X5A.

I guess I'll try to insmod this in recovery before proceeding

Edit:
Seems to insmod okay on my X5A, which has a CBS PCB. The M701 is almost the same PCB.

Edit2:

Loads on my kernel. The one I tried is the one for 2.1, but wont boot. I did screw up my libs at one point, so i need someone's working system dump of libs to push.

logcat:
Code:
I/installd(  871): new connection
I/DEBUG   (  866):          #00  pc 0001a92c  /system/lib/libMali.so
I/DEBUG   (  866):          #01  pc 00013d00  /system/lib/libMali.so
I/DEBUG   (  866):          #02  pc 00005b98  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):          #03  pc 00005e70  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):          #04  pc 000106c8  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):          #05  pc 00009f38  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):          #06  pc 0000441e  /system/lib/libEGL.so
I/DEBUG   (  866):          #07  pc 0001962a  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #08  pc 00018596  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #09  pc 0001887e  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #10  pc 0001d7b0  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #11  pc 00020112  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #12  pc 00020948  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #13  pc 0001b46a  /system/lib/libutils.so
I/DEBUG   (  866):          #14  pc 0001b892  /system/lib/libutils.so
I/DEBUG   (  866):          #15  pc 0000fdc4  /system/lib/libc.so
I/DEBUG   (  866):          #16  pc 0000f894  /system/lib/libc.so
I/DEBUG   (  866):
I/DEBUG   (  866): code around pc:
I/DEBUG   (  866): 8191a91c e1a03005 e1a04000 e1a06002 e1a0e00f
I/DEBUG   (  866): 8191a92c e59cf010 e3500000 05846014 0584505c
I/DEBUG   (  866): 8191a93c 05847058 e8bd81f0 0009cfc0 000005e0
I/DEBUG   (  866):
I/DEBUG   (  866): code around lr:
I/DEBUG   (  866): 8191a920 e1a04000 e1a06002 e1a0e00f e59cf010
I/DEBUG   (  866): 8191a930 e3500000 05846014 0584505c 05847058
I/DEBUG   (  866): 8191a940 e8bd81f0 0009cfc0 000005e0 e59f2018
I/DEBUG   (  866):
I/DEBUG   (  866): stack:
I/DEBUG   (  866):     4507eae0  00130730  [heap]
I/DEBUG   (  866):     4507eae4  c0000000
I/DEBUG   (  866):     4507eae8  00000000
I/DEBUG   (  866):     4507eaec  afe0be09  /system/lib/libc.so
I/DEBUG   (  866):     4507eaf0  4507ebe8
I/DEBUG   (  866):     4507eaf4  00000001
I/DEBUG   (  866):     4507eaf8  00000000
I/DEBUG   (  866):     4507eafc  a9d1bf91  /system/lib/libutils.so
I/DEBUG   (  866):     4507eb00  afe3bc28
I/DEBUG   (  866):     4507eb04  afe0f2bc  /system/lib/libc.so
I/DEBUG   (  866):     4507eb08  00130730  [heap]
I/DEBUG   (  866):     4507eb0c  00130730  [heap]
I/DEBUG   (  866):     4507eb10  00000060
I/DEBUG   (  866):     4507eb14  00000528
I/DEBUG   (  866):     4507eb18  df002777
I/DEBUG   (  866):     4507eb1c  e3a070ad
I/DEBUG   (  866): #00 4507eb20  00130730  [heap]
I/DEBUG   (  866):     4507eb24  819b78cc  /system/lib/libMali.so
I/DEBUG   (  866):     4507eb28  00000528
I/DEBUG   (  866):     4507eb2c  819b7df4  /system/lib/libMali.so
I/DEBUG   (  866):     4507eb30  00000000
I/DEBUG   (  866):     4507eb34  81913d04  /system/lib/libMali.so
I/DEBUG   (  866): #01 4507eb38  00000032
I/DEBUG   (  866):     4507eb3c  81814a34  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):     4507eb40  00000908
I/DEBUG   (  866):     4507eb44  00000003
I/DEBUG   (  866):     4507eb48  81814354  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):     4507eb4c  8181412c  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):     4507eb50  00123064  [heap]
I/DEBUG   (  866):     4507eb54  00128c38  [heap]
I/DEBUG   (  866):     4507eb58  4566d000  /dev/pmem
I/DEBUG   (  866):     4507eb5c  00000000
I/DEBUG   (  866):     4507eb60  000001e0
I/DEBUG   (  866):     4507eb64  81805b9c  /system/lib/egl/libEGL_mali.so
 

newdin

Member
Feb 2, 2011
2
2
Where did you get this file? Do you have the rest of the system dump?

Looks good. Will give it a shot on my X5A.

I guess I'll try to insmod this in recovery before proceeding

Edit:
Seems to insmod okay on my X5A, which has a CBS PCB. The M701 is almost the same PCB.

Edit2:

Loads on my kernel. The one I tried is the one for 2.1, but wont boot. I did screw up my libs at one point, so i need someone's working system dump of libs to push.

logcat:
Code:
I/installd(  871): new connection
I/DEBUG   (  866):          #00  pc 0001a92c  /system/lib/libMali.so
I/DEBUG   (  866):          #01  pc 00013d00  /system/lib/libMali.so
I/DEBUG   (  866):          #02  pc 00005b98  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):          #03  pc 00005e70  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):          #04  pc 000106c8  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):          #05  pc 00009f38  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):          #06  pc 0000441e  /system/lib/libEGL.so
I/DEBUG   (  866):          #07  pc 0001962a  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #08  pc 00018596  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #09  pc 0001887e  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #10  pc 0001d7b0  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #11  pc 00020112  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #12  pc 00020948  /system/lib/libsurfaceflinger.so
I/DEBUG   (  866):          #13  pc 0001b46a  /system/lib/libutils.so
I/DEBUG   (  866):          #14  pc 0001b892  /system/lib/libutils.so
I/DEBUG   (  866):          #15  pc 0000fdc4  /system/lib/libc.so
I/DEBUG   (  866):          #16  pc 0000f894  /system/lib/libc.so
I/DEBUG   (  866):
I/DEBUG   (  866): code around pc:
I/DEBUG   (  866): 8191a91c e1a03005 e1a04000 e1a06002 e1a0e00f
I/DEBUG   (  866): 8191a92c e59cf010 e3500000 05846014 0584505c
I/DEBUG   (  866): 8191a93c 05847058 e8bd81f0 0009cfc0 000005e0
I/DEBUG   (  866):
I/DEBUG   (  866): code around lr:
I/DEBUG   (  866): 8191a920 e1a04000 e1a06002 e1a0e00f e59cf010
I/DEBUG   (  866): 8191a930 e3500000 05846014 0584505c 05847058
I/DEBUG   (  866): 8191a940 e8bd81f0 0009cfc0 000005e0 e59f2018
I/DEBUG   (  866):
I/DEBUG   (  866): stack:
I/DEBUG   (  866):     4507eae0  00130730  [heap]
I/DEBUG   (  866):     4507eae4  c0000000
I/DEBUG   (  866):     4507eae8  00000000
I/DEBUG   (  866):     4507eaec  afe0be09  /system/lib/libc.so
I/DEBUG   (  866):     4507eaf0  4507ebe8
I/DEBUG   (  866):     4507eaf4  00000001
I/DEBUG   (  866):     4507eaf8  00000000
I/DEBUG   (  866):     4507eafc  a9d1bf91  /system/lib/libutils.so
I/DEBUG   (  866):     4507eb00  afe3bc28
I/DEBUG   (  866):     4507eb04  afe0f2bc  /system/lib/libc.so
I/DEBUG   (  866):     4507eb08  00130730  [heap]
I/DEBUG   (  866):     4507eb0c  00130730  [heap]
I/DEBUG   (  866):     4507eb10  00000060
I/DEBUG   (  866):     4507eb14  00000528
I/DEBUG   (  866):     4507eb18  df002777
I/DEBUG   (  866):     4507eb1c  e3a070ad
I/DEBUG   (  866): #00 4507eb20  00130730  [heap]
I/DEBUG   (  866):     4507eb24  819b78cc  /system/lib/libMali.so
I/DEBUG   (  866):     4507eb28  00000528
I/DEBUG   (  866):     4507eb2c  819b7df4  /system/lib/libMali.so
I/DEBUG   (  866):     4507eb30  00000000
I/DEBUG   (  866):     4507eb34  81913d04  /system/lib/libMali.so
I/DEBUG   (  866): #01 4507eb38  00000032
I/DEBUG   (  866):     4507eb3c  81814a34  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):     4507eb40  00000908
I/DEBUG   (  866):     4507eb44  00000003
I/DEBUG   (  866):     4507eb48  81814354  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):     4507eb4c  8181412c  /system/lib/egl/libEGL_mali.so
I/DEBUG   (  866):     4507eb50  00123064  [heap]
I/DEBUG   (  866):     4507eb54  00128c38  [heap]
I/DEBUG   (  866):     4507eb58  4566d000  /dev/pmem
I/DEBUG   (  866):     4507eb5c  00000000
I/DEBUG   (  866):     4507eb60  000001e0
I/DEBUG   (  866):     4507eb64  81805b9c  /system/lib/egl/libEGL_mali.so

I'm at work now, when at home I'll dump those libs to you.


here the libs:

libs.rar - 4shared.com - online file sharing and storage - download
 
Last edited:

xaueious

Administrator
Staff member
Jul 9, 2010
3,483
436
For the mali.ko contained in WateryKyros for MID7015 (C64F06A23DBD9802FAA578BC6BA7AA70)

Hex edit mali.ko, between
0000DC3004 to 0000DC3007

change 0x00008001 (corresponding to about 25MB) to 0x00002003 (corresponding to about 52MB) as recommended by sidnet. This tweak effectively increases memory the GPU can use, so now the textures that did not load before now load properly.

Also add in build.prop the line:
dalvik.vm.heapsize=24m

All credits to sidnet: http://group.apadjp.com/modules/d3forum/index.php?post_id=340

And also naobsd for walking me through this

Here is the result:
C3786FDBC32AE7B746B9810D442561DD
http://www.multiupload.com/EY8TQDM61B


Angry Birds tested to work without graphical glitches of any kind on my X5A using MID7015 libs
 

l_n

Senior Member
Dec 28, 2010
788
99
The vm heap in watery is already 32mb.. Are you saying it needs to be lower?

Sent from my DROIDX using Tapatalk
 

xaueious

Administrator
Staff member
Jul 9, 2010
3,483
436
24 was recommended by sidnet, I think (Google translate). Your build.prop actually says 48m.

update.zip packed for Coby MID7015, with your build.prop but with vm heap set to 24m: Multiupload.com
73BF418EDC9A93CFAA575141B9990452

If you want to use the 'newer' mali drivers to experiment, naobsd has informed me that these are the ones that match: http://teamtelechips.naobsd.org/experimental/20101212/system.img.zip

if you want to use new mali.ko, please replace /system/lib/libMali.so and /system/lib/egl/lib*mali.so too.
 

Raphzor

Member
Mar 5, 2011
2
0
It doesn't work on my TCC8902 tablet, it won't boot.
Worst of all, accidentally lost my original Mali.ko file, can someone be gentle to give me a copy of it?

Thanks!
 

greenfrogz

Member
Jan 15, 2011
42
2
works on S22. Angry bird loads with all the fonts in place and display beautifully. However, the speed of the game is a little bit laggy.
 

xaueious

Administrator
Staff member
Jul 9, 2010
3,483
436
Repacked update.zip, but unsigned

hopefully works
 

Attachments

  • $mali_fix_2.1_alternate_update_unsignedupdate.zip
    402.1 KB · Views: 904
  • $mali_fix_2.1_update_unsignedupdate.zip
    485.2 KB · Views: 1,107

l_n

Senior Member
Dec 28, 2010
788
99
Unsigned zips in clockwork are okay. I haven't been signing my zips for the past two releases.

Sent from my DROIDX using Tapatalk
 
Top