[Xperia Z Original Android Development] Supersaiyan.IV:
Hello everybody and qsnc! Just installed latest nightly, and I've got some feedback. My procedure was:

C6603_10.7.A.0.222_Central Europe 1.ftf

cm-12.1-20151003-NIGHTLY-yuga

tk_gapps-modular-mini-5.1.1-20151004-signed

Calls, SMS, and all around usage works. There are no *apparent* bugs. But there are some things in the dmesg that knock on the door, aswell as one elusive USB Tethering bug.

<4>[ 0.478393] ------------[ cut here ]------------
<4>[ 0.478607] WARNING: at ../../../../../../kernel/sony/apq8064/arch/arm/mach-msm/subsystem_restart.c:664 subsys_restart_init+0xec/0x120()
<4>[ 0.478851] Modules linked in:
<4>[ 0.479095] [<c010c1c4>] (unwind_backtrace+0x0/0x11c) from [<c017d2c8>] (warn_slowpath_common+0x4c/0x64)
<4>[ 0.479309] [<c017d2c8>] (warn_slowpath_common+0x4c/0x64) from [<c017d370>] (warn_slowpath_null+0x18/0x20)
<4>[ 0.479492] [<c017d370>] (warn_slowpath_null+0x18/0x20) from [<c0e0bdb4>] (subsys_restart_init+0xec/0x120)
<4>[ 0.479705] [<c0e0bdb4>] (subsys_restart_init+0xec/0x120) from [<c0100610>] (do_one_initcall+0x8c/0x150)
<4>[ 0.479888] [<c0100610>] (do_one_initcall+0x8c/0x150) from [<c0e00be8>] (kernel_init+0xf8/0x1ac)
<4>[ 0.480041] [<c0e00be8>] (kernel_init+0xf8/0x1ac) from [<c01069d0>] (kernel_thread_exit+0x0/0x8)
<4>[ 0.480255] ---[ end trace b7990e4d0f2fa122 ]---

<4>[ 13.521118] ------------[ cut here ]------------
<4>[ 13.524749] WARNING: at ../../../../../../kernel/sony/apq8064/lib/vsprintf.c:1290 vsnprintf+0x270/0x380()
<4>[ 13.534423] Please remove ignored %n in '%n'
<4>[ 13.538635] Modules linked in:
<4>[ 13.541625] [<c010c1c4>] (unwind_backtrace+0x0/0x11c) from [<c017d2c8>] (warn_slowpath_common+0x4c/0x64)
<4>[ 13.551177] [<c017d2c8>] (warn_slowpath_common+0x4c/0x64) from [<c017d30c>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[ 13.560760] [<c017d30c>] (warn_slowpath_fmt+0x2c/0x3c) from [<c03c0584>] (vsnprintf+0x270/0x380)
<4>[ 13.569427] [<c03c0584>] (vsnprintf+0x270/0x380) from [<c025b424>] (seq_printf+0x38/0x70)
<4>[ 13.577636] [<c025b424>] (seq_printf+0x38/0x70) from [<c028241c>] (show_map_vma+0x108/0x258)
<4>[ 13.586059] [<c028241c>] (show_map_vma+0x108/0x258) from [<c0282588>] (show_tid_map+0x1c/0x50)
<4>[ 13.594604] [<c0282588>] (show_tid_map+0x1c/0x50) from [<c025b024>] (seq_read+0x1bc/0x440)
<4>[ 13.602844] [<c025b024>] (seq_read+0x1bc/0x440) from [<c023f028>] (vfs_read+0xa4/0x168)
<4>[ 13.610870] [<c023f028>] (vfs_read+0xa4/0x168) from [<c023f498>] (sys_read+0x34/0x68)
<4>[ 13.618713] [<c023f498>] (sys_read+0x34/0x68) from [<c0105ec0>] (ret_fast_syscall+0x0/0x30)
<4>[ 13.627044] ---[ end trace b7990e4d0f2fa124 ]---

Also, when USB tethering to access Xperia Z's Wifi, the "Keep Wifi on during sleep" option is not obeyed. This eventually causes Wifi to sleep, which causes the phone to fallback to 4G, which is costly if unbeknownst left on.

This is what happens with "Wifi Region Code = Europe":

<6>[ 53.978820] DefaultCountry is US
<3>[ 54.113677] wlan: WCNSS WLAN Version 1.5.1.2, Host expected 1.4.1.2

The USB LAN seems to be British however:

<7>[ 54.973999] ieee80211 phy0: info: cfg80211 reg_notifier callback for country 00
<7>[ 54.974090] ieee80211 phy0: country: GB set by driver

Also, there's probably some off-by-one error lurking here:

<3>[ 84.483123] wlan: [1243:E :SME] sme_PreferredNetworkFoundInd: 6202: not enough data length 48 needed 48

Other than this there is no nothing wrong with the ROM that I can see. Will report back if I find something.