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.
Aamir Siddiqui · Apr 1, 2015 at 04:30 am · no comments

OnePlus DR-1 Quadcopter Drone Available for Purchase

OnePlus has been teasing a new product for a while now, hailing it as a game-changer which isn't a tablet or a smartwatch. While speculations were rife about what this game-changing device could be, the company did confirm that the product was indeed a drone in their recent AMA. A tweet and vine from OnePlus shed some more light on this product, which was confirmed to be named as DR-1 (dr-one, get it?) and was to reach stores "next month". In a...

XDA NEWS
Emil Kako · Mar 31, 2015 at 06:55 pm · 3 comments

What’s Your Biggest Reason for Not Owning an iPhone?

With XDA being a community of Android enthusiasts, it is not uncommon to see lots of bashing on Apple's iPhone here. There are different reasons for the hate, but we'd like to hear your number one reason for not going with the iPhone. Let us know your thoughts below!

DISCUSS
Mario Tomás Serrafero · Mar 31, 2015 at 11:55 am · 3 comments

Xiaomi Finally Releases Kernel Sources

If you are familiar with Xiaomi, you might have heard that they are not the most compliant when it comes to the General Public License that makes the core of Android open to us. The terms of the GPLv2 state that since the Android kernel is based on the Linux kernel, which is licensed under GPL,v2 Android has to be open-source for everyone to study or modify, and those that modify the Android kernel have to make their sources immediately available for...

XDA NEWS
Share This