[MM 6.0.1 OOS/H2OS 3.5.x Kernel 3.18.57][22 JUN] Dorimanx 1.1 PWR CORE

Search This thread

saspo59

Senior Member
Aug 11, 2012
562
240
Great news dori
I hope someone will write few words about the steps to do from
MM 3.5.4 rooted +dori kernel to N 4.1.6 rooted +dori kernel to avoid problems
 

Leicxan

Senior Member
Dec 21, 2011
271
176
Shanghai
OnePlus 7 Pro
Hi dori,
I always keep an eye on this thread when you first release your kernel. But I'm already on nougat that time. So when I saw you start push your nougat kernel source on github today. I decided to complete myself, I can't wait to get the dorimanx power on my phone.:laugh:
The kernel runs so far so good on my phone, really a good kernel with aroma installer. Hope to see the final version and more features on the kernel.:cowboy:
 
Last edited:
  • Like
Reactions: siggey and dorimanx

dorimanx

Senior Member
Feb 20, 2010
12,716
93,528
TERA Prime.
www.dorimanx.com
Hi dori,
I always keep an eye on this thread when you first release your kernel. But I'm already on nougat that time. So when I saw you start push your nougat kernel source on github today. I decided to complete myself, I can't wait to get the dorimanx power on my phone.:laugh:
The kernel runs so far so good on my phone, really a good kernel with aroma installer. Hope to see the final version and more features on the kernel.:cowboy:

Well i strongly suggest not to do it, as things still in motion, there is an issue with wifi, i am working on it, much changed and not pushed to git, do not offer that build to others, if you like to be beta tester then pm me, so we can setup more fast communication channel.

And even then i will ask to test build that work! I am still not there... I think gcc 7.1.0 is not supported by N source.

Considering that stock made with gcc 4.9 its not a surprise :)
 

dorimanx

Senior Member
Feb 20, 2010
12,716
93,528
TERA Prime.
www.dorimanx.com
Great news dori
I hope someone will write few words about the steps to do from
MM 3.5.4 rooted +dori kernel to N 4.1.6 rooted +dori kernel to avoid problems

Well its was quite easy.

Downloaded full image for 4.1.6
Flashed it via twrp as normal zip, flashed recovery img as image flash without rebooting!
Stock rom kill recovery.

Cleaned dalvik and cache.

Rebooted, rom booted to N. All work and data is intact.
No issues.

Rebooted to recovery, flashed supersu and viper sound pack.
Booted, all good, root + great sound restored.

Then flashed my test build and still fixing issues with wifi all the rest is working as should...

With stock kernel wifi is stable.
 

Leicxan

Senior Member
Dec 21, 2011
271
176
Shanghai
OnePlus 7 Pro
Well i strongly suggest not to do it, as things still in motion, there is an issue with wifi, i am working on it, much changed and not pushed to git, do not offer that build to others, if you like to be beta tester then pm me, so we can setup more fast communication channel.

And even then i will ask to test build that work! I am still not there... I think gcc 7.1.0 is not supported by N source.

Considering that stock made with gcc 4.9 its not a surprise :)

For the toolchain, you can take a look this thread https://xdaforums.com/android/development/toolchains-gnu-linaro-5th-2017-t3606941

I'm using l711 toolchain kernel(you can see my signature) on my OPO, so far so good.
 

vampire36

Senior Member
May 11, 2011
2,170
2,023
Pune
@dorimanx : Awesome to see your goodness will be available on Android N. Looking forward to you kernel. Sent you a pm as well. Btw hows your battery impression been from MM. Is like battery similar or has come down on 7.1.1 compared to stable MM ?
 

saspo59

Senior Member
Aug 11, 2012
562
240
Well its was quite easy.

Downloaded full image for 4.1.6
Flashed it via twrp as normal zip, flashed recovery img as image flash without rebooting!
Stock rom kill recovery.

Cleaned dalvik and cache.

Rebooted, rom booted to N. All work and data is intact.
No issues.

Rebooted to recovery, flashed supersu and viper sound pack.
Booted, all good, root + great sound restored.

Then flashed my test build and still fixing issues with wifi all the rest is working as should...

