yashsingh1/xdaforums huggingface dataset:
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] xenondroid:
I tried to get logs both from adb logcat and adb shell 'su -c dmesg -w'. However at the time of crash no log is generated. The phone completely freezes before resetting. Is there any way to access latest dmesg in android?

Edit found it: It seems like we have a kernel crash! The contents of /sys/fs/pstore/dmesg-ramoops-0 is attached.

Edit2: I skimmed the kernel sources in https://github.com/Mint-OS/android_kernel_motorola_msm8953/blob/lineage-17.1/fs/sdfat/sdfat.c. It seems like something sets the read/write bit of bio to 0 i.e. bio_data_dir(bio) == bio->bio_rw == 0 which causes the assertion to fail. The stack trace looks like that it is indeed a write request so something has really gone wrong.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Ah, that is an important point. The Android Camera2 API only spits out RAW and JPEG, everything else needs to be converted. (Camera1 only does JPEG)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Wow, great debugging. First of all, you want console-ramoops-0 instead, it is more verbose (it contains everything what an dmesg would say, plus the error; thought, in this case, it isn't important). About your second edit: Jarl recently updated sdfat from an google pixel device, this is when the bug came, probably. I'll get this to his attention.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Jarl rejects all bug reports not on the official builds (if you didn't hear the news, we're official). This means when the first build comes (there is none yet), you'll need to clean flash it, reproduce the bug and post it on the LineageOS bug tracker. This is very inconvient but I can't change that. I am not skilled enough to fix the kernel.

Update: Jarl said he may investigate. I'll keep you updated.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
useless post
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Problem with security ?

I recently can't get this app working anymore.(I can install it, run it , and then it gives an error)

Are there people from BeNeLux with this problem?

something with security?

my bank app works, payconique / bancontact is a payment method in the benelux

Betaal gerust mobiel met Payconiq by Bancontact | Payconiq by Bancontact

Betaal snel en veilig mobiel met de Payconiq by Bancontact-app in winkels, online en tussen vrienden. Download de app vandaag nog.

www.payconiq.be

1 G5 with Magisk , 1 Without Magisk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Have you hidden magisk manager with a random package name in magisk manager settings?

Have you hidden the app that won't run with magisk hide?

Does your phone pass cts profile?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
can I post a topic here?

I keep having complaints about the quality of the phone call. The other side hears me very badly. When I put on hand sfree they hear me well.

Is that with you too? Maybe not.

What can I do about this please?

do you have any tips?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] rahimali:
we appear to have our first official build today!

LineageOS Downloads

download.lineageos.org

congrats to all devs and thank you for all the hard work, time and effort you guys have put in!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Just keep in mind it doesn't have the Mint tweaks ;)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] saldor:
Great, it was a long way to this stage. I thank you @nift4 very much for all the work!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
What's the best way to see what the differences are between the official Lineage version and Mint?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Read the OP
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Zweistein82:
I'll keep Mint !!! It's ist simply great work
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] UrsEnov8:
Am I the only one who is experiencing a much higher battery drain, or am I the only one who cares?

With a clean flashed CodeZero build I get about 7 to 10 days worth of idle use out of my phone. Meanwhile this and the official build that I've now tried would only get me 3 to 4 days. We're talking about ~5%/24h vs ~5%/6h difference!

Right now I am letting GSam battery monitor observe the official build. Though, for now I am lacking some reference data from a CodeZero build to really compare it with. The performance profile is set to power saving, btw.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] walkind:
You are not the only one.

With Mint in december I had nearly three days battery time with normal use.

With the last built I have to reload every day.

Actually my phone is 3 hours from loading, no phone call and 2 minutes display time and I am at 85%.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
This is due to we switched to an new kernel. I am working on a kernel with some improvements tho.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Zweistein82:
Hello,

Is anyone else experiencing this issue: since the last Update mobile data isn't functioning any more :(
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
There were no changes on device side and only 2 filesystem-related changes in LineageOS.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Zweistein82:
That's strange :unsure: ... Both SIM Cards can't get a mobile data connection...

should I perform a clean install and not just use the update-function.?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Updating should work, but I guess a clean install would be your best option.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Zweistein82:
Just did a complete wipe and installed from the scratch ... now mobile data is working! (y)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] timo0816:
I installed newest version of mint.

