[ROM][7.1.2] OmniROM 7.1.2 for P9 Lite by HassanMirza01

Search This thread

HassanMirza01

Senior Member
XF6OcDN.jpg

Omni ROM
For Huawei P9 Lite

DONOT COPY MY WORK, Ask for Permissions or Gather it yourself,,,
This ROM is only for Firmwares based on EMUI 5.X 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.
 *
 */

Introduction:
What is OmniROM ?

Features of OmniROM:
*Pixel style launcher
*OmniClose OSS app
*OmniSwitch
*Brightness control by swiping the status bar
*Double tap the status bar to sleep
*Show IME notification in the status bar
*Show IME notification in the navigation bar
*Wake the device with the volume buttons
*Long press the volume buttons to switch music tracks
*Adjust volume buttons based on screen orientation
*Force media volume to be changed by default
*Use software navigation bar
*Disable hardware navigation buttons
*Control hardware button backlight
*Change Recents style
*Long press the back button to kill the foreground application
*Adjust kill app timeout
*Power menu options
*Off screen gestures for the Camera, Torch and Music controls
*Proximity check for gesture and fingerprint scanner
*Adjust vibrator strength
*Adjust slider mode
*sRGB Mode
*High brightness mode
*Swap back and recents buttons
*Enable or disable lock screen shortcuts
*Hide the icons for lock screen shortcuts
*Use either voice assistant or dialer for lock screen shortcuts
*Hide charging text and unlock hints on the lock screen
*Disable the quick settings menu when on the lock screen
*Disable the wallpaper on the lock screen
*Hide the status bar on the lock screen
*Customize notification LED functions
*Customize battery LED functions
*Light and dark theme options
*Custom Omni wallpaper picker
*Battery icon options
*Custom head image options for the notification panel
*Misc OmniROM features/stats


Installation Instructions:
* -- Omni only supports TWRP recovery. Use any other recovery at your own risk.
* -- Omni only supports EliteKernelReborn. I will not provide support for those using other kernels.
* -- Download the Latest OmniROM 7.1.2 from 2nd Post...
* -- Delete all your Fingerprints from Stock or Elite ROM.
* -- Ensure the latest version of TWRP Recovery is installed.
* -- Ensure that Stock/unmodified P9 Lite vendor is installed... (if you are on Elite ROM, any version, you are on stock vendor)
* -- Do Complete TWRP Backup...
* -- Wipe only Data, Dalvic, Cache, System... Dont touch other Partitions...
* -- Install OmniROM 7.1.2
* -- Install GApps (optional)
* -- Install SuperSU or Magisk (optional)
* -- Reboot with Pray :)

Bugs:
You tell me ;)


READ FAQ in 4th Post to fix common things then post for new issues if you got one...

If You are having RIL Disconnecting issue, Please Flash your Original CUST Partition.... (Elite ROM has different Region CUST)

This took Countless hours to get ready... If you like it, Please Support with Donation :)


Special Thanks:
@Meticulus for creative & Endless work on Nougat & MM Codes.... Hats off bro...
@petya230 for his support
@felix-development for his support


Source Codes:
OmniROM Source Codes
GPLv2: https://github.com/HassanMirza01/android


Contributors:
@HassanMirza01

ROM OS Version: OmniROM 7.1.2
ROM Kernel: EliteKernelReborn v6+ Upstreamed to 4.1.46
ROM Firmware Required: Bootloader Unlocked / TWRP / EMUI 5.X Firmware
Based On: Omni ROM

Version Information:

Status: Stable
Created on: 2017-11-29
Last Updated on: 2018-02-01
 
Last edited:

HassanMirza01

Senior Member
CHANGELOG:
2018-02-01 Omni-7.1.2-20180201-hi6250-HOMEMADE:
*Updated Security Patch
*Added vulkan Support
*Bluetooth: possibly fix BLE (Bluetooth Low Energy)
*Fix bug which always made performance the effective power profile
*Add config for VOLTE on provision.(Not Tested)
*Fixed inputchannel crash/soft-reboot
*Added BLL Support
*Ril Fixed...
*Updated to December Security Patch
*OTG automatic now...
*Kernel Upstreamed to 4.1.46
*P10 Lite Support Added
*More tweaks and improvements

