• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][7.1.2][FINAL] CodeOfHonor's OmniROM 7.1 for Huawei P8 Lite 2017

Status
Not open for further replies.

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
OmniROM is our Android custom ROM variant, feature-packed but always with stability as #1 priority in mind.
Based on the Android Open Source Project (AOSP) and enriched by our developers with lots of custom enhancements, OmniROM has set out to give you a great Android experience on your mobile.

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 the finger at us for messing up your device, we will laugh at you.
Compatible device?:
Code:
[LIST]
[*]P8 Lite 2017.
[*]P9 Lite 2017.
[*]P10 Lite.
[/LIST]
Mandatory:
* hit thank buttons, it's free.
* want more roms for P8 Lite 2017/P9 Lite 2017, simply bring me up beers by the following button.

Requirements:
  • TWRP, flash my latest build to avoid error 7 from here.
  • Unlocked bootloader.
  • Unlocked FRP.
  • vendor.img: you must be on stock one, so don't wipe it because with other custom vendor.img will never ever boot.

Working:
  • Audio.
  • Bluetooth.
  • Camera: it's fully works with stock or other apps ;).
  • Display.
  • Graphis: both gralloc & hwcomposer.
  • Lights.
  • NFC.
  • RIL.
  • Sensors.
  • Storages.
  • Wifi

Bugs:
  • tell me.

Downloads:
Code:
[B][I]**21/05/2018**[/I][/B]
[LIST]
[*][URL="https://www.haky86.com/2018/05/21/omnirom-nougat-hi6250/"]From Haky's Blog[/URL]
[/LIST]
Changelogs:
Code:
[B][I]**21/05/2018**[/I][/B]
[LIST]
[*]re-works
[/LIST]
Source Code:

XDA:DevDB Information
OmniROM for PRA-LX1, ROM for the Huawei P8lite/P8 Lite

Contributors
haky 86, Meticulus
Source Code: https://github.com/hak86?tab=repositories

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
ROM Firmware Required: Emui 5.x "C432B161"
Based On: AOSP

Version Information
Status: Stable
Stable Release Date: 2018-01-17

Created 2018-01-17
Last Updated 2018-01-17
 

Attachments

Last edited:

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
ROM stuck at animation boot?
this because you must change the file system from F2FS to EXT4 to done boot process
* reboot to TWRP.
* go to Wipe -> Advanced Wipe.
* check Data -> Change file system -> select EXT4.
* swipe the screen to wipe it ;) .

How can I fix Sim?
* go to Settings -> Extras -> disable "Sim Card Slot2 " and reboot.

How can I enable Google Codecs
* go to Settings -> Extras -> enable "Use Google H264" (it's a bit laggy but better than nothing).

How to enable Double Touch To Wake?
* go to Settings -> Extras -> enable "Double Touch to Wake"

Should I reflash the vendor partition if come from other roms?
* if you coming from Emui 5.x, the answer is no because the custom rom are based on Emui 5.0 source code, so all you
have to is flashing your favorite custom rom ;)

Audio and camera are not working?
* bring up a logcat to help us, instead of writing useless comments.

I got error 7, how can I fix that?
* use my own TWRP recovery. or you can simply remove the whole assert line in the updater-script file inside the META-INF folder save and re-flash.

How can I fix RIL Crashes
  • flash root.
  • Copy the phone.prop into /system/vendor and /vendor.
  • reboot, now you should able to do calls for more than 2 minuts ;)

Calls still crash even with fix SIM
  • Run adb shell and type the following command xxd /sys/firmware/devicetree/base/hisi,modem_id .
  • the result will be something like the following out ( for single sim devices):
1|hi6250:/ $ xxd /sys/firmware/devicetree/base/hisi,modem_id
00000000: xxxx x000 ;xx.
  • Search for your xxxxx000, and setup the following flags .
    ro.config.client_number=1
    ro.config.modem_number=1
    persist.dsds.enabled=false
    persist.radio.multisim.config=dsds (remove it properly)
  • for dual sim devices just edit these 2 flags:
    ro.config.client_number=1
    ro.config.modem_number=1
  • Save and reboot.
 
Last edited:
  • Like
Reactions: allrightlite

Zillinda

Senior Member
Feb 22, 2017
117
17
0
Walchsee
I have a totally weird issue on this ROM. I don't have this issue on any of your ROMs except this one.
When i use your vendor my SIM Card is not detected (even if i disable Dual Sim and reboot)
But the weird thing is, when i flash my stock vendor from P10 Lite the Sim is working BUT the sound is not working.
I flashed this one like every ROM from you, and every ROM worked but not this one :/
Are you using the latest Code of Meticulus? Because i had this issues with earlier builds of Meticulus' ROMs

Except that everything works fine. I will go back to your fully working SlimROM until you release AOSPExtended. :)
 

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
I have a totally weird issue on this ROM. I don't have this issue on any of your ROMs except this one.
When i use your vendor my SIM Card is not detected (even if i disable Dual Sim and reboot)
But the weird thing is, when i flash my stock vendor from P10 Lite the Sim is working BUT the sound is not working.
I flashed this one like every ROM from you, and every ROM worked but not this one :/
Are you using the latest Code of Meticulus? Because i had this issues with earlier builds of Meticulus' ROMs

Except that everything works fine. I will go back to your fully working SlimROM until you release AOSPExtended. :)
In your case you must edit the /vendor/phone.prop file
* search for [0X3B412000]
* and make sure to set the following string.
persist.radio.multisim.config=single
persist.dsds.enabled=false
* save and reboot.

you get this problem because my vendor.img is designed to run with single sim devices only.
AOSPE will be available after AOSPA Paranoid, isn't available on any hi6250 device as I see.

Edit: remove persist.radio.multisim.config=single, save and reboot.
 
Last edited:

Zillinda

Senior Member
Feb 22, 2017
117
17
0
Walchsee
In your case you must edit the /vendor/phone.prop file
* search for [0X3B412000]
* and make sure to set the following string.
persist.radio.multisim.config=single
persist.dsds.enabled=false
* save and reboot.

you get this problem because my vendor.img is designed to run with single sim devices only.
AOSPE will be available after AOSPA Paranoid, isn't available on any hi6250 device as I see.

Edit: remove persist.radio.multisim.config=single, save and reboot.
Thanks, i will try it now.
But why don't i have this issue with your other ROMs?
 

Zillinda

Senior Member
Feb 22, 2017
117
17
0
Walchsee
it's releated to vendor.img partition since it's designed to run on single sim.. just fix the flags I wrote and will get fixed.
a thing you should do manually on dual sim phones.
I get error, that it's Read-Only File system and if i want to change the permission of the file with Root Browser it says Changing permissions was not successful. Both the Editor and the Root Browser have root permissions.
Edit: i see the file is symlinked to /hwvendor/phone.prop so i edited it inside there but it's still not working :(
 
Last edited:

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
I get error, that it's Read-Only File system and if i want to change the permission of the file with Root Browser it says Changing permissions was not successful. Both the Editor and the Root Browser have root permissions.
Edit: i see the file is symlinked to /hwvendor/phone.prop so i edited it inside there but it's still not working :(
set via adb shell and tell us if fixed :)
setprop persist.radio.multisim.config single
setprop persist.dsds.enabled false
 

rubentkato77

Elite Member
Jan 27, 2014
1,077
375
0
Tecate, Baja California
www.facebook.com
what is your device?also did you flash my vendor partition?
I bought it as P9 Lite 2017 PRA-LX3C69B110 branded from Telcel Mexico, then converted PRA-LX1C432B110 dual sim unbranded and got updated to B170.

Then unlock bootloader, instal your latest TWRP, follow your unbrick guide fro C432B161.

Then flash omni ROM + pico gapps.

In some point I didn flash your vendor img (how did I miss that !#@$!) do I needto flash it again before omni rom or after?

Regards. :good:
 

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
I bought it as P9 Lite 2017 PRA-LX3C69B110 branded from Telcel Mexico, then converted PRA-LX1C432B110 dual sim unbranded and got updated to B170.

Then unlock bootloader, instal your latest TWRP, follow your unbrick guide fro C432B161.

Then flash omni ROM + pico gapps.

In some point I didn flash your vendor img (how did I miss that !#@$!) do I needto flash it again before omni rom or after?

Regards. :good:
well yes, you have to flash my own vendor from unbrick guide!

but before doing that pull /vendor/phone.prop from converted firmware and paste into system/vendor/ to avoid sim problems.

as you see my screenshot the camera is fully works without enable google codecs.
 
  • Like
Reactions: rubentkato77
Status
Not open for further replies.