Huawei P9 [ROM][Android 7.0][EMUI 5.0.1][European Firmware b394]*MagicRainbow* v3

RandomQuezoPH

Senior Member
Sep 29, 2016
79
12
0
-
I installed the TWRP using "ADB fastboot flash recovery twrp-3.1.1-1-eva_extended.img" but after going inside the TWRP, It shows the same version. Is that ok? Or I should see any signs that has "extended" in it? Also, I don't have the Hawei File Manager and Huawei-ID in Magisk hide, is that ok? And my ctsProfile:False. I already followed the Safety Net workaround and disabled play protect, still no good
 
Last edited:

philivm

Senior Member
Jul 21, 2010
61
8
0
Augsburg
Great rom, thanks for your work! :) I'm very lucky with it. Battery life is great compared to stock rom and other custom roms!

One question: my bluetooth is not working, when i switch it on it switches off itself ... had this issue also on stock sometimes but after reboot it was working again ... now it's not.
Is there any way i can fix this?
I'm on a german EVA L09 ...

And does anyone know if there's a way to get the original huawei camera app?

Thanks for your answers!
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
I installed the TWRP using "ADB fastboot flash recovery twrp-3.1.1-1-eva_extended.img" but after going inside the TWRP, It shows the same version. Is that ok? Or I should see any signs that has "extended" in it? Also, I don't have the Hawei File Manager and Huawei-ID in Magisk hide, is that ok?
Hi there ;)
TWRP is the same version - but you have more backup options - in my extended version you can backup:
boot, cache, cust, OEMinfo, data, system, vendor, product, version
in original version you can only backup:
boot, cache, data, system, vendor

In Magisk Manager the two Apps you are searching for: Huawei File Manager = Files (com.huawei.hidisk) - and Huawei-ID = Huawei Mobile Services (after it got an update through Playstore or by the App itself)
 

Attachments

  • Like
Reactions: RandomQuezoPH

RandomQuezoPH

Senior Member
Sep 29, 2016
79
12
0
-
Hi there ;)
TWRP is the same version - but you have more backup options - in my extended version you can backup:
boot, cache, cust, OEMinfo, data, system, vendor, product, version
in original version you can only backup:
boot, cache, data, system, vendor

In Magisk Manager the two Apps you are searching for: Huawei File Manager = Files (com.huawei.hidisk) - and Huawei-ID = Huawei Mobile Services (after it got an update through Playstore or by the App itself)
Sorry but there's still no Files nor Huawei Mobile Services available. BTW I'm on L19
 
Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Great rom, thanks for your work! :) I'm very lucky with it. Battery life is great compared to stock rom and other custom roms!

One question: my bluetooth is not working, when i switch it on it switches off itself ... had this issue also on stock sometimes but after reboot it was working again ... now it's not.
Is there any way i can fix this?
I'm on a german EVA L09 ...

And does anyone know if there's a way to get the original huawei camera app?

Thanks for your answers!
Hello :)
The Rom contains the original Huawei Camera app for Firmware b394.
Bluetooth is working very well in this Rom - tested by several Users with connections to different Bluetooth devices - it seems, this is an issue special on you device. Perhaps some old conflict which was not cleaned or a hardware issue.
You can try following: Open settings /apps - use button below: more - show systemprocessing , go to Bluetooth-Sharing and inside to storage - and delete there data and cache.
After go back to settings /apps and navigate to: settings - inside open storage and delete also data and cache - at that moment settings switching away. This does not matter. Reboot your phone, you can open settings again. Try Bluetooth now. If it does not work tell me.
 

RandomQuezoPH

Senior Member
Sep 29, 2016
79
12
0
-
Interesting...
Do you have Huawei ID in native settings before Apps and Accounts?
wich cust do you have - did you flash data-files_patch after installing Rom and before first reboot?
Here, I uploaded my native settings. Before flashing ROM, I checked my cust so I downloaded L19c432-data-files_patch. And yes, I flashed the patch after installing ROM and first Reboot. I didn't download KangV because I think that I have nothing to do with it. Even before when I'm on your MagicRainbow v2 I don't have the stock file manager, only the Mixplorer.
 

Attachments

Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
..... So I wanna fresh clean huawei firmware, making my devices brand new and unlock, twrp, rom again.
Thanks in advance!
Okay - I had no time yet, but for the future I will provide a flashable zip to come back to Stock Rom. But for the moment you must do following:

