yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] MSe1969:
Next build...

This month, I have been somewhat quite busy work-wise, so I think I will only be able to take care about next builds towards the weekend.

Update: Sorry, work has taken up all my time and energy. I think I'll skip October and deliver November (incl. October) on time
[Moto G Android Development] Scranalot:
Good Afternoon

No need to apologise on my account @MSe1969 anything you do to keep these venerable old devices 'up to snuff' is very much appreciated by myself & doubtless everyone else here in this thread :)

Anyway I must continue with somewhat of a tale of woe - I had been having the not uncommon issue with the 'Hotspot' access point with my XT1033 whereby sometimes the connection would drop out or the phone would unilaterally reboot.

This appeared to happen after about an hour or two in use resulting in afwall+ repeatedly try to reset itself. Getting it back to 'normal' would involve turning 'Hotspot' off in the settings - this would allow afwall+ to settle down to normal operation.

I have no special rule set scripts for afwall+ - just make my requisite selections through the standard interface. Obviously the phone is rooted, with just the official lineage addonsu, for afwall+, which is the only app granted root access through the developer options.

Although these drop outs were an inconvenience, I just regarded it as that & nothing more, however I've now got a big problem. Yesterday I was using the phone as a Hotspot when it rebooted - but when it did so it remained stuck at the boot screen. I left it for about 15 mins then tried to reboot it & went straight to the boot screen again.

I cannot access this phone via adb from the computer as adb is not enabled in the developer options on the phone, but I can boot into TWRP recovery via the power + vol buttons.

In TWRP on the log screen it states:

Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
Failed to mount '/firmware' (Invalid argument)
Failed to mount '/system' (Invalid argument)
...done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Full SELinux support is present
E:TWFunc::Copy_Log -- Can't open destination log
file: 'cache/recovery/log'
E:failed to write /dev/block/mmcblk0p30: I/O error
Unable to mount /data/media/TWRP/.twrps
Error opening '/cache/recovery/.version' (Read-
only file system)
MTP Enabled
Failed to mount '/data' (I/O error)
Failed to mount '/firmware' (Invalid argument)
Failed to mount '/system' (Invalid argument)

I cannot repair partitions or reinstall ROM & most directories (apart from /sys, /proc & /cache) appear to be empty! (maybe because they are unmounted?)

I have accessed the file system in TWRP. Using the Busybox terminal I did a list out of the /cache directory:

/cache # ls -lah
ls: ./lost+found: I/O error
ls: ./backup_stage: I/O error
ls: ./backup: I/O error
ls: ./trace: I/O error
__bionic_open_tzdata: couldn't find any tzdata when looking
for CST6CDT,M3.2.0,M11.1.0!
__bionic_open_tzdata: couldn't find any tzdata when looking
for posixrules!
drwxrwx--- 7 system cache 4.0k Apr 13 15:37
.
drwxr-xr-x 23 root root 0 Apr 29 22.03
..
-rwx------ 1 root cache 3.0M Oct 24 2021
pds-dump.img
drwxrwx--- 2 system cache 4.0k Oct 15 2021
recovery

Note: There is nothing in the /cache/recovery directory

has anyone got any suggestions?

Cheers
[Moto G Android Development] Scranalot:
Good Evening

Further to my earlier post above #788. I have bitten the bullet so to speak & decided to format Data:

Formatting Data using mkfs.f2fs...
Done.
Failed to mount '/data' (I/O error)
Unable to recreate /data/media folder.
You may need to reboot recovery to be able to use
/data again
Updating partition details...
Failed to mount '/data' (I/O error)
Failed to mount '/firmware' (Invalid argument)
Failed to mount '/system' (Invalid argument)
...done
Unable to mount storage

Upon rebooting the same failure to mount partitions, including /data still prevails - plus I don't really know if indeed the formatting has occured.

I've also done a Factory Reset - again it is stated:

Formatting Cache using make_ext4fs...
Failed to mount '/cache' (Invalid argument)
Failed to mount '/data' (I/O error)
Updating partition details...
Failed to mount '/cache' (Invalid argument)
Failed to mount '/data' (I/O error)
Failed to mount '/firmware' (Invalid argument)
Failed to mount '/system' (Invalid argument)
Failed to mount '/system' (Invalid argument)
...done
Unable to mount storage

