[ROM][7.1.2][FINAL] CodeOfHonor's OmniROM 7.1 for Huawei P8 Lite 2017 - P8 Lite (2017) Development

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:
Device Tree:
https://github.com/hak86/android_device_huawei_hi6250
Kernel GPL:
https://github.com/hak86/android_kernel_huawei_prague
Vendors:
https://github.com/hak86/android_vendor_huawei_hi6250
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

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.
Click to expand...
Click to collapse
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.

*reserved v2*

Download Link is not working
Edit: There is a " in the end of the link that shouldn't be there.. Maybe you should edit the link

Zillinda said:
Download Link is not working
Edit: There is a " in the end of the link that shouldn't be there.. Maybe you should edit the link
Click to expand...
Click to collapse
fixed

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.

Zillinda said:
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.
Click to expand...
Click to collapse
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.

haky 86 said:
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.
Click to expand...
Click to collapse
Thanks, i will try it now.
But why don't i have this issue with your other ROMs?

Zillinda said:
Thanks, i will try it now.
But why don't i have this issue with your other ROMs?
Click to expand...
Click to collapse
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.

haky 86 said:
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.
Click to expand...
Click to collapse
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

Zillinda said:
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
Click to expand...
Click to collapse
set via adb shell and tell us if fixed
setprop persist.radio.multisim.config single
setprop persist.dsds.enabled false

haky 86 said:
set via adb shell and tell us if fixed
setprop persist.radio.multisim.config single
setprop persist.dsds.enabled false
Click to expand...
Click to collapse
nope, i don't know if i am too stupid or if it's really not working, but none of this methodes is working.

Zillinda said:
nope, i don't know if i am too stupid or if it's really not working, but none of this methodes is working.
Click to expand...
Click to collapse
well, as you see it's working for me in screenshots.

I finally got it working by replacing the /hwvendor/phone.prop file from my STOCK vendor into the vendor of @haky 86.

@haky 86
Intalled the C432B161 firmware, then proceed to flash this rom with your instructions, everything works except video recording on camera, also for whatsapp, facebook, messenger, etc
Any hints ? Maybe I missed something

rubentkato77 said:
@haky 86
Intalled the C432B161 firmware, then proceed to flash this rom with your instructions, everything works except video recording on camera, also for whatsapp, facebook, messenger, etc
Any hints ? Maybe I missed something
Click to expand...
Click to collapse
Enable Google H264 in Settings -> Extra
Sent from my hi6250 using XDA Labs

Zillinda said:
Enable Google H264 in Settings -> Extra
Sent from my hi6250 using XDA Labs
Click to expand...
Click to collapse
Already did that and reboot the phone, but the problem persist.
[/ATTACH]

rubentkato77 said:
Already did that and reboot the phone, but the problem persist.
[/ATTACH]
Click to expand...
Click to collapse
what is your device?also did you flash my vendor partition?

haky 86 said:
what is your device?also did you flash my vendor partition?
Click to expand...
Click to collapse
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:

rubentkato77 said:
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:
Click to expand...
Click to collapse
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.

Related

