# LineageOS, PlayIntegrityFix y playcurlNEXT

<figure><img src="https://1432118199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8OmP3fsuoPnoJAJysYDx%2Fuploads%2FSUB6ortueivw6pqcKayO%2Fimagen.png?alt=media&#x26;token=b44657a1-7fe6-4b55-b6db-aeeec638cbc0" alt="" width="375"><figcaption></figcaption></figure>

Preparativos:

* Magisk: <https://github.com/topjohnwu/Magisk/releases/tag/v28.1>
* PlayIntegrityFix: <https://github.com/chiteroman/PlayIntegrityFix/releases/tag/v18.7>
* playcurlNEXT: <https://github.com/daboynb/playcurlNEXT/releases/tag/v1.14>

{% hint style="warning" %}
Pruebas realizadas con las versiones de los paquetes indicadas.
{% endhint %}

Después de instalar LineageOS en el dispositivo (OnePlus 8T en mi caso) siguiendo la [guía](https://wiki.lineageos.org/devices/kebab/install/#unlocking-the-bootloader) oficial, sin reiniciar después de instalar la rom, instalamos las [Google Apps](https://github.com/MindTheGapps/15.0.0-arm64/releases/tag/MindTheGapps-15.0.0-arm64-20250214_082511) (opcional) y el modulo [Magisk](https://github.com/topjohnwu/Magisk/releases) (renombramos el fichero .apk a .zip) y lo instalamos normalmente como la rom y las gapps.&#x20;

```shell
adb -d sideload filename.zip
```

<figure><img src="https://1432118199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8OmP3fsuoPnoJAJysYDx%2Fuploads%2FhX3gVXqdQbE41TIINQiU%2Fimagen.png?alt=media&#x26;token=aa049e49-a145-4bc1-b5f7-c4df4e98aaf3" alt="" width="563"><figcaption></figcaption></figure>

Nada mas abrir la primera vez Magisk nos pedirá actualizar y reiniciar.&#x20;

Después de reiniciar habilitamos Zygisk, en la App de Magisk, entramos en Ajustes y marcamos Zygisk y reiniciamos de nuevo.

<figure><img src="https://1432118199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8OmP3fsuoPnoJAJysYDx%2Fuploads%2FqRh13EVJPANmRjD7OJUg%2Fimagen.png?alt=media&#x26;token=79967ad3-4227-4994-b177-6acd3634e872" alt="" width="375"><figcaption></figcaption></figure>

Ahora podemos marcar también la lista de denegación y seleccionar las apps, recomendable apps de banca, wallet, cla\@vePin, Waylet, chatgpt si lo tenemos... y sobre todo los servicios de google.

* `com.google.android.gms`
* `com.google.android.unstable`
* `com.google.android.gms:snet`

Y así tendríamos que tenerlo.&#x20;

<figure><img src="https://1432118199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8OmP3fsuoPnoJAJysYDx%2Fuploads%2FJOA5hlCvbPSxwFa39x7S%2Fimagen.png?alt=media&#x26;token=785eef36-4512-4101-a140-626d542e5ae6" alt="" width="375"><figcaption></figcaption></figure>

Para instalar los módulos, descargamos los ficheros .zip mencionados anteriormente, y le damos a "Instalar desde almacenamiento" en la pestaña de Módulos dentro de Magisk, seleccionamos el fichero y posteriormente reiniciamos el dispositivo.&#x20;

Los módulos instalados, (*Shamiko y Systemless Hosts aparecen deshabilitados, ya que no funcionan o al menos no me han funcionado en LinegeOS 22.1*)

<figure><img src="https://1432118199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8OmP3fsuoPnoJAJysYDx%2Fuploads%2FsaJDJ1BnYlIEPFygEvS1%2Fimagen.png?alt=media&#x26;token=49b9c63a-f929-4f15-8d30-aa807df01471" alt="" width="375"><figcaption></figcaption></figure>

Y podemos verificar que todo esta ok con la App "[SafetyNet | Integrity Checker](https://play.google.com/store/apps/details?id=com.flinkapps.safteynet)" y/o "[Play Integrity API Checker](https://play.google.com/store/apps/details?id=gr.nikolasspyr.integritycheck)"

<figure><img src="https://1432118199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8OmP3fsuoPnoJAJysYDx%2Fuploads%2FNW9CZ0ir6xxbyJrMI8bG%2Fimagen.png?alt=media&#x26;token=9a295310-9c39-4e46-969a-bb981bacf3df" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="danger" %}
Si te marcara error en MEETS\_STRONG\_INTEGRITY esta reportado en <https://github.com/chiteroman/PlayIntegrityFix/issues/579>
{% endhint %}
