yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported January 2024 patches (January 2024 custom build release) are available for download and via the Updater app:

Custom build release 2024-01-01

Cromite Webview 120.0.6099.216

Please note:

Chromium project has officially dropped support for Android 7 (Nougat) in release 120. With the people I work together with and from whom I benefit in regards to still backport patches for cm-14.1 / Android 7 we've found that right now, the code is still compatible and this is so far only a technical setting, which could easily be reverted, so a new build using the 'Cromite' project on Github as a base still supporting Android 7 could be created and added to that build.

Future will show, how long an updated webview can still be provided...

A. Default LineageOS 14.1 with substratum and microG patch

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

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

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

Happy flashing

Regards, M.
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported February 2024 patches (February 2024 custom build release) are available for download and via the Updater app:

Custom build release 2024-02-01

Cromite Webview 121.0.6167.164

microG variant only: AuroraStore 4.4.1

A. Default LineageOS 14.1 with substratum and microG patch

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

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

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

Happy flashing

Regards, M.
[Moto G Android Development] ChrisRM:
Well, that's resurrected my old falcon very cleanly; well done that man!
[Moto G Android Development] AndrejK_:
@MSe1969

Hello, thank you for your work! Does this ROM or kernel support CIFS? I'm trying to mount a USB-Stick attached to my Fritz!Box 3390 with the NAS function switched on.
[Moto G Android Development] MSe1969:
Just checked: CIFS is not enabled in the kernel config for this ROM. It is also not simply done by switching it on. To mount something, the respective binaries/drivers must also be present in Android's Linux core system. Therefore short answer: No.
[Moto G Android Development] AndrejK_:
That's a shame. Thank you for the answer! Do you, by any chance, know of a kernel for this device which supports CIFS?
[Moto G Android Development] LaDrOIdBoy:
Thank you so much for keeping these builds going!! Running really well :giggle:
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported March 2024 patches (March 2024 custom build release) 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-20240311-UNOFFICIAL-oms-falcon.zip/download

Custom build release 2024-03-01

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

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

Custom build release 2024-03-01

IPtables block script (backport from my higher release builds)

I have backported my IPtables block script from my higher release builds: Settings - Data usage - 3-dot menu. When activated, connections to Facebook and Google (with exceptions) are blocked.

Happy flashing

Regards, M.
[Moto G Android Development] Scranalot:
Many thanks again @MSe1969 for the latest update - with regards to the:

Can you point me to its location please & will it conflict with +AFWall which I use with this device? :unsure:
[Moto G Android Development] MSe1969:
As mentioned: Settings - Data usage - '3-dot' menu (only available in the 'microG' flavor)

In regards to potential conflicts with AFWall+ - a couple of comments:

If you don't switch on "my" script, obviously, no conflict with AFWall+ :cool:

My script makes use of the empty oem_out chain in the standard Android iptables setup - it flushes and reuses that chain

only

.

If you use AFWall+ only to allow/disallow apps per connection type

without

a "custom script", there won't be any conflicts either (in that case however, LineageOS offers you that functionality already out of the box, but not in a nice "all apps" view, but as a per app entry in the apps settings)

If you use a custom script, and you would like to keep using it, better don't enable my script !

In regards to AFWall+ custom scripts:

It's not a good idea to just store it in internal memory, as every app being able to access the internal memory (which in Android 7 I assume is almost every app) can now edit the script running in root context to add further commands - big security gap! So if you use an AFWall custom script, put it within a root sheel somewhere into an own dir under /data to hide it from all other apps

There are some docs out suggesting to let the AFWall+ custom script just entirely purge every iptables rules and start from scratch - not a good idea either! "Somehow" works with Android 7 if you disable IPv6, but better don't touch the Android 7 default setup, rather use the foreseen oem_out chain
[Moto G Android Development] Scranalot:
Thanks for the response @MSe1969

Yes seen that - I was really referring to where the actual script was - but you have gone on to explain (y)

No I don't use any AFWall+ custom script & well you live & learn:

I didn't realise this :oops: - well that can simplify things a bit I can remove AFWall+ & remove root to boot!

Cheers ;)
[Moto G Android Development] MSe1969:
If you would like to see the contents of the script, see here - it is located in /system/bin on your phone.
[Moto G Android Development] Bec de Xorbin:
That script was enabled by default and when I disabled it, it was enabled again when I rebooted. Is it possible to fix this behaviour in the next release? Thank you for otherwise a very nice ROM!
[Moto G Android Development] MSe1969:
Thanks for the hint, will have a closer look over the weekend

Edit: I could not reproduce your observation. The setting survives a reboot.
[Moto G Android Development] Bec de Xorbin:
Okay, thanks for testing it. For some reason it's always enabled for me after reboot and I have to manually disable it each time.
[Moto G Android Development] MSe1969:
The setting is stored in a system property. Did you maybe flash anything on top of my build ?
[Moto G Android Development] Bec de Xorbin:
No I haven't. I have only clean-installed February build and then later updated to March build.
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with back-ported April 2024 patches (April 2024 custom build release) are available for download and via the Updater app:

Custom build release 2024-04-01

A. Default LineageOS 14.1 with substratum and microG patch

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

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

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

Happy flashing

Regards, M.
[Moto G Android Development] MSe1969:
I have tested again with my other falcon device - same story, the setting survives a reboot. Only observation I made was, that when the feature is introduced the very first time through an update, the setting wrongly shows the feature being "enabled", but switching it off and then on activates the property (and off again switches it off).

The system property itself is stored in the file below:

/data/property/persist.privacy.iptab_blk

The property file has either value 1 for the blocking enabled or 0 for disabled.

From a root shell via adb, you can also disable the blocking with the below command

setprop persist.privacy.iptab_blk 0

As explained before: Besides the wrongly shown default value after an update introduces the new functionality, I can't reproduce your issue.

You also haven't Magisk in use?
[Moto G Android Development] Bec de Xorbin:
Thanks for the detailed answer. No I don't have Magisk. But this is not a big deal and since it seems that only my device is affected I'll try to sort it out somehow on my side. Thanks again!
[Moto G Android Development] Calceus:
Hey guys i just recently found my old moto g and tought i will try to resurrect it.

Everything went well and managed to do everything and lineage os 14.1 runs fine.

My only issue is that when i connect to my wifi it says connected but no internet

even tough the basic browser works on it, for some reason other browsers do not work.

Do all of you have the same issue ? Or do you know a fix for this?

Rebooting does not help and forgetting the wifi is the same.

If you can help thx in advance !
[Moto G Android Development] MSe1969:
This issue is not known - do you use any VPN or other firewall software? Does it work with mobile data? Have you flashed any stuff in addition?
[Moto G Android Development] Calceus:
i am not using any VPN and i installed lineage os with microG and F-droid it was the latest version that came out in april 12. i cannot test mobile data

this is how it looks like it's conected but says no internet connection but the basic browser still works only other browsers do not work or most other apps that use the internet for example vimusic does not work but newpipe does play youtube videos and downloading apk works too so i am not sure what causes this
[Moto G Android Development] MSe1969:
Please try two things:

1. As you do not seem to have a SIM card inserted, please make sure your date and time is manually set accurately (common source of WiFi issues)

2. Go to Settings => Data usage and pick the '3 dot menu' - deactivate, activate, deactivate the "iptables block script" setting and then set it to your desired value
[Moto G Android Development] Calceus:
WOW thx it actually worked now everything is as it should be even the oficial youtube app is working

thank you again for your help ***** advice
[Moto G Android Development] Kill Face:
Sorry for being noob... Is this still the best option for the old Moto G?

Do I still just follow the instructions at the top of the thread? Or do they get updated as the thread develops?

Thank you!
[Moto G Android Development] MSe1969:
In my opinion yes (as I am providing the ROM, my opinion may however not be considered "neutral") - if you want a stable daily-driver capable build. And I usually update the OP. So yes, follow them - read carefully at least once before doing anything.
[Moto G Android Development] Kill Face:
All seems to work!

I'm getting the 'no internet' (but working) issue reported above... but it's working. Just looking how to remove the TWRP app I accidentally added during recovery ... All good!

Amazing to have this phone actually usable again ;-)
[Moto G Android Development] Kill Face:
For some reason I can't access recovery any more. When I try `fastboot reboot recovery` it just boots. Similarly, from recovery, 'barcodes' just turns the phone off.. adb reboot fastboot also just reboots... I can access fastboot the old fashioned way...
[Moto G Android Development] Kill Face:
I'm guessing the problem is that I clicked 'protect' within TWRP, and that probably caused some problems. I'll search the thread for solutions.
[Moto G Android Development] Kill Face:
Step 1 got recovery back for me. I had tried this but not 'recovery with buttons' as above. I removed the TWRP app using the file system (deleted `/system/priv-app/twrpapp`). For good measure I used TWRP to flash the zip again, but it didn't stick...
[Moto G Android Development] Kill Face:
One annoyance is that https://f-droid.org/en/packages/net.kollnig.missioncontrol.fdroid/ tells me 'Device not supported' ... it was working on 'stock' ROM, which is weird.

I'm guessing this is an issue with that app? Could it be related to the ''no internet'' issue? (Internet is working fine apparently).
[Moto G Android Development] vjay15:
1.) The date and time are correct

