yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] trax7:
I'm using UK version, however, it started suddenly, I didn't have that before... I will call the company to ask, it must be something on their side.

Also, reboots stopped, I cleaned cache too after flashing just to be sure. The thing I noticed previously (on 1.1.96) was that after rly long use of the phone there were some slowdowns like before. E.g. YouTube starting veeery slowly when I'm switching to it, Messenger dissappearing just like that, it wasn't even a chat head, it was the app itself... And it closed itself, no message that it force closed, no errors, just poof - gone. :rolleyes: It's very rare but the thing that causes it is still there...
[Xperia Z5 Compact Android Development] zacharias.maladroit:
good, let's get rid of that commit for good, it has proven in countless kernel releases across various kitakami devices that things are getting unstable and fishy,

perhaps there are dependencies that we missed out on,

in any case - this should cut out the issues during charging & other cases ... :)
[Xperia Z5 Compact Android Development] GreyLeshy:
Yes, that's right, I already canceled a few patches that cause a reboot.
[Xperia Z5 Compact Android Development] trax7:
[MENTION=8041676]GreyLeshy[/MENTION] Reboot on last kernel version on 1% battery, I still don't get any service from my carrier, it connects just fine to other mobile providers tho...
[Xperia Z5 Compact Android Development] GreyLeshy:
With the previous kernel the connection to the operator work?

Logs corrupted, which is strange, but they belong to the patch "sched: take into account of Governor's frequency max load".

Here's the beta with the abolition of this patch.
[Xperia Z5 Compact Android Development] trax7:
It started on the prev version but not in the beginning, it started when I began getting all those reboots and showered you with logs. It was stable before that, no issues.

Logs might be corrupted because it was on 1% battery, couldn't finish them probably. When these reboots happen they take a chunk of battery with them.
[Xperia Z5 Compact Android Development] GreyLeshy:
[MENTION=3037651]zacharias.maladroit[/MENTION] , can help with usb if not busy.

USB does not work with the patches for the network, branch DEV-usb.

dmesg

power_supply usb: prop CHARGER_TYPE=UNKNOWN_CHARGER, SMBCHG, SMBCHG_EXT
[Xperia Z5 Compact Android Development] ModyCZ:
Last two kernels had quite low deep sleep times; like 2 days deep sleep and 1 day 384MHz. Lates kernel deep sleeps very aggresively, thanks!
[Xperia Z5 Compact Android Development] ViciousDiplomat:
Your latest beta kernel works fine now, no reboot or bugs. Im waiting for your next update

btw. do you have sound mod for 32.4.a.1.54 firmware?

Thanks.
[Xperia Z5 Compact Android Development] GreyLeshy:
https://xdaforums.com/showpost.php?p=74393818&postcount=171
[Xperia Z5 Compact Android Development] lmg80:
Halifax banking apk does not work, fails at authentication - any fix for that?

This is flashing without root, but unlocked bootloader

---------- Post added at 12:37 PM ---------- Previous post was at 12:32 PM ----------

rooted with Magisk and it Halifax banking app also crashes when trying to authenticate, please can others confirm the same?
[Xperia Z5 Compact Android Development] GreyLeshy:
The logs of the crash:

16623 16774 W cr_CrashFileManager: /data/user/0/com.grppl.android.shell.halifax/cache/WebView/Crash Reports does not exist or is not a directory
3107 3121 W ActivityManager: Scheduling restart of crashed service com.grppl.android.shell.halifax/com.trusteer.taz.service.TasService in 15000ms
3107 3121 W ActivityManager: Force removing ActivityRecord{1548a05 u0 com.grppl.android.shell.halifax/com.halifax.halifax.GrappleActivity t11}: app died, no saved state

In general, I'm too lazy right now to deal with this problem. Some other time...

edit:

On stock kernel this app works?
[Xperia Z5 Compact Android Development] shanpao:
If the custom system available just fine
[Xperia Z5 Compact Android Development] lmg80:
Yes it does.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Okay, will give SuperSU a test,

Magisk is really annoying since it often keeps the phone awake & prevents it from really shutting down

Is DSEE HX / Sony's HQ API still working after installing Ainur Sound Mod ?

Did you notice any increased battery consumption or stability issues with the kernel ?

This kernel's / Sony's Stock audio quality is VERY good, can't believe what a difference there is compared to LineageOS/RR (perhaps FauxSound makes quality noticeably worse)
[Xperia Z5 Compact Android Development] GreyLeshy:
Kernel v1.3.50 beta

Change log:

- Updated crypto modules

- Updated LZ4 to v1.7.3
[Xperia Z5 Compact Android Development] trax7:
Actually, yes, Sony's sound stuff does work if you flash Ainur directly to /system. With Magisk it doesn't. You could say that pure Ainur without tweaking has sound similar to the best settings I can get for me from stock with tweaking.

I don't think the sound mod has anything to do with the kernel, it actually patches /vendor most of the time rather than /system on Qcom devices, join the telegram group for some more info and the latest build.

[MENTION=8041676]GreyLeshy[/MENTION] This night my phone had more than 50% battery and when I woke up it had 0%, it was off. YouTube was probably in the background but when locking the screen it should go to sleep..? Usually, this shouldn't happen.

That steep fall in battery in the screenshot was overnight. :/

Edit: this was on 1.3.0.0 beta kernel version.
[Xperia Z5 Compact Android Development] _LLJY:
force shutdown after >20s

Go into recovery

ls /sys/fs/pstore

Look for whatever that resembles console-ramoops

cat /sys/fs/pstore/console-ramoops

At least this is how I do it, I'm not sure if pstore is broken on the Z5 or not

Sometimes it gives truncated messages, but it's still readable
[Xperia Z5 Compact Android Development] GreyLeshy:
Yes, when you lock the device should sleep, but some applications do not allow him to fall asleep...
[Xperia Z5 Compact Android Development] GreyLeshy:
Kernel v1.3.71 beta

Change log:

- Update to LA.BF64.1.2.3_rb1.18

The kernel is stable...
[Xperia Z5 Compact Android Development] rommo_911:
BUG REPORT:

thanks for your work mate ! i love very much, the stock kernel keep eating my battery even with flight mode in night, now i have it resolved and phone sleeps perfectly.

bugs :

i am running on stock .1.54 and i have two problems occurred after i flashed the kernel version 1.0

1- random reboot while using the phone, sometimes reboot by it self in my pocket, the reboot increases if i changed cpu governors by kernel auditor.

nothing additional in my phone installed but magisk root and only greenify is granted permission.

2- when unlocking the phone, it lacks for about 5 sec before it recognize my finger print and unlock, most of times ,press power button with my finger and wait 5 sec then the phone unlocks. sometimes it lacks for more than 5 sec and reboot then

also at this moment i am going to flash the v 1.2
[Xperia Z5 Compact Android Development] rommo_911:
screen-off lack in music playback

i am still looking in it ....

but first impression is music playback cutting on and off while screen is of most of times in Soundcloud

i tried changing the governors but still same.
[Xperia Z5 Compact Android Development] spikeyhair:
reboots

Hi,

I have tried 1.2.31 and 1.3 beta and get a reboot every time the phone sleeps or I lock it?

Should I try the 1.3.71 beta or wait for the next version? Currently rolled back to 1.0 to stop reboots.
[Xperia Z5 Compact Android Development] ModyCZ:
I've had reboots using 1.3.50, went back to 1.3.0, that was most stable.
[Xperia Z5 Compact Android Development] GreyLeshy:
My device wakes up instantly... Looking for a problem on your side.

[MENTION=5239694]rommo_911[/MENTION], [MENTION=1087517]spikeyhair[/MENTION], [MENTION=3064306]ModyCZ[/MENTION], at the moment, Your mistakes mean nothing to me because You have not provided the logs.
[Xperia Z5 Compact Android Development] rommo_911:
Ok thanks. How can I provide you logs ? I am already on 1.3.71

I am still having trouble with fingerprint unlock, also the reboot when the fingerprint failed or lacked at screen unlock, I didn't had this on stock kernel tho, it started since I flashed greenkernel

