Samsung Galaxy W (samsung-i8150)

Contributors

 * onny

Rooting
Follow this guide on how to root the phone. Updated download links can be found on later posts.

How to enter flash mode

 * 1) Turn off phone
 * 2) Connect USB cable
 * 3) Hold  +  +  until you get the "Warning!!" screen
 * 4) Push  to continue to ODIN mode, as per the instructions appearing on the screen

Installation

 * Install everything using an SD card
 * Insert the SD-Card on the device
 * Enter device into flash mode (ODIN), see above

Since Heimdall flashing seems currently broken for this device, I had success using Odin Multi Downloader v4.43 on Windows 7 (KVM) to flash the boot.img into recovery.

First prepare boot.img for flashing with Odin:

$ pmbootstrap export $ cd /tmp/postmarketOS-export $ cp boot.img-samsung-i8150 recovery.img $ tar -cf recovery.tar recovery.img $ md5sum -t recovery.tar >> recovery.tar $ mv recovery.tar recovery.tar.md5

Now we need to flash this file with Odin on Windows. I had luck with using Windows 7 on KVM. Further download and isntall following files inside Windows:


 * Samsung USB Driver v1.5.65
 * Odin Multi Downlaoder v4.43
 * Ancora.ops

Run Odin and plug your phone which should be already in download mode. Odin should detect your phone printing something like "Added!!!". Select OPS file and check "One Package". As "One Package" choose the recovery file "recovery.tar.md5". Click "Start".

After a reboot try to get into recovery by holding +  +. Release when Samsung logo appears. The phone should now boot the postmarketOS kernel.