yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 9 Questions & Answers] ante0:
No need (dload doesn't work anyway, except for AL00C00B115 and L29C636B136). You can uninstall using the SuperSU app or manually by removing /data/SuperSU.apk and restoring stock boot image. Boot image can be extracted from update.app for your model using Huawei Update extractor. Same goes for recovery. If you want to lock bootloader you have to install an update/same build number, you could use Firmware Finder for that or this tool: https://xdaforums.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108

In my experience it will not remove apps, but data seems to go poof (as in app settings and data). Unlocking bootloader again will remove apps though as it does a factory reset.
[Huawei Mate 9 Questions & Answers] tobyffm:
hi,

thx for your last reply!

I am still on root status. I needed to decrypt now, thus I selected format data.

After that, files and folders are named correctly and I am able to create a backup.

I flashed public ziip, the other one was corrupt, mayve because of failed download, however as I understand it is not the reason why it always goes back to encryption, isn't it?

But: Once I reboot to Android and go back to recovery it is encrypted again?

My current problem is: I need to move a TWRP backup to internal storage and run TWRP restore feature from recovery, but it is encrypted. Once I format data it is decrypted but internal storage empty again. So I reboot to Android (because mounting from within TWRP does not work :( )and put TWRP backup folder to internsal storage, but then I go back to recovery and see it is encrypted again :S like driving in a circle ...

And I cannot put backup folder to external micro sd as it is too large for my small micro sd I have.

Do I need to flash a decrypted bootimage? If yes, which one?

Can you help me on this maybe?
[Huawei Mate 9 Questions & Answers] ante0:
'Format Data', flash official Magisk 13.3 or SuperSU 2.82 SR1 (mine from mega doesn't remove encryption), flash public zip, flash HW zip. It should now stay decrypted. You might have to go back to TWRP start screen after Format, then select 'Reboot' - 'Reboot Recovery' if it doesn't want to mount /data after Format.

Rebooting to system after formatting but not flashing magisk or supersu will encrypt again.

I can make a decrypted boot image if it doesn't want to stay decrypted.
[Huawei Mate 9 Questions & Answers] tobyffm:
ok thx.

I redownloaded HW zip and checked md5 sum with the file from first attempt, same md5. However this is what i did:

Format data, tried to flash Magisk, but did not work, there was an error, this is why I flashed SuperSU 2.82 SR1 which worked with no errors. I flashed public zip right away, after that I flashed HW zip, but again, it did not work there were errors. However, encryption seems to be gone anyway. and yes, it keeps being decrypted.

I managed to get TWRP seeing an old TWRP Backup, which I pushed onto internal storage. I started restore of /data/ of that TWRP backup because I want to get the WhatsApp incl. data from data backup.

I booted up to Android and now I am faced with the next fuc*in problem: lock pattern of Dec 16. I cant remember and after few attemps devices is locked for 10 minutes, then for another 30 minutes ...

After google research it should be able to use Android device manager from a browser and to lock device and set a new pin/password to unlock the device. It is communicating as I can let the phone ring with no problem, but all how_tos show me this screen in android device manager interface

Of course it is me, who dont get this mask to set a new pin/password :(( :((

I only can enter an optional phone no and message from browser

Any idea what to do?

Update: I extracted whatsapp from backup with nandroid manager app but it did not restore my data correctly, best way would be to get done the pattern problem when restopring the twrp backup

redaring locking bootloader again:

I went to your link https://xdaforums.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108

they say to download file for own device here: http://hwmt.ru/hwmtsite/firmware-database/?firmware_model=

I only find:

DUK-L09C432B182

But mine is MHA-L09C432B182, can I go forward with DUK-L09C432B182 anyway? Actually I dont understand what to do, their description is curios.
[Huawei Mate 9 Questions & Answers] ante0:
L09C432B156 firmware: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1366/g104/v84355/f1/full/update.zip

L09C432B182 public data zip:

http://update.hicloud.com:8180/TDS/...55/f1/full/public/update_data_full_public.zip

L09C432B182 hw data zip:

http://update.hicloud.com:8180/TDS/...04/v84355/f1/full/hw/eu/update_full_hw_eu.zip

You might as well update to B190 while you're at it..

L09C432B190: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1366/g104/v89786/f1/full/update.zip

L09C432B190 public data zip:

http://update.hicloud.com:8180/TDS/...86/f1/full/public/update_data_full_public.zip

L09C432B190 hw data zip: http://update.hicloud.com:8180/TDS/...l/MHA-L09_hw_eu/update_full_MHA-L09_hw_eu.zip

Rename public data zip to update_data_public.zip.

Rename hw data zip to update_all_hw.zip
[Huawei Mate 9 Questions & Answers] tobyffm:
ok, to summarize:

1) I download these 3 files:

full update.zip:

L09C432B190: http://update.hicloud.com:8180/TDS/d...ull/update.zip

L09C432B190 public data zip:

http://update.hiclod.com:8180/TDS/d...ull_public.zip

L09C432B190 hw data zip:

http://update.hicloud.com:8180/TDS/d...-L09_hw_eu.zip

2) I extract recovery img file from update zip

3) I uninstall root from within super su app.

4) I rename zip files and flash public zip as well as hw zip from within twrp recovery

5) i put extraced recovery img to device by using "fastboot flash recovery "

Will it work like this? Or do I need to flash public and hw first and after that uninstall root from supersu?

and then in the end "fastboot oem lock" ? to get the bootloader locked and to switch off the boot message "your device cant be trusted" ?

and: I couldnt flash hw zip before as it ended up with errrors, is this why I dont have Search for updates in EMUI 5.0 anymore?
[Huawei Mate 9 Questions & Answers] ante0:
No. Follow the guide you linked, that's where you use those files.

https://xdaforums.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108

You could relock but it will say Bootloader Relocked instead of Bootloader Lock.

And if you don't plan on updating to B190 using the guide I suggest you download public and HW Data for B182 and flash those in twrp.

Can cause problems otherwise.

Flash public first. They will give errors because you're not supposed to flash them in twrp, they're official Huawei zips that are flashed using stock recovery.
[Huawei Mate 9 Questions & Answers] tobyffm:
OK and why i currently dont see menue point "search for updates" in EMUI 5.0 ? Maybe i will stay rooted as I see that xposed has now been released.

But I want to receive official OTAs anyway, but currently the full menue point for searching for updates is gone. Any idea?
[Huawei Mate 9 Questions & Answers] ante0:
Did you flash back public and HW Data for B182?
[Huawei Mate 9 Questions & Answers] tobyffm:
I was not sure which was the last I flashed during last days, B182 or B190.

However, just redownload B182 files and flashed, first public, then hw zip.

Rebooted device, "search for updates" is available again, thank you very much :)

But it says B182 is latest update, so OTA not available for me so far yet. How can I manually flash to latest version B190 without loosing 'Search for Update' section?
[Huawei Mate 9 Questions & Answers] ante0:
You can with that guide i linked a couple of posts back. You can't flash update.zip in twrp, you have to use that guide to flash it. It's pretty straightforward. Download HWOTA BASE, HWOTA WINDOWS and HWOTA MHA (Mate 9), extract all to the same folder (C:\hwota is a good location). Download the files for B190 i linked a couple of posts back. Rename public data zip to update_data_public.zip.

Rename hw data zip to update_all_hw.zip, place them and update.zip in the update folder, run bat (if windows) or sh (Linux) then do what the prompts say. When it asks pick same brand update, then script update folder. It will transfer files for you. Bootloader will be locked when you're done.
[Huawei Mate 9 Questions & Answers] tobyffm:
Did like described, when it comes to "update should install automatically" it reboots into erecovery, but Software install failed!

The update package does not exists please download the package again

But all 3 files are within the script folder and named correctly i think, pls see my attached screenshot
[Huawei Mate 9 Questions & Answers] ante0:
Are they in the update folder? I think I see the update.bat file there.

Put them in the update folder (for example c:\hwota\update\)
[Huawei Mate 9 Questions & Answers] tobyffm:
:mad::eek: yes, that was my fault.

Put to update folder and run again, update was running and finished with 100%. phone rebooted loaded very long. Now android is broken. I see my background image, but cannot do anything it is like hanging hanging hanging, everyhting very slow, like it is loading much of information. rebooted phone and waited some more time. seems now it is working and I am on B190. Now, i have to unlock bootloader again and install supersu again =)

