yashsingh1/xdaforums huggingface dataset:
[Huawei P Smart Guides, News, & Discussion] KevMetal:
you can root any phone with an unlocked bootloader... you patch the boot. img with magisk manager apk and flash it back using fastboot

your problem is that yes, dc-unlocker provides bootloader unlock codes for 4€..

HOWEVEr... you are SOL cos the huawei 2019 most likely will launch with a security patch that will stop dc-unlocker...

for the p smart 2018 you can downgrade to the first version of stock rom and then unlock but i think 2019 has launched with too high a security patch..

this dude who already ordered it should contact dc and see or post here the date of his security patch out of the box

lastly DO NOT Update.. just in case you can unlock anyway..

dont buy Huawei.. they are anti dev mod and root so don't support them

get a xiaomi.. same quality and price but more dev friendly
[Huawei P Smart Guides, News, & Discussion] mad_ady:
Thank you for your suggestion. I'll have a look at a different vendor as well.
[Huawei P Smart Guides, News, & Discussion] dariusapostol:
Bluetooth still crappy on this one
[Huawei P Smart Guides, News, & Discussion] Klemse:
Huawei P Smart 2019 root manual at techdroidtips

Not sure to what extent xdadevelopers permits external links, but google allows a quick find of instructions for rooting the 2019 at techdroidtips dot com. It looks very serious and reliable. What do you guys think about?

I would go for the first "manual" method, however the easy "automatic" option with KingRoot sounds convincing, too. Any recommendations or comments are welcome!
[Huawei P Smart Guides, News, & Discussion] mad_ady:
Sorry, that site doesn't seem reliable and the pages seem autogenerated:

I can't find any TWRP recovery for this model, so I assume none exists yet.
[Huawei P Smart Guides, News, & Discussion] KevMetal:
jajaja ...are you joking ...kingroot ......kingroot is outdated and also adware / bloatware ....

you have been explained ...only root to road through unlocking your bootloader ....the question is whether the your security patch is outdated enough to allow you to use dc-unlocker to use their method to readback your code from your device for you

if you have an unlocked bootloader you can flash custom roms without root using fastboot and treble system images ( NO ROOT NEEDED) & If yourealky wanted root you could patch your boot.img with magisk and flash that back with fastboot

IN BOTH CASES NO TWRP EVEN NEEDED .....:p:eek::silly:
[Huawei P Smart Guides, News, & Discussion] Klemse:
In the meantime a have to admit, that you're right and the mentioned source may represent an useful general overview of available approaches, but is not at all device specific (and indeed automatic generated with replacing phone devices as tokens).

So, sorry for the terrible research so far. Hopefully the following summary is better:

1) Because Huawei stopped their Unlocking Support in Mid of 2018, we need alternative ways to do so. One of them could be DC-unlocker, however it doesn't seem to be supported yet (at least not listed as '(2019)'). So other services as for example mentioned at huaweiadvices dot com could be a solution, although they cost 35$ or more. I'm wondering how those companies (like FunkyHuawei or MinistryOfSolutions) do access/receive the Unlock code?

2) Because there aren't (somehow based on issue 1) compatible ROMs for Huawei-P-Smart-2019, yet, or at least no well known/tested ones, an experienced user like me should wait till there is an announced model supported release. A very interesting source seems to be OpenKirin. So waiting for a release for the Kirin 710 (which is not yet listed) could be promising. Btw, what ways do you know for finding fitting ROMs?

Do those two conditions seem proper to you?
[Huawei P Smart Guides, News, & Discussion] KevMetal:
Device specific custom roms seems to be the thing of the past . The future is project treble ....so for all intents and purposes there are many custom roms that could installed on your device ...read how treble works and perhaps you will understand....kirin 710 is irrelevant ...in treble you are flashing a system.img which is generic ( any treble device ) because the "drivers" for yourhardware is not in the system img ...

Magisk is the main and perhaps only cross platform root method ...once again ...your device is irrelevant ...

Your only mission here is to unlock your bootloader so you can flash .img files that are not approved by Huawei ...

So your only time spent that will be worth anything will be obtaining a bootloader unlock code

However Whichway because without it you will go pretty much nowhere ...with it ...you don't even need a twrp nor do you need a custom specifically announced as being for P smart 2019

Huawei is like Apple ..of Android ....without any jailbreak community and at a lower price / quality point

Since taking the step not to support bootloader unlocking ...they are worthless as a phone to a person who wants root and good custom roms ..

