yashsingh1/xdaforums huggingface dataset:
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Cavernerg:
I installed magisk (which worked fine) , then I decided to install XPOSED (systemless) via magisk and xposed installer... and did not backup.... and now it's completely bricked and i can not recover.

I can't even Flash twrp recovery again (which i lost when i tried to Flash System.img and kernel.img)... The boot.img seems to be damaged but is not included in the UPDATE.APP... so i don't know where to get it to try this one. When I Flash recovery in fastboot mode I get a confirmation, but when I boot to recovery, I just see the stock. And after that stock erecovery. :D pretty unhappy with that, but atm nothing I can do :(

But to be clear: As far as I can say, TWRP worked fine.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] rcstar6696:
Hey is the source for vtr twrp now public somewhere?

I want to build twrp for m5 tablet but i need to see the basic configuration of the kirin devices i'm buildring roms and twrp for sony devices since a long time . It would make it a lot easier for me if i get any answer from someone.

Btw if all goes well with m5 i will work on p10 and p10 plus to as i get the p10 plus next week
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] sfoot13:
Is good to know that P10 will get more development :)
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] ARDV:
i managed to mount the data after formatting it
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] OldDroid:
no. my testers are not allowed to share it.

Regards
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] duraaraa:
And you plan to release nothing until you have decryption working?

It might take a long time...
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] darckreign1984:
i have p10 demo, if i can test recovery and not kill my phone i want to test, amd debrand phone. thanks
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] stealsmith:
30$？:cool:
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] OldDroid:
i just updated op with a testing version (userdata not working) - more info in op.

If anyone is interested beeing a tester for fixing decryption, should pm me.

Regards
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
Root does not install the wrong fonts in the data section
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] :
Thanks man for the extreme effort put into this, I've been closely watching it since I picked up my P10 on launch day.

I sadly can't offer my device for testing that could potentially brick it as it's my daily driver but if you have any form of donation methods i'd be happy to help out that way as you are essentially paving the very early paths of getting away from the Huawei EMUI and I can't wait to see what the power in this device can do on a rom like RR or Lineage as this is my most powerful phone to date.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
I got Root on Huawei P10. Using phh superUser .
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] OldDroid:
there is no danger of bricking while helping with testing! As long as you stay away from system related modifications you are good to go ..

feel free to leave smth, i have a donation button right under my profile picture inside xda (desktop)

that would actually help us to get a new device running on 960 platform - they are all very similar ..
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] :
Well at the current "beta" stage of TWRP I'd most likely just have it installed for testing since there is nothing really custom out there except maybe rooting the device, I can put my device forward for testing then.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] darckreign1984:
please can you make a room backup to restore my phone from twrp recovery?

thanks
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] kurvenmeister:
root with phh is working. Great Job guys
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] TheBigCatTheory:
How do you get root with phh ???
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] OldDroid:
Give us a package, i will include it in op with proper credits ;)
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] kurvenmeister:
ist ist the same way as yury_z posted a few posts earlier.

---------- Post added at 02:20 PM ---------- Previous post was at 02:19 PM ----------

https://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394

---------- Post added at 02:21 PM ---------- Previous post was at 02:20 PM ----------

here is the Link:

https//xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394

---------- Post added at 02:32 PM ---------- Previous post was at 02:21 PM ----------

small tutorial?

downloaded the file from the link above. installed it via olddroid twrp. went to playstore and installed the phh superuser app and ran the app. rootchecker also from playstore confirmed root. thats it. su apps like titanium backup are running good.

---------- Post added at 02:35 PM ---------- Previous post was at 02:32 PM ----------

the only thing to get definetly happy is xposed/xprivacy and resurrection remix.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jannomag:
I flashed TWRP under fastboot successfully, but when I reboot into recovery (Vol+ & Power) I still get the EMUI recovery.

Any suggestions?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] cemaWork:
At me Root it is not put, an error gives out.

"Found bootimg @ /dev/block/bootdevice/by-name/boot_a

Updater process ended with Error:1

Error installing zip file /external_sd/Download/ superuser.zip"

Pull out the wire
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jannomag:
Worked! Thanks!
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] kurvenmeister:
[MENTION=6954776]Jannomag[/MENTION]

did you try root?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jannomag:
Yes, worked like a charm with your guide. Thanks.

Btw: I installed the supersu.zip via ADB Sideload in TWRP. I didn't put it on SD or internal.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] darckreign1984:
can you please make a rom backup in twrp to restore my p10?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jannomag:
Someone just did this already.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] TheBigCatTheory:
Hello!

Can someone help me please ... I wiped system partition with TWRP and now the phone doesn´t boot anymore because don´t have any SO.