1) Backup your apps with data (only User Apps, no System Apps, no Chat-Apps - Chat Apps should not be restored - but new installed with Playstore and new registered, use integrated Backup from Chat-Apps)
2) Backup all important files and folders from your internal storage (DCIM, WhatsApp folder, Downloads etc) - because it will be wiped
3) delete your Fingerprint(s) PINs and Google Account and other accounts
4) Copy update.zip and ...hw_eu/update_data_full_EVA...zip to your external SD (dont unzipp it and dont do it into dload folder)
5) Make sure that you have enabled in developer options 1) OEM Unlock and 2) ADB Debugging and 3) USB Debugging - in this order
6) Flash with TWRP (Huawei Firmware) update.zip - after it is flashed do not reboot - go back to main menu
7) Flash with TWRP hw_eu/update_data_full_EVA...zip - after it is flashed do not reboot - down in the left corner click on "wipe dalvik and cache"
8) Do not reboot - go back to main menu - use Tab: Restart - but do not restart system - RESTART RECOVERY
9) You are now in Huawei Stock Recovery - from there make 1) Wipe Cache Partition and 2) Factoryreset and 3) reboot to system
10) Huawei Stock Firmware b386 is succesful installed

11) I would recommend to flash now the Firmware b386 once again, but now with dload-method. For this you must 1) unzipp update.zip on PC and 2) unzipp hw_eu...data.zip in a separate folder.
12) Make a folder on your external SD with the name: dload - Copy first the unzipped file from update.zip into this folder - but ONLY the UPDATE.APP (not the other files)
13) With VOL+ and VOL- (press in the middle down) and PowerButton (hold both positions until Phone reboot to EMUI Software Installing) - b386 will be flashed
14) After restart to system, delete update.app in dload folder and copy now the unzipped files from hw_eu...data.zip into dload folder - but now you need ALL files (update.app, META-INF and the data folder)
15) flash it with the same 3 Button Method
16) Back in system you should receive an OTA Update to b390 - go back with the arrow-key left above into Systemupdate-Settings and choose: download Full-Package (arround 2,5 GB) - let this update download and install, after you can install the next coming OTAs. until b394
Between the last and b394 you should do another Factoryreset - make it from native settings / advanced settings /Backup and restore - Factoryreset (with wipe of internal storage)

EVA-L09 c432 b386 Firmware update.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v84450/f1/full/update.zip
EVA-L09 Full_hw_eu_data.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v84450/f1/full/EVA-L09_hw_eu/update_data_full_EVA-L09_hw_eu.zip
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Here, I uploaded my native settings. Before flashing ROM, I checked my cust so I downloaded L19c432-data-files_patch. And yes, I flashed the patch after installing ROM and first Reboot. I didn't download KangV because I think that I have nothing to do with it. Even before when I'm on your MagicRainbow v2 I don't have the stock file manager, only the Mixplorer.
Huawei ID and Hw File Manager are not so important - if you dont have it, there is no need (and no posibility ) for enabling in Magisk Hide :laugh:
If safetynet stays green - everything is perfect. :good:

But tell me, if you are missing something - because I made another data-files_patch for L19 too and it's also tested on L19.
I have seen, that some Apps are different in L19, because it is on b392 right now
 

NervReaper

Senior Member
May 19, 2015
95
38
18
Have you flashed the L19 patch for your cust immediately after flashing Rom before first Reboot?
Have you checked different settings?
1) In native settings /WLAN / WLAN+ should be enabled.
2) In settings /Akku right above the settings symbol / WLAN in Standby Mode = always on
(same setting for mobile data =always on)
I check everything as should be but random disconnections persist. I follow every install step carefully so it's weird. I'll wait for new L19 patch to test, thanks for your work, this rom is amazing.

Sent from my HUAWEI EVA-L19 using XDA Labs
 

RandomQuezoPH

Senior Member
Sep 29, 2016
79
12
0
-
Huawei ID and Hw File Manager are not so important - if you dont have it, there is no need (and no posibility ) for enabling in Magisk Hide :laugh:
If safetynet stays green - everything is perfect. :good:

But tell me, if you are missing something - because I made another data-files_patch for L19 too and it's also tested on L19.
I have seen, that some Apps are different in L19, because it is on b392 right now
Well, I can't make my first safetynet green, any possible fix?

Edit:
I managed to get it fixed by flashing Universal Safetynet Fix via MagicRainbow v2 thread that you told me. It worked and maybe you should consider putting it in the OP, thanks! :)
 

Attachments

Last edited:
  • Like
Reactions: Tecalote

netaccs

Senior Member
Oct 26, 2012
134
2
0
Okay - I had no time yet, but for the future I will provide a flashable zip to come back to Stock Rom. But for the moment you must do following:

