yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] munjeni:
Eh, one more important thing, need to try true lineage kernel, we are now on superlamic one which is a lot diferent than one from lineage, sperlamic one is realy good but to get oficial build we must use lineage kernel. So next thing after we fix remaining bugs is to switch to lineage kernel, hope it boot :o Anybody tried lineage kernel on our build?
[Xperia Z1 Compact Android Development] hackintosh5:
If there is a risk of soft brick, I'm not testing. Amami is my everyday device.
[Xperia Z1 Compact Android Development] munjeni:
Hm seems this can fix auto autonetwork selection bug

<!-- Boolean indicating if restoring network selection should be skipped -->
<!-- The restoring is handled by modem if it is true-->
<bool translatable="false" name="skip_restoring_network_selection">true</bool>

I'm usure that we have this set, will check :)

Edit:

https://android.googlesource.com/platform/frameworks/base/+/35c4c21^!/ by default it is false, hehe but seems somebody copy paste that thing from other devices to our device tree without testing it, we have that true and I'm pretty sure that is a causal for our bug, need to remove that :)
[Xperia Z1 Compact Android Development] BokeB:
[MENTION=4120742]munjeni[/MENTION] Where can i give you a donation?
[Xperia Z1 Compact Android Development] vdiaz1:
Thanks munjeni for your great work!

I have found two issues:

- In Google Duo, video calls are awful because of the echo. The other user hears himself, no idea what can be.

- Auto brightness is slow and not very accurate. It's annoying.

Hope you can fix that.
[Xperia Z1 Compact Android Development] munjeni:
See bitcoin address in my profile :)
[Xperia Z1 Compact Android Development] munjeni:
About google duo, seems common app problem, see https://www.google.rs/search?q=goog...i57j0j69i64.2887j0j4&sourceid=chrome&ie=UTF-8

About light, you can fine tune levels by moving slider!
[Xperia Z1 Compact Android Development] BokeB:
Another reason to start using bitcoins :D
[Xperia Z1 Compact Android Development] vdiaz1:
I'm currently using dstriker ROM and Google duo works fine and auto brightness is smoother, that's why I think is ROM related problem. Maybe is LOS.

I don't know if anyone is having same problems. I will try again your ROM in a few days and try to do more testing.
[Xperia Z1 Compact Android Development] dmgZero:
We really need to test the Actual paying through NFC.

Because everything that the test-program does is scans the .xml files from the system folder, and if they are exist, the program draws a green tick (I investigated this).

It doesn't check the real implementation.

Can anyone check the "Reset function" (in Settings->Backup & Reset)?

When I click on the "Reset", the device reboots and enters in the Recovery menu.