What can i do now?

I tried with load/update.zip but it tell me that Software Update faile...The update package does not exist. Please download the package again.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] darckreign1984:
I need room backup. Complete backup. Not recovery only.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jannomag:
Data is encrypted. I can make a backup of my L09C432B113 if this will help but I don't think this will work.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] darckreign1984:
No method to restore without funkihuawei? Erecovery dont see any firmware. Dload error at 5%

My phone its demo version
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
darckreign1984

Try installing update.zip firmware via TWRP.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] TheBigCatTheory:
I rooted it, but i have some problems...for example, i install adaway and apply the hosts. If i reboot the phone and enter again adaway, it says that the host are not applied. I have to aplly again.

With titanium backup if a delete sistem app and reboot the phone, when it start, the app´s i delete are still there. I use algo root explorer and delete them from /system/app and the same thing.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jannomag:
I think it's because of the encrypted file system. We have to wait until someone decrypt ist... If this will ever happen.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] OldDroid:
if someone would actually help me with testing i could work on it ..

anyways this is most likely because of dm-verity v2 inside the kernel, it prevents partitions of beeing modified.

Regards
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
With this Root works.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jaunpetrovics:
How to unlock huawei p10??

Hi! I try to unlock my P10. Also I would be happy to participate in testing process.

I tried like everything i found, even dc-unlocker and bought 4 tokens, but when i press "Read bootloader code" it puts out:

What can I do to unlock bootloader? Thanks!

Detecting phone :

selection :

manufacturer - Huawei phones

model - Auto detect (recommended)

Found Applications port COM10

Model : Huawei HiSilicon Kirin Android phone

Serial NR. : *HIDDEN BY ME*

Firmware : *HIDDEN BY ME* test-keys

===================================================================

Reading bootloader code...

unknown responce!

===================================================================
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
The instruction to receive Root + disabling the protection of system partitions for writing. Huawei P10

https://xdaforums.com/p10/help/root-huawei-p10-p10-t3589946
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jaunpetrovics:
Perfect! Works!

Thanks! I appreciate your work. Was ready to make my 1st post and explain this to others - i mean just the unlock process, bet yeah, thank a lot!

For all: 1. don't pay money for dc-unlocker, chimera tool and other sites - Go to official Huawei Emui webpage to get your unlock key.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] xZhongCheng:
Has anyone tried twrp for the VTR-AL00? I recently purchased mine from China.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Blackball:
Should work

Gesendet von meinem VKY-L09 mit Tapatalk
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Idzuna:
Seem to have a bit of trouble installing it on the P10 Lite (WAS-LX2). It flashes fine but it gets stuck on the loading screen.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] davebugyi:
Cause that is a P10 Lite - different HW from P10 and P10 Plus.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Idzuna:
Damn, I thought that might be the case. Is there any TWRP compatible with P10 lite? Some other guides linked to an older version meant for the P9 but I figured it was a copy paste.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Blackball:
[MENTION=4960686]OldDroid[/MENTION]

Did you upload the sources to github?

Gesendet von meinem VKY-L09 mit Tapatalk
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] exocetdj:
This was causing issues initially over on the HTC 10 forums early last year they did some fix in the kernel to disable the dm verity effect
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] redlabour:
I get a

at flashing recovery.img........

Any Ideas? Never had this Problem with Sony or HTC Devices via ADB. Yes - Bootloader is unlocked.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Jannomag:
You have to unlock your bootloader.

Instructions for that should be in this threat.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] redlabour:
[MENTION=6954776]Jannomag[/MENTION] - did you read my posting??? Bootloader was unlocked at Day 1 after receiving the device.........

....anyway - Bootloader must be locked again after last Firmwareupdates. Never get Bootloader locked again at any update on Sony or HTC. Is this normal at Huawei???? Going to backup now and then unlock again....would be terrible if i allways have to unlock Bootloader after every ROM-Update.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Blackball:
Yes u always need to unlock the bootloader

Gesendet von meinem VKY-L09 mit Tapatalk
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] redlabour:
Let me guess..... and always reinstall TWRP?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] jaagr:
Soft-bricked Huawei P10

Hi,

I've somehow managed to soft-brick my Huawei P10 (VTR-L29).

It freezes at the boot screen where it says:

"Your device has been unlocked and can't be trusted... Your device is booting now..."

I had the TWRP recovery image flashed before, but it failed to write anything to the system partitions so I restored an image of the stock recovery.

However, I don't have a big enough SD card available to try the software recovery (using a full-OTA update.zip) so is there any way that I could restore the phone without it? I've tried manually flashing the partitions using the images extracted from the UPDATE.APP package, but most of them fails due to "remote: Command not allowed" error.

