Hi thank you in advance to everyone before hand for your time and assistance.
So I am currently having this issue, I have a Xiaomi Redmi Note 8 Pro, and I installed Ubuntu touch on it a long time ago, and I used to love it however, I realized that the project for that specific model was abandoned since there were no updates, even up to this date it has not received an OTA update and is currently sitting on version 2021/09/21, and despite my efforts to get Waydroid working properly I just managed to get it barely up and running, thanks to TheKit btw, after seeing no updates, probably due to low demand or usage on that specific device, I gave up and decided to return the device to Android.
It bricked, somehow I managed to get it up and running once more, however on Android using the stock rom MIUI baseband and IMEI showed as unknown, after looking for a way to restore the IMEI through software, it was possible but it required a backup of the NVRAM and NVDATA partitions, which I did not have access to from Android and sadly I did not back up before installing UT, and the only other solution I found on how to fix it, was through hardware modification which is beyond my level of skill, so I decided to install UT once more to see if it somehow UT had something to do with the IMEI missing on Android, to my surprise on UT the IMEI can be read just fine, it shows on my settings listed and somehow UT is able to communicate with the modem to connect to network through SIM, which makes me wonder if UT encrypts the NVRAM/NVDATA partition in a way that Android can not read it afterwards or just formats in a way that Android can not see it, and this is the reason why I am here.
I need some assistance with the following, in Android is possible to make a back up of the different partitions, and through a rooted device you can re-flash the parameters for the IMEI to restore it, so since UT can read these partitions and files, I need to know if I am able to extract the NVRAM.bin file through UT and the NVDATA.img partition, so that I can after flashing Android back, use this two specific partitions extracted from UT to restore the IMEI on Android. so how can I back up these partitions on UT? is this something even possible? and if possible would these files be compatible with Android?
if you read all the way to this point, I thank you for your time and any advice!
Regards,