Next, I select the checkboxes to erase: 1) Data 2) Cache 3) Dalvik/ART (The standard checkboxes for this procedure AFAIK). Then I rebooting. Then - bootloop.:(

How much time passes after you click the reload button in recovery and until the welcome screen?
[Xperia Z1 Compact Android Development] munjeni:
Which android version is that rom? Can you please give me framework-res.apk from that rom?
[Xperia Z1 Compact Android Development] munjeni:
After factory reset its the same wait time like fresh installed android.
[Xperia Z1 Compact Android Development] dmgZero:
Then something is wrong.

Fresh installation I have somewhere 3-4 minutes.

When resets, the loading is infinite
[Xperia Z1 Compact Android Development] munjeni:
can you post recovery log?
[Xperia Z1 Compact Android Development] ra9na:
I've installed the last update of this ROM and I've noticed a higher battery drain in standby than in the previous version (2209). With the old release, when I got home from work, i had ~40-50% left and now I'm on ~20-30%. Can someone else confirm this?
[Xperia Z1 Compact Android Development] hackintosh5:
Will confirm once first day of update is over
[Xperia Z1 Compact Android Development] munjeni:
Forgot my phone in car but at the night I will give you screenshoot, in my screen shoot I'm using phone for almosr 42 hours and battery is at 30 percent, used phone average usage! I can confirm no battery drain in any of the releases. Maybe your nfc is enabled? Try disable nfc, try disable all when it is not in use, e.g. mobile net, wifi...etc.
[Xperia Z1 Compact Android Development] ra9na:
Thanks for your reply! Yesterday NFC was enabled. This morning NFC was disabled. Now battery drain seems to be ok. I will keep an eye on this.
[Xperia Z1 Compact Android Development] hackintosh5:
Did you wipe cache and dalvik? Mine is great batt life with nfc on, mobile data off, wifi and Bluetooth connected
[Xperia Z1 Compact Android Development] ra9na:
Does it make sense to wipe cache and dalvik, when the Aroma installer wipes the previous ROM completey?
[Xperia Z1 Compact Android Development] munjeni:
Not but I'm always doing that.
[Xperia Z1 Compact Android Development] munjeni:
Can you try with this framework-res from attachment if network manual selection is ok now?
[Xperia Z1 Compact Android Development] vildevilde:
Where do I find this script?
[Xperia Z1 Compact Android Development] munjeni:
Its in rom zip file in folder META-INF/com/google/android file called updater-script
[Xperia Z1 Compact Android Development] olli0371:
Very Nice ROM

Hi,

thanks for this awesome piece of software. I was on rooted stock Kitkat before because of the battery life and radio mobile active bug in lolipop. From time to time i was looking for a new custom rom but always there was some problem like camera quality, battery life, hardware overlay and other stuf that just kept me on good working kitkat.

Now with you ROM it seems everything perfect and i am happy as it is. Again - thanks and respect for your engineering.

As you ask somewhere for bug reports - i want to add something to your list.

The AudioFX does not have any effect in this rom. You can do settings, enable disable - everything. But without affect on the sound.

I read somewhere to enable in Settings 'Mono-Audio'. If you enable this the Audio FX works (of course in Mono). But you can disable and AufioFX keeps working.

But only until the song finished and the next one begins. Then you need to do this again.

For me - it is not that big issue - the sound is ok without AudioFX. But may be this is nothing hard to figure out and repair.

best regards

Oliver
[Xperia Z1 Compact Android Development] munjeni:
Hi, log which you provided is recovery log but it is not log from time when things failed, I need recovery log in time when device got factory reset! :)
[Xperia Z1 Compact Android Development] munjeni:
Thanks guys! I am working in audio to get fm stereo somehow, curently didn't fixed fm stereo but I have modified mixer_paths so please try mixer_paths.xml (just replace /system/etc/mixer_paths.xml and reboot) and let me know if audio isues is solved, improved or broken further!
[Xperia Z1 Compact Android Development] munjeni:
We have missing api in power hall and battery stats in logcat giving some error lines like:

