Flash Galay S 3 Mini on Linux


Question

I tried to root my Samsung Galaxy S3 Mini (GT-I8190) to pull the boot.img to flash a custom kernel.



However rooting doesn't seem to be that easy for the Galaxy S3 mini. I was recommended to flash a custom recovery (CWM) to be able to install a random ZIP update file, which is rooted. (I can't believe, it's that difficult, but it seems like...)



So I downloaded all the necessary files (CWM and Update.zip) and looked for a Flashing software. Quickly saw, that fastboot didn't work (Seriously Samsung?!). So I looked for other tutorials NOT including Odin, since I'm working on Arch Linux. I finally found Heimdall and built it.



So I thought I could now flash the recovery. In my PIT, the Partition no. 20 (Index 19) and with the name "Kernel2".



So I tried to flash it: heimdall --Kernel2 recovery.img and heimdall --19 recovery.img. Both reported success, on both methods, the device download screen showed, that the download was complete and the device rebooted.



Still stock recovery



I even tried to flash the Android kernel (Index: 20, Name: "Kernel") with my compiled boot.img, which didn't contain a ramdisk (I don't care, if the device is lost. It's a test device). And it booted. With stock Android.



What's even wierder, is that my device shows:



CUSTOM BINARY DOWNLOAD: YES (5 counts)



CURRENT BINARY: CUSTOM



SYSTEM STATUS: CUSTOM



So it did in fact receive the images, but didn't flash them somehow.



Thanks for reading that question and even more thanks for helping!


Answer

Ok, I figured it out.



I had to run it with root permissions.



I don't know, if I've overseen the sharp in the instructions, or if it really wasn't mentioned.



Anyways. Here's my solution, if you're asking the same (in order to not be that guy )


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