Huawei P9 [ROM][Android 7.0][EMUI 5.0.1][European Firmware b398]*MagicRainbow* v4

Victor7w7

Member
Aug 5, 2018
20
1
0
Have you also done the "Safetynet-Workaround in Magisk-Edition" from Post #1 OP?

There's a module, but it doesn't help if the basic integrity is not true.
This can occur if you have deleted apps from system or modified system.
For example, if you have installed Xposed Framework (it's not possible to pass safetynet with Xposed)

Try out first the workaround from OP
Then the problem is "xposed", you will have to uninstall it. thanks for the help, I liked MagicRainbow and I hope that MagicRainbow5 soon comes out:fingers-crossed::)
 
Last edited:
  • Like
Reactions: Tecalote

IdeasX3

Member
Mar 27, 2013
43
9
38
Hi, any way to replace the bootanimation...i just wanted to change it with the original one, but not possible. Is there any other filemanager to do with it. I tried "es filemanager".
BTW, thanks for the perfect Rom, it works great. Screenshot_20180920-115657.jpeg

Gesendet von meinem EVA-L09 mit Tapatalk
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Hi, any way to replace the bootanimation...i just wanted to change it with the original one, but not possible. Is there any other filemanager to do with it. I tried "es filemanager".
BTW, thanks for the perfect Rom, it works great.

Gesendet von meinem EVA-L09 mit Tapatalk
Hi :)

This is a permission problem.
The path is restricted.
You can do it only with TWRP /Advanced /Filemanager - but you have to mount the product partition before with TWRP /Mount.

Just copy with TWRP Filemanager the new Bootanimation to: /product/etc/media
The old one will be replaced. The new one should not have more than about 15 MB.

Then go back in TWRP to the main menu and use "Reboot" but SHUT DOWN.
Then restart Phone with Power Button.
If you miss this step, Bootanimation will be prevented and you have then only default "Google" Animation on Black Screen.
 
  • Like
Reactions: IdeasX3

leodo5

New member
Jun 10, 2014
2
0
0
Install factory ROM

Hi.

I am having faults with the fingerprint reader, the operating system does not detect it. I want to reinstall the factory rom, how should I do it?
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Hi.

I am having faults with the fingerprint reader, the operating system does not detect it. I want to reinstall the factory rom, how should I do it?
Which Build-Number was the last official Huawei Firmware you had installed before switching to a Custom Rom?
What was your previous system, before you installed this Rom?
 

Rezei

Senior Member
Dec 30, 2015
317
110
0
Which Build-Number was the last official Huawei Firmware you had installed before switching to a Custom Rom?
What was your previous system, before you installed this Rom?
I have the same issue as the guy you replied to two days ago and wanted to go back to stock. I followed your guide on how to go back to stock but my problem was that i dont remember which Firware I had before installing V3 of MR. It worked till the point of where it shouzld install the stock ROM but then the recoveryy told me that the Firmware file cant be found and rebooted. I wanted to install TWRP again and did so by fastboot, but now TWRP wont boot and I dont know what to do.
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
I have the same issue as the guy you replied to two days ago and wanted to go back to stock. I followed your guide on how to go back to stock but my problem was that i dont remember which Firware I had before installing V3 of MR. It worked till the point of where it shouzld install the stock ROM but then the recoveryy told me that the Firmware file cant be found and rebooted. I wanted to install TWRP again and did so by fastboot, but now TWRP wont boot and I dont know what to do.
Can you still boot to Fastboot (switch off, connect by USB to PC, boot by Vol- & Pow), and does it show in Fastboot that Bootloader is unlocked (at least that FRP is unlocked)?

Then, you can follow HWOTA7 guide
https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849

Do the steps:
- unlocking Bootloader
- changing Location (select L09c432 or so) - in case you are not sure what was your model/cust
- install 3 ZIPs as downloaded for the given cust
- reboot to Recovery and Factory reset

For HowTo, see OP posts #1-#3, skip over Oreo instructions

Hope will do, otherwise you may try HuRUpdater
 

Rezei

