[ROM][UNOFFICIAL] CM 13 + AOSP kernel for amami [2016-10-07]

trinancrat

Member
Jun 17, 2013
26
17
0
I managed to build CM 13 for this device. I'll make my builds available here and try to update regularly. I take no dev credit, I'm just a builder.

I build straight from the Cyanogenmod source on Github, minus the kernel, which comes from the Sony AOSP project.

Thanks especially to derf elot for the build manifest and the CyanogenMod, FreeXperia, and Sony AOSP contributors.

amami.jpg

Downloads


Instructions

  1. Unlock bootloader and install a custom recovery (suggest TWRP 3)
  2. Wipe system, data, cache
  3. Flash update ZIP
  4. Flash Gapps (optional)

Known Issues

  • AudioFX crashes constantly
  • Charging battery not always reflected in UI
  • Fullscreen video playback sometimes results in black screen
  • FM radio nonfunctional

Misc Info

Motivation: Most of the AOSP and other MM ROMs for this device have some deal-breaking bug for me, such as sleep of death or echoes when making phone calls, with the exception of the pure CM 13 ROMs. However, nobody's built one in some time, so I figured I'd give it a shot.
 

Attachments

Last edited:

frauhottelmann

Inactive Recognized Developer
Sep 2, 2007
2,465
226
143
I managed to build CM 13 for this device. I'll make my builds available here and try to update regularly.

I take no dev credit, I'm just a builder.

Thanks especially to derf elot for the build manifest and the rest of the CyanogenMod and FreeXperia Team.

View attachment 3872031

Downloads


Instructions

  1. Unlock bootloader and install a custom recovery (suggest TWRP 3)
  2. Wipe system, data, cache
  3. Flash update ZIP
  4. Flash Gapps (optional)

Known Issues

  • AudioFX crashes constantly (freeze it with TiB)
  • Charging battery not always reflected in UI
  • Fullscreen video playback sometimes results in black screen

Misc Info

Motivation: Most of the AOSP and other MM ROMs for this device have some deal-breaking bug for me, such as sleep of death or echoes when making phone calls, with the exception of the pure CM 13 ROMs. However, nobody's built one in some time, so I figured I'd give it a shot.

Patches: Most of the code was ready to build as is. I ran into one problem: the 3.10 kernel's device tree lacks some Qualcomm-specific board information, so boot.img fails to build. I copied it from the CM 12 branch and all was well. Patch against CyanogenMod/kernel_sony_msm: View attachment 3872045
Very cool. I am guessing no call echo here? That was always annoying. How is the camera (especially in the dark)?
 

trinancrat

Member
Jun 17, 2013
26
17
0
Very cool. I am guessing no call echo here? That was always annoying. How is the camera (especially in the dark)?

Nope, no call echo, as long as you don't turn the volume too high. That ruled out all of the AOSP ROMs for me; have to be able to use my phone as a phone. :) Camera is exactly like the other CM-based ROMs, focus is kinda inaccurate, and video recording doesn't work. I haven't tried any low-light photos but I suspect they won't be very good.
 

H0bi

Member
Jul 11, 2013
38
9
0
Oh, the theme engine is working fine on my device. Did you clean flash? Check the md5sum?

Ohhh....
Yes i did a clean flash! Otherwise i wouldn't reported it.

But didn't checked md5. When im back home I'll download and flash again. Then I'll report.
 
Last edited:

trinancrat

Member
Jun 17, 2013
26
17
0
New 9/27 build is up, now using the kernel from sonyxperiadev instead of the slightly outdated CM kernel on Github. From the commit log, there are some minor performance enhancements, but nothing too groundbreaking.

As far as the camera is concerned, this is as good as it's going to get.
 

SinusStudios

Member
Aug 3, 2016
28
5
0
Bremen
Used it for a day. Performance wise the best MM rom i've tried so far, the only real lag-free MM rom.
But as a price the camera is pretty much completely broken or has horrible (50$ smartphone front camera) quality on the backface camera...
I flashed everything clean twice, no idea why this happens.
I'm going back to official CM12.1 and try to get the best out of my Z1C as a daily driver, but it's nice to see people putting effort into building more MM/CM13 roms =)
 

trinancrat

Member
Jun 17, 2013
26
17
0
But as a price the camera is pretty much completely broken or has horrible (50$ smartphone front camera) quality on the backface camera...
I flashed everything clean twice, no idea why this happens.
Yeah, it's a shame about the camera. Unfortunately, it's on Sony to provide better MM binary blobs. There were some new binaries released back in June, but they completely break the Z1C's camera (see the latest FreeXperia builds).

After so much talk about Sony being open to development, it kinda stinks to be left to hang like this. :(
 

levone1

Senior Member
Dec 28, 2014
3,741
1,451
243
@SouthernPacific - I'm curious about theme manager on your rom. Is it the CynaogenOS themer? I've found a flashable zip for Cynaogen apps, (to run on non-CyanogenOS CM roms), but I was wondering about a way to use that theme manager on a non-CM rom. I tried using addon.d and permissions files from the zip, but app still fc. Think it's possible?
 

trinancrat

Member
Jun 17, 2013
26
17
0
@SouthernPacific - I'm curious about theme manager on your rom. Is it the CynaogenOS themer? I've found a flashable zip for Cynaogen apps, (to run on non-CyanogenOS CM roms), but I was wondering about a way to use that theme manager on a non-CM rom. I tried using addon.d and permissions files from the zip, but app still fc. Think it's possible?
I don't know much about it, to be honest. It's just built when you build any CM 13 ROM.

I would imagine it's a lot more complicated than installing the apk, though - the UI code needs some pretty deep hooks to be modifiable like that. Maybe just use another engine, possibly with Xposed?