yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Now, when I have b378 with TWRP and SuperSU, would it be possible to upgrade to today's b383

https://xdaforums.com/p9/how-to/b383-t3586090

http://www.theandroidsoul.com/huawe...ith-a-handful-of-bug-fixes-build-number-b383/

Should we install stock image and flash stock Recovery first?

Btw, Firmware Finder shows b383 available to download, while System Update says there are no updates
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
OEM Unlock just enables the bootloader unlocking, once you unlock it, these setting can't be disabled because the bootloader is unlocked, once you relocked you have the ability to turn it back off.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Unlock bootloader = hard reset lost all data and app.

<<<by scaniathe>>>

---------- Post added at 11:20 AM ---------- Previous post was at 11:18 AM ----------

No no only bootloader this option unlock frp

<<<by scaniathe>>>
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
It doesn't matter because i start for begining after flash to nougat.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Themes maybe not work

<<<by scaniathe>>>
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Early when i rollbacked to 186 i loose theme. I fixed by flash 136. Now question is when can I unlock bootloader. With unlocked it's safe update by OTA?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Just to add something if you use FasterGPS.

It cannot set settings if BusyBox is installed in system/xbin. You should install BusyBox to su/bin, set FasterGPS settings, check if settings are saved correctly, and then install BusyBox in system/xbin.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
If rolling back/updating, maybe you can try brand new b383:

https://xdaforums.com/showpost.php?p=71775090&postcount=202

:)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
But I want root . Problem is I can't backup clean system by twrp and I'm looking for reason error 255 while restore

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Yes but with stock recovery

<<<by scaniathe>>>
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Btw, do you really need FasterGPS. For me, GPS fixes in 2-3 seconds, and with Mobile practically immediately
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Maybe, you are right. I had got used to it Since Froyo.

Nevertheless, this tip could help someone who runs in similar problem with some application.

Btw, Helium does not recognise root at all.

Any solution?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Now I'm after rollback to b136, update to b182, unlock bootloader. (always I had blocking OEM active) , finaly to b378 and twrp . OEM now is not active but switched ON. backup and restore this time well done without errors. one difrent now is active "screen lock"
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Good luck, keep going :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
i actually did a full backup now on b383 and successfully restored it afterwards. No problems on my side ^^

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I can't believe that you cannot backup and restore - if you change with TWRP (select Storage) to internal storage instead of Micro-SD. Cause I am thinking it is an issue of your external SD Card.

How much GB has your Micro-SD?

I had the problem with Marshmallow

One device with 64 GB Samsung Micro-SD and the other with 128 GB SanDisk Micro-SD. Used the same TWRP (for MM) on both devices - no problem with 64 GB but with 128 GB I got:

Prozess createTarFork() Error: 255.

Both SD-Cards with exFAT...

But Backup and Restore worked if I choosed internal Storage instead of Micro-SD - so it wasn't an issue of TWRP (only if TWRP couldn't handle bigger SD Cards/I don't believe)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
I did backup on storage and sd card and always had error. I did downgrade to MM and start from.begining and this time all gone well

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Please clarify:

- Did you upgrade to b383, and does TWRP 3.1.0-1 work with b383

- Do SuperSU-v2.79-201612051815-EMUI5.0.zip and JRummy's BusyBox also work with b383

- For upgrading to b383, did you use DLOAD and 3-button method, and did you have to flash stock boot image and stock Recovery before upgrading

Thx

PS: When I was filming a moviev with b378, "Whatever app is currently recording..." popping-up every two seconds was really annoying - as per RN for b383, that bug shold be fixed, and thus worth for ugrading to b383 ( I didn't observe the other problems on b378 that are listed to be fixed in b383).
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
I don't understand. Second time i did everything from beginning after rollback and all gone well.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
Yes, i did - yes it does work fine!

They both work with b383.

Actually i rolled back to mm because it seemed that this package was intended for upgrading from mm directly to n. Anf for your last questiom, i don't know, never had smth like that before.

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
I had eva-l09c432b182 and in ota was only b379

and the strange think :

After flashing TWRP I did backup- next I restored . from this point after reboot- other boot animation is displayed- not huawei .It's flashing word "android"
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Vestell:
Thx that youre helping me :)

But If I try the dload method it says package does not exist please download the package again
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
Sorry guys dont start spamming here, its not how to install a firmware, its a twrp thread, please use the right sections and threads for more help.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
Thats guide is great. Maybe should be on separate thread

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Which version of MM did you roll back?