Senior Member
Dec 30, 2015
317
110
0
Can you still boot to Fastboot (switch off, connect by USB to PC, boot by Vol- & Pow), and does it show in Fastboot that Bootloader is unlocked (at least that FRP is unlocked)?

Then, you can follow HWOTA7 guide
https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849

Do the steps:
- unlocking Bootloader
- changing Location (select L09c432 or so) - in case you are not sure what was your model/cust
- install 3 ZIPs as downloaded for the given cust
- reboot to Recovery and Factory reset

For HowTo, see OP posts #1-#3, skip over Oreo instructions

Hope will do, otherwise you may try HuRUpdater
Thanks for the reply. I'll try your suggestion today once home. Just some questions.

The guide says I need the bootloader unlock code. That one's hard to get now though unless you pay. My bootloader is unlocked though so I don't know if I need the code still. And secondly, would flashing TWRP through the other guide work? I can't get it to boot even when flashing through ADB and fastboot.
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Thanks for the reply. I'll try your suggestion today once home. Just some questions.

The guide says I need the bootloader unlock code. That one's hard to get now though unless you pay. My bootloader is unlocked though so I don't know if I need the code still. And secondly, would flashing TWRP through the other guide work? I can't get it to boot even when flashing through ADB and fastboot.
You must boot to TWRP immediately upon flashing TWRP, otherwise you loose TWRP and you may flash it again and again:
https://forum.xda-developers.com/p9...rainbow-v4-t3759292/post77622126#post77622126

Your Bootloader is unlocked, it means you already had the code - you had to keep it since it is one and the same code for your particular device
(Newer Huawei builds automatically lock Bootloader, hence you will need the same code if you would want to install TWRP, etc)

I used HWOTA7 a month+ ago, I'm not sure but I think it always started by asking for the Bootloader code (even if Bootloader was already unlocked)
Not sure, maybe it's improved in the newer version, or you can trick it - but really, you must have and keep it saved the Bootloader code for modding your phone
 
Last edited:

Rezei

Senior Member
Dec 30, 2015
317
110
0
You must boot to TWRP immediately upon flashing TWRP, otherwise you loose TWRP and you may flash it again and again:
https://forum.xda-developers.com/p9...rainbow-v4-t3759292/post77622126#post77622126

Your Bootloader is unlocked, it means you already had the code - you had to keep it since it is one and the same code for your particular device
(Newer Huawei builds automatically lock Bootloader, hence you will need the same code if you would want to install TWRP, etc)

I used HWOTA7 a month+ ago, I'm not sure but I think it always started by asking for the Bootloader code (even if Bootloader was already unlocked)
Not sure, maybe it's improved in the newer version, or you can trick it - but really, you must have and keep it saved the Bootloader code for modding your phone
I'll try booting TWRP right after lashing it then.

About the code. I had it saved once. But now I lost it, I think...
I'll only have the payment method then. But anyway. Thanks for your help. I'll try what you suggested once home and report back.
 

Rezei

Senior Member
Dec 30, 2015
317
110
0
You must boot to TWRP immediately upon flashing TWRP, otherwise you loose TWRP and you may flash it again and again:
https://forum.xda-developers.com/p9...rainbow-v4-t3759292/post77622126#post77622126

Your Bootloader is unlocked, it means you already had the code - you had to keep it since it is one and the same code for your particular device
(Newer Huawei builds automatically lock Bootloader, hence you will need the same code if you would want to install TWRP, etc)

I used HWOTA7 a month+ ago, I'm not sure but I think it always started by asking for the Bootloader code (even if Bootloader was already unlocked)
Not sure, maybe it's improved in the newer version, or you can trick it - but really, you must have and keep it saved the Bootloader code for modding your phone
Okay, so... I tried booting into TWRP by pressing VOL+ as soon as I pressed enter. I unplugged the phone right away too but it still gets stuck on the "Your device is booting now..." screen.


EDIT: Got TWRP back.
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Okay, so... I tried booting into TWRP by pressing VOL+ as soon as I pressed enter. I unplugged the phone right away too but it still gets stuck on the "Your device is booting now..." screen.
Are you 100% sure that you're flashing the right TWRP, exactly from OP post #1 in this thread: twrp-3.1.1-1-eva_extended.img

Does Fastboot report on the PC side that flash was successful?

If not to TWRP, can you boot to System?
 
  • Like
Reactions: Rezei

Rezei

Senior Member
Dec 30, 2015
317
110
0
Are you 100% sure that you're flashing the right TWRP, exactly from OP post #1 in this thread: twrp-3.1.1-1-eva_extended.img

Does Fastboot report on the PC side that flash was successful?

If not to TWRP, can you boot to System?
Yes. I tried flashing the wrong TWRP the whole time I got it back now. But what should I do now? I know my model is L09c432. And I should download 3 firmware files from FF. But what about the buildnumbers? Thats why my flash failed before, no?
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Yes. I tried flashing the wrong TWRP the whole time I got it back now. But what should I do now? I know my model is L09c432. And I should download 3 firmware files from FF. But what about the buildnumbers? Thats why my flash failed before, no?
So now it boots to the (right) TWRP?

Then proceed again with HWOTA as in post #2.
You said you had MR v3, then it was probably b393
 
  • Like
Reactions: Rezei

Rezei

Senior Member
Dec 30, 2015
317
110
0
So now it boots to the (right) TWRP?

Then proceed again with HWOTA as in post #2.
You said you had MR v3, then it was probably b393
It boots into the right TWRP, yes.

Do you mean HWOTA7 or the HWOTA guide in this thread?
Also, maybe worth noting. FF seems to be down. As far as I remember I downloaded b389 firmware back then when I wanted to flash stock. Can I use that?
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
It boots into the right TWRP, yes.

Do you mean HWOTA7 or the HWOTA guide in this thread?
Also, maybe worth noting. FF seems to be down. As far as I remember I downloaded b389 firmware back then when I wanted to flash stock. Can I use that?
I meant HWOTA, it's simpler.
You may try with b389 but you probably had b394
FF (Team MT) server goes up and down (ISP issues), you can try your luck every few mins

PS:
There was an older version of HWOTA, where @Tecalote already included ZIPs (hence, you don't depend on FF), you have b394 there
https://forum.xda-developers.com/showpost.php?p=74913874&postcount=3

It's the same thing as HWOTA in MR v4 thread, but in MR v4 it was adapted for self-service that everybody must download himself from FF

In this older HWOTA from MR v3 thread, particular builds were already 'hardcoded'
 
Last edited:
  • Like
Reactions: Rezei

Rezei

Senior Member
Dec 30, 2015
317
110
0
I meant HWOTA, it's simpler.
You may try with b389 but you probably had b394
FF (Team MT) server goes up and down (ISP issues), you can try your luck every few mins

PS:
There was an older version of HWOTA, where @Tecalote already included ZIPs (hence, you don't depend on FF), you have b394 there
https://forum.xda-developers.com/showpost.php?p=74913874&postcount=3

It's the same thing as HWOTA in MR v4 thread, but in MR v4 it was adapted for self-service that everybody must download himself from FF

In this older HWOTA from MR v3 thread, particular builds were already 'hardcoded'
I just tried doing it with the old HWOTA method. It gives me an check_write_data_to_partition,write data error in the TWRP log. I have put the files on my SD card. Not the internal storage. I assume thats not the issue? It does not even install the stock recovery.
 
Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
I just tried doing it with the old HWOTA method. It gives me an check_write_data_to_partition,write data error in the TWRP log. I have put the files on my SD card. Not the internal storage. I assume thats not the issue? It does not even install the stock recovery.
External SD is okay, it doesn't work from Internal storage.
Make sure, external SD is formatted with exFAT and not FAT32
 
  • Like
Reactions: Rezei

leodo5

New member
Jun 10, 2014
2
0
0
Which Build-Number was the last official Huawei Firmware you had installed before switching to a Custom Rom?
What was your previous system, before you installed this Rom?
I had the C432 B398 when I installed this rom, how do I get back to the original stock rom c432 b398?