[ROM][CM11][SM-G355HN][CyanogenMod 11.0][UNOFFICIAL]

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), which is designed to increase performance and reliability over stock Android for your device.
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*
Click to expand...
Click to collapse
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Downloads
Latest builds: https://www.mediafire.com/folder/cwzwh1c90stij/SM-G355HN
Google Apps: http://wiki.cyanogenmod.org/w/Gapps
Installation
1. TWRP Recovery required:
http://forum.xda-developers.com/galaxy-core/development/samsung-galaxy-core-2-sm-g355h-m-t2998094
2. Copy ROM on your ExtSdCard
3. Reboot into Recovery using 3-button-combo (home + volume up + power)
4. Do a Nandroid backup!!!
5. WIPE (wipe data/factory reset/wipe cache partition/internal storage)
6. Install the ROM from extarnal SD card using TWRP Recovery
7. Install Root from here:
http://forum.xda-developers.com/galaxy-core/help/root-galaxy-core-2-t2966445
8. Optionally install the Google Addon
Known Issues
Please do not report bugs if it is already listen in the list of known issues
* Some CyanogenMod features a missing - please do not file bug reports for those.
* Cannot set value via custom brightness "Edit" menu
* No account selected for Backup (gapps problem?)
Reporting Bugs
You are allowed to report bugs only in this thread. Before reporting a bug, please make sure you are running as stock as possible. This means no custom kernel, no custom framework modification, etc. If you are using any of the above modifications, please flash the rom again to get rid of the modifications before reporting.
* Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
* If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
* If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved
Known issues of current build :
* GPS not working. Will be soon.
* root doesn't work trough developers options
* What you report.
This ROM wouldn't be possible without:
* CyanogenMod
* Samsung Open Source Center
@ngoquang2708
@doesntexits
@cleverior.ipul
Sorry if I forgot someone
XDA:DevDB Information
kanas3gnfcxx (SM-G355HN), ROM for the Samsung Galaxy Core
Contributors
Y300-0100
Source Code: https://github.com/Y300-0100?tab=repositories
ROM OS Version: 4.4.x KitKat
Version Information
Status: Alpha
Created 2016-04-13
Last Updated 2016-04-13
changelog
20160415
* Fixed low volume while using headphones and playing music
2016 04 23
* Fixed NFC (not all tags can be detected )
2016 04 27
* Fixed freeze phone when try to turn of developer options, add Torch thanks to @doesntexits
And when you recording videos first change setting's of audio codes in camera settings.
@Y300-0100
Great work
I got one Q: Did this phone support dual-SIM? I see only one signal there
Also, the correct device codename is kanas3gnfc, not the xx suffix. You can get the right codename in the rootdir folder
How to install in SM-G355M?
Amazing work, i have a noob question, how can i install in SM-G355M?
Thank u , n sorry for my bad english
doesntexits said:
@Y300-0100
Great work
I got one Q: Did this phone support dual-SIM? I see only one signal there
Also, the correct device codename is kanas3gnfc, not the xx suffix. You can get the right codename in the rootdir folder
Click to expand...
Click to collapse
No. HN is single sim model only and code name is kanas3gnfcxx from stock build prop and https://androiddevice.info/submission/29929/show
I realize that when I get asserts prop error with kanas3gnfc when I tried to install rom.
Marco123V said:
Amazing work, i have a noob question, how can i install in SM-G355M?
Thank u , n sorry for my bad english
Click to expand...
Click to collapse
later today when I upload it...
for testing because i don't have M
Y300-0100 said:
No. HN is single sim model only and code name is kanas3gnfcxx from stock build prop and https://androiddevice.info/submission/29929/show
I realize that when I get asserts prop error with kanas3gnfc when I tried to install rom.
Click to expand...
Click to collapse
That's the recovery's fault, since it only get the .name instead of .device
If you say so, the codename in cm is cm_kanas3gnfc than the xx suffix (just like the .name in stock). Also, you can add kanas3gnfcxx in TARGET_OTA_ASSERT_DEVICE flag, so no installation error is produced
Y300-0100 said:
7. Install Root from here:
Click to expand...
Click to collapse
No need for this, since userdebug builds already rooted
Vv
What about the SM-G355H ? will it work or no ?
update-script not working for variant M
Detele is assert for working
Not Working:
-MTP
-Disable Developer Option or Debugging caused bootlop
Joaquin Scala said:
update-script not working for variant M
Detele is assert for working
Not Working:
-MTP
-Disable Developer Option or Debugging caused bootlop
Click to expand...
Click to collapse
1. you are using twrp for kanas3gnfc
2. to fix mtp I need stock boot.img for H and M because of ramdisk files
3. that I don't know. Don't have that issue. if phone reboots when you disable or enable Developer Option or Debugging use grab /proc/last_kmsg
as I mentioned in first post.
4. currently I trying to fix low volume issue!!
5. As you all know I own only SM-G355HN and as I mentioned before there has to be maintainer for each device.
6. What I did regarding twrp for H and M, fix wifi and build roms for them it's because I wanted to encourage other devs (or user enthusiasts )who own devices to include themselves to build. Because I can see here on xda some folks started with development from scratch
7. end
and PS.
All my sources are up to date so anyone can use them and with detailed instruction how to build
https://github.com/Y300-0100/android_device_samsung_kanas3g
https://github.com/Y300-0100/android_device_samsung_kanas3gub
https://github.com/Y300-0100/android_device_samsung_kanas3gnfcxx/blob/master/README.md
fixed low volume issue!!
YES
I fixes low volume during typing stupid post above in 5 min.
So if you want me to commit it to my github I want to see 1000 thanks click by tonight
PS.
No 1000 more like 10 000
Y300-0100 said:
YES
I fixes low volume during typing stupid post above in 5 min.
So if you want me to commit it to my github I want to see 1000 thanks click by tonight
PS.
No 1000 more like 10 000
Click to expand...
Click to collapse
Well, if mods see this, your account will be... you know
Btw, good job. It's good to see more SPRD devices get CM
doesntexits said:
Well, if mods see this, your account will be... you know
Btw, good job. It's good to see more SPRD devices get CM
Click to expand...
Click to collapse
Thanks for info. But I didn't use any offensive word and if you are referring to 10 000 it's joke ended with
If they think that something should be "done" with my account so be it.
BTW it's already up to date. You know what
Y300-0100 said:
Thanks for info. But I didn't use any offensive word and if you are referring to 10 000 it's joke ended with
If they think that something should be "done" with my account so be it.
BTW it's already up to date. You know what
Click to expand...
Click to collapse
OK, the "10000" is what i referenced
Btw, seems you're missing some libs to get NFC working. Did you tried with any tags/devices?
If it doesn't work then, take a look at this: https://github.com/TheNikiz/android...fc3g/blob/cm-11.0/device_vivaltonfc3g.mk#L101
Some extras configs/packages for NFC are included there. See if any of them works with you
asser19 said:
What about the SM-G355H ? will it work or no ?
Click to expand...
Click to collapse
Sound fix will be but as I mentioned before MTP wont be fixed unless someone provide me stock boot.img for SM-G355H and SM-G355M.
and for a notice I have slow PC so for each build I need aprox 8 hours.
Build for SM-G355HN is uploading right now in SM-G355HN folder on mediafire.
doesntexits said:
OK, the "10000" is what i referenced
Btw, seems you're missing some libs to get NFC working. Did you tried with any tags/devices?
If it doesn't work then, take a look at this: https://github.com/TheNikiz/android...fc3g/blob/cm-11.0/device_vivaltonfc3g.mk#L101
Some extras configs/packages for NFC are included there. See if any of them works with you
Click to expand...
Click to collapse
I'm lazy. I will add packages and files for NFC. I did it before for some other devices, will tray to add FM and screen recording if hardware support it.
Y300-0100 said:
I'm lazy. I will add packages and files for NFC. I did it before for some other devices, will tray to add FM and screen recording if hardware support it.
Click to expand...
Click to collapse
FM is not supported by CM, so you've to implement your own
Also screen recording too. But, screen recording will lag like sh*t on these such devices
Y300-0100 said:
Sound fix will be but as I mentioned before MTP wont be fixed unless someone provide me stock boot.img for SM-G355H and SM-G355M.
and for a notice I have slow PC so for each build I need aprox 8 hours.
Build for SM-G355HN is uploading right now in SM-G355HN folder on mediafire.
Click to expand...
Click to collapse
Here is the stock boot.img form SM-G355M, it's from the last Samsung Update
boot.img
Hello, you can install the rom with TWRP-3.0.2-0-kanas3gnfc.img normally. Now I work MTP. Thank you very much, hoping for a newer version of android L or M.

[13/06/2020] Haky86's LineageOS 14.1 Huawei P8 Lite 2017 PRA-LX1

LineageOS is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. Lineage OS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
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.
[*]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:
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.
Emui 5.x B115 (Single Sim) or B170(Dual Sim)
How to Install the ROM?
* 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.
Gapps:
http://opengapps.org
Working Hardware:
Audio.
Bluetooth.
Browser.
Display.
GPS.
Graphics: only gralloc.
Lights.
RIL.
Sensors.
Storage: both internal & external storage.
Wifi.
Bugs:
Tell me
LineageOS 14.1:
Downloads:
Checkout this
LineageOS 14.1 Downloads
Changelogs:
30/07/2017:
Initial build.
03/08/2017:
Testing hwcomposer, report us if the build boot and run games fine.
Camera will be fixed soon.
21/08/2017:
fix random reboot.
fix some tethering issues.
wifi should be fixed (send me a logcat if not work) it was working on my own pra-lx1..
25/08/2017:
fix sim.
fix hwcomposer (in theory, you should test games for that).
fix wifi..
01/09/2017:
ril has beeb fixed by disable flags for dual sim, my device is single sim.
fix wifi (will try to fix saving password issue).
01/09/2017:
Android 7.1.2 R29.
fix bootloop.
fix random reboot.
to fix lags: disable Ambient Display from Display settings.
15/11/2017:
update HwComposer according to this patch.
Update permissions for Google Play.
Build is smooth and fast even with enabled ambient display
21/12/2017:
fix minor bugs
31/12/2017:
fix camera
06/01/2018:
fix USB & memories.
21/01/2018:
Fix error 7 by adding support for prague devices, so you must flash my latest twrp, the v2.5.
Fix ril on prague devices.
Fix ril crashes, I test the automated voice of ussd code for more than 30 seconds and didn't crash like before.
Note: this rom is only for the Huawei P8 Lite 2017 if you didn't get worked audio or camera on your hi6250 device isn't my fault, just flash my own vendor.img from unbrick guide, that's why I get everything works on my pra-lx1 like the following attached screenshot.
25/01/2018:
Fix audio for P10 Lite
Add support for Vulkan libraries for all hi6250.
Fix camera on some prague devices.
31/01/2018:
Fix Magisk 15.3
Security patches: January 2018
19/02/2018:
security patches: Feb 2018
02/05/2018:
fix call's sensor issue.
latest android 7.1.2 build.
28/12/2019:
Fix Magisk
Fix RIL crash.
Security Patches: 5 Dec 2019
11/06/2020:
New "Extra" thanks to dady8889 for the base (I'll clean up tomorrow)
Fix Mute in Call.
SPL: May 2020
13/06/2020:
Fix Mute in Call.
Fix USSD. (thanks to flex1911 for his emui8 fixes)
Fix RIL Crash again.
[/HIDE]
Source Code:
Device Tree:
https://github.com/hak86/android_device_huawei_hi6250
Kernel GPL:
https://github.com/hak86/android_kernel_huawei_prague
Vendors:
https://github.com/hak86/android_vendor_huawei_hi6250
Credits
@haky 86
@Meticulus special thanks for immense work done in just few days for the hi6250 platform.
Contributors
@haky 86
Source Code: https://github.com/hak86
ROM Kernel: Linux 4.1.x
ROM Firmware Required: EMUI 5.0 or newer
Version Information
Status: Beta
Beta Release Date: 2017-07-30
Created 2017-07-30
Last Updated 2017-12-21
Reserved
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.
Click to expand...
Click to collapse
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.
Oh, finally you did it
You can easy fix deep-sleep issue if you'll apply @XePeleato' patch for surfaceflinger , please take a look here , credit goes to @XePeleato !
Second, you can also easly fix the "reboot to erecovery" issue, by applaying my patch for kernel, you should take a look here as well !
I assume Hotspot isn't working, because you need more patches to kernel ... so you can cherry-pick almost all my commits, but as always you should keep authorship, as much as possible
About camera ?? - you can't enable camera so easy ... I'll let you to try , and if you do not succeed in a week, please let me to know and I'll help you
Good luck !
surdu_petru said:
Oh, finally you did it
You can easy fix deep-sleep issue if you'll apply @XePeleato' patch for surfaceflinger , please take a look here , credit goes to @XePeleato !
Second, you can also easly fix the "reboot to erecovery" issue, by applaying my patch for kernel, you should take a look here as well !
I assume Hotspot isn't working, because you need more patches to kernel ... so you can cherry-pick almost all my commits, but as always you should keep authorship, as much as possible
About camera ?? - you can't enable camera so easy ... I'll let you to try , and if you do not succeed in a week, please let me to know and I'll help you
Good luck !
Click to expand...
Click to collapse
Sure bro
I'm make a build right now with that patch, for camera I don't see USE_CAMERA_STUB := true in BoardConfig.mk and also my kernel source has 34 repos for external, are they useful? will do a test with them and report you..the rest are perfect
Installed, testing. No reboots so far.
Dejan Kruljac said:
Installed, testing. No reboots so far.
Click to expand...
Click to collapse
just wait and see..fixing are in progress..will be in nex builds. btw
This works on the P9 Lite 2017 too. The devices have the same hardware, I think even the same Model No. Just wanted to point that out.
Hi,
We have a P8 Lite 2017 and i have install LineageOS...
I have different problem.
The first problem is no sim accept. ( i have two sim in the phone but the Software marked "No sim"...
The second problem is when i shutdown P8 and stard after few minutes, the P8 doesnt start ( P8 blocked on the Logo Lineage OS).
You can help me ??
Thanks
maxilib said:
Hi,
We have a P8 Lite 2017 and i have install LineageOS...
I have different problem.
The first problem is no sim accept. ( i have two sim in the phone but the Software marked "No sim"...
The second problem is when i shutdown P8 and stard after few minutes, the P8 doesnt start ( P8 blocked on the Logo Lineage OS).
You can help me ??
Thanks
Click to expand...
Click to collapse
For sim I can't help you because my device is single sim.
for shutdown/random reboot, I already fix that problem, will be available in the second builld once fix nfc
haky 86 said:
For sim I can't help you because my device is single sim.
for shutdown/random reboot, I already fix that problem, will be available in the second builld once fix nfc
Click to expand...
Click to collapse
Thanks for your reply
I'v tested you version later. But for the SIM, any SIM is recognize in the system ! ( French SIM operator Orange)
I flashed the vendor, did a factory reset in twrp and wiped system, flashed rom zip and opengapps arm64 7.1 pico. it looped on a Lineage logo for 10 minutes. Do i need to format data partition? or factory reset is enough
aciupapa said:
I flashed the vendor, did a factory reset in twrp and wiped system, flashed rom zip and opengapps arm64 7.1 pico. it looped on a Lineage logo for 10 minutes. Do i need to format data partition? or factory reset is enough
Click to expand...
Click to collapse
Data needs to be wiped too everytime you flash a completely new ROM
Vinnipinni said:
Data needs to be wiped too everytime you flash a completely new ROM
Click to expand...
Click to collapse
so, factory reset from twrp is not enough and i need to choose "format data", the option above twrp slider yep?
aciupapa said:
so, factory reset from twrp is not enough and i need to choose "format data", the option above twrp slider yep?
Click to expand...
Click to collapse
Yes.
Vinnipinni said:
Yes.
Click to expand...
Click to collapse
OK, thanks. I'll back everything up and wait for next build
aciupapa said:
OK, thanks. I'll back everything up and wait for next build
Click to expand...
Click to collapse
Yeah. Just keep in mind that you cannot backup data at all. Only the Internal space with your PC. But always make backups of other stuff and keep at least one on your PC, so if something breaks, you can always go back. Data isn't that important to safe, if you wiped data, it's like a factory reset.
Please read the OP, of course you'll need to wipe data, cache, system.
haky 86 said:
Please read the OP, of course you'll need to wipe data, cache, system.
Click to expand...
Click to collapse
did that. still hangs on lineage bootanimation, waited for 10 mins or so
I don't quite understand how to patch the surfaceflinger. Can someone tell me what am I supposed to do?
First my respect. I also tried it. But I failed. Is not bad, there are experts like @haky 86. Great work, thank you.
When I tested the version for the 6x in the morning, I had to format between the data partition and re-install the EMUI. Since then your TWRP works perfectly. Complete backups include Data Partition. Restoring is also perfect. Tomorrow I want to try your Lineage OS. Hope the Revovery works there perfectly synonymous.

[ROM][PRA-LX1][11/05/2018]CodeOfHonor's AOSP 7.1.2 R36 for Huawei P8 Lite 2017

The Android Source Code
Android is an open source software stack created for a wide array of devices with different form factors. The primary purposes of Android are to create an open software platform available for carriers, OEMs, and developers to make their innovative ideas a reality and to introduce a successful, real-world product that improves the mobile experience for users.
We also wanted to make sure there was no central point of failure, where one industry player could restrict or control the innovations of any other. The result is a full, production-quality consumer product with source code open for customization and porting.
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]
[*]All devices that use hi6250 chipset and use kernel 4.1.
[/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.
C432B161 firmware, restore it before flash the rom 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.
Installation Guide:
Make sure to the stock backup saved on pc, I'm not responsible for any bricked or damage.
Reboot to TWRP.
Go to Wipe.
Choose Advance Wipe.
Check on Data and change file system to EXT4, will not ever boot with F2FS.
Wipe cache, data, dalvik and system.
Flash the rom.
Reboot and have fun then.
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:
Dual sim might will not work all variants, so don't waste your time by asking me to fix it.
You don't like it?, easy revert to Emui 5.x.
Downloads:
**02/01/2018**
aosp_7.1.2_r29-UNOFFICIAL-01022018-hi6250.zip
**03/01/2018**
aosp_7.1.2_r36-UNOFFICIAL-01032018-hi6250.zip
**25/01/2018**
aosp-7.1.2-20180125-Haky86-hi6250.zip
**04/02/2018**
Uploaded by Gabe Chan, thanks man.
**11/05/2018**
aosp_hi6250-7.1.2-N2G48H-20180510-CodeOfHonor.zip
Changelogs:
**02/01/2018**
Initial build
Android 7.1.2_r29
**03/01/2018**
Android 7.1.2_r36.
Fix USB & memories.
Security Patches: 5 October 2017
**25/01/2018**
Camera SHOULD work on every hi6250 now, so you have no excuse to say "it's not working with your builds/roms"
Fix audio on P10 Lite.
Add support to for Vulkan
**04/02/2018**
fix Magisk 15.3
Security Patches: January 2018
**11/05/2018**
boot up with f2fs by default
Source Code:
Device Tree:
https://github.com/codeofhonor-dev/android_device_huawei_hi6250
Kernel GPL:
https://github.com/codeofhonor-dev/android_kernel_huawei_hi6250
Vendors:
https://github.com/codeofhonor-dev/android_vendor_huawei_hi6250
Contributors
@haky 86
Source Code: https://github.com/codeofhonor-dev
Credits
Special thanks to @Meticulus for the immense work on hi6250 platform
ROM OS Version: 7.1.2 Nougat
ROM Kernel: Linux 4.1.x
ROM Firmware Required: Emui 5.x
Based On: AOSP
Version Information
Status: stable
Created 2018-01-01
Last Updated 2018-01-02
** Reserved **
I will test it right now. Where can i find the TWRP?
karasoulas said:
I will test it right now. Where can i find the TWRP?
Click to expand...
Click to collapse
if you get the error 7, just follow the fix guide
https://forum.xda-developers.com/p8...n/recovery-twrp-huawei-p8-lite-2017-t3591762/
haky 86 said:
if you get the error 7, just follow the fix guide
https://forum.xda-developers.com/p8...n/recovery-twrp-huawei-p8-lite-2017-t3591762/
Click to expand...
Click to collapse
Boot and its amazing. The only problem is the camera. its not customizable. anyway thanks man , much love <3
karasoulas said:
Boot and its amazing. The only problem is the camera. its not customizable. anyway thanks man , much love <3
Click to expand...
Click to collapse
Will start release LineageOS based roms from tomorrow, just wait..actually better than nothing..
:good:
sadly, there is no way to fix the second bug
What a legend @haky 86 , thanks a lot
Any chance to get it for PRA devices ?
Thanks for your continous work on those phones.
Do we have any chance getting one of the PRA devices or does this hi6250 image works on them too ?
Thanks for your precious time,
Erwan,
Thanks for your work on this, got it to boot and it runs perfectly.
How do you suggest I root this rom, I tried magisk but it wouldn't boot afterwards.
My only other issue was that my SD card isn't usable and Android fails to format it.
also sd card doesnt work and video recording doesnt work. I didnt find any other bugs
karasoulas said:
also sd card doesnt work and video recording doesnt work. I didnt find any other bugs
Click to expand...
Click to collapse
sorry but video recording is fine for me, for sdcard I forget to add the fix for my kernel.
please wait next update
front video working. back video is says cant connect camera
karasoulas said:
front video working. back video is says cant connect camera
Click to expand...
Click to collapse
Here front & back video recording
might your variant is missed in the source. my one is pra-lx1 try with Footej and tell us more
pra-lx1 footej works fine. The stock app doesnt work tho.
stock camera working fine here. PRA-LX1 dual sim variant
Iocere said:
stock camera working fine here. PRA-LX1 dual sim variant
Click to expand...
Click to collapse
yep, I've pra-lx1 and it's fully works.
cian hackett said:
Thanks for your work on this, got it to boot and it runs perfectly.
How do you suggest I root this rom, I tried magisk but it wouldn't boot afterwards.
My only other issue was that my SD card isn't usable and Android fails to format it.
Click to expand...
Click to collapse
Install Magisk v14.0 via TWRP
Iocere said:
Install Magisk v14.0 via TWRP
Click to expand...
Click to collapse
This worked perfectly , I had been trying with v15.
Grabbed v14 from the main p8lite rooting thread and was had no issues. Thanks
pra-lx 1 dual sim and the back camera doesnt work on messenger instagram. dont know why.
Maybe reflashing the rom will fix it?

[ROM][7.1.2][12/05/2018] CodeOfHonor's AOSPA Paranoid v7.3.1 for Huawei P8 Lite 2017

Paranoid Android is a custom ROM aiming to extend the system, working on enhancing the already existing beauty of Android and following the same design philosophies that were set forward by Google for Android Open Source Project.
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]
[*]All devices that use hi6250 chipset and use kernel 4.1.
[/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.
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.
Installation Guide:
Make sure to the stock backup saved on pc, I'm not responsible for any bricked or damage.
Reboot to TWRP.
Go to Wipe.
Choose Advance Wipe.
Check on Data and change file system to EXT4, will not ever boot with F2FS.
Wipe cache, data, dalvik and system.
Flash the rom.
Reboot and have fun then.
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:
Dual sim might will not work all variants, so don't waste your time by asking me to fix it.
You don't like it?, easy revert to Emui 5.x.
Downloads:
**13/05/2018**
pa_hi6250-7.3.1-EOL-20180513.zip|500.4 MB
Changelogs:
**13/05/2018**
Boot with F2FS without problems.
Fix Magisk.
Source Code:
Device Tree:
https://github.com/codeofhonor-dev/android_device_huawei_hi6250
Kernel GPL:
https://github.com/codeofhonor-dev/android_kernel_huawei_hi6250
Vendors:
https://github.com/hak86/android_vendor_huawei_hi6250
XDA:DevDB Information
AOSPA Paranoid for Hi6250, ROM for the Huawei P8lite/P8 Lite
Contributors
haky 86, Meticulus
Source Code: https://github.com/hak86/
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
ROM Firmware Required: Emiui 5.x
Based On: AOSP
Version Information
Status: Stable
Current Stable Version: 7.3.1
Stable Release Date: 2018-02-09
Created 2018-02-09
Last Updated 2018-02-08
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.
Click to expand...
Click to collapse
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.
Thank you for your awesome work! AOSPA is my fking favorite ROM.
NetfariousIntent said:
Thank you for your awesome work! AOSPA is my fking favorite ROM.
Click to expand...
Click to collapse
glad to hear that
I'll post in p9 lite and honor 6x sections later
here a screenshot of my friend that run on his p10lite and have almost 19%..
it is stable? can i try it?
---------- Post added at 09:44 AM ---------- Previous post was at 09:05 AM ----------
stuck at installing the rom. it says tested fir you p8 lite 2017 by haky86....... and it doesnt move at all
karasoulas said:
it is stable? can i try it?
---------- Post added at 09:44 AM ---------- Previous post was at 09:05 AM ----------
stuck at installing the rom. it says tested fir you p8 lite 2017 by haky86....... and it doesnt move at all
Click to expand...
Click to collapse
sounds like you didn't use my recovery.
https://basketbuild.com/devs/haky86/HuaweiP8Lite2017/TWRP
haky 86 said:
sounds like you didn't use my recovery.
https://basketbuild.com/devs/haky86/HuaweiP8Lite2017/TWRP
Click to expand...
Click to collapse
yup. works. i dont know why man. but the stock rom is faaaaar faster than ur roms. Not trying to be rude i love ur work but i dont know. maybe iim doing something wrong?
** Note **
**11/02/2018**
pa_hi6250-7.3.1-EOL-20180210.zip
Changelogs:
**11/02/2018**
possible fix for ril crashes
Hello, the Rom is running smoothly. Thank you. but the network is coming After 30 second going . What is the solution?
atsmurat said:
Hello, the Rom is running smoothly. Thank you. but the network is coming After 30 second going . What is the solution?
Click to expand...
Click to collapse
This is happening also to me, probably due to newer blobs on emui5.0.1 (I came from that version to AOSPA)
Also why permessive? I think debug it's done as everything works! Better enforcing
Thanks for your hardwork btw, very appreciated
sys01 said:
This is happening also to me, probably due to newer blobs on emui5.0.1 (I came from that version to AOSPA)
Also why permessive? I think debug it's done as everything works! Better enforcing
Thanks for your hardwork btw, very appreciated
Click to expand...
Click to collapse
Was happening to me until I flashed Gapps aroma with the new dialer and stuff. now everything works smoothly :/
atsmurat said:
Hello, the Rom is running smoothly. Thank you. but the network is coming After 30 second going . What is the solution?
Click to expand...
Click to collapse
sys01 said:
This is happening also to me, probably due to newer blobs on emui5.0.1 (I came from that version to AOSPA)
Also why permessive? I think debug it's done as everything works! Better enforcing
Thanks for your hardwork btw, very appreciated
Click to expand...
Click to collapse
some devices require the following flags in build.prop ;
ro.config.client_number=2
rild.libargs1=-m modem1
rild.libpath1=/vendor/lib64/libbalong-ril-1.so
rild.libpath=/vendor/lib64/libbalong-ril.so
rild.libargs=-m modem0
save and reboot, should fix the problem then.
NetfariousIntent said:
Was happening to me until I flashed Gapps aroma with the new dialer and stuff. now everything works smoothly :/
Click to expand...
Click to collapse
I use pico, always.
Sim keep disconnecting itself
It gives error while saving the finger print, both in this and the slim rom
atsmurat said:
It gives error while saving the finger print, both in this and the slim rom
Click to expand...
Click to collapse
Did you erase all of your fingerprints in stock ROM before flashing?
If not, flash elite ROM, erase fingerprints, and then flash this/slim back
CarlosAG10 said:
Did you erase all of your fingerprints in stock ROM before flashing?
If not, flash elite ROM, erase fingerprints, and then flash this/slim back
Click to expand...
Click to collapse
İ didnt erase fingerprints in Omni ROM . From that ?
Where is Elite Rom ?
haky 86 said:
some devices require the following flags in build.prop ;
ro.config.client_number=2
rild.libargs1=-m modem1
rild.libpath1=/vendor/lib64/libbalong-ril-1.so
rild.libpath=/vendor/lib64/libbalong-ril.so
rild.libargs=-m modem0
save and reboot, should fix the problem then.
I use pico, always.
Click to expand...
Click to collapse
Noto solve the SIM from disconnecting itself
Wire1122 said:
Noto solve the SIM from disconnecting itself
Click to expand...
Click to collapse
I will do a test-build post dinner, I fix the problems around here a few weeks ago on some roms!
Have You found the bug? I really want use your rom for Daily use.
** Note **
**13/02/2018**
pa_hi6250-7.3.1-EOL-20180213.zip
**13/02/2018**
Fix RIL crashes.
How to fix RIL Crashes?
Follow this post

[ROM][7.1.2] AOSPA Paranoid v7.3.1 for Honor 6x

Paranoid Android is a custom ROM aiming to extend the system, working on enhancing the already existing beauty of Android and following the same design philosophies that were set forward by Google for Android Open Source Project.
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]
[*]All devices that use hi6250 chipset and use kernel 4.1.
[/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.
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.
This ROM is provided by CodeOfHonor​
Installation Guide:
Make sure to the stock backup saved on pc, I'm not responsible for any bricked or damage.
Reboot to TWRP.
Go to Wipe.
Choose Advance Wipe.
Check on Data and change file system to EXT4, will not ever boot with F2FS.
Wipe cache, data, dalvik and system.
Flash the rom.
Reboot and have fun then.
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:
Dual sim might will not work all variants, so don't waste your time by asking me to fix it.
You don't like it?, easy revert to Emui 5.x.
Downloads:
**13/05/2018**
pa_hi6250-7.3.1-EOL-20180513.zip|500.4 MB
Changelogs:
**13/05/2018**
Boot with F2FS without problems.
Fix Magisk.
Source Code:
Device Tree:
https://github.com/codeofhonor-dev/android_device_huawei_hi6250
Kernel GPL:
https://github.com/codeofhonor-dev/android_kernel_huawei_hi6250
Vendors:
https://github.com/codeofhonor-dev/android_vendor_huawei_hi6250
XDA:DevDB Information
AOSPA Paranoid for Hi6250, ROM for the Honor 6X
Contributors
haky 86, HassanMirza01, felix-development
Source Code: https://github.com/codeofhonor-dev, Meticulus and the stuff of CodeOfHonor.
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
ROM Firmware Required: Emiui 5.x
Based On: AOSP
Version Information
Status: Stable
Current Stable Version: 7.3.1
Stable Release Date: 2018-04-27
Beta Release Date: 2018-04-27
Created 2018-04-27
Last Updated 2018-04-27
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.
Click to expand...
Click to collapse
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.
I'm coming from EliteRom 7.5 and I love AOSPA but there are 2 little problems I have with this rom.
First of all fingerprint doesn't work correctly, no matter how often I press my finger on the sensor it stays at the ~10% mark.
The other problem is that I don't know how to root this rom. I tried installing magisk manager and flashing the zip but I get error 1 in TWRP.
Except this issues it's working very nicely on my device.
Thanks in advance for helping me out
MadMurl0c said:
I'm coming from EliteRom 7.5 and I love AOSPA but there are 2 little problems I have with this rom.
First of all fingerprint doesn't work correctly, no matter how often I press my finger on the sensor it stays at the ~10% mark.
The other problem is that I don't know how to root this rom. I tried installing magisk manager and flashing the zip but I get error 1 in TWRP.
Except this issues it's working very nicely on my device.
Thanks in advance for helping me out
Click to expand...
Click to collapse
10% mark?
Did you entirely remove all the fingerprints before flashing this Tom?
Go back to Elite or Stock, remove all fingerprints and reinstall the Rom
For Root, you can try changing recovery or using an older version of Magisk that worked for you
I am currently reverting back to stock and will try to flash the rom again, I guess I didn't remove the fingerprints before flashing.
I tried Magisk Version 15 and 16 which both worked on EliteRom, I even tried SuperSu which didn't gave me an error message in twrp but It didn't work tho. After flashing the zip there was no "SuperSu" App so I downloaded it from the playstore, the app told me "root not found". Do you know what the cause of this could be?
Edit: Fingerprints are working now But root still doesn't
After I downgrade from emui 8 to emui 5 in 5 minutes now I can fix this rom so expect a build within these days
hoping to try this rom , following for updates
Hey guys I just installed the rom, but I did notice that I don't have access to any Gapps. How to I install them? I'm using TWRP. I was just able to get my unlock code from Honor today, so I unlocked and rooted, and flashed your rom as the first thing, so I'm running a fresh flash of the latest version.
Flash package with Twrp: https://opengapps.org/
Thanks guys, I realized that yesterday right after I posted lol. So far I'm really loving the plain stock-ness of this rom, hopefully it give the device some more life so I won't have to upgrade soon.
MadMurl0c said:
I am currently reverting back to stock and will try to flash the rom again, I guess I didn't remove the fingerprints before flashing.
I tried Magisk Version 15 and 16 which both worked on EliteRom, I even tried SuperSu which didn't gave me an error message in twrp but It didn't work tho. After flashing the zip there was no "SuperSu" App so I downloaded it from the playstore, the app told me "root not found". Do you know what the cause of this could be?
Edit: Fingerprints are working now But root still doesn't
Click to expand...
Click to collapse
Yeah I'm having the same issue to, with no root.
Can someone tell me why this rom is different to all others ? Why is this one using stock vendor and can we easy revert to Emui ? Why don't all others ?
I'm on stock now.
How is the quality of the photos compared to stock rom? It is possible to install Emui camera or other huawei cameras?
** Note **
developments of hi6250 is end reason: switch to another phone, have phone.
** Note **
Developments for hi6250 has been resumed but just for this ROM, sorry for the inconvenience.
I'm already downloading the source for releasing new build but AOSPA will take a wile since have bigger source.
** Note **
Downloads:
**13/05/2018**
pa_hi6250-7.3.1-EOL-20180513.zip|500.4 MB
Changelogs:
**13/05/2018**
Boot with F2FS without problems.
Fix Magisk.
Had anyone tried installing Xposed yet?
Support BLL version? Honor 6X
The rom overall is great and smoorh, even F2FS works now
But somehow magisk still doesn't work. It says
Code:
! System installed root detected, mount rw :(
when I try to flash the magisk.zip file.
MadMurl0c said:
The rom overall is great and smoorh, even F2FS works now
But somehow magisk still doesn't work. It says
Code:
! System installed root detected, mount rw :(
when I try to flash the magisk.zip file.
Click to expand...
Click to collapse
Guys to flash magisk or superSU use Meticulus TWRP, other twrp like eliteTwrp show an error when it is recompilling the boot.img

Categories

Resources