Will Verduzco · May 16, 2011 at 06:00 am

CF3D Proxy Driver Brings New Method for NightMode, Promises Much More

Remember Jeff Sharkey’s NightMode SurfaceFlinger patch, which brought much needed power saving effects to OLED screens and has since been merged into CyanogenMod? Now XDA moderator Chainfire has accomplished something quite similar as a proof of concept for his CF3D intermediary proxy driver.

You may be wondering why an alternate method of obtaining the same effect could possibly be interesting. While inherently this doesn’t sound too exciting for most, CF3D has many potential uses such as working around arbitrary texture compression format restrictions found in certain applications. How big of an issue is this? If you’re lucky enough to be sporting one of the brand new Samsung Galaxy S II devices and are trying to play X-Plane, it could be a huge problem. Additionally, if you’re not running a ROM with Night Mode already integrated, this could be exciting merely at face value.

In the words of the developer:

About
NightMode itself is an implementation of Jeff Sharkey’s excellent power-saving and night-vision-preserving idea for surfaceflinger effects. Really, you should read that link.

The red mode is great in darkness as it does a good job preserving night-vision, for me the power-saving is secondary (power-saving is on OLED screens only)

Unlike Jeff’s original article, NightMode is NOT based on surfaceflinger (or other) source modifications, the same effect (more or less) is achieved by using a proxy driver I call CF3D. NightMode serves as the first test of this driver, which will ultimately try to make games run on your device that normally do not.

If you are running CM, you have a similar option already in your settings (which uses the surfaceflinger method).

CF3D driver
The CF3D driver used in the app is a proof-of-concept proxy driver I’m building. It’s ultimate purpose is to serve as a compatibility layer and to implement some extra features, for example various texture format support – to work around devs who want to be Nvidia- or HTC- only or are just lazy and only support one texture format. Or in normal people English: make games work that don’t 

CF3D is dangerous
The installation of the CF3D driver is not without risk. So far it has worked for everyone who has tried to install it, but you should definitely make a CWM backup before trying!

Stay tuned or continue on to the original thread to track the CF3D’s progress and to get your hands on some NightMode action!


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mario Tomás Serrafero · Jul 30, 2015 at 02:04 pm · 3 comments

What Do You Think About Fingerprint Scanners?

More and more phones are featuring fingerprint scanners, and with many promising developments and it being natively supported on Android M, we can soon expect to see them on smartphones everywhere. If done right, it is a useful feature that allows for quick unlocking and authorization. There are concerns regarding security, but nonetheless the industry seems to be embracing it with open arms. What do you think?

DISCUSS
Aamir Siddiqui · Jul 30, 2015 at 01:20 pm · no comments

What’s Next for Samsung and Its Flagships?

If we were to say that the Galaxy S6 was a leap of faith made by Samsung, we wouldn't be too wrong. After all, the device marked a definite change in how Samsung perceived the market and its own place in it, as it stood amongst the signs of decline which started with the critical reception of the Galaxy S5. To recap, the Samsung Galaxy S5 was criticized heavily for feeling more like a toy, rather than a premium flagship...

XDA NEWS
Eric Hulse · Jul 30, 2015 at 12:24 pm · 2 comments

The Ultimate Showcase of dBrand Skins

In the search for ways to protect, accessorize, and personalize; a user has many options. One could choose a case, a “skin”, “armor”, or “wraps.” In fact, the global mobile accessory market is poised to reach a high of $62 Billion in 2017. dBrand is one of the more creative and friendly vinyl skin manufacturers around. In hopes of sharing what they can offer, our friends at dBrand sent us over some skins to have a look at. They offer...

XDA NEWS