Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera: Add feature extensions #1

Open
wants to merge 13 commits into
base: thirteen
Choose a base branch
from

Conversation

adrian1234a
Copy link

This change includes below commits:

Camera bringup changes system-core
Change-Id: I1cf98641eca9096bd27645e07ea802646ea1fb96

system/core: Fix for HAL compilation issues while integrating HAL 1.0
Change-Id: Iead9c1ade279b64c5cbdf4d2de1a8b695939c52a

Camera: Add enum to specify the frame type
Added enum to specify the frame type of either fd/data buffer
CRs-fixed: 654901
Change-Id: I1c0b1a2c6a1425cdb6650cdfc20ca65835a1b81f

SKULSHADY and others added 13 commits July 14, 2023 18:11
Signed-off-by: Anushek Prasal <[email protected]>
Sometimes we need to override ro.* properties by using our vendor init
extension.

Previously there was a security check which was blocking that.
To resolve the issue, we need to weaken the security check during the
execution of our vendor init extension.

This is safe because the vendor init extension gets executed as part of init
construction and it is considered a trusted system component.

Change-Id: I6095bbf92267fcb78ab53f37b5d7b443239ce80b
Signed-off-by: Anushek Prasal <[email protected]>
Doing this in the userspace allows more properties to be spoofed
and eliminate the needs for a hack in the kernel.

Change-Id: I6ad755c085491c958c8a7d75db7df2c8e5481a55
Signed-off-by: Anushek Prasal <[email protected]>
aswinas@pixysos: add some more props from magisk hide to userspace hack by arter97

Change-Id: Ib6ad1df4582a2f8333b0cbf650e79e947f6576d0
Signed-off-by: Anushek Prasal <[email protected]>
Change-Id: I1664b3b3fa0fc87bda683d53a56645f6d974ce01
Signed-off-by: Anushek Prasal <[email protected]>
Change-Id: I5c675e3391cc48a95ab9186047e9e9effca95406
Signed-off-by: Anushek Prasal <[email protected]>
Also reformat code

Change-Id: I4c0bcb61fea5a7b051c3a770d34a3a09f17db1c4
Signed-off-by: Anushek Prasal <[email protected]>
The real prop values must be retained in recovery/fastbootd in
order for fastbootd to allow/deny flashing correctly based on the
bootloader lock state. This is accomplished by checking androidboot keys
in the kernel cmdline and bootconfig (necessary on Pixel 6), and not
spoofing anything if the boot isn't a normal full-blown Android boot.

@jhenrique09 - Adapt to PE

Change-Id: I8795b16a90eea4e5a03f64a7a56478f01144256b
Signed-off-by: Anushek Prasal <[email protected]>
Change-Id: Ic0ddbd6a0dd40c877248f7864082eddab2b32366
Signed-off-by: Anushek Prasal <[email protected]>
Checking androidboot.mode properties will never work on devices where this
property is always absent, primarily non-Pixel devices.

Use existing IsRecoveryMode() check instead which is ugly, but works for this
very purpose.

Change-Id: Idc79fb2bf45f0416b242a1e1aa12bdb07bcf56b9
Signed-off-by: Albert I <[email protected]>
Signed-off-by: Alexander Winkowski <[email protected]>
Signed-off-by: Anushek Prasal <[email protected]>
PixelExperience/android-issues#1008
Change-Id: I4d611ee8b8490832b310fca48f2576fc9790d483
Signed-off-by: Anushek Prasal <[email protected]>
Change-Id: Icef14fa8b2ea353e3ba7cd2c6d1573dbc82474a1
Signed-off-by: xyyx <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
Signed-off-by: Anushek Prasal <[email protected]>
This change includes below commits:

    Camera bringup changes system-core
    Change-Id: I1cf98641eca9096bd27645e07ea802646ea1fb96

    system/core: Fix for HAL compilation issues while integrating HAL 1.0
    Change-Id: Iead9c1ade279b64c5cbdf4d2de1a8b695939c52a

    Camera: Add enum to specify the frame type
    Added enum to specify the frame type of either fd/data buffer
    CRs-fixed: 654901
    Change-Id: I1c0b1a2c6a1425cdb6650cdfc20ca65835a1b81f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants