Can't boot to system (lineageOS) after updating TWRP


Question

I've been using lineageOS 14.1 for a long time on my Galaxy S4 mini (gt-i9195) and recently wanted to try some apps requiring root access.
In the developer options I could set root access only to "ADB only". I tried installing su from https://download.lineageos.org/extras via TWRP but the installation failed (probably because I tried installing the arm64 version instead of arm, I'm guessing retrospectively?).
Anyway, I decided to upgrade TWRP to 3.3.1-0 (from 3.0.1-0 before I think) following random advice I found online.
I started flashing 3.3.1-0 to the recovery partition via TWRP but it got stuck while "Patching system unconditionally".
After more than an hour of this I powered off and restarted into recovery mode.



Surprisingly, TWRP now boots as version 3.3.1-0 without any issues.
However, whenever I try to boot system into lineageOS I just get the Samsung startup logo and then the screen stays black.



Any idea how I might be able to start up lineageOS again?
I would try rolling back to an older version of TWRP maybe, but I couldn't yet figure out how to get the image file onto the phone.
I tried installing adb on my desktop and plugging the phone in via USB but adb devices does not find the phone.
Might Odin work for this despite not having the standard ROM and without wiping the phone?



Unfortunately I don't have a backup, as I didn't have the storage space for it.
But while there's nothing super important on the phone I would still of course prefer not having to wipe everything.


Answer

Solved it without any data loss by putting a zip of the same LineageOS version I was using on a SD card and re-flashing with that from TWRP 3.3.1 (wiping only cache and Dalvik).



Thanks @Robert.



I still don't understand how exactly I screwed my system partition in the first place but I'm happy anyway.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes