yashsingh1/xdaforums huggingface dataset:
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
Thanks you for the update

Is there any hope it will solve my CPN-W09 touchscreen issue?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Please install this new TWRP and tell me if touchscreen is working on it, thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Micromind:
Updated....wiped cache etc..... Great...but all apps have no name...

I tried to change theme, font dimension or display dimension..... But no app name!

Very funny.......
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Do you tried other Launcher ? On Pixel Experience we don't have this issue .... I guess it's something wrong with Trebuchet launcher into LOS !

EDIT:

I already checked with Nova Launcher and there is no issue like this one !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
Don't know how it works with this 3.3.1-2...

in TWRP, touch doesn't work

but if I boot in LOS 16, touch works
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
This is all what I need to know : if the touchscreen it's working or not on this new TWRP !

As you already confirmed as it's not working, at least this is a good sign.

Unfortunately, you have to wait for the next update in order to be able to use in your tablet the last Android 10 .

EDIT:

I'll release soon here a new version of TWRP with a working touchscreen to test on your device, you'll need only to confirm with yes or no. Thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
You are the boss :good:

Thank you for all you've done
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Please, one more help from you, as I modified/updated some touchscreen drivers on Android 10 - and I don't know which exact is your touchscreen drivers.

Just install this new TWRP ( touchscreen will not working) but connect USB cable and type :

Please let me know what it's say proc/app_info on your device now, thanks !

Also, please upload the content of dmesg ( while you're on TWRP ) ... needed to check touch driver issue on it :

Thanks !

EDIT :

Please [MENTION=8144695]mrdark5555[/MENTION] can you install this new TWRP from above and copy/past here what say now proc/app_info while your device it's in this new TWRP ? Thanks !

I guess it has to be one of : "himax" or "novatek_hybrid", but should be different compared to that of [MENTION=5370402]nickous[/MENTION].

Thank you very much for your help guys !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] mrdark5555:
I got it installed. Here are the results.

# cat proc/app_info

ddr_vendor : UNKNOWN

lcd type : INX_NT51021 8P0 VIDEO TFT 1200

Hall : AKM8789

huawei_sbl1_version : MSM8940C00B057M_SBL1

huawei_hardware_version : SH1CHOPINW09M

huawei_appboot_version : VERSION_NONE Sep 13 201819:27:2

huawei_fac_product_name : CPN-W09

board_id : CPN_W09_VA

touchscreen driver : himax

touchscreen driver : novatek_hybrid
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Thanks !

I guess the touchscreen it's working on this new TWRP, right ?

Also I don't know why there is the both touchscreen driver ...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
# cat proc/app_info

ddr_vendor : UNKNOWN

lcd type : AUO_NT51021B 8P0 VIDEO TFT 1200

Hall : AKM8789

huawei_sbl1_version : MSM8940C00B057M_SBL1

huawei_hardware_version : SH1CHOPINW09M

huawei_appboot_version : VERSION_NONE Sep 13 201819:27:2

huawei_fac_product_name : CPN-W09

board_id : CPN_W09_VA

touchscreen driver : himax

touchscreen driver : novatek_hybrid

#

And I join the dmesg.txt file.

Thank you for your support:o
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] mrdark5555:
Sorry it took a while to reply. I had to go into the office to grab my work laptop as I will be working from home for a while.

Yeah. The touchscreen worked just fine for me with this new version of TWRP.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Please, send me also dmesg.txt from a TWRP with working touchscreen ... needed in order to be compared :o Thanks !

Thank you very much !

Please, are you so kind to send me also a dmesg from this last TWRP as touchscreen is working on your device ?

On TWRP :

I made some conversions on touchscreen drivers to fix some warning compilations, and I guess one of them or maybe more just break the touchscreen on some tablets like on [MENTION=5370402]nickous[/MENTION] !

I don't want to revert my whole work there as all Huawei MediaPad M3 Lite 10 are not affected, and I already spent a few days to fix these issues.

The Huawei MediaPad M3 Lite 10 use two type of panels and only one touchscreen driver = "parade"

The Huawei MediaPad M3 Lite 8 use three types of panels and two touchscreen drivers = "himax" & "novatek_hybrid"

This mean that Huawei released two different MediaPad M3 Lite 10 and three diferent MediaPad M3 Lite 8 ... and my kernel & custom ROMs should cover all those 5 different devices !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Micromind:
I have deleted Trebuchet data and cache and icon names are there again!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] mrdark5555:
Sorry about that. I have attached dmsg.txt
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
with TWRP 3.3.1-1 and working touchscreen -> see attach file dmesg3.3.1-1.txt
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Thanks ! Your device use "novatek_hybrid" touchscreen driver.

Thanks ! Your device use "himax" touchscreen driver and I guess something was wrong here when I fixed warning compilation issues on Android 10.

I hope to fix it as soon as possible :)

EDIT :

[MENTION=5370402]nickous[/MENTION] :

Your touchscreen issue was fixed : you can install now the new twrp-3.3.1-2.img from TWRP thread !

Also, if you want to use LOS 17.1, install the last twrp-3.3.1-2.img and then flash the last LOS 17.1 & also Gapps !

Before to reboot from TWRP to system, you need to install ( via Install Image -> over Boot ) this new boot.img ( it's for LOS 17.1 with touchscreen fix )

Please, for the last time, provide a new dmesg from twrp-3.3.1-2 ... I want to see if the touchscreen driver info was fixed ! Thanks !

God luck !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
yes Yes YESSSS it's working fine with this new boot image.:):)

I'm really happy with that LOS 17 (and Android 10 gesture control :svetius:)

Very impressed by your Android knowledge

and especially by your availability and the time you spent (as I should be fairly the only one with that CPN-W09 touch issue). You rock:cowboy:

Thank you very much
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Nice to see that's working :o

BTW, I made a mistake ... I wanted to ask for a "cat proc/app_info" from the last twrp 3.3.1-2 and NOT for "dmesg.txt" ! Sorry ... Please, can you upload it for the last time to see what it say now on "proc/app_info" ? Thank you very much !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] nickous:
Don't worry;)

# cat proc/app_info

ddr_vendor : UNKNOWN

lcd type : AUO_NT51021B 8P0 VIDEO TFT 1200

Hall : AKM8789

huawei_sbl1_version : MSM8940C00B057M_SBL1

huawei_hardware_version : SH1CHOPINW09M

huawei_appboot_version : VERSION_NONE Sep 13 201819:27:2

huawei_fac_product_name : CPN-W09

board_id : CPN_W09_VA

touchscreen driver : himax

#
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Thanks ! Looks good now :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] oddhap:
Is anyone else having trouble with standby battery drain? Mine is higher than stock rom
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] morgan7676:
yes....it's a big problem....very very high drain!! solution?? petru?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Incomtus:
Is there a version for the non lite version? I have the btv-dl09

I would so glad to install a custom Rom like that
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Please, does deep sleep it's working ? you need root and install an app which monitor cpu. Thanks !

Anyway without gapps, the battery never seems to run out :D ... well, I'll see in the near future what I can do with battery drain issue .

Please, take a look here for M3 8.4 !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Micromind:
It happened again.... No problem..... Delete and icon names are back again!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
Hi

Can somebody make video overview of this firmware for people on stock? For example screen record to show what's inside and what's difference with Pixel Experience.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
What sound settings do you use?

Sound from speaker on LOS is too flat and low
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
I tried encrypt tablet 3 times. No luck.

Dark screen. Or dark screen and powered off screen after some delay. Or dark screen with "tablet is starting" and reboot (

Is there any manual how to block bootloader and go back to stock?

I've seen enough but can't load in eRecovery.

After 1 more try of encryption I have bootloop with "You device has been unlocked...."
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
You need to install Viper4 for best audio like other users.

Also encryption is not working, sorry !

If you want to go back to stock maybe you can check LOS16, there some discussion about how you can go to stock .
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
In 1st post only:

You chose right time to write this.

Thank you for dead device in infinite bootloop!

Even this didn't help:

https://cs5-3.4pda.to/19177665/Annotation+2020-03-22+025249.jpg?6c04ad103729b7a6c9f1df3c12cec1f3

Will look money for new device because service centers are closed due to quarantine in the country
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Hello !

As I already told you there is no reason to panic ... It's have been 10 years since I started made custom ROMs on Huawei / Honor devices and no one broke his device with my ROMs nor TWRP :)

In my opinion, you shouldn't have started touching your device with twrp and custom ROMs as you are not able to execute a simple command like this one : "fastboot flash recovery twrp-3.2.0-0.img" ... because your knowledge is currently limited (regarding installing a new custom rom ) and you can do to your device more harm than good !

When you are going to start modifying your device with some custom ROM, you should already know how to use and understand the minimal commands like : adb devices, adb shell, fastboot devices ... and also there is a lot of INFO on Google/XDA on how to install minimal adb fastboot commands ( those is up to you ) .

Returning to the bootloop issue, I'll give you all the needed steps in order to be able to boot on LOS17.1 !

Connect your device to USB cable, and while your device is on TWRP type this command :

Once your device is in fastboot/bootloader mode , type this command :

You need to reboot your device from bootloader mode to recovery mode : so you need to type this command

... and instantly disconnect the USB cable and keep hold the volume key up until the device will reboot to TWRP ( these three commands must be done within one second or as quickly as possible ) ( YES, there is three commands : 1° fastboot reboot, 2° disconnect the USB cable, 3° press & keep pressing volume key up )

Now your device is into TWRP working state : Next steps :

- format data and reboot your device to recovery in order to be able to use data

- flash LOS 17.1 from external SDcard, or connect usb cable in order to copy to your device LOS17.1

- wipe -> Swipe to Factory Reset

- install LOS17.1 & optional Gapps

- reboot

-enjoy LineageOS 17.1 !

Good luck !

EDIT :

I did not specify actions that are logical and intuitive :

- after each command like this one "fastboot reboot" you need to type ENTER from your keyboard !

- when you want to install TWRP by this command : "fastboot flash recovery twrp-3.3.1-2.img" - you must have already downloaded/copied in this directory the archive twrp-3.3.1-2.img !

- all command must be done in the directory where you have extracted adb_fastboot tool, so your device should respond to those commands in this way :
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
Hello

Thx

All CF on all devices which I had (starting from old android 4.4) could be installed without CMD.

Even your TWRP was flashed through Multi-tool 8 in 2 simple steps without cmd.

My devices could load only in fastboot.

After this:

I entered to eRecovery which wrote "Data partiotion was damaged seriously!". Formated it.

Then I tried "Download latest version and recovery" -> "Getting package info failed"

I don't want use LOS. It sounds terrible bad (no bass at all) as chinese $50 device (i don't want to have sex with installing different sound engines) + there is no encryption.

but I can't find any working way to restore device

FW Version: BAH-L09C170B271

Full OTA: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2116/g1719/v160273/f1/full/update.zip

https://huaweiflash.com/how-to-flash-huawei-mediapad-m3-lite-10-stock-firmware-all-firmwares/

HiSuite doesn't support recovery of this model (

ANd tablet doesn't react on pressed 3 buttons:
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Ok, there is no problem if you do not want to use LOS 17.1, here is a small chance to return to stock :

Here is what you should try in order to go to stock !

1° extract UPDATE.APP from update.app

2° split/extract UPDATE.APP, in order to extract BOOT.img, SYSTEM.img, RECOVERY.img & VENDOR.img ( you should search the TOOL on Google/XDA)

3° use those commands in order to extract the right system & vendor image from SYSTEM.img & VENDOR.img :

4° Connect usb cable & copy BOOT.img, RECOVERY.img, system.img & vendor.img to your internal storage while your device it's on twrp-3.3.1-2 !

Use those commands to restore /boot, /recovery, /system & /vendor partitions :

Now, if your device boot to stock recovery, try to format data or factory reset in order to encrypt data back, otherwise you will be in bootloop on stock Huawei firmware !

EDIT :