Ps: very nice sleep at night on latest version, with Wi-Fi on I had very few battery drain for the first time !
[Xperia Z5 Compact Android Development] ModyCZ:
Testing 1.3.71 now, if I get a reboot, I'll try to upload logs.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
++

could be XPosed, Magisk, or other mods (if applicable)

No issues with 1.3.71 beta base
[Xperia Z5 Compact Android Development] rommo_911:
i am removing Magisk now and test ...

although i am still getting some reboots when device was trying to sleep, i was meditating on my phone in the middle of focusing on my internal energy, phone restarts --__-- after approx. 7 min after screen is off.

please someone can help me get logs ? i have adb on my pc .
[Xperia Z5 Compact Android Development] rommo_911:
log

is this it ?

adb shell dmesg > dmes1g.txt
[Xperia Z5 Compact Android Development] GreyLeshy:
Use the search!

If failures occur in the system (without rebooting):

adb dmesg > dmesg.txt
adb logcat > logcat.txt

If the failure caused a reboot of the device, the logs are here:

/sys/fs/pstore
[Xperia Z5 Compact Android Development] rommo_911:
adb dmesg > dmesg.txt ::: is not giving me any thing .... empty file

also ::

adb shell dmesg > dmesg.txt

isgiving me a log

/sys/fs/pstore : if i dont have root ? not possible to get there ?

i attached the logs here .

and yes its causing reboot and i see somthing like : trying to wake cpu and fail. .
[Xperia Z5 Compact Android Development] GreyLeshy:
What problem occurred?

Yes, you need root to get to this folder.
[Xperia Z5 Compact Android Development] rommo_911:
the same reboot issues. and noticably ,when changing cpu governors it increases dramatically,

i removed magisk ,so i cant provide the log for you with no root.

i will try and see if magisk is making the problems and then root again and push you the logs

problems still : 1-fingerprint lacking in unlocking and causing reboot sometimes, 2- rebooting while sleeping after screen is off . + (few random reboots as well)

thanks mate.

could figure anyhting wrong from the logs i sent?
[Xperia Z5 Compact Android Development] trax7:
Mine is fine and stable too.
[Xperia Z5 Compact Android Development] GreyLeshy:
Kernel v1.3.80 beta

Pre-release!

Change log:

- Add support WireGuard
[Xperia Z5 Compact Android Development] rommo_911:
so i removed magisk and TA DA!

the phone is 100% stable for more than a day , no fingerprint lack, no reboot ...

any idea how to get root without magisk ?
[Xperia Z5 Compact Android Development] GreyLeshy:
Alternative SuperSU.
[Xperia Z5 Compact Android Development] GreyLeshy:
Release Kernel v1.4.14

Change log:

- Updated crypto modules

- Update LZ4 to v1.7.3

- Update to LA.BF64.1.2.3_rb1.18

- Add support WireGuard

- Other changes for stability

Downloads

* All previous beta releases removed

* Driver WireGuard is automatically updated when compiling the kernel

* On that note, I graduated from a public release!
[Xperia Z5 Compact Android Development] rommo_911:
logs

on 1.3.71 with Super SU , all the finger print issues and reboot disappeared, it was stable , magisk was causing this.

until one day (yesterday) it had a reboot and then i lost stability and it is lacking fingerprint again .

also the reboot was when i was sleeping and the device was in charger.

attaching the logs.

BTW : the video recording is lacking for some moments, very small but extremely annoying lack in recording which also is reflected in the playback after recording, do you think it is processor lacking? or any other reason

i am flashing the new version now 1414 to test,

thanks,.
[Xperia Z5 Compact Android Development] Liquidator:
Hello there!

Upgraded to 7.1.1 today. Sadly, I get reboots with GreenKernel about 10-15 seconds after the screen goes to sleep. I tried raising the voltages like described earlier in this thread, but no luck in fixing this problem. Kernel panics according to the logs. This happened before installing any mods like xposed.

Gave v1.4.14 and v1.2.31 a try, same problem. Attached logs from 1.4.14

