yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Android Development] stayawake:
nice to see workarounds about the video playback issue, i've been waiting so long for a definitive fix, [MENTION=5169444]AndroPlus[/MENTION], will you apply a definitive fix for D5xx (Z2) too?
[Xperia Z3 Compact Android Development] AndroPlus:
I'll apply same one since original value from Sony repo is used for all shinano devices.

But I got one report it didn't fix issue...
[Xperia Z3 Compact Android Development] hnegrao:
Hi.

Installed last version of this kernel with Kernel Adiutor in my ZEC (D5803).

I believe it's overheating. Anyone can tell me what to do to reduce temperature?

Thanks.
[Xperia Z3 Compact Android Development] Vivaz90197:
Undervolt, intelli thermal, intellimm governor.

Wysłane z mojego D5803 przy użyciu Tapatalka
[Xperia Z3 Compact Android Development] hnegrao:
I use adiutor but I don't know how to configure it... For better performance.
[Xperia Z3 Compact Android Development] someone755:
Crank up the frequencies and core hotplugging (set intelli plug to performance).

If you want low temps, use intelli thermal and cap it at 50 core/60 frequency. Set 1.7GHz as your max.
[Xperia Z3 Compact Android Development] fastantu47:
I dont understand drm restore. I read guide i do guide. and if i wanna use purexperia just i flash rom kernel and drm restore zip right?
[Xperia Z3 Compact Android Development] fluffi444:
I tried many guides and this was the only successful one (for me).

Do the guide exactly as written (even if flashing same FW twice sounds not logical)

I would recommmend to let the phone

not

reboot itself (after unlocking BL for instance).

Only reboot once to recovery on step 9 and a final reboot to system on step 10. Test the DRM functionality now.

This is how to test:

http://xdaforums.com/showpost.php?p=61838255&postcount=1032

After that you can flash new ROM zip (but

only stock based

!) via recovery and DRM zip afterwards.
[Xperia Z3 Compact Android Development] DDvnguyen:
after restore DRM functions

can i use mutilrom on this link http://xdaforums.com/z3-compact/orig-development/mod-multirom-v31x-t3115554

to use other ROM mod like cm or miui?

thank
[Xperia Z3 Compact Android Development] fluffi444:
As I said in post above yours: NO.

DRM fix works only with stock or stock based ROMs. CM/AOSP/etc or any ROM based on those are not compatible to DRM fix.

Read OP (completely!) of original thread: http://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672

I think Andros thread is not the place to discuss this! I recommned to ask further questions in mention original thread...
[Xperia Z3 Compact Android Development] DjowBr:
some ppl get the same error, but it is with media decoder. didnt know if this will help:

http://stackoverflow.com/questions/20778836/decode-h-264-raw-stream-errors-on-android

they talk about the media decoder didnt releasing resources when needed. sorry for my english :)
[Xperia Z3 Compact Android Development] dev_guy:
Thanks for this. Is your signature current? Are you running Slim 5.1.1 with the DRM fix and the DRM fix still works? I thought Slim was CM-based?
[Xperia Z3 Compact Android Development] fluffi444:
Not the CM based one - this one is stock based.

Don't know if the name is under copyrights :) Maybe I write "(stock)" additionally :)

http://xdaforums.com/z3-compact/development/d5803-23-2-1-62-slim-t3127115
[Xperia Z3 Compact Android Development] cambr1an:
Wifi is broken after flashing V66 over latest 23.4.A.1.200 firmware.
[Xperia Z3 Compact Android Development] MrMmmkay:
Dito.

But there are no sources yet.

[MENTION=5169444]AndroPlus[/MENTION]

Could you make an advanced stock kernel for .200?
[Xperia Z3 Compact Android Development] MrMmmkay:
Here is the kernel.sin...
[Xperia Z3 Compact Android Development] fluffi444:
Just tested Kernel V66 with new FW .200.

Most of the features are working.

An issue is brocken WiFi. It cannot be activated after flashing V66 - With stock kernel its OK.

I know FW .200 is not mentioned in OP to be compatible. Do not take it as an complain. Just as an information :)
[Xperia Z3 Compact Android Development] Jackos:
Unless Sony releases kernel sources there won't be any compatible versions. I wouldn't recommend using an incompatible kernel. This will cause instability issues and wifi might be your least problem.
[Xperia Z3 Compact Android Development] someone755:
That said, you could probably get away with flashing this kernel if you also flashed the modules that were compiled alongside.
[Xperia Z3 Compact Android Development] MrMmmkay:
Sources are out :good::):

http://developer.sonymobile.com/dow...rchives/open-source-archive-for-23-4-a-1-200/
[Xperia Z3 Compact Android Development] bofis:
Hi, I was playing around with setting a max CPU frequency when screen is off, how low is reasonable for that setting and what settings are people using for screen-off frequency?
[Xperia Z3 Compact Android Development] fluffi444:
Read here (completely): http://xdaforums.com/htc-one-m8/general/guide-snapdragon-801-clocking-voltage-t2807173

and leave a "Thanks" for OPs nice work.. :)

In this thread its recommended to use the highest CPU frequency which still uses lowest mV - besides of 268000

(for PVS5+ its 800mV - if you do not undervolt)

As you see its PVS related and depents on the CPU quality you have.

Take the GS5 as reference as we have on Z3C the same SOC.

To find out which PVS you have (and besides the command given in thread) just look into file with (root) file manager.

/sys/module/clock_krait_8974/parameters/table_name

or do from termial or adb shell

cat /sys/module/clock_krait_8974/parameters/table_name

Feel lucky if you have anything above PVS7 :)
[Xperia Z3 Compact Android Development] bofis:
Thank you!!! Mine's PVS7 of course...so I guess I'll try out 729MHz as my max screen-off frequency, sounds low, but then again, if the screen is off no reason for it to suck up battery either, especially if it's Google Services running rampant.
[Xperia Z3 Compact Android Development] fluffi444:
Mine is 5 only. And 7 looks like very common. Anyway. In normal use you will not feel the difference...

And some say that those higher mV are needed especially for booting...
[Xperia Z3 Compact Android Development] someone755:
Depends on your usage. At one point I had it set to ~500 MHz. 1.1 GHz is pretty popular as well, though I find it to be completely adequate at 800 MHz. Anything is fine, as long as it is equal to or lower than your maximum core frequency.

If you're having issues with wakelocks, try Amplify, the Xposed module.
[Xperia Z3 Compact Android Development] jaime4272:
hey guys do you know if this can work on my z3 table compact cos I want to overclock my Z3TC and the z3 is the closes that comes close to my tablet compact I was wondering if it is possible or you can point me in the right direction thanks
[Xperia Z3 Compact Android Development] someone755:
No. They're different devices, despite them being "close" in regards to the specifications.

Either find a custom kernel in your device's respective subforum, or make your own! (Or, alternatively, bug somebody else to do it!)
[Xperia Z3 Compact Android Development] jaime4272:
I whish there was a custom kernel for the Z3TC so that I could overclock it. but as of now I haven't found any
[Xperia Z3 Compact Android Development] AndroPlus:
I don't want to maintain more devices without actual device (I only has Z3 and Z4T now...).

You should

1. give me Z3TC

2. or follow this guide and adapt it to Z3TC (difficult but best way)

http://xdaforums.com/crossdevice-dev/sony/how-to-build-custom-stock-kernel-linaro-t3066916

3. or get someone who has Z3TC to do that
[Xperia Z3 Compact Android Development] Revontheus:
Does this kernel have Snake Charmer enabled by default?

Thanks!
[Xperia Z3 Compact Android Development] AndroPlus:
Yes
[Xperia Z3 Compact Android Development] jaime4272:
thanks. but

I thank you for your response but too technical for me. I could probably do it but........ thanks any way. may be some one smarter then me can make a kernel and share it with us.
[Xperia Z3 Compact Android Development] Theliakos:
Am I the only one who gets the white color little bit yellowish after installing this kernel???
[Xperia Z3 Compact Android Development] AndroPlus:
Maybe patch from Sony unified kernel caused it.

https://github.com/AndroPlus-org/an...mmit/8581e866a1bda6966a24be571b54f0c53bcd8eed

I'll revert it in the next version.
[Xperia Z3 Compact Android Development] Revontheus:
Ahh so theres no OC option right? I think Snake Charmer is the thing that limits max cpu frequency
[Xperia Z3 Compact Android Development] AndroPlus:
It's half correct.

If you set max freq to OC one, snake charmer should change max limit to your selected freq.
[Xperia Z3 Compact Android Development] someone755:
Quoting the original commit,

The code basically reads your userspace-defined max CPU frequency, and prevents that value from being overridden by other programs (such as, for example, MPDecision).

You are still free to overclock -- snake charmer is more of an underclocker's tool than it is an overclocker's one.
[Xperia Z3 Compact Android Development] Revontheus:
Oh okay! Thats good to know because I'm always at around 1.7 ~ 1.9Ghz anyway
[Xperia Z3 Compact Android Development] softroid:
Build 1.232 not supported?

wifi not working:(
[Xperia Z3 Compact Android Development] fluffi444:
Yes - same as with .200

http://xdaforums.com/showpost.php?p=62990465&postcount=476

We have to wait for new Kernel. Use stock or adv. 232 Kernel which was released recently.

Or do not use 200/232 until we have a AndroPlusKernel for it.... This is what I do... ;)

Good Kernel is more important than the changes from 200/232 (for my personal point of view)
[Xperia Z3 Compact Android Development] blackstorm998:
V67 support 1.232? WiFi working?

Inviato dal mio D5803 utilizzando Tapatalk
[Xperia Z3 Compact Android Development] someone755:
This is a screenshot of the OP. Believe it or not, it has some useful information.
[Xperia Z3 Compact Android Development] fluffi444:
Come on! Read changelog! If there is an such imporant new support feature for 1.232, it would be mentioned by OP, isn't it?

v67

Reverted display patch for Z3C

Added some optimizations for GPU, TCP, PM
[Xperia Z3 Compact Android Development] bofis:
Hopefully the next AndroPlusKernel release will support 1.232, since I've already updated my ROM to that...and am still using v67, just without the ability to turn on Wi-Fi. Good thing I have unlimited LTE data from T-Mobile so I can live without it for now. Otherwise I haven't noticed any issues, just inability to turn on the wireless radio.
[Xperia Z3 Compact Android Development] fluffi444:
And don't think AndroPlus has forgot "us" ;)

http://xdaforums.com/showpost.php?p=63254343&postcount=780

This is all because of the (still) missing "Open source archive for 23.4.A.1.232".

Without this it's not possible to build the Kernel from source.

http://developer.sonymobile.com/downloads/all-downloads/

So its up to Sony now...

The Open source archive for 23.4.A.1.200 is available - But imho it make more sense to wait for 23.4.A.1.232.

Even if 1.200 and 1.232 are maybe quite similar.
[Xperia Z3 Compact Android Development] AndroPlus:
I build with 200 source and it worked on 232, so I updated to v70.

Maybe something is missing, but it's better than using old firmware...

init.d is now working.

If it doesn't work, check permission of /etc/init.d dir (normally 777 or 755).
[Xperia Z3 Compact Android Development] fluffi444:
WOW! Big thanks! I was afraid to ask to build it with 1.200 because I never ask fro ETA actually! :o But good to know that it works!

Again - Big thanks for your very good work here! :good:
[Xperia Z3 Compact Android Development] istux:
This way stagefright could be still open maybe...

Thanks anyway and let's hope they release 232 source soon ;)
[Xperia Z3 Compact Android Development] fluffi444:
No it isn't - Only 6602 is open but this is known for 1.232. "They" say that 1.236 may fix this finally.
[Xperia Z3 Compact Android Development] istux:
Ok... v 70 installed and it works fine, but if I try to increase the volume enhancement, the sound gets worse (I mean it gets louder with a very bad quality). :crying:

Am I the only one?
[Xperia Z3 Compact Android Development] Arturiuz!:
works fine here! :)
[Xperia Z3 Compact Android Development] boilavera1980:
its because its digitally and then distorts this is normal
[Xperia Z3 Compact Android Development] blackstorm998:
Is there a way to increase the sound from the speakers?

Inviato dal mio D5803 utilizzando Tapatalk
[Xperia Z3 Compact Android Development] AndroPlus:
You can flash sound mod (I don't know which one is better).
[Xperia Z3 Compact Android Development] someone755:
[MENTION=5169444]AndroPlus[/MENTION] is there any particular reason you're using the MultiROM version of TWRP?

For a second there I was worried I accidentally flashed MultiROM lol.
[Xperia Z3 Compact Android Development] AndroPlus:
If yoy don't want to use MultiROM, yoy can flash normal TWRP (search it)

and flash it to recovery partition via fastboot:

fastboot flash recovery fotakernel.img

then you can ebter into it by pressing power button instead of volume key.
[Xperia Z3 Compact Android Development] someone755:
I know, I'm running that configuration right now. I was just wondering if there's a specific reason you opted for the multirom variant.
[Xperia Z3 Compact Android Development] AndroPlus:
My kernel supports MultiROM, so I'm using MultiROM TWRP as default recovery.
[Xperia Z3 Compact Android Development] dettofatto:
Which roms do you use?
[Xperia Z3 Compact Android Development] AndroPlus:
I'm not using MultiROM now since there's no enough storage for my Z3...
[Xperia Z3 Compact Android Development] istux:
Any chance to see a "special" version working on Concept 6.0?

It would be great :p
[Xperia Z3 Compact Android Development] FcukBloat:
+1 for the concept version! :p:fingers-crossed::angel:
[Xperia Z3 Compact Android Development] AndroPlus:
No, I can't make custom kernel without kernel source...

Maybe unified kernel works, but it's differ from concept kernel's source.
[Xperia Z3 Compact Android Development] FcukBloat:
oh ok, what a pity, thanks for the answer!! ;)
[Xperia Z3 Compact Android Development] blackstorm998:
Can you update Kernel for 23.4.A.1.264? Androplus Kernel v70 works with 23.4.A.1.264?

Inviato dal mio D5803 utilizzando Tapatalk
[Xperia Z3 Compact Android Development] AndroPlus:
As always, I can't update without kernel source.

Some users reported v70 is working on .264.
[Xperia Z3 Compact Android Development] istux:
It seems that they stopped releasing kernel sources :crying:

Have you experienced this kind of problem in the past?
[Xperia Z3 Compact Android Development] fluffi444:
Confim. V70 works with .264 as it should. Found no problems.

Sony never release source for .232. Hopefuly they will do it for .264.
[Xperia Z3 Compact Android Development] someone755:
Go look at pretty much any Samsung device lol. But;

Not releasing the code does not necessarily violate the license -- if each build's kernel sources are the same (something I can't vouch for since I don't keep track of the version numbers), then not releasing the same thing again shouldn't conflict with GPL.
[Xperia Z3 Compact Android Development] WieserZ1C:
What about a concept kernel? I guess Sony has relsased the sources
[Xperia Z3 Compact Android Development] someone755:
I can't find them for the life of me. Got a link, pretty please?
[Xperia Z3 Compact Android Development] Revontheus:
Great Kernel!, V71 works perfectly with .264 Firmware, also have no problems with the DRM Fix
[Xperia Z3 Compact Android Development] raxman68:
I installed like the instruction on the first side, but when I installed xposed framework it has bootloop ....

any ideas?
[Xperia Z3 Compact Android Development] varxx:
Deleted by poster. Posted to wrong thread. Sorry.

Moderator can zap completely if he likes.
[Xperia Z3 Compact Android Development] fluffi444:
Cannot be Kernel related. Works here.

Be sure that you installed correct Xposed apk and zip:

http://xdaforums.com/showthread.php?t=3034811
[Xperia Z3 Compact Android Development] luizlee86:
Hi! Can someone help me please?

I flashed it and flashing went ok. But know my phone won´t boot... it's on that situation when only the red led blinks when the charger is connected.

Well... one question to see if I made something stupid: when the bootloader is locked is it possible to flash this kernel or the processo won't even complete?
[Xperia Z3 Compact Android Development] blaziken1996:
Yes when the bootloader is locked it is possible to flash the kernel but the phone won't boot just like in your case. What you have to do know is using FlashTool to reflash the offical rom from Sony
[Xperia Z3 Compact Android Development] luizlee86:
So it is still recoverable, right?

I thought I had unlocked the bootlader... but I rooted without doing it... :silly:
[Xperia Z3 Compact Android Development] joakimbo:
Hi! Im eager to try out the AndroPlusKernel. I'm currently on slim 4.4. Is there any benefits to flash this kernel over stock kernel? I have no experience with kernels from before, so I don't really know how to tune the GPU/CPU etc. Is it a point of me doing it? Thanks
[Xperia Z3 Compact Android Development] C2fifield:
Definitely. I'd say just make a backup and play around with an app like kernel auditor. I flip settings around all the time and they definitely impact performance and battery life. In general this kernel seems to run better than stock (in my opinion at least), so I recommend at least giving it a shot.

Make a backup for sure though, you never know when bootloops will come and ruin your day.
[Xperia Z3 Compact Android Development] joakimbo:
Thanks. Just flashed it. Seems to work fine, but I really don't know what settings to adjust in kernel adiutor.. Any advice? There's tons of settings :o
[Xperia Z3 Compact Android Development] luizlee86:
Hi! Now I've unlocked the bootloader and I'm using Slim from Wajk... but I tried to flash the kernel but the phone won't boot... it onl vibrates once and just get a black screen... any ideas?
[Xperia Z3 Compact Android Development] Peksman:
Which recovery did you use?
[Xperia Z3 Compact Android Development] istux:
That's because Slim rom includes dualrecovery, which can't work with Androplus kernel.

It is written at the very first post of the Slim thread. :rolleyes:

Here's the solution: http://xdaforums.com/showpost.php?p=61257741&postcount=21
[Xperia Z3 Compact Android Development] luizlee86:
Oooh... sorry... thank you!

But if I already am on 4.6 what do I have to do? Flashing it again but without the dualrecovery file won't work, right?
[Xperia Z3 Compact Android Development] Arturiuz!:
yes!flash it again & not/without dualrecovery.this kernel already has it's recovery(TWRP only)included with it..
[Xperia Z3 Compact Android Development] Peksman:
http://nut.xperia-files.com/?ql=85bd752eb601381784d806c40c466e74f15d7ff3 Here you can dl xzdr removal zip
[Xperia Z3 Compact Android Development] xyznaveen:
why can't Install XPOSED for 5.1.1 ?

I was having some issues on mounting /system. I flashed this kernel and it fixed mounting issue in my z2(d6503) but i cannot use xposed now. I flashed xposed using dual recovery like on stock kernel but it gives an error on xposed manager like not yet available for sdk 22. can anyone help? another kernel or any workaround? oh and unlocked bootloader. :confused: :(
[Xperia Z3 Compact Android Development] fluffi444:
[MENTION=5169444]AndroPlus[/MENTION] - Do you plan to use TWRP 3.0.0-0 in the next update?

Actually I tried to flash it for myself but without luck.

I DD'ed the FOTAKernel to sdcard from Adv. stock Kernel. http://xdaforums.com/z3-compact/development/kernel-advanced-stock-kernel-lollipop-5-t3279136

Then I flash your Kernel back and afterwards i DD'ed the twrp3.img back to phone to FOTA partition.

But for some reason TWRP still starts with version 2.8.7 - Maybe because of different ramdisk between yours and Gustavo's?

But actually I thought both of you are using same FOTAKernel partion for recovery...
[Xperia Z3 Compact Android Development] someone755:
But the ASK has the recovery packed inside the ramdisk -- what you linked to is not a FOTA recovery.

You should be able to use ASK's ramdisk with AP if you feel like working the command line a bit, but there is no other way until a TWRP3 image is released (has that already been done? If not, the official release should soon be out).
[Xperia Z3 Compact Android Development] fluffi444:
Thanks for your clarification! I will wait untill its released. Actually by you as far as I know... ;)

