Sorry... Got nothing, you covered every possibility I can think of besides hardware failure, since you turned off auto brightness that is the only sensor that would be involved. You mentioned the panel was replaced and this occurs when you touch the screen, possibly a bad/loose ribbon cable to LCD panel?
Sent from my Nexus 4 using Tapatalk
Current Personal Phone: Google Nexus 4 on Cricket/Aio (Beanstalk
4.4.4 with hells-Core Kernel
Current Work Phone: LG G2 VS980 on VZW (Official Beanstalk
Current Tablet: iPad 4 and Samsung Galaxy Note Pro 12.2
Other phones "in the family": HTC DNA, HTC One (M7), Motorola Moto G GPE
Previous/Retired Android Devices: HTC Aria, HTC Incredible 2, HTC Rezound, Samsung Stratosphere, Samsung Galaxy S2 Skyrocket, Nextbook 8P