[Galaxy S II Original Android Development] xator91:
FAQ

Q: Wakelocks "wlan_rx_wake" wake up my device constantly what I can do about it?

A: The problem is neither Android nor the kernel, but the router and the (Windows7) network. In the network properties, uncheck "IPv6", disable the service "IP Helper", "Shell Hardware Detection" and "Windows Media Player Network Sharing Service", which provide ongoing Traffic. Then they scored again 98% of deep sleep.

Q: I have setted below maximum Suspend 500 MHz, 800 MHz is also used as the step. Why is this so?

A: "The device" wakes ALWAYS at 800MHz and goes to sleep as well, regardless of which settings are made. The hardware selected 800Mhz to ensure stable operation - change by software impossible.

Q: I need the "intermediate steps", ex. 300 or 700MHz, the CPU frequency table is not. Can I change this?

A: In theory: Nope! In practice: The option of individual frequency steps is a nice gimmick but virtually unnecessary as intelligent as governor select ondemand, conservative, or the interactive dynamic frequency target. The driver provides the steps of the governor decides. Future versions of the SoC Exynos therefore also use 100MHz steps.

Q: The xxTweaker remembers any settings, what is going on?

A: If only some Tweaker settings are not applied, I made a mistake (because I forgot to add them). If no settings are applied, there is something wrong with the permissions. Either missing from the root and the tweaker or directory /data/data/net.fluxi.xxTweaker/shared_prefs chmod'ed is wrong. The latter does the installer script at startup, if you like, it can also manually delete them.

Q: When is the superuser request every action, you can turn that off?

A: Simply update the su binary file: app drawer/superuser/Preferences/ "Press to check for updates" / Important "update anyway" / "Allow"

Q: I can not download, I just get a file "download.php".

A: The Android browser does not understand the PHP script on the server. Either 1 Rename the file and provided with the correct extension, eg "download.zip" or try another browser (Opera, Chrome) or use the PC.

Q: When the device wakes up from sleep or change the lighting conditions, the display is usually too bright / dark. It then takes a few long seconds to realize it, how bright it really is and then it adjusts the brightness. Is there a fix?

A: Yes and no. First, this is completely independent of the kernel. Basically, this is a source CM9/Open Source/Samsung-****ing-and-hold-consorts-important-things-to-lock problem. The HAL is the light sensor from Samsung is not documented and can not read CM reasonable values​​. Use the open-source sensor HAL (xxTweaker | System | Exynos sensor HAL) and the CM settings for automatic brightness (CM | System Settings | Display | Automatic Brightness | Step Customize | Editing levels). However, there is the possibility that thereafter the compass haywire.

Q: Help, BLN works in applications X and Y but not Z!

A: The poor kernel is innocent. BLN is as follows: The Android app generates a notification event, it triggers the liblight module, which writes to the sysfs kernel, liblight kernel module and have to rely on the information from the user space, so the ROM. In other words, from the perspective of the kernel, either always or not working.