After updating and booting mobile data wasn't possible, so I rebooted my phone. Then mobile data is able at both sim cards.

But I found some bug, maybe anyone can reproduce this:

I make a call via VoLTE, everything ok. Switch to flight mode and deactivate flight mode again, mobile connection via 4G is activated.

If I do any call now, my phone tries to catch 3G for connection with very bad quality (becaus of my lokal 3G coverage).

Do you have any idea?

After restarting the phone I can do as much VoLTE calls as I want but I my phone is set to flight mode every night.

Edit: I just checked switching to 2G and after this to 4G again I can not make calls via 4G even using "LTE only" (no connection possible).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Hello with Mint some apps don't work. After I started the app, it quit with a popup," the app always stops " . I have now 2 apps in this situation. 2hands and 4411 . in the past I got never this problem. Any idea please?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
That is the app's fault
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] HarpingOn:
I'm trying to install this on my Moto G5, have unlocked the bootloader and flashed twrp-3.5.0_9-0-cedric.img

Wiped and flashed

lineage-17.1-20210220-UNOFFICIAL-Mint-v2.1-cedric.zip

But the phone is stuck on Lineage boot logo for over half an hour.

I repeated the flash once more, and waited the same time with the same result.

Any idea what I've missed?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
[OT] My cadorabo flip case has disintegrated to the point where the magnet has fallen out and is generally looking pretty tatty. Does any one have a recommendation for a new flip case?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
How to install

Go to twrp

Select wipe

Format data - option on the right (will format everything on phone including personal files so backup first!)

Restart to twrp

Wipe then advanced wipe

Wipe system data and cache

Select install from main menu

Install rom zip

Install gapps (you want arm64 android 10 nano)

Install magisk (optional for root access & to hide apps from detecting root/custom rom)

Wipe delvik cache

Restart

Encrypt phone again if required once booted from phone settings menu
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Hello, I will go into this in more detail. I have 2 phones moto G5 1 for work 1 for private. Both with Mint, Magisk etc.

some app's works on work phone but not at the private phone, I don't understand how that is possible.

any idea?

So I think it is not the app, or my reasoning is wrong
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Interesting. What are the installed Magisk modules? Can you provide a crash log?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
I tried provide you a crash log , see attachment , copy of Android Studio. is this ok for you ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
module= Systemless Hosts , thats all
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Tried re-installing? It's missing some directory that android creates automatically.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
Reinstalling the apps? I did that already but with same result.

Or do you mean a clean install?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I meant the apps
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
I did that several times without success. They installed but starting the app don't work
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
In the past I think , I tried some apps for moving apps to the sdcard. Could that be a cause ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
It's missing firebase which is basically Google analytics.

Assuming you have a working gapps (arm64 android 10 nano)

Your systemless host could have removed/altered the paths in order to block ads etc

Flash magisk uninstall zip to remove magisk and modules and then uninstall and reinstall your apps and see if they work.

If not you'll have to try a clean flash of the rom
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
This morning I did the latestsystem update and also an update magisk
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] eboelens:
OK I try that this evening
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] alxsj:
Hi,

Now Moto G5 is officially supported by LineageOS, what are the exact differences/additions between LineageOS and this ROM, please ?

Different kernel, call recording, ... ? I read the features section but I feel some of them are also part of Lineage. Am I wrong ?

By the way great work and thank you for this ROM !
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] HarpingOn:
I've done this , and I've even tried a couple of TWRP versions (3.5 and 3.4) but every time it just sits at the lineage animation for a very long time before returning to fastboot mode.

This happens with mint, and with stock Lineage too, so I don't think it's mint specific. I just can't work out what I'm doing wrong.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
If you are only flashing the rom & nothing else & it still doesn't boot then it's user error somewhere

Start from the beginning & flash stock firmware via fastboot - the latest retail firmware

Then do each step in my previous post exactly as written

lolinet mirrors - firmware, software, iso etc.

lolinet mirrors - powered by h5ai

mirrors.lolinet.com

fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot oem fb_mode_clear
fastboot reboot
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] HarpingOn:
Turns out, I was following these exactly.

