[Honor 4x Questions & Answers] nopahc:
I found one of my Huawei G620s phones, I remember in 2019 it was rooted and started haviing problems, for example it was stuck at the bootanimation or did not work at all (red,green,blue LED), then in 2022 I turned it on just to find no reaction at all, nothing. I ran a flashing tool for Huawei and got it to turn on and display a green screen with 2 boxes, one blue and one red, along with the text:

"bootloader lock state: widevine disable mode"

"press and hold poewr key for 10s or more to forcibly reboot."

and surprisingly, i booted twrp 2.8.6.0 using the fastboot command from my PC. However when it loads i keep getting errors, for example:

"E: Primary block device '/dev/block/bootdevice/by-name/userdata' for mount point '/data' is not present!"

"E: Unable to mount '/data'" and it goes on with '/data/media' , '/boot' '/recovery' '/cache' '/system'.

It also says internal storage is 0MB.

I have tried everything, I wiped everything, I tried the file system changing trick, I tried to repair SELinux contexts and permissions, and it all resulted in nothing. Backup shows no partitions too, mount shows the names but clicking on them to mount does nothing, MTP enabled makes the phone show up in This PC but also nothing appears, and if I had a SD card then it would only show it. I tried to install a custom ROM for example, also nothing. Flashing for example TWRP to the recovery or boot partition using the fastboot command on my PC results in: "FAILED (remote: "partition table doesn't exist").

Now before you say the NAND failed, I once found a random paid tool and downloaded a free version of it. It was called something like Miko service tool and I flashed it in the boardsoft section because the other ones didn't work. And guess what? It flashed the stock ROM for me, but I had to use the phone's testpoint. Then the phone started booting but I noticed something was off, the bootanimation was playing kinda too fast, and it took not so long to boot. Then it booted to a lockscreen with a red wallpaper with the qualcomm logo. After swiping up I just saw like 5 hoem screen pages with only test apps, no google apps no huawei services apps, the phone didn't even have a theme applied and looked like old generations of EMUI, just some apps like settings,browser, camera, dialer etc. The test ones were named "MMI Test" or something. I was happy and decided to just ignore this until I put my SIM card into the phone, reboot it, just to see the error that network communication is unavailable because the device ID was altered. then I opened settings, went to the about phone section just to see my IMEI appear as "0", and serial number was "0123456789AB". Then I ran some codes and got into a test menu, and saw that the device mode was "Factory". I tried everything to disable it but I couldn't, then I got the idea to update the phone with the branded rom that was on it when I got it. And it updated, installed the stock applications but the IMEI and S/N were still gone, bootanimation was still the same (I checked in the ROM zip and it was the branded one so I didn't get the wrong ZIP). Then I booted into fastboot to see the thing that made me scared to death, Fastboot said "Phone LOCKED". I was scared thinking that the phone is done forever, because the bootloader relocked itself. Tried to boot TWRP just for the error saying that it's not allowed to appear, I also tried fastboot oem unlock but it asked for the code. Then I started the phone from the test point again and used an program to reflash it, the program failed and the phone rebooted to the green screen again, then I tried to boot TWRP and it worked. Reflashed the phone again with miko's service tool and same result as before.

Is there anyone that had a similiar problem? I really wanna get this phone back to work, I still have the battery with the IMEI written on it along with the S/N. I just don't know why TWRP is refusing to work, I tried the 3.2 build too but same result. Maybe it's because the bootloader is "locked" ? I ran the command to unlock it in the cmd (fastboot oem unlock) and it said "OKAY [ 0.006s]". It's weird because don't huawei phones need a code to be unlocked? And when I had the OS installed it didn't let me run the command and asked for the code.

Sorry if it's the wrong section but I saw the G620s custom ROMs only being posted in the honor 4x section so I thought it's good.