Related
We have had it with this dammned bug (black squares on CRT white animation, pixelated as karendar says), lets hope we get it right this time uh!
update: seems the only way to break the CRT is taking a screenshot from the samsung included screencapture and music app...that is holding down the home button and pressing power at the same time..... this is for the pixelated effect.
I also own a Galaxy tab, which doesnt have the smooth animation on CRT effect either, this feels like there is something on framework.jar and even on the surfaceflinger.cpp (where the animation is stored) that differs from the one HTC uses.....I dont know any coding of drivers, neither how to edit cpp files, I do know however how to decompile jar files, took a look inside and at first glance everything seems the same.
I feel the CRT effect is as good as is going to get, until someone comes along and breaks the surfaceflinger apart and compare it to the HTC one. There are more important things to do and fix regarding the S2 than the CRT off animation (which ain that bad withouth pixels to begin with), so, if anyone is willing to invest time on cpp coding, pm me and Ill help it whatever way I can.
Now, CRT pixelated effect is indeed fixed with blur set to slow, which means the surfaceflinger is unable to handle the overload when set to fast which then leads me to the following:
Have two theories about the screencapture pixelating the CRT animation
1.- the white flash that it uses to take the screenshot corrupts the animation or overloads surfaceflinger.
2.- the screen is resized while taking the screenshot wich again corrupts the animation or overloads surfaceflinger.
Thanks everyone who tested it, and I already see it is being implemented on ROMS and themes, which honestly makes me happy to have been on any help
Continue on with experimenting then.......
so straight to the point..... based on this
false
did the following (dont have to be a genius to do it)
decompiling framework-res.apk, navigate to res/values/bools.xml
change the following[/B]
from
false
to
true
and of course, enable CRT effect
from
true
to
false
then compile back
Have been testing it on my device and have not had the bug ever since......Obviously this needs more testers than myself (lol), reason for this thread.....
I am providing an example for VillainRom v2.1, CWR flashable zip, with only the two mods explained above, nothing else, but feel free to mod the framework on you desired rom
and if working....pls give credits....!
btw, should work on CM7 too.(edit, just saw CM7 already has this config and bug still exists there, but i also know surfaceflinger is not optimized yet)
Needs feedback working or not!
Mods, I think this is the wrong subforum right?, sorry, pls change it to the right one....(I think it is
Galaxy S II Original Android Development)
@pulser_gt, if working feel free to add it to VRtweaks
mirror
http://www.multiupload.com/P6TLZBYECR
doctorcete said:
and of course, enable CRT effect
from
<bool name="config_animateScreenLights">false</bool>
to
<bool name="config_animateScreenLights">false</bool>
Click to expand...
Click to collapse
i think you meant true on that first bit
looks promising, though!
edit: oh so it's true to false lol i couldn't remember
Ok, I tried this on Villain Rom 2.1 lite, a very good try by doctorcete, but somehow this fix didn't work for me
kryptoner said:
Ok, I tried this on Villain Rom 2.1 lite, a very good try by doctorcete, but somehow this fix didn't work for me
Click to expand...
Click to collapse
what happens, u have the squared bugs on CRT?....I always had the bug when long pressing power button, now i dont have it, been using it, and havent bumped into it....is lite version odexed aswell?, maybe that has to do with it too?
Does this fix the sudden brightness changes bug thing?
eiraku said:
Does this fix the sudden brightness changes bug thing?
Click to expand...
Click to collapse
I dont know about that....maybe?
but it is intended to prevent the squared display that sometimes happens on CRT screen off effect.
doctorcete said:
what happens, u have the squared bugs on CRT?....I always had the bug when long pressing power button, now i dont have it, been using it, and havent bumped into it....is lite version odexed aswell?, maybe that has to do with it too?
Click to expand...
Click to collapse
Yeah, I still see the screen turning off weirdly, I mean its not like what we saw on nexus s... I think villain 2.1 lite is same as original rom, only apps are removed... but I'm not sure, because it was not mentioned in the rom thread and it was themed
do u mean the smoothness of the animation, or u see the black squares inside the white fliping crt animation?.......if so, how are u reproducing it?
Give it a try. How does the animation work is it like the boot animation?
Greetz Nebucatnetzer
doctorcete said:
do u mean the smoothness of the animation, or u see the black squares inside the white fliping crt animation?.......if so, how are u reproducing it?
Click to expand...
Click to collapse
I mean the smoothness, its still not very smooth, maybe its my view, we need more testers... this should be in original development...
ah ok....its intended to fix those ugly black squares, about the smoothness, if this is fixed, that is the next step.....
(u made me wipe the phone just to retest, lol)
How is this any different to the CRT animation off thats been around for some time, I never noticed it bug out on me.. can you guys put up a video on how this "fix" looks like?
it aint different.....for instance, if long pressing power button, then presseng back, and turn off phone (just hit the power button, standby), The white flipping image becomes distorted, with black squares, this aims to prevent those black squares, as I said, same animation, just not distorted...
EarlZ said:
How is this any different to the CRT animation off thats been around for some time, I never noticed it bug out on me.. can you guys put up a video on how this "fix" looks like?
Click to expand...
Click to collapse
he already said its for testing.. just try it and post whether you feel any improvements or not... If this post gets enough positive responses, then it can be a major fix... so please try
It works! In my case, the bug appears when I activate the alarm. Now doesn't, thank you!
Finally, two feedbacks...thanks....im glad to be of any help
Hey Doc!
Does this use the odex framework? I ask because i had the extended power menu mod posted in the Villian thread installed which deodexed the browser before this, well i flashed through cwm and wiped cache and now i get a few random force closes and when i try to enter the power menu i get booted to the boot screen.
Gonna try again now on a fresh install.
Not sure if im being dumb or or it was to do with odex.
I will say the crt seems to be working a treat from what ive seen lol
No more black squares on Cog 1.15 great job !
Thx m8
kryptoner said:
he already said its for testing.. just try it and post whether you feel any improvements or not... If this post gets enough positive responses, then it can be a major fix... so please try
Click to expand...
Click to collapse
Im doing a battery life testing right now and rebooting the phone is not part of the test, sorry I cant be of much help yet.
On cognition 1.15, this fixed it for me when opening the power menu!
NOTE: Do Not Apply this mod for Alpha 3, it screws up the status bar. You have been warned. I will see if i can recompile it for Alpha 3, makes it tougher without sources.
Initially i did this mod for my I9000 which was running CM7.1 and i was only seeing carrier numbers instead of names. I have ported this to CM7.1 for HP touchpad. Flash this file in cwm recovery.
When booted up you should see an additional setting in cyanogenmod settings called CustomSettings, tap that to open custom carrier text, tap that and enter whatever you want to show on the lockscreen and notification bar. Press done.
Install the attached notificationrestart.apk and open it, give it root access, press restart and wait for the notification bar to restart. This is to avoid restart of the tablet before you see the new settings apply. Voila, you should see what you put in the custom name. Have fun and hit the thanks button if you like it. Cheers.
If for some reason your status bar looks wonky after a while use this to get back to original stuff. I changed the dpi to 182 using nitrality app and the wonkiness seems to be gone. I am using iKandee theme from market.
Original Mod for I9000 credits
doixanh ( for his ginger DX settings)
ngiordano ( for his helping hand with androiding)
Screenshots of what settings should look like.
I'll give this a shot. Is there an option (perhaps in the future) to place a .png file where the carrier text is? Similar to MIUI? Just curious.
Ok. dl'ing now. I'll report back.
EDIT: It works! My only issues
A) The notificationrestart.apk installed, but didn't seem to do anything. I didn't notice the change until after I rebooted the device.
B) I'm now seeing the 3G bar in the corner (see the image). Is there a way to keep the custom text, but not show the signal bars?
jpmi23 said:
I'll give this a shot. Is there an option (perhaps in the future) to place a .png file where the carrier text is? Similar to MIUI? Just curious.
Ok. dl'ing now. I'll report back.
Click to expand...
Click to collapse
May be. I will look into it at a later time, no promises. If the status bar gets wonky, set dpi to 182 and see if it happens. For me its perfect at 182 (which is what my phone is it)
Sent from my HP Touchpad using Tapatalk
jpmi23 said:
I'll give this a shot. Is there an option (perhaps in the future) to place a .png file where the carrier text is? Similar to MIUI? Just curious.
Ok. dl'ing now. I'll report back.
EDIT: It works! My only issues
A) The notificationrestart.apk installed, but didn't seem to do anything. I didn't notice the change until after I rebooted the device.
B) I'm now seeing the 3G bar in the corner (see the image). Is there a way to keep the custom text, but not show the signal bars?
Click to expand...
Click to collapse
For now no. once cm team publishes source I will recompile with that.that well solve these issues. Did you run the notification restart app? I had to wipe data of that apk using titanium backup and it worked fine after that. 182 dpi works fine. Anything less than that status bar gets wonky.
Sent from my HP Touchpad
krarvind said:
For now no. once cm team publishes source I will recompile with that.that well solve these issues. Did you run the notification restart app? I had to wipe data of that apk using titanium backup and it worked fine after that. 182 dpi works fine. Anything less than that status bar gets wonky.
Sent from my HP Touchpad
Click to expand...
Click to collapse
I attempted, but it did not run. Did not ask for root privileges either. I simply rebooted and it showed the text change.
jpmi23 said:
I attempted, but it did not run. Did not ask for root privileges either. I simply rebooted and it showed the text change.
Click to expand...
Click to collapse
Ya, once you wipe data using titanium back up it will ask for root privileges. Not sure why. 182 and higher dpi works fine.
Sent from my HP Touchpad
jpmi23 said:
I'll give this a shot. Is there an option (perhaps in the future) to place a .png file where the carrier text is? Similar to MIUI? Just curious.
Ok. dl'ing now. I'll report back.
EDIT: It works! My only issues
A) The notificationrestart.apk installed, but didn't seem to do anything. I didn't notice the change until after I rebooted the device.
B) I'm now seeing the 3G bar in the corner (see the image). Is there a way to keep the custom text, but not show the signal bars?
Click to expand...
Click to collapse
is that screen shot from your touchpad? if so what theme is that is looks nice!
Your theme looks great, I also would like to know what it is ?
ks2hot4u said:
Your theme looks great, I also would like to know what it is ?
Click to expand...
Click to collapse
screen shots are from my phone which runs Insanity Rom and its theme.
The screenshot that I posted is in fact my TP. I'm using the Transformer theme from HERE. It ties in with CM's ThemeChanger. It'll notify you that it's not meant for your device, just do it. As you can see it works fine.
jpmi23 said:
The screenshot that I posted is in fact my TP. I'm using the Transformer theme from HERE. It ties in with CM's ThemeChanger. It'll notify you that it's not meant for your device, just do it. As you can see it works fine.
Click to expand...
Click to collapse
thank u sir!
@krarvind
thanks for this! no issues on my TP so far.
as a little test i flashed this to my T-MoUS HD2 Leo since i could never find a way to set a custom carrier label.
it works great on there as well - with one side effect on the lockscreen. any chance this can be fixed? i just did it on a whim since it's cm7 i figured it couldn't do to much damage. no problems on the status bar, just the lock screen.
i know it wasn't built for this device so don't answer if you don't want to
the top near my label shows a graphic from i don't know where.
pxldtz said:
@krarvind
thanks for this! no issues on my TP so far.
as a little test i flashed this to my T-MoUS HD2 Leo since i could never find a way to set a custom carrier label.
it works great on there as well - with one side effect on the lockscreen. any chance this can be fixed? i just did it on a whim since it's cm7 i figured it couldn't do to much damage. no problems on the status bar, just the lock screen.
i know it wasn't built for this device so don't answer if you don't want to
the top near my label shows a graphic from i don't know where.
Click to expand...
Click to collapse
I have no idea where that comes from and i don't have your device, so i can't really fix it i think. if you want to roll back, all you need to do is open up my zip files and replace the app and framework files with the ones from the rom for your phone ( not from your phone as it has mine now).
Cheers
For some reason whenever i try to boot a custom carrier label my Touchpad never boots up... it just hangs on the cyanogen mod boot animation and requires a hard reset... followed the instructions perfectly. anyone have the same issue?
after some messing around i got it to boot up for me. then the notification bar went "wonky" used the nitrality app to adjust the dpi. works fine. what is the default dpi again?....
KingKwentyne said:
For some reason whenever i try to boot a custom carrier label my Touchpad never boots up... it just hangs on the cyanogen mod boot animation and requires a hard reset... followed the instructions perfectly. anyone have the same issue?
after some messing around i got it to boot up for me. then the notification bar went "wonky" used the nitrality app to adjust the dpi. works fine. what is the default dpi again?....
Click to expand...
Click to collapse
No idea why you have these issues. dpi is 182. Anything above that works fine. Remember I don't have the sources to compile it for touchpad, so I did my best to get it
working
Sent from my HP Touchpad using xda premium
Screwed up my notification bar, the resolution is way off and battery percentage is gone. Cyanogenmod won't let me add it either?? The OriginalLabel.zip doesn't have battery percentage either for some reason. Guess I'll do a restore in Recovery. Thanks for trying though.
Just wanted to report, on CM nightly #256, CRT on/off animation works.
Note: To get it fully working, flash Roboto font pack (don't know why, but it works).
Work, as in constantly on and off working now. Instead of casually flicking when the phone wishes?
Constantly working for me.
Sent from my HTC Wildfire using xda premium
Worked after flashing font package
It was working for me after flashing ICS roboto font package.
One thing I wanna say that it's completely a random process sometime it works and sometimes its not. Anyways luck is also a part of it
Shiv Prajapati said:
It was working for me after flashing ICS roboto font package.
One thing I wanna say that it's completely a random process sometime it works and sometimes its not. Anyways luck is also a part of it
Click to expand...
Click to collapse
yea the same for me, atm its working
Not working for me
Only worked once for half a month
how to enable it? or is it automaticly on?
Winamp_zg said:
how to enable it? or is it automaticly on?
Click to expand...
Click to collapse
Settings -> CM Settings -> Display -> tick Screen-Off animation
Smokzye
smokzye said:
Settings -> CM Settings -> Display -> tick Screen-Off animation
Smokzye
Click to expand...
Click to collapse
Hvala
still nothing, screen turns off and on normal, like before...
EDIT: after 2 reboots it's working but little bit slow
Winamp_zg said:
Hvala
still nothing, screen turns off and on normal, like before...
EDIT: after 2 reboots it's working but little bit slow
Click to expand...
Click to collapse
Da, laga malo, ali radi!
Smokzye
If it doesn't work, try restarting your phone a couple of times.
(Works both ways, as in it may stop doing the animation if you reboot the phone)
Screen off and lock an excellent app in market will give u a crt animation but not as good as default gingerbread one
Sent from my HTC Wildfire using XDA App
Anyone know how? Can't find it in settings or even developer options
I know it's only a silly little thing but I don't like it
Custom roms
Sent from my Xoom using xda app-developers app
What do you mean by screen fade
Rizy7 said:
What do you mean by screen fade
Click to expand...
Click to collapse
When you press the power button to switch the screen off, the screen goes from being black to a white line in the middle, then goes off. kinda like an old TV set
LooieENG said:
When you press the power button to switch the screen off, the screen goes from being black to a white line in the middle, then goes off. kinda like an old TV set
Click to expand...
Click to collapse
Custom ROM's have CRT off option
Thanks guys, but is there a way to disable this without installing a custom ROM?
I have root access
Also, if I have the stock ROM, but rooted, can I still just install OS updates like normal?
Not sure about JB, but in GB it was a framework mod. Decompile it and it's in one of the strings.xml
All you have to do is turn off the animations in developer options. I dont know which of the three changes the crt animation but one of them does. Youll need to reboot the phone for the changes to take place. No custom rom needed
Rizy7 said:
All you have to do is turn off the animations in developer options. I dont know which of the three changes the crt animation but one of them does. Youll need to reboot the phone for the changes to take place. No custom rom needed
Click to expand...
Click to collapse
hahah right! totally forgot about that.
Rizy7 said:
All you have to do is turn off the animations in developer options. I dont know which of the three changes the crt animation but one of them does. Youll need to reboot the phone for the changes to take place. No custom rom needed
Click to expand...
Click to collapse
Awesome
I'd done this before after a bit of Googling but didn't know you needed to reboot the phone
Much better now
Hi,
I just tried to long press the gear icon for a long while. Unfortunately the "congratulations" didn't pop up. Has anyone had any success on this?
PS: I'm using the cheaper amazon-ad version.
PS2: The phone is running android 7 nougat
EDIT: HOLY **** I just found the reason why I cannot.
http://forums.androidcentral.com/showthread.php?t=677644&p=5263698&viewfull=1#post5263698
I usually turn the animation from 1x to none, and this makes the difference ...........
Thanks!
It worked for me, I pressed the gear icon at top of quicksettings for 3-5 seconds then a message came up and it appeared in the settings menu after Developer options.
Dahenjo said:
It worked for me, I pressed the gear icon at top of quicksettings for 3-5 seconds then a message came up and it appeared in the settings menu after Developer options.
Click to expand...
Click to collapse
Oh maybe it's because I'm using Amazon-ad version..?
jsn1993 said:
Oh maybe it's because I'm using Amazon-ad version..?
Click to expand...
Click to collapse
Maybe, I'm using the no-ads $299 Amazon version. Are you able to get the Developer options by tapping build number 7 times? I would think if you can get that then the System UI should also work. Maybe someone else with the ads version could try it?
Dahenjo said:
Maybe, I'm using the no-ads $299 Amazon version. Are you able to get the Developer options by tapping build number 7 times? I would think if you can get that then the System UI should also work. Maybe someone else with the ads version could try it?
Click to expand...
Click to collapse
I already revealed the developer options by clicking build number 7 times. Maybe they removed the UI tuner since the tuner is somehow related to the locking screen ads.
I have amazon ads version and was able to show system UI tuner.
Interesting. There is an "EDIT" option at the bottom which allows me to adjust the tiles, but pressing the GEAR icon doesn't help at all.
zoocircle said:
I have amazon ads version and was able to show system UI tuner.
Click to expand...
Click to collapse
Are you running android 7.x or 6.x?
For those who are not able to do this yet. Make sure you do not have the battery saver option active. I deactivated and it worked fine