If you can't reboot on stock recovery ( my device can't boot on stock recovery for some unknown reasons ) , than there is no solution to return to stock and if you want to use your device you need to install again twrp and use Pixel Android 10 or LOS 17.1 !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
magic unknown commands for unknown app and place.

So I extracted with app. I attached screenshot.

After this:

E:\huawei\adb>adb shell
# dd if=/sdcard/BOOT.img of=/dev/block/bootdevice/by-name/boot
109398+1 records in
109398+1 records out
56012072 bytes transferred in 3.830 secs (14624561 bytes/sec)
# dd if=/sdcard/RECOVERY.img of=/dev/block/bootdevice/by-name/recovery
134558+1 records in
134558+1 records out
68893996 bytes transferred in 4.730 secs (14565326 bytes/sec)
# dd if=/sdcard/system.img of=/dev/block/bootdevice/by-name/system
dd: /sdcard/system.img: No such file or directory
# dd if=/sdcard/SYSTEM.img of=/dev/block/bootdevice/by-name/system
5843112+1 records in
5843112+1 records out
2991673608 bytes transferred in 195.191 secs (15326903 bytes/sec)
# dd if=/sdcard/VENDOR.img of=/dev/block/bootdevice/by-name/vendor
1364853+1 records in
1364853+1 records out
698804940 bytes transferred in 46.031 secs (15181180 bytes/sec)
# reboot recovery

E:\huawei\adb>

tablet shows message about unlocked bootloader and powered off.

If I power on it and press Volume app button it power off after message about unlocked bootloader. :rolleyes:

I made again

I entered to eRecovery which wrote "Data partiotion was damaged seriously!" again.

