![]() ![]() Package_extract_file("firmware-update/abl.elf", "/dev/block/bootdevice/by-name/abl") Package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tz") Package_extract_file("firmware-update/pmic.elf", "/dev/block/bootdevice/by-name/pmic") Package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hyp") Package_extract_file("firmware-update/cmnlib.mbn", "/dev/block/bootdevice/by-name/cmnlib") Package_extract_file("firmware-update/cmnlib64.mbn", "/dev/block/bootdevice/by-name/cmnlib64") Package_extract_file("RADIO/static_nvbk.bin", "/dev/block/bootdevice/by-name/oem_stanvbk") Package_extract_file("boot.img", "/dev/block/bootdevice/by-name/boot") Ui_print("Patching vendor image unconditionally.") īlock_image_update("/dev/block/bootdevice/by-name/vendor", package_extract_file(""), "", "") ||Ībort("E2001: Failed to update vendor image.") Ui_print("Patching system image unconditionally.") īlock_image_update("/dev/block/bootdevice/by-name/system", package_extract_file(""), "", "") ||Ībort("E1001: Failed to update system image.") Is_part_existed("/dev/block/bootdevice/by-name/vendor") || abort("vendor partition is not existed, exit ota!!") The updater-script in META-INF/com/google/android/update-script contains the following code: getprop("ro.ries") = "OnePlus 5T" || abort("E3004: This package is for \"OnePlus 5T\" devices this is a \"" + getprop("ro.ries") + "\".") Maybe using fastboot flash PARTITION and some other command to do the backup? What I would like to do is to simply flash "the firmware" and only the firmware without losing data on my internal storage and also not my app data, contacts, sms, wifi passwords, bluetooth pairings etc etc.Īnd before that I would like to create a backup of my old firmware so that I can go back in case it goes wrong.Ĭan this be done? Can it be done with fastboot? I'm pretty sure that this is the complete stock ROM, meaning if I were to install it, it would wipe everything and replace my LineageOS with the stock ROM. I'm not exactly sure what firmware means in this context and where to get it, but looking at the website, there is this download for a zip file with the following contents: I would like to simply try the new firmware and revert in case anyhting goes wrong without losing any data. In addition to that I don't have a full backup of my device because I'm using encryption and TWRP doesn't understand it. I have a OnePlus 5T and I can't install OTA updates anymore because my firmware is too old.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |