Mouse cursor beeing replaced with bootloader logo on Amlogic based ROMs


  1. stane1983

    stane1983 Well-Known Member Developer

    Hi,

    I had this situation and for long time I couldn't reproduce the problem... but eventually I did :)

    Ok, if you have set_display_mode.sh script inside /system/bin folder which is not clearing fb1 (frame buffer 1) and your users are using freescale function available trough display settings, you will eventually get mouse pointer replaced with bootloader logo image :)

    At the end of script should be something like this:

    Code (Text):
    1.  
    2. ...
    3. echo 1 > /sys/class/graphics/fb1/blank
    4. fbset -fb /dev/graphics/fb1 -g 18 18 18 18 $osd_bits
    5. echo 1 > /sys/class/graphics/fb1/blank
    6.  

    Advertisement
    :
    DanAlucard and grindinonyourm like this.
  2. grindinonyourm

    grindinonyourm Well-Known Member

    im so glad you found it! i was starting to feel a little like a crazy person. :)
  3. hosamn

    hosamn Member

    Sorry to bring this up again
    but it IS driving me mad..

    I don't see how I can fix the issue with the info from your post stane..

    the end of my set_display_mode.sh looks like this:

  4. hosamn

    hosamn Member

    changed 48 > 18
    no difference..
  5. stane1983

    stane1983 Well-Known Member Developer

    Hi,

    You should apply change before error occures if I remember correctly. Reinstalling ROM will fix mouse pointer issue, then apply change mentioned here to script file.

    Regards
  6. hosamn

    hosamn Member

    Would you be kind enough to further explain what is going on/...

    I'm in a position where I can't get the original Rom..
    and I don't know if it is possible to connect my device to my PC
    Thanks
  7. stane1983

    stane1983 Well-Known Member Developer

    In early ICS amlogic sources bug persists which replaces aml_logo partition content and copies it to osd2 layer which is used to display mouse pointer. It is amlogic bug (they do have their own implementation of showing mouse pointer that persists on top of main framebuffer).

    I didn't investigate further how to fix the issue. Might be good to know default and current environment variables. You can get that only on rooted device connected via adb or direct ttl connection to device.
  8. hosamn

    hosamn Member

    So..is this a choke position?!!
    if I don't have the original ROM I get to stay with that freaken mouse pointer...
    c'mon there must be something I can do to fix this without flashing.
    a little extra help please?..
  9. stane1983

    stane1983 Well-Known Member Developer

    Which device do you have? Can you go to recovery clean cache partition? Can you connect to your device via tll?
  10. hosamn

    hosamn Member

    I have the Amlogic MBX f16ref
    I did clean the Cache partition...nothing different..
    tll??....... I do not know what that is...you lost me there....
    but if it is relevant I could not connect the device to my PC...
    thanks for your time..:)
  11. hosamn

    hosamn Member

    Well..... as I can find nobody to work me through this problem
    I started trubleshooting on my own
    I think I did not get this problem untill I rooted the device using this file...
    CWM-SuperSU-v0.96AML - Download - 4shared - Chad Kitching
    If you can shed any light on this, your help is very much appreciated..
  12. stane1983

    stane1983 Well-Known Member Developer

    I still don't have solution for this, but have you also updated busybox? That's one of things that causes this...
  13. hosamn

    hosamn Member

    Well..
    I HAVE updated busybox..
    and I think that is the reason
    do you have any Idea how to roll back to the old BUSYBOX?!!
    thanks..!
  14. hosamn

    hosamn Member

    And how is the busybox problem exactly connected to the set_display_mode.sh script file...???
  15. __Rob__

    __Rob__ Member

    I had same here with HD16T DVBT (f16ref ?). And lovely busybox :( After few hours of searching I loaded firmware from G-Box and everything works fine except dvb function. Any suggetion ? I have dumped original firmware (but with f...ed up cursor) if needed.
  16. hosamn

    hosamn Member

    I shouldn't have updated busybox..
    the problem is the fbset command I guess...
    I think the original ROM contained a version of busybox that had fbset in it..
    while the updated busybox doesn't..
    I think the rom uses that command to "set_display_mode"..

    what do you think about this stane?!

    Edit:
    got a busybox binary with fbset..
    from THIS post by Stericson [BusyBox installer author]
    installed it..
    but now when I run fbset from terminal I get :
    Code (Text):
    1.  
    2. fbset: can't open '/dev/fb0': No such file or directory
    3.  
    edit2:is this related?!
  17. stane1983

    stane1983 Well-Known Member Developer

    Android does not use /dev/fb0 but /dev/graphics/fb0. You sure you have right busybox?
  18. hosamn

    hosamn Member

    So you think I should do what..??
    Ask Stericson to compile another busybox...
    as I said.. he made this one with fbset included(obviously for android)

    is there a way to use the fbset command and point to the correct path??

    or is this a mistake he made, ie..I need to find another busybox binary..??
  19. stane1983

    stane1983 Well-Known Member Developer

    My first try would be to find any stock amlogic firmware which is for your platform and your android version (doesn't have to be for your device) and install it as you did it with busybox you mentioned. If it was in some kind of update.zip, replace it in there and resign update package. Busybox is static executable so replacing it would not cause any problems, just be careful to create correct symlinks :)
  20. __Rob__

    __Rob__ Member

    Or try to install earlier version of busybox, the cursor will back. I made that too because of problem with DVBplayer on g-box firmware.
  21. hosamn

    hosamn Member

    How old ..?!
  22. hosamn

    hosamn Member

    How old exactly..?!
  23. __Rob__

    __Rob__ Member

    I installed BusyBox v6.8.
  24. ardennext99

    ardennext99 Member

    Ola, I've got the same problem and i'm going crasy to fix it. please can you send me a busybox 6.8 version, because I cannot found? I'v tryed with a 5.5 but not work. thanks a lot. ardennext99@gmail.com

    P.S. please zip it because gmail block suspected attachment.
  25. ardennext99

    ardennext99 Member



    I need it please. i'm one minute to a brick, and i've no idea how to save my device.

    Thanks
Loading...

Share This Page