[KERNEL]/[BOOT]+[DRMFIX][MAGISK]Sony XZ Premium [G8141][G8142]-11-MARCH-2019]

Search This thread

janjan

Recognized Developer
May 20, 2007
3,202
3,437
Aalborg
tweaksyourandroid.weebly.com

DONATE ME HERE
DONATE-HERE

##############################
Features 3/2/2019
##############################


- Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 83 (version 47.2.A.6.30) January/February, 2019
- Up to date with the September security update—January/February, 2019
- Hide verifiedbootstate from /proc/cmdline in order to fix the failed SafetyNet CTS check(It can still fail through other means)-GOOGLE PAY SHOULD WORK
- Remove verifiedbootstate flag from /proc/cmdline - Disable CRC check
- Support wireguard VPN protocol
- dm-verity removed
- Sepolicy is patched for latest Oreo (deodex ROMs)
- Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
- Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multicore SoCs
- Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
- Enable latest energy aware scheduling patches
- Multi-core scheduler enable/optimized
- A lot subsystems converted to use power efficient work-queues
- CAF improvements and optimized
- Enable latest energy aware scheduling patches
- Enable work-queue power-efficient mode by default
- Several other patches to improve the speed and battery usage
- Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPU's or idling them,
- Tweaked to predict the best time to save power on the CPU without affecting performance
- Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs.

##############################
Instructions-
##############################


- Boot into custom-recovery and flash the zip OR UNZIP the zip, then move the boot.img into your adb/fastboot folder and follow
Code:
- adb devices
- adb reboot bootloader
- fastboot devices
- fastboot flash boot boot.img
- fastboot reboot
- DONE AND ENJOY

##############################
Downloads
##############################

Xperia XZ Premium(G8141 and G8142)-(3/February/2019)
##############################

IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE
DONATE ME HERE
DONATE-HERE
 

karrouma

Senior Member
Jun 27, 2013
1,992
652

DONATE ME HERE
DONATE-HERE

##############################
Features 3/2/2019
##############################


- Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 83 (version 47.2.A.6.30) January/February, 2019
- Up to date with the September security update—January/February, 2019
- Hide verifiedbootstate from /proc/cmdline in order to fix the failed SafetyNet CTS check(It can still fail through other means)-GOOGLE PAY SHOULD WORK
- Remove verifiedbootstate flag from /proc/cmdline - Disable CRC check
- Support wireguard VPN protocol
- dm-verity removed
- Sepolicy is patched for latest Oreo (deodex ROMs)
- Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
- Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multicore SoCs
- Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
- Enable latest energy aware scheduling patches
- Multi-core scheduler enable/optimized
- A lot subsystems converted to use power efficient work-queues
- CAF improvements and optimized
- Enable latest energy aware scheduling patches
- Enable work-queue power-efficient mode by default
- Several other patches to improve the speed and battery usage
- Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPU's or idling them,
- Tweaked to predict the best time to save power on the CPU without affecting performance
- Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs.

##############################
Instructions-
##############################


- Boot into custom-recovery and flash the zip OR UNZIP the zip, then move the boot.img into your adb/fastboot folder and follow
Code:
- adb devices
- adb reboot bootloader
- fastboot devices
- fastboot flash boot boot.img
- fastboot reboot
- DONE AND ENJOY

##############################
Downloads
##############################

Xperia XZ Premium(G8141 and G8142)-(3/February/2019)
##############################

IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE
DONATE ME HERE
DONATE-HERE


why you don't add double tap to wacke up
 
  • Like
Reactions: asobi01

addictedanka

New member
Feb 6, 2019
1
0
eXistenZ problem

thank you for your kernel, on eXistenZ there is a delay every time the phone wakes, please fix it on your kernel because there is already a fixed kernel but i prefer yours
 

william84

Senior Member
Feb 11, 2008
168
61
Landgraaf
Samsung Galaxy S22 Ultra
You mean that on Pie even if you unlock the bootloader and root your phone you don't lose drm keys? So sony decided to stop their drm sorcery?