just because dc says unsupported doesn't mean it won't work ...i told you to contact by email your security patch level to enquire if it might work ...so until youhave done that this whole chat is worthless ...

if your security patch is quite recent you are SOL

you should off-load it on an old guy who doesn't know what root is and get another phone .
[Huawei P Smart Guides, News, & Discussion] Klemse:
Hi KevMetal, thanks for your effort to clarify and increasing my understanding. Didn't want you to have yourself repeated...sry

Anyway, I tried to follow your advice and have sent now the following device information to support@dc-unlocker.com:

◦ Model: POT-LX1

◦ Build-Number: 9.0.1.129(C432E8R1P12)

◦ EMUI-Version: 9.0.1

◦ Android Security Patch: 1st Nov' 2018

Don't know if this is enough. However couldn't find a number for the Security Patch or anything beyond that release date.

Will share the information here, If I get an answer...
[Huawei P Smart Guides, News, & Discussion] KevMetal:
The info is fine, it does according to release date ...i can almost guarantee that it's too recent .....but rather wait for confirmation ....if you are really lucky some really clever Dev or devs or unlock team looking for money will find another exploit to readback the bootloader code but as for now you are SOL ...but unless you see info floating in XDA or 4pda and it's vouched for by experienced members it's probably a scam to get cash or just adware or bloatware ... after android nougat there are / were very few legit root exploits and when legit they get patched in a security update after release locking down newer models ...cheaper or midrange devices just don't get enough attention from the right people ......not to mention that the OSgets locked down tighter and finding exploits is a time consuming past time ...:good:..sorry bro

tools like software based root exploit tools released to public depends on finding weaknesses in the security of the OS whereas bootloader unlock lets you flash images that includes root or boot images patched previously so its very different
[Huawei P Smart Guides, News, & Discussion] jazzh:
Any news? I boutht the 2019 version and joping there will be some root method soon and perhaps some rom.

Any good dark material emui 9 theme in the meantime?

Is there any way I can enalrge icons in the status bar, they are so tiny no matter what font settings are applied?
[Huawei P Smart Guides, News, & Discussion] Klemse:
Huawei P Smart 2019 root/magisk — missing Bootloader unlocking!

Well, unfortunately there is only little hope. I got answers from support@dc-unlocker.com that there is no support so far, however they „[…] hope so it will become supported in future, but there are no news or information available about it yet.“

I won't wait for it and switched to another phone...
[Huawei P Smart Guides, News, & Discussion] xcodejps:
Today, I have got bootloader unlock code for P Smart 2019 for 31 USD from

global-unlocking-solutions.miiduu.com/bootloader-unlock-codes-choose-model-below

Unfortunately I cannot get Magisk to work, tried so many things and still no root, also non of working twrp recoveries exist ...
[Huawei P Smart Guides, News, & Discussion] KevMetal:
if you unlocked your bootloader you can flash any prerooted treble system.img

....how is it exactly that you cant get magisk to work ....download your stock rom ..extract the boot.img ...patch it with magisk apk ...flash it back using fastboot

post screenshots here if your unlocked bootloader then i will explain you how to flash a treble GSI

NO TWRP NECESSARY ANYMORE SINCE PROJECT TREBLE ...WHAT DONT YOU UNDERSTAND ..just go read about treble a little ..:silly:

or is this fake spam to dupe people into forking out 31$ for a bootloader unlock code that doesnt arrive ..post proof of your unlocked bootloader with screenshots from fastboot
[Huawei P Smart Guides, News, & Discussion] xcodejps:
Hi, I've been rooting other older phones before, i will read more about treble gsi, thank you, but i can promise you it is real, i've been tracking for unlock codes for my phone for two months and just yesterday they managed to generate the unlock code for me. I have no intention to lie, here are the screenshots i've been able to gather just now.

imgur.com/a/YuoGGvC

If i flash it to recovery_ramdisk and then quickly disconnect usb and hold vol up it will bootloop once (and never i get magisk installed) i have tried to install twrp for kirin 710 from honor device, but screen is not working can't touch anything then. I have downloaded latest full firmware 9.0.1.152(C432E8R1P12) and trie to patch RECOVERY_RAMDISK.IMG multiple times using magiskmanager with different versions of magisk 18v 19v with options enabled/disabled
[Huawei P Smart Guides, News, & Discussion] KevMetal:
magisk is used to patch your boot.img

#read carefully

#NOTHING TO DO WITH RECOVERY

#YOU CANT USE RECOVERY FROM OTHER DEVICES

1. extract BOOT.IMG .. from stock rom