With stock kernel wifi is stable.
Dori one question are u steel recommend the same twrp recovery that we had in mm 3.04.1 or to moov to new one, and u mean that all data and apps that we have in mm stay intact
 
Last edited:

Midomad

Inactive Recognized Contributor
May 7, 2011
4,156
3,236
Salé
Google Pixel 5a
Dori one question are u steel recommend the same twrp recovery that we had in mm 3.04.1 or to moov to new one, and u mean that all data and apps that we have in mm stay intact
It's recommended to update you're TWRP to last 3.1.1-0 official version or Blu_Spark recovery. @dorimanx looking forward to test you're N kernel when released,
Good Luck.
 

bipinbedi

Senior Member
Apr 20, 2011
790
253
New Delhi
@dorimanx I. There's one major concern I must share with you is that the apps like kernel Adiutor, truecaller, supersu, my data manager, and many other apps that are bound to start on boot don't start automatically. These apps are needed to be started manually and I have also attached the screenshot for the same which do show that they receive the boot completed state but don't start on boot. The same issue persists with stock kernel and so far what I have found is that it is kernel related only.

This is related to Kernel on Nougat 7.1.1,also plz see the screenshots below.
 

Attachments

  • Screenshot_20170617-083936.png
    Screenshot_20170617-083936.png
    243 KB · Views: 277
  • Screenshot_20170617-083929.png
    Screenshot_20170617-083929.png
    255.2 KB · Views: 272
  • Screenshot_20170617-083819.jpg
    Screenshot_20170617-083819.jpg
    169 KB · Views: 272
  • Screenshot_20170617-083754.jpg
    Screenshot_20170617-083754.jpg
    190.7 KB · Views: 260
@dorimanx I. There's one major concern I must share with you is that the apps like kernel Adiutor, truecaller, supersu, my data manager, and many other apps that are bound to start on boot don't start automatically. These apps are needed to be started manually and I have also attached the screenshot for the same which do show that they receive the boot completed state but don't start on boot. The same issue persists with stock kernel and so far what I have found is that it is kernel related only.

This is related to Kernel on Nougat 7.1.1,also plz see the screenshots below.
Did you try.on this kernel? Because dorimax doesn't have 7.1.1 kernel yet
 

bipinbedi

Senior Member
Apr 20, 2011
790
253
New Delhi
we will dig in to this when kernel will be ready for public, its BAD. we need some things to start on boot.

actually some of my apps start as should on boot right now, with stock kernel.

but i will test all apps you wrote.

thanks for info.
I have had a lot of discussion regarding this issue in various threads, but this is not a kernel related thing. It is due to some ROM Feature that doesn't allow most of the apps to start on boot. Funk Wizard guided me and a lot of others for a work around. This is a sort of app management feature that aggressively closes apps and put them into Hibernation, also some weird mechanism chooses which app to start.
 

dorimanx

Senior Member
Feb 20, 2010
12,716
93,528
TERA Prime.
www.dorimanx.com
Before i open new thread. i have BETA testing right now for 4.1.6 oos kernel.

It's all in github under master_7.x.x branch.

BUT if you want to join us in BETA test!

My beta Discord server is ONLINE https://discord.gg/XDycBB

Join only if you want to test N beta kernel. and be ready for issues. :) but i am still testing on my self first...
Link will expire in 1 day. dont miss the train.
 

sharath_babu

Senior Member
Aug 12, 2014
589
137
Bangalore
Before i open new thread. i have BETA testing right now for 4.1.6 oos kernel.

It's all in github under master_7.x.x branch.

BUT if you want to join us in BETA test!

My beta Discord server is ONLINE https://discord.gg/XDycBB

Join only if you want to test N beta kernel. and be ready for issues. :) but i am still testing on my self first...
Link will expire in 1 day. dont miss the train.
heard that beta source are online. any chance of making kernel for it??
 

