Unable to install ROM with adb sideload or other methods on LG G3 d855


Question

I have an LG G3 (d855) phone on which I had Cyanogenmod 14 and which I wanted to upgrade to LineageOS.



I booted to recovery, wiped everything and tried using adb sideload to load the image, but it failed at 47% with cannot verify whole file signature and cannot load volume /misc errors.



I verified the md5sum of the image, tried the other images available and also an AOKP image, and the symptoms are always the same.



I don't seem to have access to another way of loading an image on the phone, I was not able to enter download mode (I only get either a black screen or a battery picture), and the recovery mode seems to accept adb connections so I cannot push an image on it (I get a adb: error: connect failed: device unauthorized. This adb server's $ADB_VENDOR_KEYS is not set error). And of course having wiped the system, I cannot do anything from here.



Edit : I've been able to start the phone in download mode by using a different USB cable. However, I cannot find a tool on Linux to upload an image to it. Some sites say that heimdall should support it but it seems they are misleading as heimdall itself only claims to support Samsung devices.


Answer

So I was finaly able to solve my problem :




  1. Apparently the failure of adb sideload at exactly 47% is a known bug on TWRP, so I would assume that it's the same bug bitting me on Cyanogen recovery.


  2. Anyway, if the recovery doesn't allow to install a ROM, there is the download mode (volume UP and plug in an USB cable).


  3. If download mode doesn't work, try it with another USB cable (such as the one that came with the phone)


  4. Have a Windows install available either physically or in a VM as LG couldn't bother supporting other OSes.


  5. Follow this tutorial to reinstall the original LG ROM, but at step 7 tick the "Board DL" box as not to get stuck on "Factory Reset Status 2" such as explained in this reddit thread (doesn't seem to be a problem for everyone).


  6. Reroot the phone and reinstall a ROM that isn't full of LG bloatware.




(Note for self : next time buy a device that hasn't been designed to work against it's owner)


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