The drm keys are unique for each device and PERMANENTLY gone if you unlock the bootloader. Unless you back-up the various TA partitions before unlocking and they find a way to restore them (I'm not familiar with this so you might want to Google or search here on XDA for a status on this procedure)

With Pie Sony stopped (for now) with 'sabotaging' the camera and image-enhancements (drm-keys are still gone), so you don't have a green picture when taking a photograph.

Again, for now. Might be different with future updates.
 
  • Like
Reactions: XtreemeXp

NAerop

Senior Member
Feb 27, 2018
74
16
on pie camera works without drm keys, true, BUT the quality of a photo became worse, but may be i'm wrong but rly see the difference between 8 android with drm fix and 9 android without drm fix

so, this drm fix also work on pie or not?
 
on pie camera works without drm keys, true, BUT the quality of a photo became worse, but may be i'm wrong but rly see the difference between 8 android with drm fix and 9 android without drm fix

so, this drm fix also work on pie or not?
True, bad quality photos. Drm fix still can install but no difference.

Sent from my Sony G8142 using XDA Labs
 

j4nn

Senior Member
Jan 4, 2012
1,259
2,479
on pie camera works without drm keys, true, BUT the quality of a photo became worse, but may be i'm wrong but rly see the difference between 8 android with drm fix and 9 android without drm fix
Please show us some pictures if you can do the comparisons. I am also wondering if camera's quality on pie is the same as with oreo and if locked/unlocked or TA restored state has any influence to it.

---------- Post added at 22:46 ---------- Previous post was at 22:42 ----------

Can I request to see your kernel source? You linked to official Sony source in OP but that isn't *your* source with your changes to it.
I'm implementing EAS and I'd like to see how you've done it too.

I second that. I wonder who uses kernel which is provided without buildable source.
 
  • Like
Reactions: LazerL0rd

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    vnm2k3.png
    I am sharing my kernel/boot.img, which is build from Sony Open Source/Qualcomm/ and android source (Very close to Stock KERNEL). Designed to keep balance security/ with high Performance and battery life.​
    Code:
    ###Disclaimer###
    I am not responsible for any damage, broken or boot looping.
    Please read the instructions and notes before flashing anything. Don't ask me if you don't read the instructions.
    Please respect and try to help each other. You may face sometimes that I cannot answer your questions/or answer your questions a bit later. I am busy with my work and don't have enough time to read and answer all your questions at the same time.

    DONATE ME HERE
    DONATE-HERE

    ##############################
    Requirements-
    ##############################


    - A working driver for your device.
    USB drivers for Xperia devices
    - Unlock bootloader
    - A Working TWRP-with latest patch security
    - YOUR firmware must match my kernel version. I used to update the kernel with latest firmware.
    - Backup your stuff for future
    - YOU NEED a refresh stock ROM (means you have to wipe EVERYTHING). Use flashtool to flash the latest firmware. (Remember to check Wipe USERDATA in flashtool). It seems not necessary if you have already flashed my kernel and have a working camera
    - USE LATEST FLASHTOOL VERSION TO FLASH THE LATEST FIRMWARE
    - (DOWNLOAD FROM HERE:- LATEST FLASHTOOL)

    [/INDENT]##############################
    Features 11/3/2019
    ##############################


    - Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 148 (version 47.2.A.8.24) MARCH, 2019
    - Up to date with the September security update MARCH, 2019
    - Hide verifiedbootstate from /proc/cmdline in order to fix the failed SafetyNet CTS check(It can still fail through other means)-GOOGLE PAY SHOULD WORK
    - Remove verifiedbootstate flag from /proc/cmdline - Disable CRC check
    - Support wireguard VPN protocol
    - dm-verity removed
    - Sepolicy is patched for latest Oreo (deodex ROMs)
    - Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
    - Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multicore SoCs
    - Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
    - Enable latest energy aware scheduling patches
    - Multi-core scheduler enable/optimized
    - A lot subsystems converted to use power efficient work-queues
    - CAF improvements and optimized
    - Enable latest energy aware scheduling patches
    - Enable work-queue power-efficient mode by default
    - Several other patches to improve the speed and battery usage
    - Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPU's or idling them,
    - Tweaked to predict the best time to save power on the CPU without affecting performance
    - Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs.

    ##############################
    Instructions-
    ##############################


    - Boot into custom-recovery and flash the zip OR UNZIP the zip, then move the boot.img into your adb/fastboot folder and follow
    Code:
    - adb devices
    - adb reboot bootloader
    - fastboot devices
    - fastboot flash boot boot.img
    - fastboot reboot
    - DONE AND ENJOY

    ##############################
    Downloads
    ##############################

    Xperia XZ Premium(G8141 and G8142)-[LATEST]-[11/MARCH/2019]
    ##############################
    Xperia XZ Premium(G8141 and G8142)--ALL-BOOT IMAGES-[KERNEL][DRM-PATCHING]-
    ##############################

    ##############################
    Source/GitHub
    ##############################

    Kernel Source
    -47.1.A.12.xxx
    https://github.com/Nexusma/msm-4.4
    https://github.com/toffyjan/android_kernel_Sony_lilac_poplar
    https://github.com/sonyxperiadev/device-sony-lilac

    IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE
    DONATE ME HERE
    DONATE-HERE

    Special Thanks To:
    If you can, donate and respect all the devs :)
    @Chainfire for his great work to achieve root SuperSU
    @Sultanxda for his great work in android kernel and SafetyNet CTS check
    @Androxyde for Flashtool. merci beaucoup pour tout
    @munjeni for his great knowledge and tools for extracting SIN images
    @sToRm// for his effort on DRM work, THANKS
    @SuperR. for SuperR's Kitchen , THANK YOU
    @M-Rom Thanks for sharing drm-fix and patch
    @serajr Thanks for DRM Fix Workaround and Sony RIC disabler
    THANK YOU SONY FOR SUPPORTING DEVs AND ALLOWING US TO UNLOCK THE BOOTLOADER
    Thanks to XDA And everyone else who share their knowledge and works among us in xda.​
    10
    ##############################
    Detailed instructions-
    ##############################

    Please install all drivers and ADB files needed.

    1. Download to PC XperiFirm_5.3.6_(by_Igor_Eisberg).
    2. Download to PC newflasher_v11.
    3. Download to PC and unzip XZ-Premium-G8141/G8142-Kernel+DRM+patch+Magisk+47.1.A.xx.xxx.zip.
    4. copy the 4 zip files to the any device microSDcard folder.
    5. Download to PC twrp 3.2.1-0-maple and copy the img file to ADB folder.
    6. Run XperiFirm and download latest firmware update, for G8141 or G8142
    7. copy the newflasher.exe to the firmware downloaded folder.
    8. power off the device, press and hold vol- and plug the USB cable some seconds, review the green led is on, bootloader mode.
    9. run the newflasher copied on the firmware folder.
    10. unplug the USB cable when the process finished.
    11. press and hold vol+ and plug the USB cable some seconds, blue led is on, flash mode.
    12. open a window "cmd" and go to ADB folder.
    13. run the command "fastboot devices" to check the device is showed.
    14. run the command "fastboot flash recovery twrp-3.2.1-0-maple.img".
    15. unplug the USB cable and reboot to twrp recovery (press and hold vol- + power button).
    16. On twrp menu, go to "Advanced" and "File Manager" and copy from microSDcard folder the 4 zip files to root "/" internal storage.
    17. install the 1-kernel and reboot to recovery.
    18. install the 2,3,4 zip on order and reboot.
    19. enjoy

    THANKS TO hbenavid FOR THESE STEPS
    6

    DONATE ME HERE
    DONATE-HERE

    ##############################
    Features 3/2/2019
    ##############################


    - Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 83 (version 47.2.A.6.30) January/February, 2019
    - Up to date with the September security update—January/February, 2019
    - Hide verifiedbootstate from /proc/cmdline in order to fix the failed SafetyNet CTS check(It can still fail through other means)-GOOGLE PAY SHOULD WORK
    - Remove verifiedbootstate flag from /proc/cmdline - Disable CRC check
    - Support wireguard VPN protocol
    - dm-verity removed
    - Sepolicy is patched for latest Oreo (deodex ROMs)
    - Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
    - Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multicore SoCs
    - Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
    - Enable latest energy aware scheduling patches
    - Multi-core scheduler enable/optimized
    - A lot subsystems converted to use power efficient work-queues
    - CAF improvements and optimized
    - Enable latest energy aware scheduling patches
    - Enable work-queue power-efficient mode by default
    - Several other patches to improve the speed and battery usage
    - Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPU's or idling them,
    - Tweaked to predict the best time to save power on the CPU without affecting performance
    - Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs.

    ##############################
    Instructions-
    ##############################


    - Boot into custom-recovery and flash the zip OR UNZIP the zip, then move the boot.img into your adb/fastboot folder and follow
    Code:
    - adb devices
    - adb reboot bootloader
    - fastboot devices
    - fastboot flash boot boot.img
    - fastboot reboot
    - DONE AND ENJOY

    ##############################
    Downloads
    ##############################

    Xperia XZ Premium(G8141 and G8142)-(3/February/2019)
    ##############################

    IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE
    DONATE ME HERE
    DONATE-HERE
    6
    Good News for all Xperia Users getting/having official Android 9 from SONY. THE CAMERA WORKS WITH UNLOCKED BOOTLOADER! No need to fix DRMs anymore on Android 9 Xperia Devices! Looks like SONY doesn't Support Things like XperiFix (Making Money with a DRM Workaround). Hopefully do we now get many more Users and Developers on Xperia Devices again! HAIL SONY lol

    Anyways. Many Thanks to @janjan for giving us a great and free fix for on the Go! The last Months would be Hard without You! We still appreciate Your nice Kernels and i would be glad to help You out with AROMA installers for Multi Device Support (Single/Dual Sim)
    6

    DONATE ME HERE
    DONATE-HERE


    ##############################
    Features 24/1/2019
    ##############################


    - Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 83 (version 47.2.A.4.41 and 47.2.A.4.45) January 17, 2019
    - Up to date with the September security update—January 17, 2019
    - Hide verifiedbootstate from /proc/cmdline in order to fix the failed SafetyNet CTS check(It can still fail through other means)-GOOGLE PAY SHOULD WORK
    - Remove verifiedbootstate flag from /proc/cmdline - Disable CRC check
    - Support wireguard VPN protocol
    - dm-verity removed
    - Sepolicy is patched for latest Oreo (deodex ROMs)
    - Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
    - Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multi-core SoCs
    - Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
    - Enable latest energy aware scheduling patches
    - Multi-core scheduler enable/optimized
    - A lot subsystems converted to use power efficient work-queues
    - CAF improvements and optimized
    - Enable latest energy aware scheduling patches
    - Enable work-queue power-efficient mode by default
    - Several other patches to improve the speed and battery usage
    - Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPU's or idling them,
    - Tweaked to predict the best time to save power on the CPU without affecting performance
    - Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs.

    ##############################
    Downloads
    ##############################

    Xperia XZ Premium(G8141 and G8142)-(24/January/2019)
    ##############################[/SIZE]

    IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE
    DONATE ME HERE
    DONATE-HERE