• 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][12/05/2018] CodeOfHonor's AOSPA Paranoid v7.3.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)
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**
Changelogs:
**13/05/2018**
  • Boot with F2FS without problems.
  • Fix Magisk.


Source Code:

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
 

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: NetfariousIntent

karasoulas

Member
May 1, 2016
35
4
0
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
 

sys01

Senior Member
Apr 18, 2014
629
1,379
0
21
Fermignano
Hello, the Rom is running smoothly. Thank you. but the network is coming After 30 second going . What is the solution?
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 :)
 

NetfariousIntent

Senior Member
Nov 6, 2016
284
317
0
Server Room
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 :)
Was happening to me until I flashed Gapps aroma with the new dialer and stuff. now everything works smoothly :/
 

haky 86

Recognized Contributor
Oct 5, 2012
3,321
7,381
113
Hama (Syria)
Hello, the Rom is running smoothly. Thank you. but the network is coming After 30 second going . What is the solution?
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 :)
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.

Was happening to me until I flashed Gapps aroma with the new dialer and stuff. now everything works smoothly :/
I use pico, always.
 

Wire1122

Senior Member
Jun 18, 2016
343
30
0
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.
Noto solve the SIM from disconnecting itself
 
Status
Not open for further replies.