Thats because we have need to update power hal like it is done here -> https://android.googlesource.com/device/lge/bullhead/+/7cb64b6267ded379c136146d58c59204a27fa391^!/ , one good thing we have rpm paths /d/rpm_master_stats so I'm believing that commit will work for us and probably solve missing battery stats under hiden menu *#*#4636#*#* and also will clean that logcat batterystats error. I have post this just to keep it here - to not forget that :)
[Xperia Z1 Compact Android Development] munjeni:
Guys, again, please! DON'T report isues if you have installed e.g. magisk or any other mod please! Now we have identified isue reported by [MENTION=8267490]dmgZero[/MENTION] and we found that isue related to bootloop after factory reset is magisk related. I'm waste 30 minutes figuring out instead of wasting time for something which can help us fix remaining bugs. :( Again, please don't report isue if you have installed mods! I realy have no free time fixing magisk isues, instead of reporting isue here MAKE SURE you have clean installed rom and WITHOUT any external mod, I want to fix our clean rom and I have no free time fixing bugs caused by mods, instead of reporting isues after installing an mod please report isue to that mod author! If you realy want our LOS 14.1 fully fixed and you realy need it and you realy want help me, please don't report isue caused by mod! Thank you!
[Xperia Z1 Compact Android Development] olli0371:
Mixer path

Hi,

' I am working in audio to get fm stereo somehow, curently didn't fixed fm stereo but I have modified mixer_paths so please try mixer_paths.xml (just replace /system/etc/mixer_paths.xml and reboot) and let me know if audio isues is solved, improved or broken further! '

Sorry to say - i replaced that file and the last option 'broken further' was the one.

So good to have a backup of the original file. (-;

Oliver
[Xperia Z1 Compact Android Development] munjeni:
Can you please give more details which you found after replacing mixer paths?
[Xperia Z1 Compact Android Development] hackintosh5:
HCE doesn't work! ?

HCE still doesn't work. I have captured logs on persistent mode. Nothing whatsoever related in dmesg, but logcat has info - see attatchment ( command used is logcat -d | grep -i "nfc" > log.txt). Lots of logs, which is much better than none with no work! Note that I did keep tapping around 20 times - not msg repetition!
[Xperia Z1 Compact Android Development] taudelta:
I confirm that
[Xperia Z1 Compact Android Development] olli0371:
Micer paths

Hi,

sorry for Bering not precise.

After replacing the file and reboot there was no sound at all. I must recover the original file and reboot to recover the sound.

Oliver
[Xperia Z1 Compact Android Development] munjeni:
I don't see errors (E flag) in your log! I see only D (debug) and I (info), didn't see E (error) :) So thats mean that NXP stack is ok. I told what might be missing and its framework and app related, google abandoned support for old nxp stack, google use nci stack now! How you checked that nfc hce is not working? Did you tried pay?
[Xperia Z1 Compact Android Development] munjeni:
No sound in headphone? Please be more specified :) I'm replaced that file on my own amami, rebooted, and I have sound booth headphone and/or speakers
[Xperia Z1 Compact Android Development] munjeni:
Can you try again?
[Xperia Z1 Compact Android Development] hackintosh5:
When I tried to pay, this is logcat
[Xperia Z1 Compact Android Development] munjeni:
I must go now. Please test framework-res provided some pages back, mixer_paths, I will come tommorow, hope at least framework-res fixed manual network selection, and hope mixer_patch solved some isues like skype calling, and some more like this https://xdaforums.com/showpost.php?p=74037149&postcount=546 , waiting your report. Please don't use any mod testing this, I need all reports from clean rom! Bye! :)
[Xperia Z1 Compact Android Development] heorung:
I also have the reboot-issue , I used recovery from boot_cwm.img , the reboot occur randomly , sometimes the phone sit in the table , when i pick it up i've noticed that its already restarted.
[Xperia Z1 Compact Android Development] stevexce:
I'm glad you're back Munjeni. Will be ability for working stock camera .apk port?
[Xperia Z1 Compact Android Development] mitklaus:
Page http://munjeni.myiphost.com/LineageOS_14.1/ is down :(
[Xperia Z1 Compact Android Development] FaTlip82:
Yes, that is exactly what i have.
[Xperia Z1 Compact Android Development] munjeni:
Yes, I had reboot isue this day, somebody called me and my phone rebooted, but good news I have a last_kmsg hope I get crash reason and fix
[Xperia Z1 Compact Android Development] munjeni:
Checked right now, its online, system is runing 2 months without restart, so definitelly working site!
[Xperia Z1 Compact Android Development] mitklaus:
Tried again and found the Problem: My Virus-Scanner blocked it - don't know, why... when i disable it, i can access your site.
[Xperia Z1 Compact Android Development] munjeni:
Kiding me? :) Which virus scaner you have?
[Xperia Z1 Compact Android Development] munjeni:
Can you tell me if reboot isues is solved with boot image from attachment? Just reflash it with:

fastboot flash boot boot.img
[Xperia Z1 Compact Android Development] FaTlip82:
Should i use boot.img above TWRP, means TWRP will deleted ?
[Xperia Z1 Compact Android Development] munjeni:
Yes it will be deleted! But I still not understand your question, why you need boot image in recovery partition? Boot.img above your post is updated kernel, I have tried to fix common reboots and I am in hope it is fixed, need somebody confirm! You just need to flash it to the boot partition
[Xperia Z1 Compact Android Development] munjeni:
Try this boot image https://xdaforums.com/showpost.php?p=73501538&postcount=51 I am in hope reboot isues is solved, let me know please
[Xperia Z1 Compact Android Development] airman1951:
Installed new boot.img, bit the random reboots still occur. It happens usually when phone is idle and the frequency is every 4/5 hours. But if i set the hotspot WiFi on, reboots occurs every 15/ 20 minutes. Hope this could help. Thanks for your great job!!

---------- Post added at 05:45 PM ---------- Previous post was at 05:41 PM ----------

Ah, of course TWRP recovery is still there..
[Xperia Z1 Compact Android Development] munjeni:
Can you post /proc/last_kmsg ?
[Xperia Z1 Compact Android Development] airman1951:
I found only /proc/kmsg but i got access denied. SuperSU is installed and working, my FM is able to open system folder but can't access the file. Have i to do some speciale action?
[Xperia Z1 Compact Android Development] pheipheiphei:
Hi!

Thanks for this awesome ROM. Everything seems to be running smoothly.

I only found one thing not working: Ok Google detection outside of the Google App, even though it's activated in the settings.