1) Backup your apps with data (only User Apps, no System Apps, no Chat-Apps - Chat Apps should not be restored - but new installed with Playstore and new registered, use integrated Backup from Chat-Apps)
2) Backup all important files and folders from your internal storage (DCIM, WhatsApp folder, Downloads etc) - because it will be wiped
3) delete your Fingerprint(s) PINs and Google Account and other accounts
4) Copy update.zip and ...hw_eu/update_data_full_EVA...zip to your external SD (dont unzipp it and dont do it into dload folder)
5) Make sure that you have enabled in developer options 1) OEM Unlock and 2) ADB Debugging and 3) USB Debugging - in this order
6) Flash with TWRP (Huawei Firmware) update.zip - after it is flashed do not reboot - go back to main menu
7) Flash with TWRP hw_eu/update_data_full_EVA...zip - after it is flashed do not reboot - down in the left corner click on "wipe dalvik and cache"
8) Do not reboot - go back to main menu - use Tab: Restart - but do not restart system - RESTART RECOVERY
9) You are now in Huawei Stock Recovery - from there make 1) Wipe Cache Partition and 2) Factoryreset and 3) reboot to system
10) Huawei Stock Firmware b386 is succesful installed

11) I would recommend to flash now the Firmware b386 once again, but now with dload-method. For this you must 1) unzipp update.zip on PC and 2) unzipp hw_eu...data.zip in a separate folder.
12) Make a folder on your external SD with the name: dload - Copy first the unzipped file from update.zip into this folder - but ONLY the UPDATE.APP (not the other files)
13) With VOL+ and VOL- (press in the middle down) and PowerButton (hold both positions until Phone reboot to EMUI Software Installing) - b386 will be flashed
14) After restart to system, delete update.app in dload folder and copy now the unzipped files from hw_eu...data.zip into dload folder - but now you need ALL files (update.app, META-INF and the data folder)
15) flash it with the same 3 Button Method
16) Back in system you should receive an OTA Update to b390 - go back with the arrow-key left above into Systemupdate-Settings and choose: download Full-Package (arround 2,5 GB) - let this update download and install, after you can install the next coming OTAs. until b394
Between the last and b394 you should do another Factoryreset - make it from native settings / advanced settings /Backup and restore - Factoryreset (with wipe of internal storage)

EVA-L09 c432 b386 Firmware update.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v84450/f1/full/update.zip
EVA-L09 Full_hw_eu_data.zip: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v84450/f1/full/EVA-L09_hw_eu/update_data_full_EVA-L09_hw_eu.zip
In the first post there is some twrp settings which I make. Should I restore them (twrp factory default) or it doesn't matter ?

After firs install of update, than data using dload method, my screen looks like this.
Is it normal, I think some apps that I remove(asphalt, booking...) with system app remove still missing ?
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Hi there ;)
TWRP is the same version - but you have more backup options - in my extended version you can backup:
boot, cache, cust, OEMinfo, data, system, vendor, product, version
in original version you can only backup:
boot, cache, data, system, vendor
I never updated to 3.1.1-1 but stayed on 3.1.1-0 (following your older advice) and 3.1.1-0 does backup all partitions (incl. cust, oeminfo, etc), but it does not have extended options in the settings "Keep vendor partition mounted" neither "Exclude OEM Path from data Wipe"

May I keep using TWRP 3 1.1-0 or is it necessary to switch to your? Btw, I suppose I can simply flash your TWRP img from my previous TWRP, is it ok?
Also, good to know that you have taken over TWRP, seems that OldDroid moved off from P9.

PS: I will go for MR v3 but after the Christmas, still too busy on the work and at home this week. Already downloaded everything and decided to go for
Magisk ed. (v2 worked perfect before I went back to stock b39x ROMs).

Thank you again and Merry Christmas.
 
Last edited:

mihairimia

Senior Member
Apr 27, 2010
175
26
0
@Tecalote not Rom related but I want to check I am not alone. I start a music app such as Deezer automatically the controls appear in notification area. Thing is that I can't pause , play next song or previous. Nothing! If I use the Huawei default music player , controls are working. Do you have the same behaviour ?
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
@Tecalote not Rom related but I want to check I am not alone. I start a music app such as Deezer automatically the controls appear in notification area. Thing is that I can't pause , play next song or previous. Nothing! If I use the Huawei default music player , controls are working. Do you have the same behaviour ?
Not related to that but to music. I use Frinky Music Controller (from Google Play) to skip to the next or rewind to previous song (Huawei music player, YouTube, probably other players as well) , by Vol+ and Vol- on the locked screen - no root required.
 
Last edited: