[KERNEL][D5803/D5833] AndroPlusKernel v72 [DISCONTINUED]

Status
Not open for further replies.
Search This thread

AndroPlus

Senior Member
Mar 13, 2013
1,722
3,992
Kyoto
androplus.org
I love DooMKernel by DooMLoRD , but he does not have Z3 (also Z3 Compact).
So I started to port DooMKernel for Z3 and Z3 Compact.
Please do not ask me to add something, I don't know much about kernel and git right now...
eyVwL4l.jpg

t4pYGNS.gif

* banner by MysticEnforcer
View attachment 2995202
View attachment 2995203

juggly.cn and other Japanese website - please do not use this thread as a source.
I have Japanese post at androplus.org

Download from official website


Changelog


What is FOTA kernel recovery?

NOTE: this is old info
Xperia doesn't have recovery partition for user,
but we have FOTA kernel partition for OTA.
Since we have to unlock bootloader and OTA won't work on unlocked,
we can re-use useless FOTA kernel as recovery partition using Dees-Troy's "extract_elf_ramdisk".

With FOTA kernel recovery, you can update your recovery without updating kernel.You can flash images to FOTA kernel by fastboot command like
Code:
fastboot flash recovery fotakernel.img

To enter into FOTA recovery, press power key when LED is on.

How to restore DRM functions?
When you unlock bootloader you will lose X-Reality, noise reduction and so on,
but you can restore them!
Original thread is here, but I updated steps for Z3 and Z3 Compact.

1. Download zip from original thread
* Choose KitKat version (for 4.4) or Lollipop version (for 5.0)

2. Place zip in internal or external storage of your device

3. Reboot into recovery and do Factory Reset

4. Reboot into flashmode and flash FTF with Flashtool
Any FTF is OK, but of cource use FTF for same version you are using now.
Wipe: Check APPSLOG and CACHE
Exclude: Don't check

5. Close Flashtool, unplug and plug your phone and reopen Flashtool, then relock bootloader
Click BLU icon to show relock button and click it.

6. Flash FTF (same as 4.)

7. Close Flashtool, unplug and plug your phone and reopen Flashtool, then unlock bootloader
Click BLU icon to show unlock button and click it.

8. Reboot into fastboot mode and flash my kernel

9. Reboot into recovery and install DRM Restore zip

10. Reboot

11. Done!

After doing this, do not restore old data since it will revert DRM restore.
You can restore system with recovery and use Titanium Backup or something to restore app data.
Note: When you flash new ROM (not kernel), you must flash DRM Restore zip.

If you get "net::ERR_NAME_NOT_RESOLVED" when connecting xda,
please disable PrototypeProtection with Titanium Backup or something similar.


How to use F2FS?
Read this:
http://forum.xda-developers.com/xperia-s/s-development/tutorial-migrate-filesystem-to-f2fs-ext4-t3004755

Kernel sources
https://github.com/WedyDQ10/android_kernel_sony_msm8974ac
I should learn how to use git before creating custom kernel...

Credits
DooMLoRD
Faux123
Dees_Troy & TeamWin
Phil3759
Myself5
glocklee
pec0ra
and many other people involved in Z3 development

DO NOT talk about rooting with locked bootloader here.

XDA:DevDB Information
AndroPlusKernel for Z3 Compact, Kernel for the Sony Xperia Z3 Compact

