yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Android Development] espaciosalter20:
I'm going to play a little bit with this because i want to format data with f2fs but using stock ramdisk, that option doesn't work anymore. I Just want to have my TA active beside elitekernel goodies including f2fs binaries.

Thanks for your help man! Really appreciated!
[Xperia Z3 Compact Android Development] hheegg:
Hi

After flashing the kernel, the TWRP recovery does not recognize the USB OTG

anyone else has this problem? Any chance to solve it?
[Xperia Z3 Compact Android Development] fluffi444:
USB otg from twrp is only twrp related. If I remember correctly it starts working for me with twrp 3.0.3.0. Plug USB device first to adapter and then adapter to full booted twrp. That works here. Also with EK.
[Xperia Z3 Compact Android Development] frager45:
im using eXistenZ Marshmallow - v5.6.5

elite kernel v3 flashed after phone not working, never openinig screen :(...
[Xperia Z3 Compact Android Development] panzerox123:
Do you have an unlocked bootloadwr?
[Xperia Z3 Compact Android Development] frager45:
No.
[Xperia Z3 Compact Android Development] fluffi444:
Custom kernel (so also valid for EliteKernel) are only for unlocked bootloaders.
[Xperia Z3 Compact Android Development] panzerox123:
... You can't flash kernels with a locked bootloader...
[Xperia Z3 Compact Android Development] 2muchpain:
After installing this kernel on SliMM 3.8 the games became to lag (on stock MM with stock kernel they worked smooth). Antutu score - 61k. Any suggestions?

How can I adjust settings(i often use heavy apps)?

I repacked kernel with TA Poc using guide by fluffi444 https://xdaforums.com/z3-compact/development/kernel-elitekernel-v1-t3427549/post71872301#post71872301. Maybe lags are side effect of using this script? And I don't know why fluffi444 recommends to use stock ramdisk on this kernel. Can ramdisk affect kernel performance?

EDIT: this is kernel settings. Then i switched CPU and GPU profile to Performance the lags disappeared (but after minute phone rebooted :) ).
[Xperia Z3 Compact Android Development] ThePhoenixBird:
Hello @ShadowElite

Are you still working on V4? Magisk just had a major rework on v12 and I was wondeirng if you plan to add support for it on your next release.

https://xdaforums.com/member.php?u=5900960
[Xperia Z3 Compact Android Development] buhanita:
Is this working with MX Rom?
[Xperia Z3 Compact Android Development] shrazy:
Of course, it's a stock based .291 er rom it work flawless.
[Xperia Z3 Compact Android Development] B-Hard:
Hey Guys, I had SLIMM 23.5.A.1.291 (6.0.1) installed with TWRP. Flashed this Kernel with TWRP and now my phone is dead - no power on is possible...

Please help me!
[Xperia Z3 Compact Android Development] ted!:
0. Hopefully you backuped everything before. Flash twrp via fastboot -> restore backup -> ready.

-----------------------

1. Try to connect phone via flashtool in flashmode (connect with USB + volume down)

2. If it works flash stock via flashtool

(3. If not try emma flashtool and return to step 2)

Good luck!

Greets ted!
[Xperia Z3 Compact Android Development] Kopaxi:
This guide helped me, maybe you can try it.

https://xdaforums.com/showthread.php?t=3536395

Sent from my D5803 with XDA developer app
[Xperia Z3 Compact Android Development] B-Hard:
Thanks, I could fix it fith the flashtool and an stock ROM ;)
[Xperia Z3 Compact Android Development] buhanita:
How can I check/modify GPU Frequency?
[Xperia Z3 Compact Android Development] fluffi444:
https://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549
[Xperia Z3 Compact Android Development] NS_85:
I unlocked my BL for using this kernel. But when I flash this kernel, some of banking apps couldn't open :/

I tried all roms and kernels (stock or aosp based) only this kernel has banking app problem.

Is there any idea for fix this, I really want to use this kernel but banking apps are important for me.
[Xperia Z3 Compact Android Development] fluffi444:
Read starting post #502 on page 51 - and the following posts:

https://xdaforums.com/z3-compact/development/kernel-elitekernel-v1-t3427549/page51
[Xperia Z3 Compact Android Development] NS_85:
Sorry my English not good. I can't understand all posts.

I installed magisk and I deleted "vendor/bin/su" and "vendor/bin/busybox" but result is same :(
[Xperia Z3 Compact Android Development] fluffi444:
Try without Magisk. Some banking stuff checks also for it.

And this Kernel is SELinux permissive - Some apps are needding SELinux enforced.
[Xperia Z3 Compact Android Development] NS_85:
I tried with clean flash. I flashed slimm 3.8 and elite kernel v3. But no su file in vendor/bin folder.

I tried poc tool steps but I can't do it :(
[Xperia Z3 Compact Android Development] kuntiiiL:
[MENTION=4962787]fluffi444[/MENTION] Hi, buddy. I reproduce your procedure on SliMM ROM (will post there) it will complement yours. Thanks for wisdom:cowboy:

1) use PoC with: boot_z3c.img

- finish this PoC session

- Move these outside from /OUT: boot.img-cmdline, boot.img-dt, boot.img-zImage.

2) use PoC with: kernel.elf

- YES to disable*, NO to install*, DON'T PRESS any key; keep this session open.

3) Replace with previously saved 3 files; /OUT.

4) NOW PRESS any key; to finish PoC.

Instead, this time is to extract [slimm_3_8.zip] and flash it OVER .291 firmware.

pure SliMM 3.8 ROM pure Elite Kernel V3

​
[Xperia Z3 Compact Android Development] fluffi444:
And now you can still use latest SuperSU SR3 in SystemlessMode with app RootSwitch 1.3.3.2 (a bit hard to find in the meantime - but madeable)... And you can switch between Root and Full Unrooted System.... This is how my system works... :o
[Xperia Z3 Compact Android Development] kuntiiiL:
Ahh, great combo my friend:good:

With SuperSU SR3 and Elite Kernel V3, switched to Performance (Kernel Audiutor), composite benchmark can yield high result! It’s possible to pass results I have posted HERE before. I don’t include there I thought I left space for other to try and also proof if better.

Just a thought:D perhaps Magisk built-in features is bit too ambitious: Busybox, Modules, Magisk Hide; modern root with gimmicks. Whereas SuperSU has always "travels light" and ALWAYS HAVE been a pure root tool, thus creates space for many developers to take part maturing rooted environment.

​
[Xperia Z3 Compact Android Development] Robot76:
NOT SO PURE IMHO,

Closed source SuperSu (since v2.76* approximately. was the last official build, by the "real", Chainfire after he sold it, to CodingCode, who nobody knows) is both a privacy and security concern: SuperSu now belongs to CodingCode which is a subsidiary to a "large global telecommunications corporation, JJWorld Network Technology Co., LTD. Beijing China. I don't trust it and why the secrecy (also makes cartooney gambling like apps). This is the whole reason behind the sudden birth and rise of both opensourced: Pierre-Hugues SuperUser, based on the original superuser code, and TopJohnWu's Magisk Manager. (Both rapidly playing catch up).

I would never give an app, administrative privileges over my device, to an authority I do not know!?! . use supersu at your own risk.

[emoji7]

*Some v2.76 stable were being released by Chinese warze website's before Chainfire had released it, without his knowledge, and had contained a bug that Chainfire's v2.76 version had fixed, "miss-communication, and have access authority to release"

Chainfire's own Play Store account waa taken over, hence the misspelling of Supersu at the time.

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Android Development] kuntiiiL:
[MENTION=6905152]Robot76[/MENTION] is in da house. nice to see here, buddy! Shoudn’t you be rocking some kickazzz 2.7Ghz DarkKerbal by [MENTION=6948461]panzerox123[/MENTION] by now how’s it compare with EliteKernel V3, I saw you put LineageOS on Z3C, done any composit benchmark yet, please share?

:pArrgh.. you gave me love smiley. I’m straight man, it hurts to read your reply. Well (don't make me do it again) here you go then: “I love you too. . .”

*yeah I know what you mean. Please mind that SuperSU is very, very, long time in the making. It has been combat proof with Z3C since Kitkat; either bootloader locked or unlocked. Actually I don’t care and I see result!

​
[Xperia Z3 Compact Android Development] Robot76:
I'm probably a bit overly cautious, they're probably nice individuals, 'but' lol, I try to implement privacy and security wherever necessary and 'open source wherever I can, and where possible...

I haven't benchmarked, or made comparisons, and "custom' has many more variables that come into play, that distinguishes itself from stock...

Lineage OS has Nougat atm which is very nice on our device, and the 'stock' and 'after stock' features that the z3c los (u) project contains, are always being either added, corrected or honed.

So far, I am loving the evolution of software on our phone...

I am in awe and impressed with the direction, dedication and passion with the various teams of individuals that interconnect and work for the betterment of our device and thier expertise gained...

Yip, I am rocking the DarkKerbal right now, also with credits to ShadowElite...

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Android Development] kuntiiiL:
Good to hear [ShadowElite] contributed at GitHub.com, but I read somewhere he’s dealing with thesis (final) or some sort. Kinda puts [panzerock123] a young Jedi master, lol. good for him, though.

Okay :cowboy: and I couldn’t agree more with you:

- implement privacy …where possible; Done! Radically :laugh:all store apps

- LoS many variables come into play; Not yet! I’m stag restoring Sygic waypoints to Navitel

- LoS features always being either added or corrected; yup and teams interconnects

- Z3C evolution, direction, expertise, dedication, passion : MASTERS, period!

​
[Xperia Z3 Compact Android Development] SaddFox:
I'm using EK v3 with Xperience v10 and with default settings the phone is a bit unresponsive at times and music stutters, especially with screen off. I can fix this by increasing min cpu speed to around 700 with kernel adiutor, but I guess it isn't great for battery life.

I have seen some mentioning custom profiles and modifying the kernel itself. Can someone give me a quick rundown on this. Mainly interested in custom optimised profiles. I prefer battery life over performance, but want to have enough power for music with dsee hx.
[Xperia Z3 Compact Android Development] panzerox123:
Those seem like Xperience bugs . I think I've seen a few posts with this bug on the thread .
[Xperia Z3 Compact Android Development] Infy_AsiX:
I was tired of my overheating phone so I bought some quality CPU thermal paste. It's a critical difference for boot up and playing basic games while charging now. Even after all the undervolting, underclocking and bloat removal this turns out to be the only proper solution. I reckon it's around at least 5°C cooler, sometimes even better.
[Xperia Z3 Compact Android Development] Robot76:
Cool

Where abouts have you applied the paste?

[emoji7]

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Android Development] Infy_AsiX:
I went all out without researching too much. Not a premium paste pretty basic standard actually. Looking at the internals it looks like the metal covers over the components are used to transfer the heat to the screen for removal out the front glass. There are some raised points on the metal covers with corresponding gaps in the front housing for this purpose I think. So I applied enough paste to ensure cover each can get maximum contact and transfer to the screen. After pressing down once, I lifted up to see where there wasn't full spread residue on the opposing front housing and applied more.

I just did a little more research from other thermal paste mod threads on XDA. The covers can be pried off. I've actually got a broken motherboard I opened up to see. Also a spare phone with partially broken screen I could use for testing.

I've attached photos below of a board without any paste. Looking inside, the CPU paste looks to be severely lacking and the cover has a raised profile over it so that creates a bad insulating pocket of air. I'll consider getting a thermal pad for it or just applying some paste to it. Could definitely improve a few more degrees there.

Also of note close by in the same cover area is two grey blobs that looks and feels like the same thermal paste on the CPU but is applied thicker. Note the SD card tray has been removed on this board. Note there's some black tape used for heat removal found on the card and sim reader (like found under some covers) but is missing on some of my devices, probably during warranty fixes. There's some strange leftover tape on some covers, not sure what they are or why they're there. Maybe it's used during repairs or installation. The bottom one is double sided, I can feel that.
[Xperia Z3 Compact Android Development] Robot76:
This is an excellent post, thank you so much.

More than expected, very invaluable and useful..

[emoji7] [emoji7] [emoji7]

**Been wondering about removing also the NFC aerial, heard of pressure and heat?

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Android Development] Infy_AsiX:
Hm hadn't thought of the NFC. It uses that black type tape, I'd think it would have only a minute difference. It's sticker wouldn't create any pressure issues I'd think. My rather thick acrylic back on my TPU case is probably terrible but I haven't really tested properly with it off. The phone back still feels hot to hold but the temperature reading is cooler and the battery lasts and charges now. I suppose as the heat builds up it has a better route to follow and exit now.

I had a card reader fixed as well. The eject lock broke after a small drop. There's a YouTube with equipment links as well for the job. Bit expensive and difficult so I paid $65 Australian for an asian mobile repair shop to remove and swap for me.

I use and abuse my headphone jack a lot so I've had to replace them numerous times now. Next time it breaks I'll do the Inner paste. I don't bother with the installing the back panel now and rely on my case.
[Xperia Z3 Compact Android Development] LordMortem:
How?

I'm sorry by the stupid question, but... how can i flash this? By TWRP or by Flashtool? In case of the second option, how?

Thankyou.
[Xperia Z3 Compact Android Development] risacob:
By the same TWRP.
[Xperia Z3 Compact Android Development] Infy_AsiX:
I just wanted to bump this security issue as it's old and no one is seemingly interested. I realised I'm not missing out on Nougat or even want to upgrade to it yet even if it was officially available for our device because I'd still be waiting on Xposed support. With that thought I figured it would probably be worth having the major security updates covered at least while we're still on MM for the foreseeable and more so indefinite future.
[Xperia Z3 Compact Android Development] Robot76:
Are they easy to pry off, and replace back?

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Android Development] Infy_AsiX:
You'll notice small indentations on the side of the covers. Those are spikes facing inwards that fit into holes along the frames. The covers are thin aluminium so are easily bent out and back. I used a thin blade to get under the edge.

After a little searching I decided to go for a copper shim instead of a thermal pad. They're very cheap on Ebay. http://www.ebay.com.au/itm/282445044351 I only ordered recently and still waiting on it to arrive. Meanwhile the paste I used on the covers only has helped but I still have charging problems sometimes and a hot but not as hot device as before.

I'm not sure if I could find a suitable quality thermal pad posted as cheap. But with a little paste on both sides the copper will work better I think. The CPU is 15mm. I went with the slimmest available at 0.3mm. There gap on the cover seems tiny like only a hair raised. However the original old paste covering only 3/4 of the CPU would be part of the problem where creating the gap.

Also I found out that the larger Z3 uses a single copper heat pipe for cooling (the Z5 has two). That in it's larger housing and basically the same chipset as ours, I'd think the Z3C has an inadequate cooling design. A quick search shows apparently the Z5C lacks heat pipes too.

I can see why someone might suspect the NFC sticker to create heat. Because it's aligned over where the back of the CPU is. It's heat is more likely to just be the fact that it's in the area directly behind the CPU.
[Xperia Z3 Compact Android Development] Robot76:
Awesome..

Looks like we both share the same thermal passion here...

I've been thinking about a copper shim too...

Since you've already ordered yours, let me know the fit...[emoji14]

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Android Development] ehbm:
Works on locked bootloader, stock based 6.0.1??
[Xperia Z3 Compact Android Development] baudbox:
Nope Sir. You must unlock your bootloader first.
[Xperia Z3 Compact Android Development] fluffi444:
Found that post by [MENTION=5900960]ShadowElite[/MENTION] - Just for a short update for Z3 compact users who are not looking around (as me until now :o) - Even if this post is now 3 weeks old:

https://xdaforums.com/showpost.php?p=72450960&postcount=496
[Xperia Z3 Compact Android Development] Tokusea:
Is this Kernel safe to run with Lineage OS?
[Xperia Z3 Compact Android Development] panzerox123:
Nope
[Xperia Z3 Compact Android Development] Tokusea:
Ok, I have an issue with my device however. The WiFi will not turn on (Stuck on Turning On...) I have read in other threads that flashing a new kernel can sometimes enable the radio, I tried EliteKernel but it isnt really helping, Are there any others for z3c which may fix the wifi radio (4g works)
[Xperia Z3 Compact Android Development] Robot76:
No one's answered your question, and I presume by now you've found a solution?

If not, I would flash the latest sony ftf firmware first (wipes data)...
[Xperia Z3 Compact Android Development] dillerdaller:
Does this check work on Stock firmware z3c?

Never mind - I let the phone alone a minute or so, and when I picked it up, it had entered the Service Menu. Cool.

When I try to "call", it just does 'nothing' - it removes the entered chars/numbers right after I press the last * :confused:

So, is there other ways to check the status of my (so far untouched) bootloader?
[Xperia Z3 Compact Android Development] Robot76:
Recieved my new MB,

First practiced on my broken one...

Its easier to start prying off the aluminium covers, starting from the 90° corners with a screwdriver applying little bits of force.

The MB had zero thermal paste!!!

I then applied Master Cooler Fusion Extreme X1 thermal paste, and used a copper shim (0.3) for the cpu with thermal paste, both sides...

The phone is much cooler...

[emoji7]

**Buy a cheap anti static wrist strap.

*When ever you make hardware modifications, always go slowly, if you get frustrated, and just want to attack it, go do something else first, [emoji23] then try again...

I missed your comment, Did you find a solution?

Λ.᪃.I.S.Ξ_Z3C_MΛGISK_SUᗱST᪃ΛTUM
[Xperia Z3 Compact Android Development] adamk7:
Any chance at a BlueBorne exploit patch? https://arstechnica.com/?post_type=post&p=1162989
[Xperia Z3 Compact Android Development] phamanhduc1011:
I just hope [MENTION=5900960]ShadowElite[/MENTION] didnt abandoned us:(
[Xperia Z3 Compact Android Development] fluffi444:
Yes. Hopefully. Last commits on kernel are half a year ago...

I think many of us are still and will stay on official MM.
[Xperia Z3 Compact Android Development] Infy_AsiX:
I think I'll actually move onto LOS once N Xposed is finally official and supported decently.

someone755's LOS kernel work looks impressively wide featured and supported. Hopefully no major bugs will be around on LOS by then too. Further critical security issues will indefinitely continue to build up as time goes on without updates, some being non kernel fixable on stock. The future sustainability of Android devices beyond two years in today's computing environment really does seem to rely on unofficial community developer support. Even with Project Treble vendors won't necessarily support devices for significantly longer. Such is the market and industry trend.
[Xperia Z3 Compact Android Development] ShadowElite:
not yet ;)
[Xperia Z3 Compact Android Development] Infy_AsiX:
Anyone else get and notice irregular freeze hiccups playing low demand 2D games? A couple of games I noticed it in particularly is The Banner Saga and just recently Tiny Guardians. After using GLTools to watch framerate and Floating Monitors to check CPU and GPU activity I realised it happens when GPU briefly drops to idle. Doesn't matter putting Adreno idler/Simple GPU Algorithm to the most powerful settings or turning them off, the only fix I found is setting GPU minimum frequency to 100MHz.

I just checked on a completely stock KitKat I have handy and the GPU seems to stay at 200 minimum with 330 occasionally during basic light usage. I guess this shows the 27MHz idle minimum is too low unless the device is actually idle. None of the available governors or parameters are able to keep the GPU above 27MHz while in use on custom kernel. In effect none are configured or suitable for our device for gaming. I wonder though if it also depends on a software's GPU setup though because I've never noticed the same freeze hiccups when GPU hits 27MHz during normal OS use. A well developed game like Clash Royale doesn't seem to be effected by it either for example.
[Xperia Z3 Compact Android Development] Derickee Medvedev:
Nice kernel to Xperia devices
[Xperia Z3 Compact Android Development] ThePhoenixBird:
Any update on the new kernel with support for the recent Magisk?
[Xperia Z3 Compact Android Development] Murtie:
Hello everyone ,

Can i flash this kernel with fastboot ( boot_Z3c > rename to recovery )

I have unlocked bootloader and used Slimm rom 3.8 MM 6.0.1.
[Xperia Z3 Compact Android Development] A Good Kid:
Just flash it through TWRP.. SlimmRom has TWRP pre-installed
[Xperia Z3 Compact Android Development] Murtie:
Okey thanks, i have succesful flashed with twrp. I use Slimm 3.8 rom . ( 23.5.A.1.291 (6.0.1) PreRooted ROM for Z3 Compact )
[Xperia Z3 Compact Android Development] minixperia:
i have flah it on stok .291 (6.0.1) but evry 3 minutes it restart ....

who can help me...

in my phone the drm key fix work only with this kernel but have this big problem..

if i flash in recovery the drm key fix not work
[Xperia Z3 Compact Android Development] Robot76:
Thank you for the reply...

Yes, youre right. I use 2048, just wanted to know the default for the zip, as Kernel Adiutor is giving me two random settings, "128kb" I think and "1024", Kernel Adiutors new version is giving wierd readings in low memory killer too, like real different, just wanted to know out of interest how the project is set at, before my own modifications... [emoji14]

When I save the profile, I don't want to be saving the wrong settings...

-Update-

Kernel Adiutor been fixed, of course right..

A.R.I.S.E.Numbers™.8.3.5 Z3C SLiMM2.5 EliteKernelV1 SU2.76 Xf86 Nova Substratum
[Xperia Z3 Compact Android Development] chucknorrys:
I cant make viper4android work with it, done everything selinux and ****, but driver wont install
[Xperia Z3 Compact Android Development] Robot76:
I'm using Viper4Android just fine...

Must be something else..

Did you disable re-enable storage permissions via settings...

The older version has better sq than the new one by the way, you can test both...

The old one is like cotton many sizes, the new one is like polyester and one size fits all

The SQ is higher with the older one...

Libraries etc.

You could ask over at the Arise thread, guitardedhero and team, helps a lot with Viper4Android problems...Even if non Arise related, very generous with advice over there...

They are now working on a systemless Viper4Android at Arise, if I read correctly...

A.R.I.S.E.Numbers™.8.3.5 Z3C SLiMM2.5 EliteKernelV1 SU2.76 Xf86 Nova Substratum
[Xperia Z3 Compact Android Development] chucknorrys:
Just wouldnt do it, I was on stock 6.0.1..now flashed slimm and it's fine. good to know someone is working on viper