[KERNEL][G8142] AndroPlus Kernel - Sony Xperia XZ Premium ROMs, Kernels, Recoveries,

I created custom kernel for Xperia XZ Premium!
We can now enable tap to wake!
Download
MOD EDIT: Removed link to website.
!! WARNING !!
*There is no DRM patch at this time.
Saving photos on stock camera app will be really unstable and your photo will be green image most of the time.
Donate:
PayPal
XDA:DevDB Information
AndroPlus Kernel for Xperia XZ Premium, Kernel for the Sony Xperia XZ Premium
Contributors
AndroPlus
Source Code: https://github.com/AndroPlus-org/android-kernel-sony-msm8998
Kernel Special Features:
Version Information
Status: Testing
Created 2017-06-20
Last Updated 2017-07-22

thanks
kernel works on UK version unlocked G8141

Does this include su/magisk?

FartyParty said:
Does this include su/magisk?
Click to expand...
Click to collapse
I guess no

FartyParty said:
Does this include su/magisk?
Click to expand...
Click to collapse
"_with_SuperSU" edition has integrated SuperSU

AndroPlus said:
"_with_SuperSU" edition has integrated SuperSU
Click to expand...
Click to collapse
Awesome! Will flash this then.
I was curious about something though. Can I use your kernels on any fw? Or is it only for 229.

FartyParty said:
Awesome! Will flash this then.
I was curious about something though. Can I use your kernels on any fw? Or is it only for 229.
Click to expand...
Click to collapse
Go to the official website and there you can see the requirements:
stock 7.1.1
45.0.A.5.1, 45.0.A.5.8 -> v01 -
....

Works fine on 229 .

Just updating, flashed the newest firmware and instantly flashed this and it works so flawlessly.
You're great @AndroPlus Maybe I should buy you a coffe haha .
Although I must ask about this "You can only save photos if you switch to manual mode and set ISO to 50, 100, or 200. "
I tried that but it still output green images.

it work on 45.0.A.5.8 and 45.0.A.2.244,but the system camera not good working, only the GoogleCamera http://www.coolapk.com/apk/com.google.android.GoogleCamera

1.229 1.244 half OK half is bad

oneheart said:
it work on 45.0.A.5.8 and 45.0.A.2.244,but the system camera not good working, only the GoogleCamera http://www.coolapk.com/apk/com.google.android.GoogleCamera
Click to expand...
Click to collapse
Has nothing to do with his kernel, it's because you unlocked the bootloader and there's no drm fix right now.

FartyParty said:
Has nothing to do with his kernel, it's because you unlocked the bootloader and there's no drm fix right now.
Click to expand...
Click to collapse
yes,i see。i just commend a perfect app for the present

I released v2 and fixed sound problem in YouTube.

AndroPlus said:
I released v2 and fixed sound problem in YouTube.
Click to expand...
Click to collapse
RAD! Will try asap .
Works perfectly! Thank you so much!

umm... I built TWRP and it does boot, but it only shows SONY logo and reboots after some time:crying:
Does anyone know workaround/config for displaying in TWRP?
I tried
RECOVERY_GRAPHICS_FORCE_SINGLE_BUFFER
RECOVERY_GRAPHICS_FORCE_USE_LINELENGTH
TW_SCREEN_BLANK_ON_BOOT
TW_FBIOPAN
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
TARGET_RECOVERY_PIXEL_FORMAT := "RGBA_8888"
but none worked.
TWRP image and logs
https://drive.google.com/open?id=0B0j3VJ1Xp5N8RkZsUV9FdW5vUVk
device tree
https://github.com/AndroPlus-org/device-sony-maple-twrp

oneheart said:
yes,i see。i just commend a perfect app for the present
Click to expand...
Click to collapse
What is the max resolution you can shoot with the rear camera in Google Camera?

@AndroPlus
Thank you for your hard work.
I will unlock my xz premium when drm fixed in kernel.
No camera fault whith me like others say

dhonzik said:
What is the max resolution you can shoot with the rear camera in Google Camera?
Click to expand...
Click to collapse
8.3M