thx for your help so far.

btw: u dont have any solution for my previous posted problem with my twrp backup, dont you? restoring twrp backup ends up in lock screen with pattern which I cant remember. Android Device Manager from PC browser can communictae with the phone but it does not offer me to set a new pin. Do you have any other method in mind how I can go on?
[Huawei Mate 9 Questions & Answers] ante0:
Not when it's protected by pattern no...

I think I've read somewhere about where the pattern is stored so if you google some I'm sure you'll find something.

Which partition are you trying to restore? And is it from a different phone?
[Huawei Mate 9 Questions & Answers] tobyffm:
I am restoring data partition (because of the whatsapp media) of an Oneplus 3. seems it works as I can boot the system and see my old pattern

Ok, I will do google research tomorrow.
[Huawei Mate 9 Questions & Answers] tobyffm:
If phone is rooted (which mine is) it is easy:

Go to the /data/system folder.

Delete these files:

reboot and that's it. Pattern lock is gone.

However, since I installed xposed I am fighting with many forced app closings, I need to check on this problem now...
[Huawei Mate 9 Questions & Answers] ante0:
Read more why xposed most likely don't work: https://www.xda-developers.com/flashable-xposed-framework-android-nougat/

Rovo update is interesting
[Huawei Mate 9 Questions & Answers] tobyffm:
yep, thx.