I bought the phone which was already on N.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Viper not work without selinux mode changer?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
They say so in the other thread, but you can try with SELunux Enforcing mode
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
In the other threads people say that b383 can be updated directly from b378, I will try.

For upgrading via DLOAD method to b383 should I first:

1) revert to stock boot image (probably not necessary)

2) revert to stock recovery (AFAIK, it is necessary)

For (2), I have Recovery_stock_B378.rar, containing recovery.img and recovery2.img. (of 43,442 KB). It was from some of these XDA threads, I hope these are correct image file(s).

Should I flash the two recovery image files from fastboot again (as for TWRP), or could I (easier) install them as IMG recovery files from TWRP?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] franzyroy:
Via dload, no need to flash the stock recovery. It's included in the dload method.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] colthekid:
So now we have what appears to be a fully functioning TWRP (no more messing about with backups to internal memory or 255 errors!) I'm just wondering what partitions we should actually be backing up?

On my old HTC's, there was only really Boot, System & Data (& occasionally Recovery) partitions, which restored fine, but there's obviously more on the P9...

Do we need to bother backing up Vendor, Product, OEMInfo etc or is BSD good enough for a "full" restore?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] chris5s:
I would take a backup of all partitions, and save them off the phone somewhere. Then you have them *just in case :good:

Peace
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
I'm trying to go from 3.1.0 to the latest version (3.1.0-1) but when I flash the image and then reboot to recovery it boots into the old 3.1.0. As far as i can tell the flash is successful. Tried from within TWRP and using fastboot. Am I doing something wrong?

EDIT: incase anyone was wondering the modified SU works on 3.1.0. Only reason I wanted to upgrade to the newer TWRP was to install that. Tried it on the old one (had backups incase anything went terribly wrong) and it worked fine as long as you have the stock boot image installed before you do it.

If anyone can help me with the upgrade issue that would be great. Would rather be on the latest version for any future developments that require it.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Of course that it works with 3.1.0-1, read tons of posts about here from the last days.

And the explanation was also posted: you did install 3.1.0-1 but its version number was not increased and it displays as 3.1.0-0
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Did anybody try upgrading to b383 from the rooted b378? In the other threads people claim that upgrading to b383 does not require rolling back to MM, that it works from b378.

I tried by first restoring the stock recovery. Go to TWRP and install b378_recovery_stock.img (as Recovery) obtained by [MENTION=4081738]Atarii[/MENTION] :

https://xdaforums.com/showpost.php?p=71814506&postcount=519

TWRP is gone and booting to recovery ends to eRecovery. I didn't flash the stock boot image, hence the rooted b378 remained, with AdAway, BusyBox, V4A in place and working.

For upgrading to b383 I followed:

https://xdaforums.com/p9/developmen...19c636b168-t3419586/post71769831#post71769831

Upon dialing *#*#2846579#*#* and choosing Software Upgrade, SDCard Upgrade, phone rebooted but gave me three options:

1) To download latest Recovery and Firmware (?)

2) To Reboot

3) To Shutdown

Option (1) establishes connection over WiFi but finds no package. Option (2) reboots to the unaffected, previously rooted b378.

I tried with upper and lowercase dload/DLOAD, I even tried Hard Reset also from *#*#2846579#*#*, no avail.

I tried by switching SELinux in SELinuxModeChanger back to the original Enforcing mode, still upgrading or hard-resetting failed.

Probably it was needed to flash the unrooted, stock boot image or what (the last option would be rolling-back to MM)?

Since I needed the phone for daily-driver routines, I installed Flashify (from Google Play), granted it root access, and from Flashify installed twrp-3.1.0-1-eva.img - at least I have unaffected TWRP, root and stuff back.

PS: b378_recovery_stock.img (b378 stock recovery) is also added to Mega with the other stuff from guide in the post #167:

https://mega.nz/#F!w41RmZKB!IG53JadhjUKgFK8anbctIw
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
yes, it is needed to restore everything back to stock .. otherwise integrity check will fail ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Sorry, by 'everything' do you mean only stock recovery and stock boot reverted, or should SELinuxModeChanger and maybe BusyBox also be uninstalled (I guess, Titanium, Root Checker, Terminal, BuildProp, Flashify, Reboot and so do not mind, they are user apps and of no use once root is disabled)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
well what means everything?

revert all you've done to your phone and make it stock again?

no modifications at all. (out of bootloader unlocking)

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
That means hard reset is needed, but hard reset also fails, so chicken and eggs problem ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
no. you just need to remember which partitions you modified.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
Thanks for clearing that up. I have 1 more question which I hope you can help with. I can't seem to mount my microsd card in Twrp. If I go to settings and try to check the box nothing happens it just vibrates and the check box stays blank. Is it a problem with the way my card is formatted that Twrp cannot read it? I used the device to format the card when I inserted it.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Sorry, I have no idea. But what's the capacity and file system may help for somebody to sort out
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
any red lines appear in log? (taskmanager button in navbar), had the same, check if you have inserted it, you use adoptable storage?

EDIT: just checked it, works flawlessly on my side.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
When I copy the log the only red line us failed to unmount/data (device or resource is busy) but i think that's normal right?

I can select the microsd in advanced wipe but its showing as all 0's. Do i need to change the file system?

Its's a 64GB Samsung evo card class 10.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
kernel log is required here, please post it aswell

i would suggest you try formatting it.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] mihairimia:
1st - thank you for your work.

2nd - i have L19C432. I flashed B383 update zip from twrp. It installed but I lost twrp and root. I flashed twrp through fastboot and from twrp the hw zip. Then the root zip. Now I am on B383 with twrp and root.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
it looks like it cant use ntfs, so you have to format to exfat.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
Is this verified? Anyone else not able to run an ntfs formatted card in Twrp? I have about 30gb on it and I'd rather not have to make a copy just to format the card if I can avoid it.

Is it OK if I pm you later, having trouble uploading from my phone and I'm out away from my computer at the moment. Which format do you suggest? It works fine when the phone is booted into system its just Twrp not seeing it for some reason. I remember it working on the older version of 3.1.0 because I used it to flash some apks.

Someone mentioned trying exfat shall I do that? Is it a reported issue with ntfs?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Each TWRP had never worked with NTFS...

And exFAT is good
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] frenzissi:
Factory reset

Hello, i've got a P9 with firmware B378 rooted with "old" method PHH supersu, yesterday i upgraded it to B383 and reroot it with TWRP 3.1.0 and mod SuperSU, everything works fine but i have a strange battery drain.

I'd like to make a factory reset, how can i do it? via the normal settings option or via TWRP (in this case i don't know the exact way)

Thank you for answers.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
i will lookinto it if there is a way of using ntfs devices. More to follow soon

simply do a factory reset via twrp inside wipe menu, i've excluded necessary directories to ensure normal system usage after a /data wipe or factory reset.

Regards
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] darrr1:
I have rooted b378 but i have /system only read mode. How can I change to r/w?

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
Hello i'm running moonlight rom v1 based on my l09c432b378 i have ur last twrp installed.

Can u tell me how flash b383 directly with twrp without dload method please ? I'm lost and last time i did a backup and restore with previous 3.1.0.0 i had strange problem, android boot animation and no camera app(always force close) and no theme manager
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
you probably wiped before you did that backup? because on the previous version the needed directories for system would have been wiped aswell from /data. that was fixed in the newest​ release by excluding necessary paths. you have to flash your data package again, but dont know where to find it ..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
My phone is working good now with moonlight rom v1 but i want to know if i could move to b383 directly with twrp ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
If I understand you correctly, DLOAD won't upgrade to b383 and you want to avoid rolling back to b136, and then going up to b182 and b383

I.e., is there any other method to upgrade to b383, if DLOAD method fails because of modded b378?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
Yes that's i'm asking coz i don't want do all steps again, maybe if i find a stock l09c432b378 flashable via twrp it 'll be more easy to update to b383 after
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Or even better, TWRP backup of system partitions from a clean, upgraded b383.

And an advice for everybody, upon upgrading (by DLOAD) to b383 and installing TWRP, before rooting and further modding, make yourself a full backup in TWRP. To avoid similar problems when e.g. a next upgrade comes.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Sorry all if this is a stupid question, is it possible to install (as ZIP) b383-update.zip and b383-update_data_full_hw_eu.zip through TWRP - I mean, doest it work?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
I'm asking the same lol i don't know if it's possible
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
Yes it is and dload works so far. [MENTION=4960686]OldDroid[/MENTION], ntfs can work with twrp, but system and boot.img should support it and thats not given by default.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
I was on b378 rooted with this recovery and just upgraded to b383 about 5 minutes ago, this is how:

1. flash stock recovery. (in link below, make sure you pick the b378 file)

2. flash stock boot image. (in link below, make sure you pick the b378 file)

3. download both b383 update files here

https://mega.nz/#F!BhFmib5L!VhRVUINo2r6cXaUQJHghfA

4. Unzip both files.

5. place the "update.app" file from b378-update folder in your sd card dload folder (make sure it's just the update.app and not the other files).

6. use dload 3 key method to flash the update, it will boot back into the system after completing if you look in about phone in settings it will still show b378.

7. place ALL of the files including the update.app from b383-update_data_full_hw_eu folder in your sd card dload folder.

8. use dload 3 key method again and flash

9. it will reboot into system again and check your about phone in settings again you should now have b383.

10. follow the twrp+root guide again to get twrp and root back

takes like 10 minutes total. The most time is just downloading and extracting the files lol.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
I understand but i'm not on stock b378, i'm with moonlight rom b378, and it's a rom without some stock apps so what can i do ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
Ah sorry, I misunderstood your problem. My ROM was also missing stock apps as I had debloated it using titanium backup. The above method still worked just fine for me. Just to be clear I was not running custom rom, I was running stock rom with system apps that I didn't want removed.

I am currently installing moonlight V2.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
Do you think i can update directly to moonlight v1 to v2 ?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
You can try just make sure you have a full twrp backup before you attempt it in case anything goes wrong. Just installed V2 but im not seeing any changes? before you go ahead can you post screenshot of about phone that you have in v1?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
But with the last version of twrp the backup's restore will work because with previous version of twrp the restore was bad, i booted with stock android logo and i had no camera apps and no theme manager...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
I've used this version of twrp a few times to restore from backup and not had any issues. How did you recover last time?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] moomoon03:
I don't remember but maybe i did a wipe before restoring
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This is interesting. I had one times a NTFS formatted external SD Card and with Root Explorer and also HwFileManager I could read and write. (with Android 6, but 7 not tested yet)

But with TWRP I couldn't make Backups...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
can you read ntfs microsd inside android?

that would mean that i just missed a few tools for full ntfs support
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
Yeah NTFS works fine inside android. It's definitely a file system issue, I tried a spare exfat card and it worked fine in your recovery.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
thanks for the info, i will send you a test version in half an hour, could you test it?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
Sure no problem, is it safe just to flash it over the existing recovery? I'm running b383 now.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Blackwatch:
Sorry to sound thick * even though I am * but I have been having tons of issues getting my phone working after updating to B370 and ending up in NRD90M test-keys.

Could someone do a simple guide ie step one put twrp file on phone step two open ADB CMD prompt etc.

I have been trying to fix my phone but having an information overload :( :( :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lostunsunghero:
You need to find the hw_eu_update file for b370, extract all files from the .zip and place them in the dload folder and then flash using 3 key method.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] OldDroid:
so ntfs mounting (microsd/usb-otg) has been fixed and will be included in next twrp version.

Thanks for testing [MENTION=1683214]lostunsunghero[/MENTION]

/external_sd | /dev/block/mmcblk1p1 | Size: 7578MB Used: 22MB Free: 7556MB Backup Size: 22MB
Flags: Can_Be_Mounted Can_Be_Wiped Wipe_Available_in_GUI Removable IsPresent Is_Storage
Primary_Block_Device: /dev/block/mmcblk1p1
Alternate_Block_Device: /dev/block/mmcblk1
Display_Name: MicroSD Card
Storage_Name: MicroSD Card
Backup_Path: /external_sd
Backup_Name: external_sd
Backup_Display_Name: MicroSD Card
Storage_Path: /external_sd
Current_File_System: ntfs
Fstab_File_System: vfat
Backup_Method: files
MTP_Storage_ID: 65538
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Blackwatch:
I have installed that yet when I try and connect via ADB using the command " adb reboot bootloader " I get the following " error: device `(null)` not found "

**EDIT** : I rebooted the device, checked USB debugging was in tried again and flashed the attached file.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Blackwatch:
[MENTION=4960686]OldDroid[/MENTION] I just tried to flash it in TWRP and couldnt launch TWRP. So I went into ADB to try and reflash TWRP and got the following error

C:\adb>fastboot flash recovery twrp-3.1.0-1-eva.img
target reported max download size of 471859200 bytes
sending 'recovery' (24562 KB)...
OKAY [ 0.600s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.608s.

Any idea Where I am going wrong?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
[MENTION=4181929]Blackwatch[/MENTION] Unlock bootloader again.