[KERNEL/BOOT]+[DRMFIX][MAGISK]Sony XZ1 [G8341][G8342_Dual]-11-MARCH-2019

Search This thread

hubort

New member
Aug 1, 2019
4
0
Hello everyone,

I'm currently trying to root & flash my Xperia XZ 1 using this Tutorial (Xperia-xz1/how-to/guide-how-to-persistant-root-xperia-xz1-t3718375). I successfully unlocked the bootloader, and flashed the Janjan's Boot Image, but now the screen is stuck on the S O N Y-emblem, and asked me prior to that, to lock the bootloader again.

Anybody has a clue what's going on?

Thank you very much!
 

lilbrat

Senior Member
Jun 13, 2011
1,011
383
Amman
Xiaomi Poco F3
Hello everyone,

I'm currently trying to root & flash my Xperia XZ 1 using this Tutorial (Xperia-xz1/how-to/guide-how-to-persistant-root-xperia-xz1-t3718375). I successfully unlocked the bootloader, and flashed the Janjan's Boot Image, but now the screen is stuck on the S O N Y-emblem, and asked me prior to that, to lock the bootloader again.

Anybody has a clue what's going on?

Thank you very much!

Were you on Oreo or pie when you attempted this, I'll take for granted that you didn't read j4nn's thread on backing up your TA partion .. also which kernel did you flash and with what firmware as janjan hasn't updated his work in quite some time..
Also take a minute and search on how to use Newsflasher as you will need it...
 

hubort

New member
Aug 1, 2019
4
0
Were you on Oreo or pie when you attempted this, I'll take for granted that you didn't read j4nn's thread on backing up your TA partion .. also which kernel did you flash and with what firmware as janjan hasn't updated his work in quite some time..
Also take a minute and search on how to use Newsflasher as you will need it...

Hey lilbrat,
thanks for your quick answer.

I was on Pie, and sadly I just discovered j4nn's thread.
I flashed the .img provided in Janjan's original post, on G8341 47.2.A.10.80. I'll dig into Newsflasher right away.
 

lilbrat

Senior Member
Jun 13, 2011
1,011
383
Amman
Xiaomi Poco F3
Hey lilbrat,
thanks for your quick answer.

I was on Pie, and sadly I just discovered j4nn's thread.
I flashed the .img provided in Janjan's original post, on G8341 47.2.A.10.80. I'll dig into Newsflasher right away.

there is why you bootloop.. look in j4nn thread he has a kerenel for the .80 firmware that you can flash in twrp ..it an .img so in twrp select the img then an option window will pop up select boot, then apply magisk..
 
  • Like
Reactions: hubort

hubort

New member
Aug 1, 2019
4
0
there is why you bootloop.. look in j4nn thread he has a kerenel for the .80 firmware that you can flash in twrp ..it an .img so in twrp select the img then an option window will pop up select boot, then apply magisk..

Thanks again.
{How do I run TWRP on the phone?}

Edit:
How do I run TWRP on the phone in its current status?
 
Last edited:

kwlkwl

Member
Jan 31, 2019
14
0
Why it keep saying my device is not support?
I'm using dual sim version xz1 and flash the .zip on 3.3.1 twrp
 

Triasadi

New member
Oct 1, 2014
2
0
Hi,
I'm a complete Xperia noob, so when I unlocked the bootloader, I didn't know that I'll lose some Sony features, so I kinda f*cked up. I flashed the kernel and it worked great, I feel battery life is improved by a lot. However, when I tried to switch on/off on video enhancement in the display settings and I see no difference.

My device is the G8341, these were the steps I did:
1. Got the 47.2.A.8.24 (February 2019) firmware from here
2. Flashed it with flashtool
3. Flashed boot.img from here
Code:
fastboot flash boot boot.img
4. Flashed the latest TWRP that I got from this thread
Code:
fastboot flash recovery recovery.img
5. Opened TWRP and flashed the latest Magisk zip
6. Booted the phone and finished the Android first time setup
OvlnvG9.png


So my question is:
Does the DRM Fix still work?
Did I do the steps correctly or am I missing something?
 
Last edited:

lilbrat

Senior Member
Jun 13, 2011
1,011
383
Amman
Xiaomi Poco F3
Hi,
I'm a complete Xperia noob, so when I unlocked the bootloader, I didn't know that I'll lose some Sony features, so I kinda f*cked up. I flashed the kernel and it worked great, I feel battery life is improved by a lot. However, when I tried to switch on/off on video enhancement in the display settings and I see no difference.

My device is the G8341, these were the steps I did:
1. Got the 47.2.A.8.24 (February 2019) firmware from here
2. Flashed it with flashtool
3. Flashed boot.img from here

4. Flashed the latest TWRP that I got from this thread

5. Opened TWRP and flashed the latest Magisk zip
6. Booted the phone and finished the Android first time setup


So my question is:
Does the DRM Fix still work?
Did I do the steps correctly or am I missing something?

There is no drm fix for Android 9, so if you didn't back your drm keys first then you lost a few few things,..
 

danielpapidog

New member
Feb 5, 2016
1
0
Es compatible con kernel 47.2.A11.218 de septiembre 2019 no hay problema si flasheo t

It is compatible with kernel (47.2.A11.218 of September 2019) there is no brick problem if I flash your kernel I stay tuned to your answer thank you very much

---------- Post added at 09:25 PM ---------- Previous post was at 09:21 PM ----------

It is compatible with kernel (47.2.A11.218 of September 2019) there is no brick problem if I flash your kernel I stay tuned to your answer thank you very much
 

imoke

New member
Apr 8, 2021
1
0
New boot.img is ready for download
14/4/2018
Kernel features


- Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 78 (47.1.A.12.145) 2018
- With latest April android security patch
- With Meltdown and Spectra patches
- Support wireguard
- init.d script support
- dm-verity removed
- Selinux permissive
- Patched for latest Magisk
- Patch sepolicy for Oreo deodex ROMs
- Camera working with latest magisk manager

- Ready for Xposed. Use API 26
- Scheduler optimize/support for heterogenous multi-core
- Enables the core control
- Optimized the energy consumption for advanced multi-core SoCs including big.LITTLE.
- Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multi-core SoCs
- SMT scheduler enable
- Multi-core scheduler enable/optimized
- Add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
- A lot subsystems converted to use power efficient workqueues
- CAF improvements and optimized
- Enable workqueue power-efficient mode by default
- Enable and update performance governor, powersave governor - Enable and update ondemand cpufreq policy governor, interactive cpufreq policy governor and conservative cpufreq governor.
- Several other patches to improve the speed and battery usage
- Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs
- Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPUs or idling them,
- Tweaked to predict the best time to save power on the CPU without affecting performance
- Tweaked for Best Performance
- And many more patches can't remember
- Update different drivers and add patches
- clean and smooth
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 52
    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)

    ##############################
    Features 11/MARCH/2019
    ##############################

    - Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 148 (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.[/SIZE]

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

    - Reboot into bootloader mode and following the following steps
    Code:
    - adb devices
    - adb reboot bootloader
    - fastboot devices
    - fastboot flash boot boot.img (flash my kernel/boot.img)
    - fastboot reboot

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

    XPERIA-XZ1 (G8341)+XPERIA XZ1 Dual-(G8342)-LATEST-47.2.A.8.24-(11/MARCH/2019)
    ##############################
    XPERIA XZ1 (G8341)+(G8342)-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
    @modpunk for TWRP-recovery 3.2.1-0 and drm-fix THANK YOU

    @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 @tobias.waldvogel thanks for older drmfix and his great effort.
    THANK YOU SONY FOR SUPPORTING DEVs AND ALLOWING US TO UNLOCK THE BOOTLOADER
    ALSO THANKS FOR EVERYONE ELSE EVEN I FORGET TO MENTION THEIR NAMES.
    Thanks to XDA And everyone else who share their knowledge and works among us in xda.​
    13
    HERE YOU GO. ENJOY​

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

    ##############################
    Features 14/9/2018
    ##############################


    - Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 78 (47.1.A.16.20) September 2018
    - Up to date with the September security update—September 2018
    - 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)
    - Camera/DRM fix working with latest magisk manager. No greenish picture
    - Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
    - Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multi-core SoCs
    - Multi-core scheduler enable/optimized
    - Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
    - A lot subsystems converted to use power efficient workqueues
    - CAF improvements and optimized
    - Enable latest energy aware scheduling patches
    - Enable workqueue power-efficient mode by default
    - Several other patches to improve the speed and battery usage
    - Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs
    - Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPUs or idling them,
    - Tweaked to predict the best time to save power on the CPU without affecting performance

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


    SONY-XZ1 (G8341)(G8342) -(47.1.A.16.20)-(14/SEPTEMBER/2018)
    [KERNEL][DRM-PATCHING]

    IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE
    DONATE ME HERE
    DONATE-HERE
    12
    Update to 47.2.A.8.24
    Hey guys and girls, new source got released by Sony. Here´s the next kernel based on latest source 47.2.A.8.24-March, 2019.


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

    ##############################
    Features 11/3/2019
    ##############################


    - Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 148 (LATEST-47.2.A.8.24) March, 2019
    - Up to date with latest 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 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)
    - Camera works without any patch
    - Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
    - Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multicore SoCs
    - Multi-core scheduler enable/optimized
    - Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
    - A lot subsystems converted to use power efficient workqueues
    - CAF improvements and optimized
    - Enable latest energy aware scheduling patches
    - Enable workqueue power-efficient mode by default
    - Several other patches to improve the speed and battery usage
    - Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs
    - Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPUs or idling them,
    - Tweaked to predict the best time to save power on the CPU without affecting performance

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

    XPERIA-XZ1 (G8341)+XPERIA XZ1 Dual-(G8342)-LATEST-47.2.A.8.24-(11/MARCH/2019)
    ##############################
    Source/GitHub
    ##############################

    Kernel-source
    kernel-Source

    IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE
    DONATE ME HERE
    DONATE-HERE
    12
    ##############################
    Features 21/jan/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.[/SIZE]

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

    Sony Xperia XZ1 (G8341)-(21/January/2019)
    Sony Xperia XZ1 Dual-(G8342)-(21/January/2019)
    ##############################

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

    DONATE ME HERE
    DONATE-HERE

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


    - Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 148 (LATEST-47.2.A.6.30) JANUARY/FEBRUARY, 2019
    - Up to date with latest 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 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)
    - Camera works without any patch
    - Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
    - Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multicore SoCs
    - Multi-core scheduler enable/optimized
    - Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
    - A lot subsystems converted to use power efficient workqueues
    - CAF improvements and optimized
    - Enable latest energy aware scheduling patches
    - Enable workqueue power-efficient mode by default
    - Several other patches to improve the speed and battery usage
    - Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs
    - Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPUs or idling them,
    - Tweaked to predict the best time to save power on the CPU without affecting performance

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

    Code:
    - adb devices
    - adb reboot bootloader
    - fastboot devices
    - fastboot flash boot boot.img (flash kernel/boot.img)
    - fastboot reboot

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


    XPERIA-XZ1 (G8341)+XPERIA XZ1 Dual-(G8342)-LATEST-47.2.A.6.30-(3/FEB/2019)
    ##############################

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