[Elite OTG][Nougat] Get OTG Support on Any Nougat ROM of P9 Lite by HassanMirza01

Search This thread
Elite OTG Support For P9 Lite based on Nougat ROMS EMUI5.0+
DONOT COPY MY WORK, Ask for Permissions or Gather it yourself,,,

This ROM is only for Firmwares based on EMUI 5.0 only...

Code:
/*
 * Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm
 * App failed. Please do some research if you have any concerns
 *  about features included in this ROM before flashing it,
 * YOU are choosing to make these modifications, and if you
 * point finger at me for messing up your device, i will laugh at you.
 *
 */

DESCRIPTION:
So You guyz already know that OTG worked on Marshmallow by default and all know how to get it and activate it...
But with release of Nougat, we lost access to OTG support,,, And until now, about 9 months gone, we received Nougat & No OTG support was developed yet....

I was also working on OTG from start but didn't get it working,,, read many Marshmallow codes and at last, I achieved it,,,
And you can Flash it on any Nougat Based ROM, regardless of variant, Region or anything,,,


Installation Instructions:
1.) Download the Provided Zip File From 2nd Post,
2.) You Must have TWRP & Root installed otherwise you can't do anything,,,
3.) Now Boot into TWRP and just do Backup of Boot Partition,,,
4.) Wipe Cache & Dalvic Cache only,,,,
5.) Install the Downloaded zip file...
6.) Reboot with Pray :)


This took Countless Months to be build,,, you all know that.......
If you like, Please Support by Donation :D

Hit Thanks and Support me if you Like and get help from this thread...Thank you...

Take Permission before sharing links or copying to other Forums....


If something is not working and you need support from me, then upload recovery.log of your problem,,, i wont considered your problem as a real problem without log,,, because others saying this as working!!

Kernel Source: https://github.com/HassanMirza01/android


Contributors:
@HassanMirza01 for doing all this :D :)
@Fra078 for Providing the Apk file,,,
@Meticulus for his unlimited Effort on MM blobs and ROMS,,, hats off bro :)

Version Information:
Status: Stable
Created on: 2017-11-06
Last Updated on: 2017-11-06
 

Attachments

  • Screenshot_20171107-000720.png
    Screenshot_20171107-000720.png
    143.9 KB · Views: 9,915
  • Screenshot_20171029-174645.png
    Screenshot_20171029-174645.png
    96.9 KB · Views: 9,978
  • Screenshot_20171029-180530.png
    Screenshot_20171029-180530.png
    192.6 KB · Views: 9,784
  • Screenshot_20171029-175244.png
    Screenshot_20171029-175244.png
    86 KB · Views: 9,264
Last edited:
G

GuestK00238

Guest
I can confirm it is working on stock EMUI ?
 

Attachments

  • Screenshot_20171106-174235.png
    Screenshot_20171106-174235.png
    98 KB · Views: 2,579

saeidf2

Member
Dec 10, 2016
31
9
saveh
tnx so much hassan very good open 3 tb hard disk external :D:eek::)
c432b380
 

Attachments

  • Screenshot_20171109-151747.png
    Screenshot_20171109-151747.png
    94.1 KB · Views: 762
  • Screenshot_20171109-151853.png
    Screenshot_20171109-151853.png
    109.7 KB · Views: 757

Gruberek

Member
Oct 1, 2015
26
6
Piotrkow Trybunalski
Are you having trouble debugging USB and SafetyNet? After installing the kernel with OTG the USB debugging itself turns off. Even if I turn it on permanently after restoring my default settings, I do not have SafetyNet :(
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    Elite OTG Support For P9 Lite based on Nougat ROMS EMUI5.0+
    DONOT COPY MY WORK, Ask for Permissions or Gather it yourself,,,

    This ROM is only for Firmwares based on EMUI 5.0 only...

    Code:
    /*
     * Your warranty is now void.
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm
     * App failed. Please do some research if you have any concerns
     *  about features included in this ROM before flashing it,
     * YOU are choosing to make these modifications, and if you
     * point finger at me for messing up your device, i will laugh at you.
     *
     */

    DESCRIPTION:
    So You guyz already know that OTG worked on Marshmallow by default and all know how to get it and activate it...
    But with release of Nougat, we lost access to OTG support,,, And until now, about 9 months gone, we received Nougat & No OTG support was developed yet....

    I was also working on OTG from start but didn't get it working,,, read many Marshmallow codes and at last, I achieved it,,,
    And you can Flash it on any Nougat Based ROM, regardless of variant, Region or anything,,,


    Installation Instructions:
    1.) Download the Provided Zip File From 2nd Post,
    2.) You Must have TWRP & Root installed otherwise you can't do anything,,,
    3.) Now Boot into TWRP and just do Backup of Boot Partition,,,
    4.) Wipe Cache & Dalvic Cache only,,,,
    5.) Install the Downloaded zip file...
    6.) Reboot with Pray :)


    This took Countless Months to be build,,, you all know that.......
    If you like, Please Support by Donation :D

    Hit Thanks and Support me if you Like and get help from this thread...Thank you...

    Take Permission before sharing links or copying to other Forums....


    If something is not working and you need support from me, then upload recovery.log of your problem,,, i wont considered your problem as a real problem without log,,, because others saying this as working!!

    Kernel Source: https://github.com/HassanMirza01/android


    Contributors:
    @HassanMirza01 for doing all this :D :)
    @Fra078 for Providing the Apk file,,,
    @Meticulus for his unlimited Effort on MM blobs and ROMS,,, hats off bro :)

    Version Information:
    Status: Stable
    Created on: 2017-11-06
    Last Updated on: 2017-11-06
    12
    Download Links:
    Elite OTG for P9 Lite

    Press Thanks and donate if you like it :)
    4
    Adding this to quick settings is framework thing and we cant decompile it... Huawei using method of compiling we dont know.... I think enable/disable is easy with just a switch :)
    With Android Nougat there is the possibility to add quicksettings without edit system. I'l provide to add it!
    2
    Hi, does this work on Honor 5c nem-l51?

    yes it should work on 5C too...

    tnx so much hassan very good open 3 tb hard disk external :D:eek::)
    c432b380

    :) glad that your happy,,,, you can donate if you like :)

    Are you having trouble debugging USB and SafetyNet? After installing the kernel with OTG the USB debugging itself turns off. Even if I turn it on permanently after restoring my default settings, I do not have SafetyNet :(

    use magisk root or supersu,,, i mean change root,,

    Has anyone tried a USB dac with otg on Elite ROM 5.x?

    Otg was unusable when enabled via k1ll3r8e toolkit in marshmallow. The sound messed up badly every few minutes.

    I'm wondering if it's different with this time?

    dont mix 2 different methods,,, try and tell,,,