[Nokia 5 Guides, News, & Discussion] wolfyapl:
Thanks [MENTION=7601808]hikari_calyx[/MENTION]

DO AT YOUR OWN RISK EVEN THOUGH IT WORKED FOR ME!

What you need:

-Nokia 5 TWRP: https://pan.baidu.com/s/1kVyzgvd

-ADB: https://dl.google.com/android/repository/platform-tools-latest-windows.zip

Firstly, you need to install ADB, the way that's most convenient for you. Then do as following

-Unlock bootloader like in this post: https://xdaforums.com/nokia-5/development/guide-temporary-unlock-bootloader-to-t3746947

-Open command prompt in ADB folder, flash the recovery while still in download mode

-When it says OKAY, hold vol up + power and reboot at the same time, it'll boot to recovery

-When it's done booting to recovery, click the 3-dotted circle, choose SuperSU root, slide, wait until finished, then reboot

-Boot to recovery again and do as above to get root access

Credit:

[MENTION=3599409]blackpanther0582[/MENTION] for the firmware

[MENTION=8518023]Quixote78[/MENTION] for OST LA and patch

[MENTION=7601808]hikari_calyx[/MENTION] for the OST method

[MENTION=8487526]dimonolog2008[/MENTION] for the motivation for me to do this

[MENTION=5410515]xinkid[/MENTION] for the Nokia TWRPs

Anyone else that involved

WARNING:

-You have to boot to RECOVERY right AFTER FLASHING otherwise your phone won't boot

-DO NOT use any SuperSU zip outside of this recovery

POST INSTALLATION

-They have an English theme (https://xdaforums.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584). If you can't see the SuperSU option, flash the original theme in \sdcard\twrp\theme\ui.zip

-Use below zip file for SuperSU root instead of that on SuperSU homepage

-Power-on sound and bootanimation is in /system/CDA/600xx

-Change build.prop and add nexus.xml to /system/etc/ (and set permission rw-r--r--) for full AOSP vibe

-Turn of system update related services, activities and permission in LP, choose Change component (Google Play Services) --> pm disable --> search for "update"

-You can use Xposed, and GravityBox runs perfectly. As of version 88.2, some problems occured with Nov update

-Remove SuperSU that comes with the recovery and download it again from the Store if you want to

-Do not setenforce or reflash the Gapps unless you want to be locked out of your account

-Do not reflash data partition (with pattern lock) as bootloader is still locked

-The virtual drive with Driver is in /hidden/custom.iso

-Update partition dump

major minor #blocks name

7 0 98304 loop0
254 0 1048576 zram0
179 0 15388672 mmcblk0
179 1 1536 mmcblk0p1 modemst1
179 2 1536 mmcblk0p2 modemst2
179 3 1536 mmcblk0p3 fsg
179 4 1 mmcblk0p4 fsc
179 5 8192 mmcblk0p5 securefs
179 6 2048 mmcblk0p6 rf_nv
179 7 1024 mmcblk0p7 deviceinfo
179 8 86016 mmcblk0p8 modem
179 9 8 mmcblk0p9 ssd
179 10 512 mmcblk0p10 sbl1
179 11 512 mmcblk0p11 sbl1bak
179 12 512 mmcblk0p12 rpm
179 13 512 mmcblk0p13 rpmbak
179 14 2048 mmcblk0p14 tz
179 15 2048 mmcblk0p15 tzbak
179 16 256 mmcblk0p16 devcfg
179 17 256 mmcblk0p17 devcfgbak
179 18 16384 mmcblk0p18 dsp
179 19 32 mmcblk0p19 DDR
179 20 16 mmcblk0p20 sec
179 21 11264 mmcblk0p21 splash
179 22 1024 mmcblk0p22 aboot
179 23 1024 mmcblk0p23 abootbak
179 24 65536 mmcblk0p24 boot
179 25 65536 mmcblk0p25 recovery
179 26 1024 mmcblk0p26 devinfo
179 27 16384 mmcblk0p27 reserved
179 28 65536 mmcblk0p28 ftmboot
179 29 2048 mmcblk0p29 cust_nv
179 30 2048 mmcblk0p30 default_nv
179 31 1024 mmcblk0p31 hwcfg
259 0 1 mmcblk0p32 sutinfo
259 1 256 mmcblk0p33 systeminfo
259 2 32768 mmcblk0p34 ftmlog
259 3 8192 mmcblk0p35 box
259 4 16384 mmcblk0p36 multi_splash
259 5 40960 mmcblk0p37 hidden
259 6 8192 mmcblk0p38 cda
259 7 16384 mmcblk0p39 reserved_bak
259 8 32768 mmcblk0p40 persist
259 9 1024 mmcblk0p41 misc
259 10 512 mmcblk0p42 keystore
259 11 32 mmcblk0p43 config
259 12 262144 mmcblk0p44 oem
259 13 32 mmcblk0p45 limits
259 14 512 mmcblk0p46 mota
259 15 1024 mmcblk0p47 dip
259 16 32768 mmcblk0p48 mdtp
259 17 512 mmcblk0p49 syscfg
259 18 4096 mmcblk0p50 mcfg
259 19 256 mmcblk0p51 cmnlib
259 20 256 mmcblk0p52 cmnlibbak
259 21 256 mmcblk0p53 cmnlib64
259 22 256 mmcblk0p54 cmnlib64bak
259 23 256 mmcblk0p55 keymaster
259 24 256 mmcblk0p56 keymasterbak
259 25 256 mmcblk0p57 apdp
259 26 256 mmcblk0p58 msadp
259 27 8 mmcblk0p59 dpo
259 28 4193280 mmcblk0p60 system
259 29 262144 mmcblk0p61 cache
259 30 65536 mmcblk0p62 logdump
259 31 9490415 mmcblk0p63 userdata
179 32 4096 mmcblk0rpmb
179 64 15558144 mmcblk1
179 65 15549896 mmcblk1p1
253 0 9490399 dm-0
7 8 14512 loop8