Advertisement
Guest User

Untitled

a guest
Jul 28th, 2022
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. Hello,
  2.  
  3. Here is my method, which is basically very similar.
  4.  
  5. Requirements:
  6.  
  7. - the custom ROM is available. It is best to rename it to a simple name, e.g. "rom.zip"
  8. - Download Nikgapps Full...rename to "gapps.zip"
  9. - Pixel Experience Recovery must be installed
  10.  
  11. Basics:
  12.  
  13. - If you want root, patch the "boot.img" via Magisk (24.3) in advance. Save the patched "boot.img" on the PC.
  14. - you can customize the installation packages for Nikgapps using the "nikgapps.config" (located in the "afzc\" folder in the "gapps.zip". That's why the Full Package, because you can configure it as you like.
  15. To do this, set the value for "use_zip_config" to "1" in "nikgapps.config" --> "use_zip_config=1". Now the packages in the config can be selected or deselected with "0" or "1". Attention : The Velvet package is also required for a working Assistant.
  16.  
  17. Steps:
  18.  
  19. - boot into PE Recovery, wipe everything under "Factory reset", i.e. system, data and cache (note: this point only applies to a new installation).
  20. - then "Apply update" --> "Apply from ADB"
  21. - in ADB "adb sideload rom.zip"
  22. - reboot into PE Recovery
  23. - in ADB "adb sideload gapps.zip"
  24. - "Factory reset" --> "format data/factory reset" (again)
  25. If root is desired:
  26. - reboot into the bootloader (fastboot)
  27. - here then "fastboot flash boot boot.img"
  28.  
  29. That's it! The phone should now be directly encrypted. No DFE is needed anymore.
  30.  
  31. Install future updates as follows:
  32.  
  33. - in ADB "adb sideload "rom_update.zip"
  34. - see if the phone boots into the system
  35. - if not --> "adb sideload gapps.zip"
  36. - boot into the system
  37. If root:
  38. - Patch "boot.img" from "rom_update.zip" (in advance...BEFORE the update, save on the PC)
  39. - flash via using "fastboot flash boot boot_update.img".
  40.  
  41. I hope the explanation helps one or the other. In any case, it works very well for me!
  42.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement