Huawei P9 [ROM][Android 7.0][EMUI 5.0][European Firmware b386 based]*MagicRainbow* v2

Phiver13

Member
Aug 3, 2016
45
3
8
Marseille
Hi all!
It's me again, after a test with xposed for 7.0 (worked well by the way), I made a mistake with a test.
Before trying I made a backup of course with twrp.
But my trouble is after a factory reset, go back in l09c432136 I can't install twrp and go back with my save.
The bootloader is unlocked and every time I have this message in fastboot: "failed remote: image verification error"
:(
Somebody had the same trouble? Or a solution for me please?

Thanks in advance!
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Hi all!
It's me again, after a test with xposed for 7.0 (worked well by the way), I made a mistake with a test.
Before trying I made a backup of course with twrp.
But my trouble is after a factory reset, go back in l09c432136 I can't install twrp and go back with my save.
The bootloader is unlocked and every time I have this message in fastboot: "failed remote: image verification error"
:(
Somebody had the same trouble? Or a solution for me please?

Thanks in advance!
Q) Maybe, Develoment options: OEM Unlocking greyed out and Off; Fastboot screen: FRPlocked?

On which build number are you now?

If you are on c432b38x/b39x, and answer on Q is yes, then follow steps 1-12
https://forum.xda-developers.com/showpost.php?p=73131443&postcount=321

Skip steps 7-8, and in step 9 nowadays you will probably receive OTA upgrades up to b391
 
Last edited:
  • Like
Reactions: Tecalote

Phiver13

Member
Aug 3, 2016
45
3
8
Marseille
Q) Maybe, Develoment options: OEM Unlocking greyed out and Off; Fastboot screen: FRPlocked?

On which build number are you now?

If you are on c432b38x/b39x, and answer on Q is yes, then follow steps 1-12
https://forum.xda-developers.com/showpost.php?p=73131443&postcount=321

Skip steps 7-8, and in step 9 nowadays you will probably receive OTA upgrades up to b391
OEM Unlock and not greyed, FRP Unlock also
Now I'm in c432B170
I paid DC Unlock to format everything and start again
I'm afraid I have to start again :(

I'm gonna try your post before :)
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
OEM Unlock and not greyed, FRP Unlock also
Now I'm in c432B170
I paid DC Unlock to format everything and start again
I'm afraid I have to start again :(

I'm gonna try your post before :)
As pointed above (for rollback), you don't need to go below b182

Rollback procedure exactly as above (without b136, b170...) several of us have followed and everything went ok

And once you come back to b386/b391, do not use your previous TWRP backups
 

Phiver13

Member
Aug 3, 2016
45
3
8
Marseille
As pointed above (for rollback), you don't need to go below b182

Rollback procedure exactly as above (without b136, b170...) several of us have followed and everything went ok

And once you come back to b386/b391, do not use your previous TWRP backups
No still the same error when I want to flash the recovery...
Don't know how to manage that :(
I'm in b386 for the moment
 

Attachments

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Now I'm in B390 and OEM in greyed...
I had similar case with b386 and resolved it by rollback (b300, b182, OTA) as it was described above
But if you go other ways (b136, b170?) I don't know.
And not only me, go into that Root SR 2.81 thread, search for FRP, you will find several others who did the same and it worked.
Sorry, I cannot help you more
 
  • Like
Reactions: Phiver13

Phiver13

Member
Aug 3, 2016
45
3
8
Marseille
I had similar case with b386 and resolved it by rollback (b300, b182, OTA) as it was described above
But if you go other ways (b136, b170?) I don't know.
And not only me, go into that Root SR 2.81 thread, search for FRP, you will find several others who did the same and it worked.
Sorry, I cannot help you more
Thanks a lot :)
I'm gonna try that now
I'll tell you the result
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Thanks a lot :)
I'm gonna try that now
I'll tell you the result

Hi, you were on b390 and everything was okay - because it's absolutely normal that OEM is greyed out!
And this doesn't matter, important is only that OEM Unlock is enabled! - and it is enabled in your Screenshot.

Only with Magisk Root OEM Unlock is not greyed out.

So there's no need to make another downgrade to Android 6.

The other thing is I guess you use a wrong TWRP.
Because Huawei P9 has TWRP 3.1.1-1-eva.img and not venus.img (your adb/fastboot Screenshot shows 3.1.1-0-venus.img

The right TWRP is here:
https://forum.xda-developers.com/p9/development/twrp-t3565703

The TWRP you use is the wrong one (and btw too big in size - this is even told by adb window)

What does your Bootloader Screen show?
There must be written in red color Bootloader unlocked and FRP Unlocked.

Sometimes the Bootloader shows unlocked, but it is locked.
You can check with
fastboot oem get-bootinfo
 

Phiver13

Member
Aug 3, 2016
45
3
8
Marseille
Hi, you were on b390 and everything was okay - because it's absolutely normal that OEM is greyed out!
And this doesn't matter, important is only that OEM Unlock is enabled! - and it is enabled in your Screenshot.

Only with Magisk Root OEM Unlock is not greyed out.

So there's no need to make another downgrade to Android 6.

The other thing is I guess you use a wrong TWRP.
Because Huawei P9 has TWRP 3.1.1-1-eva.img and not venus.img (your adb/fastboot Screenshot shows 3.1.1-0-venus.img

The right TWRP is here:
https://forum.xda-developers.com/p9/development/twrp-t3565703

The TWRP you use is the wrong one (and btw too big in size - this is even told by adb window)

What does your Bootloader Screen show?
There must be written in red color Bootloader unlocked and FRP Unlocked.

Sometimes the Bootloader shows unlocked, but it is locked.
You can check with
fastboot oem get-bootinfo

Still block with the recovery.
I guess it's the bootloader telling unlock and finally no.
I'm gonna check everythings
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Still block with the recovery.
I guess it's the bootloader telling unlock and finally no.
I'm gonna check everythings
Yes, but first check TWRP - because you use one for another device instead the right one for P9!

If Bootloader is locked (fastboot oem get-bootinfo)
You must unlock your Bootloader again.
Phone makes then low-level wipe
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Still no... :(
And now I have a error with the bootloader code!
Don't understand

Okay then make a downgrade with the steps which are mentioned by @zgfg

(... b300, b182..) If you are on b182 enable OEM Unlock and flash Unlock Code.
You must use then TWRP for Android 6 (not the one for Nougat!)
After unlock Bootloader and low-level wipe, flash b182 once again and enable again OEM Unlock and USB Debugging and unknown sources (in Advanced /Security settings)
After you should receive OTAs to Nougat b383, b386, b390, b391 or similar.
Bootloader stays open.
Once you are back on b391 make sure
Developer Options enabled and in there
OEM Unlock (enabled, but greyed out)
ADB Debugging and USB Debugging (first enable ADB Debugging and after USB Debugging, otherwise it stays not enabled)
Then flash TWRP xxx.-eva.img
After you should have done it successfully :)
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Okay then make a downgrade with the steps which are mentioned by @zgfg

(... b300, b182..) If you are on b182 enable OEM Unlock and flash Unlock Code.
You must use then TWRP for Android 6 (not the one for Nougat!)
After unlock Bootloader and low-level wipe, flash b182 once again and enable again OEM Unlock and USB Debugging and unknown sources (in Advanced /Security settings)
After you should receive OTAs to Nougat b383, b386, b390, b391 or similar.
Bootloader stays open.
Once you are back on b391 make sure
Developer Options enabled and in there
OEM Unlock (enabled, but greyed out)
ADB Debugging and USB Debugging (first enable ADB Debugging and after USB Debugging, otherwise it stays not enabled)
Then flash TWRP xxx.-eva.img
After you should have done it successfully :)
Why should he install TWRP over Android 6?
If he rolls back and let OTA bring him to b386/,b391 again, he will then unlock and install TWRP for Nougat.

But ok, makes sense, if you want him to double-check whether the bootloader will be correctly unlocked already on b282, before he upgrades back to Nougat
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Same trouble.
Bootloader unlock
But can't install twrp b391 or b182 same result...
Strange

I haven't heard about such problems, because if Bootloader is really open and FRP unlocked, there's no reason why it should not possible to flash TWRP.
So you do something wrong, but it's difficult to recognize what...

I use always Minimal ADB and Fastboot Mode in administrative mode with TWRP img in program folder.
With same command you use I haven't anytime an issue flashing TWRP