yashsingh1/xdaforums huggingface dataset:
[Huawei P10 Guides, News, & Discussion] zgfg:
Some reason = EROFS (Extendable Read Only File System) for System, Vendor... partitions coming with EMUI 9.1
[Huawei P10 Guides, News, & Discussion] gabolander:
no longer able to reboot with root

Hi there,

After upgrade to Emui 9.1 on my VTR-L09, and succesfully patched patched_boot.img, I'm no longer able to reboot phone with root..

Try both VolUP+power, and releasing power during boot, or VolUP after power as soon as I detect vibration, etc.. It always starts with no-root, or access in eRecovery menu.

Any suggestion? Tnx in advance.

G.

EDIT: Sometimes it seems I get the right boot way keep pressing Vol+ ("Your device is booting now ..."), but after some seconds, phone vibrates and reboots again with the three common questions: 1) Press power to continue, 2) Press Volume up key up to 3 seconds to enter erecovery to restore your device, 3) your device will continue to boot 5 seconds later i f there no choice ... etc And boots with stock (non-patched) bootloader. :(
[Huawei P10 Guides, News, & Discussion] BlaMa:
Same situation here. Then I flashed a previous version(magisk moded) of recovery_ramdisk (fastboot flash recovery_ramdisk name_of_your_patched_file.img). In my case(vodafone phone) it is file from v. 9.0.1.184(C02E7R1P9). Everything is fine, or I can say I had no problem still.
[Huawei P10 Guides, News, & Discussion] hwawaypee10plus:
Does this work on VKY-L09? I'm on Emui 9.1
[Huawei P10 Guides, News, & Discussion] visa91:
I have a problem:

I rooted my phone in EMUI 9.1 with this method properly. I was able to power on the device with root permission but after a module installation I have a bootloop when I try to power on the device in the rooted mode (not in the non rooted mode).

How can I fix that?I have read some solutions but with TWRP and I don´t have it.

Thanks
[Huawei P10 Guides, News, & Discussion] zgfg:
You can try with adb command from PC (via USB):

adb wait-for-device shell magisk --remove-modules

See below, but not sure would it really be executed before rebooting:

https://xdaforums.com/showpost.php?p=80390951&postcount=35975
[Huawei P10 Guides, News, & Discussion] visa91:
See below, but not sure would it really be executed before rebooting:

https://xdaforums.com/showpost.php?p=80390951&postcount=35975[/QUOTE]

Thank you men, it works! you deserve a beer hahaha
[Huawei P10 Guides, News, & Discussion] KreNtal:
Things changed a bit with latest version of Magisk so the code now is

su
whoami #make sure its "root" not "shell"!
echo "#!/system/bin/sh" > /sbin/.magisk/img/.core/service.d/stop_aptouch.sh
echo "stop aptouch" >> /sbin/.magisk/img/.core/service.d/stop_aptouch.sh
chmod +x /sbin/.magisk/img/.core/service.d/stop_aptouch.sh

and then you can reboot with

reboot recovery

to check everything is OK
[Huawei P10 Guides, News, & Discussion] dfrmtn:
!!Solved - Hi guys, is this only for VTR-L09, i own VTR-L29 on 9.1.0.252. Already patched the ramdisk file and then flashed it to the phone but i cant seem to enter the root mode.

I have one more question regarding the edge touch problems.

I used those commands but after reboot it doesn`t seem to fix this issue. Currently im manually stopping the service aptouch in order to fix it. What am i doing wrong?

su

whoami #make sure its "root" not "shell"!

echo "#!/system/bin/sh" > /sbin/.magisk/img/.core/service.d/stop_aptouch.sh

echo "stop aptouch" >> /sbin/.magisk/img/.core/service.d/stop_aptouch.sh

chmod +x /sbin/.magisk/img/.core/service.d/stop_aptouch.sh

Thanks in advance.
[Huawei P10 Guides, News, & Discussion] BlaMa:
I had a Magisk instaled, but by some mistake when I had a problem with EdXposed modul as solution to fix boot problem I uninstal Magisk.

Now I can use phone(P10 v9.1.0.262), but cannot install Magisk. When I press[VOL+] + [Power], always get the eRecovery application.

I reproduce all steps from first page, also for patchiing using image from first page. Magisk is 7.5.1.

Any hint how to fix this?
[Huawei P10 Guides, News, & Discussion] BlaMa:
Disk you find a solution-fix for the problem? I am in same situatuion now.
[Huawei P10 Guides, News, & Discussion] Aaron.Maiden:
Yes I had to reboot while pressing volume up button everytime it rebooted but then with the last magisk manager update didn't happen again.
[Huawei P10 Guides, News, & Discussion] Alcaha:
I followed this step by step but during the last instruction, actualize in Magisk, after reboot, I opened Magisk and it said Magisk is not installed.
[Huawei P10 Guides, News, & Discussion] saltyboi120:
Advice

Hi, I'm new to rooting, and just to confirm that your firmware is VTR-L29 same as mine? And you simply followed these instructions to the letter with no problems? Thanks! Just want to make sure before I try this out
[Huawei P10 Guides, News, & Discussion] mattintoronto:
For those who are experiencing a loss of root upon rebooting you may not be booting into the right partition. If your device isn't booting into recovery (not to be confused with erecovery) then your modified boot image won't be used and you won't have root.

There are many ways to accomplish this. Good luck.
[Huawei P10 Guides, News, & Discussion] andreas21042:
Root your P10 with Magisk in 2020

I figured it out to root my P10 VTR-L09 sucessfully with Magisk running the openkirin Ressurection Remix 7

I Always had the problem after Magisk install that Magisk showed a successful installation but the root request pop-up never appeared.

How I fixed it:

- Download Magisk Manager App

- Get the stock recovery ramdisk .img for your device (first post of this thread)

- Patch it with the Magisk app (v20.4 caused bootloop for my, I used v20.3)

- Flash the magisk_patched.img with

fastboot flash recovery_ramdisk magisk_patched.img

- Unplug our device and press POWER + VOL-UP and hold until reboot

- Unpress Power after you see the splash screen (hold VOL-UP) to boot the patched ramdisk

- You're done, root an root popup is working! :cool:
[Huawei P10 Guides, News, & Discussion] RumbleRamy:
I have a P10 -- VTR-L29 device how can I root it ?
[Huawei P10 Guides, News, & Discussion] daniel11609:
i only got the VTR L09 and the described method did work.

---------- Post added at 05:11 PM ---------- Previous post was at 05:06 PM ----------

unfortunatly this DID NOT work on Android / Emui 9.1

doing

su

stop aptouch

manually did work.

Any help on this would be appreciated.
[Huawei P10 Guides, News, & Discussion] zhjc1124:
It needs sleep

su

whoami #make sure its "root" not "shell"!

echo "#!/system/bin/sh" > /sbin/.magisk/img/.core/service.d/stop_aptouch.sh

echo "sleep 10" >> /sbin/.magisk/img/.core/service.d/stop_aptouch.sh

echo "stop aptouch" >> /sbin/.magisk/img/.core/service.d/stop_aptouch.sh

chmod +x /sbin/.magisk/img/.core/service.d/stop_aptouch.sh
[Huawei P10 Guides, News, & Discussion] revelli:
stop aptouch workaround

vtr-l29 9.01.185 c432E1R1P9

Without root, touch screen works fine.

After rooting with MAGISK 20 touchscreen does not work at extreme left and right borders for all height display. If I uninstall root it works fine again.

The only way to solve the matter is to stop aptouch from terminal root shell.

terminal

su

stop aptouch

It is annoying.

Anyone found a workaround??
[Huawei P10 Guides, News, & Discussion] gilraya:
Just rooted my P10 VTR-L29 device with Android / Emui 9.1 (9.1.0.252(C432E1R1P9patch04)) using this guide - worked fine after some fiddling around.

Regarding the aptouch service:

Magisk provides some entry points for that: https://github.com/topjohnwu/Magisk/blob/master/docs/guides.md#boot-scripts (found through some associated googling)

So to recap, from terminal emulator or adb shell:

su
whoami #make sure its "root" not "shell"!
echo "#!/system/bin/sh" > /data/adb/service.d/stop_aptouch.sh
echo "sleep 10" >> /data/adb/service.d/stop_aptouch.sh
echo "stop aptouch" >> /data/adb/service.d/stop_aptouch.sh
chmod +x /data/adb/service.d/stop_aptouch.sh

Reboot and try. Works at least for me.
[Huawei P10 Guides, News, & Discussion] justinas2003:
Hi how did you manage to flash patched image? I don't have access

.\fastboot.exe flash RECOVERY_RAMDISK .\magisk_patched.img
target reported max download size of 471859200 bytes
sending 'RECOVERY_RAMDISK' (32052 KB)...
OKAY [ 0.703s]
writing 'RECOVERY_RAMDISK'...
FAILED (remote: Command not allowed)
finished. total time: 0.718s

Could you please explain how did you do it? I have same model and version.
[Huawei P10 Guides, News, & Discussion] jgkosak:
without root folder access.

I managed to take root. but I don't have access to modify system files.

What will be the problem?
[Huawei P10 Guides, News, & Discussion] zgfg:
SAR and system is read-only (on the file system level)

You can only use systemless overlays

If not familiar with terms , please google and read Magisk docs on GitHub

---------- Post added at 10:12 PM ---------- Previous post was at 10:08 PM ----------

For flashing from Fastboot, make sure that Bootloader and FRP are unlocked
[Huawei P10 Guides, News, & Discussion] justinas2003:
So this thread is pretty much next to useless for me.
[Huawei P10 Guides, News, & Discussion] josua19:
you are the best bro, it worked for me
[Huawei P10 Guides, News, & Discussion] Sterben11:
Did you use the included ramdisk from the first post or did you managed to make your own patched ramdisk?

My Device:

Model:VTR-L29

bootloader unlock and frp unlock

custom rom Openkirin AEX P1 beta 1 from Emui 9.1 (9.1.0.252(C432E1R1P9patch04)

if you still have a copy of your stock ramdisk/patched one would you please be kind enough to share it?

fastboot flash ramdisk patched_boot.img
Sending 'ramdisk' (32768 KB) OKAY [ 0.742s]
Writing 'ramdisk' FAILED (remote: 'partition length get error')
fastboot: error: Command failed
[Huawei P10 Guides, News, & Discussion] M1chiel:
The correct command is for emui 9 is: fastboot flash recovery_ramdisk patched-boot.img
[Huawei P10 Guides, News, & Discussion] Sterben11:
Hey thank you again!!! appreciate ya men
[Huawei P10 Guides, News, & Discussion] orkeven:
Although I have an Honor 9 device, it has EMUI 9.1 and I will like someone who is kind enough to share a download link for the stock versions of ramdisk and eRecovery, please.
[Huawei P10 Guides, News, & Discussion] M1chiel:
You can extract them yourself from the stock rom (I wouldn't take the risk flashing these images from another device). Good instructions are here: https://openkirin.net/user_guide/how-to-extract-partition-images-from-stock-emui-firmware/
[Huawei P10 Guides, News, & Discussion] orkeven:
I don't have a stock rom to extract from, hence the request from anyone who happens to have a working download link to the stock rom for Honor 9 Emui 9.1. In particular the files I'll need are the kernel, stock recovery, recovery_ramdis and system images (system can actually be replaced by a custom rom like openkirin).
[Huawei P10 Guides, News, & Discussion] Aryapars:
Hello,

I have the p10. Due to an issue I had, I took the newest update available in my region, which is 9.1.0.275.

However, now the phone won't boot with my patched recovery_ramdisk anymore. it gets stuck or restart. Normal boot works fine.

I assume we need to use now the original 9.1.0.275 version of recovery_ramdisk (as previously I used the 9.0 version from OP) and must patch that with magisk. As I was neither able to download the full rom on my PC (all links are dead or paid), would anyone mind posting either the patched version or the original version of recovery_ramdisk for 9.1.0.275 EMUI?

I would appreciate very much.

//Just to add: until 9.1.0.252, the image in OP worked fine....
[Huawei P10 Guides, News, & Discussion] qtotter:
I guess it's too late for you, but I found the full firmware of the latest VTR-L29 9.1.0.275(C432E2R1P9) in /data/update/HwOUC during OTA update. I have extracted RECOVERY_RAMDIS.img and patched it with Magisk 23.0. Here's the link for the patched recovery image. I think the recovery images for VTR-L09 and L29 are compatible.

qt
[Huawei P10 Guides, News, & Discussion] Aryapars:
Thank you for posting it. Indeed it was kind late. But I will re-use it once I am back on EMUI
[Huawei P10 Guides, News, & Discussion] lawong:
had tried all possible way mentioned above but it wont boot to rooted state.
[Huawei P10 Guides, News, & Discussion] Erik_A_S:
I'm struggling to root my good old Huawei P10. Initially I thought unlocking the boot loader would be the biggest challenge but that hurdle is passed at least.

The phone is on 9.1.0.297(C432E5R1P9) and I'm struggling to find a downloable SW package to extract the recovery ramdisk to patch. The Russian site pro-teammt does not have a download section these days. Been browsing around without finding an alternative source. Any ideas or suggestions?

Or would it be possible to extract the recovery ramdisk from the phone itself over ADB with some DD style command?
[Huawei P10 Guides, News, & Discussion] Krankhait:
64 MB folder on MEGA

2 files

mega.nz

patched (with magisk 26.1) and original recovery_ramdisk image.

[Edit]

Sorry! These are patched and original 185 files.

I will try to organize the 297 ones!
[Huawei P10 Guides, News, & Discussion] GabriLed:
Any ROM or Gsi for VRT L09?
[Huawei P10 Guides, News, & Discussion] ARDV:
thank you
[Android Q&A, Help & Troubleshooting] coisrindua:
Hi, excuse for my bad english

My Problem is: I have a bug on my tablet, I no longer have access to OTG or USB.

So I want to go back to an original firmware to fix the tablet.

But as I have no access to ODIN. No USB or OTG

I would like to flash my tablet with AP BL CP CSC files from my tablet.

How to turn these files into zip for TRWP to install.

Or else how to do that.

My tablet is a Galaxy Tab E

T377WVLU3BRG4

Android 7.1.1

Samsung version 8.5

Thank you Very Much!
[LG V30 Questions & Answers] drewcu:
Just bought a VS996 on Ebay and followed the Frankenstein steps to get it to US998 and then WTF unlocked the bootloader, installed TWRP, removed encryption, etc, and finally the Verizon 20i ROM designed for TWRP/root.

All was well for a brief time. Then I started debloating the ROM and installed a Magisk module -- Terminal Debloater or something -- figured it was harmless.

Rebooted and I no longer have the Bootloader warning screen and the Verizon white screen with animating dots comes up but never moves past that. I waited at least 15 minutes and then hard reset.

Fortunately I could get into TWRP still so I wiped and flashed the ROM 20i ROM and Magisk again which will boot just fine.

Unfortunately, Download Mode (which worked previously via the Volume Up key for the Frankenstein method) no longer works. I see the mini Download mode icon and then the phone reboots to the LG V30 screen and then the OS. Tried going to Download Mode via ADB and it won't stay then either. Somehow my LAF partition got corrupted?

So TWRP works and so does the 20i ROM rooted. Just no Download Mode. Also "adb reboot bootloader" doesn't work either - just goes to the OS.

Is there anything I can do to bring back Download Mode?

Thanks,

Drew
[LG V30 Questions & Answers] nnjimmy59:
Once you're on vs996, you don't get the bootloader warning anymore.
[LG V30 Questions & Answers] crumbling9999:
Extract the TWRP flashable package, get the laf image and write it to your laf partition with dd. You can also flash it from fastboot
[LG V30 Questions & Answers] drewcu:
So in vs99620i.zip found: https://androidfilehost.com/?w=files&flid=287569, I see in the bootloader folder there is a laf.img. I've recently installed the whole ZIP again so shouldn't that have fixed the Download Mode? Or could it be that this ZIP is the reason for the messed up Download Mode in the first place?

Anyway, assuming there's nothing wrong with the laf.img, what are the steps for writing to the laf partition with dd?

I'd ask about the fastboot steps, but I'm not sure I can get to it... As mentioned in my OP, "adb reboot bootloader" is accepted via ADB, but the phone reboots and just goes past the bootloader to the OS. Not sure what is wrong with my bootloader either... Or is it because I'm on VS996 and no longer US998 that I don't have fastboot?

Thank you!
[LG V30 Questions & Answers] runningnak3d:
You are correct. Since you flashed back to VS996, you no longer have fastboot.

As for laf, you can use any laf image. Go to the H932 root thread and there is a TWRP flashable laf zip in the first post.

If you want fastboot back, you will need to flash xbl and abl from the US998. Let me know, and I will make you a zip for that as well.

-- Brian
[LG V30 Questions & Answers] drewcu:
So helpful, thank you Brian! Yes I would be most grateful if you could make a fastboot zip for me/others!

There is no issue flashing an H932 laf image/zip on a VS996? I know H932 isn't like other N. American V30s in terms of the WTF method, so just want to be sure I don't mess things up. Maybe you/I could make a US998 laf image/zip?

Thank you again!
[LG V30 Questions & Answers] runningnak3d:
Nope, there is no issue flashing any models laf. The laf in that H932 thread isn't even an H932 laf, it is an H930 or H933 don't remember.

Laf is laf is laf :)

I will make you a zip for fastboot as soon as I can.

-- Brian
[LG V30 Questions & Answers] drewcu:
Flashed the h932_laf.zip in TWRP and think it was successful. However, I still cannot get into Download Mode -- it just reboots and goes to the OS. Guess no more LG UP fail-safe for me? Or is there anything else I can try?

Thanks!

-Drew
[LG V30 Questions & Answers] ChazzMatt:
What steps are you taking to go into Download mode? I'm not doubting it's possibly corrupted, just want to make sure you have tried both methods of getting into download mode. LGUP and manually?

Apologies if you have tried this...

Manually with the hardware buttons:
[LG V30 Questions & Answers] runningnak3d:
Actually, without fastboot, the vol up + USB is the only way to get to download mode.

Just an FYI, the phone has to be powered off.

So, power off the phone, hold vol up, plug in the USB cable.

There is no reason you wouldn't have download mode if you have a valid laf partition.

-- Brian
[LG V30 Questions & Answers] drewcu:
No worries, but yes I have tried that. I get the Download Mode tiny icon in the center of the screen and I keep holding Vol Up and it then reboots back to the same tiny icon over and over. I eventually release the Vol Up and it just goes to the OS. But it worked perfectly when I got the phone Friday and tried the Frankenstein LG UP method, etc.

I have also tried rebooting into Download Mode in ADB via "adb reboot bootloader" and also using a root-only Power Menu app in the OS but both just reboot and go right to the OS.

My hunch is it somehow got corrupted when I:

1) Used Titanium Backup to uninstall some system apps like Music, Youtube, Photos, etc and the white Verizon loading screen never let me into the OS and I had to hard reset.

2) Installed vs99620j.zip by John Fawkes which won't boot past the LG V30 screen. This non-booting issue may more have to do with the 20J KDZ than what John did, and no one else has complained about a loss of Download Mode in that thread when I asked the question there.

3) Installed a Terminal Debloater module in Magisk previously. Never actually ran it though, but I installed it as I was debloating via Titanium Backup and when I rebooted, the OS would never load.

I have subsequently flashed the 20i VZ zip with a laf.img and the H932 laf img ZIP which should each have fixed the Download Mode but neither has.

Could there be something else other than the LAF partition which causes my phone to not enter Download Mode?

EDIT: Noticed that my computer's LGUP sees my phone just fine when the Verizon 20i ROM is loaded -- shows up as on COM14 in STANDBY. Download Mode, again, is another story! (And no I don't have LGUP loaded before doing the Vol Up method normally. Tried it this time though just out of curiosity and nothing showed up in LGUP.)
[LG V30 Questions & Answers] ChazzMatt:
Sounds a little bit like you were trying to do too much at one time. I understand the impatience. ;)

Also, others have reported the vs99620j.zip may not quite work right. The dev is investigating issues.

Last, be very careful about debloating where you are permanently removing stuff. With this phone a lot of stuff is connected in ways LG knows and we don't. Personally, I prefer FREEZING in Titanium Backup rather than uninstalling. (However I know Verizon does shove a lot of bloatware down your throat, while I have a US998.)

First, there's system space and user space. Uninstalling "system" apps do not gain you any user space. It may make people "feel better", but it has no advantage whatsoever over just freezing. With freezing, out of sight out of mind, and you won't cause lag because the roots are ripped out and the phone has to pause while searching for something it can't find. (I'm not talking about Verizon branded bloatware, but other stuff.)

Second, if you find you DO need something you froze, it's then simple to unfreeze. There were people who messed up their AOD, their GPS, their Google Pay, their microSD card storage by debloating willy nilly from some alleged "comprehensive" someone posted in this forum of ALL the stuff that could be debloated. Just because you can remove it doesn't mean you should. There was a lot items on that list you should never even touch, unless you are trying to turn your modern smartphone into a simple flip phone.
[LG V30 Questions & Answers] drewcu:
Yeah, you're right about Freezing as that's what I did after having the Uninstall issues. And yes, you are right about it not recouping user space either, so I am fine just Freezing.

Regardless, not sure why Uninstalling system apps would mess up Download mode; if anything I could see the ROM not loading but that's about it.

Any thoughts on restoring Download Mode in some other way? It's not critical for my phone to work right now, but I can imagine a situation where somehow TWRP gets overwritten somehow and the stock recovery is practically useless. Thankfully I have TWRP and a rooted VZ ROM for now, but it'd be nice to have the insurance in case bad anything happens!

Thanks,

Drew
[LG V30 Questions & Answers] ChazzMatt:
You won't be able to ADB reboot bootloader while on Verizon firmware. However, if you flashed US998 TWRP flashable zip (converting back to US998), you would again have fastboot flash commands, etc. That might be worth trying, then later you could always flash back to Verizon TWRP-flashable zip.

It does seem somehow your Download mode has been corrupted. The only things I know of (and I'm not a dev) about how Download mode disappears is either corruption or you flash something else over it. Some T-mobile H932 users flash an extra copy of TWRP over LAFF and they lose Download mode -- but they are doing that on purpose for reasons specific to the H932.
[LG V30 Questions & Answers] drewcu:
Yeah I'd appreciate the fastboot zip when you get a chance, thanks!

Any other ideas for restoring Download Mode or is that pretty much shot, you think?
[LG V30 Questions & Answers] drewcu:
So thanks to the H932 guide and the following, I now have a 2nd working TWRP in place of my Download Mode/LAF partition. When I hold the Vol Up and plug in a USB cable, I first see the tiny Download Mode image as before, but then the 2nd TWRP loads up! Not sure why when I restored a working laf img via TWRP before, Download Mode still wouldn't work, but this will work via ADB. Guess TWRP as a fail-safe in many cases is better than Download Mode, so I'll take it! Perhaps if I flashed the laf img via ADB like this instead of TWRP, it would restore Download Mode, but I'll live with TWRP there for now. :)

Still would love to have fastboot on VS996 as Brian described on Page 1, if that's even possible. ;)
[LG V30 Questions & Answers] ChazzMatt:
If you flashed to US998 TWRP-flashable zip you should have ADB/fastboot flash commands back.