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!
I have a questions for the folks here that use the Liberty ROM. I dont know exactly how to describe my problem, but I will do my best.
With the liberty ROM, there is a CRT screen effect when you hit the lock screen button on the top of the phone, once you hit that button the phone then displays what you would see if you turned off a CRT TV.
I just updated to Liberty 3 v 1.0 and everything was good and dandy until I changed the font and boot animation through the ROM Toolbox. Once I rebooted the CRT effect disappeared.
Is anybody else having this problem? I have searched everywhere and do not see any type of setting for this CRT effect. Is there a way to change the boot amination/font and still keep this feature?
thibaulb said:
I have a questions for the folks here that use the Liberty ROM. I dont know exactly how to describe my problem, but I will do my best.
With the liberty ROM, there is a CRT screen effect when you hit the lock screen button on the top of the phone, once you hit that button the phone then displays what you would see if you turned off a CRT TV.
I just updated to Liberty 3 v 1.0 and everything was good and dandy until I changed the font and boot animation through the ROM Toolbox. Once I rebooted the CRT effect disappeared.
Is anybody else having this problem? I have searched everywhere and do not see any type of setting for this CRT effect. Is there a way to change the boot amination/font and still keep this feature?
Click to expand...
Click to collapse
From your home screen try menu>settings>display>animation>all animations
Hello,
I just flashed the ROM Buttered AOKP Manta 2013-5-14 both using the aroma installer and normal zip flash, and the Navbar goes invisible when tapping the home button, I can still (barely) see the white buttons, and it looks horrible because the background is made to darken towards the navbar, but now it darkens and then it's just clear wallpaper.
I have even tried a separate kernel (which I am running now) 3.4.45-ktmanta and the problem did not go away (but at least my logitech mouse and keyboard work)
I tried searching the ROM thread and this troubleshooting forum but I have been unable to find anybody mentioning anything like this, but then again I am kinda rubbish with searching...
So what did I do wrong, or how can I fix this?
any help will be highly appreciated. Because it's driving me mad
Thank you.
edit:turns out that going in Transparency and changing it to something other then 100%alpha and back again repairs it, and works after reboot as well
I have noticed minor issues cyanogen 12s issues on the ONEPLUS ONE. Anyone with issue can can report them here. Hopefully everyone here has a work around or modification to fix the issue.
BT headset, have 3 different one. Pressing the button will kill the call while on GV. IDEAS?
I'm occasionally seeing the lockscreen flash up when turning the screen off.
Also, if there's a way to disable the lockscreen transparency I'd be interested to hear it - it looks rubbish.
Seeing the old issue of the notification drawer appearing in/after calls, too. Hadn't had this for a while on latest nightlies
benj! said:
I'm occasionally seeing the lockscreen flash up when turning the screen off.
Also, if there's a way to disable the lockscreen transparency I'd be interested to hear it - it looks rubbish.
Click to expand...
Click to collapse
Set a wallapaper through Theme and click the wench thingy and find edit lockscreen wallpaper
There's also a bug you could use the physical buttons for idk what reason to fix it go to settings and disable then enable the on-screen keys
another bug my settings keep crashing for no reason ._.
Lag on launcher3 while opening the app drawer.
Tarun95 said:
Lag on launcher3 while opening the app drawer.
Click to expand...
Click to collapse
I solved doing the setup again after wipe...
Tarun95 said:
Lag on launcher3 while opening the app drawer.
Click to expand...
Click to collapse
yes same here!!
Google play services wakelock still exists....
L10nH34Rt said:
Google play services wakelock still exists....
Click to expand...
Click to collapse
Go to Google play services in privacy guard and deny it the permission to keep awake. Then reboot.
---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------
fbr79 said:
I solved doing the setup again after wipe...
Click to expand...
Click to collapse
I don't want to reset my phone lol. Everything is working fine other than that.
color os camera problem
It worked perfectly on kitkat .
After updating to lollipop (official update) cm 12s , it seems to show some problem.
I can't see any live preview of the effects. It just shows the normal camera without any effects. But after I click, the picture comes with effect. So its just a problem about the live preview of the effects. Has anyone else experienced this problem ? Plz help me.
The now infamous two halves in pictures with flash are still there. I wonder if the community could extract the camera driver from oxygenOS kernel sources (when OP will finally release them) and use them, since it doesn't happen on that ROM.
Tarun95 said:
Go to Google play services in privacy guard and deny it the permission to keep awake. Then reboot.
Click to expand...
Click to collapse
I prefer using this method. Much cleaner IMO.
benj! said:
I'm occasionally seeing the lockscreen flash up when turning the screen off.
Also, if there's a way to disable the lockscreen transparency I'd be interested to hear it - it looks rubbish.
Seeing the old issue of the notification drawer appearing in/after calls, too. Hadn't had this for a while on latest nightlies
Click to expand...
Click to collapse
I think the lockscreen flashing after the screen turns off is a lollipop thing. I noticed it when I had a nexus 5 and upgraded to 5.0. I think I noticed it out of the corner of my eye so to speak, after I had set my phone down and the screen timed out, thought it flickered/flashed but that's just the screen off animation now.
Still playing around with all the settings to see what's new (and removed) and noticed:
No longer have the ability to configure the auto-brightness settings which I actually quite liked in 11S if for no other reason that I could set the auto brightness for low light down to 0% (instead of the, what... 5% normal setting?).
Screen Color calibration wouldn't work and crashed the settings app (screen went black and I couldn't get back into settings). A reboot seems to have fixed it.
The settings app may just be buggy as it crashed again when trying to access Developer Options (screen went black and required a reboot).
EDIT: Couldn't sign into my Cyanogen account but that could be a problem on Cyanogen's side as it didn't recognize my account.
Still seems like there are a lot of new things to try and there are more options than Oxygen OS.
Switching profiles:
from owner to guest: Cyanogenmod-log crashes
from guest to owner: code to unlock phone isn't shown and no matter what you type, it always incorrect. Fixed by rebooting
Fr3lncr said:
Still playing around with all the settings to see what's new (and removed) and noticed:
No longer have the ability to configure the auto-brightness settings which I actually quite liked in 11S if for no other reason that I could set the auto brightness for low light down to 0% (instead of the, what... 5% normal setting?).
Screen Color calibration wouldn't work and crashed the settings app (screen went black and I couldn't get back into settings). A reboot seems to have fixed it.
The settings app may just be buggy as it crashed again when trying to access Developer Options (screen went black and required a reboot).
EDIT: Couldn't sign into my Cyanogen account but that could be a problem on Cyanogen's side as it didn't recognize my account.
Still seems like there are a lot of new things to try and there are more options than Oxygen OS.
Click to expand...
Click to collapse
no problem like yours.
but there's no led notification (when lock and screen on) only ambient flashed-up display.
i do agree that autobrightness is not working like in cm11s.
But, i do have those problems after flashing from stock cm11s 05Q and via bootloader with fastboot image from the cyngn.
And cm12s from cm11s is have this kind of lagging typing/touching to be compared if you were flashing from cm12/cm12.1, strange indeed.
I'm back on nightlies. CM12S ain't for me, thought OxygenOS was better
Lags on interactive governor
Hi guys, did you notice any lags on interactive governor in games ? It lags on cm11s too, I thought that they will fix it in today released cm12s. It didn't happen before brick of my phone, since unbrick and flash of cm11s, games are lagging so much on interactive governor. Do you know how to fix that without any change of governor, hotplug or profiles ? Thanks a lot.
Com. Google. Gapps. Continual fc so rapid about impossible use phone.. Back to O2 for now which is very smooth
All of you with issues, did you dirty flash or wipe first? it DOES matter...
Hi there,
I'm currently using a live wallpaper and I just realized this my phone changed the wallpaper I'm using two times today. Is anyone getting this problem? I don't think it's a bug but maybe it can be caused by battery saving option. Because it's changing to the steady version of official wallpaper. Also I made a search before opening this post but if was opened before you can link me to that thread and close this post ^^
Thanks for your suggestions already.
falcon_knife34 said:
Hi there,
I'm currently using a live wallpaper and I just realized this my phone changed the wallpaper I'm using two times today. Is anyone getting this problem? I don't think it's a bug but maybe it can be caused by battery saving option. Because it's changing to the steady version of official wallpaper. Also I made a search before opening this post but if was opened before you can link me to that thread and close this post ^^
Thanks for your suggestions already.
Click to expand...
Click to collapse
Oh baby, I know exactly what's going on! I had the same problem and was able to fix it!
Long press home screen --> wallpapers --> shot on OnePlus --> click the gear in the top right --> uncheck both "Daily Lock Screen Wallpaper" and "Daily Home Screen Wallpaper"
You're welcome!
xxBrun0xx said:
Oh baby, I know exactly what's going on! I had the same problem and was able to fix it!
Long press home screen --> wallpapers --> shot on OnePlus --> click the gear in the top right --> uncheck both "Daily Lock Screen Wallpaper" and "Daily Home Screen Wallpaper"
You're welcome!
Click to expand...
Click to collapse
Hey there,
Thank you for your quick response though it's not the problem. I immediately opened the path you described and both of those were unchecked. I'll be playing with my phone to see if it's changing wallpaper because of the low battery (under %15) or not then I'll update this post ^^
Also here's a clip of the path and those marks.
falcon_knife34 said:
Hey there,
Thank you for your quick response though it's not the problem. I immediately opened the path you described and both of those were unchecked. I'll be playing with my phone to see if it's changing wallpaper because of the low battery (under %15) or not then I'll update this post ^^
Also here's a clip of the path and those marks.
Click to expand...
Click to collapse
Darn, sorry! Took me quite a while to figure out why that kept happening on my phone. Daily wallpapers is on by default, very annoying. I use Muzei and haven't had an issue with the device changing wallpapers on me since unchecking those boxes.
I had this issue with certain live wallpapers. some wallpapers tend to drain battery (at least in my case), i was able to fix by going to battery optimization and unchecking the live wallpapers i use to not optimized. Hopefully that will fix it. If that's the issue.
Rishwan said:
I had this issue with certain live wallpapers. some wallpapers tend to drain battery (at least in my case), i was able to fix by going to battery optimization and unchecking the live wallpapers i use to not optimized. Hopefully that will fix it. If that's the issue.
Click to expand...
Click to collapse
Yeah this might be the issue, I never checked how much battery those wallpapers drain. Thanks man I'll try this ^^