Any help would be appreciated. :)
[Xperia Z5 Compact Android Development] GreyLeshy:
Try it.

[MENTION=646975]Liquidator[/MENTION] , this beta helped You?
[Xperia Z5 Compact Android Development] GreyLeshy:
Try not to use some time smartmax_eps. Governor smartmax_eps on our device is not very stable.

edit:

See post 57
[Xperia Z5 Compact Android Development] ModyCZ:
For me it's very stable. I'm using elementalx governor, Magisk 14 and now 15 and there are no problems with camera or fingerprint sensor.
[Xperia Z5 Compact Android Development] trax7:
The latest beta with the power efficient workqueues is very fast. Felt the difference from the moment it booted! :good::good::good:

Until now I haven't experienced any of the slowdowns I had before with Youtube, Messenger, Chrome etc. Btw, for anyone reading this, use Chrome Dev - it has a few upcoming features which make browsing with it faster and that's always welcome, it's also rock stable :)

Edit: Seriously, WOW, just take your time to browse Settings or swipe the homescreen... Everything responds INSTANTLY, so fluid I feel like I'm melting... :D:D
[Xperia Z5 Compact Android Development] Liquidator:
Hey there, sorry, I was out for the day!

This helped, thanks a lot! I flashed Green_Kernel_v1.4.17 beta v2.zip before leaving for work (nothing like a little risk) and everything's running fine. On ~7 hours of uptime by now (rebooted around noon, I think). :)
[Xperia Z5 Compact Android Development] GreyLeshy:
Well, I'm glad to hear it. Now I need to get a better look at Your logs. To solve Your problem I had to disable IOSCHED_SWITCHER.
[Xperia Z5 Compact Android Development] Liquidator:
Huh, interesting. I'm glad you found the issue so quickly. :)

Let me know if there's anything else I can try to help you with (and grab logs of).
[Xperia Z5 Compact Android Development] Horst the Animal:
Any idea why all of my little cores are on and on highest Frequenz?

I only install supersu, Kernel auditor and green Kernel on a fresh System.
[Xperia Z5 Compact Android Development] trax7:
If you just booted recently it will be like that. Wait several minutes for things to cool down. It's fine on my device.
[Xperia Z5 Compact Android Development] trax7:
Rebooted once right now, have a hunch it's from lower voltage, raised big cores by +5mV.
[Xperia Z5 Compact Android Development] trax7:
Did it again, raised by +5mV again.
[Xperia Z5 Compact Android Development] Horst the Animal:
Was waiting 4h and nothing Changes:

Because of this my Phone is getting warm when i Surf in Internet, or writing an e-mail...what ever i do.... I hope someone can help me
[Xperia Z5 Compact Android Development] GreyLeshy:
[MENTION=4644172]trax7[/MENTION], why would You use a kernel which is specially made for Liquidator ?

edit:

See active frequency in the "overall".
[Xperia Z5 Compact Android Development] Horst the Animal:
Yes ITS getting sometimes down :)

But why are allways at little 4 cores on, if the phone dont need all 4?

For example big ist always going down to one core if its not needed.
[Xperia Z5 Compact Android Development] trax7:
Because I like your work :D and I like to be on the edge haha

Also, it was a voltage issue and now it's stable (after +10mV).
[Xperia Z5 Compact Android Development] GreyLeshy:
Are You using data encryption?
[Xperia Z5 Compact Android Development] rommo_911:
I can't find any clue about how to disable logging in both areas

Little help where to find it. ?
[Xperia Z5 Compact Android Development] CyanWangJ:
is it posible to port it to Z4？ z4 doesn't have a working custom kernel since 7.0 :(:(
[Xperia Z5 Compact Android Development] Liquidator:
I don't. Neither phone nor SD are encrypted.
[Xperia Z5 Compact Android Development] GreyLeshy:
Yes, this is possible because we have the same hardware platform.

My kernel only for stock rom.
[Xperia Z5 Compact Android Development] rommo_911:
Panic and stuck

My phone just got panicked and stuck

I though it was going to restart but no, stuck with no actions with the power button no boot or reboot

So I forced off with power button + vol up

I am attaching now some logs if you can check it out

Thnks mate.
[Xperia Z5 Compact Android Development] CyanWangJ:
hi i'm trying to build a kernel for my Z4,

i have already:

1. installed a ubuntu 16 LTS VMware virtual machine and set build environment(jdk 8, Linaro, gcc, etc.)

2.download your Source Code from github--"clone or download"--"download ZIP"

but after read the build script, there are two things I don't understand:

1. i don't have "mkbootimg" or "mkqcdtbootimg", I googled it, but find many .c files which can't be execute directly(i tried to compile it but got many errors, i cant handle that)

2. i dont know how to get a ramdisk from my running kernel, google said "use split_bootimg.pl" , but the script generated a file named "boot.img-ramdisk" , i think it needs some transform

i only know little english ,and i totally dont know anything about android development,

where can i get these 2 file? please help me:confused:
[Xperia Z5 Compact Android Development] GreyLeshy:
0. Use Toolchain gcc-linaro-6.4.1-2017.11-x86_64_aarch64-linux-gnu

1. mkbootimg

2. Use Android Image Kitchen
[Xperia Z5 Compact Android Development] CyanWangJ:
thank you so much!! i successfully made a boot.img file and flashed it to my phone :D:D i'm so excited

everything seems perfect until the boot anim finished

after boot animination, it pops a message said"systemui FC".

and after i close it, the phone displays black screen(screen is on but display black).

i wait 10mins but it still black, so i flashed back to stock now

why is that?:confused:is it possible to fix?
[Xperia Z5 Compact Android Development] GreyLeshy:
What firmware do You use?

What branch You use for build?

All can be solved, but this requires the logs. With this problem I hardly can help You.
[Xperia Z5 Compact Android Development] CyanWangJ:
firmware version is 32.4.A.1.54 [ROM] M-ROM v.2.0 [7.1.1][32.4.A.1.54][E6533/53]

its a modified stock rom

branch is "GreenKernel_32.4.A.1.54"

here is my build config View attachment build.config.txt i edit it from "build.config.sumire_dsds.gcc"

i'm learning how to get some log.......
[Xperia Z5 Compact Android Development] GreyLeshy:
A kernel for not base firmware, or on the basis of its mods.

I did not check, I do not use such customized firmware.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Pstore needs the following commit:

https://github.com/zachariasmaladro...mmit/a06342dbd02db23647d0e1af9056fd843df5f75d (sony: msm8994: add ramoops mem reservation)

otherwise it's empty no matter what
[Xperia Z5 Compact Android Development] GreyLeshy:
Thanks for the info, I have already added ramoops. On Github, not all fixes are present.
[Xperia Z5 Compact Android Development] GreyLeshy:
Updated the kernel to version 0.4.2.

SoundMod:

- Sensitivity of the microphone at a call is modified

- Increased headphone volume

- Added Apt-X HD for Bluetooth

- Enabled 24/96khz Bluetooth playback

- Enabled 24/96khz Headphones playback

- Enabled 24/192khz USB playback
[Xperia Z5 Compact Android Development] emosis:
V 0.4 antutu score 89000

V 0.4.2 antutu score 64721 is it normal?
[Xperia Z5 Compact Android Development] GreyLeshy:
It's because of trolling.

Let the phone cool down and check again.
[Xperia Z5 Compact Android Development] cioce:
Is this kernel compatible with the last Android 7.1.1 32.4.A.0.160?
[Xperia Z5 Compact Android Development] GreyLeshy:
Kernel is not compatible with FW 32.4.A.0.160.

To compile the kernel there is no source (Sony not posted).
[Xperia Z5 Compact Android Development] angeloskyriacou:
the kernel will be available for the new update ?
[Xperia Z5 Compact Android Development] GreyLeshy:
The answer in the previous message.
[Xperia Z5 Compact Android Development] RazorGore:
And isn't a kernel .elf or .img file sufficient?
[Xperia Z5 Compact Android Development] GreyLeshy:
No, I need the kernel source.
[Xperia Z5 Compact Android Development] ninjy:
Hi,