Back to Firmware B190: Just realized that "Magazine" does not exist/work anymore. If I go to the settings page where I can choose the unlock type of the phone it just shows a blank white screen. I can add images for "magazine" from my gallery only. download covers from Huawei results in "No covers found", but even I added about 50 images from my gallery, in fact it is not shown on the unlock screen. u know anything more?
[Huawei Mate 9 Questions & Answers] tobyffm:
I went back to B182 same way like updated to B190 because of no working Magazin on unlock screen.

My "search for update" screen looks like this, see attachen screenshot.

It does not found any updates so far. If I click on the version, on next screen it is supposed to show changelogs? But in my phone it says: "List of changes: no changes"

I think before I rooted etc I have seen some data there...

Do you know if it will work in general for me? Just no OTA received by design yet?

Or won't I receive OTA updates at all?
[Huawei Mate 9 Questions & Answers] ante0:
B182-log is a beta I think, that might be why.

Though B190 might not be approved for you yet
[Huawei Mate 9 Questions & Answers] tobyffm:
thanks for your reply! :)

i used the files u linked in this thread. Ok, however, I found official build files here, but i dont have public zip here, only full_hw zip...

http://www.stechguide.com/download-huawei-mate-9-b182-nougat-update/

They also describe the "official" way how to install it, u told me it won't work? I still didnt get it why, will it fail at my device?

On this site they provide the beta build, but they say it can be installed by flashing through TWRP, pretty easy.

http://www.carbontesla.com/2017/04/download-huawei-mate-9-b182-nougat-update-europe-beta/

Can I do so as well?

And update.zip, is it always the same for my MHA-L09 device or different for each build I do install?
[Huawei Mate 9 Questions & Answers] ante0:
Oops. I figured the version from 04-12 was the beta but apparently it's the one released at 04-28.

Anyway, you can try those methods but they won't work.

TWRP can not install Update.zip as it contains commands that only stock recovery can use.

And Huawei disabled dload except for 2 updates, one for AL00C00 and one for C636.

The people writing these guides just use old guides for Mate 8/Honor etc and update them for Mate 9.

The reason it fails is because of the file PACKAGE_TYPE.img in update.app, it says ONLINE for all updates (except the AL00C00 and C636 ones). It needs to say OFFLINE to be able to install using dload.

Currently the only ways are official System Update, Firmware Finder, FunkyHuawei or the Flash/rebrand guide.
[Huawei Mate 9 Questions & Answers] tobyffm:
OK, I am happy to flash the official final B182 via the HWOTA method, i just cannot find a final release:

http://www.carbontesla.com/2017/04/download-huawei-mate-9-b182-nougat-update-europe-beta/

http://www.carbontesla.com/2017/07/update-huawei-mate-9-to-b186-nougat-firmware-europe-beta/

and even this B176 seems to be beta?

http://www.carbontesla.com/2017/03/download-huawei-mate-9-b176-nougat-update-europe/

can you help me and find final B182 or B186 for Europe?
[Huawei Mate 9 Questions & Answers] tobyffm:
OK, I am happy to flash the official final B182 via the HWOTA method, i just cannot find a final release: http://www.carbontesla.com/2017/04/d...e-europe-beta/ http://www.carbontesla.com/2017/07/u...e-europe-beta/ and even this B176 seems to be beta? http://www.carbontesla.com/2017/03/d...update-europe/ can you help me and find final B182 or B186 for Europe?

Edit: I think I will try this one: https://thedroidguru.com/download-install-b186-nougat-update-huawei-mate-9-europe/
[Huawei Mate 9 Questions & Answers] tobyffm:
OK did do some testing..flashed B184 because I wanted to see if it will offer me an update via OTA, but in the end it was some kind of beta again. didnt show any updates. Now, I have flashed B186 which looks official and final, but I dont see any OTA update, maybe because there is no available or maybe It is not working I dont know...
[Huawei Mate 9 Questions & Answers] ante0:
B190 is the latest one. But just because it exists and someone got the update pushed over OTA doesn't mean everyone will get it at once or as soon as it's released. It can be weeks or months before you get it. Huawei must approve your IMEI before you get the update.

I bought my phone from Germany and haven't gotten a single update yet. Probably because I would need a German sim card to get it.
[Huawei Mate 9 Questions & Answers] gianmaxfactor:
Hi, can I backup encrypted data to USB OTG and then restore it even if TWRP does not support encryption? Will it work as a restore method ?
[Huawei Mate 9 Questions & Answers] ante0:
If you are on Oreo, which you should be by now, flash this TWRP: https://xdaforums.com/mate-9/development/recovery-twrp-3-2-1-0-t3783353

it has encryption support.
[Huawei Mate 9 Questions & Answers] gianmaxfactor:
Unfortunately I'am not (and never will) on Oreo.

I was unencrypted (on Nougat) but then I tried to run an OTA update: it failed but data partition has gone back to encrypted.

How would you backup \data to restore its content after a partition format (to remove encryption again)?

Thanks
[Huawei Mate 9 Questions & Answers] ante0:
I guess you could use Titanium Backup or the backup app by Huawei.

And backup internal sdcard as it's wiped when you format data.

Then restore backup/transfer back internal sdcard content when you have formatted

There are no other ways when /data is encrypted
[Huawei Mate 9 Questions & Answers] gianmaxfactor:
Thank you, I noticed with pleasure that you are a Senior member. I would really like to know your opinion about the "rationale" of the following idea:

- start the phone in safe mode

- activate an ftp server on the phone (over the wireless lan interface)

- backup the /data partition on my Windows pc (every files and folders except media - it seems that twrp data formatting always wipes everything but the media folder)

- restart the phone in recovery mode; format data: from now TWRP can access the data folder as unencrypted

- while in recovery mode connect to the phone through adb from the Windows pc and push data content back to the phone

- reboot the phone with all the original data content, however unencrypted now

Thanks a lot

Gian
[Huawei Mate 9 Questions & Answers] ante0:
Only problem I see is file permissions and ownership, it will be a mess to sort out if you transfer to Windows. I guess you could tar it before transferring, permissions and ownership is kept in the tar. Then just untar it in TWRP.
[Huawei Mate 9 Questions & Answers] gianmaxfactor:
You are absolutely right! It could have been a little disaster: tar with a carefully studied syntax both for backup and for restore should do the trick!

Thanks a lot, I'll report the outcome

Regards

Gian
[Huawei Mate 9 Questions & Answers] kakashisen:
i cant even format data give me same permission error?
[Samsung Galaxy S8 Questions and Answers] helps8help:
Need to help out my tech illiterate grandfather with his S8. A number of events led up to this question.

As of now, I do not know if he has enabled the feature which requires him to enter a pin before powering down the device. I will not find out until I reach my grandparents' house in few days, by which time I'd like to be prepared with all the possible solutions.

As of now, the phone is not connected to the internet and my grandfather has been locked out of the phone(no fingerprint/pin available)

To my knowledge, to access recovery mode, one needs to hold down Bixby + Vol Up + Power button. Correct me if I am wrong. These are my questions.

1. Is the feature which requires the pin/pattern to be entered before powering down the device a feature that is enabled by default, or one that must be manually enabled?

2. Does restarting the phone require a pin from the power menu require the pin/pattern?

3. Can I enter recovery mode through the restart option in the power menu? That is, during the restart cycle, after the device has powered down, can I hold down Bixby+VolUp+Power immediately to enter the recovery?

4. How do I perform a hard reboot on the device? Power button + volume buttons for 20-30 seconds?

5. During a hard reboot, after the device has powered down, can I enter the bootloader by immediately holding down Bixby+VolUp+Power?