AndroPlus said:
I released v2 and fixed sound problem in YouTube.
Click to expand...
Click to collapse
gvie me a link thankyou

Related

Code/Red [dt2w] [.216] [.236]

In the name of God​
Here is my first built kernel with a few features like :
experimental doubletab2wake (no deep-sleep bug)
-kexec-hardboot patch (multirom feature)
-kcal color control as module (thanks to venkat kamesh)
-twrp 2.8.0.4
source will available soon
sorry for my bad English
XDA:DevDB Information
Code/Red-kernel, Kernel for the Sony Xperia Z1
Contributors
Red-code
Source Code: will available soon
Kernel Special Features: Dt2w with deep sleep
Version Information
Status: Beta
Created 2015-09-23
Last Updated 2016-07-19
Looks awesome bro, can you do the same for 5.1.1 (.368)
AnrgKrshn said:
Looks awesome bro, can you do the same for 5.1.1 (.368)
Click to expand...
Click to collapse
Yeah, can you update it to 368 firmware, 5.0.2 firmware is low performance because of memory reload issue. I dont wanna use 5.0.2 anymore after install 368 update lol.
Sent from my C6903 using Tapatalk
Can u add zram for this kernel. I still 5.0.2, and i really love your work with best dt2w but if dont have zram, my z1 very bad
AnrgKrshn said:
Looks awesome bro, can you do the same for 5.1.1 (.368)
Click to expand...
Click to collapse
hxq88 said:
Yeah, can you update it to 368 firmware, 5.0.2 firmware is low performance because of memory reload issue. I dont wanna use 5.0.2 anymore after install 368 update lol.
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Thanks for your replays
I will update the kernel till next week
lavenbut said:
Can u add zram for this kernel. I still 5.0.2, and i really love your work with best dt2w but if dont have zram, my z1 very bad
Click to expand...
Click to collapse
You will have it in next version?
Thanks for your replay
Amazing work, always wanted DT2W with deep sleep.
Would be epic if you could make an AOSP version...
It would be great if you can (and should) release the source code
can u maybe release this kernel for xzu 5.1.1 i would be so happy :=) cause a great kernel with dt2w is hard to find cause it is same firmware version , on z1 c , z1 and z ultra cheers @Red-code
zhuoyang said:
It would be great if you can (and should) release the source code
Click to expand...
Click to collapse
source code released
Red-code said:
Thanks for your replays
I will update the kernel till next week
You will have it in next version?
Thanks for your replay
Click to expand...
Click to collapse
Red code. Can you add a sound category in your kernel, and other functions like venkat kamesh's kernel? I want to change that kernel because I have some battery drains, and I want to create a rom with some tricks (when I have time) but the kernel of venkat seems to be buggy... With 5.1.1 and your kernel with all functions I hope that I'll
have a good rom.
Red-code said:
source code released
Click to expand...
Click to collapse
Nice job!
I tried to apply your dt2w patch my 5.1.1 kernel, but it didn't work.
Do I miss anything about defconfigs?
sharonliu said:
Nice job!
I tried to apply your dt2w patch my 5.1.1 kernel, but it didn't work.
Do I miss anything about defconfigs?
Click to expand...
Click to collapse
what problem you faced on which device??
You can see this:
https://bitbucket.org/nikhiljan93/x-honami/commits/all?search=Clearpad
Kernel updated (support 5.1.1) but some features removed except dt2w for testing
main and requested features will be added if v0.4 worked fine
deleted
superswede86 said:
send a a little thanx for not answer my pm and here either, bad service from a dev, i was kindly asking if u could to this for xzu, total ignored , 1 of 5 service stars
Click to expand...
Click to collapse
C'mon man, none of this here... He's doing all this for free, so he is definitely not obligated to "serve" you, not should you be giving him "service stars". Porting a kernel is not easy, especially if you don't own the device. If he didn't reply, he's probably busy, or he didn't want to, none of which are a reason to complain like this.
EDIT: You're probably better off asking one of your device developers to port this kernel from the source code, rather than asking the dev, who probably doesn't own the device
deleted
Sorry but i cant see download link?
Sent from my C6903 using Tapatalk
hxq88 said:
Sorry but i cant see download link?
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
Download tab bro, I see that you're with tapatalk
ok,i tried the .368 version,dt2w works for a little while after the screen is turned off then stops working untill i manually turn on the screen again??!!
edit: it works sometimes, sometimes it doesnt. but its a great first effort by the dev and im sure he'll fix it in the comming versions
masterofnocrack said:
ok,i tried the .368 version,dt2w works for a little while after the screen is turned off then stops working untill i manually turn on the screen again??!!
edit: it works sometimes, sometimes it doesnt. but its a great first effort by the dev and im sure he'll fix it in the comming versions
Click to expand...
Click to collapse
Some times system cannot detect the delay between two taps
But you can play with this bug (see this video)

VoLTaqe Kernel

It's very hard to edit 2 thread same time We can meet on edge version thread.
Here you are;
http://forum.xda-developers.com/s7-edge/development/kernel-voltaqe-kernel-t3397545
http://forum.xda-developers.com/showpost.php?p=67291289&postcount=2
Mine too
mineee
Last
Has anyone tried this kernel?
Scandy said:
Has anyone tried this kernel?
Click to expand...
Click to collapse
Yes successfully booted and A LOT of customization there as always.
@VoLTaqe glad to see you again with same phone after s4. As always im ready for test
Wow nice kernel, good job :good:
@VoLTaqe glad to see you again with same phone after s4. As always im ready for test
Click to expand...
Click to collapse
After S4 we join all on S7 ^^
Great, phone wont boot. Says " Verification failed "
Hi,
Is your screen control like kcal?
Hi, could you add support for korean variants of S7? (G930K,S,L)
When I try to build from G930F kernel sources with defconfig modified for my device, random reboots occur when connected to USB, which drives me crazy.
Thanks in advance.
japjaan said:
Hi,
Is your screen control like kcal?
Click to expand...
Click to collapse
kcal ?
Shuuin said:
kcal ?
Click to expand...
Click to collapse
https://cdn-images.xda-developers.com/direct/3/1/9/5/2/3/1/1425543767993.jpg
Do you have any plans to bring this to the edge 935f?
japjaan said:
Hi,
Is your screen control like kcal?
Click to expand...
Click to collapse
Nope it contain only wake controls for now.
kykint said:
Hi, could you add support for korean variants of S7? (G930K,S,L)
When I try to build from G930F kernel sources with defconfig modified for my device, random reboots occur when connected to USB, which drives me crazy.
Thanks in advance.
Click to expand...
Click to collapse
You need generate and change dtb.img too.
el7145 said:
Do you have any plans to bring this to the edge 935f?
Click to expand...
Click to collapse
Yes i am when find any tester.
QUOTE=Arvis20;67238578]Wow nice kernel, good job :good:[/QUOTE]
Good using
alexofhiswalnut said:
@VoLTaqe glad to see you again with same phone after s4. As always im ready for test
After S4 we join all on S7 ^^
Click to expand...
Click to collapse
Wow glad to see you too again. Hope we can build a community there too like s4
Shuuin said:
Great, phone wont boot. Says " Verification failed "
Click to expand...
Click to collapse
Disable samsung verification nothing wrong with kernel.
If you find any problem please report.
VoLTaqe said:
You need generate and change dtb.img too.
Click to expand...
Click to collapse
Yup I changed dtb.img too and applied every ramdisk change from the original kernel. Still reboots randomly.
Btw I just flashed your kernel and it's working well on my G930K, except for dmb. Nice so far.
VoLTaqe said:
Nope it contain only wake controls for now.
You need generate and change dtb.img too.
Yes i am when find any tester.
QUOTE=Arvis20;67238578]Wow nice kernel, good job :good:
Click to expand...
Click to collapse
Good using
Wow glad to see you too again. Hope we can build a community there too like s4
Disable samsung verification nothing wrong with kernel.[/QUOTE]
Disable samsung verification, and how ?
Shuuin said:
Great, phone wont boot. Says " Verification failed "
Click to expand...
Click to collapse
Your phone is encrypted mate you need to go into recovery and format data then reflash rom and kernel
Sent from my SM-G930F using Tapatalk

