yashsingh1/xdaforums huggingface dataset:
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Today I installed LogFox to easily enable me to check the logs.

I see com.android.phone crashing every 20 seconds on my BTV-W09 and I wonder if there is a possibility to prevent or stop this. It also keeps happening under Airplane mode.

@surdu_petru do you know advice or can you consider this while building by intoducing the right switches?

Please see log files attached.

Edit: I saw com.android.phone crashing in LOS 19 and 20 as well but more on an occasional level and not that regularly/frequently.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] PiKa5623:
@surdu_petru Thank you very much for adapting the version of Android 14.Why does this version still only have sound on one speaker.I'm here to give you a suggestion next time do not put on mega network disk, I prefer you can put on Google network disk
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
it's a known issue ... please check the older releases of LOS 19.1/20 if you really want to know why.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
I will try to fix this aspect in the next updates
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Thanks a lot for taking care!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Bocchi_Renewed, Me,You,and Daigorou​

I just uploaded to OP under Download BTV-L0J - a new version of LOS 21 with working sound and the new LOS 21 it should working well now on your devices !

As I explained previously : BT audio, the audio recording application and the camera video recording do not work.

Please let me know how it's feel on your device, thanks !

This new build is also compatible with BTV-DL09 or BTV-W09 ( all BTV-W09 devices require the old boot image from the OP - as kernel wasn't updated you don't need a new boot image )
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
It's ok ? how do you find it compared to the other version ? Thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Generally fine... but I use mine for reading news and books, so the most important thing to me is smooth scrolling, which I wish could be improved (that is not something new). Maybe overclocking? Also, two apks that I use in all my devices won't install, see attached.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Thanks, yes you can try some overclocking and for the applications looks like they aren't Android 14 compatibl.

Edit : I tried to install them on my Pixel 7a with Android 14 and they aren't compatible
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
I'm curious... what application have you found 'best' for overclocking? I know I have to use Magisk/root first, but there are a lot of apps for 'overclocking' out there, is there any one you suggest?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
unfortunately I can't recommend a specific one because it's been a long time since I don't use something like this
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
FYI, I'm using Franco Kernel manager... changed CPU and GPU governors to 'Performance' and I/O schedulers to 'Row.' Does not seem to have an option for overclocking. Years ago, I remember there was an app that would run through various settings until it found the limit your device would take before rebooting, have to see if I can figure out what that was.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Some interesting, if old reading, on XDA threads about disabling 'smoothscrollingcache' ex. https://xdaforums.com/t/mod-updated-09-05-smooth-scrolling-mod-for-cos12-12-1-roms.3141340/page-2

Might be worth a try?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, you can try only if they will be updated to A14, because they are from 2015 Android 5
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Me,You,and Daigorou:
I would like to try it too, but I can't find the time.

I have to format the data as ext4, but that deletes all data, so I have to back it up and then restore it again.

So I want to revert to EMUI5 first and look for config.gz. ( Some reports say that file doesn't exist, but I'd like to verify that myself.)

Of course I understand you spend a lot of time.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
So, I think my changes have improved responsiveness and smoothed scrolling a bit. Still have not found a way to actually 'overclock.'
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Note, I tried to install Google Gemini, got 'not supported' error, that may be because I'm rooted. I've used Magisk hide, plus other modules to see if I could make Gemini run, but still getting not supported on the ROM.

EDIT: To be clear, it installed, but would not open.

EDIT: Turns out you have to install Google first!

EDIT: Microphone does not work with Gemini... text input does work.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] halokor:
Thank you for providing this.

I have a problem, that I could need assistance with.

My progress so far:

- unlocked the bootloader

- bootet into Fastboot/bootloader

- tried "fastboot flash recovery twrp_3.7.1.img"

- get the following error

"Warning: skip copying recovery image avb footer (recovery partition size: 0, recovery image size: 45373440).

Sending 'recovery' (44310 KB) OKAY [ 1.064s]

Writing 'recovery' OKAY [ 0.575s]

Finished. Total time: 1.716s"

fastboot boot twrp_3.7.1.img also does not work

now the tablet always boots into bootloader.

How can I get around this?

================

Nvmd.

I didn't figure out til later, that booting into recovery was only possible with holding PWR and VOLUP longer than eRecovery needed to boot. After that I was in TWRP and could flash all the goodies.

working fine so far.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
You can also use "adb reboot recovery"
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] halokor:
Sure, if the tablet wouldn't have always booted into fastboot, because I couldn't flash the boot.img or the LOS.zip....
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, of course!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Bocchi_Renewed:
ok, audio worked👌
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Ok, does it booted in ten minutes? Like before ?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Bocchi_Renewed:
LineageOS21 boots up as fast as up to 17.1!

It takes about 1 minute to boot
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
For some unknown reasons all devices ( BTV-L0J ) can't load the new audio.primary.hi3650.so from EMUI8 , but it's working well on BTV-DL09 & BTV-W09 ! Now I reverted this audio hal to the one from EMUI 5 ( Android N ) - that's why your device boot and sound it's working ! Unfortunatly as bluetooth audio, audio recording & camera video recording it's not working ( as it's require audio hal from EMUI 8 ) - I'll not stick with Android N audio hal ... but maybe in a few months I'll come back with a new update for BTV-L0J
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] dima-82:
Hi @surdu_petru,

thank you for your work! I used already your LOS 17.1 releases on my M3. I will now try to install LOS 21.0.

Can I use Magisk with it? What is the recommended procedure? Just flash in TWRP or patch boot image?

Should be GApps or Magisk installed first?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Sorry, I don't use Magisk .... yes, you should use the new TWRP 3.7.1, format data as ext4 , flash LOS 21 & BitGapps and the patch for boot.img - only if your device it's BTV-W09 !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
No problem to use Magisk. I installed it (latest version) after a few restarts when I began needing it and experienced no difference to LOS 17.1 in this regard.

--

Edit:

Installation sequence for me was:

LOS 21 -> Boot.img -> BiTGapps -> [restart] -> Magisk

Of course, I wiped Dalvk & Cache where appropriate.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] dima-82:
Flashing Magisk directly from TWRP does not work?!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
That's no problem - seems as if my post was not clear.... I did install it via TWRP.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
Yes, but then you have to install the Magisk app on your phone.. read https://topjohnwu.github.io/Magisk/install.html
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
True. Firstly I downloaded the apk from that link, changed the file extension to .zip, flashed it via TWRP. Then under Android I changed the file extension back to .apk, installed it and then in the app I patched the boot.img (automatic selection).

I think this is what I did... the normal process as I did it before on LOS 17.1 (and Omnirom 6 on another device) as well. Please amend where needed / if I forgot to mention something.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
ADB fixed on Lineage Recovery 21, I'll release a new one once with the new LOS 21 update.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] kkinsta:
Wow, I never thought LOS21 would come for d-01J!

I'm going to try installing it next time, and will report any bugs. thank you!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] kkinsta:
Auto-rotate didn't work on my BTV-L0J(d-01J). Is there any solution?

I don't know much about logcat, but I added it.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
A few days ago LineageOS announced the official release of LOS 21 stable ... all the new beauty and improvements will be on our device starting with the next update ( new update expected on the next month with a new security patch like usual )

LOS 21 official changelog !

I also consider the release of three versions of LOS 21, one for each model (BTV-DL09; BTV-W09 & BTV-L0J) - if this does not happen with the March update, it will certainly it will happen with the next update !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Today, I just realised that you fixed the Netflix property. I can now download directly from Google Play Store. Thanks a lot @surdu_petru!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
wait , what property ? ... please can you post "adb shell getprop ro.netflix.bsp_rev" ? , thanks !

EDIT: I don't remember changing anything about Netflix ...
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Sure. It returns "Q660-13149-1".

Edit: Yes, it seems to be a rather old one but now it works (again).
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
please, can you try with this new one "Q670-14477-1" ... It'll be added in the next release ! Thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Will do later today or tomorrow and will let you know.

One newbie question: Is it possible to use # to comment out lines in build.prop?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
yes, of course ! (use # to uncomment whatever you want )
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Just checked it and can confirm it's working. I could install Netflix from Google Play Store.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Thank you very much for confirmation !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] elShans0:
Hi bro!)

Also, Clash of Clans (BTV-W09) does not work, neither from Google Play nor from other markets. Application error. How to record a log and find out the reason? It hasn’t worked for a long time, definitely since version Los 19.1.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Google removed the support for older devices based on Android 8 starting with Android 12, and for this reason we have a lot of problems, not only the games that don't work (the sound issue being even more serious than that of the games)

With this commit (Devices on Android O will not be able to update directly to Android S), they practically removed the support for Android devices older than Android 9.