Is the battery life with your kernel basically better than the stock one?
[Xperia Z5 Compact Android Development] GreyLeshy:
In simple tasks the battery life a little better.

Everyone has their own needs and the core can be configured differently.
[Xperia Z5 Compact Android Development] trax7:
I like your kernel, just moved from Zach's because it hasn't been updated in quite a while (just when my hopes were high :D). The battery life now is comparable even with all the tweaks he did, maybe because of the newer governors. Sometimes it drains a bit more tho. Performance is a little better imo.

Anyway, i did a lot of testing back then, so if you need feedback or anything really just gimme a heads up, i wanna help :good::D
[Xperia Z5 Compact Android Development] GreyLeshy:
Updated the kernel to version 0.5 for FW 32.3.A.2.33.

Sony still has not posted the kernel sources for 32.4.A.0.160.
[Xperia Z5 Compact Android Development] Horst the Animal:
Will this kernel work with this rom https://xdaforums.com/z5-compact/development/rom-stock-z5c32-3-0-376r2dau-t3570248 ?
[Xperia Z5 Compact Android Development] GreyLeshy:
I have no idea, check!
[Xperia Z5 Compact Android Development] zacharias.maladroit:
That Qnovo driver looks really interesting !

great work :)

Do you have a zip-file to add the daemon to the ROM ?

Not sure how effective it works without ROM-side support :confused:
[Xperia Z5 Compact Android Development] GreyLeshy:
Thank you!

Zip file is not present, I am also in doubt of its work.

Now I finally switched to FW 32.4.A.0.160 waiting for the kernel source and then continue.
[Xperia Z5 Compact Android Development] GreyLeshy:
Happy New Year, everyone!

Install the kernel on stock rom (not modified).

Logs:

adb dmesg > dmesg.txt
adb logcat > logcat.txt

either
adb shell dmesg > dmesg.txt
adb shell logcat > logcat.txt

Addition for kernel:

1. Add a driver WLAN. Without this patch will not work Wi-Fi;

2. Update FW bcmdhd v7.43.184.20 (r718507).

----------edit----------

The solution for this bug is, but not for implementation, because I need to find the best solution.
[Xperia Z5 Compact Android Development] CyanWangJ:
i flashed .54 stock FTF, and the kernel works fine, no FCs.

but when i was using 32.2.A.5.11-marshmallow , modified stock rom(M-ROM)+zacharias.maladroit‘s kernel works fine

i'll go collect some log, upload soon
[Xperia Z5 Compact Android Development] frager45:
My Device: E5803

Rom: Rooted 32.4.A.1.54 Android 7.1.1 (BL unlocked)

Using this files(You check this files?)

Boot.img

Recovery.img

But fail safetynet, i try your

Green_Kernel_v1.4.14.zip and

Green_Kernel_v1.4.14 - UV_mV_table v04 (magisk_v15-module).zip file flashing. But already same error....Pls help me i dont using my bank app.
[Xperia Z5 Compact Android Development] GreyLeshy:
I don't have Your E5803 to check! Your device is not supported in this theme.
[Xperia Z5 Compact Android Development] frager45:
Could you do a work for the e5803?

I will test ur any work...
[Xperia Z5 Compact Android Development] CyanWangJ:
i wiped data/cache and flashed a "fresh" M-ROM to collect clean logcats

and i got these

View attachment logcat.7z

:laugh::laugh: too cryptic for me

and another bug:

stock .54 FTF+this kernel

camera app, it tolds me "internal storage is broken, please use SD card" and the camera app forced to store photos in SD ,

can't choose "internal storage" in camera settings
[Xperia Z5 Compact Android Development] zacharias.maladroit:
some maintenance work, (re-)indexing of media, starting up apps, services, etc.

sometimes it can take up to 10-20 minutes after a boot - or even longer (sic!)

But after a while it should be fine,

otherwise it's most likely some faulty app or services, kernel threads, etc.

+1

Happy New Year, btw :)