What I did have though, was the GB regional download of the 8.1 fastboot files, and that was where I was starting from each time.

Eventually I downloaded some international version , CEDRIC_RETAIL_8.1.0_OPP28.85-19-4-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip instead.

When I flashed that with fastboot I got a corrupt ROM error the first time, then rebooted again and it booted into stock 8.1.

After this , your mint rom worked fine.

So , my problem was down to flashing the GB version of 8.1 through fastboot as my starting point.

Happy days! Now I don't need to buy a new handset to test Lineage :) Cheers for the ROM
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Call recording everywhere is the point. LineageOS restricted it to a few countries. If in doubt about more features, let me know.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Btw, I am currently working on Mint OS 3.0, based on Android 11. As usual thanks to @JarlPenguin for the device tree'n'stuff.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
The last nightly build on SourceForge is from 7th March. Is that expected and is the March security update in that build?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] xenondroid:
Apparently Jarl reverted the commit that caused the bug: https://github.com/JarlPenguin/andr...mmit/17b3dc0d95eba0c3cb60148cc974dfb94353ba7f
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
First of all, you did triple-post lol. Yes, it is excepted because of the Mint 3 update that isn't stable yet (but soon :D). About the security patch: No idea. Maybe you need to wait for Mint 3.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
OK, thanks for the info. Sorry about the triple post - I kept getting an error message that the forum was unavailable, but it looks like the error was just that the error message kept appearing 😅
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Hey, Mint 3 is just around the corner. If anyone could get it from GitHub or the CI channel and install + test, I would be happy. I already gave it to quite a few testers, many things work and I think it is ready for an public beta.

Notes/Changelog:

- Updated to Android 11 with March patch

- More optimizations (should feel like Q)

- Added 3 finger screenshot gesture

- Added long screen shot

- (GApps variant) Added some Pixel features (still only nano GApps tho)

- Added other minor features (reset battery stats from GUI, disable-able VoLTE icon, etc.)

- Do not enable secure startup!

- Do not dirty flash!
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] shrichame:
Is this treble rom?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
yes
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Horrible Username:
Do Seedvault backups work across versions? ie, Would my current backup work with the new Mint 3, or any new Lineage for that matter?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Mint 2.1 is back. I just don't feel that Mint 3 is ready, however, you are free to try it out.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
It depends on the app you backuped. I'd recommened to ask the Seedvault developer though.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Introducing Mint SE (Special Edition)!

...no NOT second edition

Some users prefer the old Sohamlad7 sources (as used in Mint v1). I created Mint 2 SE with all v2 platform features like Face Unlock and an Gapps edition but with the v1 device source (there is green tint bug and no treble support but customizable fingerprint gestures and better battery life) . Have fun!

THIS WON'T AFFECT NORMAL MINT BUILDS
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Mint 3 BETA builds are available in the "Next" directory
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Horrible Username:
Sweet. I had some other issues once I switched to the Mint 2 build, the big ones are in SqueezeCtrl (network error of some type and scroll acting like click n drag). And I also liked the longer battery.

So, what the deal with these builds… clean or dirty? Will they all be getting updates? How "beta" is Mint3?

Cheers.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Clean ;)

I attempt to keep them updated for a bit.

Pretty usable, but has it's quirks. Check the public beta post.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Horrible Username:
OK, call me dense, but where/when do we find the links? All I can find on the Sourceforge page is the latest 2.1Gapps (the next and se folders are empty).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
The sourceforge upload seems broken... use the github links: https://t.me/s/MintOS_Builds
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
I installed 17.1-20210409-UNOFFICIAL-Mint-v2.1-GApps-cedric a couple of days ago and have the problem again that the torch and camera no longer work. In the past this has usually resolved itself after a reboot. Is there anything particularly different about this version which might be causing the issue?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
After installing 17.1-20210415-UNOFFICIAL-Mint-v2.1-GApps-cedric plus an extra reboot, the camera is working again. So I am not sure whether the problem was solved by the new version or just the additional number of reboots :/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] morcego.surf:
I am using and it an amazing rom.

Congratulations.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] alxsj:
I encounter the same problem : I loose mobile data on both SIM cards each time I update the ROM and have the same problem with the official LineageOS ROM.

The only way I could solve the issue for now was to do clean installs and reinstall everything. Does anyone have a solution to restore mobile data without wiping everything ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
If it happens with official Lineage, Mint inherited the bug from it and it's best to report it to LineageOS (using an official build).
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] krasmus:
same problem for me, but a reboot to recovery and wipe dalvik + cache solves it in my case.

nevertheless I reported the issue to official lineageOS https://gitlab.com/LineageOS/issues/android/-/issues/3404
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] krasmus:
with the newest twrp the ota udate not crashes the mobile data.

now I have twrp-3.5.2_9-0-cedric.img from 2021-04-25 befor I was on twrp-3.5.0_9-0

so i closed the issue
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] SantiNRB:
hey man, twrp give me the invalid zip file error, i try other rom and the install goes correctly
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] TheFixItMan:
Most likely corrupt zip - download the rom again. Open it with winrar or 7zip on pc for example and make sure it doesn't give you an archive error when extracting contents.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] alxsj:
I tried the latest TWRP (3.5.2_9-0) and next updated to latest OTA update (29/4) but I have the same issue again... I tried to reboot and reset wifi/network/bluetooth and to clear dalvik cache but the problems is still there...
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] alxsj:
I commented on you bug report but maybe I need to open a new issue ?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] walkind:
Hey nift4, what is the state of Mint3.0? It was just around the corner in march.

Did you find so much trouble or just not enough time to fix all?

Thanks for your effort.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
It was buggy and I couldn't find out why, so I paused it. Currently I am working on kernel 4.9
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I recently got asked if I wanted to participate in a ROM project. I took the challenge, it's working out pretty good, and personally I see this as the Mint successor. I'll release it for cedric when it's ready, it's called Stellar OS.

However, this also means Mint is coming to an end. Gapps build where broken for quite a while and I'll stop any builds soon. Please reply if you are still using Mint and want to have some longer period of 2.1 builds. Thanks to all users for being here and to all developers who made this possible.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] doug888:
Hi yes still using Mint here. Would be good to have some more 2.1 builds if possible before moving on to Stellar OS when ready.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
I'm also still using Mint very happily and would be very grateful for future 2.1 builds. When do you think Stellar OS might be ready. Do have a link for the project?
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
All links I can give are the telegram group (https://t.me/Stellar_OS) and our GitHub (https://github.com/Stellar-OS). We'll post an XDA thread once we're released. We plan to release in August. I'll make one or two more Mint builds until then.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Hey everyone,

even though I supposed to ship an update, it's not gonna work. The whole infrastructure I use to build died. I don't have the time to re-setup everything; so Mint will have to wait or won't be updated at all.

Fun fact: this is the 500th reply in this thread.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] oldfone:
Sorry to hear about your gear failing, but thanks for all the work you put in up to now! I guess I'll now have to have a look at the official LOS ROM.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Hey everyone, there's an update on the successor Stellar OS! We are probably launching in a week. From beta testers I got the feedback it's working as good as Android 10 - I added many many optimizations. See you there :) #RideIntoCosmos
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
StellarOS launch day :D

https://xdaforums.com/t/rom-official-cedric-11-stellaros-1-0-aquarix-rideintocosmos.4319679/
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
There was 0 information in the logs, when I was looking at them :(

I will do another OTA and see the logs right after the upgrade

The next step would be to remove the encryption and see what happens than

Is there any camera that suppose to be working? Neither one works - google or default installed :(
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
I do not know anything about camera, but it should work a bit atleast. I ask the device devs.
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] marci77:
Camera issue was apparently caused by the encrypted data drive. I made a factory reset and deleted the complete data folder.

Now Camera in the ROM works without any issues. I will installed GApps stock and full package and camera works.

I'm about to do OTA still, and I found 2 things that is interesting:

- after 1st restart the Moto gesture are not available in Settings, you have to restart a 2nd time

- the power button is linked to the Camera action, therefore it's not obvious to restart as it always wants to take me there - is there an option to remove this as default behavior?

After factory reset and delete data, the OTA updater does not seem to find any results, even if internet is working.

So I'm now doing a clean install and see what happens next :)
[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] nift4:
Try clearing OTA updater cache