Go Back   Android Forums > Android Development > Developer Forums > Stane's ROMs

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By grindinonyourm

test: Reply
 
LinkBack Thread Tools
Old June 27th, 2012, 09:04 AM   #1 (permalink)
ROM Developer
Thread Author (OP)
 
Join Date: Mar 2012
Location: Varazdin, Croatia
Gender: Male
Posts: 499
 
Device(s): Alot of Amlogic based devices :) Tronsmart TS4
Carrier: MultiPlus Mobile

Thanks: 5
Thanked 215 Times in 126 Posts
Send a message via Skype™ to stane1983
Default Mouse cursor beeing replaced with bootloader logo on Amlogic based ROMs

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:
...
echo 1 > /sys/class/graphics/fb1/blank
fbset -fb /dev/graphics/fb1 -g 18 18 18 18 $osd_bits
echo 1 > /sys/class/graphics/fb1/blank

__________________
If you find my work useful, buy me a beer
Homepage: http://www.stane1983.com
stane1983 is offline  
Reply With Quote
The Following User Says Thank You to stane1983 For This Useful Post:
grindinonyourm (June 27th, 2012)
sponsored links
Old June 27th, 2012, 09:40 AM   #2 (permalink)
Member
 
Join Date: May 2012
Posts: 181
 
Device(s): ATV-108 8726-M1 c03ref StanedICS, ATV-108 8726-M1 c03ref Visson 2.3.4GB, Mesada FV3 Flexiview 8726
Carrier: Not Provided

Thanks: 11
Thanked 6 Times in 5 Posts
Default

im so glad you found it! i was starting to feel a little like a crazy person.
stane1983 likes this.
grindinonyourm is offline  
Reply With Quote
Old February 20th, 2013, 07:44 PM   #3 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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:

Quote:
echo 1 > /sys/class/graphics/fb1/blank
fbset -fb /dev/graphics/fb1 -g 48 48 48 48 $osd_bits
echo 1 > /sys/class/graphics/fb1/blank
hosamn is offline  
Reply With Quote
Old February 20th, 2013, 07:48 PM   #4 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

changed 48 > 18
no difference..
hosamn is offline  
Reply With Quote
Old February 22nd, 2013, 02:08 PM   #5 (permalink)
ROM Developer
Thread Author (OP)
 
Join Date: Mar 2012
Location: Varazdin, Croatia
Gender: Male
Posts: 499
 
Device(s): Alot of Amlogic based devices :) Tronsmart TS4
Carrier: MultiPlus Mobile

Thanks: 5
Thanked 215 Times in 126 Posts
Send a message via Skype™ to stane1983
Default

Quote:
Originally Posted by hosamn View Post
changed 48 > 18
no difference..
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
stane1983 is offline  
Reply With Quote
Old February 22nd, 2013, 02:15 PM   #6 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
hosamn is offline  
Reply With Quote
Old February 22nd, 2013, 02:24 PM   #7 (permalink)
ROM Developer
Thread Author (OP)
 
Join Date: Mar 2012
Location: Varazdin, Croatia
Gender: Male
Posts: 499
 
Device(s): Alot of Amlogic based devices :) Tronsmart TS4
Carrier: MultiPlus Mobile

Thanks: 5
Thanked 215 Times in 126 Posts
Send a message via Skype™ to stane1983
Default

Quote:
Originally Posted by hosamn View Post
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
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.
stane1983 is offline  
Reply With Quote
Old February 23rd, 2013, 12:54 PM   #8 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?..
hosamn is offline  
Reply With Quote
Old February 24th, 2013, 07:47 PM   #9 (permalink)
ROM Developer
Thread Author (OP)
 
Join Date: Mar 2012
Location: Varazdin, Croatia
Gender: Male
Posts: 499
 
Device(s): Alot of Amlogic based devices :) Tronsmart TS4
Carrier: MultiPlus Mobile

Thanks: 5
Thanked 215 Times in 126 Posts
Send a message via Skype™ to stane1983
Default

Quote:
Originally Posted by hosamn View Post
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?..
Which device do you have? Can you go to recovery clean cache partition? Can you connect to your device via tll?
stane1983 is offline  
Reply With Quote
Old February 25th, 2013, 01:22 PM   #10 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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..:-)
hosamn is offline  
Reply With Quote
sponsored links
Old March 4th, 2013, 04:36 AM   #11 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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..
hosamn is offline  
Reply With Quote
Old March 8th, 2013, 03:42 PM   #12 (permalink)
ROM Developer
Thread Author (OP)
 
Join Date: Mar 2012
Location: Varazdin, Croatia
Gender: Male
Posts: 499
 
Device(s): Alot of Amlogic based devices :) Tronsmart TS4
Carrier: MultiPlus Mobile

Thanks: 5
Thanked 215 Times in 126 Posts
Send a message via Skype™ to stane1983
Default

