[Galaxy S III Original Android Development] curiousrom:
LineageOS Update Fail? OTA & TWRP Recovery Log

Proper Troubleshooting Info

You did say not which LineageOS update error messages you are getting exactly and you did not describe your system setup which makes proper troubleshooting suggestions difficult.

What is your TWRP version number? In TWRP > Settings > General > Zip signature verification must be unchecked (off) because the LineageOS downloads do not support that feature.

Did you install Magisk, a custom kernel, Substratum, Xposed or made some system modifications of any kind?

For example: I am running 100% stock Official Lineage 14.1 on the S3 i9300 (currently 2018-09-13) + Open Gapps ARM Pico + Lineage ARM super user add-on with twrp-3.2.3-0-i9300 @ the present. No system modifications. I cut & paste this from a .txt doc so I don't have to type it every time.

***

OTA LineageOS Update Fail & Recovery Log

Try this first: > Settings > About phone > LineageOS updates > the Updater automatically checks the Lineage secure digital signature of the package & if the download is corrupted it will fail. In that case long press the bad download & select Delete.

Or is it when the phone automatically reboots to install the update that it fails when in TWRP and running it's updater script?

If the LineageOS update fail happened when in the Recovery phase & it automatically rebooted to System: if rooted you can copy /cache/recovery/last_log to sdcard which is the TWRP's last log that you can rename to Recovery_log_Updater_Error.txt for example.

If not rooted you can use TWRP > Advanced > File Manager or ADB - Android Debug Bridge to do it.

Could you set the system language to English & take a screenshot of the Updater error?

***

Updating Manually with TWRP Fail & Backup

You said you also failed using TWRP to manually update after downloading again the update.

1- To make absolutely sure your LineageOS download is not corrupted: go to the i9300 download page https://download.lineageos.org/i9300 and click on the sha256 link for the build you downloaded and check the sha256 checksum of your download.

You can use an app like Hash Calc (Checksum Utility), navigate to the download, calculate the sha256 & compare to the info from the Lineage download page. Comparing visually the last 6 digits is usually enough.

Or use a utility like Hash Checker if the download is on your PC for example but it's better to check in the phone as corruption may happen when copying the download from computer to phone.

Note in About phone > LineageOS updates > if you long press a download & select Export update it will make a copy from /data/lineageos_updates/ to internal sdcard/LineageOS updates/ folder and then you can use Hash Calc which is not root enabled so it cannot navigate to /data/.

That LineageOS Updater Export feature is great for people without root IMO as they can't navigate to /data/lineageos_updates/ using a root enabled file explorer to copy the downloads to external sdcard for safekeeping or reflash for example. Note that in TWRP > Advanced > File Manager you can do it even if not rooted.

2- TWRP > Home > Backup > Select Storage > Micro SD card then make a backup of EFS, Boot, System & Data to be on the safe side especially because you are having update problems and back to Home afterwards.

Backup tip: to make the Data partition (apps) backup smaller while in System go to: Settings > Storage > Internal shared storage > Cached Data > Clear cached data (...for all apps) and obviously uninstall all the apps you don't really need.

3- Try again to update using TWRP and make sure Zip signature verification is unchecked.

4- If it fails capture a screenshot of the error(s) with press and hold Volume down and tap on Power button. You will see a flash. Screenshots will be saved in: /external_sd/Pictures/Screenshots.

5- Back to Home > Advanced > Copy Log: Copy recovery.log to /external_sd/recovery.log. And TWRP will tell you where the log & screenshots were copied like in the attached screenshot.

6- Reboot to System > navigate to external sdcard > select recovery.log > Rename File > revovery_log_error.txt and please attach it to your reply & some TWRP screenshots if you can.

Or navigate to /cache/recovery/last_log as described above if you did not Copy Log while in TWRP Recovery & rebooted to System.

Please report back if you fixed your problem or not. :cool:

***

Useless Update?

Since you posted this on 2018-09-17 I guess that you installed 2018-09-13 if so the 2018-09-20 build will update absolutely nothing as described in this post on the previous page LineageOS S3 i9300 2018-09-20 - Another Build With No Changes. :eek:

But anyway it's a good thing to find the reason why the update failed & to fix it.

***