[MOD][CAMERA] No more forced max screen brightness OREO

This will prevent people from going blind early. Now there's no forced max screen brightness.
Oreo version based on 9.30.1017320, Variant: 870031230
Nougat version based on 9.20.974075
Prerequisites:
- HTC U11
Two versions below, one for magisk if you use it and the other just the regular one (not confirmed working).
If you wanna do it manually just push Camera2.apk in the zip to /system/priv-app/Camera2/
Downloads:
https://androidfilehost.com/?w=files&flid=263093&sort_by=name&sort_dir=DESC
Installation instructions:
1. Download either magisk or normal version
2. Flash in TWRP
3. If it still goes to max screen brightness, go to play store and uninstall updates for the HTC Camera app
tomascus said:
This will prevent people from going blind early. Now there's no forced max screen brightness.
Currently based off app version 9.20.954228
Prerequisites:
- Any Deodexed ROM ? (otherwise the oat file probably needs to be deleted)
Two versions below, one for magisk if you use it and the other just the regular one (not confirmed working).
If you wanna do it manually just push Camera2.apk in the zip to /system/priv-app/Camera2/
Installation instructions:
1. Download either magisk or normal version
2. Flash in TWRP
Click to expand...
Click to collapse
Great! Now, I can steal photos in low light without giving out my secret!
That's a joke, but thanks for this. I always found that annoying.
can upload difference photo?
Rhadamanthis said:
can upload difference photo?
Click to expand...
Click to collapse
Um.....I haven't flashed it yet, but I think it will simply prevent your current brightness settings from being overridden when the camera launches.
AarSyl said:
Um.....I haven't flashed it yet, but I think it will simply prevent your current brightness settings from being overridden when the camera launches.
Click to expand...
Click to collapse
Haha yep, can't really take a screenshot of that.
The camera app updated & I think it broke this MOD
Sent from my HTC U11 using XDA Labs
robshabazz said:
The camera app updated & I think it broke this MOD
Sent from my HTC U11 using XDA Labs
Click to expand...
Click to collapse
Yeah the new update would have override the changes, I'll rebase it soon on the new version.
tomascus said:
Yeah the new update would have override the changes, I'll rebase it soon on the new version.
Click to expand...
Click to collapse
another htc camera update is available
AlMaghraby said:
another htc camera update is available
Click to expand...
Click to collapse
Updated app and installation instructions.
Thanks for this. Works great on Magisk.
Plz update to V4 9.30.989526 ... apk is attached.
TheEndHK said:
Plz update to V4 9.30.989526 ... apk is attached.
Click to expand...
Click to collapse
Crashes when taking picture with front facing camera for me.
tomascus said:
Crashes when taking picture with front facing camera for me.
Click to expand...
Click to collapse
Just tested no problem here with face camera, I'm running LeedDroid rom R68.
TheEndHK said:
Just tested no problem here with face camera, I'm running LeedDroid rom R68.
Click to expand...
Click to collapse
Won't even install for me on LeeDroid R69:
westeight said:
Won't even install for me on LeeDroid R69:
Click to expand...
Click to collapse
You don't install system apps like that, they need to be placed in system partition..
tomascus said:
You don't install system apps like that, they need to be placed in system partition..
Click to expand...
Click to collapse
Ahhh, like YouTube. Forgot about that.
Thank you :highfive:
westeight said:
Ahhh, like YouTube. Forgot about that.
Thank you :highfive:
Click to expand...
Click to collapse
If you are using LeeDroid R68/69, it should come with this apk, you don't need to put it in /system by yourself.
Thanks for the update
---------- Post added at 04:50 PM ---------- Previous post was at 04:48 PM ----------
TheEndHK said:
Plz update to V4 9.30.989526 ... apk is attached.
Click to expand...
Click to collapse
does this apk have max brightness off ?
@tomascus
hey are you planning to support The latest version now that oreo is out
thanks in advance
AlMaghraby said:
@tomascus
hey are you planning to support The latest version now that oreo is out
thanks in advance
Click to expand...
Click to collapse
I'm interested as well. Thanks.

Note 9 Camera Port for Galaxy S9 and S9+ v4 (Updated 1 October 2018)

Hello Everyone!
Here I Present to you The most Powerful Note's Camera Port (Sort of)...
The Note 9 Camera Port for The Galazy S9 and S9 plus!
So as you all may be knowing that The Note 9 features more or less Same Camera as the S9 Plus.
What Differs is just the software and now It Won't!
After a Ton of tests by my Fellow XDA Friends and help from various others, I can finally, present a Stable Port!
What does it Feature
- AI features from Note 9(Currently it's not possible without Frameworks and Libs)
- Flaw Detection
- 0.2 and 0.4 sec Super Slow-Mo
- Flashlight in Live Focus mode
Now includes N9 ARI9 update Improvements
Credits-
@SoLdieR9312 for helping me with flashable zips
@rifek4 For The G960 S9 Zip
@Rainbow_Dash for testing and helping
@geiti94 for N9 Port ROM sources
Screenshots and Review Video!
N9 Camera Port with AI!
Screenshots yet to be uploaded
Downloads and Instructions!
S9 and S9+ common Zip is available now. Thanks to @rifek4 for S9 XML fixes
Common S9/S9+ GDrive Folder
Note 9 ARI9 UPDATE for S9/S9+
Instructions
1. Download the Zip from the Above link.
2. Go to Apps Settings and clear data of camera app
3. Flash the zip via TWRP
4. Clear cache
5. Enjoy Artificial intelligence!
Like my work? Consider a donation
PayPal Pay me link-
https://www.paypal.me/vmg264
V3.1 is up and ready! Enjoy AI!
Vmb265 said:
V3.1 is up and ready! Enjoy AI!
Click to expand...
Click to collapse
Black screen and force closed on S9 960F.
Thanks for your work!
Any possibility of a rootless port?
Does this port work using Zero Camera mod?
Oel said:
Black screen and force closed on S8 960F.
Thanks for your work!
Click to expand...
Click to collapse
Its for the S9 as of now, S8 will be Supported in the future! Thanks for trying though!
Salemthebest said:
Does this port work using Zero Camera mod?
Click to expand...
Click to collapse
Zero Camera Dev is yet to support the latest 8.5 version of Samsung Camera which is used here. So not yet. It the Zero Dev updates his camera then yes It can
jsanta11 said:
Any possibility of a rootless port?
Click to expand...
Click to collapse
If you wanna go rootless, then you'll have to wait for Android Pie to come out in october or November as it'll have these features. For now Rootless isnt possible
Salemthebest said:
Does this port work using Zero Camera mod?
Click to expand...
Click to collapse
No. When you use the zero camera mod, the original camera is restored.
zubi182 said:
No. When you use the zero camera mod, the original camera is restored.
Click to expand...
Click to collapse
Ofc it will
Vmb265 said:
If you wanna go rootless, then you'll have to wait for Android Pie to come out in october or November as it'll have these features. For now Rootless isnt possible
Click to expand...
Click to collapse
There is no reason it can't be done rootless using magisk. I guess I'll put together a zip to try it
partcyborg said:
There is no reason it can't be done rootless using magisk. I guess I'll put together a zip to try it
Click to expand...
Click to collapse
Aright Try it! If it works, great!?
Vmb265 said:
Its for the S9 as of now, S8 will be Supported in the future! Thanks for trying though!
Click to expand...
Click to collapse
Sorry,
my mistake, i am on S9!
Oel said:
Sorry, ny mistake, icam on S9!
Click to expand...
Click to collapse
Its Okay!
Vmb265 said:
Its Okay!
Click to expand...
Click to collapse
Doesn't work.
Black screen and fc.
Good job!!!
Oel said:
Doesn't work.
Black screen and fc.
Click to expand...
Click to collapse
No I meant, no need to say sorry, its okay.
Not that S8 will work?
smartphone_lg said:
Good job!!!
Click to expand...
Click to collapse
Thanks!

[Q] Pixel Experience Rom

Has anyone tried Pixel experience on our compact yet ? if so how is the performance and camera ?
Hamzakovsky said:
Has anyone tried Pixel experience on our compact yet ? if so how is the performance and camera ?
Click to expand...
Click to collapse
Kernel 4.14 is stable and the camera is better than on kernel 4.9
It needs more battery at the moment, but depends on the usecase
MartinX3 said:
Kernel 4.14 is stable and the camera is better than on kernel 4.9
It needs more battery at the moment, but depends on the usecase
Click to expand...
Click to collapse
Thanks for your reply , though I'm embarrassed to ask this question but I just can't find anything about pixel experience rom for xperia xz2 compact here on xda as well as those kernels you mentioned
Hamzakovsky said:
Thanks for your reply , though I'm embarrassed to ask this question but I just can't find anything about pixel experience rom for xperia xz2 compact here on xda as well as those kernels you mentioned
Click to expand...
Click to collapse
9.0 uses 4.9
10.0 uses 4.14
I requested a XDA thread but sadly the maintainer is a bit slow
MartinX3 said:
9.0 uses 4.9
10.0 uses 4.14
I requested a XDA thread but sadly the maintainer is a bit slow
Click to expand...
Click to collapse
Will flash it tonight ! do i need any further zip files or instructions to avoid issues ?
Hamzakovsky said:
Will flash it tonight ! do i need any further zip files or instructions to avoid issues ?
Click to expand...
Click to collapse
Extract the payload file and flash it in fastboot
Then any further OTA will work with the delivered recovery
MartinX3 said:
Extract the payload file and flash it in fastboot
Then any further OTA will work with the delivered recovery
Click to expand...
Click to collapse
But how about flashing with twrp?
Hamzakovsky said:
But how about flashing with twrp?
Click to expand...
Click to collapse
Sadly the ota are having an issue preventing it
MartinX3 said:
Extract the payload file and flash it in fastboot
Then any further OTA will work with the delivered recovery
Click to expand...
Click to collapse
MartinX3 said:
Sadly the ota are having an issue preventing it
Click to expand...
Click to collapse
Thanks so much for the info bro!
I've found this Rom on Pixel experience website (link below) do you recommend us to install it?
https://download.pixelexperience.org/h8314
Hamzakovsky said:
Thanks so much for the info bro!
I've found this Rom on Pixel experience website (link below) do you recommend us to install it?
https://download.pixelexperience.org/h8314
Click to expand...
Click to collapse
Yes, that's our ROM using SODP as a base.
(Like my SonyAOSP 10.0 builds here)
MartinX3 said:
Yes, that's our ROM using SODP as a base.
(Like my SonyAOSP 10.0 builds here)
Click to expand...
Click to collapse
Any screenshots ? Thanks in advance
Hamzakovsky said:
Any screenshots ? Thanks in advance
Click to expand...
Click to collapse
Just normal pixel like pixel experience
MartinX3 said:
Just normal pixel like pixel experience
Click to expand...
Click to collapse
The only thing I'm worried about is the extract and sideloading part , I'm used to flash over twrp
Hamzakovsky said:
The only thing I'm worried about is the extract and sideloading part , I'm used to flash over twrp
Click to expand...
Click to collapse
Most people are
MartinX3 said:
Most people are
Click to expand...
Click to collapse
Any tutorial how to do so plz ? ?
Hamzakovsky said:
Any tutorial how to do so plz ? [emoji317]
Click to expand...
Click to collapse
https://forum.xda-developers.com/xperia-xz2/help/how-flash-pixelexperience-xz2-t4016427
[emoji847][emoji2957]

Categories

Resources