send me ur logo.bin ill edit itanother question , how to change offline battery charging anymation to colored ? in logo.bin
some images will be conflicting so itll need heavy modification
send me ur logo.bin ill edit itanother question , how to change offline battery charging anymation to colored ? in logo.bin
Have you formated userdata?hey @VR25 just asking, i have finally found my nokia 2.2 (sadly bootlooping) i reinstalled android 11 but there is something strange
after running fstab patcher
the phone will refuse to boot
no i haventHave you formated userdata?
fastboot format userdata
fastboot erase metadata
I haven't tested running the stock ROM without encryption; went straight to a GSI after patching fstab.
any luck with modification?send me ur logo.bin ill edit it
some images will be conflicting so itll need heavy modification
not got around to it, been trying to get a custom rom on this phone
Gsi works on any deviceIm found simlar custom rom for android 10 firmware like Lineage OS, name CrDroid 6.11 v224 gsi (maded for Samsung A series) and works good on Nokia 2.2Gapps are inducled , installed with regular Fastboot install method
![]()
i know, but not all
what's the problem ?? !!!It turns out non-Google GSIs (Android 10-12) fail to boot due to userdata encryption.
Magisk cannot disable encryption on Nokia 2.2.
One must patch /vendor/etc/fstab.* and then format userdata to get rid of encryption.
I did it and wrote a script to automate the patching.
I'm now running the latest PHH GSI (Android 12).
Steps: (follow at your own risk!)
1. Download fstab-patcher, run it as root, on terminal or adb shell, and follow the instructions.
Bash:$ su # sh /sdcard/Download/fstab-patcher.sh
2. fastboot --disable-verity --disable-verification flash vbmeta /path/to/stock-vbmeta/image
or
fastboot flash vbmeta /patched/vbmeta/image (from Google)
3. fastboot flash system /path/to/GSI
4. fastboot format userdata
5. fastboot reboot
Notes
- NDKLite variants work better on this device than the default VNDK flavors.
- I'm on the latest firmware base (Android 11, November 2021 security patch), but the patching should work even for those who are on Android 10.
- Update the inactive slot to benefit from seamless GSI upgrades. I wrote inactive-slot-updater.sh for this.
Bash:$ su # sh /sdcard/Download/inactive-slot-updater.sh
First of all cd into /sdcard/Downloadwhat's the problem ?? !!!
WSP_sprout:/ # sh /sdcard/Download/fstab-patcher.sh
: inaccessible or not foundher.sh[6]:
: No such file or directory
: inaccessible or not foundher.sh[9]: }
: inaccessible or not foundher.sh[10]:
: unknown option/fstab-patcher.sh[13]: set: -
1|WSP_sprout:/ #
same problem
Hi, thanks for the instructions. I was about to try it myself. But before that, can you please tell me if you encountered any bugs or crashes? Did the headphone jack work? VoLTE? Cameras? Quick Setting Tiles? Anything weird? And also, various Nokia 2.2 had a weird screen brightness issue which was finally fixed in Android 11, is that there in android 12? ThanksIt turns out non-Google GSIs (Android 10-12) fail to boot due to userdata encryption.
Magisk cannot disable encryption on Nokia 2.2.
One must patch /vendor/etc/fstab.* and then format userdata to get rid of encryption.
I did it and wrote a script to automate the patching.
I'm now running the latest PHH GSI (Android 12).
Steps: (follow at your own risk!)
1. Download fstab-patcher, run it as root, on terminal or adb shell, and follow the instructions.
Bash:$ su # sh /sdcard/Download/fstab-patcher.sh
2. fastboot --disable-verity --disable-verification flash vbmeta /path/to/stock-vbmeta/image
or
fastboot flash vbmeta /patched/vbmeta/image (from Google)
3. fastboot flash system /path/to/GSI
4. fastboot format userdata
5. fastboot reboot
Notes
- NDKLite variants work better on this device than the default VNDK flavors.
- I'm on the latest firmware base (Android 11, November 2021 security patch), but the patching should work even for those who are on Android 10.
- Update the inactive slot to benefit from seamless GSI upgrades. I wrote inactive-slot-updater.sh for this.
Bash:$ su # sh /sdcard/Download/inactive-slot-updater.sh
Since gsi relays on vendor to load stuff like drivers I presume the brightness issue is gone as it's using android 11 driversHi, thanks for the instructions. I was about to try it myself. But before that, can you please tell me if you encountered any bugs or crashes? Did the headphone jack work? VoLTE? Cameras? Quick Setting Tiles? Anything weird? And also, various Nokia 2.2 had a weird screen brightness issue which was finally fixed in Android 11, is that there in android 12? Thanks
yepp , thats rightFastboot > flash system > flash vbmeta from stock OS (Android 9) > fastboot -w > reboot
Right?
To moderators: There's no Nokia 2.2 forum in XDA-Developers, please move this topic when available.
To content farms: DO NOT COPY AND PASTE THE ENTIRE GUIDE!
nvcfg.img
nvram.img
proinfo.img
protect1.img
protect2.img
fastboot flashing lock_critical
fastboot oem unlock
sec1.img
seccfg.img
nvcfg.img
nvram.img
proinfo.img
protect1.img
protect2.img
sec1.img
seccfg.img
adb shell
su
dd if=/storage/emulated/0/nvcfg.img of=/dev/block/bootdevice/by-name/nvcfg
dd if=/storage/emulated/0/nvram.img of=/dev/block/bootdevice/by-name/nvram
dd if=/storage/emulated/0/proinfo.img of=/dev/block/bootdevice/by-name/proinfo
dd if=/storage/emulated/0/protect1.img of=/dev/block/bootdevice/by-name/protect1
dd if=/storage/emulated/0/protect2.img of=/dev/block/bootdevice/by-name/protect2
dd if=/storage/emulated/0/sec1.img of=/dev/block/bootdevice/by-name/sec1
dd if=/storage/emulated/0/seccfg.img of=/dev/block/bootdevice/by-name/seccfg