P.S. With Xiaomi you can write stock flash in Fast boot through native Xiaomi app. Few minutes and all is ok. Huawei - :(
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
No, it's not good !

You should perform those commands before to copy system.img & vendor.img to your device :

You need to install/download a binary "simg2img" in the same directory with adb & fastboot commands !

BTW, those commands are wrong on your device :

You need to extract properly system.img & vendor.img like I described above, and use the exact command with "dd if=/sdcard/system.img & dd if=/sdcard/vendor.img"

That's why your device boot on bootloader mode, because you used SYSTEM.img & VENDOR.img and this is wrong !

EDIT :

Yes, the Huawei devices are very difficult about flash twrp/custom ROMs or revert to stock ! This is already known as a big issues on all Huawei/Honor devices !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
That TOOL (https://xdaforums.com/showthread.php?t=2433454) is same huawei extractor which I use.

It didn't create new file and I don't see any disk/cpu activity.

After some time I pressed Ctrl+C and got

SYSTEM.img.header in same folder.

So difficult to restore ( But I need stock with normal sound from speakers without additional dance.

https://xdaforums.com/general/general/dev-simg2img-windows-t3156459

E:\huawei\adb>simg2img -i SYSTEM.img -o system.img

packed img filename: SYSTEM.img

output img filename: system.img

Error reading sparse file header

https://xdaforums.com/tmobile-galaxy-s7/how-to/guide-how-to-extract-samsung-s7-ota-fw-t3862938

E:\huawei\adb>simg2img SYSTEM.img system.img

Error reading sparse file header
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
You should find a "simg2img" which properly parse SYSTEM.img to system.img without errors !

The one you used it's not OK, you should see that from where you downloaded it, all users say it's not good ... so you should read a few post there because someone post a link with a working "simg2img" !

EDIT:

I can't send you my "simg2img" because I'm on Ubuntu, and it'll not work on Windows !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
I tried that recommended version too. Same error. I edited previous message
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Hmmm, you should search for a good one ! Try this simg2img maybe it's working !

You need to parse without issues like in those pictures :
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
I'm windows user

Looks like I found problem. In windows SYSTEM.IMG and system.img are the same file.

This works E:\huawei\adb>simg2img SYSTEM1.img system.img
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
To be sure, you can try to convert in this way :

Than just rename system.raw to system.img ! In this way you are 100% sure that SYSTEM.img was successfully parsed to system.img !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
E:\huawei\adb>simg2img SYSTEM1.img system.img

E:\huawei\adb>simg2img VENDOR1.img vendor.img

E:\huawei\adb>adb shell
# dd if=/sdcard/BOOT.img of=/dev/block/bootdevice/by-name/boot
109398+1 records in
109398+1 records out
56012072 bytes transferred in 3.847 secs (14559935 bytes/sec)
# dd if=/sdcard/RECOVERY.img of=/dev/block/bootdevice/by-name/recovery
134558+1 records in
134558+1 records out
68893996 bytes transferred in 4.735 secs (14549946 bytes/sec)
# dd if=/sdcard/system.img of=/dev/block/bootdevice/by-name/system
6160384+0 records in
6160384+0 records out
3154116608 bytes transferred in 206.271 secs (15291129 bytes/sec)
# dd if=/sdcard/vendor.img of=/dev/block/bootdevice/by-name/vendor
1507328+0 records in
1507328+0 records out
771751936 bytes transferred in 50.283 secs (15348168 bytes/sec)
# reboot recovery

E:\huawei\adb>

And device turns off after message about bootloader...

I will try to find a service center of this manufacturer and try to restore the device to normal for a fee. With custom firmware, the device is useless to me. The sound is terrible and the device cannot be used with that sound.

I have never encountered such sound on firmware on various devices. It is completely circumcised. Sounds worse than my small phone.

In extreme cases, I will have to buy a new tablet.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
BTW, maybe you can try to install some sound booster from PlayStore like this one Bass Booster & Equalizer !

I'm not using speaker for sound on this device, instead I use bluetooth headphones and the sound it's indeed very good !

Other than that, Android N will be soon EOL without Google support, so using Android 10 will be a very good deal in this situation !

Good luck !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
I think that you should include better sound equalizer in FW on system level.

All this apps can't override system settings. This tablet has loud sound with a lot of bass ob stock firmware. LOS cuts sound too much.

On native firmware the tablet tremble in the hands when film has the bass. With this program at the maximum bass level the bass is barely felt in hand.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes sure, because stock firmware use some software tweek for sound, and this stuff can't be ported to Android 10 because Huawei don't provide any source code for this !

But I'll try in the next update to improve sound quality !

Thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] ien22365879:
OTG can't use

Why I can't use the usb OTG in this rom, it's working fine in offical rom on android N . Model:CPN L09
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] ossizwei:
USB-otg

Read here

https://xdaforums.com/showpost.php?p=80576813&postcount=137

This method is working with Lineage 17.1 for me too.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] ien22365879:
Thanks,I can use it now
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
It's working, just plug USB-OTG and restart the device !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
You need to find models of sound amplifiers and libraries for them in the native firmware.

And this:

https://xdaforums.com/android/software/soundmod-ainur-audio-t3450516

https://xdaforums.com/showpost.php?p=68427418&postcount=6

Don't know how to use it. But may be helpful for firmware.

---------- Post added at 08:00 PM ---------- Previous post was at 07:54 PM ----------

Didn't work for me.

Waited some time after reboot. Couldn't open usb-flash. Then device rebooted itself. And repeated. 3rd time it rebooted immediately after graphic key. :rolleyes:

I want go back to stock (

---------- Post added at 08:16 PM ---------- Previous post was at 08:00 PM ----------

Looks like I'm in bootloop now even after disconnected OTG. Tablet shows checheking my Samsung 128gb card (almost full) and goes in reboot.

I extracted flash and SIM card - device stoped bootloop.

Windows scan didn't find errors inside micro SD card

Inserted in working tablet - checking card few minutes and reboot again...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] pasha4ur:
Deleted folder Android from sd through PC - check finished fast and all is ok.

After uploading saved articles in Pocket on SD card (loot small files) - bootloop again bsc of checking sd card.

Looks like there is bugged flash checker in this FW.

I tried enter TWRP to delete that folder and looks like I'm in bootloop on screen "Your device has been unlocked...". Looks like I need now erase tablet and flash CFW again from zero.

Sh1t. I definitely have to find service center to recover my tablet on stock firmware

P.S. I had reboots few times after several flashing LOS 17 and first boot. And delete Android folder too.