So again I suspect nothing has happened

I have found that I can access the phone with Fastboot via USB from my computer so I could restore stock image
[Moto G Android Development] MSe1969:
Does it work now with the stock image?
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with back-ported November and October ASB patches is available for download and via the Updater app.

A comment on the security-string:

Up to now, I have usually picked the ASB topics from the LineageOS Gerrit, when the test feedbacks and my own testing looked good, before the topic got officially merged. As a matter of fact (but no complaints), the merge has often happened late on the LineageOS side, but the topics were always merged as uploaded.

However, CVE-2021-0514 and CVE-2021-0515 from July 2021 ASB are still missing! That is, why the security string has not been merged from July onwards in the official LineageOS repositories, because of those missing CVEs.

Therefore, I have decided to show again the "official" LineageOS security string 2021-06-05 and show in addition a "Custom build release" to indicate the status of ASB backports - as usual, on a "best effort basis".

A. Default LineageOS 14.1 with substratum and microG patch

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20211108-UNOFFICIAL-oms-falcon.zip/download

November 2021 custom build release

System Webview 95.0.4638.50

B. Hardened build with pre-installed microG and F-Droid, patched for substratum

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20211108-UNOFFICIAL-mG-oms-falcon.zip/download

November 2021 custom build release

Bromite Webview 94.0.4606.109

Happy flashing

Regards, M.
[Moto G Android Development] billthefarmer:
Well that's jolly interesting. I've faithfully installed your updates up to now and they've all worked just fine, no problems, thank you very much. However, the latest, lineage-14.1-20211108-UNOFFICIAL-oms-falcon.zip, for some reason, upset Signal and the NHS app. Signal kept crashing, I assume it was trying to phone home, and the NHS app just once. I tried running Signal and it crashed immediately, the NHS app seemed to run OK. I have reverted to the previous release, lineage-14.1-20210917-UNOFFICIAL-oms-falcon.zip, and everything is just fine again. I don't know if a crash dump from Signal would be very useful, I could try it again and get one, but I'm quite happy as it is, I'm planning on replacing the phone soon anyway.
[Moto G Android Development] MSe1969:
Thanks for the hint - I'll try to install Signal and see, whether I can reproduce the issue.
[Moto G Android Development] billthefarmer:
It's possible to download Signal from their web site, on https://signal.org/android/apk/, but you have to search for it.
[Moto G Android Development] phoenixmet:
I have a similar error but with a google play mod , in the previous compilation I did not get to pass :(
[Moto G Android Development] phoenixmet:
I fixed it by reinstalling the google play and I did the test with signal and there was no error
[Moto G Android Development] Xazu:
I want to thank you deeply for your work. It's really important to me and to my family
[Moto G Android Development] Bludwurst:
Thank you for your work.

I'll report that ProtonVPN crashes and won't run since updating to latest hardebed build; clearing the app's data solved it.

Again, thank you.
[Moto G Android Development] peelie:
hi i am getting fails on Signal and French Covid app

edit/ clearing all data for apps solves problem
[Moto G Android Development] MSe1969:
Thanks for the update - I have installed Signal on my peregrine (same device family, same kernel and only diff is LTE module) and experienced no issue. What I got from last posts is that clearing app cache or data solved issues.

No idea, what was causing this - to all:

Are there still apps with issues?
[Moto G Android Development] phoenixmet:
if a clean installation is done there is no failure but if an update is performed from another compilation some applications fail until the cache or data of the applications is cleared
[Moto G Android Development] MSe1969:
Any chance to produce a log? So I could get some indications, where to look closer?
[Moto G Android Development] phoenixmet:
wao how could I check if there is any record of the errors?
[Moto G Android Development] MSe1969:
https://xdaforums.com/t/tutorial-how-to-properly-post-a-bug.1520508/
[Moto G Android Development] fusibal:
Hardware AEC (Acoustic Echo Cancellation) doesn't work​

The other side hears an echo when talking on the speakerphone and quiet echo in a normal conversation. Hands-free echo makes video calls impossible with apps, that uses hardware AEC. Use Conversations and call a friend with videocall - loud speaker + mic, they hear themselves. Same with audio call in Conversations and Speaker mode. Same with Jitsi Meet

Possible Solution​

Adapted from https://gitlab.com/LineageOS/issues/android/-/issues/2194#note_739468172

On Moto G4 (athene), running Lineage OS 14.1 (Android 7.1.2 Nougat), Acoustic Echo Cancellation (AEC) was fixed by editing /system/build.prop, set persist.audio.fluence.voicecall=false and ro.qc.sdk.audio.fluencetype=fluence. Other true/flase combinations involving persist.audio.fluence.speaker and persist.audio.fluence.voicecall did not work for me.

On phone/device settings, developer options, enable USB debugging and ADB root access. Then connect phone to a pc host with ADB installed, and in terminal type:

adb root && adb remount

When prompted on the device to select "Always allow".

adb shell nano /system/build.prop

Change the following values to shown here:

persist.audio.fluence.voicecall=false

If fluence.voicecall is true , change it to false.

ro.qc.sdk.audio.fluencetype=fluence

If audio.fluencetype is none, change it to fluence.

In nano, hit CTRL-X and then Y to save your changes.

Peelie, if this problem persists in your next Moto G4 ROM update, please pull/merge/test this solution.
[Moto G Android Development] Apollon.Theos:
@MSe1969 What version of TWRP need for work auto update your ROM?

Now my Moto G fall to screen with killed robot "no command", after try to approve auto update.

Reboot restore phone, this is not "brick version" :)
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with back-ported December patches is available for download and via the Updater app.

A. Default LineageOS 14.1 with substratum and microG patch

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20211220-UNOFFICIAL-oms-falcon.zip/download

December 2021 custom build release

System Webview 96.0.4664.104

B. Hardened build with pre-installed microG and F-Droid, patched for substratum

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20211219-UNOFFICIAL-mG-oms-falcon.zip/download

December 2021 custom build release

Bromite Webview 96.0.4664.54

microG 0.22.214516-21

Happy flashing

Regards, M.
[Moto G Android Development] MSe1969:
Recommended TWRP version is 3.2.1, as advised in OP
[Moto G Android Development] Apollon.Theos:
@MSe1969

"Mismatched partition size (recovery)" :(

Your recommendation?
[Moto G Android Development] MSe1969:
If you see the "killed robot" (I did not get that, when I first read your post), you have the stock recovery active, for whatever reason, and not TWRP.

But you have already LineageOS on your phone, correct? (You said "update", so I guess yes)

And you got the "mismatched partition size", when you tried to flash TWRP via fastboot, correct?

Is the " mismatched" message only appearing on the phone, or is that shown as an error response in your terminal, where you entered the fastboot command?

When searching for that error, there are mainly the following suggestions:

a. It's a warning only (if the fastboot command returns OK, and you see it only on the phone's screen), just reboot to recovery and you have TWRP.

b. Try "fastboot boot TWRP.img" and when you are in TWRP, update TWRP from there (image update - not sure however, if 3.2.1 offers this feature already)

c. Update the bootloader (see link in OP, but be careful here, if you flash sth. wrong, your phone is gone), if version is below 41.18 (if it is this version or higher, don't touch - if you e.g. have 41.1A, you have already the latest BL, all fine, DON'T downgrade!)
[Moto G Android Development] Scranalot:
Yes - I downloaded stock image from this thread:

stock image

And following this procedure:

Flash each of the partitions in sequence using fastboot

Enter the following commands one-by-one checking each one returns an [OKAY]

fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot -u flash system system.img_sparsechunk.1
fastboot -u flash system system.img_sparsechunk.2
fastboot -u flash system system.img_sparsechunk.3
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot reboot

It failed on the last 2 (cache & userdata) on my first attempt but took on the second (y)

Then installed your November release (thanks @MSe1969) & re-installed all my apps & data.

Just installed the December update that you recently released @MSe1969 - all is good thank you.

Apologies for the inordinate delay in response to you question, @MSe1969, & now it just remains for me to wish you & everyone else on this thread seasons greetings🎅

