yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] emosis:
Greyleshy Thx for working hard on the krenel for our z5 Compact.

Seem there wont be another one Who try to solve our problems about kernel.

Still we couldnt find A version there is no reboot right?

I dont want more performance.

Just solve drm problem and it s all enough for me.

Is there A version for me?
[Xperia Z5 Compact Android Development] GreyLeshy:
Toturial for make TA partition on sdcard.
[Xperia Z5 Compact Android Development] :
Why did the 1.8 ghz overclock for the little cores get removed? Afaik in older versions before the ones for 32.4.A.1.54 it was present

Also, will you make a kernel for LineageOS 8.1 when it gets released for the z5?
[Xperia Z5 Compact Android Development] trax7:
AFAIK it wasn't removed and he will most probably not make a kernel for Lineage, he's moved past the Z5c and is just maintaining it from time to time :)
[Xperia Z5 Compact Android Development] :
In the changelog you can clearly see that it was removed, you can also check yourself with any kernel manager app.

I was asking about LineageOS oreo because he said a few months ago that he would make a porting if they made an oreo rom, With a good kernel like this one it would be awesome
[Xperia Z5 Compact Android Development] trax7:
My mistake then, I apologise. Afaicr the new kernel performs way better anyway so the overclock is kind of unnecessary. It would only increase the heat. That's just my opinion though :)
[Xperia Z5 Compact Android Development] :
Having to use the big cores to get decent performance generates more heat than overclocking the little cores, Since you can overclock even without raising the voltage above stock it is much more efficient than using lower clock speeds (wich means that even when they use a lot of power, there is very little power waste, so less heat)
[Xperia Z5 Compact Android Development] endriklos977:
Hey! Is it possible to use this kernel with a modified SystemUI? I'm trying to use it with XZ2 Stayle ROM, but SystemUI crashes, except for that everything works. Stock kernel or rootkernel doesn't boot at all and Zach's kernel playground just has an unusable fingerprint speed for me and possibly call issues (can't verify that caused by because other kernels don't work).
[Xperia Z5 Compact Android Development] trax7:
Depending on the workload and scheduling.
[Xperia Z5 Compact Android Development] :
The little cores will always be more efficient than the big ones, the workload affects efficiency in the same way for both cpu's

---------- Post added at 06:07 PM ---------- Previous post was at 05:54 PM ----------

Another issue i have found is that i can't turn on more than 1 big core at once... and also can't make cores turn on and off automatically when needed.
[Xperia Z5 Compact Android Development] trax7:
Better have 1 big core turn on in an instant than have several small ones working for a while. Race to idle. I agree big cores are more inefficient but there is a reason they were made for.

The scheduling and temperature are what determine how many big cores should be on. Change one or the other and you will see a difference. It's not an issue on my device.
[Xperia Z5 Compact Android Development] :
I can't make them turn on and off automatically, it's either always on or always off.

My current setup is 4 little cores always at 1.6 GHz that instantly go at 300 mhz when idling (using FairPark) and no Big cores active.

The phone is smooth and almost never heats up, the only problem is that apps take a bit to load.
[Xperia Z5 Compact Android Development] trax7:
I don't use any further CPU tweaks apart from undervaluing and my device is smooth and works well. FairPark is most likely what is keeping your big cores shut off.
[Xperia Z5 Compact Android Development] :
i can turn them on, it's just that i can't make them turn off when not needed. Also i can't turn on more than one of them.

FairPark it's just an interactive governor setting, even when disabled nothing changes.

Wich version and settings are you using?
[Xperia Z5 Compact Android Development] rayaner:
any updates on the LineageOS support?
[Xperia Z5 Compact Android Development] trax7:
Latest version from nightly folder, undervolted and touched some LMK settings.
[Xperia Z5 Compact Android Development] fredyfartas:
what a pity I have tried the last of the night and I have some restart, especially after installing magisk 17.1, I do not understand it seems to work well for the others less than me, I give up, thanks for your work
[Xperia Z5 Compact Android Development] Zapic-:
Same here, random restarts after installing magisk 17.1
[Xperia Z5 Compact Android Development] fredyfartas:
At least I'm not the only one, haha, I'm sorry for you too
[Xperia Z5 Compact Android Development] Superrman:
i have 27.8RC11 kernel with magsik 17.1 rarely reboots , i dont recall any reboots

(but i reboot myself once a day most of the time) to clear zram swap file\ram, it helps for app loading speed overall

SS added before and after (apps was closed before SS was taken)

edit just now my device reboot with vulkan app (driver installed worked b4)

another edit reflash the driver helped alot but again beside that rarely reboots
[Xperia Z5 Compact Android Development] fredyfartas:
and can you tell me exactly what rom you have? to try the same thing in mine
[Xperia Z5 Compact Android Development] Superrman:
stock .54
[Xperia Z5 Compact Android Development] fredyfartas:
I already know, I mean which, 32.4.a.1.54 customized ce1, or the customized au, the nordic etc
[Xperia Z5 Compact Android Development] Superrman:
1295-6639 Global-lte2a

1298-7259 · Customized a IL

(ive dialed *#*#7378423#*#* to check)
[Xperia Z5 Compact Android Development] GreyLeshy:
At the moment there is no LineageOS 15 (Android Oreo) for the platform kitakami.

Since there is no Oreo there is no support for LineageOS.
[Xperia Z5 Compact Android Development] :
So... when it will get released you will do it right?

As you can see on the Xperia Z5 forum page, a group of people is working on it!
[Xperia Z5 Compact Android Development] GreyLeshy:
If I have time and desire, then I will make.

The main thing that they have managed to release stable release until the end of the year.
[Xperia Z5 Compact Android Development] Wenro:
Hello! :)

I'm also having issues with USB not being detected. I hear sound on connection, but no recognition and no charge. USB Debugging, MTP etc is on. Same with different cables.

Flashed kernel through TWRP, also re-did it to see if it fixed. I have the drivers. Not sure what next to check?

I searched "USB" in this topic and tried finding a solution, but to no avail. Should I try an earlier version?

I managed to get charge from wall when device was off.

32.4.A.1.54

recovery_suzuran_220218_2.img

Magisk v17.1

Latest Kernel in Nightly

Regards,

EDIT: Manage to get Flashmode and Fastboot connected, so it's nothing wrong with cable or ports....
[Xperia Z5 Compact Android Development] trax7:
How did you flash the kernel? Fastboot or TWRP, its meant to be flashed through TWRP as it goes with additional stuff (like the mtp drivers).
[Xperia Z5 Compact Android Development] Wenro:
Yeah, through TWRP.

TWRP through Fastboot

Kernel through TWRP

Magisk through TWRP

Latest GreenKernel, I put that entire zip on SD-Card, flashed boot_E5823_Enf to boot.

I considered trying maybe LineageOS, but I kinda liked this, and the kernel itself. So if I could get this working that'd be awesome. :)

EDIT: Managed to get charge from wall. So only PC connectivity remains. All the drivers have worked up to this point so I don't know why they wouldn't now, but how would I go on reinstalling them all?

EDIT2: Still managing to get power from wall, it kinda varies sometimes. I would like to get the USB PC connectivity working but for now I suppose it's not a dealbreaker.

I've gone ahead installing Xposed and a couple of modules, also Magisk modules, and it seem to run well. When all the setup is done I'm eager to see how it performs battery/performance wise.
[Xperia Z5 Compact Android Development] n00b0815de:
USB functionality

[MENTION=6076737]Ampull[/MENTION]: Although I don't want anyone to experience these USB issues: Glad to hear that I'm not the only one. And I fully support the description.
[Xperia Z5 Compact Android Development] Wenro:
Yeah. It sucks but I have a way to get around it so it's not like I'm stuck with a worthless phone. However, I don't want to blame the kernel but of course I find it odd it's not working now. It varies, some people had NO issues whatsoever, but I did find a some having the USB problem. One guy managed to solve it, but he had flashed it from flashtool, not TWRP, once he did through TWRP it fixed. I have re-flashed couple of times without success. Didn't see any reply from the others solving it, just that one guy.

I'm no expert either, no knowledge how to find out what is really causing it, no knowledge how to build/edit/customize kernels. For now I'll roll with it, but always looking for a cause. :)
[Xperia Z5 Compact Android Development] Wenro:
Bluetooth seems to be affected as well. I was going to play music through Spotify over Bluetooth but it's completely quiet. AUX works, phone sound works.
[Xperia Z5 Compact Android Development] GreyLeshy:
[MENTION=6076737]Ampull[/MENTION], write in the terminal "lsmod" and give the result here.
[Xperia Z5 Compact Android Development] Wenro:
Hey! Sorry, never used terminal here, this is what outputs

[IMG="https://i.imgur.com/87y2tfM.png"]https://i.imgur.com/87y2tfM.png[/IMG]

Sorry if I misunderstood. ;)
[Xperia Z5 Compact Android Development] GreyLeshy:
You have no additional modules loaded and therefore USB and BT does not work.

Install the kernel via TWRP.
[Xperia Z5 Compact Android Development] Wenro:
I did install the kernel via TWRP as stated above, followed the exact steps provided by [MENTION=4644172]trax7[/MENTION]

EDIT:

EDIT2: So did I follow a step wrong? I put the entire zip, not unpacked. Not sure how the modules didn't follow since the kernel is flashed on the phone.

Dropbox -> Kernel 27.08.2018 RC11 g7d6767d

Kernel-version

3.10.108-perf-g7d6767d

GreyLeshy@BuildHost #1

Mon Aug 27 03:41:29 MSK 2018
[Xperia Z5 Compact Android Development] trax7:
Yes, you have to flash the whole zip, not just the boot.img :)
[Xperia Z5 Compact Android Development] Wenro:
So, first flash the entire ZIP and that's all, you don't have to flash the separate boot to boot?

EDIT: Well, it worked. It seems to be working as it should now. I just don't understand why someone didn't tell me I did it wrong when I provided the exact steps I did? :laugh: :laugh:

Since I'm not a regular phone rooter, flasher etc, I didn't get that part.. :silly:
[Xperia Z5 Compact Android Development] trax7:
The zip flashes the img inside. A lot of zips can do that, it's so ubiquitous, hence the opportunity to miss it when explaining. Flashing zips through TWRP also is generally accepted to be by default and if there's a need to flash an img file, we generally say so or just say that it can be flashed through TWRP *and* Fastboot.

I'm glad it all worked out for you in the end and everything is fine. :)
[Xperia Z5 Compact Android Development] Wenro:
Yeah, it all got to me at that point. Just a complete misunderstanding from my side.

Thank you!

And thank you [MENTION=8041676]GreyLeshy[/MENTION] for the kernel, and sorry that I doubted it when I was doing it all wrong :) :good:
[Xperia Z5 Compact Android Development] n00b0815de:
I just re-did all steps. Flashed via TWRP and saw the update messages (Firmware, USB,...).

When doing the lsmod, I get a plausible result (see attached screenshot).

But still no USB connectivity.

I'm at a loss.... Could anyone please help me?
[Xperia Z5 Compact Android Development] Wenro:
Do you get charge like normal through wall outlet? So you can rule out that the USB is actually working, and also try different cables.

If this is working you seem to be in the same boat as I was in, but you seem to do it right. Is it the latest Nightly you're flashing?

Kernel 27.08.2018 RC11 g7d6767d.zip
[Xperia Z5 Compact Android Development] n00b0815de:
First: Thanks for the reply.

Yes, the phone gets charged.

Yes, latest nightly.

I really don't know what else to do...
[Xperia Z5 Compact Android Development] Wenro:
Bluetooth working? Do you hear the USB connecting to your PC or completely dead? I heard sound but nothing came up when I had issues.
[Xperia Z5 Compact Android Development] trax7:
Did you flash the *whole ZIP* or just the image?

You need to flash whatever you downloaded in TWRP, no extracting, no taking files out or in, just download the zip, copy to phone, flash zip in TWRP. It works. For everyone. :)
[Xperia Z5 Compact Android Development] Wenro:
I have had 3 reboots now, during call. Phone just dies, red light flashing 3 times and then rebooting. Once a while ago, and nothing since, but now again yesterday and once just now.

How do I go on about looking up the reason behind this? :)

Regards,
[Xperia Z5 Compact Android Development] GreyLeshy:
Thanks for the patch.

Tomorrow I will try to compile kernel CM-14.1 with this patch for FW 0.160. (So to say a temporary solution while Sony did not lay out the core.)
[Xperia Z5 Compact Android Development] Horst the Animal:
Still not working with this Stock Rom

https://xdaforums.com/z5-...r2dau-t3570248

got a system ui force close
[Xperia Z5 Compact Android Development] GreyLeshy:
Well, here I am nothing can be done, I have no plans for optimizations to custom firmware.

I have compiled a kernel only for a stock firmware.
[Xperia Z5 Compact Android Development] trax7:
It's an issue with the XZ SystemUI. Same thing happens when I flash his mod on stock and flash a new kernel after that.
[Xperia Z5 Compact Android Development] GreyLeshy:
Try taking a newer SystemUI from the XZ firmware 7.0. Decompile and compare with SystemUI from Z5c. Well, further on the circumstances.
[Xperia Z5 Compact Android Development] Alvian_P:
Any update?
[Xperia Z5 Compact Android Development] GreyLeshy:
Unfortunately the updates is not planned since Sony has not published the source code of the kernel 32.4.A.0.160.

But if You're talking about 32.3.A.2.33, here too, updates will not be because the firmware is outdated.
[Xperia Z5 Compact Android Development] Alvian_P:
ok bro, and thanks for your kernel.

I have question, how to fix quick charging 2.0? I test aukey and uch10. when use z3c lasted MM, 5% to 100% its approximately 1 hours 15 minutes. when use z5c its approximately 2 hours.

z3c more fast quick charging. I tested use usb doctor, z3c >50% - around 900mah , z5c >50% - around 400mah

edited: so, its from ROM, Kernel, or hardware?

I new in z5 series.
[Xperia Z5 Compact Android Development] GreyLeshy:
I don't have QC 2.0, but I'll provide the statistics from the forum 4PDA. The phone was switched off.

time (min): QC 2.0 / normal charging (QCH 20)

10: 10% / 7%
20: 22% / 15%
30: 36% / 25%
40: 52% / 35%
50: 67% / 47%
60: 82% / 59%
70: 91% / 71%
80: 96% / 82%
90: 100% / 90%
100: - / 95%
110: - / 99%
114: - / 100%

Alternatively, check the charging time on stock kernel.
[Xperia Z5 Compact Android Development] Alvian_P:
Thanks. But in 90min my phone (z5c) not fully charger 100%. When use z3c 100% around 90min.

And z3c more cool than z5c when use qc2.0

Maybe difference battery capacity.
[Xperia Z5 Compact Android Development] GreyLeshy:
I publish the test kernel for 32.4.A.0.160.

See Github to see what changes included.

https://www.dropbox.com/s/bh4ok7v2zkju5n6/Green_Kernel_BETA.zip?dl=0

And for best compatibility flash update fw WLAN/BT. https://xdaforums.com/showpost.php?p=73357962&postcount=11

Screenshot AnTuTu
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Sony is shipping a different wifi driver for suzuran (Z5 compact):

https://github.com/zachariasmaladro...a_I.1_n_1/drivers/net/wireless/bcmdhd_suzuran

Is 32.1.D.0.436 working alright for you ?

I remember several issues being reported with the driver for the "big" brother of the Z5 compact in the past, thus I was forced to use the prebuilt driver for quite some time,

but perhaps that update improves things (these are quite a lot changes !)

Thanks :)
[Xperia Z5 Compact Android Development] GreyLeshy:
Unfortunately to test this driver I can't because I have Z5c. https://github.com/GreyLeshy/androi...ernel-DEV/drivers/net/wireless/bcmdhd_suzuran
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Oh - thanks for adding that update, then !

Much appreciated,

wasn't aware that the Japan firmware was including WiFi updates :)
[Xperia Z5 Compact Android Development] GreyLeshy:
And surprisingly in it is a newer driver wlan.
[Xperia Z5 Compact Android Development] ModyCZ:
Finally I can switch to .160 FW, thanks to you both [MENTION=8041676]GreyLeshy[/MENTION] and [MENTION=3037651]zacharias.maladroit[/MENTION] I wouldn't use a ROM without your kernel. ;)
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Please check your recent camera changes,

at least one of those breaks video recording for me (and others) on the Z5 on LineageOS / RR

https://github.com/zachariasmaladro...n_1_C_2/drivers/media/platform/msm/camera_v2/

(2 commits from September 9th)

Thanks
[Xperia Z5 Compact Android Development] GreyLeshy:
Tested on stock firmware (I do not use other firmware), the camera worked without errors.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Playback of the recorded video is fine ?

It was recording without problems but the final video was only showing a few frames and then nothing, only sound played from beginning to the end,

and if I remember correctly the time displayed for the video was totally messed up (e.g. several seconds -> 30 minutes or so)
[Xperia Z5 Compact Android Development] GreyLeshy:
Checked again, I have everything in order.

Video stream and the audio was intact.

Distortion over time was not.
[Xperia Z5 Compact Android Development] Superrman:
if didnt change anything(like adding mod,kernel,new app,) it might be the battery try recharge it to 100% 1st
[Xperia Z5 Compact Android Development] Wenro:
Well, what I changed is going from stock to rooted.. :p

Details in my signature.
[Xperia Z5 Compact Android Development] Superrman:
what version of kernel you are using?
[Xperia Z5 Compact Android Development] Wenro:
Latest nightly. Kernel 27.08.2018 RC11 g7d6767d
[Xperia Z5 Compact Android Development] Ëú÷î:
I have the same problem. I experience random restarts especially during calls. The red light blinks 3 times and the phone performs a restart.

It would be very nice if somebody has a solution for this because it's very annoying :(

more information which can help to investigate the issue:

TWRP 3.2.3

Stock rom (1.54) - customised AU (tried with Telenor BG as well)

Green kernel - latest nightly (tried with latest stable)

Magisk 16.7 (tried with 17.1)

Thermal FSC mod

Greenify

Thanks in advance!

P.S. Yesterday 2 calls within 5 minutes - 2 restarts...
[Xperia Z5 Compact Android Development] trax7:
Could you check your CPU voltage settings?
[Xperia Z5 Compact Android Development] Wenro:
Not sure how, I took this screen, adding to attachments;
[Xperia Z5 Compact Android Development] Superrman:
same here
[Xperia Z5 Compact Android Development] trax7:
Try upping big cores by +5mV.
[Xperia Z5 Compact Android Development] Wenro:
How do you do that? I don't think I see an option for upping specifically big cores.

Regards,
[Xperia Z5 Compact Android Development] trax7:
There is. Look at the frequencies carefully and remember the phone's spec.
[Xperia Z5 Compact Android Development] Ëú÷î:
Unfortunately I couldn't manage to make normal calls with the problem and I relocked the bootloader.
[Xperia Z5 Compact Android Development] Superrman:
i moved to last LineageOS 14.1 until it will fixed

GPU performance are 50% less in this ROM

and camera 8MP instead of real 23MP

the rest is better (so far)

CPU apps, GUI, speakers volume ,etc

im trying to flash the same mods

weird because util lately the last version of greenkernel was very stable..

