[Xperia Arc Android Development] Flimzes:
Can't install on Urushi

I've been bashing my head against a wall trying to get either CM13.0 or Lineage 14.1 installed on my xperia Ray.

I have two samsung 32GB Evo memory cards, both formated with one single partition, tried with Fat32, EXT4 and F2FS all with the same result.

I first install the latest baseband/xperia firmware with flashtool in flashmode.

Then i reboot into fastboot and flash the kernel from CM13.0 (or lineage 14.1, depending on which rom I'm trying to flash)

I then reboot into recovery, and do a full factory reset.

Then I sideload the zip-file.

Then I reboot the phone, and I'm first greeted by the LegacyXperia logo, then for CM13.0 the little robot face, and for LineageOS, the passing sun (or how you'd describe it).

But this never finishes, I've left the phone overnight more than once with both of these roms, it just never actually makes it into a usable OS.

I also tried flashing lineage 14.1 using the CM13.0 recovery, followed by a kernel update via fastboot, but again, just an infinitely passing blob through an arch.

I have tried with opengapps micro flashed, or the hidpi gapps flashed - or no gapps

I tried using the system formating tool for CM12, I've tried not using it.

And any permutation of the above.

Clearly there is something that eludes me - any tips?

Here is the output from CMD from the last attempt;

C:\Users\mco\Downloads>fastboot flash boot boot.img

sending 'boot' (5632 KB)...

(bootloader) USB download speed was 9183kB/s

OKAY [ 0.638s]

writing 'boot'...

(bootloader) Download buffer format: boot IMG

(bootloader) Flash of partition 'boot' requested

(bootloader) S1 partID 0x00000003, block 0x00000148-0x00000179

(bootloader) Erase operation complete, 0 bad blocks encountered

(bootloader) Flashing...

(bootloader) Flash operation complete

OKAY [ 1.071s]

finished. total time: 1.712s

C:\Users\mco\Downloads>fastboot erase system

erasing 'system'...

(bootloader) Erase of partition 'system' requested

(bootloader) S1 partID 0x00000004, block 0x00000182-0x000007c1

(bootloader) Erasing block 0x00000200

(bootloader) Erasing block 0x00000300

(bootloader) Erasing block 0x00000400

(bootloader) Erasing block 0x00000500

(bootloader) Erasing block 0x00000600

(bootloader) Erasing block 0x00000700

(bootloader) Erase operation complete, 0 bad blocks encountered

OKAY [ 5.715s]

finished. total time: 5.717s

C:\Users\mco\Downloads>fastboot reboot

rebooting...

finished. total time: 0.001s

C:\Users\mco\Downloads>adb sideload cm-13.0-20161109-UNOFFICIAL-LegacyXperia-urushi.zip

Total xfer: 0.98x

C:\Users\mco\Downloads>adb sideload HDPI_miniGAPPS-6.0-20161024-tb-signed.zip

Total xfer: 1.00x

C:\Users\mco\Downloads>

In between the reboot and the sideload I did a full system reset to erase the data and data/media partitions

______________________________________________________________________________________

I have tried both of these zips:

lineage-14.1-20170322-UNOFFICIAL-LegacyXperia-urushi.zip

and

lineage-14.1-20170514-UNOFFICIAL-LegacyXperia-urushi.zip

With their corresponding kernels.

Output from a 20170322 attempt:

C:\Users\mco\Downloads>fastboot flash boot boot.img

sending 'boot' (7296 KB)...

(bootloader) USB download speed was 9189kB/s

OKAY [ 0.824s]

writing 'boot'...

(bootloader) Download buffer format: boot IMG

(bootloader) Flash of partition 'boot' requested

(bootloader) S1 partID 0x00000003, block 0x00000148-0x00000179

(bootloader) Erase operation complete, 0 bad blocks encountered

(bootloader) Flashing...

(bootloader) Flash operation complete

OKAY [ 1.325s]

finished. total time: 2.153s

C:\Users\mco\Downloads>adb sideload lineage-14.1-20170322-UNOFFICIAL-LegacyXperia-urushi.zip

Total xfer: 1.37x

Again, followed by an infinite bootloop.

I tried formating the SD card to f2fs on my linux laptop, this gives me the following message while flashing the zip:

detected filesystem d2fs for /dev/block/mmcblk0p1

mount: failed to mount /dev/block/mmcblk0p1 at /data: I/O error

unmount of /data failed; no such volume

After this, I can reboot the phone, and be greeted with the infinite moving sun.

Anyone want to guess what I'm missing?