[ROM][EXCLUSIVE?][LINEAGE] Mint-OS - Lineage with extra Mint

nift4

Senior Member
May 22, 2019
490
154
43
Back to the Open Camera issue I was having…
I changed the image format from PNG to JPG (100%) and now it doesn't have the huge save lag. Any idea why using PNG was causing problems? Seems to me like the hardware should easily handle it.

Cheers
Ah, that is an important point. The Android Camera2 API only spits out RAW and JPEG, everything else needs to be converted. (Camera1 only does JPEG)
 

nift4

Senior Member
May 22, 2019
490
154
43
I tried to get logs both from adb logcat and adb shell 'su -c dmesg -w'. However at the time of crash no log is generated. The phone completely freezes before resetting. Is there any way to access latest dmesg in android?

Edit found it: It seems like we have a kernel crash! The contents of /sys/fs/pstore/dmesg-ramoops-0 is attached.


Edit2: I skimmed the kernel sources in https://github.com/Mint-OS/android_kernel_motorola_msm8953/blob/lineage-17.1/fs/sdfat/sdfat.c. It seems like something sets the read/write bit of bio to 0 i.e. bio_data_dir(bio) == bio->bio_rw == 0 which causes the assertion to fail. The stack trace looks like that it is indeed a write request so something has really gone wrong.
Wow, great debugging. First of all, you want console-ramoops-0 instead, it is more verbose (it contains everything what an dmesg would say, plus the error; thought, in this case, it isn't important). About your second edit: Jarl recently updated sdfat from an google pixel device, this is when the bug came, probably. I'll get this to his attention.
 
  • Like
Reactions: saldor

nift4

Senior Member
May 22, 2019
490
154
43
I tried to get logs both from adb logcat and adb shell 'su -c dmesg -w'. However at the time of crash no log is generated. The phone completely freezes before resetting. Is there any way to access latest dmesg in android?

Edit found it: It seems like we have a kernel crash! The contents of /sys/fs/pstore/dmesg-ramoops-0 is attached.


Edit2: I skimmed the kernel sources in https://github.com/Mint-OS/android_kernel_motorola_msm8953/blob/lineage-17.1/fs/sdfat/sdfat.c. It seems like something sets the read/write bit of bio to 0 i.e. bio_data_dir(bio) == bio->bio_rw == 0 which causes the assertion to fail. The stack trace looks like that it is indeed a write request so something has really gone wrong.
Jarl rejects all bug reports not on the official builds (if you didn't hear the news, we're official). This means when the first build comes (there is none yet), you'll need to clean flash it, reproduce the bug and post it on the LineageOS bug tracker. This is very inconvient but I can't change that. I am not skilled enough to fix the kernel.

Update: Jarl said he may investigate. I'll keep you updated.
 

eboelens

Senior Member
Jul 17, 2013
101
4
38
lier
Problem with security ?
I recently can't get this app working anymore.(I can install it, run it , and then it gives an error)
Are there people from BeNeLux with this problem?
something with security?
my bank app works, payconique / bancontact is a payment method in the benelux

1 G5 with Magisk , 1 Without Magisk
 

TheFixItMan

Senior Member
Jul 8, 2012
7,698
3,947
253
London
Problem with security ?
I recently can't get this app working anymore.(I can install it, run it , and then it gives an error)
Are there people from BeNeLux with this problem?
something with security?
my bank app works, payconique / bancontact is a payment method in the benelux

1 G5 with Magisk , 1 Without Magisk
Have you hidden magisk manager with a random package name in magisk manager settings?
Have you hidden the app that won't run with magisk hide?
Does your phone pass cts profile?
 
  • Like
Reactions: eboelens

eboelens

Senior Member
Jul 17, 2013
101
4
38
lier
can I post a topic here?
I keep having complaints about the quality of the phone call. The other side hears me very badly. When I put on hand sfree they hear me well.
Is that with you too? Maybe not.
What can I do about this please?
do you have any tips?
 

UrsEnov8

New member
Feb 3, 2021
2
1
1
Am I the only one who is experiencing a much higher battery drain, or am I the only one who cares?

With a clean flashed CodeZero build I get about 7 to 10 days worth of idle use out of my phone. Meanwhile this and the official build that I've now tried would only get me 3 to 4 days. We're talking about ~5%/24h vs ~5%/6h difference!

Right now I am letting GSam battery monitor observe the official build. Though, for now I am lacking some reference data from a CodeZero build to really compare it with. The performance profile is set to power saving, btw.
 

walkind

Member
Jun 8, 2018
9
0
1
You are not the only one.
With Mint in december I had nearly three days battery time with normal use.
With the last built I have to reload every day.
Actually my phone is 3 hours from loading, no phone call and 2 minutes display time and I am at 85%.