Contributors
AndroPlus, [#APK_cont]
Source Code: https://github.com/WedyDQ10/android_kernel_sony_msm8974ac

Kernel Special Features:

Version Information
Status: Stable

Created 2014-12-28
Last Updated 2016-04-09
 
Last edited:

schnidex

Senior Member
Jun 3, 2011
260
30
Thanks for this. Also, I donated to Doomlord lately, in the hope he might end up buying a Z3C (and also just a general thank you for all he's done for the Android development community).
 

shafiq01

Senior Member
Oct 6, 2008
174
109
I love DooMKernel by DooMLoRD , but he does not have Z3 (also Z3 Compact).
So I started to port DooMKernel for Z3 and Z3 Compact.
Please do not ask me to add something, I don't know much about kernel and git right now...

View attachment 2995202
View attachment 2995203

juggly.cn and other Japanese website - please do not use this thread as a source.
I have Japanese post at androplus.org

Features

  • Fixed entering to recovery -v4
  • CPU OverClock upto 2.89GHz -v3
  • Intelli-Plug driver v3.8 -v2
  • Intelli-thermal v2 -v2
  • Intelli-KSM -v2
  • Sound Control driver v3.6 -v2 [Not working]
  • PowerSuspend drivers -v2
  • Force FastCharge -v2
  • kernel level Color Control -v2
  • kernel mode NEON -v2
  • msm_cpufreq_limiter "Snake Charmer" -v2
  • per-core overall stats -v2
  • NTFS R/W support -v2
  • I/O schedulers -v2
    • BFQ
    • FIOPS
  • CPU governor (Some are not tested) -v2
    • Intelli-active
    • LionHeart
    • SmartAssV2
    • LagFree
    • Wheatley
  • Disabled ric -v1
  • CWM -v1
  • TWRP Recovery -v1
  • PhilZ touch recovery -v1
  • CPU OverClock upto 2.8 GHz -v1
  • GPU OverClock -v1
  • CPU Undervolting -v1
  • SIO I/O scheduler -v1

Requirements

  • Xperia Z3 Compact [D5803 & D5833]
  • stock 4.4.4
  • 23.0.A.2.105 or .93 -v1~
DO NOT use this kernel with CM or CM based ROM.
This kernel is only for stock or stock based ROM.


  • Unlocked bootloader
  • Apps such as FauxClock

Download

v4 - Z3 Compact D5803 23.0.A.2.105
v4 - Z3 Compact D5833 23.0.A.2.93

How to flash
1. Reboot into bootloader
2. Flash kernel using fastboot
Code:
fastboot flash boot AndroPlusKernel_[B][version and variant][/B].img
3. Reboot
Code:
fastboot reboot


Kernel sources
https://github.com/WedyDQ10/AndroPlusKernel_leo
I should learn how to use git before creating custom kernel...

Credits

DooMLoRD
Faux123
Dees_Troy & TeamWin
Phil3759
and many other people involved in Z3 development

DO NOT talk about rooting with locked bootloader here.
It doesn't work, it goes into bootloop, i couldn't even boot into cwm afterwards
i had the to reflash CWM thrugh fastboot and then i could boot my device.
firast i thought it could be related to cooperate mail, so i removed password and account
and tried to flash the kernel again, same bootloop again. so i'll wait to there is a stable one
or am i doing something wrong?
fw xxx.105 rooted with cwm on it and all kinf of other stuff
 
  • Like
Reactions: Lupax and greatslon

edcarsky

Senior Member
Nov 14, 2010
140
15
twitter.com
It doesn't work, it goes into bootloop, i couldn't even boot into cwm afterwards
i had the to reflash CWM thrugh fastboot and then i could boot my device.
firast i thought it could be related to cooperate mail, so i removed password and account
and tried to flash the kernel again, same bootloop again. so i'll wait to there is a stable one
or am i doing something wrong?
fw xxx.105 rooted with cwm on it and all kinf of other stuff

What happened, I don’t experienced anything but seamlessly perfect… I love this kernel and my experience now in my z3c is absolutely great! Try to re download maybe you got the corrupted downloaded.
 

AndroPlus

Senior Member
Mar 13, 2013
1,722
3,992
Kyoto
androplus.org
It doesn't work, it goes into bootloop, i couldn't even boot into cwm afterwards
i had the to reflash CWM thrugh fastboot and then i could boot my device.
firast i thought it could be related to cooperate mail, so i removed password and account
and tried to flash the kernel again, same bootloop again. so i'll wait to there is a stable one
or am i doing something wrong?
fw xxx.105 rooted with cwm on it and all kinf of other stuff

One member confirmed it's working on his D5803 .105, so it might be corrupted download.
Please redownload from mirror (mega).
 
  • Like
Reactions: edcarsky

edcarsky

Senior Member
Nov 14, 2010
140
15
twitter.com
One member confirmed it's working on his D5803 .105, so it might be corrupted download.
Please redownload from mirror (mega).

Indeed, I believed it is corrupted copy… for me .105, I highly recommend using this kernel, truly awesome! the graphic really works very well now, the battery perform very fine as well, I liked the new version of the cwm too! I think a lot of benefits will provide this to your z3c device, many thanks @AndroPlus you rock men! Cheers :)
 
Last edited:
  • Like
Reactions: AndroPlus

snrbobo

Senior Member
Dec 31, 2008
217
13
Sacramento
flashed on my z3c with .105. no bootloops, haven't come across any other issues yet. I will say that my battery life seems to be lasting a bit longer. i'll keep an eye on it for the next couple of days and report back! I still haven't played with any kernel settings. thank you for porting this over!! if you have any suggestions for the kernel settings let us know!
 

shafiq01

Senior Member
Oct 6, 2008
174
109
it is working now, you guys were correct, it was a corrupt download. I could see the first file downloaded was 8mb the next one was 18mb
thank you xda members, appreciated
 

spida_singh

Senior Member
Mar 3, 2011
519
165
When i use Trickster to amend sound control, device reboots, anyone else get the same, also get the same when adjusting voltage, tried -25mv, same thing occurred.

Ill post a logcat shortly

Cheers
 

Dsteppa

Senior Member
May 7, 2012
1,912
452
@AndroPlus
Could you please post the MD5 hash in the OP or upload the files to a site that shows the MD5 so we can confirm the file, because flashing a corrupted kernel could harm our devices.:good:
 

wind0zer

Senior Member
Feb 15, 2010
375
59
@AndroPlus
Could you please post the MD5 hash in the OP or upload the files to a site that shows the MD5 so we can confirm the file, because flashing a corrupted kernel could harm our devices.:cowboy:
Yes please. Or a zip file will do because Winzip or 7zip usually shows error while extracting.

When i use Trickster to amend sound control, device reboots, anyone else get the same, also get the same when adjusting voltage, tried -25mv, same thing occurred.
Ill post a logcat shortly
Cheers
OP says sound control driver isn't working. Use undervolt at your own risk. If it rebooted, try a lower value like -5 mv

Btw how do I get into Philz recovery? Up is for CWM, down is for TWRP.
found it... camera button : )
 