long live the mighty Moto-G :)
[Moto G Android Development] ChrisRM:
Well, there goes the Moto G.... Vodafone in the UK have announced that they're killing their 3G network in 2023. So we have another year's use out of the Falcon.... Have to switch to Peregrine.
[Moto G Android Development] Apollon.Theos:
this is "killed robot" :)
[Moto G Android Development] MSe1969:
In Germany, they killed 3G network already in 2021 (O2 was the last to switch it off on DEC-31st 2021)...
[Moto G Android Development] methuselah:
You have already did so much for this device over these years. Even if they kill 3g. This device will still be the most beatiful device that i ever hold.
[Moto G Android Development] Guttergorm:
Makes my MotoGs even more perfect for my not-yet-grown-ups. A phone which can only be used with Wifi when it comes to data usage.
[Moto G Android Development] MSe1969:
Next build...

Hi all, due to time constraints, I was not able to provide a new build in January. I will however provide another build for the falcon with sec. patches in February soon, once new patches are pushed to the LineageOS Gerrit.
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported Frebruary 2022 patches are available for download and via the Updater app.

A. Default LineageOS 14.1 with substratum and microG patch

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20220219-UNOFFICIAL-oms-falcon.zip/download

February 2022 custom build release

System Webview 98.0.4758.101

B. Hardened build with pre-installed microG and F-Droid, patched for substratum

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20220218-UNOFFICIAL-mG-oms-falcon.zip/download

February 2022 custom build release

F-Droid updated to 1.14, F-Droid privileged extension to 0.2.13

Bromite Webview updated to 97.0.4692.106

microG updated to 0.2.24.214816-2

Happy flashing

Regards, M.
[Moto G Android Development] billthefarmer:
I am amazed! I had retired my Moto because it was getting extremely slow and because of the impending 3G shutdown. But I wanted to do some app testing, so I wiped it completely and installed the latest build from here I had with no Gapps and it picked up this latest update straight away and is quick again.
[Moto G Android Development] Apollon.Theos:
@MSe1969

From my phone
[Moto G Android Development] Apollon.Theos:
@MSe1969

from my terminal
[Moto G Android Development] Apollon.Theos:
@MSe1969

and phone cannot boot to recovery, turn off.

Normal boot is work.
[Moto G Android Development] Apollon.Theos:
@MSe1969

Official TWRP program need "rooted" phone, without this only download recovery image
[Moto G Android Development] phpbb3:
Found myself a 16GB variant of this phone, and I'm quickly learning that some of the files I used to set up my 8GB var 3 or 4 years ago are either gone (my fav boot logo is a dead link) or harder to find now...

Regardless, I am getting it all set up with what I am able to find and of course this hardened lineage build. Thanks a ton @MSe1969 .

I am including here a link of files I used this time for falcon stored on my google drive. This way if any more of these resource links should stop working there will still be something to get you going. It includes the Feb build of hardened LoS, adaway 4.3.6, a boot *logo* flashable zip from @JBCDroid , TWRP 3.3.1, fichl's twrp theme kit, and magisk 24.1 :

https://drive.google.com/drive/folders/1PUY_OEDCREd92-e7ZDRKZjxE7mL4L6t5?usp=sharing

If anyone has a copy of the boot logo that had the Motorola logo, dark background, and the circle of different colors that said powered by android, please let me know.

Thanks all.
[Moto G Android Development] Bludwurst:
I've been having trouble with Aurora Store successfully connecting since yesteday. Going to said app's own xda thread seems to pinpoint to ver 4.0.7 being somehow problematic; the issue doesn't exist in ver 4.1.1 (released some time after this rom's latest update)

Proposed fix is uninstalling and reinstalling ver 4.0.7, which isn't possible in a nonroot phone with this rom. Clearing app data or changing connection settings or restarting the device or any combination don't work.

Hopefully this'll be looked into. As usual, thank you for your support to this wonderful little device.
[Moto G Android Development] Scranalot:
Morning

Probably not what you're looking for but this is mine:

#172

This was originally from:

https://xdaforums.com/t/bootlogo-beautiful-logos.3198424

as I have referenced in my post.

You could try a general search in this forum section too:

https://xdaforums.com/f/moto-g-themes-and-apps.2690/

HTH (y)

I had occasion some while ago such that I removed an old version & installed updated versions of Aurora Store & Aurora Services - take a look here:

EDIT

: The following originally post link (now highlighted on red) is incorrect - the corrected one is posted underneath in blue - my apologies

https://xdaforums.com/t/app-4-4-aurora-store-open-source-play-store-client-april-8-2021.3739733/post-79877432