With all these restrictions, and despite the fact that our device is based on Android 7 (not even 8), we now have the latest version of Android available (and its functionality is strictly linked to the restrictions imposed by Google) ...

This build ( LOS 21 - Android 14 ) is currently state WIP (Working in Progress) - so we hope to fix as many issues as possible in the next future updates.

Thank you for the understanding !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] elShans0:
Hi bro!)

By the way, the version from the Amazon store (clash of Clans) launched and requested an update, but I was unable to update through the Amazon store. but it was the version from the Amazon store that worked!!

what could be the matter here? Does it make sense to downgrade the SDK version of the game?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
yes, you should try all the possibilities (I'm not a big fan of games, so I can't give you a very useful advice) - finally if you really want to run this game you can go back to LOS 18.1 (if on that version works)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Interesting idea... how do you do that?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] elShans0:
I came across on the forums (4pda) various programs for upgrading and working with apk files. I will write if I find out anything or if there is a positive result

(progs for android - apktool, apk editor and etc)4pda (Thread Клуб Mod APK)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] elShans0:
my dear friend, I looked and it turns out that for Clash of Clans the system requirements are Android 4.4+
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] elShans0:
brothers. who has version BTV-DL09 (with SIM card). tell me. who installed magisk? and how to install it? which image to patch? TWRP version 3.7.1.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Hi @surdu_petru, in LOS 17.1 we had the opportunity to add the Terminal Emulator to the system by adding it / unhiding it via development options. Would it be possible to add this to LOS 21 as well?

Edit:

When I do a search in the developer options, it lists this as "Local Terminal" but once I confirm the search it is not there.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, it's a LOS feature and I can't do too much... You can check how others devices with LOS 21 enabled terminal emulator, thanks !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Ok, will check once I update my secondary phone to LOS 21 and will let you know if it works.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] 30adi:
Hello! I am asking as i did not find any related discussions here: am i able to dirty flash from lineage 17.1 or do i need to factory reset the device?

Thx @surdu_petru for this, i really thought that this device was abandoned :) I havn't checked here for a while and i see alot of activity :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
No, dirty flashing is not possible in this case. You need to do da clean flash carefully following the instructions in the OP. It's quite easy.

Dirty flashing is only possible when you update within one version e.g. LOS 14 for BTV-DL09/W09.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] 30adi:
Stremio has no sound. Tested different apps, are working properly. Log attached.

I am not able to install HBO MAX. Is this a known issue?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
I'm here to show my gratitude Sir. Have looked to it some while ago but to make a ROM for a not supported device with the latest android and its working in my opinion even better than stock after videos on revanced app not loading correctly anymore and much more trouble remembered you and checked the new posts. Even if I have not the economical freedom to support you at least I can tell people to support your incredible work I'm currently in a hyper inflational country.

People even one dollar support this guy but moreover also never forget about the people in Palestine even little is already enough to contribute.

As for the ROM I suceeded to install magisk and from the modules revanced. Fingerprint unlock works flawless. I got errors with the revanced manager couldn't mount the patched app but via module worked. WiFi works better than stock at least in my case.

May God guide you to the straight path and correct, turn your circumstances to the better. Once again thank you for your hard work.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, there's some audio issue ( not properly working like into LOS 17.1 ) ... And about HBO max I never installed, so I can't tell you too much about

Thank you very much!
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Herby007:
First, many thanks for this ROM, having bricked my BTV-W09 last year, I'm back in the game with a BTV-DL09 and the new Rom is the best one yet.

One thing I have noticed is that the latest rom is markedly harder on the battery than older versions that I ran on the W09. I am not sure if anyone has reported this yet, or what the reason is - but with a new battery I get only about 20 hours of use on the BTV-DL09, as opposed to 36 hours on the BTV-W09. I am not sure if this is the tablet, the rom, or both - but I thought I should report this issue in case there is some remedy in future.

In any event, the Rom is great, so I am very grateful for your efforts.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Compared to the latest LOS 17.1 I've also experienced a slightly higher battery consumption on my BTV-W09 now but given that it's still a beta release even on LOS level I assume that it will be improved over time.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
Found some minor issues like notification pulse does not work and crashing the settings if I click while setting it up to the notification about it then going back canceling or confirm. Found some errors appearing on hardware.radio maybe something affecting battery? Don't known how to properly share logs but here
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
Plus I didn't really feel the increased consumption pointed by some testers. Nevertheless it feels really smooth and responsive but if I turn on the option preview gesture or so on developer options I felt a slightly poorer performance turned it back off.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Hi !