2. put boot.img on sd card

3.install magisk manager apk

4. sesrch for and patch BOOT.IMG !!!!! BOOT NOT RECOVERY READ !!!!

5. copy the patched boot.img to fastboot folder on pc

6. connect phone

~adb reboot bootloader~

~fastboot devices~

if you see your phone

~fastboot flash boot boot.img( or whatever name patched image has)

~fastboot reboot~

# if you REALLY cant stop with your twrp phobia search in XDA global search on how to port one ....so it actually boots ...NEVER flash a recovery without first booting it to see if it works and backup everything to sd before proceeding to flash it or just flash magisk without flashing recovery

~fastboot boot recovery_ramdisk recovery.img~

:p i dont think you read about magisk , treble or how to patch boot.img with magisk instructions or anything else or you wouldnt be chasing your tail in circles with unnecessary and uncompatible twrp recoveries and patching and flashing the wrong img files ...etc etc
[Huawei P Smart Guides, News, & Discussion] xcodejps:
Thanks for your reply. Here is the QUOTE from Magisk Installation. Read red text below, I think I've been doing it correctly but still magisk does not get installed, sometimes i get to boot but then I get Safety Mode where all apps are disabled.
[Huawei P Smart Guides, News, & Discussion] KevMetal:
Sorry , my bad . I havent used EMUI 9 yet only Oreo .

Try this recovery which works on various kirin socs

https://drive.google.com/file/d/1RgerdkXY-B-8XV5buloeCyKYrA2B3Bvf/view

Furthermore try searching for Modified Magisk for huawei which is patched to work on huawei and worked wellfor me ..

Read this article for extra info

https://www.xda-developers.com/huawei-update-broke-magisk-fix/

**fyi my huawei 2018 had a "boot" partition and I was able to flash boot.img to it through fastboot **

have you tried that ?
[Huawei P Smart Guides, News, & Discussion] mad_ady:
Still, 31$ for an unlock code sounds expensive....
[Huawei P Smart Guides, News, & Discussion] KevMetal:
VEEEERY ..we went from free unlock from Huawei to 4€ from DC , now we are up to 32...jajaja ...this bull#&% is worse than oil ...

Thats why I sold my P smart to an old dude who knows nothing about phones apart from taking calls and sending sms'
[Huawei P Smart Guides, News, & Discussion] Bongo2k:
Impressive, I'd given up hope of getting off huawei roms on my p smart ever since they stopped unlocking bootloaders but this gives me hope. Keep us updated
[Huawei P Smart Guides, News, & Discussion] xcodejps:
unfortunately nothing works, that recovery.img stuck on loading and reboots and magisk every build is bootlooping, only one version of kirin twrp was able to boot but touchscreen not responding, i am looking forward to flash a custom rom, but not too sure which one to use, one i tried did not work had to restore original rom with erecovery :(
[Huawei P Smart Guides, News, & Discussion] KevMetal:
you need to start by flashing a vanilla gsi image by phussan ...get the gsi with gapps included but unrooted ...after installing this gsi as a base other roms will start booting ...so go to gsi forum

you need to flash the system.img via fastboot ...touch nothing else ...on first boot it wont boot ..it will go into erecovery but here you need to factory reset ..then it should boot

~use vanilla phhussan

~ use android 9

~gapps included

~A only

~64bit

~NO SU ( you can root later )

~have to bootloop once and factory reset in erecovery NOT RESTORE

:good:then it should boot

afterwards you can flash 0penkirin omnirom 9 on top 0f that *best custom r0m f0r huawei atm imo
[Huawei P Smart Guides, News, & Discussion] xcodejps:
Hi. I tried to flash aosp arm64 vanilla a only no su. Still no joy. Only flashing original system.img works. All other images causes bootloop even after wipe cache factory reset still unexpected error that brings back erecovery. Something is preventing to boot other roms. Maybe because its emui 9.0.1?
[Huawei P Smart Guides, News, & Discussion] KevMetal:
fastboot erase system –w

fastboot flash system system.img

*make sure you rename phhussan .img to system.img and put it in the adb root folder*

*unplug WITHOUT BOOTING

~enter STOCK erocovery with volume up and power button ~

*do reset/ low level format in erecovery ..it should reboot by itself into vanilla rom*

~possible errors~

_you got GSI that is prerooted with su

_you got GSI without gapps

_you boot directly to system without resetting in erecovery

_you didnt wipe system before flashing phhussan image

#JUST SAW GOOGLE REÇEASED ANDROID Q DEVELOPER GSI .IMG FOR ALL TREBLE DEVICES ...GET THAT BRO

also try this :

https://xdaforums.com/project-trebl...9-0-0-android-p-pixel-features-kirin-t3833879
[Huawei P Smart Guides, News, & Discussion] xcodejps:
I tried this also just now still not works, maybe i do it wrong, but i've tried a lot of combinations multiple times (including restoring original firmware) and redoing everything.. My steps: Flashing original firmware, booting up, working emui 9.0.1, then go back to fastboot erase system, flash any system.img, unplug usb, shutdown phone, start up with booting directly to erecovery, reset wipe and/ or clear cache, boot back to system (bootloop)..

Now I have managed to install twrp_kirin.img (the one that touch screen doesnt work) but with OTG adapter I can use usb mouse to install magisk wipe and so on, but when installing magisk for example i get errors like unable to mount /system /vendor /version /cust and so on... all of these are encrypted. only i can wipe format /data and then after reboot i can see unecrypted /data but the rest are still with error "invalid argument error"

In twrp i see System partition 0mb and System Image partition (2930~MB) and the rest like vendor cust all are 0mb.

What the hell is this with huawei phone? I am quite handy man with coding and doing stuff in computers, maybe not much with arm cpus but I believe i need to do something with disabling decryption of all the partitionts not only /data to let me install custom rom or magisk. because anything I do i magisk don't work even if i install over twrp with OTG Mouse
[Huawei P Smart Guides, News, & Discussion] KevMetal:
i dont know man....in theory ..with an unlocked bootloader you should be able to flash treble gsi ( which should boot since you drivers or hals are in separate partition )

huawei is **** and ive sold my huawei p smart 2018 cos i was tired of it but the above processes worked

maybe emui 9 is locked down in a way that even treble is broken ..huawei is like a chinese version of Apple and in the timespan of a year did a 360 to end up completely against root or even using intrusive apps reverting settings or changing user preferences and forcing updates and disallowing 3rd party launchers etc etc

just get rid of it ...life is better after huawei ...
[Huawei P Smart Guides, News, & Discussion] xcodejps:
Here is the twrp log, maybe we could fix twrp for this version to enable decryption.. ?

e4crypt_initialize_global_de returned fail
[Huawei P Smart Guides, News, & Discussion] xcodejps:
Hello,

UPDATE

The only GSI Image worked for my P Smart 2019 was from this link : https://xdaforums.com/project-treble/trebleenabled-device-discussion/huawei-android-q-gsi-t3918332

Still NO ROOT and it has bugs no wifi works and screen notch does not fit :(

It has patched libfs_mgr.so
[Huawei P Smart Guides, News, & Discussion] KevMetal:
glad something boots ...sorry but i dont have this phone ..or any huawei anymore, nor the correct experience to assist you with fixing twrp... devs who work in huawei are askuccio, haky86, pretoriano80 and many more

i suggest asking pretoriano80 via PM or on his thread for the P smart ( old one) for tips, help and info to get a working twrp going since his version was one of the few that had working encryption and few bugs on the P smart .... to see if you could flash magisk ... if the gsi that booted successfully has the option to enable root or shell access in developers settings you might have native root support built in and only need to "enable" toggle it ..as is the case with some roms ...when you boot one treble gsi you can likely boot more by flashing the one that boots ...factory resetting and flashing another one on top of it ...then factory resetting again ...then booting ...worked for some
[Huawei P Smart Guides, News, & Discussion] Alvaro1982:
Someone knows how to unlock sim Card free on this phone? Thanks
[Huawei P Smart Guides, News, & Discussion] BIGWORM:
This isn't the thread to discuss SIM unlocking. Try searching. Thanks.
[Huawei P Smart Guides, News, & Discussion] Alvaro1982:
OK, thanks anyway, I'm also intersted in rooting the device
[Huawei P Smart Guides, News, & Discussion] xcodejps:
Hello, If you have already unlocked your device you can root POT-LX1 9.0.1.172 firmware with my patched recovery_ramdisk.img,

All Magisk Builds will fail to boot this device because Magisk try to mount system partition as "ext4" filesystem but it's actually "erofs" I have patched this magiskboot64 image manually using IdaPro.

If you issue command "fastboot flash recovery_ramdisk magisk_patched.img" this will root your POT-LX1 (if in case it will not work then you need to remove encryption by moding vendor.img and removing lines "fileencryption=aes-256-xts:aes-256-cts" )

Use this patched image to root: https://drive.google.com/file/d/1xfaY1hP8dZXwGFrsr98RvJW9hKgO0Zjk/view?usp=sharing
[Huawei P Smart Guides, News, & Discussion] Alvaro1982:
I try the command you give me, but say command not allowed. My bootloader is unlocked, how I can unlock it?
[Huawei P Smart Guides, News, & Discussion] xcodejps:
in fastboot mode try command "fastboot oem unlock" it should say already unlocked and you should have a warning when booting up that device is not safe (trusted), if you don't get these you dont have unlocked bootloader, make sure you do have.
[Huawei P Smart Guides, News, & Discussion] Alvaro1982:
Yes I know but where I get the code to unlock my phone?
[Huawei P Smart Guides, News, & Discussion] xcodejps:
I've got my code one month ago from https://global-unlocking-solutions.miiduu.com/bootloader-unlock-codes-choose-model-below

but for now i see they are fixing the service, maybe there are others who can generate unlock code by IMEI, but i suggest you to contact that service using what's app number, they are quick to respond, you will know when they can give you unlock code, i paid 30usd for my code, but maybe it will be cheaper soon..
[Huawei P Smart Guides, News, & Discussion] bladez:
Is there any new developments on this front? Is root for the P Smart 2019 still not achieved?
[Huawei P Smart Guides, News, & Discussion] Carambolero:
Anybody was able to Root this phone in 2020?
[Huawei P Smart Guides, News, & Discussion] broascadilie:
I would also want to know this. Got it now updated with EMUi 10 and android 10, officially
[Huawei P Smart Guides, News, & Discussion] KevMetal:
you can't root unless you make the way ...this is a Chinese spy device ...if you want a quality phone for cheap from China ..buy Xiaomi

Otherwise you better be a dev if you want to unock this Nun's chastity belt...

There was an old method ...that only works on old versions and Os ...so unless you can still downgrade you are SOL

and nobody is gonna hold your hand cos everyone who was stupid enough to get this phone got rid of it ...

try to see if you can downgrade by contacting paid services that assist Huawei owners to try and rebrand and downgrade by reading this whole thread and finding the relevant paid unlocking servive who used to help people

but seriously ..give it to your grandmother and buy a Xiaomi
[Huawei P Smart Guides, News, & Discussion] cr4zym0nki:
It seems to me that the situation is even worse on EMUI 10. I tried fastboot unlock oem, but it seems that Huawei entirely removed this command on the phone, which should mean that even if you have a bootloader unlock code (which I don't have) unlocking won't work at all on EMUI 10. I quickly downgraded to EMUI 9 with HiSuite. However still not sure that rooting is possible.
[Huawei P Smart Guides, News, & Discussion] gurtnyi:
I haven't red all the posts in this discussion, so it might be written before me. So, as I know, if your bootloader is unlocked, you can just flash the magisk zip through adb sideload (can be started from stock recovery too). After, sideload a dm-verity disable zip by Zackptg5, and technically you're done.

The command is:

For eg.:

And to install play store, use magisk hideprops module, and change the device's fingerprint to something not huawei. Of course you need the universal safety net fix module too, in order to get the device certified by play store.

I'd be pleased if you let me know you successed, or not ;D
[Huawei P Smart Guides, News, & Discussion] virtsapump:
Nope, this is FAR from what works. Although trying this method wastes only some amount of time.

What I did and what worked for me. Huawei 2018 FIG_LX1 (I have TWRP already in my phone and bootloader unlocked thanks to PotatoNV). I also installed Lineageos Android 13 provided on this forum.

1) I reboot into TWRP recovery ( it seems to be only way where i can use adb pull command and it works)

2) Connect phone with USB cable and ofcourse, debugging already enabled

3) I insert command in linux terminal "adb pull /dev/block/bootdevice/by-name/recovery_ramdisk ./"

4) then unplug the cable and reboot into current android system where there is Magisk app.

5) Go to Magisk app : Install - tick recovery mode - select and patch a file - and insert this "recovery_ramdisk" file

6) Magisk does its magic and returns you a file named something like magisk_patched_27000_xyJ9o.img - save this file into your computer, rename it into recovery.img

7) connect the cable, if it is not connected

8) command: adb reboot bootloader

9) navigate into the folder where the recovery.img is located while the phone reboots into bootloader

10) command: fastboot flash recovery_ramdisk recovery.img

11) once it is done, take off the cable.

now comes the fun part. in order to boot into ROOTed huawei, you must press power and volume up button. every time you reboot your phone, but that is how it will boot into the rooted android.