Any hints on how to proceed?

Thanks in advance.

edit: I can add that the eRecovery method fails because it can't find a package info for the device. I've read some posts regarding that and I assume it's because the eRecovery images aren't available publicly yet.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] redlabour:
In anyway this seems me to unstable at this time reading the last postings. Good Luck for the future...
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
You can restore using HUAWEI Multi-Tool (6).

The recovery requires the support of the following sections: BOOT.img, CUST.img, RECOVERY.img, SYSTEM.img, files for placement in the folder \ Huawei_Multi-Tool_by_Team_MT \ Unbrick.

Or use this service.

https://funkyhuawei.club/
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] jaagr:
Thank you! The HUAWEI Multi-Tool actually got me a bit further. Now it gets passed the initial booting screen but it freezes when it tries to load EMUI (after the pulsing HUAWEI logo) and reboots into factory reset. I've tried to do the factory reset but it gets stuck at 99%. I will try with a different firmware to see if it helps.

Is there any way to access the boot logs to see what makes it fail?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
While we do not have such an opportunity.

Install through TWRP, these two files from your firmware.

update_full_VTR-L29(L09)_hw_eu.zip

update_data_full_public.zip

(Set with an error, do not pay attention, this is normal.)
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] jaagr:
Could you point me to where I can get the `update_data_full_public.zip` archive? I've found `update_full_VTR-L29C432B130_hw_eu.zip`.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
You flashed BOOT.img, CUST.img, RECOVERY.img, SYSTEM.img from VTR-L29C432B130?

VTR-L29C432B130

http://update.hicloud.…983/f1/full/update.zip

http://update.hicloud.…full_VTR-L29_hw_eu.zip

http://update.hicloud.…e_data_full_public.zip
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] neverd:
All what you say since the beginning won't help anyone. You doesn't seem to understand the new boot sequence of the huawei P10, this won't fix brick. Try to understand how the process boot validation work, Kirin 960 actually do a checkup that if one specific file is incorrect make everything incorrect invalidating the boot.

see my post https://xdaforums.com/showpost.php?p=72113230&postcount=119

Now I would recommend everybody to not install anything twrp, boot.img or flash anything, until the huawei P10 firmware servers are up and also when we are sure that everything is correct to be ready to share how to root the huawei P10.

Honestly this will create more problem, try to understand that root or flash the recovery huawei P10 cause more issues than helping.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] jaagr:
Thanks for the links. Unfortunately it still doesn't boot. And yes, all the files were for `VTR-L29C432B130`

Here's the steps I did:

I extracted BOOT.img, RECOVERY.img and SYSTEM.img from UPDATE.APP found in `update.zip`

I extracted CUST.img from UPDATE.APP found in `update_full_VTR-L29_hw_eu.zip`

I used HUAWEI Multi-Tool to Unbrick the device

I used fastboot to flash `twrp-3.1.0-0-vtr.img` to recovery

I booted into twrp and used adb to push the files `update_data_full_public.zip` and `update_full_VTR-L29_hw_eu.zip` to the phone

I installed the files on the phone using twrp

I tried to reboot into the system but it got stuck and rebooted itself after showing the second HUAWEI logo (after the blue water drops or whatever it is).

I restored the stock recovery and tried to do a factory reset but it got stuck at 99%

Am I missing something?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] neverd:
Is not going to boot, as I precise on the previous post, at the moment we don't have the proper tools nor the possibility to recover to factory state, P10 and all the Kirin 960 as new type of encryption and security that could invalidate the entire boot sequence, the person have no idea about this and actually playing with fire because he someone (lucky) manage to root the Huawei P10 but in a bad way/bad state, he is going to face more problem later.

Again people should avoid to do anything on the Huawei P10 yet and wait a more stable way to root/flash and have a possibility to recover to factory state but at the moment, is not a good idea.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] jaagr:
I hear you. So I guess my best bet would be to actually put the phone away until a proper recovery method has been released.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] neverd:
Sorry that I can't help more than that but if it would be me, I wouldn't post a thread about rooting or twrp, until I know that everything remain stable (even in a beta stage) or be able to recover to factory state.

At the moment, it should be more of a possibility talk than bricking action, I'm interested in working on this but I won't if no one do the necessary to avoid misinform users about how to root or flash when there is no proper tools, this is dangerous for all the huawei P10 owners, even more for the warranty also.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
I restored my device completely.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] neverd:
That what you said, actually most of the people had their Huawei P10 bricked and now have no solution than waiting eRecovery to be ready for Huawei P10 or a valid custom rom based on full ota that including correct writing sequence for twrp.