https://xdaforums.com/t/app-4-4-aur...ore-client-april-8-2021.3739733/post-80013571

You can ignore everything after:

as it only pertains to my issues with the eBay app.

I have other posts on that thread, prior & later, that you may want to take a gander at ;)

p.s. I no longer have any g* apps installed on my phone so have removed Aurora Store & Aurora Services, amongst some other apps, as detailed in previous posts I have made on this thread.

Finally @MSe1969 thanks for the Feb update & you're continued support of this venerable old beast - much appreciated :)(y)
[Moto G Android Development] MSe1969:
Have you tried to boot into recovery from fastboot? Use Vol. down key

Yes, unlocked bootloader, which you have, otherwise you could not flash a recovery.

General - Please try the following:

1st attempt

- Boot into fastboot

- Flash twrp again, as you did in the screenshots

- Still in fastboot mode, press Vol.Down to scroll to "Recovery" and select (Vol.up)

- Will TWRP screen now appear?

2nd attempt (if option #1 wasn't successful)

- Boot into fastboot

- On you PC (phone connected), enter 'fastboot boot twrp.img' (use real twrp filename, of course)

- Is TWRP booting? If yes, use built-in method to flash recovery img
[Moto G Android Development] Bludwurst:
Solved my own issue; download Aurora Store apks from https://gitlab.com/AuroraOSS/AuroraStore/-/releases (official source) and it'll install fine.
[Moto G Android Development] Skyfly19:
It's possible to pass the safety net test on the B variant since the last microG update ?

The YASNAC app test freeze after run it and the build in micro g test give integrity check failed.

It's a droidguard issue ? or it's fingerprint issue ? (need to change it with the magisk module ?)
[Moto G Android Development] Doblete_:
any way to have the dark mode?

¿alguna forma de tener el modo oscuro?
[Moto G Android Development] MSe1969:
This ROM has the substratum patch, so you can install the substratum app (you need an older apk version) and a dark theme
[Moto G Android Development] Doblete_:
I had not noticed, but it was installing substratum 👍🏻.

Spoiler content hidden.

Is there a way to hide the root, to be able to use banking applications?

Shamiko module from magisk is not compatible with Android 7.

Spoiler content hidden.
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported April 2022 patches are available for download and via the Updater app.

A. Default LineageOS 14.1 with substratum and microG patch

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20220416-UNOFFICIAL-oms-falcon.zip/download

April 2022 custom build release

System Webview 100.0.4896.58

B. Hardened build with pre-installed microG and F-Droid, patched for substratum

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20220416-UNOFFICIAL-mG-oms-falcon.zip/download

April 2022 custom build release

Bromite Webview updated to 100.0.4896.57

Happy flashing

Regards, M.
[Moto G Android Development] MSe1969:
INFO: Just realized, that probably, one BT patch is mssing - pushing an update within the next hour - sorry for any inconvenience.

EDIT: Done - you can update/download now ().
[Moto G Android Development] phpbb3:
Glad I seen that, was just downloading 👍☺️
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported May 2022 patch (well, only one single patch could be backported - Android N really reaches its end of life, it seems...) are available for download and via the Updater app.

A. Default LineageOS 14.1 with substratum and microG patch

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20220511-UNOFFICIAL-oms-falcon.zip/download

May 2022 custom build release

System Webview 100.0.4896.127

B. Hardened build with pre-installed microG and F-Droid, patched for substratum

https://sourceforge.net/projects/lin14-mgoms/files/falcon/lineage-14.1-20220511-UNOFFICIAL-mG-oms-falcon.zip/download

May 2022 custom build release

Bromite Webview updated to 101.0.4951.53

F-Droid 1.15

Mozilla Location provider 1.5.0

microG 0.2.24.214816-10

Happy flashing

Regards, M.
[Moto G Android Development] :
Thanks a lot for this ROM. Very happy to be able to still use my first smartphone because of it.

Much obliged.
[Moto G Android Development] pankajandhale:
Thank you very Much man

you are doing HOLY WORK !!!!!!!!!!!!

this phone works just because of your work,

using it with Pixel xl props for G-PHOTOS
[Moto G Android Development] phpbb3:
Edit: don't mind me I'm an idiot 😁