with xposed greenfiy ... maybe its one of the mod ive install. i even change the GUI
[Xperia Z5 Compact Android Development] trax7:
I make calls just fine with it. check CPU voltage and increase all big cores by +5mV and test.

it will not be fixed soon, probably ever, this is the best we have for now. its not creating any of those problems for me. reboots are most likely caused by too low voltages since the kernel tries to minimise them.
[Xperia Z5 Compact Android Development] Superrman:
Thanks i will try it, when ill return to stock. (it just weird, because because it was super stable for few weeks then random reboots ,also while gaming on some apps)

i guess you are right because in linage the voltage is higher
[Xperia Z5 Compact Android Development] lachezar1990:
Could you please share with us your CPU voltage configuration? :)
[Xperia Z5 Compact Android Development] trax7:
They are very individual so whatever works for me may not work for you. That said, mine are quite high, I've seen people with way lower settings than mine.

Unfortunately, I have changed my device so I can't tell you the exact values. What I can tell you, however, is to increase what you already have by +5 or +10mV and test how stable you are going. It should be enough if the phone is rebooting in only one edge case and that value is small enough not to cause any noticeable impact on battery life and thermals. It does A LOT for stability tho if you are coming from stock which has higher values.
[Xperia Z5 Compact Android Development] Superrman:
adding voltage didnt work still crashing

maybe ill try another green kernel ?
[Xperia Z5 Compact Android Development] trax7:
Try add a bit more. Don't overdo it tho!
[Xperia Z5 Compact Android Development] Superrman:
LXT default mod seems to fix my reboot problems so far ...
[Xperia Z5 Compact Android Development] kryosan:
[MENTION=8041676]GreyLeshy[/MENTION], could you please update e2fsprogs to fresh version, if this possible? AFAIK, there's should be added support of mounting ext4 via fuse.

UPD: yes, it's there!

Homepage: http://e2fsprogs.sourceforge.net/

Git: http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=summary

Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.5

And fuse2fs is the module that I really want (it's part of e2fsprogs source):

https://blueprints.launchpad.net/ubuntu/cosmic/arm64/fuse2fs/1.44.1-2

man fuse2fs : http://man7.org/linux/man-pages/man1/fuse2fs.1.html

man mount.fuse: http://man7.org/linux/man-pages/man8/mount.fuse3.8.html
[Xperia Z5 Compact Android Development] GreyLeshy:
If I have free time will make.
[Xperia Z5 Compact Android Development] cderfv:
how can i remove this core clean?
[Xperia Z5 Compact Android Development] GreyLeshy:
RC12 Pre-release

Change log:

GCC Linaro Toolchain 7.4.1

LZ4 v1.8.3

sdFAT v2.1.8

https://www.dropbox.com/s/ycu69zryis53nbb/Kernel%2025.02.2019%20RC12%20g5a9eacf.zip?dl=0
[Xperia Z5 Compact Android Development] Wenro:
Hello! Thanks for upload.

I'm not an "advanced" user. Would you recommend getting this update anyway?

Regards,

EDIT: Oh and again, just wanted to mention that I can't put more power to specifically big cores, just global, on all cores. It's on +5mV now, thinking of trying +10. What is usually the numbers here? How far am I safe to go, just to prevent the phone shutdowns? It's becoming annoying by now, I can't trust my phone at all during calls.
[Xperia Z5 Compact Android Development] GreyLeshy:
For normal use, a stock kernel is sufficient.

Stable voltage for kernel.
[Xperia Z5 Compact Android Development] Wenro:
This is how my voltages look atm
[Xperia Z5 Compact Android Development] Superrman:
after some time i got back to stock kernel with grey 1st kernel :P so far super stable (i just need root and no other customizations)

btw i found out some "custom rom" stoled your kernel (and they also stole the roms from other people)

edit :im using RC12 Pre-release at the end the best stable so far (stock patched wifi didnt wor)
[Xperia Z5 Compact Android Development] :
Wich rom?