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

Discussion in 'Telechips TCC8902 Development' started by newdin, Mar 20, 2011.

  1. upthecreek101

    upthecreek101 Member

    Joined:
    Jan 3, 2011
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    60
    Tablet / Device:
    imito iM7
    I have located and backed up the original mali.ko file and copied the new version to my sdcard. However when I try to replace the original file with the new one, ES File Explorer will not do it. I've also tried Terminal Emulator with the following results:

    # su
    # cp -i /sdcard/mali.ko /system/lib/modules
    cp: overwrite '/system/lib/modules/mali.ko'? y
    cp: can't create '/system/lib/modules/mali.ko' : File exists

    # su
    # cat /sdcard/mali.ko > /system/lib/modules/mali.ko
    cannot create /system/lib/modules/mali.ko: read-only file system

    My tablet is rooted with Z4Root. Superuser shows the Terminal Emulator in its list of rooted apps, but not File Explorer.

    I'm by no means an expert on this so I'm maybe missing something obvious. Can anyone please advise what?


    Edit: OK now solved. /system is read-only and needs to be temporarily changed to read-write. Easily done using
    Root Explorer.
     
    Last edited: Mar 30, 2011
  2. strider_mt2k

    strider_mt2k Member

    Joined:
    Nov 22, 2010
    Messages:
    406
    Likes Received:
    19
    Trophy Points:
    87
    Location:
    Southern New Jersey, USA
    Tablet / Device:
    Acer Iconia A500
    I just got around to applying this fix via Root Explorer and I'm impressed!
    It all looks like it should now!

    (Now if I can only get Angry Birds Rio to stop crashing out on me I could really grow to love this thing! ;) )
     
    Last edited: Apr 3, 2011
  3. Raphzor

    Raphzor Member

    Joined:
    Mar 5, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    60
    Location:
    São Paulo, Brazil
    Tablet / Device:
    Telechips TCC8902 Tablet
    Could you please send me your backup to me? I forgot to copy a backup on mine and the new driver didn't work, now i'm stuck with a non-bootable tablet ><

    Thank you!!!
     
  4. zittergie

    zittergie Member

    Joined:
    Oct 10, 2010
    Messages:
    57
    Likes Received:
    4
    Trophy Points:
    72
    Location:
    Belgium
    Tablet / Device:
    Waiting for my Haipad M701R
    Yeah, I have the same problem.
    Luckily I have a second pad (Flytouch II) that plays it without problem. But that pad (Flytouch II) is a PITA for sound.
     
  5. ImWarped

    ImWarped Member

    Joined:
    Mar 8, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    60
    Location:
    Canada
    Tablet / Device:
    MID7015
    Can someone confirm Kyros 7015 install? and VM heap size and what files to get this working?
     
  6. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    436
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
  7. ImWarped

    ImWarped Member

    Joined:
    Mar 8, 2011
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    60
    Location:
    Canada
    Tablet / Device:
    MID7015
    I'm running 1.2b and still have gaming graphical issues. *shrug*
    Angry Birds Rio plays perfectly most of the time though LOL
     
  8. strider_mt2k

    strider_mt2k Member

    Joined:
    Nov 22, 2010
    Messages:
    406
    Likes Received:
    19
    Trophy Points:
    87
    Location:
    Southern New Jersey, USA
    Tablet / Device:
    Acer Iconia A500
    I say this is significant enough to sticky.

    I'd hate to think of this slipping by someone who could benefit from it.
     
  9. Ridgeland

    Ridgeland Member

    Joined:
    Dec 14, 2010
    Messages:
    285
    Likes Received:
    9
    Trophy Points:
    87
    Location:
    Ridgeland, WI, USA
    Tablet / Device:
    Coby MID7015-4G
    Help needed!
    I started a thread for CyanogenMod Android 2.2 for the Coby Kyros MID7015-4G but it suffers the graphics issues - Angry Birds with empty white text boxes.
    I tried the 2.2 version in the O.P. but it's the wrong size - changes more than one field's value and causes a non-bootable tablet.

    In Ubuntu using Okteta I can edit mali.ko. But searching for 00008001 I found 18 occurrences and don't see any clue as to which if any to edit.

    Maybe those of you editing mali.ko have a far better tool and can see field+value. Is there a package I can download in Ubuntu to see the field+value to edit? Got time to tweak mali.ko for us? Can I attach a 988KB file to a post?
     
  10. Ridgeland

    Ridgeland Member

    Joined:
    Dec 14, 2010
    Messages:
    285
    Likes Received:
    9
    Trophy Points:
    87
    Location:
    Ridgeland, WI, USA
    Tablet / Device:
    Coby MID7015-4G
    OK I got it.
    There were enough clues here that I could do it.
    Since others may find themselves in a similar fix I'll explain how I did it.
    First - obviously we're editing mali.ko found in /system/lib/modules
    Second from Post#7 xaueious gave a nice clue that the only change is 0x00008001 to 0x00002003.

    I use Ubuntu 10.10 Gnome. Using the terminal...
    First compare two mali.ko one original one patched:
    cmp -l /..original../mali.ko /..patched../mali.ko
    56375 200 40
    56376 1 3
    Only difference is exactly what xaueious said. But now with Okteta hexidecimial editor I know about where to edit.
    Where is 56375 in hexidecimal land:
    $ echo 'ibase=10;obase=16;56375' | bc
    DC37
    Yes - Okteta at 0000 : DC37 I find the place in the original and modified files. Now expanding and looking around I see what is above and below that, getting back to areas with text - so Now in the mali.ko that I need to change I look for the same area. Then look closer and find the 0x00008001 that I want to change.

    In Okteta it's around 0002:407B that I see the same looking text above and below and the 0x00008001 that I want to change. Edit save. Test. Angry Birds now shows 10,000 for each unused bird rather than a white box.

    cmp -l mali.ko.ridgeland mali.ko.original
    147579 40 200
    147580 3 1

    I'm doing this for CyanogenMod Android 2.2. I'll either upload the mali.ko file to that thread or post a link to where others can find it.

    http://www.androidtablets.net/forum...ical/13178-rom-cyanogenmod-android-2-2-a.html

    EDIT: I uploaded the mali.ko as a zip in Post#6 of the above thread.
     
    Last edited: Apr 19, 2011
  11. pternet

    pternet Member

    Joined:
    Apr 18, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    60
    Hi!

    I have a tablet with a Telechips TC8902 CPU, 256 M memory, 4Gb storage with Android 2.1 update 1, no clue what issues that update fixed, on it, and it looks pretty much like the Coby Kyros tablets.

    I don't know what sort of GPU is in it, the specs only says it has 3d acceleration. Is there a way I can find out if there is a mali 200 chip inside my tablet, and then install this fix on it?
     
  12. Icarus

    Icarus Member

    Joined:
    Jul 25, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    60
    Thanks to the OP for the info. I modified the mali.ko via the hex edit method and it worked for a SmartQ N7 with the Mali200 chip. Angry Birds works now amongst others.

    I'm still having issues with CoPilot Live 8 and graphics corruption. The screen res of the device is 1024 x 600, so wonder if this is fairly demanding on the graphics chip.

    Can the memory be further increased using a different value? I can't work out the relationship between the values stated in a previous post "0x00002003 (corresponding to about 52MB)" and "0x00008001 (corresponding to about 25MB)".

    Let's say I want to increase the memory the GPU can use to 64MB - what value should I use?
     
  13. Icarus

    Icarus Member

    Joined:
    Jul 25, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    60
    Bump....any ideas for the above?
     
  14. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    436
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    I just took it from the source here: android pad'm not sure how it works either, but take your desired hex, shift one hex to the left, and reverse it.

    You could 0x00000004 for 64MB (0x04000000)

    I am not sure how the RAM allocation works here. Typical TCC8902 config defined from boot:
    150MB -> system
    25MB -> HDMI
    50MB -> VPU
    Rest -> GPU ~ 30MB

    This doesn't really add up if you just increase Mali's RAM allocation. sidnet's solution works, and I have no clue how.

    I am not sure how the GPU would be cutting into. It might be HDMI, since people using the patch haven't reported outstanding issues.

    Either way, going beyond sidnet's 52MB can lead to weird issues...
     
  15. wertigos

    wertigos Member

    Joined:
    Sep 3, 2010
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    60
    Location:
    NULL
    Hello!
    how to make HDMI memory alloc - OFF
    or reduce to minimal value?

    Tnx.
     
    Last edited: Oct 27, 2011

Share This Page

Search tags for this page
fix angry burds transformer graphic
,
graphic fix telechips tcc8902
,

libmali

,
mali 200 zip
,
mali overclock android
,
originsl mali egl lib
,
telechips c8902
,
telechips tablet graphics fix
,
watery kyros graphic fix
,

what problems did birsa set out to resolve