I found this reddit thread reddit.com/r/LineageOS/comments/5zkq9i/ok_google_detection_issues/ which seems to suggest that it might bei OpenGapps. Do you think it'd be possible to use a different GApps or is there any other way to enable it?

Also, is it safe to flash a custom recovery?

Thanks for your hard work!
[Xperia Z1 Compact Android Development] munjeni:
Yes it can be gapps ofcourse, try diferent gapps! YUes you can flash any recovery
[Xperia Z1 Compact Android Development] munjeni:
You need to dump /proc/last_kmsg with adb or at least you can do the same with terminal emulator, just redirect output to /storage/sdcard1/kmsg.log e.g.

cat /proc/last_kmsg > /storage/sdcard1/kmsg.log

It will output log to your external sdcard!
[Xperia Z1 Compact Android Development] munjeni:
Ok, than hce missing implementations, I can do nothing about it sorry on nxp stack, and Ican't use hci since our old nfc chip don't have source nci code :( Option is to revert old nxp framework and app but I realy will not do that, not using nfc anyway.
[Xperia Z1 Compact Android Development] munjeni:
I'm on new mixer paths and right now I'm on youtube and testing audiofx, all sounds and efects working! Didn't tried with previous mixer paths but I'm beleving it working too. Anybody confirm?
[Xperia Z1 Compact Android Development] olli0371:
Hi,

i am using the built in music app . Now i have sound. It was my fault - the user permissions for the New mixer paths were wrong.

But the issue is still the same. Audio FX has no effect until you switch to mono and back to stereo. The setting is mono-audio in Android settings.

Changing the track also disables the audio FX again.

I am using headphones for testing.

Oliver
[Xperia Z1 Compact Android Development] munjeni:
How you set mono, I don't see that option
[Xperia Z1 Compact Android Development] dmgZero:
A little misunderstanding. Apparently, I had to explain about the logs.

In the archive that I sent you recently, there are two folders with logs:

1) Fresh installation, without SuperSU, with: Clearing, Gapps, Enforcing, and Magisk. Stock TWRP(from your site).

2) Fresh installation, with: SuperSU, Clearing, Gapps, Enforcing. TWRP 3.1

Bootloops in both cases.

3) Now I have made another (third) Fresh installation with the stock TWRP(from your site). Without any other mods at all.

During the installation, nothing has changed. Cleaning + SuperSU + Gapps + Enforcing.

After "Factory Reset" - still there is a bootloop.

I send you new Log to the PM.

As I said, the problem disappears if I do not install root-packages: SuperSU or Magisk.

In this case the problem of "Factory reset" is not in Magisk as such.
[Xperia Z1 Compact Android Development] olli0371:
Mono

In setting of Android. Search for 'Mono' in the Androidsettings.

Oliver
[Xperia Z1 Compact Android Development] munjeni:
dmgZero you are right. Supersu cause bootloop in case factory reset. Thats because supersu modifies ramdisk and un case supersu.ing gets deleted bootloop is expected. Situation with magiak is the same?
[Xperia Z1 Compact Android Development] dmgZero:
Yes. In the first archive, which I sent to you today, there is the Log in the /magisk folder.

Description for it:

1) Fresh installation, without SuperSU, with: Clearing, Gapps, Enforcing, and Magisk. Stock TWRP(from your site).
[Xperia Z1 Compact Android Development] s.t.a.r.s:
I have since yesterday a new router, and the problem that the z1c does not connect with 5 ghz. if i change the country code it sometimes works with japan. when i connect again, it is again only 2.4 ghz and country code is German.

my other z1c with stock 5.1.1 connects with 5ghz

my sam tab pro with 14.1 LOS too

Any ideas?
[Xperia Z1 Compact Android Development] munjeni:
Can you watch logcat in realtime and try to connect to 5ghz band and give me that log? Dmesg too. What is band, frequency and channel in your wifi router?

Edit:

I realy don't know if that 5g band is los bug or not but found this https://www.google.rs/url?sa=t&rct=...ent-tabpanel&usg=AOvVaw3rIGkhvjQPEPRxLMXUb4rS
[Xperia Z1 Compact Android Development] munjeni:
I'm getting the same, will check that now.
[Xperia Z1 Compact Android Development] s.t.a.r.s:
Channel 1 @ 2,4ghz

Channel 51 @ 5,2ghz

wlan enabled and country code jp