I'm already following your official Z3C TWRP thread on XDA :)

http://xdaforums.com/z3-compact/orig-development/recovery-twrp-2-8-7-0-18-8-2015-t3181623

EDIT

Works now with new img and FOTAKernel location. Have now dual reovery. 2.8.7 built-in and 3.0 on FOTA. Nice.

EDIT2

Made an flashable zip with TWRP 3.0.0-0 for FOTA-Partition for AndroPlusKernel. Thanks [MENTION=5169444]AndroPlus[/MENTION] because I used this kernel installer script.

Flash it as usual.

Enter TWRP 3.0.0-0 with POWER BUTTON (when purple LED comes up - it changes to orange and FOTA Recovery is starting)

Normal Recovery which comes with AndroPlusKernel is not affected by this.
[Xperia Z3 Compact Android Development] bolulusam:
i am using slim rom 4.9, is there anyway to flash this kernel without wiping it? i am LB btw
[Xperia Z3 Compact Android Development] Spardantex:
You need to unlocck the BL in first..
[Xperia Z3 Compact Android Development] fluffi444:
Be sure that you have TA backup before UL bootloader... Otherwise TA is lost forever...
[Xperia Z3 Compact Android Development] connta:
also unlocking bootloader wipes your phone and card data, so have a backup on your computer

guys, i unlocked the bootloader, installed custom androplus kernel but after i installed drm fix i cannot install benchmark applications from google play... antutu, geekbench, gfxbench, they all install and are immediately removed with the message "a package is deleted due to somc policy"...

i am not 100% sure but this seemed to start only after the drm fix apply which i believe went successful, track id is working, bravia engine also, some keys say "unknown error" when i check them but they all say [Active][OK] on the end... anyone have any idea what happened?
[Xperia Z3 Compact Android Development] TechKiel:
It's because of PrototypeProtection.apk

Disable it.
[Xperia Z3 Compact Android Development] connta:
yeah, figured out prototype protection on my own sometime yesterday... tho now im facing a different problem, i cant access the device from adb shell too disable MPDecision by following this

To disable MPDecision and log spam "QCOM PowerHAL: Failed to acquire lock",

you have to enter these commands in adb shell:

busybox mount -o remount,rw /system

mv /system/vendor/lib/hw/power.qcom.so /system/vendor/lib/hw/power.qcom.so.bak

mv /system/bin/mpdecision /system/bin/mpdecision.bak

i am adb shell noob but i got this far so should not be a problem with little help, everything works (drivers, adb shell, busybox all installed properly) but when i try to execute the first command i get "mount: permission denied (are you root?)"

now what i am doing is following this to the letter, should i maybe do something before it thats "common knowledge"? like somehow give root access to adb? not getting any prompts from supersu... i am using xperia z2

EDIT: yeah, figured it out, it was simple as i thought ;)
[Xperia Z3 Compact Android Development] rvnlvrz:
Any bumps on exfat support? or is this unsupported due to having mulirom in this kernel?
[Xperia Z3 Compact Android Development] AndroPlus:
Discontinued

AndroPlus Kernel for Z2, Z3, Z3 Compact is now discontinued due I sold my Z3.

Thank you.
[Xperia Z3 Compact Android Development] fluffi444:
Oh no. This is really sad! Now there's almost nothing for a highly configurable custom stock kernel anymore...

Anyway. Many thanks for your outstanding work for Z3c...
[Xperia Z3 Compact Android Development] istux:
Worst news ever :(

Thanks for your work and all your efforts [MENTION=5169444]AndroPlus[/MENTION]

Good luck :good: