Root EMUI 9.0

Search This thread

Dormanil

New member
Oct 27, 2019
2
0
Do any of you have issues with the Messages app after rooting on 9.1.0.326 (COL-L29)?

According to logcat, whenever I open the Messages app, it crashes due to being unable to open /data/user/0/com.android.providers.contacts/databases/calls.db with OSerror 13: Permission denied.
 
Last edited:

Rebel_00XCV

Senior Member
Nov 12, 2015
99
56
Lungro
Do any of you have issues with the Messages app after rooting on 9.1.0.326 (COL-L29)?

According to logcat, whenever I open the Messages app, it crashes due to being unable to open /data/user/0/com.android.providers.contacts/databases/calls.db with OSerror 13: Permission denied.

To solve this problem you need to perform a factory reset. I explained here how to install Magisk without any issues.
 

SirLansing

Member
Sep 13, 2013
6
1
Tested on Emui 9.1.0.326 (C432)
1. Download stock firmware from FirmwareFinder.
2. Open the zip file, and extract the UPDATE.APP file inside to a location of your choice.
3. Use use Huawei Update Extractor to extract RECOVERY_RAMDIS.img
4. Transfer your extracted RECOVERY_RAMDIS.IMG to your phone.
5. Open up Magisk Manager on your device, click the “Install” button, and choose “Select and Patch a File". Using the file explorer that pops up, navigate to the folder on your phone where you transferred the RECOVERY_RAMDIS.img and select it.
6.Transfer patched file to your pc.
7. Do a backup of your phone.
8. Reboot your device in eRecovery and perform a factory reset.
9. When the factory reset end, put your phone inmediately in fastboot mode. Do not let the phone start normally otherwise you will have to flash the stock recovery_ramdisk and repeat the factory reset.
10. Flash the patched ramdiks file.
11. Put again your device in eRecovery mode and do a factory reset. Your phone should boot normally rooted with Magisk.

I get a "writing 'recovery'...
FAILED (remote: partition length get error)" when I try to flash the recovery
 

Einwod

Senior Member
Mar 1, 2011
4,260
2,132
61
Lardos, Rhodes, Greece.
I get a "writing 'recovery'...
FAILED (remote: partition length get error)" when I try to flash the recovery

Is your bootloader unlocked? When I root using this method, my phone app has no contacts, crashes when I try to open it and I have to do a proper factory reset losing everything to get back to stock. Anyone know of a fix for this?
 
Mar 3, 2011
39
9
Bialystok, Poland
I get a "writing 'recovery'...
FAILED (remote: partition length get error)" when I try to flash the recovery

I think that you are trying to flash incorrect partition. Please try with:
Code:
fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG

When I root using this method, my phone app has no contacts, crashes when I try to open it and I have to do a proper factory reset losing everything to get back to stock. Anyone know of a fix for this?

I had the same, but I had data backuped. Never ever flash anything without backuping your data.
To fix your problem you have to flash ROM then flash modified recovery and then restart directly to the recovery and do the factory reset (fake reset). It's mentioned in this method.
If you let your phone to boot to system after flashing new ROM or flashing modified recovery, you will have crashes and issues with calls and messages and then you must start from beginning (flash stock and do a real factory reset).
 
Last edited:

Einwod

Senior Member
Mar 1, 2011
4,260
2,132
61
Lardos, Rhodes, Greece.
I think that you are trying to flash incorrect partition. Please try with:
Code:
fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG



I had the same, but I had data backuped. Never ever flash anything without backuping your data.
To fix your problem you have to flash ROM then flash modified recovery and then restart directly to the recovery and do the factory reset (fake reset). It's mentioned in this method.
If you let your phone to boot to system after flashing new ROM or flashing modified recovery, you will have crashes and issues with calls and messages and then you must start from beginning (flash stock and do a real factory reset).

Even with a backup, I could not restore contacts. It failed every time. Even other apps would not restore from backup. I used Hisuite for the backups. I followed all instructions to the letter, I'm a stickler for that, and still had the problems with the dialer not opening and being empty of contacts. I've given up trying to root at this time as it's so damned frustrating. I never had problems for months, then all of a sudden, it happened. I can't remember exactly when, but now every time I attempt to root, I have the exact same problems. So until a new version of EMUI comes and a new root solution, I'll leave it for now. Just too much hassle to spend 3 hours getting my phone back to the way I want it. Even using the backups to restore, some apps have to be uninstalled and reinstalled before they work correctly on a fresh device.
 
Mar 3, 2011
39
9
Bialystok, Poland
Even with a backup, I could not restore contacts. It failed every time. Even other apps would not restore from backup. I used Hisuite for the backups. [...] Just too much hassle to spend 3 hours getting my phone back to the way I want it. Even using the backups to restore, some apps have to be uninstalled and reinstalled before they work correctly on a fresh device.

That's strange. Which version did you try to root?
I rooted my EMUI 9.1 three times (319, 326, 333) and never experienced such problems. But if it happened out of the sudden, it can happen for anyone as well. Not optimistic news.

And yeah... you're absolutely right about backups, HiSuite is not perfect and it's annoying that some apps have to be reinstalled or at least configured from scratch.
I'm using also Titanium Backup, but the process is not as straightforward as in HiSuite.
 

Einwod

Senior Member
Mar 1, 2011
4,260
2,132
61
Lardos, Rhodes, Greece.
That's strange. Which version did you try to root?
I rooted my EMUI 9.1 three times (319, 326, 333) and never experienced such problems. But if it happened out of the sudden, it can happen for anyone as well. Not optimistic news.

And yeah... you're absolutely right about backups, HiSuite is not perfect and it's annoying that some apps have to be reinstalled or at least configured from scratch.
I'm using also Titanium Backup, but the process is not as straightforward as in HiSuite.

This problem started shortly after I upgraded to 9.1.0.329 on my Honor view 10. Have tried 5 times now to reroot but always the same. After initial boot, no contacts and phone app will not open at all. I can receive calls but the call only shows in the notification bar and can be answered from there. To make a call, I can long press the phone icon and call one of my favourites from the popup. The dialer does not open. Strange the favourites are there and no other contacts. When I try to restore from Hisuite backup, the restoration always fails.
 

powerolive

New member
Nov 14, 2019
2
0
honor play 3

Hello,
I need BL unlock code.
Thank you
MEID:A00000B0E9C4F6
PESN:80C92D6B
IMEI1:868187040779692
IMEI2:868187040906410
SN:GHN6R19916012931
Product ID:98458695
honor play 3
ask-al00x
kirin 710F
4g ram
128g internal storage
emui 9
android 9
linux 4.9.154
 

Einwod

Senior Member
Mar 1, 2011
4,260
2,132
61
Lardos, Rhodes, Greece.
Hello,
I need BL unlock code.
Thank you
MEID:A00000B0E9C4F6
PESN:80C92D6B
IMEI1:*******************
IMEI2:*******************
SN:GHN***************
Product ID:98458695
honor play 3
ask-al00x
kirin 710F
4g ram
128g internal storage
emui 9
android 9
linux 4.9.154

Huawei don't do boot unlock codes anymore and they have informed me that they will not even consider giving codes again in the future, so I think you're stuck. Unless you try Funkyhuawei. They used to offer a paid service. Remove your IMEI and Serial numbers from your original post. They are personal to you and you only.

Edit: Have just checked their site, unlock codes are no longer available there either, so I guess you're out of luck.
 
Last edited:
  • Like
Reactions: mrrocketdog

Einwod

Senior Member
Mar 1, 2011
4,260
2,132
61
Lardos, Rhodes, Greece.
Patched ramdisk for firmware 9.1.0.355
Process is same as earlier updates

https://drive.google.com/file/d/19C-wVx9-GeTneuV8V9VNkAdAKxv1M3n7/view?usp=drivesdk

Sent from my Honor 10 using XDA Labs

Thanks for this updated file. Can you confirm that your phone app works correctly and that your Google contacts exist? When I have rooted before, the phone app crashed immediately on opening and my Google contacts was empty. I'm tempted to try again to root my device as it's been a while now since I could get rid of the bloatware properly.
 
Last edited:

fosterqaz11

Senior Member
Dec 2, 2014
328
41
Bangalore
Thanks for this updated file. Can you confirm that your phone app works correctly and that your Google contacts exist? When I have rooted before, the phone app crashed immediately on opening and my Google contacts was empty. I'm tempted to try again to root my device as it's been a while now since I could get rid of the bloatware properly.
The phone app is working fine.
I don't use Google contact app, just installed and everythings working fine.

The ramdisk is from COL-L29, be sure to check your model ?


Sent from my Honor 10 using XDA Labs
 

mangojain

Senior Member
Jul 24, 2010
154
9
Thanks for this updated file. Can you confirm that your phone app works correctly and that your Google contacts exist? When I have rooted before, the phone app crashed immediately on opening and my Google contacts was empty. I'm tempted to try again to root my device as it's been a while now since I could get rid of the bloatware properly.
This forum is for the Honor 10, by the way, not for the View 10.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Thx to topjohnwu you can use magisk on EMUI9. https://github.com/topjohnwu/magisk_files/tree/master/canary_builds

    What you need:
    1. Unlocked Bootloader
    2. be able to use twrp 3.2.3-1 (important! 3.2.3-1). In this case, im using latest offical twrp for the Huawei P20 Pro (charlotte). Only use ADB function, other features (backup/restore) are untested by me, it can harm your device eventually if you use other functions then ADB.
    3. adb installed on PC
    4. all-full-release.apk from https://github.com/topjohnwu/magisk_files/tree/master/canary_builds
    5. magisk-release.zip from https://github.com/topjohnwu/magisk_files/tree/master/canary_builds

    OK, so how we root the Honor 10 with EMUI9.0?

    1. Download offical twrp from here: https://dl.twrp.me/charlotte/twrp-3.2.3-1-charlotte.img.html.
    Be careful, this release was made for another device, but i had no issue with it on my Honor 10.

    2. Download Magisk Manager (all-full-release.apk) from https://github.com/topjohnwu/magisk_files/tree/master/canary_builds and install it.
    3. Download magisk root (magisk-release.zip)
    4. Enable OEM Unlock (so you can flash recovery in fastboot) , Power Off the device, push and hold VOL DOWN and plug in the usb cable. The device will start into fastboot.
    5. Flash Twrp withon the PC: fastboot flash recovery_ramdisk twrp-3.2.3-1-charlotte.img
    6. This one is a bit tricky! Type fastboot reboot, push and hold VOL UP and after sending fastboot reboot immediately remove cable and wait for twrp to boot. If you not remove the cable you will end up in eRecovery and have to redo the steps above.
    7. In twrp, go to advanced and start ADB. Than plug in the USB cable.
    8. PC: flash magisk-release.zip with: adb sideload magisk-release.zip
    9. IMPORTANT: Remove cable, select reboot, but keep VOL UP pressed during reboot, otherwise you are not able to use magisk. You have to press VOL UP everytime you reboot the device otherwise you have to do Step 5-9 again.
    10. Done, your device is rooted.

    UPDATE to .162:

    To Update succsessfully to .162 you have to do the following things:

    1. flash emui stock recovery_ramdisk.img in fastboot (extract it from update.app using Huawei Update Extractor) use "fastboot flash recovery_ramdisk RECOVERY_RAMDIS.IMG" You dont have to use recovery_ramdisk.img from .162. Just use the latest update.app to extract the recovery_ramdisk.img you can find in Firmware Finder.
    2. Disable OEM Unlock and reboot the device
    3. Go to Settings\System\Software Updates and Hit the 3 Dots on the top right. Select the Full Package Download.
    4. Wait until download is complete and hit update. Now the device will boot into EMUI recovery and install the update the phone.
    5. The device is now rootless, if you want root again, follow the instructions above.

    Caution: Just in case: After the update and installation of magisk, adaway becomes unstable on my phone. It seems the "allow root" popup dont show up after adaway started. I have fixed this by autoallow root in magisk, start adaway, enable adblocking and set magisk to "ask permissions" again. After this, the popup shows correctly again. For now i have no clue why this was happen, another Honor 10 dont have this issue at all.

    Just disable battery optimization for magisk manager and the "allow root" popup will appear

    Notice for UPDATE .179:

    You can use the guide above but you have to update (Systemupdate) twice, since the update comes with 2 separate packages. After the first run, emui recovery shows "update failed". Just reboot to system, go to settings, and start the updateprocess again. The second package is about ~220MB in size. After this follow the guide above to get magisk running again.

    Notice for UPDATE .203:

    Just do the usual way. Flash STOCK recovery_ramdis.img with fastboot, reboot the phone, do the update. After this flash twrp in fastboot again and adb sideload magisk-release.zip.

    Notice for UPDATE .207:

    Works! Flash STOCK recovery_ramdis.img with fastboot, reboot the phone, do the update. After this flash twrp in fastboot again and adb sideload magisk-release.zip.

    Notice for UPDATE .216:

    Works!

    Notice for UPDATE .223:

    Works, but you have to use latest Magisk release (19.3) from topjohnwu: https://github.com/topjohnwu/Magisk/releases

    At step 8. PC: flash magisk-v19.3.zip with: adb sideload Magisk-v19.3.zip


    Notice for UPDATE EMUI 9.1:
    9.1 Change a lot, you will have the latest stock RECOVERY_RAMDISK.IMG patched via Magiskmanager and install that with fastboot. After this, reboot and PRess VOL+. You will end up in eRecovery, hit Wipe/Factory Reset(Make BACKUP!) and reboot. This install magisk permanently. For Adaway: You need Systemless Mode activated in Magisk and Adaway.

    Maybe i will write another Guide for 9.1, but for now im testing stability.
    2
    Which version (325, 327, 330)?
    Any problems with flashing Magisk? I read that the method is a little bit different than with EMUI 9.0, and requires doing a factory reset and restoring data later.

    Yes its different. Im still have problems with twrp, so be patient. I guess i will write another Guide with the new instructions.

    EDIT:
    I have Magisk installed but Adaway is not able to write a hosts file directly, you have to activate systemless mode and it works.
    2
    Caution: Just in case: After the update and installation of magisk, adaway becomes unstable on my phone. It seems the "allow root" popup dont show up after adaway started. I have fixed this by autoallow root in magisk, start adaway, enable adblocking and set magisk to "ask permissions" again. After this, the popup shows correctly again. For now i have no clue why this was happen, another Honor 10 dont have this issue at all.



    Just disable battery optimization for magisk manager and the "allow root" popup will appear

    ---------- Post added at 02:39 PM ---------- Previous post was at 01:48 PM ----------

    I managed to get magisk working without having to hold the vol up button on every reboot.
    After the first "vol up" reboot, open magisk manager and do a direct installation, it will ask you to restart, accept and reboot from magisk, when the device has turned on, do a direct installation again from magisk manager. Now you can turn the device off and on without having to hold the vol up button.
    2
    Hmm after flashing Magisk patched ramdisk image i had to Factory/Reset but this install magisk. I had no dataloss, and calls and massage work like a charm. Maybe a regional issue?
    2
    After this, you have to root the device again just like post 1 describes it.

    Since you have already updated and are rooted again, I have new hope that rooting will succeed for me this time as well with the update. I’ll give it a try tonight!

    Could you upload a stock recovery file? I'm at work and won't wait till the evening :D

    Here you have the stock recovery_ramdisk for COL-L29C432E4R1P9B159: https://drive.google.com/file/d/1DMw_gJBOtHJfSycRG_yhsjsz1R7D6_Qd/view?usp=sharing

    For some reason, the Firmware Finder does not list the new OTA yet though, so I cannot get a backup of the new stock recovery :/ I hope they will publish the link there soon.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone