Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle non-slotted partition in A/B OTA package #253

Open
francois90 opened this issue Apr 10, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@francois90
Copy link

commented Apr 10, 2019

  • I am running an official build of TWRP, downloaded from https://twrp.me/Devices/
  • I am running the latest version of TWRP
  • I have read the FAQ (https://twrp.me/FAQ/)
  • I have searched for my issue and it does not already exist

Device codename: tissot
TWRP version: 3.2.3-1

WHAT STEPS WILL REPRODUCE THE PROBLEM?

-Download Official Mi A1 Rom from https://en.miui.com/download-333.html and extract files
-Connect device to computer with USB
-Flash official Rom on device (on linux simply execute flash_all.sh (fastboot must be installed))
-Download TWRP for tissot (https://dl.twrp.me/tissot/)
-Download LineageOS 16 for tissot (https://download.lineageos.org/tissot)
-fastboot boot TWRP.img
-Transfer LOS.zip on device
-Install LOS.zip with TWRP

WHAT IS THE EXPECTED RESULT?

Complete installation of LOS on the device and be able to boot in the system.

WHAT HAPPENS INSTEAD?

Error applying update: 7(ErrorCode:: kInstallDeviceOpenError)
Updater process ended with ERROR: 1
Error installing zip file 'path/to/los.zip'
Updating partition details...
...done

ADDITIONAL INFORMATION

LineageOS maintainer for tissot (flex1911) created a custom variant of TWRP (https://drive.google.com/open?id=1LtLrNnL0h7alZaaOWADvc2Sf5aNkNukM) for installing LOS and said that he applied this patch : LineageOS/android_system_update_engine@27ddc72

See https://www.reddit.com/r/LineageOS/comments/bb3grz/why_does_installation_of_los16_on_tissot_require/ for details and please pay attention to flex1911's answer

/tmp/recovery.log: https://paste.omnirom.org/view/3f9fcc21
dmesg: https://paste.omnirom.org/view/52c401c6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.