2017-12-01 Omni-7.1.2-20171201-hi6250-HOMEMADE:
*DT2W bug fixed
*OTG Host switch working now
*Bluetooth connection to headset fixed
*NFC added...

2017-11-19 Omni-7.1.2-20171129-hi6250-HOMEMADE:
*initial release...
 
Last edited:

HassanMirza01

Senior Member
FAQ:
1.) What to do if My Phone got bootloop or not booting ??
You have changed vendor, or modified vendor(not stock), OpenKirin vendor will never ever work,, so get Pure stock vendor of your device... it will work for sure... if still not, change you data filesystem...

2.) What to do if my SIMs are not working ??
Go to Extras, disable dual sim, reboot phone,, now read carefully,,
1. Install hex editor app from playstore
2. Make sure you have file explorer with root privileges
3. Open hex editor and find modem,id file on this location root/sys/firmware/devicetree/base/hisi,modem_id and open it.
4. Write down all numbers in first row
5. Then go to root/system/vendor and find phone.prop and open it with text editor.
6. Find your modem id by using search and type 0x3xxxxxx where X is your number from hex reader
7. Then make it look like this:
balMJ13.jpg


3.) What to do if my SafetyNet is not passed ??
Update Magisk to latest beta version, tick Magisk Hide and enable usb debugging...

 
Last edited:

Kcetin20

Senior Member
Dec 19, 2014
327
42
Gonna flash now :)

Update : sim card doesn't get detected. No NFC.
Update : Sim issue seems to be on my side or on L31 side ? simcard reboots every 1 minute or so losing connection.
 
Last edited:

skeeter92

Senior Member
Nov 29, 2014
241
60
Hello Hassan. I have follow your tutorial but I have bootloop...

Edit: It's good, It was Magisk who causes bootloop
 

KingOfMezi

Senior Member
Jul 6, 2017
384
811
Lima
eh open your rom, in system.new.data it is very easy to work there, but your rom are with pure bug, I work badly, I do not know why you get into this world of pure android, you need some support something that you do not have, in pure android you will always see a bug, the battery will be drained quickly, no matter how many updates you do, you do not have codes, something that I do have, but I will not share it luck
 
Last edited:
  • Like
Reactions: Twisted Prime

skeeter92

Senior Member
Nov 29, 2014
241
60
Hello. I have a problèm with bluetooth... I want to connect my watch but it's doenst associates.. my car ils working but cannot connect my watch... It's stay on "association"

Envoyé de mon HUAWEI P9 lite en utilisant Tapatalk
 

Razor10707

Senior Member
May 23, 2017
545
92
Budapest
ROM Kernel: EliteKernelReborn v4+ Upstreamed to 4.1.26

Quick question what would happen if i take a backup of the kernel v4 and restore it on elite rom v6? Im just curious but not enough to soft brick my phone at the moment ?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 16
    XF6OcDN.jpg

    Omni ROM
    For Huawei P9 Lite

    DONOT COPY MY WORK, Ask for Permissions or Gather it yourself,,,
    This ROM is only for Firmwares based on EMUI 5.X 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.
     *
     */

    Introduction:
    What is OmniROM ?

    Features of OmniROM:
    *Pixel style launcher
    *OmniClose OSS app
    *OmniSwitch
    *Brightness control by swiping the status bar
    *Double tap the status bar to sleep
    *Show IME notification in the status bar
    *Show IME notification in the navigation bar
    *Wake the device with the volume buttons
    *Long press the volume buttons to switch music tracks
    *Adjust volume buttons based on screen orientation
    *Force media volume to be changed by default
    *Use software navigation bar
    *Disable hardware navigation buttons
    *Control hardware button backlight
    *Change Recents style
    *Long press the back button to kill the foreground application
    *Adjust kill app timeout
    *Power menu options
    *Off screen gestures for the Camera, Torch and Music controls
    *Proximity check for gesture and fingerprint scanner
    *Adjust vibrator strength
    *Adjust slider mode
    *sRGB Mode
    *High brightness mode
    *Swap back and recents buttons
    *Enable or disable lock screen shortcuts
    *Hide the icons for lock screen shortcuts
    *Use either voice assistant or dialer for lock screen shortcuts
    *Hide charging text and unlock hints on the lock screen
    *Disable the quick settings menu when on the lock screen
    *Disable the wallpaper on the lock screen
    *Hide the status bar on the lock screen
    *Customize notification LED functions
    *Customize battery LED functions
    *Light and dark theme options
    *Custom Omni wallpaper picker
    *Battery icon options
    *Custom head image options for the notification panel
    *Misc OmniROM features/stats


    Installation Instructions:
    * -- Omni only supports TWRP recovery. Use any other recovery at your own risk.
    * -- Omni only supports EliteKernelReborn. I will not provide support for those using other kernels.
    * -- Download the Latest OmniROM 7.1.2 from 2nd Post...
    * -- Delete all your Fingerprints from Stock or Elite ROM.
    * -- Ensure the latest version of TWRP Recovery is installed.
    * -- Ensure that Stock/unmodified P9 Lite vendor is installed... (if you are on Elite ROM, any version, you are on stock vendor)
    * -- Do Complete TWRP Backup...
    * -- Wipe only Data, Dalvic, Cache, System... Dont touch other Partitions...
    * -- Install OmniROM 7.1.2
    * -- Install GApps (optional)
    * -- Install SuperSU or Magisk (optional)
    * -- Reboot with Pray :)

    Bugs:
    You tell me ;)


    READ FAQ in 4th Post to fix common things then post for new issues if you got one...

    If You are having RIL Disconnecting issue, Please Flash your Original CUST Partition.... (Elite ROM has different Region CUST)

    This took Countless hours to get ready... If you like it, Please Support with Donation :)


    Special Thanks:
    @Meticulus for creative & Endless work on Nougat & MM Codes.... Hats off bro...
    @petya230 for his support
    @felix-development for his support


    Source Codes:
    OmniROM Source Codes
    GPLv2: https://github.com/HassanMirza01/android


    Contributors:
    @HassanMirza01

    ROM OS Version: OmniROM 7.1.2
    ROM Kernel: EliteKernelReborn v6+ Upstreamed to 4.1.46
    ROM Firmware Required: Bootloader Unlocked / TWRP / EMUI 5.X Firmware
    Based On: Omni ROM

    Version Information:

    Status: Stable
    Created on: 2017-11-29
    Last Updated on: 2018-02-01
    10
    CHANGELOG:
    2017-11-19 Omni-7.1.2-20171201-hi6250-HOMEMADE:
    *DT2W bug fixed
    *OTG Host switch working now
    *Bluetooth connection to headset fixed
    *NFC added...

    Omni-7.1.2-20171201-hi6250-HOMEMADE:
    9
    OmniROM 7.1.2 2017-12-01 coming tomorrow,,, built, TESTED and Uploading.... NFC, DT2W, Bluetooth pairing with headset bug and OTG issues Fixed.... All buttons in extra menu are available now...

    Stay tuned
    6
    CHANGELOG:
    2018-02-01 Omni-7.1.2-20180201-hi6250-HOMEMADE:
    *Updated Security Patch
    *Added vulkan Support
    *Bluetooth: possibly fix BLE (Bluetooth Low Energy)
    *Fix bug which always made performance the effective power profile
    *Add config for VOLTE on provision.(Not Tested)
    *Fixed inputchannel crash/soft-reboot
    *Added BLL Support
    *Ril Fixed...
    *Updated to December Security Patch
    *OTG automatic now...
    *Kernel Upstreamed to 4.1.46
    *P10 Lite Support Added
    *More tweaks and improvements

    2017-12-01 Omni-7.1.2-20171201-hi6250-HOMEMADE:
    *DT2W bug fixed
    *OTG Host switch working now
    *Bluetooth connection to headset fixed
    *NFC added...

    2017-11-19 Omni-7.1.2-20171129-hi6250-HOMEMADE:
    *initial release...