[KERNEL/BOOT]+[DRMFIX][MAGISK]Sony XZ1 Compact [G8441]-11-March-2019

Search This thread

janjan

Recognized Developer
May 20, 2007
3,160
3,410
Aalborg
tweaksyourandroid.weebly.com
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/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

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

Code:
- adb devices
- adb reboot bootloader
- fastboot devices
- fastboot flash boot boot.img (flash kernel/boot.img)
- fastboot reboot
- THIRD BOOT YOUR DEVICE INTO TWRP-RECOVERY AND ENSURE/CHECK THAT ALL POSSIBLE PARTITIONS ARE IN MOUNT OPTIONS
- NOW FLASH 2-patching.zip THEN 3-LATEST Stable Magisk
(DOWNLOAD FROM HERE:-LATEST MAGISK)
- NOW ENSURE THAT MAGISK MANAGER IS WORKING
- FINALLY BOOT INTO TWRP-RECOVERY AND FLASH 4-kernel_permissive.zip WITH WIPE DALVIK & CACHE
- YOU CAN ALSO FLASH 4-kernel_permissive.zip FROM MAGISK MANAGER
- OPEN MAGISK MANAGER AND FIND/OPEN MODULES
- PRESS /HIT THE PLUS + SIGN AND FIND THE PATH OF THE 4-kernel-permissive.zip
- NOW IT WILL INSTALL THE ZIP AND REBOOT
- DONE AND ENJOY


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


XPERIA-XZ1 Compact(G8441)-LATEST-47.2.A.8.24-(11/March/2019)
##############################
XPERIA-XZ1 Compact(G8441)-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
@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
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.​
 
Last edited:

alximiktik

Senior Member
Aug 26, 2011
128
13
Yerevan
Dont can download, not loading from mega

---------- Post added at 06:35 AM ---------- Previous post was at 06:28 AM ----------

and will the magisk work with this boot?
 

alximiktik

Senior Member
Aug 26, 2011
128
13
Yerevan
Thanks. Is it your work?

---------- Post added at 07:19 AM ---------- Previous post was at 07:05 AM ----------

I did not understand what zip flash through twrp? what a difference between them. and can I also separately boot through a twrp?
 

alximiktik

Senior Member
Aug 26, 2011
128
13
Yerevan
I mentioned that I patched the boot.img and it should work with magisk. You should use the patched one with magisk.
no difference, with magisk bootloop. I tried several times:(. Only with supersu

---------- Post added at 08:36 AM ---------- Previous post was at 08:34 AM ----------

I flash only boot , from twrp. Maybe I'm doing something wrong?
I installing 14.5 magisk.

---------- Post added at 08:45 AM ---------- Previous post was at 08:36 AM ----------

Sory for my english. I my native languages Armenian and Russian
 
Last edited:

janjan

Recognized Developer
May 20, 2007
3,160
3,410
Aalborg
tweaksyourandroid.weebly.com
no difference, with magisk bootloop. I tried several times:(. Only with supersu

---------- Post added at 08:36 AM ---------- Previous post was at 08:34 AM ----------

I flash only boot , from twrp. Maybe I'm doing something wrong?
I installing 14.5 magisk.

---------- Post added at 08:45 AM ---------- Previous post was at 08:36 AM ----------

Sory for my english. I my native languages Armenian and Russian


- Download the patched zip from first thread and the latest magisk.zip from XDA.
- Move both zips to your device and boot into TWRP
- Flash the patched zip first and then flash the latest magisk.zip
 

alximiktik

Senior Member
Aug 26, 2011
128
13
Yerevan
- Download the patched zip from first thread and the latest magisk.zip from XDA.
- Move both zips to your device and boot into TWRP
- Flash the patched zip first and then flash the latest magisk.zip
all successfully installed and booted into the system. But in the magisk does not pass the safetyNet test. The system update has arrived. After the upgrade I will try to install the kernel and magisk into a clean system.
 

alximiktik

Senior Member
Aug 26, 2011
128
13
Yerevan
I requested a new firmware. Made a complete wipe.
Without switching on the device
1. I installed twrp
2. patched Patched-SONY-XZ1-Compact / [G8441]
3, Installed msgisk.
Bootloop
Wihout magisk -bootloop
Why?
47.1.A.12.34
 
Last edited:

Top Liked Posts

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

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

    Code:
    - adb devices
    - adb reboot bootloader
    - fastboot devices
    - fastboot flash boot boot.img (flash kernel/boot.img)
    - fastboot reboot
    - THIRD BOOT YOUR DEVICE INTO TWRP-RECOVERY AND ENSURE/CHECK THAT ALL POSSIBLE PARTITIONS ARE IN MOUNT OPTIONS
    - NOW FLASH 2-patching.zip THEN 3-LATEST Stable Magisk
    (DOWNLOAD FROM HERE:-LATEST MAGISK)
    - NOW ENSURE THAT MAGISK MANAGER IS WORKING
    - FINALLY BOOT INTO TWRP-RECOVERY AND FLASH 4-kernel_permissive.zip WITH WIPE DALVIK & CACHE
    - YOU CAN ALSO FLASH 4-kernel_permissive.zip FROM MAGISK MANAGER
    - OPEN MAGISK MANAGER AND FIND/OPEN MODULES
    - PRESS /HIT THE PLUS + SIGN AND FIND THE PATH OF THE 4-kernel-permissive.zip
    - NOW IT WILL INSTALL THE ZIP AND REBOOT
    - DONE AND ENJOY


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


    XPERIA-XZ1 Compact(G8441)-LATEST-47.2.A.8.24-(11/March/2019)
    ##############################
    XPERIA-XZ1 Compact(G8441)-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
    @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
    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.​
    8


    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 Compact(G8441)-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
    8
    New boot.img is ready for download
    15/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
    6
    Okay I finally managed to get a working Camera with latest magisk manger. It was not easy to work without having the device in my hand (xz1). I spend many hours to get this work.

    I also faced many problems and a lot of insults here in this thread. Even that I bring a working Camera + magisk manger to you. Even some user from xda donate me some penny and then open a case through PayPal that your kernel is not working bla bla. What a shame. Don't donate if you have a small heart. I never asked for money but really appreciate if some one donate. I am a student and it encourage me a lot to keep my work and bring a best kernel for you guys.
    6
    Thank you for your awesome work!

    I can't download your latest Update (06.07). Mega asks for a key.

    [SONY-XZ1 Compact/[G8441]-[47.1.A.12.235][6/JULY/2018]
    ENJOY. REMEMBER MY WHISKY :)
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone