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

Commits on Jul 14, 2023

  1. core: Init Havoc

    Signed-off-by: Anushek Prasal <[email protected]>
    SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    dcedc0b View commit details
    Browse the repository at this point in the history
  2. init: Weaken property override security for the init extension

    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]>
    TheCrazyLex authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    67b5f2d View commit details
    Browse the repository at this point in the history
  3. init: workaround SafetyNet check

    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]>
    arter97 authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    7f45f99 View commit details
    Browse the repository at this point in the history
  4. init: add vendor.* keys to spoof safetynet

    aswinas@pixysos: add some more props from magisk hide to userspace hack by arter97
    
    Change-Id: Ib6ad1df4582a2f8333b0cbf650e79e947f6576d0
    Signed-off-by: Anushek Prasal <[email protected]>
    osm0sis authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    cab99a5 View commit details
    Browse the repository at this point in the history
  5. init: Weaken property override security only when spoofing safetynet

    Change-Id: I1664b3b3fa0fc87bda683d53a56645f6d974ce01
    Signed-off-by: Anushek Prasal <[email protected]>
    jhenrique09 authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    3bc5147 View commit details
    Browse the repository at this point in the history
  6. init: Only set safetynet props if not eng build

    Change-Id: I5c675e3391cc48a95ab9186047e9e9effca95406
    Signed-off-by: Anushek Prasal <[email protected]>
    jhenrique09 authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    ee28949 View commit details
    Browse the repository at this point in the history
  7. core: Add more props for snet spoofing

    Also reformat code
    
    Change-Id: I4c0bcb61fea5a7b051c3a770d34a3a09f17db1c4
    Signed-off-by: Anushek Prasal <[email protected]>
    jhenrique09 authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    a04e814 View commit details
    Browse the repository at this point in the history
  8. init: Check for fastbootd before spoofing safetynet props

    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]>
    kdrag0n authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    c332cec View commit details
    Browse the repository at this point in the history
  9. init: Spoof more props

    Change-Id: Ic0ddbd6a0dd40c877248f7864082eddab2b32366
    Signed-off-by: Anushek Prasal <[email protected]>
    jhenrique09 authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    4e94eec View commit details
    Browse the repository at this point in the history
  10. init: Use IsRecoveryMode() for normal boot checks

    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]>
    krasCGQ authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    8f286f1 View commit details
    Browse the repository at this point in the history
  11. hosts: Block OTA downloading from GMS

    PixelExperience/android-issues#1008
    Change-Id: I4d611ee8b8490832b310fca48f2576fc9790d483
    Signed-off-by: Anushek Prasal <[email protected]>
    jhenrique09 authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    abd84dd View commit details
    Browse the repository at this point in the history
  12. core: Lockscreen Charging (2/3)

    Change-Id: Icef14fa8b2ea353e3ba7cd2c6d1573dbc82474a1
    Signed-off-by: xyyx <[email protected]>
    Signed-off-by: Pranav Vashi <[email protected]>
    Signed-off-by: Anushek Prasal <[email protected]>
    xyyx authored and SKULSHADY committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    5d450ae View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Camera: Add feature extensions

    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
    adrian1234a authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    b080907 View commit details
    Browse the repository at this point in the history