6. Are there any other methods to factory reset the phone which do not require unlocking the phone and connecting to the internet?

Thanks
[Nexus 6P Q&A, Help & Troubleshooting] IonuZ:
Onece i saw on my 6P a livestream on YouTube at 1440p60fps , since then i couldn't find any video that plays at that resolution on 6P ?

Is there a mod to force YouTube to play at 1440p60fps?
[Xiaomi Redmi Note 3 Questions & Answers] Deleted member 7447728:
My Kenzo on Nitrogen OS (Happens on RR and Lineage) starts to drop charge current before going below zero to start discharging even though it's connected to power. This happens on my PC, with a wall adapter and with a battery bank. I will sometimes put it on to charge at night and I find it dead in the morning.

Any help GREATLY appreciated!
[Moto G4 Plus Guides, News, & Discussion] gautamchawla195:
As posted around threads I've kiiled my Xt1643 by downgrading it from the june patch accidentally, and from nowhere I seek any chance of reviving it. The updated blank flash from the june rom was the last hope I had to which someone concluded that there's nothing of that sort as a updated blank flash file.

On the conclusion, I've ordered a Lenovo P2 now but still I would miss my athene alott as it was because of me that the device died which was bought from my first salary.

Would miss it alott especially its camera, and would still get it locked in my drawer even if it has a last chance of getting revived in the future. Would still be in touch with the forums for my Dear Athene.:crying:

Thanks alott everyone:crying:
[Moto G4 Plus Guides, News, & Discussion] reCoded:
That really sucks! There may be a way to fix it though. This was posted by another user and they fixed their bricked phone using this method: https://xdaforums.com/moto-g4-plus/help/solved-unbrick-hard-bricked-dead-t3585016 I would try that out.
[Moto G4 Plus Guides, News, & Discussion] Outfield303:
Same happened with me, athene was my first phone and that june update killed it :crying::crying: and after reading your post I am crying again :crying:

---------- Post added at 03:54 PM ---------- Previous post was at 03:52 PM ----------

June update corrupted the whole emmc :crying: no way out;
[Moto G4 Plus Guides, News, & Discussion] gautamchawla195:
Yupp, only a miracle from any one of the most experienced developers here can only revive a dozen of athenes here on xda which were bricked coz of the june security patch. Would be waiting for that one to happen. :crying:
[Moto G4 Plus Guides, News, & Discussion] albertomuerto:
I need blankflash June update too, maybe somebody experimented can help us, please
[Xposed General] josephcsible:
According to the LineageOS developers, Xposed "opens devices up to security risks". Isn't Xposed just as safe as root, which they do support? In both cases, you have to grant apps permission to do anything dangerous (either grant root permission or enable the Xposed module). I see this trend from other ROM developers as well. Why do so many people have such hatred for Xposed but be okay with root, which can cause just as much damage?
[Xposed General] freespeechdev:
You are correct that if an malicious app gains root or Xposed access, things are pretty much wrecked from a security perspective. Lineage OS probably doesn't officially support Xposed because many features that people commonly use Xposed for are already baked into the ROM. It is usually more stable for a feature to be enabled in a ROM then for it to be added with Xposed. That being said, Xposed works just fine with Lineage OS and others, from what I've seen, read, and experienced, so do what you want!

The "security hole" fear people likely have is due to the fact that Xposed basically hijacks method calls ("hooking") and can modify them to do whatever they want. This is why the battery life of Xposed-enabled phones is worse and performance takes a hit: method inlining and a few other optimizations can't be used without breaking Xposed. (This is also why Xposed recompiles the entire ROM after it is installed.)

Overall, I don't see Xposed as being any more dangerous than root; the only thing it might do is make it easier to write malware, but is someone really going to make an evil Xposed module targeting the very small minority of Xposed users?

As long as you are careful with what you install (from Google Play to root/Xposed/custom ROM), you should be fine security-wise.
[Xposed General] iwanova:
Simple explanation: loved by users, hated by developers.

Because it creates more bugs & 'security hole' if you're not careful.
[Xposed General] josephcsible:
But all of that applies equally to root and Xposed, yet Xposed is hated and root isn't.
[Xposed General] iwanova:
Yeah, I know.

Because at least rooting not create more bugs right now. Lowering security? Yes it does. But does it even make bugs in ROM and makes users complain until developers pissed off? It's rare, very rare. Even it's doesn't exist if I can say.