This reverts commit 92828016a3.
* Do not ever ever ever use this partition for anything, not even if
someone has a gun to your head. It will cause misery and make
EVERYONE want to murder someone. And only you will know it is you.
* This was the cause for the "gapps upgrade makes klte unuseable"
problem.
Change-Id: Ibd69a528a1f3df4d8146472d1dc977676c72bbed
* These branded firmware files don't actually exist in stock images,
but it is important for libbt performance that they live in the
builds. Prevent oopses.
Change-Id: I8e8cb62f978e898f4b3ef95938cb6ece6c5b51fa
Squash of the below two commits
* msm8226-common: Generate graphics vendor Makefile if missing
This allows to build CM without cloning vendor repos.
Change-Id: I87777485edc5f29c5899091176e55d28e36bb263
* msm8226-common: Fix blobs extraction with no vendor repos
Commit bff1cb1def84 ("msm8226-common: Generate graphics vendor
Makefile if missing") fixed only the generation of the makefiles,
but it didn't take care of the actual extraction of the blobs.
Change-Id: Idd38fbff554c0dac4b7cb8a867abb017bf37afc3
Change-Id: I3d6b70c8fdedfb624791fe3281c02df1c190d598
* Symlinking the files seems to be horrendously brittle. Sometimes
after a nandroid restore, the OS would helpfully "upgrade" the
symlink to the new location, causing self-directed symlink for these
criticial files.
* This actually handles the nandroid restore path.
Change-Id: If53d7ddfb7493df1526b7578be3ccf9a63997234
This is a follow-up to Ifb15e64b4c351d7195e5ad3f5d5315419790d0f8.
The change fixed a crash upon deactivation of torch mode by removing
code that forecully set or unset Zero Shutter Lag. This change results
in HDR not working anymore, but SEGFAULTing the camera instead. The
commit addressed this by disabling HDR entirely.
The present change reinstates the removed code, but executes it
conditionally only if the camera is not in torch mode. This prevents the
crash upon disabling torch mode and simultaneously leaves HDR in a
working condition.
Torch mode can only be reliably detected when it is activated by checking
whether the requested settings have a "flash-mode" of "torch" set.
Deactivation simply asks to deactivate the flash, which cannot be told
apart from the camera app requesting the same before taking a photo. The
CameraWrapper however stores the current settings, so by checking if
they contain a "flash-mode" of "torch", it is still possible to detect
the mode's deactivation. The only possible problem with this approach
could arise if the camera went directly from torch mode to camera mode
with HDR, but this apparently does not happen.
Change-Id: I71611257868b3bf86041adf7aed931cf92880ddc
* Autodetection code is not working properly, leading apps (e.g., TI
Backup) to not present the appropriate menu button/icon
* Credit to XDA user Zoomed for noting the problem and appropriate
overlay
Change-Id: I62b035f88ad212fdfe0d00ab0473f8b7119c50cb
* Our sensor firmware is weird, and breaks
when there's a batch size set
* Let's opt-out of setting a batch size in
order to fix rotation on our devices
Change-Id: I3e930087f989a2b52078872219366ea59f53a6f3
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
* These aren't any more proprietary than the audio configuration and
should be able to be edited as such
Change-Id: I08e3a2c751e680acfda591452a925553c94e57f9
* The previous path worked only because of
failsafe methods in the lights HAL.
* Point the define to our actual max brightness path.
Change-Id: Ic80ecaf4f26859a597f4fc29cd6f7143d4daac6a
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
* Initially written by crpalmer
* Changes and improvements made by:
- zwliew: Cleaned up styling
- javelinanddart: Added configs
to make hal more universal
Change-Id: Ic835901ba1537e1ae04b772e789cdaf2726d8133
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
* No apparent resolution difference
* Much smoother animation
* Much faster boot
* What's not to like?
Change-Id: I2119fe826146a3103da50b4862ad88f5950a97ec
This was previously removed in commit 1b54691
due to the fact that it was mounted in the global init.rc in Android 6.0.
In Android 7.0 however, this is no longer the case.
Hence, revive the mount.
Change-Id: I15b9571db4dd07a19b298a670f9ce6db1c4eeb63
This reverts commit b92b43c8ef.
* If your display is flickering your HW is broken, the rest of us
like our retinas intact when using the phone in the dark.
Change-Id: I07e263c76465127ddca5fb3f5d0e4655d0176ca5