yashsingh1/xdaforums huggingface dataset:
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
[MENTION=8430705]elsamkary10[/MENTION]

Short answer: I'm sorry but dual sim is known to not work with that rom as it was made for the gra-l09 which is single sim (or is it dual in china?).

Long answer if you or someone else is investigating in a fix:

What needs to be done is what I mentioned here see my last response.

There's a phone.props file which I posted. One of these enumerated sections belongs to build.props (override if already existing).

Which of those it is I honsetly don't know and I found out the working one for the single sim version by just trying.

A few of them trigger the appearance of a 2nd sim card in the settings.

Maybe one could search with grep for these values in the rild files and libraries of the stock rom and it would find the right one. Gambling is an option as well. I already searched in the

modem partitions but nothing seems to match these values.

Also Speedo mentioned that he changed something in the init files. Potentially whatever change this was could belong to the vendor.init.extmodem.rc file in my rom.

If it doesn't already works with the correct build.prop values.

The drivers and libraries are in place but I just can't test it as my device is different.

Maybe someone with a GRA-UL00 could backup his/her build.prop and try these values (override/insert):

(found here . According to meandmyp1 this is the right block for this device)

ro.config.hw_dsda=true
ro.config.dsds_mode=umts_gsm
ro.multi.rild=true
rild.libpath1=/system/lib64/libbalong-ril.so
rild.libargs=-m modem0
persist.radio.multisim.config=dsda
ro.telephony.default_network=9
persist.dsds.enabled=true
rild.rild1_ready_to_start=true
rild.libargs1=-m modem1
rild.libpath=/system/lib64/libbalong-ril.so
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Kuccarina:
problem

I don't know maybe the service provider blocks the device based on the contract? It should not. Have you tried that sim with some other cm phone?

What happens when you try to make a call?[/QUOTE]

i did put my sim card in another phone and i could make calls ,but when i try to call with my phone ,it never makes a call ,it just stays on "calling...." .

Also people cannot call me ,i just get a message that i missed a call .
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] lespaul79:
i did put my sim card in another phone and i could make calls ,but when i try to call with my phone ,it never makes a call ,it just stays on "calling...." .

Also people cannot call me ,i just get a message that i missed a call .[/QUOTE]

That sounds like a reported phone. Does it ask you for a network code when you turn on the phone?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Kuccarina:
That sounds like a reported phone. Does it ask you for a network code when you turn on the phone?[/QUOTE]

No it does not ask for anything ,when people call me they go straight to voicemail and I can't call anyone .
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] lespaul79:
No it does not ask for anything ,when people call me they go straight to voicemail and I can't call anyone .[/QUOTE]

Have you tried deactivating call forwarding in call settings? And setting the sender id as operator default in more settings in call settings?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Kuccarina:
error

Have you tried deactivating call forwarding in call settings? And setting the sender id as operator default in more settings in call settings?[/QUOTE]

it does not let me change them as it says network or sim car errror
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] lespaul79:
it does not let me change them as it says network or sim car errror[/QUOTE]

my long occurred to me the same as you, in my case I bought a phone second hand, did everything and it turned out it was reported therefore had blocked the network but is you can try to call your operator to Unlock the network or try to solve your problem
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Kuccarina:
problem

my long occurred to me the same as you, in my case I bought a phone second hand, did everything and it turned out it was reported therefore had blocked the network but is you can try to call your operator to Unlock the network or try to solve your problem[/QUOTE]

so its a problem they have to fix right ? not something i can do ?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
[MENTION=8359928]Kuccarina[/MENTION]

It doesn't sound like a software problem. At least it contacts the mobile cell. Is it a sms from the provider or just the usual call missed message? What about mobile Internet?

I'd think the provider is blocking something here unless it doesn't happen with another rom on this device.

After all I can't really help. [MENTION=7626668]lespaul79[/MENTION] might be right. But when it's less trouble I'd flash the official rom and test it with that one first. I think the provider is going to say "uh oh well you have a custom rom we can't help anyway" without even trying.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Kuccarina:
problem

i did put my sim in another phone and i could call , but with this phone i cannot ,i do have 4g data and can send texts ,but i cannot receive or make calls ,when people call they go

straight to voice mail and i get and sms that i missed a call ,not the usual missed a call notification from the phone .

thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] lespaul79:
To me it happened to me as you say, I could not make calls, I received a message of missed calls, and I could not do anything because the phone I bought was reported and the company had it reported and blocked the network
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
No you better don't do that.

