Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Add ih8sn configurations for SafetyNet compatibility

Aayush Gupta requested to merge 118devices-q-x2SafetyNet into v1-q

Description

This MR intends to add configuration for ih8sn on X2 to make CTS tests pass by setting required fake properties.

Issue(s)

https://gitlab.e.foundation/e/devices/backlog/-/issues/118

Test environment

Prepare a build with the following parameters:

  • DEVICES: X2
  • BRANCH_NAME: v1-q
  • FEATURE_BRANCH: 118devices-q-x2SafetyNet

Test procedures

  • Install the build and notice that the CTS tests now pass.

Technical details

  • As X2 is not a GMS-certified device, we use properties from Google Pixel 6 Pro instead. These values have been obtained from a Magisk Module called MagiskHideProps.

Checklist

  • Self-review
  • Test procedure explained
  • Tested on a fresh install
  • Tested applied as an update
Edited by Aayush Gupta

Merge request reports

Loading