Quote:
Originally Posted by hosamn View Post
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..
I still don't have solution for this, but have you also updated busybox? That's one of things that causes this...
stane1983 is offline  
Reply With Quote
Old March 18th, 2013, 05:13 AM   #13 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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..!
hosamn is offline  
Reply With Quote
Old March 18th, 2013, 05:21 AM   #14 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

And how is the busybox problem exactly connected to the set_display_mode.sh script file...???
hosamn is offline  
Reply With Quote
Old March 18th, 2013, 03:29 PM   #15 (permalink)
New Member
 
Join Date: Mar 2013
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
__Rob__ is offline  
Reply With Quote
Old March 20th, 2013, 10:19 AM   #16 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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:
fbset: can't open '/dev/fb0': No such file or directory
edit2:is this related?!
hosamn is offline  
Last edited by hosamn; March 22nd, 2013 at 11:53 AM.
Reply With Quote
Old March 29th, 2013, 03:57 PM   #17 (permalink)
ROM Developer
Thread Author (OP)
 
Join Date: Mar 2012
Location: Varazdin, Croatia
Gender: Male
Posts: 499
 
Device(s): Alot of Amlogic based devices :) Tronsmart TS4
Carrier: MultiPlus Mobile

Thanks: 5
Thanked 215 Times in 126 Posts
Send a message via Skype™ to stane1983
Default

Quote:
Originally Posted by hosamn View Post
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:
fbset: can't open '/dev/fb0': No such file or directory
edit2:is this related?!
Android does not use /dev/fb0 but /dev/graphics/fb0. You sure you have right busybox?
stane1983 is offline  
Reply With Quote
Old March 29th, 2013, 11:03 PM   #18 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Android does not use /dev/fb0 but /dev/graphics/fb0. You sure you have right busybox?
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..??
hosamn is offline  
Reply With Quote
Old March 30th, 2013, 09:15 AM   #19 (permalink)
ROM Developer
Thread Author (OP)
 
Join Date: Mar 2012
Location: Varazdin, Croatia
Gender: Male
Posts: 499
 
Device(s): Alot of Amlogic based devices :) Tronsmart TS4
Carrier: MultiPlus Mobile

Thanks: 5
Thanked 215 Times in 126 Posts
Send a message via Skype™ to stane1983
Default

Quote:
Originally Posted by hosamn View Post
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..??
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
stane1983 is offline  
Reply With Quote
Old March 30th, 2013, 11:48 AM   #20 (permalink)
New Member
 
Join Date: Mar 2013
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
__Rob__ is offline  
Last edited by __Rob__; March 31st, 2013 at 03:13 AM.
Reply With Quote
sponsored links
Old April 3rd, 2013, 04:41 PM   #21 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
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.
How old ..?!
hosamn is offline  
Reply With Quote
Old April 3rd, 2013, 04:48 PM   #22 (permalink)
New Member
 
Join Date: Feb 2013
Posts: 12
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
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.
How old exactly..?!
hosamn is offline  
Reply With Quote
Old April 4th, 2013, 09:28 AM   #23 (permalink)
New Member
 
Join Date: Mar 2013
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

I installed BusyBox v6.8.
__Rob__ is offline  
Reply With Quote
Old May 23rd, 2013, 07:12 PM   #24 (permalink)
New Member
 
Join Date: May 2013
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
ardennext99 is offline  
Reply With Quote
Old May 23rd, 2013, 07:31 PM   #25 (permalink)
New Member
 
Join Date: May 2013
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by __Rob__ View Post
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.


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

Thanks
ardennext99 is offline  
Reply With Quote
Old June 9th, 2013, 02:28 PM   #26 (permalink)
New Member
 
Join Date: May 2013
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

please i need the stock firmware for HD16T Android Tv Box. anyone can help me? I've trinstalled a wrong rom and now i cannot use the box.

Please helpme.
ardennext99 is offline  
Reply With Quote
Old June 11th, 2013, 11:46 AM   #27 (permalink)
New Member
 
Join Date: Mar 2013
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Then you looking firmware or busybox ?
__Rob__ is offline  
Reply With Quote
Old June 26th, 2013, 06:41 AM   #28 (permalink)
New Member
 
Join Date: May 2013
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Now i'm looking for firmware. I've found a firmware but after install I realized that it was not right for my device because it have another remote keymap, and wireles/lan not work.

The device is now not usable, and i'm searching for a stock firmware.

Please help me!
ardennext99 is offline  
Reply With Quote
Old July 3rd, 2013, 02:07 PM   #29 (permalink)
New Member
 
Join Date: Mar 2013
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Try this https://mega.co.nz/#!bIx2AIyQ!Sy98JDuo6HW1ZF2MpVh91ROR--VSWf42_8IQx9AKUlg

If not help I'll upload my backup.
__Rob__ is offline  
Reply With Quote
Old September 3rd, 2013, 09:20 AM   #30 (permalink)
New Member
 
Join Date: May 2013
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please can you upload your backup? thanks a lot
ardennext99 is offline  
Reply With Quote
sponsored links
Reply


Go Back   Android Forums > Android Development > Developer Forums > Stane's ROMs
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:26 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.