The new update will be slightly delayed towards the end of the month, because at the moment I have planned an upgrade the whole desktop to the last PCIe 5.0 and the new graphics card will arrive in a maximum of two weeks ... as soon as I have the complete desktop I'll come back with a new update for Beethoven Android 14.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Thanks for letting us know.

Enjoy your new system! 👍
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
I've checked on my secondary phone with LOS 21 installed since this evening. Same thing here, cannot bring the Terminal back via developer options.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
After some usage I also realized the slightly more consumption. Googled a little is probably (sir surdu-petru would know better )due to the ril services hitting the logs to find the not existing Sim hardware. A similar problem was by another device WiFi only custom ROM which they managed to solve. I think In the new update it will be solved. Moreover I found that while on WhatsApp video call android.phone starting attempts also flood the log. Battery drained really fast and the connection experienced micro reconnects. I speculate that only wifi models are affected. If anyone could test both on a 2.4ghz and 5ghz would be appreciated.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
Found this too

1336 1336 com.android.launcher3 W Choreographer : Frame time is 0.215374 ms in the future! Check that graphics HAL is generating vsync timestamps using the correct timebase.

Maybe it's useful for something
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
Found a fix for the hardware.radio affecting battery in wifi only models don't know if it really fixed the issue but there is no error in the logs. from the user hwti edited the XML files in /vendor/etc/vintf/manifest.xml deleted the hardware.radio entries. For now no error messages. Location wifi still works for battery I must use it more. I also added build prop entries but I think they didn't do anything. I will report back if I encounter any abnormality
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes, for wifi only devices I'm planning to release a separate build ...I hope starting next month.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
Hello wanted to ask if it's possible to run our devices with f2fs filesystem on data and cache. Or does this need special adjustments
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
For moment you can't, but I can add support for f2fs on the next update.... It was disabled because after some tested I found that ext4 run better than f2fs in our device
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] friedsonjm:
I have to agree... ext4 seems to be faster and smoother.
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
Productivity comes before optionality. Only asked in hope for even better performance but this rom is way smoother than stock already. But you know human nature :)
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] harrisc:
On my BTV-W09 I am running Android 10 lineage_btv-userdebug 10 QQ3A.200805.001 eng.surdu.20230812.160720. Thanks, it has made the device much more useful. Thanks.

Is there much difference/advantage in upgrading to this version?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] surdu_petru:
Yes of course, new security patches, new features and so on .
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] harrisc:
"Yes of course, new security patches, new features and so on"

Thanks. I have another question. When I installed the above, l did NOT enlarge the partition; I installed a small version of GAPPS.

Can I just follow the instructions on page 1?

Cheers
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] l1ll3l:
I too did not do this enlarging it's optional I directly updated from stock nougat to this version with minimal Gapps. I also had twrp installed so I flashed the new TWRP via TWRP on to the recovery partition than booted in to the new recovery did the instructions. Don't forget to flash the boot IMG for wifi only devices and before booting to system flash Gapps
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] F_Thom:
Good afternoon,

Sounds like beginner's question. I've tried to update my M3 BTV-W09 tablet but face now issues which I didn't manage to solve alone.

What I had at the beginning: a stock M3 BTV-W09 tablet with EMUI 5.x / Android 7 and locked Bootloader.

What I did:

- Unlocked Bootloader => Ok

- Installed TWRP 3.7.0_12 => Ok

- Format data to Ext 4 + wipe => looks Ok

- Wipe cache => looks Ok

- Install LineageOS 21 zip file (lineage-21.0-20240210-RELEASE-beethoven) from SD card => looks Ok

- Install BiTGApps zip file from SD card => NOk, here it tells me that there is only 28 MB left on the partition for whatever reason

- Reboot => No booting at all, even if I repeat the steps without installing the GApps

Is there something I really forgot to do or did obviously wrong?

If I posted my question on the wrong board, please let me know and I'll move it.

I thank you in advance for your support !
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] Brain789:
Did you flash boot.img for BTW-W09?
[Huawei Mediapad M3 ROMs, Kernels, Recoveries, & Ot] F_Thom:
Thank you for this quick reply and this useful advice !

This is probably the issue and the reason. I've downloaded the file but didn't know how and where to flash it...

It seems to be solved ! Thanks again