/* The in-OS update was giving problems w/ the fsck'g 'error 7'. The issue was that newer kernel version required newer firmware (from Oneplus of course). Thus, have to update firmware as well.
Also - the in-OS upgrade does not move from 14.x to 15.y -> thus, have to use TWRP recovery. all in all - full update of firmware, TWRP recovery and lineage*/
(+) TWRP update to 3.2.2
(+) Backup /boot , /system, /data
(+) The firmware to 5.0.3 (latest stable release of Oxygen OS)
(+) Lineage 15.1 + GApps 8.1
TWRP update to 3.2.2:
1: download the file from: https://twrp.me/oneplus/oneplusthree.html . Directly on phone. If on laptop have to adb push it to /sdcard
2: Recovery boot (this works coz I have TWRP >2.8.4 already installed)
3: Select: Install -> press image -> file name appears (.img ext) -> select and apply
4: Reboot to recovery
5: make /sdcard modifiable
6: Backup the 3 partitions: boot system data
7: per the forums /sdcard is not wiped ... so we live dangerously
8: Reboot-> system
9: Go into /sdcard/TWRP/BACKUPS/<random chars> folder
10: Using Ghostcommander create a zip of the backuped folder (6_Jul_2018.zip)
11: adb pull the backup from /sdcard/TWRP/BACKUPS/<randomChar>/6_jul_2018.zip
For Firmware:
lot of direct links provided on XDA -- but can you trust them >:).
1: Download from the mothership:
2: Checksum verification (md5 - seriously... in 2018)
3: Looking at all the direct link dicey zips- seems they are removing certain files+folders and using the rest of the stuff - radio firmware etc.
4: diff the fake unzip listing w/ the mothership zip listing
5: remove the additional stuff:
del all <following> files in the root folder (leave the dir as-is):
system.patch.dat
boot.img
system.new.dat
system.transfer.list
6: Gotta use a bit GUI - but before that some gyaan:
the ZIP files used for TWRP are actually JAR (file <filename>).
Best way- so as to not mess w/ the archive is to use nautilus.
Double click on archive (opens up file-roller utility)
Select and Delete the 4 files
Go into the META-INF/com/google/android/ directory
double click on "updater-script"
The script first tries to install various system & boot files - the stuff we have deleted from zip .... so delete all these lines
Close & save file-roller.
7: RENAME file to onlyFirmwareExtract_5.zip
8: adb push onlyFirmwareExtract_5.zip /sdcard/
9: Recovery boot
10: Install the zip
11: Reboot -> system
Upon reflection - the firmware business could have been done manually as well. Unzip, delete, edit and then use jar -c -f onlyFirmwareExtract_5.zip ./* /* in the dir itself*/
Lineage + GApps - has to be done together:
2: For GApps choose ARM64_mini version
3: adb push the two files /sdcard
4: Recovery boot
5: UNCHECK REBOOT Option: Install lineage-15.1-20180703-nightly-oneplus3-signed.zip
6: Install Gapps
7: Reboot -> system
JHAKAAS 😁👍💀
Comments
Post a Comment