{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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.
##############################
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
janjan said:
For future-
Click to expand...
Click to collapse
Hello, if you want to make it for dual sim I'm able to be the tester of the kernel if you want talk to me in private
SilverGamer_YT said:
Hello, if you want to make it for dual sim I'm able to be the tester of the kernel if you want talk to me in private
Click to expand...
Click to collapse
I will start build one for Dual SIM tonight.
janjan said:
I will start build one for Dual SIM tonight.
Click to expand...
Click to collapse
Perfect I'm here for any test
Your links need a decryption key buddy.
Beetle84 said:
Your links need a decryption key buddy.
Click to expand...
Click to collapse
yes, links encrypted need decryption key to open
SilverGamer_YT said:
Perfect I'm here for any test
Click to expand...
Click to collapse
Done. Enjoy
Beetle84 said:
Your links need a decryption key buddy.
Click to expand...
Click to collapse
karrouma said:
yes, links encrypted need decryption key to open
Click to expand...
Click to collapse
Links are fixed now. Enjoy
janjan said:
Links are fixed now. Enjoy
Click to expand...
Click to collapse
dual sim got bootloop with magisk 16.3 and 16.4
didn't try oldest version. tomorrow i will try
karrouma said:
dual sim got bootloop with magisk 16.3 and 16.4
didn't try oldest version. tomorrow i will try
Click to expand...
Click to collapse
Be more clear please. Did you follow the instructions? Are you on stock ROM without any kind of modifications. Otherwise it doesn't work.
janjan said:
Done. Enjoy
Click to expand...
Click to collapse
there is a problem when i tried to flash 2-patching
/vendor cannot be mounted
SilverGamer_YT said:
there is a problem when i tried to flash 2-patching
/vendor cannot be mounted
Click to expand...
Click to collapse
Please follow the 2nd method to flash 2-patch.zip
Very important.You should be on stock ROM.
Let me know if it doesn't work for you.
Hi,
Thanks for your work.
1. I have flashed the firmware: G8141_Customized CE1_1308-5321_47.1.A.12.145_R5B via "newflasher"
2. flashed the recovery twrp-3.2.1-0-maple.img
3. flashed the boot 1-boot.img
4. copied the 2-Patching.zip, 3-Magisk-latest.zip and 4-kernel-permissive.zip to "Download" folder in the internal storage.
5. reboot to twrp recovery.
6. Try to flash 2-Patching.zip and error: /vendor cannot be mounted.
stop.
SilverGamer_YT said:
there is a problem when i tried to flash 2-patching
/vendor cannot be mounted
Click to expand...
Click to collapse
when u first boot into TWRP , select mount then tick system then install the Zips
7aMooD-DmC said:
when u first boot into TWRP , select mount then tick system then install the Zips
Click to expand...
Click to collapse
That is how you fix the same issue as me?
7aMooD-DmC said:
when u first boot into TWRP , select mount then tick system then install the Zips
Click to expand...
Click to collapse
@janjan
Also tried to tick system then install 2-patching.zip
And same error like others.
If i flash the 1-boot.img and restart my phone i got bootloop on xperia.
I testet on stock xz premium dual. (not any other rom)
Also trying with turbo rom on my other xz premium and same problem also
karrouma said:
@janjan
Also tried to tick system then install 2-patching.zip
And same error like others.
If i flash the 1-boot.img and restart my phone i got bootloop on xperia.
I testet on stock xz premium dual. (not any other rom)
Also trying with turbo rom on my other xz premium and same problem also
Click to expand...
Click to collapse
I will take a look once again. Thanks for the report
janjan said:
Be more clear please. Did you follow the instructions? Are you on stock ROM without any kind of modifications. Otherwise it doesn't work.
Click to expand...
Click to collapse
Yes , after hard reset.
Phone boot without rooting.
After flashing 1 boot.img i got boot loop.
I follow system mount and same problem can't glash 2-patching also.
SilverGamer_YT said:
there is a problem when i tried to flash 2-patching
/vendor cannot be mounted
Click to expand...
Click to collapse
hbenavid said:
Hi,
Thanks for your work.
1. I have flashed the firmware: G8141_Customized CE1_1308-5321_47.1.A.12.145_R5B via "newflasher"
2. flashed the recovery twrp-3.2.1-0-maple.img
3. flashed the boot 1-boot.img
4. copied the 2-Patching.zip, 3-Magisk-latest.zip and 4-kernel-permissive.zip to "Download" folder in the internal storage.
5. reboot to twrp recovery.
6. Try to flash 2-Patching.zip and error: /vendor cannot be mounted.
stop.
Click to expand...
Click to collapse
karrouma said:
@janjan
Also tried to tick system then install 2-patching.zip
And same error like others.
If i flash the 1-boot.img and restart my phone i got bootloop on xperia.
I testet on stock xz premium dual. (not any other rom)
Also trying with turbo rom on my other xz premium and same problem also
Click to expand...
Click to collapse
Here is a new build. for G8142 Dual SIM. Follow the steps from 1st post.
https://mega.nz/#!wpRyzSQB!HsqTpJIEozjd85DLXHHWO3LjTo0d4dkYdRA8RimRn4M
Please let me know, if there is something. It should work for XZ premium too (works fine with XZ1 and XZ1 compact. NO issue there)
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Xperia XA1 (G3121), Xperia XA1 Dual(G3112), Xperia XA1 Ultra(G3221/G3223), Xperia XA1 Ultra Dual(G3212) and Xperia XA1 plus Dual (G3412)-SHOULD ALSO WORKS WITH OTHER VERSION TOO. 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
- YOUR firmware must match my kernel version. I used to update the kernel with latest firmware. (DOWNLOAD LATEST VERSION FROM HERE:- LATEST FLASHTOOL)
- 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)
##############################
Instructions-FLASHING KERNEL/BOOT AND CUSTOM-TWRP RECOVERY
##############################
- First flash the latest firmware.
- Then You need to flash my kernel/boot image and then the twrp-recovery
Code:
- adb devices
- adb reboot bootloader
- fastboot flash boot boot.img
- fastboot reboot (YES WE HAVE TO REBOOT)
- Let the device boot completely
- Ensure everything is working, Then
- Reboot the your device into bootloader again and flash the custom- recovery image
Code:
- adb reboot bootloader
- fastboot flash recovery recovery.img
IMPORTANT
- Now unplug your device and hold Vol down + power buttons. You have to release both buttons after vibrate.
- Enjoy custom recovery
- Flash the latest magisk to achieve root
- Enjoy
##############################
Features 17/9/2018
##############################
- Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 83 (48.1.A.2.50) January 9, 2019
- Up to date with the September security update—January 9, 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
- 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
##############################
Downloads
##############################
Xperia XA1(G3121-G3112-G3125-G3116-G3123)-(48.1.A.2.50)-(4/Feb/2019)
[KERNEL+RECOVERY]
##############################
Xperia XA1 Ultra Dual(G3212)-(48.1.A.2.50)-(17/January/2019)
[KERNEL][CUSTOM-RECOVERY]
##############################
Xperia XA1 Ultra(G3221)-(48.1.A.2.50)-(18/January/2019)
[KERNEL][CUSTOM-RECOVERY]
##############################
Xperia XA1 Plus Dual (G3412)-(48.1.A.2.50)-(18/January/2019)
[KERNEL][CUSTOM-RECOVERY]
##############################
Source/GitHub
##############################
-42.0.A.1.69
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
@rrvuhpg for giving me some idea about Sony XA recovery
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.
Will this work with just the regular XA1? Since we only need the recovery to flash SuperSU
IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN BUY ME A SHOT OF WHISKY
DONATE ME HERE
IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN BUY ME A SHOT OF COFFEE
DONATE ME HERE
janjan said:
I need some one to test the bot.img for regular XA1. I can't test it since I don't have the device. It doesn't hurt as long you only boot no flash.
Fastboot boot boot.img
If it boots and everything is working then you can flash the boot.img and then the recovery.img to avoid the boot loops or reboot loops.
Fastboot flash boot boot.img
If it doesn't boot. I will compile a kernel for the regular XA1. I need to upload the source before uploading the kernel.
Click to expand...
Click to collapse
i will await your kernel for the regular XA1. i'm yet to find a way to backup the TA partition
WOW MAN it's fantastic.
Thank you for everything you've done for us!
janjan said:
I need some one to test the bot.img for regular XA1. I can't test it since I don't have the device. It doesn't hurt as long you only boot no flash.
Fastboot boot boot.img
If it boots and everything is working then you can flash the boot.img and then the recovery.img to avoid the boot loops or reboot loops.
Fastboot flash boot boot.img
If it doesn't boot. I will compile a kernel for the regular XA1. I need to upload the source before uploading the kernel.
I am not sure it is gonna work due to ramdisk. But as I said it doesn't hurt by only boot from it.
Click to expand...
Click to collapse
Thank you for working on this. I have an XA1 and I'm desperate to mod it.
Unfortunately I'm not in a position to try it myself yet. I've changed my job and I've lost access to my old work PC. That had all the right drivers on it.
I might be able to install them on the new work computer but I need to check how easily the IT department will spot it first!
Sent from my Sony Xperia XA1 using XDA Labs
I am not sure the kernel/boot.img and recovery.img gonna work for XA1, But try it. Since they are very similar to each other. Download the latest Supersu and flash it to achieve root. Don't forget my beer, thanks. ENJOY
Please try it out and report me back. Thank
janjan said:
Please try it out and report me back. Thank
Click to expand...
Click to collapse
how does one backup the DRM keys? i'd be a tester if i could back them up
i tried with bootloader locked (fastboot boot boot.img), and got this. not sure if it's due my bootloader being locked or what
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot boot.img
downloading 'boot.img'...
OKAY [ 0.553s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 5.660s
Hello.. and will be the version for XA1 Ultra Dual (G3212)
diosdetiempo said:
i tried with bootloader locked (fastboot boot boot.img), and got this. not sure if it's due my bootloader being locked or what
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot boot.img
downloading 'boot.img'...
OKAY [ 0.553s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 5.660s
Click to expand...
Click to collapse
You need an unlocked bootloader.
janjan said:
You need an unlocked bootloader.
Click to expand...
Click to collapse
figured. i can test after a way to backup ta is found
Unfortunately, it seems not working for XA1 DUAL(G3116)...
I used fastboot boot boot.img and OK with it (still have DM-verity warning)
Then I flashed fastboot flash boot boot.img but get into boot-looping
I haven't tested the recovery but I will try it soon
Still have many thanks! If you need a tester I'll always be here.
---------- Post added at 04:47 PM ---------- Previous post was at 04:46 PM ----------
ApSHeLL said:
Hello.. and will be the version for XA1 Ultra Dual (G3212)
Click to expand...
Click to collapse
Since the kernel code is similar among they, you can have a try to boot with this.
Use fastboot boot boot.img to test(it will not harm your phone) if everything ok ,
Flash it into your phone with fastboot flash boot boot.img.(perhaps cause boot-looping)
Still be sure you can repair your phone from boot-looping and test with it!
Mikaze said:
Unfortunately, it seems not working for XA1 DUAL(G3116)...
I used fastboot flash boot.img and OK with it (still have DM-verity warning)
Then I flashed fastboot flash boot boot.img but get into boot-looping
I haven't tested the recovery but I will try it soon
Still have many thanks! If you need a tester I'll always be here.
---------- Post added at 04:47 PM ---------- Previous post was at 04:46 PM ----------
Since the kernel code is similar among they, you can have a try to boot with this.
Use fastboot boot boot.img to test(it will not harm your phone) if everything ok ,
Flash it into your phone with fastboot flash boot boot.img.(perhaps cause boot-looping)
Still be sure you can repair your phone from boot-looping and test with it!
Click to expand...
Click to collapse
I mentioned many times not to flash the boot image. Only boot with fastboot boot boot.img
Incase of boot looping, please send me your kernel.elf and fotakernel.elf ..
I will build a "stochesh" boot.img for you. PM me the links of your kernel and fotakernel and remember to write which model.
janjan said:
I mentioned many times not to flash the boot image. Only boot with fastboot boot boot.img
Inacse of boot looping, please send me your kernel.elf and fotakernel.elf ..
I will build a "stochesh" boot.img for you. PM me the links of your kernel and fotakernel and remember to write which model.
Click to expand...
Click to collapse
Sorry for my typo, "fastboot flash boot.img" should be corrected as "fastboot boot boot.img"
It's booted well as "fastboot boot boot.img" but bricked on "fastboot flash boot boot.img"....
Understood. I will send you kernel soon, thank you!
Mikaze said:
Sorry for my typo, "fastboot flash boot.img" should be corrected as "fastboot boot boot.img"
It's booted well as "fastboot boot boot.img" but bricked on "fastboot flash boot boot.img"....
Understood. I will send you kernel soon, thank you!
Click to expand...
Click to collapse
I just finished compiled kernel for ordinary XA1. Both kernel and recovery should work. I am uploading as soon as possible. Enjoy
janjan said:
I just finished compiled kernel for ordinary XA1. Both kernel and recovery should work. I am uploading as soon as possible. Enjoy
Click to expand...
Click to collapse
Really thank you for all you have done for us!
Wish I can also do a contribution for community someday...
Mikaze said:
Really thank you for all you have done for us!
Wish I can also do a contribution for community someday...
Click to expand...
Click to collapse
My pleasure. You will..Links are ready. Enjoy
Odd
Weird, when I click the links, it tells me the decryption key is wrong. Cant download
I am not having XA1 Plus anymore. This kernel is development discontinued. Sorry for that.
Hello Xperia lovers , Today i am going to present you Xperia XA1 Plus Stock kernel with more usefull features . Since Xperia xa1 plus is not added into XDA yet, Project device is selected temporarily. Will move it later when form Moderators will add this device.
No need to tell about what is kernel and what it do . because almost everyone know these days about kernel and its working process.
So with this kernel you will get twrp 3.2.1 (Latest build) which i have moded to work with MTP devices.
More ever in some devices Data in encrypted automatically. Forcefully data encryption is disabled in this kernel.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just simply turn on your device, wait for viberation and white led. then press Vol+ OR Vol- button to enter recovery mood Both will work.
This is intial release of this kernel, will update it with more features time by time.
wait for next release with more useful mods and features
To flash this kernel simply install Fastboot and ADB drivers and use flashtool in fastboot mood OR
install ADB and Fastboot drivers,
Then put boot.img in adb and fastboot home path and Or switch off your device and press Vol+ button and attach usb cable
Code:
Fastboot flash boot boot.img
Fastboot reboot
Warning :
Code:
This kernel needs unlocked bootloader
Your Warrenty is void.
i am not responsible if something goes wrong with flashing.
Attaching Stock Boot.img also in case if anyone want to move to stock kernel again.
Many Thanks to developers who inspired us and created tools to work smoothly.
XDA:DevDB Information
[TWRP]+KERNEL+ROOT-Xperia XA1 Plus with advanced features, Kernel for the Sony Xperia XA1
Contributors
Ab.Shaheen
Kernel Special Features: Added TWRP 3.2.1 (Go Through Vol+ OR Vol- on boot) , Disabled Force Encryption of data, Fully Supported Xperia XA1 Plus .117 Stock ROM. (Not Tested With Other ROMs), Disabled Force encryption of userdata,
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2018-01-04
Created 2018-01-04
Last Updated 2018-10-09
Reserved
version 1
~Initial Release
~Based on XA1 PLUS Nougat (.117)
~Disabled force encryption
~Added latest version of TWRP (3.1.2)
~Added SELINUX status in settings > about > SELinux Status
Version 2
~Based on XA1 PLUS Nougat (.131)
~Initrd support added
~Disabled DM Verity.
~Set selinux to permissive
Version 3
~Based on latest Oreo update (.116 & .129)
~Disabled Force encryption (New method)
~Disabled DM-Verity (New Method)
~Updates twrp recovery to new and stable version.
~Battery life is extremely good. using since last week.
~Added some other tweeks.
~init.d still under process. (But you can use magisk module for init.d)
Version 4
~All Points from Version 3
~And new added features.
~If your data is already encrypted, you can decrypt your data from settings,
~Reworked magisk installer. ( Patch boot.img from magisk App by keep selecting preserve "force encryption" and "DM Verity options" Otherwise it may stuck at boot animation. )
Version 5
~Based on Oxa1 plus OREO (.138)
~reworked selinux to permissive
~reworked init.d support
~more stable and working "adb authorization prompt" and "developer options"
just install latest magisk zip to get root access.
Version 6
Updated kernel for 101 firmware.
Download Links
To Download For Nougat and Oreo : Click Here To Download.
root
good joob!! i have xa1 plus. Can modify the CPU gobernor with this kernel?
It's for latest firmware only? .117 one?
Does it support MAGISK or only SuperSU?
What about DRM fix/patch?
Sorry for so many questions, but probably some other user would ask them anyway
ch3mn3y said:
It's for latest firmware only? .117 one?
Does it support MAGISK or only SuperSU?
What about DRM fix/patch?
Sorry for so many questions, but probably some other user would ask them anyway
Click to expand...
Click to collapse
Yes , it support systemless magisk and supersu. I did'not checked with the other versions, may be supporting them or may be not.
DRM patch will be also in next releases of this kernel..
Can anybody provide TA partition backup to look into DRM patch?
Can someone help me? Root XA1 + G3416, Android 7.0 .117
root for 3426 dual is possible? thanks everyone
i had unlocked bootloder successiful, after i had installed this
https://forum.xda-developers.com/devdb/project/dl/?id=27994
phone restart normal.... not in twrp...
how can i install twrp and then install superuser for root....
thanks you...
Alekim91 said:
root for 3426 dual is possible? thanks everyone
i had unlocked bootloder successiful, after i had installed this
https://forum.xda-developers.com/devdb/project/dl/?id=27994
phone restart normal.... not in twrp...
how can i install twrp and then install superuser for root....
thanks you...
Click to expand...
Click to collapse
I have not tested it on 3426. but it should work on that, just download Here It should work, but if not working then please provide kelnel.elf from stock ftf, i can compile it with twrp for you.
enrik98 said:
good joob!! i have xa1 plus. Can modify the CPU gobernor with this kernel?
Click to expand...
Click to collapse
thats not a big deal bro, now working on DRM patch, will update it later..
Ab.Shaheen said:
thats not a big deal bro, now working on DRM patch, will update it later..
Click to expand...
Click to collapse
Hi!
I tried to change the frequency of the cpu with the app "kernel audiutor" and many other apps, but none of them managed to change the frequency of the cpu. I think the problem may be SONY ric
Ab.Shaheen said:
I have not tested it on 3426. but it should work on that, just download Here It should work, but if not working then please provide kelnel.elf from stock ftf, i can compile it with twrp for you.
Click to expand...
Click to collapse
ok thanks you.... this twrp on my G3426 work very well, but i have try to instal superuser.zip.... just say fail....
how can i root my sony now? thanks you...
Alekim91 said:
ok thanks you.... this twrp on my G3426 work very well, but i have try to instal superuser.zip.... just say fail....
how can i root my sony now? thanks you...
Click to expand...
Click to collapse
Try to Flash magisk
TheOldMan said:
Try to Flash magisk
Click to expand...
Click to collapse
i ve installed magisk 15.1 and when i open supersu it say Su binary occupied
solved with flash of Magisk-v15.2(1520) and super user 2.79....
now we hope for a ROM Lineage OS.... any hope?
Alekim91 said:
ok thanks you.... this twrp on my G3426 work very well, but i have try to instal superuser.zip.... just say fail....
how can i root my sony now? thanks you...
Click to expand...
Click to collapse
SuperSu is also working very well on it, but if you will flash systemless zip from Here . System mode Supersu will cause bootloops or stuck at boot animation. And magisk works without any error, tested by me.
enrik98 said:
Hi!
I tried to change the frequency of the cpu with the app "kernel audiutor" and many other apps, but none of them managed to change the frequency of the cpu. I think the problem may be SONY ric
Click to expand...
Click to collapse
Still busy with DRM patch, ric is enabled therefore you are facing this problem, will update it now.
Ab.Shaheen said:
Still busy with DRM patch, ric is enabled therefore you are facing this problem, will update it now.
Click to expand...
Click to collapse
Thanks Bro!!
for xa1 plus there is android oreo? nothing of news? thanks you
is possible to activate double tap to wake? i miss this feature from my z4+...... help me pls
@Alekim91
X and X Compact should get Oreo before XA1 series. And they still didn't. Somewhere (don't remember site) I read that Xes will get it this month and XA1 series around MWC (february/march).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Main advantages
- Best performance at all temperatures (50 ~ 70% faster than stock)
- Less heat (especially during moderate / intense use -5 ~ 10 ° C)
- Maintains very good performance for long periods of time
- Faster cooling
- Overheating has been deactivated
- Do not heat device while in sleep mode
- System improvements and Soc qualcomm
- Optimized CPU and gpu for Soc qualcomm control
- No overheating when used and device charged
- System and kernel functions were fixed
- Add support init.d stock
Requirements
- Xperia X F5121 & F5122
- Compilation 34.4.A.2.70
- Firmware 8.0
- Install busybox
- Twrp
- Magisk 16
- it is unknown if it works for SuperSU
Installation
Attention: it is not authorized under any circumstance to lodge the files of this mod in another cloud of storage, you can add this thread to your post
- Turn off your device
- Enter twrp
- Install - Xperia_X_Thermal_Oreo_Compilation_70.zip
- Before restarting, perform the following steps
- Twrp
- Wipe
- Slide to factory reset
- Advanced cleaning
- Option:
- Dalvik / ART Cache
- Cahe
- Data
- Slide to clean
- Reailize the installation of - initd_magisk.zip
- ready restart and configure your device
- Once the configuration is finished, turn off your device
- and restart the first few times when your device starts, leave it for 2 to 3 minutes and unlock it and go
Now to enjoy your device without worrying that hot :laugh:
credits: @korom42 or its magisk module although it is adapted for the Xperia X
Faq
- will work in another compilation
you can try but it is based on the compilation 34.4.A.2.70 that you probably bootloop
- It is necessary to perform the cleanup with twrp and reestablish my device
if it is necessary for the changes to be applied correctly
- I can upload it to my personal storage cloud
no, but you can place the thread on this topic without any problems
- Works for Android Nougat
Do not
Reserved
It doesn't need Magisk and some suspicious module, I think. Any app which can emulate init.d (like Kernel Adiutor) will work just fine.
How do I know it works?
I installed it in a clean rom, but the phone heats up normally as expected, as data: install the magisk file and I throw error, followed the steps to the letter
winsters said:
I installed it in a clean rom, but the phone heats up normally as expected, as data: install the magisk file and I throw error, followed the steps to the letter
Click to expand...
Click to collapse
the device does not heat up if you follow the steps as you re-check the installation and it will last for 2 weeks
Bootloop wheb used on xgen rom 1.07. . Did I do something wrong
Does this mod also work with Omni Rom Oreo?
Hmm, I found only the 1st thing I'm unable to install, I can install the main FCS thing but it's a no go on the initd magisk thing.. it doesn't install....
lilbrat said:
Hmm, I found only the 1st thing I'm unable to install, I can install the main FCS thing but it's a no go on the initd magisk thing.. it doesn't install....
Click to expand...
Click to collapse
The same here
PNIGGE said:
The same here
Click to expand...
Click to collapse
Copy to internal sd (crucial). Install the zip. Enable init.d using kernel adiutor. Restart phone. Profit.
I was having some weird issues with the mod where the init.d scripts wouldn't run neither with the module suggested in OP nor through Kernel Adiutor and was also tired of having to reflash the mod every time a new security update was released, so I went in and made a pure Magisk version of the mod (attached on this post).
This Magisk version is exactly the same as the OP, the only difference is that it's now a Magisk Module (so it applies systemlessly) and that you don't need busybox nor any kind of init.d support for it to work (the init.d scripts from the mod are executed directly through Magisk late_start hook instead). Download the ZIP, install through Magisk Manager, reboot and done.
mbc07 said:
I was having some weird issues with the mod where the init.d scripts wouldn't run neither with the module suggested in OP nor through Kernel Adiutor and was also tired of having to reflash the mod every time a new security update was released, so I went in and made a pure Magisk version of the mod (attached on this post).
This Magisk version is exactly the same as the OP, the only difference is that it's now a Magisk Module (so it applies systemlessly) and that you don't need busybox nor any kind of init.d support for it to work (the init.d scripts from the mod are executed directly through Magisk late_start hook instead). Download the ZIP, install through Magisk Manager, reboot and done.
Click to expand...
Click to collapse
How would the installation process differ from OPs instructions with this Magisk module?
CntrlAltDel45 said:
How would the installation process differ from OPs instructions with this Magisk module?
Click to expand...
Click to collapse
You have two options:
1) Boot into TWRP and flash the attachment from my previous post (works only if you already have Magisk installed and working!), then reboot when done.
2) Open Magisk Manager, go to Modules, click the + button, locate the attachment from previous post, then reboot when done.
That's it. You don't need to flash/install anything else.
mbc07 said:
You have two options:
1) Boot into TWRP and flash the attachment from my previous post (works only if you already have Magisk installed and working!), then reboot when done.
2) Open Magisk Manager, go to Modules, click the + button, locate the attachment from previous post, then reboot when done.
That's it. You don't need to flash/install anything else.
Click to expand...
Click to collapse
Thank you. I used the second method you mentioned. Everything went by seamlessly.
mbc07 said:
You have two options:
1) Boot into TWRP and flash the attachment from my previous post (works only if you already have Magisk installed and working!), then reboot when done.
2) Open Magisk Manager, go to Modules, click the + button, locate the attachment from previous post, then reboot when done.
That's it. You don't need to flash/install anything else.
Click to expand...
Click to collapse
Used the 2nd method, but there's a problem: after 2 minutes in stand by from the restart of the phone, it restarted by itself...
What's the problem? Need a dalvik/cache wipe after the installation with Magisk? Is it incompatible with Xposed framework (installed on my phone)? Or maybe the compilation base (I'm on fw .118) is different and cause bootloop...
Thanks in advance.
Edit: I used the first method, I had an installation without restart, but it doesn't work!
will it work with .118 rom?
AlexUnder2010 said:
will it work with .118 rom?
Click to expand...
Click to collapse
No! But you can get the right file at this link: https://mega.nz/#F!DZAGDY6B!d6CeWtv-tqD0RHtsOHS02w
When you open the folder, find and download fcs thermal v. 1.3. Then install through twrp.
I've installed on stock rom .118 and works great
Niquillo said:
No! But you can get the right file at this link: https://mega.nz/#F!DZAGDY6B!d6CeWtv-tqD0RHtsOHS02w
When you open the folder, find and download fcs thermal v. 1.3. Then install through twrp.
I've installed on stock rom .118 and works great
Click to expand...
Click to collapse
It's for Nougat only ??*
Here are recent A13 GSIs that booted and worked on my P20 lite Hi6250
Requirements:
You can flash SHRP recovery that have all the requirements to make Android 13 boot normally (including permissive kernel, decrypt data, selinux fix, AIO fix and Mgisk) from here
------- or
- latest kernel from here
- Stock kernel 4.9148 from here
- SELinux-fix from here
- AIO patch for android 13 here (that include offline charging fix, SELinuxfix and other fixes)
- EMUI 9
-Arm64 AB GSI image (vndklite version is recommended)
- How to install: here
NameMaintainerLinkKernel and fixesUpdatedAOSP@phhusson TrebleDroid™ BuildersDownloadOption 1: Stock kernel
Option 2: Latest kernel from here13/11/2022crDroidNazimDownload
Option 1: Latest kernel from here
Option 2: Stock kernel27/12/2022Pixel Experience +
Pixel Experience PlusponcesDownloadOption 1: Stock kernel
Option 2: Latest kernel from here4/1/2023Evolution X@poncesDownloadOption 1: Stock kernel
Option 2: Latest kernel from here5/1/2023Superior OSChonDoeDownloadOption 1: Stock kernel
Option 2: Latest kernel from here17/11/2022LeaOS-PHHAltairFRDownloadPhenix Linux 4.9.31923/12/2022LineageOS TD-based@AndyYanDownloadOption 1: latest permissive kernel from here
Option 2: Latest kernel from here + SELinux fix or AIO11/11/2022Cherish OSChonDoeDownloadOption 1: Latest permissive kernel from here
Option 2: Latest kernel from here + SELinux fix or AIO
Option 3: Stock kernel+ SELinux fix or AIO13/11/2022ArrowNazimDownloadOption 1: Stock kernel
Option 2: Latest kernel from here8/1/2023SparkNazimDownloadOption 1: Stock kernel
Option 2: Latest kernel from here10/1/2023RiceDroid@LynixFoxDownloadOption 1: Stock kernel
Option 2: Latest kernel from here22/12/2022Project Elixir@LynixFoxDownloadOption 1: Stock kernel
Option 2: Latest kernel from here12/1/2023
Some Fixes for A13
1- solve network problem
adb shell settings put global restricted_networking_mode 0
2- remove phh su from A13(solve magisk problems)
adb shell
su 0
/system/bin/phh-securize.sh
3- Enable offline charging
Flash this Zip file using TWRP/SHRP
Download From here
Selinux-fix-Yahia-V5.0.zip: Selinux fix for Pixel Experience A13 including missing selinux policies for offline charging (it may work with other GSIs, if not you can back to sock vendor policies by flash selinux-Stock-Yahia-V1.0.zip or from your vendor backup)
- Backup Vendor partition
- It also disable encryption
- Flash "Selinux-fix-Yahia-V5.0.zip" using TWRP
Selinux-fix-Yahia-V2.0.zip works with Pixel Experience A13
Kernel 4.9.319 for A13. I have rebuild it to fix keymaster2 error
Contributors
@TureX
Abdelhay.ali said:
Kernel 4.9.319 for A13. I have rebuild it to fix keymaster2 error
Contributors
@TureX
Click to expand...
Click to collapse
Hi!
What you have done to fix it? Is the error just for android 13 right? I might do a branch just for android 13
Cheers
TureX said:
Hi!
What you have done to fix it? Is the error just for android 13 right? I might do a branch just for android 13
Cheers
Click to expand...
Click to collapse
revert these two commits 1 2 . yes for A13 only
I don't want to create a seperate thread for this so here goes.
I tried to merge all patches related to Android 13 in a single package. This includes @AltairFR 's NFC, DRM and offline charging fixes, @Abdelhay.ali 's selinux rules and to top it off some tweaks from here and there from me. I made sure it can be flashed from official twrp, can't promise same for modified twrps.
I also made an opt version which doesn't include selinux rules since required ones are already merged to trebledroid. I recommend flashing that one, if you can't boot afterwards flash @Abdelhay.ali 's selinux patch above.
What it does:
- Edits vendor build.prop for safetynet
- Edits system build.prop for performance and spoofing phone model
- Edits vendor fstab to remove encryption
- Edits vendor selinux rules to boot enforcing
- Adds DRM service and required fixes to both system and vendor
- Adds NFC config files to system and system/product
- Adds iceow's offline charging binary & images and edits init.rc accordingly
- Removes unneeded com.android.vndk.vxx folders from system_ext/apex to save some space
- Added ability to resize system before extracting stuff
(twrp might say zip is flashed even tho it didn't because of resize functionality, that happened to me only when I dirty flashed it so I recommend flashing this before booting your system)
I'm a dumb dumb who can't figure out how to sign a zip so here's CRC64 to check for integrity manually :
1.3.1 : AC55639A998DA2B4
1.3.1-opt : 436BCBE5DECF34E0
Also I don't want to create another zip just to go back to stock, all you need to do is get stock vendor image from here and flash it over vendor via twrp. adb push VENDOR.img /sdcard will send it to internal storage, from there you can install image.
Good job frax3r !!!
Update
There are two versions of stock kernel 4.9.148 :
1- Sock kernel 4.9.148 for emui 9.1.0.401 from here extract by Frax3r
2- Sock kernel 4.9.148 for Emui < 9.1.0.401 attached
Thanks @AltairFR for this information
--------------
Stock Kernel 4.9.148 for Emui < 9.1.0.401 backup from TWRP
Because I didn't find any worked .img for 4.9.148 stock kernel. I have attached my Stock Kernel 4.9.148 backup from TWRP. You can use it via Restore option in TWRP after decompress it.
Abdelhay.ali said:
I didn't find any worked .img for 4.9.148 stock kernel
Click to expand...
Click to collapse
Use Huawei Update Extractor.
-Alf- said:
Use Huawei Update Extractor.
Click to expand...
Click to collapse
Thank you for your reply. I have already used it, but the output kernel.img not working on my device. Also, I have tried this from @Frax3r, not working too. (It is boot to fastboot with error message)
You can see the size of the extracted kernel is 24Mb and the normal kernel size around 12Mb
Abdelhay.ali said:
extracted kernel is 24Mb and the normal kernel size around 12Mb
Click to expand...
Click to collapse
Are you sure?
-Alf- said:
Are you sure?
Click to expand...
Click to collapse
Yes. Ask huawei enginners why they put 12 mb of empty space.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Abdelhay.ali said:
You can see the size of the extracted kernel is 24Mb and the normal kernel size around 12Mb
Click to expand...
Click to collapse
Maybe I don't understand it (I'm just a hobbyist), but when the extracted kernel.img is 24Mb and the your TWRP backup kernel.img is also 24Mb, where is the difference?
-Alf- said:
Maybe I don't understand it (I'm just a hobbyist), but when the extracted kernel.img is 24Mb and the your TWRP backup kernel.img is also 24Mb, where is the difference?
Click to expand...
Click to collapse
TWRP take a backup of the whole kernel partition including space.( Like backup system and backup system image).
This is not our problem . There is an error in extracting kernel from UPDATE.APP using Huawei Update Extractor at least with me. I have mentioned size of the extracted kernel to indicated that.
Abdelhay.ali said:
TWRP take a backup of the whole kernel partition including space.( Like backup system and backup system image).
This is not our problem . There is an error in extracting kernel from UPDATE.APP using Huawei Update Extractor at least with me. I have mentioned size of the extracted kernel to indicated that.
Click to expand...
Click to collapse
Just ignore checksum in option of huawei extractor or use linux extract script
AltairFR said:
Just ignore checksum in option of huawei extractor or use linux extract script
Click to expand...
Click to collapse
I have used both methods. but after flash the kernel, it does not boot normally . I attached the error
anyway, I can return to stock kernel using my backup
Abdelhay.ali said:
I have used both methods. but after flash the kernel, it does not boot normally . I attached the error
anyway, I can return to stock kernel using my backup
Click to expand...
Click to collapse
Check your usb cable, I had the same issue. Turns out cable was faulty. Even my proper cable corrupted few images while flashing, switched usb ports and it flashed uncorrupted. Try different usb ports, if it's same switch cable.
Frax3r said:
Check your usb cable, I had the same issue. Turns out cable was faulty. Even my proper cable corrupted few images while flashing, switched usb ports and it flashed uncorrupted. Try different usb ports, if it's same switch cable.
Click to expand...
Click to collapse
You can also prefer usb-a port
Hi,
I'm trying to install pixel experience on my phone with this guide and I'm using the first recommended twrp. When I want to flash the AIO fix zip file, both adb sideload and install from twrp show the error
'Failed to mount /system_root (invalid arguement)'I tried many methods from the google search and nothing works. I tried mount /system rw manually, both twrp mount and terminal not working and resize file system from twrp wipe also failed.
How can I solve this? Thanks for your help.
art0001 said:
Hi,
I'm trying to install pixel experience on my phone with this guide and I'm using the first recommended twrp. When I want to flash the AIO fix zip file, both adb sideload and install from twrp show the error
'Failed to mount /system_root (invalid arguement)'I tried many methods from the google search and nothing works. I tried mount /system rw manually, both twrp mount and terminal not working and resize file system from twrp wipe also failed.
How can I solve this? Thanks for your help.
Click to expand...
Click to collapse
Use vndk lite version of PE
Code:
*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned
crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today
Features:
https://github.com/crdroidandroid/crdroid_features/blob/13.0/README.mkdn
Flashing Instructions:
Pre-installation:
Recovery (Download from here)
gapps (Download from here)
Magisk 25.0 or newer for root (after first boot) - (Download from here)
First time installation:
NOTE : Make sure you have the bootloader unlocked(This thread will not entertain bootloader unlock method/discussion on Docomo phones as officially its not allowed by SONY).
NOTE : If your bootloader is not unlocked, Please search on google and DO NOT POST THE QUESTIONS RELATED TO IT HERE.
Step 1 : Flash Stock ROM and boot into it atleast once.
Step 2 : Download the recovery from above link and flash it from fastboot.
fastboot flash boot boot.img
Step 3 : Now reboot into recovery to verify the installation.
With the device powered off, hold Volume Down + Power.
Step 4 : Download the CrDroid ROM(Link in second post).
Step 5 : Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
Step 6 : Return to the main menu.
Step 7 : Sideload the crDroid .zip package but do not reboot before you read/followed the rest of the instructions!
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
Step 8 : Installing add ons : Even though you are already in recovery, click Advanced, then Reboot to Recovery
When your device reboots, click Apply Update, then Apply from ADB, then adb sideload filename.zip for all desired packages in sequence.
Once you have installed everything successfully, you can now reboot your device into the OS for the first time!
Update installation:
step 1 : OTA is supported for upgrades montly.
step 2 : If you want manuall installation please refer to first time installation instructions.
step 3 : If OTA update fails, you can download the rom manually and apply update via updater app (Settings >> System > Updater >> Local update)
step 4 : Update via OTA or Local Update is recommended
Sources:
ROM: https://github.com/ShujathMohd
Kernel: https://github.com/ShujathMohd/android_kernel_sony_sdm845
Known issues:
Please test and report.
Visit official website @ crDroid.net
Changelog :
24-04-2023
Initial Release
Download : https://sourceforge.net/projects/so...roid-13.0-20230425-xz2c_dcm-v9.4.zip/download
Is it a ported/cooked ROM?
What's the difference between H8324 XZ2C and Docomo?
DrTrax said:
Is it a ported/cooked ROM?
What's the difference between H8324 XZ2C and Docomo?
Click to expand...
Click to collapse
Its built from source.
There are two major changes between Global and Docomo Variant.
1.) System parition size is different in both models.
Global variant have approx 4.2 GB
Docomo have approx 3.7 GB
2.) NFC Chip and drivers are different on both models.
Shujath said:
Its built from source.
There are two major changes between Global and Docomo Variant.
1.) System parition size is different in both models.
Global variant have approx 4.2 GB
Docomo have approx 3.7 GB
2.) NFC Chip and drivers are different on both models.
Click to expand...
Click to collapse
Uf... never had a chance to build a ROM like this... I'd like to try to "create" one for XZ2C since there are almost no other custom ROM there...
Although... I'm already trying to port OrangeFox recovery from akari to xz2c (first dirty mods works fine!)
Shujath said:
Code:
*** Disclaimer
I am not responsible for any damage you made to your device
You have been warned
crDroid is designed to increase performance and reliability over stock Android for your device also attempting to bringing many of the best features existent today
Features:
https://github.com/crdroidandroid/crdroid_features/blob/13.0/README.mkdn
Flashing Instructions:
Pre-installation:
Recovery (Download from here)
gapps (Download from here)
Magisk 25.0 or newer for root (after first boot) - (Download from here)
First time installation:
NOTE : Make sure you have the bootloader unlocked(This thread will not entertain bootloader unlock method/discussion on Docomo phones as officially its not allowed by SONY).
NOTE : If your bootloader is not unlocked, Please search on google and DO NOT POST THE QUESTIONS RELATED TO IT HERE.
Step 1 : Flash Stock ROM and boot into it atleast once.
Step 2 : Download the recovery from above link and flash it from fastboot.
fastboot flash boot boot.img
Step 3 : Now reboot into recovery to verify the installation.
With the device powered off, hold Volume Down + Power.
Step 4 : Download the CrDroid ROM(Link in second post).
Step 5 : Now tap Factory Reset, then Format data / factory reset and continue with the formatting process. This will remove encryption and delete all files stored in the internal storage, as well as format your cache partition (if you have one).
Step 6 : Return to the main menu.
Step 7 : Sideload the crDroid .zip package but do not reboot before you read/followed the rest of the instructions!
On the device, select “Apply Update”, then “Apply from ADB” to begin sideload.
On the host machine, sideload the package using: adb sideload filename.zip.
Step 8 : Installing add ons : Even though you are already in recovery, click Advanced, then Reboot to Recovery
When your device reboots, click Apply Update, then Apply from ADB, then adb sideload filename.zip for all desired packages in sequence.
Once you have installed everything successfully, you can now reboot your device into the OS for the first time!
Update installation:
step 1 : OTA is supported for upgrades montly.
step 2 : If you want manuall installation please refer to first time installation instructions.
step 3 : If OTA update fails, you can download the rom manually and apply update via updater app (Settings >> System > Updater >> Local update)
step 4 : Update via OTA or Local Update is recommended
Sources:
ROM: https://github.com/ShujathMohd
Kernel: https://github.com/ShujathMohd/android_kernel_sony_sdm845
Known issues:
Please test and report.
Visit official website @ crDroid.net
Click to expand...
Click to collapse
Good job sir, rom is very smooth, and no bug. This my new daily driver rom. Thank you.
DrTrax said:
Uf... never had a chance to build a ROM like this... I'd like to try to "create" one for XZ2C since there are almost no other custom ROM there...
Although... I'm already trying to port OrangeFox recovery from akari to xz2c (first dirty mods works fine!)
Click to expand...
Click to collapse
I will build xz2c Global this weekend.
Shujath said:
I will build xz2c Global this weekend.
Click to expand...
Click to collapse
OMG Thank you very much ♥ BTW I found once an AICP ROM version 8.4 for XZ2C... Do you want that too for comparison if there are any troubles?
So far, the only issue is netflix playback specification, DRM widevine: L3, max playback resolution is only SD. I have tried crdroid feature, spoof netflix, but no luck. Any solution for this?
avatarwan13 said:
So far, the only issue is netflix playback specification, DRM widevine: L3, max playback resolution is only SD. I have tried crdroid feature, spoof netflix, but no luck. Any solution for this?
Click to expand...
Click to collapse
you loose DRM once you unlock the bootloader,
I don't think there is a way to get widevine L1 back on unlocked bootloader
Thanks for making this. I had Docomo device and this is the only flash-able ROM at the moment.
If possible, may I request a brightness slider on statusbar? Not on quick settings. Its where you just slide anywhere on the statusbar to control the phone brightness. I miss this feature.
Also, whenever I pull down the quick settings, it feels quite jerky/lagging. Is it just me?
I only have like 5 tiles.
Shujath said:
you loose DRM once you unlock the bootloader,
I don't think there is a way to get widevine L1 back on unlocked bootloader
Click to expand...
Click to collapse
My xiaomi 11T pro's bootloader is unlocked (currently using evolution-x rom) and no problem with DRM, playback resolution is full hd.
avatarwan13 said:
My xiaomi 11T pro's bootloader is unlocked (currently using evolution-x rom) and no problem with DRM, playback resolution is full hd.
Click to expand...
Click to collapse
Xiaomi&Redmi is one of the only vendors that still gives you Widevine L1 even after BLU. Not gonna happen here on Xperia phones.
Hello,
I would like to know, if the known Front micriphone Software issue is fixed in this OS Form?
Thanks. EW
Thanks for your awesome work!To my surprise, the touching bug that has been bothering me for long seemed to has disappeared after burning this ROM.
Excellent ROM! Thank you so much for making this, I can now finally actually Use my XZ2 Compact.
One small problem - and it might just be me, but I can't seem to get 4G connectivity, only 3G/H+. I checked the bands this device has and I should be able to get a 4G connection with the provider I use in Australia but no luck. Not a big deal right now as 3G hasn't been shutdown here (yet) but just wanted to see if anyone else who uses this ROM has the same issue.
EdgarWollust said:
Hello,
I would like to know, if the known Front micriphone Software issue is fixed in this OS Form?
Thanks. EW
Click to expand...
Click to collapse
Please explain the issue, I dont have any issues with the microphone.
drychemical said:
Excellent ROM! Thank you so much for making this, I can now finally actually Use my XZ2 Compact.
One small problem - and it might just be me, but I can't seem to get 4G connectivity, only 3G/H+. I checked the bands this device has and I should be able to get a 4G connection with the provider I use in Australia but no luck. Not a big deal right now as 3G hasn't been shutdown here (yet) but just wanted to see if anyone else who uses this ROM has the same issue.
Click to expand...
Click to collapse
Does 4g works for you on stock rom?
Also did you try to set 4g/LTE manually in the settings?
Shujath said:
Please explain the issue, I dont have any issues with the microphone.
Does 4g works for you on stock rom?
Also did you try to set 4g/LTE manually in the settings?
Click to expand...
Click to collapse
Yeah I did try manually adding an APN (if that's what you were meaning) but yeah no luck.
I'll see if the SIM works on the stock ROM when I have more time.
Hi,
I thaught this issue is well known, but maybe im missinformed.
I already got the Phone opened an put a New bottommicrophone in, but still its not working while be in a call. (like discribed here https://forum.xda-developers.com/t/microphone-and-speaker-problems.4100053/)
Thanks a lot.
unable to enter into fastboot mode. Getting this error as in the image
is there any other method to install recovery or flashing this rom. BTW im noob in Flashing and this custom rom thing.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}