getting custom rom on one-plus

root: search in devices https://twrp.me/Devices/

https://twrp.me/oneplus/oneplus7tpro.html

first problem: phone is in factory reset protection state so i have to access gmail account -> solution press power button till selection menu appears select emergency -> select add new contact -> deny access -> go to settings -> select permissions -> search for chrome -> search app or setting -> setting(app info)-> setting’s app info -> open -> addiotional settings -> backup and reset-> factory reset

take backup: install neo backup download apk release from github and put on flash drive in phone enable otg storage install from

how to enable developer mode: go info fast boot (power off, then hold volume down with power) then select fast boot while in there gotta connect to pc to perform fastboot oem unlock but device wo’nt be recognized right way just lsusb with it connected and disconnected to see whihc one it is then add it to /etc/udev/rules.d/51-android.rules in my case: SUBSYSTEM"usb", ATTRS{idVendor}“18d1”, MODE=“0666” GROUP=“plugdev”

NOOO that doesn’t work just do sudo $(which fastmode) devices and that’s the real device

set twrp as recovery: download both image and zipped versions of twrp rename image to twrp.img reboot phone into recovery: fastboot boot twrp.img adb push ./twrp-installer-3.6.1_11-0-guacamole.zip “/sdcard/” in twrp go to install select zip and swipe once done go back to home and select reboot -> system

Get magisk: Download the magisk .apk to your phone and install it. Rename .apk to .zip and reboot to your recovery by holding volume up and home while powering on.

If using TWRP Tap Install Tap Install Zip to toggle the button Select the magisk .zip file and flash Reboot

if wanting to do this then we should create a copy of magisk and call it uninstall if get stock in boot loop: hold power and volume up to get to twrp then just install the uninstall file

setup magisc so it can be hidden from certain apps: 1-Enable Zygisk in the Magisk app’s options, do the same for the Denylist

2-Configure the Denylist with the apps you wish to hide root from

3-Install Universal Safetynet Fix https://github.com/kdrag0n/safetynet-fix/releases and reboot

That should be about it for now

Getting Apps

FDroid as an apt repo installing FDroid -> not the apk get fdroid with priviliaged extension so it can handle auto update, removal and installs go https://f-droid.org/en/packages/org.fdroid.fdroid.privileged/ download zip and install in twrp adb push ./org.fdroid.fdroid.privileged.ota_2130.zip “/sdcard/”

apps to install

adaway : adblocker k9 mail : email neo backup: backups

https://www.sindastra.de/p/856/fastboot-adb-flash-android

settings:

adavanced restart