[ROM][UNOFFICIAL][7.1.2] LineageOS 14.1 for Xperia Z

Status
Not open for further replies.

gorillanobka

Senior Member
Jan 8, 2016
377
171
43
London
Low volume for the ringtone volume and the notification volume

Has any of you gents noticed that the last updates seem to create problems with the notification and the ring volume?

The volume is so low. i can barely hear it. Out on the street in London i never hear any notification and a phone call must ring at least 10 times untill i notice it (most of the time i notice it because the street becomes slightly less noisy).

I downloaded Audacity and then i picked up the loudest Nokia ringtone found on internet, ran it through the Audacity increased the volume to an ear piercing level and frequency . I'm not joking.. It's really loud.
I transferred the .ogg back into my phone gave all the rights is is seen , it's ringing but the OS ITSELF SEEM TO BE CAPPING THE NOISE LEVEL to a really low level.

Had a look around and it seems that the notification volume and the ringtone volume are HARDCODED into the LiNEAGE source code or something.

I could not exactly find where this limitation is introduced :
If any of you guys can point me into the direction of that hard-coded cap on notification and ring level i would be extremely happy.
I went through all the usual modifications in the mixer_paths.xml to no joy. the call volume is increased but not the ring and notifications.

Any ideas gents?
 

Umarkhan98

Member
Dec 31, 2016
21
0
0
Yea just installed it today ..and ROM is smooth awesome... everything working ..except the wifi .. it is working but it kees on disconnecting and connecting again and again ..it never happened till yesterday on my stock. Lollipop..any fix ?
 

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
Indeed there was random reboot

Here is the last kmsg
Looking into that, we've recently added newly introduced 'sdcardfs'.
/* XXX
* Original sdcardfs code calls inode_permission(lower_inode,.. )
* for checking inode permission. But doing such things here seems
* duplicated work, because the functions called after this func,
* such as vfs_create, vfs_unlink, vfs_rename, and etc,
* does exactly same thing, i.e., they calls inode_permission().
* So we just let they do the things.
... */
I will further look into this, if no solution is brought up, we will revert the full sdcardfs.

On stock kernel (build from cm repo) F2FS seems instable. Dmesg:

Code:
[ 1446.561279] init: Untracked pid 13676 exited with status 0
[ 1525.714660] binder: 12456: binder_alloc_buf, no vma
[ 1525.719085] binder: 1097:5326 transaction failed 29201, size 76-0
[ 1525.733001] binder: 1097:5326 transaction failed 29189, size 1068-4
[ 1670.148345] ------------[ cut here ]------------

[ 1670.152130] kernel BUG at ../../../../../../kernel/sony/apq8064/fs/f2fs/node.c:2205!
[ 1670.152130] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 1670.152130] Modules linked in:
[ 1670.152130] CPU: 1    Not tainted  (3.4.112-odin-g18938610f78 #1)
[ 1670.152160] PC is at flush_nat_entries+0x3cc/0x53c
[ 1670.152160] LR is at flush_nat_entries+0x394/0x53c
[ 1670.152160] pc : [<c039954c>]    lr : [<c0399514>]    psr: 20000013
[ 1670.152160] sp : e8405d20  ip : 00000000  fp : c25ed000
[ 1670.152160] r10: 000013b6  r9 : ee4597e0  r8 : e6a5f4d0
[ 1670.152160] r7 : 00000001  r6 : 00000000  r5 : e6a5f4c8  r4 : e6a5f4d0
[ 1670.152191] r3 : 00000001  r2 : 00000000  r1 : 20000013  r0 : c204ba1c
[ 1670.152191] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[ 1670.152191] Control: 10c5787d  Table: a99a406a  DAC: 00000015
[ 1670.152191] 
[ 1670.152191] PC: 0xc03994cc:

[…]

[ 1670.153411] [<c039954c>] (flush_nat_entries+0x3cc/0x53c) from [<c038da18>] (write_checkpoint+0x2e8/0xba8)
[ 1670.153411] [<c038da18>] (write_checkpoint+0x2e8/0xba8) from [<c03855cc>] (f2fs_sync_fs+0x90/0xf4)
[ 1670.153411] [<c03855cc>] (f2fs_sync_fs+0x90/0xf4) from [<c0379a0c>] (f2fs_do_sync_file+0x33c/0x670)
[ 1670.153442] [<c0379a0c>] (f2fs_do_sync_file+0x33c/0x670) from [<c0379d64>] (f2fs_sync_file+0x24/0x2c)
[ 1670.153442] [<c0379d64>] (f2fs_sync_file+0x24/0x2c) from [<c029306c>] (vfs_fsync+0x20/0x28)
[ 1670.153472] [<c029306c>] (vfs_fsync+0x20/0x28) from [<c02933d0>] (sys_fdatasync+0x1c/0x30)
[ 1670.153472] [<c02933d0>] (sys_fdatasync+0x1c/0x30) from [<c01062a0>] (ret_fast_syscall+0x0/0x30)
[ 1670.153472] Code: ebfa8c94 e5953014 e3530000 0a000000 (e7f001f2) 
[ 1670.153503] ---[ end trace faa72f49d02715fe ]---
[ 1670.153503] Kernel panic - not syncing: Fatal exception
[ 1670.160186] CPU0: stopping
[ 1670.160186] [<c010ce04>] (unwind_backtrace+0x0/0x138) from [<c010bd28>] (handle_IPI+0x138/0x240)
[ 1670.160217] [<c010bd28>] (handle_IPI+0x138/0x240) from [<c0100590>] (gic_handle_irq+0x138/0x164)
[ 1670.160247] [<c0100590>] (gic_handle_irq+0x138/0x164) from [<c0b019c0>] (__irq_svc+0x40/0x74)
[ 1670.160247] Exception stack(0xec305e00 to 0xec305e48)
[ 1670.160247] 5e00: 00000058 00000010 c8c34000 60000013 c132f550 c132f550 00000058 00000002
[ 1670.160247] 5e20: 00000006 c132fe70 c132f550 c132f550 00000000 ec305e48 00a000df c019cda4
[ 1670.160278] 5e40: 60000013 ffffffff
[ 1670.160278] [<c0b019c0>] (__irq_svc+0x40/0x74) from [<c019cda4>] (console_unlock+0x318/0x3d8)
[ 1670.160308] [<c019cda4>] (console_unlock+0x318/0x3d8) from [<c0af20c0>] (console_cpu_notify+0x54/0x60)
[ 1670.160308] [<c0af20c0>] (console_cpu_notify+0x54/0x60) from [<c0b03414>] (notifier_call_chain+0x40/0x68)
[ 1670.160339] [<c0b03414>] (notifier_call_chain+0x40/0x68) from [<c019e4f0>] (__cpu_notify+0x2c/0x48)
[ 1670.160339] [<c019e4f0>] (__cpu_notify+0x2c/0x48) from [<c019e568>] (cpu_notify_nofail+0x10/0x1c)
[ 1670.160369] [<c019e568>] (cpu_notify_nofail+0x10/0x1c) from [<c0ac6584>] (_cpu_down+0x150/0x2f0)
[ 1670.160400] [<c0ac6584>] (_cpu_down+0x150/0x2f0) from [<c0ac6750>] (cpu_down+0x2c/0x40)
[ 1670.160400] [<c0ac6750>] (cpu_down+0x2c/0x40) from [<c0ac80f0>] (store_online+0x2c/0x78)
[ 1670.160430] [<c0ac80f0>] (store_online+0x2c/0x78) from [<c02bed54>] (sysfs_write_file+0x108/0x13c)
[ 1670.160430] [<c02bed54>] (sysfs_write_file+0x108/0x13c) from [<c026c284>] (vfs_write+0xac/0x160)
[ 1670.160461] [<c026c284>] (vfs_write+0xac/0x160) from [<c026c5d0>] (sys_write+0x38/0x64)
[ 1670.160461] [<c026c5d0>] (sys_write+0x38/0x64) from [<c01062a0>] (ret_fast_syscall+0x0/0x30)
[ 1670.160491] &@[email protected]:*mpdecision*
[ 1670.160491] wcnss_8960: crash shutdown : 0
[ 1670.661132] &@[email protected]:*libraries-threa*
[ 1675.662994] Rebooting in 5 seconds..
[ 1675.662994] Restarting Linux version 3.4.112-odin-g18938610f78 ([email protected]) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Apr 1 03:06:25 CEST 2017
[ 1675.662994] 
[ 1675.713012] arm_restart: Console was locked! Busting
[ 1676.877990] 
[ 1676.879394] Restarting Linux version 3.4.112-odin-g18938610f78 ([email protected]) (gcc version 4.9 20150123 (prerelease) (GCC) ) #1 SMP PREEMPT Sat Apr 1 03:06:25 CEST 2017
[ 1676.879394] 
[ 1676.897155] Going down for restart now
That's old kernel and not from Chippa_a build (since the kernel version is 3.4.112).
You can build with my kernel (see repo kernel_sony_apq8064) or go with Chippa_a kernel.
 

NamenIos

Senior Member
Nov 26, 2010
473
243
0
That's old kernel and not from Chippa_a build (since the kernel version is 3.4.112).
You can build with my kernel (see repo kernel_sony_apq8064) or go with Chippa_a kernel.
I am currently using the kernel from the lineage repo with f2fs updates manually pulled and haven't had a reboot since then (2 days). But as far as I see Chippa_as kernel has the buggy f2fs kernel: https://github.com/Chippa-a/android_kernel_sony_apq8064/commits/cm-14.1/fs/f2fs and your kernel seems to be the same: https://github.com/daedroza/kernel_sony_apq8064/commits/cm-14.1/fs/f2fs

jonpas reported to have reboots daily with f2fs, I suspect him to use this kernel.
 
Last edited:

Daedroza

Inactive Recognized Developer
Jun 16, 2014
562
1,030
0
daedroza.github.io
I am currently using the kernel from the lineage repo with f2fs updates manually pulled and haven't had a reboot since then (2 days). But as far as I see Chippa_as kernel has the buggy f2fs kernel: https://github.com/Chippa-a/android_kernel_sony_apq8064/commits/cm-14.1/fs/f2fs and your kernel seems to be the same: https://github.com/daedroza/kernel_sony_apq8064/commits/cm-14.1/fs/f2fs

jonpas reported to have reboots daily with f2fs, I suspect him to use this kernel.
I've updated to .113 and lots of thing including CVE. Chippa_a is using a older rebase (no changes in functionality, just few changes in commit history)
Link to your repo for kernel?
 

NamenIos

Senior Member
Nov 26, 2010
473
243
0
https://github.com/HenningJW/android_kernel_sony_apq8064/ I plan to go through the filesystem commits of the SD600/GalaxyS4 tree, both trees differ a bit there and I have to research what I can safely pull. sdcardfs seems to be a good starting point. Feel free to pull the F2FS commits into gerrit. edit: And I tested this not enough imo, I'll report back towards the end of the week if I encountered a reboot or not.
 
  • Like
Reactions: Daedroza
Jan 25, 2014
10
3
0
hello chippa
your work is great but three minor bugs in lineage os
1 ---microphones some time not work another person can't hear me when i restarted my phone problem seen to be solved
2---cell boardcast message not functioning
3---i can't operat mobile data and also not connected 4g network
 
Last edited:
  • Like
Reactions: manjok and moeinxda

mustafa3d64

New member
Apr 11, 2017
3
0
0
patching system image unconditionally

hii i flash rom in recovery mod but it stuck at this msg ((patching system image unconditionally))


i used tWRP 3.0
 

mcdavid0

New member
Oct 29, 2010
1
1
0
This ROM gave new life to my Xperia Z!!

I installed the ROM two weeks ago, and I can't be more happy with it. The phone is much faster than with stock ROM, all my previous apps are working perfectly. Bluetooth, wifi, 4G, etc all fine. Battery life also improved. And for a beta unofficial version I didn't have any reboot, and I couldn't find any bugs yet. I'll post here if I find any problem.

Thanks Chippa and all other developers for this awesome work!
 
  • Like
Reactions: manjok

Chippa_a

Recognized Developer
Oct 10, 2015
304
3,102
0
New build available!

* Android 7.1.2 with April security patch
* OMS7 support also adapted for new version
* Kernel updates. F2FS should work correctly now. You can switch using TWRP recovery (advanced wipe opts), only cache and data supported.

Note: 7.1.2 for Lineage still WIP, i just force synced to it.
So here may be some bugs (but I have not noticed any major).

Download: https://drive.google.com/file/d/0B7CPZEsTdmVdRF9nWC12YXpLRXM/view?usp=sharing
 
Last edited:
Status
Not open for further replies.