1. make a backup of the /system/build.prop file.

2. For each line check if it already exists. If yes then replace it if no then insert it.

3. You can brick the device and have to reflash when you change the wrong stuff. Chances are that the network stops working with the lines I posted. Then just put the backup file in place again.

You could also just attach the file and I will do the changes.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] elsamkary10:
Thanks Sir... This is my file

---------- Post added at 08:39 PM ---------- Previous post was at 08:32 PM ----------

Jam sorry I tried to attach it but failed

Can I copy it and paste here
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] ralfbergs:
How could that help?

---------- Post added at 09:42 PM ---------- Previous post was at 09:41 PM ----------

Just a shot in the dark: do you see a valid IMEI in settings > status?

---------- Post added at 09:44 PM ---------- Previous post was at 09:42 PM ----------

Ah, maybe only VoLTE works for your SIM, which would not be supported by this ROM?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Kuccarina:
But it did work for a couple of weeks ,i was thinking may i downloaded and app or something ,its quite confusing and anoying
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] lespaul79:
If it has been working because it does not try to wipes and reinstall the ROM so it could solve your problem

---------- Post added at 11:05 PM ---------- Previous post was at 10:26 PM ----------

From when a sim 4g can only make calls volte? It depends on software as well as the company and the receiver, it does not matter that you have a 4g and you can not make it volte, it will only lower the call to 3g or the default signal

---------- Post added at 11:06 PM ---------- Previous post was at 11:05 PM ----------

From when a sim 4g can only make calls come back? It depends on software as well as the company and the receiver, it does not matter that you have a 4g and you can not make it back, it will only lower the call to 3g or the default signal
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] ralfbergs:
As far as i know (but I'm certainly not sure!) there are networks (in the USA) where certain SIMs (depending on the booked tariff) can only attach to the 4G network, and can NOT do CSFB (circuit-switched fall back). That would be the only explanation that i can think of that would match the behaviour you described...
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] lespaul79:
can be, in my country is as I described, however if sim 4g card worked well with the rom and suddenly a problem occurred, maybe with wipes and reinstalling the rom could solve
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] elsamkary10:
I am like this room but battery drain ....every 1% take two minutes ...

Any solution for that
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] elsamkary10:
Please...I found this room comfortable but the vedio record in camera don't work with me ..just it hanging

How can I fix this problem
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] TucaoNicao:
You can use footej instead. That works.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] elsamkary10:
i will try it >>>but it working good with vedios >>>and what about overheating with browser and with playing vedios
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] elsamkary10:
This threat is dead !!!!! No one advice us or reply our comments .....we are very sad for lost our dream with fixing issue in this fantastic rom
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] murdge:
I'm using this Rom since april 2017 and it's working like a charme for me.

About battery draining - disable NFC and GPS. If you are using facebook - it's known for need a lot of battery.

With a full load should be good for ~ two days.

If you follow the installation guide from the first page your P8 should run.

Overheating while playing videos is a known problem - some things take time so please be patient.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] elsamkary10:
Thanks sir and also overheat with games
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] FrostPE:
This may help with development.

Original Huawei P8 (GRACE) Source Code for Android 6.0 Marshmallow:

https://app.box.com/s/404erlyaglwi76au3ixx1s6fniib74ko

http://download-c1.huawei.com/downl...oadId=89583&version=402736&siteCode=worldwide
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] 00471:
i doubt there is such thing as development for P8 anymore
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] SprinkCal:
Anybody know how to revert to stock rom? If so can you post instructions? Future thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] :
Downloads latest update.app and extract it with Huawei Update Extractor (google)

Factory reset. Then flash system, boot and recovery from there.

Then place the update to DLOAD and let it run it all the way to ensure fully updated system.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] SprinkCal:
Thanks man going to do it now. Do you happen to know what it the button combo to go to update page?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] :
Put this to dialer: *#*# 2846579#*#*
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] SprinkCal:
Okay umm I haven't gotten that far I get an error message in adb command

PS C:\adb> fastboot flash system system.img

error: cannot load 'system.img'

Won't let me flash the img and not sure what to do.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] :
Use full path to the system.img and/or make sure the file is in C:\adb
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Paloik:
Does anybody know how to encrypt the phone? If i start the encryption procedure from the security menu the phone only reboots and nothing happens.

For my old Motorola razr i with LOS 11 was the authors solution to "... disable the PDS partition backup.

Boot ones without encrytion enabled

Backup the file /data/pdsdata.img to a secure location somewhere else (not on the phone, for safe keeping)

Rename the file /system/bin/pdsbackup.sh to pdsbackup.bk or something else

Reboot and encrypt the device"

But for the Huawei cm13 there is no file like this, or I haven't found it
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
Mimimimimi.... sry xD.

No but seriously I put 6-9 Months effort in that rom. I'm tired! I'm working and have a personal live consisting not only of serving the communitys needs.

I still don't see many custom roms altough the source is public. Why is that?

I and a handful of other people did most of the work. It should not rely on that few people to keep it up.

To address the issues which were addressed plenty of times (just go back instead of asking the same things over and over again):

I always used this rom. Power drain? Ok I don't have issues with that it lasts 1 1/2 days average for me. I don't know what you run in the background but I have about 100 apps installed and use the device during most of my free time when I'm not at home. That's quite a lot. Disable GPS, NFC, Bluetooth and Wlan if you don't need it. And use battery monitoring tools to get rid off some apps. I did this when I tried to improve it for the device and took the system components out which cause that drain. It's most certainly not the system

Overheat? Sure it becomes quite warm when playing high quality videos, playing games and browsing without addblocker. What do you expect from high CPU usage? Someone could fix the Hardware decoder to improve this a little for videos. That indeed does not work righ. Moonlight app made me notice it. That would also fix some yt 1080@60fps playback.

Another complain: Can't record videos. Well use footej then. It's because the cm camera app uses a new api and the Huawei blobs don't support that. Quite a lot of work to fix it.

These are all things which I agree on. And after all they are to my impression not severe enough to put in another few weeks of work in my limited free time.

Then there's other stuff I can't help with. Like the sim card that suddenly stops working. Whoch is most likely no the ROMs fault.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Speedo.thc:
Hi, maybe the nicer answer possible, thx for all what you did.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
You're right for the moment from my side.

There are 2-3 bugs. Ok. Someone with enough time may fix it. Probably not me.

But don't forget that apart from that there's no Android 7 support for this device. It ends with Android 6.0 or CM 13.

I'm thankfull for the links [MENTION=7821354]FrostPE[/MENTION] and if I will pick up the project again because things start to annoy me, no one else does it or I just feel like it, then I will look at it. Previously there was such a link but it only contained the original sourcecode not the one altered by huawei. If this is truely the whole source they used then it might help a lot.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] Overloke:
I know this ROM is essentially DOA, but is the issue with the network signal not being reported correctly still common, and if it's not, has a fix been found?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] hamzio7:
Can you port this ROM for mate 7 and honor 6 too? Please...there is a working AOSP ROM but has a few bugs...my phone is still fast and I'm tired of EMUI 4.0
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] jsbeyond:
Who can share the link of this rom?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] ionutzpaul61:
the links are still there and working, but is not a "rom.zip" you have to flash manualy recovery.img , boot.img and system.img
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] -Angel:
urgente! answer

friend would like to know if this room works the phone signal to make calls and receive without problems, because I want to install it in the normal p8 I have

that's why I would like your answer
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] redcquiem:
Yes, you can make calls without problems. I use this ROM in my daily live and the only problems is what you see in OP and the battery life is higher in stock
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] outlim248:
GRA-CL00 works fine in China.Nice work.:)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] chenbser:
hi ! l want to build the rom ,but l got an error and I can't solve it . Could you give me some suggestions ，please

the error is

make: *** No rule to make target /home/chen/cm13/out/target/product/hwgra/obj/EXECUTABLES/healthd_intermediates/LINKED/healthd"needed by“/home/chen/cm13/out/target/product/hwgra/obj/STATIC_LIBRARIES/libminui_intermediates/libminui.a”。 Stop。

thank!:)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] chenbser:
hi ! l want to build the rom ,but l got an error and I can't solve it . Could you give me some suggestions ，please

the error is

make: *** No rule to make target /home/chen/cm13/out/target/product/hwgra/obj/EXECUTABLES/healthd_intermediates/LINKED/healthd"needed by“/home/chen/cm13/out/target/product/hwgra/obj/STATIC_LIBRARIES/libminui_intermediates/libminui.a”。 Stop。

thank!

Sorry, I asked the same question twice. I really want to know the answer. Thank you.