2.) This doesn't fix the issue either, i deactivated, activated and deactivated that option, and i dont understand the set it to your desired value, where can i set it? i think this happened due to the recent update.

The internet works fine for some applications like soundcloud and browser but does not work for innertune, last.fm,newpipe's youtube section.

Edit: works fine now! This is the step i followed for anyone who is trying to fix this as well!

1) Do what @mseagh has said

2) Reset network settings (Under wireless and networks section More -> Network settings reset -> reset settings)

3) Connect with your wifi back!
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with back-ported May 2024 patches (May 2024 custom build release) are available for download and via the Updater app:

Custom build release 2024-05-01

Kernel patches

A. Default LineageOS 14.1 with substratum and microG patch

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

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

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

Security considerations in regards to Webview

The Chromium project has stopped the support for Android 7 as of release 120. We've been able to provide backported versions of Cromite up to release 121, which is still shipped with this release.

The Chromium main release is meanwhile 125, therefore, the Webview component cannot be considered up to date and secure any longer. Usually, apps making use of Webview connect to their own servers, so the main risk in fact are browsers based on Webview (e.g. the shipped Jelly browser), which therefore should only be used to visit "trustworthy" sites. As a risk mitigation, I recommend to install and use the Firefox for Android browser.

Happy flashing

Regards, M.
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with back-ported June 2024 patches (June 2024 custom build release) 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-20240620-UNOFFICIAL-oms-falcon.zip/download

Custom build release 2024-06-01

Many kernel patches

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

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

Custom build release 2024-06-01

Many kernel patches

GmsCore & companion v0.3.2.240913

AuroraStore 4.5.1

Security considerations in regards to Webview

The Chromium project has stopped the support for Android 7 as of release 120. We've been able to provide backported versions of Cromite up to release 121, which is still shipped with this release.

The Chromium main release is meanwhile 126, therefore, the Webview component cannot be considered up to date and secure any longer. Usually, apps making use of Webview connect to their own servers, so the main risk in fact are browsers based on Webview (e.g. the shipped Jelly browser), which therefore should only be used to visit "trustworthy" sites. As a risk mitigation, I recommend to install and use the Firefox for Android browser.

Happy flashing

Regards, M.
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with back-ported July 2024 patches (July 2024 custom build release) 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-20240719-UNOFFICIAL-oms-falcon.zip/download

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

https://sourceforge.net/projects/li...0240719-UNOFFICIAL-mG-oms-falcon.zip/download

Security considerations in regards to Webview

The Chromium project has stopped the support for Android 7 as of release 120. We've been able to provide backported versions of Cromite up to release 121, which is still shipped with this release.

The Chromium main release is meanwhile 126, therefore, the Webview component cannot be considered up to date and secure any longer. Usually, apps making use of Webview connect to their own servers, so the main risk in fact are browsers based on Webview (e.g. the shipped Jelly browser), which therefore should only be used to visit "trustworthy" sites. As a risk mitigation, I recommend to install and use the Firefox for Android browser.

Happy flashing

Regards, M.
[Moto G Android Development] jemail:
This hang after clicking Agree is a bug with Bromite Webview. Check out the NanoDroid thread on Xda for some other reports about this problem.
[Moto G Android Development] Scranalot:
Apparently not specifically a Bromite webview issue:

https://xdaforums.com/showpost.php?p=79493508&postcount=6264

It hasn't been an issue for me as I was already on the B. variant April release (which presumably came with an earlier webview version?) & logged into google on that release & it was simply a 'dirty' flash to the May release (though I did have to reinstall the sync adapters https://xdaforums.com/showpost.php?p=79497963&postcount=78:rolleyes:)

An option maybe peelie to flash the B. variant April release - setup your google account then simply a 'dirty' flash to the May release?
[Moto G Android Development] ashutoshmn:
For those who can't add google account from microg (stuck at I agree screen) in the latest May Build, install webview v73 from here following any method given on the page:

Bromite Webview Github Repo

Use this workaround until marvin releases a new build for microg.

Also, if you are flashing Build A (non-hardened), install fakestore app from official microg download page and give it signature spoofing permission from settings -> apps -> cog icon (top right) -> app permissions -> spoof package signature. This will make Vanced Youtube work with the official microg app.
[Moto G Android Development] peelie:
thanks for the pointers everyone;

i decided to try non-google calendars and contacts (using nextcloud) seems to work fine at the moment!
[Moto G Android Development] lapikaki:
hey this app is from substratum right?

proyekt.interfacer