Last edited:
  • Like
Reactions: spida_singh

wrwr

Member
Jul 27, 2009
10
0
Hello, is it possible to get the stock original kernel for Z3 Compact D5803 23.0.A.2.105 img (Not modified or rooted one ) to flash it via fastboot without restoring the whole stock ROM again? Thanks!
 

AndroPlus

Senior Member
Mar 13, 2013
1,722
3,992
Kyoto
androplus.org
Hello, is it possible to get the stock original kernel for Z3 Compact D5803 23.0.A.2.105 img (Not modified or rooted one ) to flash it via fastboot without restoring the whole stock ROM again? Thanks!

You can create stock kernel flashe zip by extracting jernel.sin from ftf, then rename to boot.img and overwrite boot.img in the zip.
 
  • Like
Reactions: Rhonin86

wrwr

Member
Jul 27, 2009
10
0
You can create stock kernel flashe zip by extracting jernel.sin from ftf, then rename to boot.img and overwrite boot.img in the zip.

Thanks AndroPlus, but there is two files: kernel.sin and fotakernel.sin, which one, and can I flash it via fastboot after renaming to boot.mg? easier than to include in a zip and flash via recovery.
 

AndroPlus

Senior Member
Mar 13, 2013
1,722
3,992
Kyoto
androplus.org
Thanks AndroPlus, but there is two files: kernel.sin and fotakernel.sin, which one, and can I flash it via fastboot after renaming to boot.mg? easier than to include in a zip and flash via recovery.

Oh I forgot to say you have to decrypt kernel.sin (not fotakernel) with Flashtool.
You can decrypt kernel.sin by "Tools" -> "Sin Editor" and select kernel.sin, then "Extract data".
Then you can flash kernel via fastboot:
Code:
fastboot flash boot kernel.elf
 

wrwr

Member
Jul 27, 2009
10
0
Oh I forgot to say you have to decrypt kernel.sin (not fotakernel) with Flashtool.
You can decrypt kernel.sin by "Tools" -> "Sin Editor" and select kernel.sin, then "Extract data".
Then you can flash kernel via fastboot:
Code:
fastboot flash boot kernel.elf

Hey AndroPlus, I did all the steps OK, but when flashing (fastboot flash boot kernel.elf) I got this error via fastboot: FAILED (remote: image is not a boot image) ?
 

AndroPlus

Senior Member
Mar 13, 2013
1,722
3,992
Kyoto
androplus.org
Hey AndroPlus, I did all the steps OK, but when flashing (fastboot flash boot kernel.elf) I got this error via fastboot: FAILED (remote: image is not a boot image) ?