Top Liked Posts

  • There are no posts matching your filters.
  • 65
    Logo.png

    Dorimanx OP3T Kernel for STOCK 6.0.1 OOS/H2OS 3.5.x

    No Oxygen 4.x.x or CM/LineAge SUPPORT!!! GO AWAY NOW!


    images


    My PM box, is for Emergency ONLY! do not send me PM's just because you cant post! that is lame, post something useful and post in thread.


    dori_logo.jpg



    My kernel was based on OP3T Stock Kernel 3.5.4.

    Kernel Tree is 3.18.57, + OP3T and CAF updates + my tweaks and lots of tuning!

    Global Credits!
    Flar2 for many kernel mods
    Cyanogen/LineAge/Code Aurora for many kernel mods
    Andip71
    Franciscofranco
    SultanXDA
    OP3 Devs for Stock kernel base!
    To all my sources in GITHUB!
    Linus Torvalds for Linux source!



    WHAT INSIDE:


    • Kernel support OOS/H2OS 3.5.x
    • Kernel compiled with GCC 6.3.0 64Bit adapted for OP3T
    • Kernel includes all new security patches.
    • Kernel updated up to 3.18.57 build.
    • Kernel includes all original last 6.0.1 changes by OP3T Devs.
    • Kernel operate in 300HZ + all needed fixes to do that.
    • Kernel has DASH charge and USB Fast Charge (USB mode up to 900mA with MTP on)
    • Kernel has swipe to wake features by @FLAR2 (up,down,right,left,and dual tap).
    • Kernel include Sweep2Sleep allows sweeping from right to left and backwards!
      on soft buttons to turn off the screen. by @FLAR2
    • Kernel has support for screen color change app. (KCAL Interface).
    • Kernel has support for touch keys light delay, default 6sec. by @andip71
    • Kernel include KGSL fixes and reworked GPU driver (use 133MHz min freq to save juice, goes to idle @ 100MHz)
    • Kernel include all latest patches from Code Aurora source for 3.18.y
    • Kernel include Enhanced TCP methods
    • Kernel include IPA/TIMERFD/WIFI/NETLINK wakelocks removal code by @franciscofranco
    • Kernel include open source QUALCOMM Wi-Fi driver updated to max without debugs.
    • Kernel include advanced binder driver from main line 4.10.y kernel.
    • Kernel include CDROM emulation on mass_storage (compatible with DriveDroid 0.10.18+)
    • Kernel include latest F2FS driver for 3.18.y with fixes for speed and stability.
    • Kernel include ZEN,NOOP,BFQ,DEADLINE,CFQ,FIOPS,SIO I/O govs tuned for SSD.
    • Kernel includes Elementalx, Blu_active, Interactive, Conservative, Ondemand, Performance CPU GOVS.
    • Kernel support FSYNC mode for FS. (Off by default)
    • Kernel includes ARM enhanced performance and battery patches
    • Kernel support Backlight Dimmer feature.
    • Kernel supports CPU OverClock/UnderClock for both clusters.
    • Kernel support thermal driver tuning, max heat for cores, default 70c.
    • Kernel includes advanced crypto drivers and latest qseecom decryption driver.
    • Kernel includes updated EXFAT and FUSE + NTFS drivers.
    • Kernel support for not forcing encryption.
    • Kernel includes support for CIFS driver.
    • Kernel includes fast finger print sensor mod when screen is off.
    • Kernel includes support for Haptic Feedback (vibrate) tuning (more/less)
    • Kernel includes massive code update for sound driver, and @FLAR2 sound/mic gain control interface.
    • Kernel include boost to I/O by mounting partitions with optimized flags, and updated MMC driver.
    • Kernel includes updated BT and NET/PPP/VPN/DATA drivers.
    • Kernel include mode to ignore home and touch keys when finger is pressed against the screen.
    • Kernel includes Aroma Installer for easy install with few simple changes that can be selected.
    • Kernel includes many patches to camera, GPU, and screen drivers.
    • Kernel has OTG enabled by default internally.
    • Kernel has Notification LED Control driver by @andip71
    • Kernel include usage of power efficient workqueues in many drivers by @franciscofranco
    • Added Support For INIT.D Scripts, from kernel 0.5
    • Kernel will switch to NOOP I/O Sched during screen Off time to save power. by @SultanXDA
    • Kernel will boost CPU frequency when screen wakeup to improve user experience, by @SultanXDA


    Known BUGS!


    Post reports, i will fix.


    Standard disclaimer:

    By installing this kernel YOU will take full responsibility for any damage to your device!
    Hardware or software! no one forcing you to install it.
    So please do not blame me if you read wrong! or didn't read at all the instructions that i have written for YOU.

    But you can feel SAFE to use it, as I test every release on my phone!
    Before I publish it for download.


    Your warranty will be void by installing custom kernel as my.

    Kernel Sources:
    KERNEL GITHUB
    TO DOWNLOAD GO DOWN!!! YES MORE DOWN...(do i need to repeat?)


    How To Install:

    You will need to have device with Latest Recovery installed! Please install the 3.0.4.1 BUILD!
    >>>Here is the Recovery you need!<<<

    Old recovery can corrupt your DATA partition as my kernel using latest F2FS driver. new recovery has updated driver.

    YOU MUST UNLOCK OEM BOOTLOADER!!! OR YOU WILL BE STUCK ON BOOT!
    Refer to other threads for recovery install process and for oem bootloader unlock.


    Download kernel, upload it to your SDCARD, anywhere.
    Always have STOCK Kernel for your ROM!
    Reboot to Recovery.
    THINK AGAIN! did you made backup? NO!!!!??? DO IT NOW!
    If you had any other Custom kernel, Install STOCK kernel or dirty flash your ROM,
    to clean any trace from other kernel. then install ROOT if you wish! then install my kernel.
    Do not clean any cache or dalvik (needed for ROM only!).

    Reboot! :)

    If you wish to UNINSTALL my kernel, there is a uninstaller ZIP for you.
    it's will remove all ramdisk changes, and install last 3.5.4 stock kernel, preserving ROOT if was installed!



    Have Fun and report.


    Donation Board:
    • ME donated 140+ hours to update stock to now.
    • Krija = Dorimanx App updates! (Serious Donation!).
    • VanderLo


    Mirror #1 by willflint
    Mirror #2 by GITHUB!

    Info for Web Hackers,
    in my mirrors, there is nothing to take!
    My work is public and for the people!
    Please let my mirrors work in peace.
    Thanks.




    Change logs:

    22/06/17
    Kernel 1.1 Final Build for MM 3.5.x


    *Updated with 3.18.57 critical patch
    *Merged fix for infinite loop in wake boost code.

    13/06/17
    Kernel 1.0


    *Merged security update to prevent hackers using memory access exploits.
    *Merged patches 3.18.55 + 3.18.56, changes in:
    CHAR,NET,OF,PCI,USB,MM,KERNEL CORE,SECURITY,FS
    *Compiled new GCC 7.1.0 kernel toolchain,
    and used it to fix many kernel bugs during kernel compile.
    *Merged cleanups to unused code for CPU cortex-a53.
    *Disabled some TRACING code.
    *Merged changed to reduce log spam.
    *Merged updates/fixes for FS,SOUND,QCOM,RTC,CPUFREQ,NET,WAKEUP,MDSS,DEVFREQ.

    24/05/17
    Kernel 0.9


    *Merged latest F2FS driver updates, great read/write I/O performance, 20% more speed.
    Also better power usage during suspend. Discard and GC threads now sleep too.
    *Merged many updates from LOS tree (CM14.1 - 7.1.1) including MMC,SOUND,CORE,TRACE,VIDEO,CAMERA,
    MDSS(screen panel),SOC,IPA,KGSL(GPU),ASHMEM,CRYPTO,BINDER,QCOM MODEM,QCOM SUBSYSTEM,
    *Merged patch 3.18.54 including NET,USB,TTY,FS,BT,CORE,PADATA updates.
    *Merged security fix for SU thread, now hackers will have hard time exploiting ROOT
    with apps that didnt asked for ROOT. it's very big step in security with ROOT!
    *Merged updates to boost I/O performance and CORE RT tasks.
    *Merged better HACK for SafetyNet checks. (if you have ROOT, SafetyNet will not pass the check!).

    15/05/17
    Kernel 0.8 STABLE


    *Changed setting sleep I/O gov to wait 5sec before activating.
    *Merged main line kernel patches 3.18.52 + 3.18.53,
    included RAM(MM),ARM64,NET,FS,CORE,USB,POWER,LIB,SOUND.
    *Merged updates to UFS controller (storage driver)
    *Merged new driver that will boost cpu freq when screen wakeup for 5sec.
    *Merged updates to cpufreq + cpustats drivers, bugs + ram leaks fixes.
    *Merged update to Arm64 code to reduce delay on RAM allocations.
    *Merged Memory code updates.
    *Merged GPU ION driver security fixes.

    04/05/17
    Kernel 0.7 STABLE


    *Merged new driver that will set NOOP as I/O sched on all mounts when screen goes off.
    and restore other I/O gov when screen is ON after 10sec. this will help to reduce power usage
    while in suspend, and speedup the wakeup.
    *Merged bug fixes for touchscreen driver.
    *Merged big patch 3.18.51 from main line kernel.
    *Merged few fixes for EXT4 driver.
    *Merged fix for L2PC and GPU driver detected by Franco.

    25/04/17
    Kernel 0.6 STABLE
    Kernel 0.5 BETA (deleted, bug in NET code)


    *Reverted changes in NET code that triggered kernel crash!
    *Merged new updates to FS,Qseecom,MDSS,Camera,USB,KGLS,RCU,SOUND
    *Merged new updates to Power,SPMI,SOC,Security,Thermal,MMC,MODEM
    *Merged update for CPUIDLE code should help to gain even more power during suspend.
    -->>0.5<<--
    *Merged updates to WIFI Driver + fixes for non original code changes.
    *Tuned touch boost freqs on boot. (1.2ghz + 1.4ghz big cluster)
    *Merged MASSIVE code updates for Screen,USB,NET,MODEM,CRYPTO and camera drivers from CM14.1 kernel.
    many RAM leaks fixed and few possible critical bugs are gone!
    *Merged few updates to Interactive gov.
    *Merged Sound Driver updates.
    *Merged MMC driver updates.
    *Merged QseeCom driver updates.
    *Merged update that increase KGSL memory store for GPU.
    *Merged new GCC 6.3.0 Kernel compiler with latest Binary updates and tuning.
    *Merged MASSIVE update 3.18.49 from main line source.
    *Merged MASSIVE update 3.18.50 from main line source.
    *Fixed PSTORE not writing logs on boot/crash.
    *Added INIT.D support as requested. put your scripts in /data/init.d folder!
    it's will be auto added on boot if you select to have INIT.D support in AROMA Installer.

    29/03/17
    Kernel 0.4 STABLE


    *Merged fix for FS code for file permissions.
    *Removed timer stats that no one need.
    *Fixed wakelock blocker code. now device will deep sleep at last. flat line in battery graph.
    *Merged many bug fixes for screen driver (mdss)
    *Merged bug fixes for camera, sound, and leds drivers.
    *Merged bug fixes for BT, hwmon, qpnp, NET, HID drivers.

    26/03/17
    Kernel 0.3 BETA.


    *Updated BLuActive CPU GOV from dev source.
    *Merged change that fools apps and show kernel is in green state (stock)
    *Updated Interactive CPU gov, allowed to set max timer rate on screen off,
    For now I have set it to 40K default screen on is 20K.
    *Fixed timekeeping code bug in suspend.
    *Merged many code changes that fix kernel memory leaks in many drivers! Thanks to @sultanxda
    *Merged update to kill wakelocks code by @franciscofranco + some improvements in screen on/off code.
    *Merged many changes in kernel to silince useless debug mess.
    *Merged update for WIFI regional DB.
    *Changed F2FS driver to use noinline_dentry by default to support older twrp.
    I am STRONGLY advice to install TWRP 3.0.4.1 as it’s including new F2FS driver that don’t mess DATA partition!
    *Merged updates to GPU freq driver.
    *Merged bug fix for USB code.
    *Merged improved CRYPTO optimization for our CPU.
    *Enable JUMP_LABEL code to optimize some functions in kernel if possible.
    *Added user configuration in AROMA installer for TouchKeys LED delay. And for Wakelocks ON/OFF
    Already set as I think best, but you can do whatever you like.
    To be able to disable touch keys leds, unselect the touch keys override option.

    Please create DATA backup before booting just in case.
    Best to use TWRP 3.0.4.1 with this kernel and any other!

    15/03/17
    Kernel 0.2 STABLE.


    *Merged update to Blu_Active CPU GOV from dev @ENGstk
    *Merged ability to disable some NET/TIMER wakelocks to save power during suspend by @franciscofranco
    I have set to disable the: wlan,timerfd,wlan_extscan_wl,qcom_rx_wakelock,ipa.
    *Merged update to binder code.
    *Changed kernel to 300HZ timer from 100HZ + corrected critical drivers to use msec to jiffers for there needs.
    *Merged updates to vibrate driver, less delay on wakeup using fingerprint unlock. still can be tuned for min/max vibrate force.
    *Merged updates to touch boost driver.
    *Merged updates to PCI code, will reduce power usage.
    *Merged changes by @franciscofranco to many kernel drivers that now will use power efficient workqueue function.
    *Merged changes to NET and Kernel Performance drivers that will allow to save more power.
    *Merged changes by @franciscofranco to enable screen panel power save functions.
    *Merged updates to Interactive CPU GOV, will save more power during screen off.
    *Merged updates to scheduling Deadline code.
    *Merged many updates to F2FS driver from 3.18.y F2FS stable git, preserving all OP3T needed code + some battery saving changes.
    F2FS is now updated up to 4.11.rc1 kernel source.
    *Merged change to improve back light curve to max brightness at high sun light. by @franciscofranco
    *Changed the default touch keys led time out to 5sec from 6sec.

    05/3/17
    Kernel 0.1 STABLE.


    Initial build :) Mega Bomb. see what inside list.

    XDA:DevDB Information
    [MM 6.0.1 OOS/H2OS 3.5.x Kernel 3.18.57][22 JUN] Dorimanx 1.1 PWR CORE, Kernel for the OnePlus 3T

    Contributors
    dorimanx
    Source Code: https://github.com/dorimanx/DORIMANX-OP3T-KERNEL/commits/master

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: 1.1
    Stable Release Date: 2017-06-22

    Created 2017-03-05
    Last Updated 2017-06-28
    23
    Saved For me!

    *Kernel can be tuned with Kernel Auditor App.
    *Screen Color can be modded with app in my APPS folder. Color-Control-v1.1.apk
    *Kernel support Flar2 Kernel app, same for Francisco Franco.
    *In time i will add my simple control app for FREE :)

    You can find TWRP recovery in my mirror and supersu.zip + exposed if needed.

    Enjoy
    22
    News update.

    Kernel for N 7.1.1 OOS 4.1.6 + BETA is ONLINE!

    https://xdaforums.com/oneplus-3t/development/nougat-7-1-1-oos-h2os-4-1-6-kernel-3-18-t3627073

    Join me when you like.

    See you there :)
    21
    News Update!

    Kernel 1.0 final MM build.

    13/06/17

    *Merged security update to prevent hackers using memory access exploits.
    *Merged patches 3.18.55 + 3.18.56, changes in:
    CHAR,NET,OF,PCI,USB,MM,KERNEL CORE,SECURITY,FS
    *Compiled new GCC 7.1.0 kernel toolchain,
    and used it to fix many kernel bugs during kernel compile.
    *Merged cleanups to unused code for CPU cortex-a53.
    *Disabled some TRACING code.
    *Merged changed to reduce log spam.
    *Merged updates/fixes for FS,SOUND,QCOM,RTC,CPUFREQ,NET,WAKEUP,MDSS,DEVFREQ.

    Kernel build is STABLE. tested more than week, all new changes from last days are stable.

    I will move on to N kernel. and start merging all cool stuff to 4.1.6 kernel for N 7.1.1 ROM.

    Thanks for all support i got from MM community, i hope you join me in new thread when i will be ready.

    Have fun :)

    I will keep this thread OPEN.
    20
    News Update!

    Kernel 0.4

    29/03/17

    *Merged fix for FS code for file permissions.
    *Removed timer stats that no one need.
    *Fixed wakelock blocker code. now device will deepsleep at last. flat line in battery graph.
    *Merged many bug fixes for screen driver (mdss)
    *Merged bug fixes for camera, sound, and leds drivers.
    *Merged bug fixes for BT, hwmon, qpnp, NET, HID drivers.

    All new fixes came from CM14.1 source.

    Kernel is stable! and will not waste battery when deep sleeping.
    My battery graph for this night was FLAT. no single wake was registered.

    Enjoy.