because is consuming data in background, that is weird.
[Moto G Android Development] MSe1969:
Yes, projekt.interfacer is the pre-installed Substratum/OMS interface. As announced in the OP, I am not a Substratum expert, so I unfortunately cannot really give any meaningful explanation.

But as you can see here, the app itself does not declare the INTERNET permission or any network permisisons. Maybe the information you have obtained is somehow misleading in a way, that a theme, which you are using, in fact uses data but your source of information/log somehow points to this app?
[Moto G Android Development] lapikaki:
I don't use themes

[
[Moto G Android Development] MSe1969:
I don't see any data usage of that app on my end.

One question: You wrote a "y" in 'projekt.interfacer' - was that just a typo on your end or is the app you are wondering about really written like that?

If the latter, you may want to delete it, because then this seems a fake app.
[Moto G Android Development] lapikaki:
my fault. sound the same to me
[Moto G Android Development] MSe1969:
NP - just wanted to be sure.

OK, as indicated, the code of the Theme interfacer app does not foresee data connections and on my side, I do not see any data usage for this app.

Which is the information, which told you that this app would use data?
[Moto G Android Development] lapikaki:
config>data usage>android os ; is related with the theme interface and other applications.

this is weird.
[Moto G Android Development] MSe1969:
Okay, now I know what you mean. :)

The data usage functionality uses the 'uid' of each app on the Linux layer for its analysis. Whilst non-privileged apps have their own uid, many privileged apps run under uid 1000 aka 'system'. ThemeInterfacer is amongst those. The category "Android OS" in Data usage shows the data usage of uid 1000. Since in that case, it is not possible to say which of the uid 1000 apps realy has used how much data, those apps are just listed.
[Moto G Android Development] samucacsm:
Can't install substratum app from play store. Searched it in apkmirror and the latest apk requires oreo or above. Then I looked for an older version. Installed it and after trying to apply a theme, it returns an error.
[Moto G Android Development] AaronVey22:
w h y m u s t w e s u f f e r
[Moto G Android Development] MSe1969:
Going for an older version was the right thing to do, as Nougat support seems to have been dropped. Further issues with substratum should be asked, as advised in the OP, in the respective substratum support forums here in XDA, as I am no expert here.

Please be more specific, when you ask there - "returns an error" is quite unspecific.
[Moto G Android Development] jemail:
You will receive more help if you post this error in the substratum forum. The OP did not create substratum but kindly added it to his custom ROMs for falcon and osprey after requests from forum members.
[Moto G Android Development] RahulSeen:
Grant storage permission to substratum
[Moto G Android Development] ChristianWS:
Pretty stupid question, but can I flash a Patched Play Store on the B Variant? I'm new to MicroG and I'm basically only doing it because it, supposedly, uses less RAM.

EDIT: Nevermind, I'm stupid and can't read, I've found out about the "I Agree" bug.
[Moto G Android Development] MSe1969:
There are no 'stupid questions' :)

Well, the variant B has some hardening, which may not really be compatible with the genuine Gapps, even if you manage to work around the SetupWizard (and right now the Webview M74 issue).

In general, microG is the approach of choice, if you in fact aren't really interested in Google and *only* want to:

a. use apps, which refuse to work on e.g. a "naked" AOSP ROM or LineageOS w/o Gapps

b. receive push messages

c. have coarse location functionality

For most G* functionality, there are good alternatives available (including contacts sync, download from playstore, YT, navigation app, ...).

Partly, there are tricks and apps (e.g. shadow53's stuff) to also directly interact with G* (I.e. you want to use your G* account), but microG cannot 100% replace the full scope of the Gapps, which is also not intended, especially because there are many unwanted features, G* forces on their users...
[Moto G Android Development] ChristianWS:
I managed to use the Play Store on the Variant B, my problem was that I was looking for the wrong folder in order to fix the WebViewer74 issue, plus it only worked when I used TWRP to fix it.

It seems to be working fine.... for now, I will need to give it time to see if I miss some feature from google, but for now, it works
[Moto G Android Development] windertal:
NO SIM

My phone does not have a signal, it only takes one SIM card, all the others do not read them, even that of its originating operator
[Moto G Android Development] MSe1969:
Not sure I got your point/issue:

You have different SIM cards and only one of them can be read by your phone? Or what is your issue?
[Moto G Android Development] windertal:
Exact, Just read one, the others do not, but you can repair it with a piece of paper, which pushes the sim
[Moto G Android Development] MSe1969:
Ok, so you have a work-around - there is nothing I can do, this is a "mechanical" isue: either your SIM cards are worn (scratches of mechanical contact too deep) and/or the contacts in the SIM slot are worn or bent too much.

Replacing SIM cards with brand new one maybe helps, or your "paper trick"