---------- Post added at 08:56 AM ---------- Previous post was at 08:26 AM ----------

hi ! l want to build the rom ,but l got an error and I can't solve it . Could you give me some suggestions ，please

the error is

make: *** No rule to make target /home/chen/cm13/out/target/product/hwgra/obj/EXECUTABLES/healthd_intermediates/LINKED/healthd"needed by“/home/chen/cm13/out/target/product/hwgra/obj/STATIC_LIBRARIES/libminui_intermediates/libminui.a”。 Stop。

thank!

Sorry, I asked the same question twice. I really want to know the answer. Thank you.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] RC02:
Can this ROM go into the CPU deep sleep mode?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
To everyone who want's to build it.

Quite some time has passed since I last built the rom. I'm not working actively on it anymore as right now I just don't have the energy to do so.

Plus meanwhile cyanogenmod doesn't exist anymore and is now called lineage OS. If all the sources are still available from the CM repository these instructions I send once or twice to someone via PN might work. But be aware that it took myself quite a bit of time to figure out all the build problems. If you're not familiar with it you certainly will need to fiddle with it. I would probably need to invest just as much time as you for a specific problem. It's likely that something with the downloaded build environment is wrong. These no rule to make target did only occur in such cases for me.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] :
Are you planning another update or something?

Thanks for this rom, I use everyday
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] mharchus:
will this work on Huawei P8 GRA-UL10 C185B391? thanks
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] pd1loi:
Tried everything but I can't get a (rootet) unlock on my P8.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] m4ck_99:
Hi can you create nethunter kernal for huawei p8 (gra-ul00) it would be a great help
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] raiga93:
Hello Everyone!

That ll be a rookie question i know, but.... Where i can download the files (boot and system.img)? o_O

I can download the official things, but i can't find the custom ROM file links.

Thanks for the answer(s)! :)
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] user_x25:
Yes, I think that making an own build of CM for the device is a really big satisfaction for the dev and all the users that we are. I wish you will have tons of luck.
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] GodzillaMonster:
Interesting. Bit tricky to figure out without reading the code that uses this struct.

My wild guess is that the frameBuffer is not being set correctly and either points to random memory, or is not sized correctly. It might be in the right sort of memory sometimes, and then you see an image (but probably it's written over plenty of useful stuff as a result). Other times it's pointing to addresses that will generate a SEGV.

Is there somewhere I can see the code that your are stepping through?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] ralfbergs:
This doesn't boot for me -- endless loop. I have to reflash new_twrp.img to have a working TWRP (although 2.8.7.1).

Any advice what I might be doing wrong?

Can you confirm this is the correct MD5?

fa69abbbf4e2647438f7493fc44e99f0 *14_09_2016_GRA_L09_TWRP_3.0.2.img
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] fpippo1999:
Me too
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] user_x25:
I see the project is going on very well. Nice job, keep us updated!

Inviato dal mio HUAWEI GRA-L09 utilizzando Tapatalk
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] nexolight:
md5 is fa69abbbf4e2647438f7493fc44e99f0 I just downloaded that image from the download link and flashed it again to recovery and recovery2 both of them work fine for me. Notice that the device boots into recovery 2 on PWR+VOLUP when the usb cable is connected. By default this is some kind of huawei recovery.

Could I have some more information? Exact device version (there are multiple P8's) System version would be interesting too. Stock or not? The only thing I could imagine is that the recovery contains some useless stuff in the init.rc which causes the recovery not to boot with the origin rom. However it worked for me fine even with a wiped system partition.

What does "endless loop" mean (what do you see)?

Just in case you have an unlocked bootloader and flashed it trough fastboot ?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] GodzillaMonster:
Thanks for the stackdump and the url of your github repo. I can't offer any more suggestions without trying this myself, unfortunately.

I presume the blob you have have is exactly the right one for your particular P8 variant, and that you've tried other ones?
[Huawei P8 ROMs, Kernels, Recoveries, & Other Devel] ralfbergs:
Thanks for confirming, this is exactly the MD5 I got.

I flashed it into recovery2 with fastboot, flashing was fine (no err msg). When I tried to start it as you described above after the Huawei logo was displayed for a while, it would simply reboot, and the whole procedure repeats itself. I keep the VolUp key depressed all the time.

GRA-L09 with a Vodafone Marshmallow 6.0 build.

I wonder why Jimmini's "new_twrp" works properly?

Confirmed.