hmm...I thought it can be done with fastboot, but it seems I'm wrong...
so you have to rename kernel.elf to boot.img and overwrite boot.img in zip, then install it.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 64
    I love DooMKernel by DooMLoRD , but he does not have Z3 (also Z3 Compact).
    So I started to port DooMKernel for Z3 and Z3 Compact.
    Please do not ask me to add something, I don't know much about kernel and git right now...
    eyVwL4l.jpg

    t4pYGNS.gif

    * banner by MysticEnforcer
    View attachment 2995202
    View attachment 2995203

    juggly.cn and other Japanese website - please do not use this thread as a source.
    I have Japanese post at androplus.org

    Download from official website


    Changelog


    What is FOTA kernel recovery?

    NOTE: this is old info
    Xperia doesn't have recovery partition for user,
    but we have FOTA kernel partition for OTA.
    Since we have to unlock bootloader and OTA won't work on unlocked,
    we can re-use useless FOTA kernel as recovery partition using Dees-Troy's "extract_elf_ramdisk".

    With FOTA kernel recovery, you can update your recovery without updating kernel.You can flash images to FOTA kernel by fastboot command like
    Code:
    fastboot flash recovery fotakernel.img

    To enter into FOTA recovery, press power key when LED is on.

    How to restore DRM functions?
    When you unlock bootloader you will lose X-Reality, noise reduction and so on,
    but you can restore them!
    Original thread is here, but I updated steps for Z3 and Z3 Compact.

    1. Download zip from original thread
    * Choose KitKat version (for 4.4) or Lollipop version (for 5.0)

    2. Place zip in internal or external storage of your device

    3. Reboot into recovery and do Factory Reset

    4. Reboot into flashmode and flash FTF with Flashtool
    Any FTF is OK, but of cource use FTF for same version you are using now.
    Wipe: Check APPSLOG and CACHE
    Exclude: Don't check

    5. Close Flashtool, unplug and plug your phone and reopen Flashtool, then relock bootloader
    Click BLU icon to show relock button and click it.

    6. Flash FTF (same as 4.)

    7. Close Flashtool, unplug and plug your phone and reopen Flashtool, then unlock bootloader
    Click BLU icon to show unlock button and click it.

    8. Reboot into fastboot mode and flash my kernel

    9. Reboot into recovery and install DRM Restore zip

    10. Reboot

    11. Done!

    After doing this, do not restore old data since it will revert DRM restore.
    You can restore system with recovery and use Titanium Backup or something to restore app data.
    Note: When you flash new ROM (not kernel), you must flash DRM Restore zip.

    If you get "net::ERR_NAME_NOT_RESOLVED" when connecting xda,
    please disable PrototypeProtection with Titanium Backup or something similar.


    How to use F2FS?
    Read this:
    http://forum.xda-developers.com/xperia-s/s-development/tutorial-migrate-filesystem-to-f2fs-ext4-t3004755

    Kernel sources
    https://github.com/WedyDQ10/android_kernel_sony_msm8974ac
    I should learn how to use git before creating custom kernel...

    Credits
    DooMLoRD
    Faux123
    Dees_Troy & TeamWin
    Phil3759
    Myself5
    glocklee
    pec0ra
    and many other people involved in Z3 development

    DO NOT talk about rooting with locked bootloader here.

    XDA:DevDB Information
    AndroPlusKernel for Z3 Compact, Kernel for the Sony Xperia Z3 Compact

    Contributors
    AndroPlus, [#APK_cont]
    Source Code: https://github.com/WedyDQ10/android_kernel_sony_msm8974ac

    Kernel Special Features:

    Version Information
    Status: Stable

    Created 2014-12-28
    Last Updated 2016-04-09
    10
    Updated to v10 and now supports 23.0.1.A.5.77
    wink.gif
    8
    Updated to v9

    Fixed simple_ondemand GPU governor crashing;)
    Also enabled some TCP cong algorithms.
    8
    I pushed ADV_stock_LP_v2.
    I recreated with Z3C kernel.
    Maybe I forgot to use Z3C kernel when I created v1, sorry...


    For Xposed bootloop, please make test module if someone can do it.
    https://github.com/rovo89/Xposed/issues/31#issuecomment-84591276
    8
    Updated to v13

    Merry Christmas and Happy Holidays!

    Updated TWRP and intelli_plug, and added "fast hotplug" by pec0ra!
    Learn more about fast hotplug

    I could enable it, but I don't know if it is really working well...
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