on my tablet with LOS 14.1 is no country code selected
[Xperia Z1 Compact Android Development] munjeni:
But isn't you already connected on s.t.a.r.s WiFi? I see yes, but I see you have enabled mobile net, can you disable mobile net and try again? Can't use booth. Somebody already confirmed that 5g band is OK and I'm believing I don't know what to believe now.
[Xperia Z1 Compact Android Development] munjeni:
Fixed! In next build factory reset will work.
[Xperia Z1 Compact Android Development] s.t.a.r.s:
Yes it was connected with 5ghz and jp, now when i disable and enable WLAN, while i was not at Home, it connect with 2,4ghz.

Now i must select jp again and reconnect wlan. And often it connects then with 5ghz.

But now :angel: I disabled the 2,4 GHz, now it can only connect to 5ghz :cyclops:

Sorry my mistake.

But when I select Germany or Europe I can't see my wlan
[Xperia Z1 Compact Android Development] olli0371:
Hi,

aboit 5Ghz. I can confirm that my phone connects to 5Ghz WLAN Router. My countrycode is Germany and my Router is configured to use 2,4 and 5GHz WLAN. When i am near the Router the 5Ghz will be used . i habe checked in the phone wifi settings and it showed up that 5Ghz CH48 will be used.

Oliver
[Xperia Z1 Compact Android Development] munjeni:
S.t.a.r.s You can search google about WiFi regulatory domain to get more info and to learn which one is the best for your configuration. Thanks for confirming that 5g is OK!
[Xperia Z1 Compact Android Development] olli0371:
CPU Kernel

Hi

On old stock kit kat the phone usually ran with only one core of the CPU when doing nothing or just listen to music. With thus ROM now always 2 core are active even with nearly no CPU load.

Is it possible to turn one core also of during low Cpu load to save more battery ?

Oliver
[Xperia Z1 Compact Android Development] munjeni:
Don't know what is realted to that, maybe this https://github.com/LineageOS/androi...mmit/c378f476933d939188d046286d7d76b6c2a91a64 ? Did you tried change profiles in setting?
[Xperia Z1 Compact Android Development] s.t.a.r.s:
Hello,

in the router I have the channel set to 48.

now it also works with country code germany / europe

i checked the wifi regulatory with wikipedia :)

is it possible that we have a problem with TPC?

Ch USA / Europe

48	Yes	/ Indoors :good:

52	DFS	/ Indoors/DFS/TPC

52 with europe > Indoors/DFS/TPC doesn´t work

100 with europe > DFS/TPC doesn´t work

But, Z1compact 5.1.1 and Samsung Tab pro 14.1 find and connect to all testet channels?

no country code is selected on the tablet and no country code can be set under 5.1.1.

this is not really bad, but I normally use the automatic channel selection of the routers. if the channel now does not match the country code, I have to change first manuel.

I do not know if it is a mistake of the rom

Greetings :angel:
[Xperia Z1 Compact Android Development] olli0371:
The setting does not change something. Even with max battery saving both core stay active.

I've checked the github link you gave. All modifications shown there are already implemented in the file in your rom.

Edit: Forget that. I installed another CPU-Monitor (Kernel auditor) and now it reports that three core are offline. I think the OSmonitor is to outdated for nougat.
[Xperia Z1 Compact Android Development] munjeni:
Stock rom uses CRDA service for regulatory domain change, but on aosp/lineage that service is removed and thing is in wpa_supplicant. I have implemented crda from stock rom but its unused, have no idea how we can reuse cdra service from stock rom. If you find something ineteresting please tell us! Only thing which I have fixed is I fixed it in kernel (disabled LINUX_REGULATORY_REG) since with that option enabled default country selection is only US and when it is enabled channels 12 and 13 can't be enabled and also country code can't change.

Yes thats allready implemented. Maybe that cause things? (ok I saw your modified post, so its solved.)
[Xperia Z1 Compact Android Development] chris2017@xda:
Indeed, manual selection skips back to automatic (tested in Spain, Switzerland, Germany). Instead of staying in manual mode, the phone switches back to automatic and selects a network provider itself. Might be a bug in Lineage, I tested an older version of cyanogenmod once (don't remember which one) and it worked, but in all Lineage based Nougat ROMs I tested, it does not.
[Xperia Z1 Compact Android Development] munjeni:
I'm fixed that and I have post framework-res but nobody tried! Next build have that fixed, wait new build please!