Also data encrypted is a prevention from Huawei to not mess with the entire system.

No matter what you do at the moment, it will broke the boot sequence that won't let you recover from this easily.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
1. Install TWRP.

2. Install update_data_full_public.zip` and `update_full_VTR-L29_hw_eu.zip through TWRP.

3. Boot into the bootloader. (Not on the system)

4. Extract BOOT.img, RECOVERY.img, SYSTEM.img, CUST.img.

5. Move from the HUAWEI folder to the Multi-Tool \ Unbrick.

6. Firmware with HUAWEI Multi-Tool.

7. Boot into the system.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Blackball:
I thought twrp can't mount the data partition?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
Their mistake is that they try to use firmware updates, not their own.

ERecovery works only on Chinese smartphones. ;)

Encryption is just the protection of the firmware, which is natural for the manufacturer.

I will say it again, everything works as it should.

If you can not help, do not talk.

---------- Post added at 04:53 PM ---------- Previous post was at 04:52 PM ----------

It mounts but not correctly.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] neverd:
eRecovery doesn't work only for Chinese Smartphone, non sense.

Encryption is not only just a protection firmware but everything around, kernel, boot sequence, etc... which is natural for the manufacturer ? well not at this level, they step above things in terms of security and algorithm

Everything is not working at it should, most of the people has bricked their Huawei P10, you seems to read only what you want to read, stop to blind whenever you want.

You are not helpful in your case, I'm try to find a solution to help others, you are simply answer with full of ignorance of what you are doing.

Doesn't seem you know anything about algorithm and encryption, and how a boot sequence/validation.

All you have done is, look guy I flashed my Huawei and I can root forgetting the consequence it can make on other huawei P10.

Yes keep up the ignorance is totally helpful.

Actually twrp doesn't mount data, it mount only the visible part is useless, this part is only a temp data part, everything on it are only used temporary.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yury_z:
You're not trying to find you're just chatting.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] jaagr:
Thank you for this comment because it actually made me see this whole thing in a new way.

I didn't think the firmware version would matter when flashing but because [MENTION=8245774]neverd[/MENTION] highlighted the checksum/integrity validations (thank you for that) at boot-time I started running the same procedure I explained earlier with all the VTR-L29 firmware's available at update.hicloud.com and eventually I found one that worked. I guess it was the one that shipped with my phone so it actually matched the CRC checks, at least that's my guess.

Anyhow - my phone booted and is now working again!
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] dkionline:
Good to know, but stop spamming here, until the next update.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] crucky:
[MENTION=1097168]mankindtw[/MENTION] developed a free method of updating & rebranding see here https://xdaforums.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108 i can confirm it works on the P10 :D rebrandet from 652 to 432
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] SkexxGo:
Re-lock Bootloader

How can I go back to the original state of my phone, with no TWRP recovery, no root and locked bootloader? Is there a way? :confused: Thanks in advance to anyone who can help me :good:
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] M.KK:
Can work twrp in p10 plus?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] SkexxGo:
Trying to do this on my own I just bricked my phone, can't get in TWRP nor anything... If someone has the knowledge to help me... :(
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Blackball:
Google for FunkyHuawei.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] M.KK:
Olddroid p10 plus can be used. The twrp?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] CrazyKat8091:
I'm using P10 Plus VKY-L26C636 and its working fine.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] colthekid:
[MENTION=4960686]OldDroid[/MENTION]

What sort of help/info do you need to get the /data decryption working?

Willing to help but not the most knowledgeable I'm afraid. An "enthusiastic amateur" shall we say!
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] freibergisch:
is the P9 not compareable to the p10? So you can find your solution for your problem by looking into the unpacked twrp file from p9, maybe. I did not flash your twrp because I hesitate to unlock and lose all my data, which I have to write back again after oem unlock my phone.. On the other hand, I am waiting for custom ROMs and there is a need to unlock, when lineageOS f.e. is released for our device.

So, good luck!. If you want, you can keep in touch with me, I also made some TWRPs for Mediatek-devices.

BR

Marcus
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] dkionline:
[MENTION=2084601]freibergisch[/MENTION] Source from P9 isnt enough for P10, theres more to change.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Noetmi:
Try with it maybe it will be hepfull : https://xdaforums.com/p10/development/dev-introducing-redlotus-source-huawei-t3601493
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] SkexxGo:
I got everything to work already, not using that method, but thanks
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] PieceofSlice:
Was wondering if this TWRP will work on a VKY-AL00? Also, is this model rootable?

Thank you
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
Just curious... How did you do it???
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] SkexxGo:
With this

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