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

Hi all,

new builds with backported June 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-20220616-UNOFFICIAL-oms-falcon.zip/download

June 2022 custom build release

System Webview 102.0.5005.78

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

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

June 2022 custom build release

Bromite Webview updated to 102.0.5005.96

F-Droid 1.15.2

microG 0.2.24.214816-11

Happy flashing

Regards, M.
[Moto G Android Development] nefescalanadam:
Good work 👍 btw do u have any plan for lineage 18.1 or 19 porting to falcon?
[Moto G Android Development] MSe1969:
No. Kindly refer to the OP, where I have given an explanation.
[Moto G Android Development] JuanVCS:
Apps keep getting more resource intensive, good ol' falcon can barely keep up... But it still does, thanks to MSe1969 efforts!
[Moto G Android Development] nefescalanadam:
oh i get it, my old moto g has in Lineage os 17.1 right now and only problem is SELinux is permissive.
[Moto G Android Development] pankajandhale:
OTA Updated yesterday And now phone is fully dead ,

no Bootloader , no recovery, not charging.

if anyone have solution ,please suggest !!!!!

Thanks in advance !!!!!
[Moto G Android Development] MSe1969:
I have tested both variants f. OTA - not sure, what caused the hard-brick to your device.

Tbh, I can only recommend you to search on XDA and the search engine of your choice for methods to unbrick a hard-bricked Moto G. A quick search has delivered to me some hits, but I can't give you a recommendation for any approach. Maybe others would like to step in?

In general, the falcon is an aged (almost 10 years now) low budget device, e.g. the "internal flash memory" is only a recrafted SD card. Maybe its time simply has come...? Of course, before giving up, try to unbrick somehow...

Sorry, that I can't give you any better advice, but a true hard-brick as described by you with NO reaction at all does not belong to my experience ...
[Moto G Android Development] pankajandhale:
Hey man thanks for reply ,

Tried all the Methods > No Luck .

then at last opened the phone and checked the battery voltage it was 2.8 V , and my fastboot oem-off-mode was set to 0 thats why phone was not charging nor booting .

Jump-charged the battery for 15 minutes and then tried to boot in fasstboot !!!!!!!!!!!!!!!!!!

My Lovely Moto rose from dead !!!!!

thank you very much for your efforts to keep this Device alive .

one last thing Whenever I try to do > fastboot oem-off-mode 1

it gives > slot-count not found .

any suggestion ?
[Moto G Android Development] MSe1969:
Glad you reanimated your phone :)

Just to understand: So you put charge directly to the battery, right?

Unfortunately, I am not familiar with the undocumented oem-specific fastboot commands. If I understood you right, the oem off-mode would cause the battery not being charged??? I am not sure about that - I think there is a setting to leave the screen black during charging, but not to "not load" the battery... However, as said - I am not really familiar with the hidden fastboot commands. But I would expect that the command is 'fastboot oem <special command>', hence 'fastboot oem off-mode ...' - and AFAIK, there is only a command like 'fastboot oem off-mode-charging ...' - Just my thoughts...
[Moto G Android Development] pankajandhale:
fastboot oem off-mode-charge (takes "0" and "1" as an argument ).

if I connect charger to switched off phone , following functions can be achieved

"fastboot oem off-mode-charge 0" >>> will keep my phone switched off while charging when usb is connected

"fastboot oem off-mode-charge 1" >>> will power on phone as soon as phone is connected (as power button of my phone is little hard this trick helps me to power on my phone )

anyways thank you and please keep developing for this phone until possible :):):)
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported July 2022 patches (July 2022 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-20220716-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-20220716-UNOFFICIAL-mG-oms-falcon.zip/download

Happy flashing

Regards, M.
[Moto G Android Development] amlethh:
Thank you so much for keeping the Falcon alive! I have 3 strong units and intend to use them till the dawn of time. Lately I have been facing one issue though: some apps are starting to drop support for Android 7. One example is Slack, the last versions all require Android 8+ and they are sending emails telling this for everyone who has an older version installed:

As we all know, our beloved Falcon can't handle Android 8 or up because of hardware constraints. However, is there a way to spoof the Android version so it appears we are on Android 8 or up while still being on the current build?

That is, is there a way to spoof Android version on MSe1969's LineageOS Falcon build?

Regards.
[Moto G Android Development] MSe1969:
Unfortunately not. This is not about "spoofing". An Android app declares a "minimum SDK" level, which is the lowest Android version supported. By doing so, the developer is limited to those functionalities, which are available in that release. Any attempt of using a method or a class or simply a method parameter, which does not exist in the minimum SDK hence causes a build error, when compiling the app.

So the desire to use new cool features of a newer Android release has to be balanced against the user base. Slack has decided to "move on" it seems...

In addition, there is also the "target SDK" topic adding complexity to this, but let's talk about that another time...
[Moto G Android Development] amlethh:
That is a sad situation but as users we must understand developers reasons. Still, could it be that in some cases the app requiring a higher SDK is unnecessarily doing so? I found this post on another forum from some months ago:

So far this is the only app that's limiting my Falcon experience, so it'd be really good if there were a workaround...

Thanks!
[Moto G Android Development] phpbb3:
Sometimes, alternative apps can be an option too. The newest release of Plex crashes on my falcons, so I've moved to BubbleUPnP to read my music off my Plex server. Maybe not an option for Slack but something to keep in mind.
[Moto G Android Development] MSe1969:
Technically, a developer can of course use code fully suitable for Android version Y, but declare the minimum SDK level to be Y+n - would be not really be the smartest move at all, but that is technically possible. (Further, I know that Google forces app developers to frequently increase the

target

SDK declaration to the defined minimum for apps in the play store - not sure however about the

minimum

SDK level declaration...?)

So if you find some "good stuff" helping you to spoof the Android version (like an Xposed module?) or you succeed in modifying the apk manifest to allow Android 7 in the Slack apk file via e.g. apktool and the apk does not crash, there you go. But frankly, that is nothing, I am willing to spend time with in my ROM builds. (e.g. because this is also kind of a security/stability feature to ensure, that the system does not crash and freeze)
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported August 2022 patches (August 2022 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-20220809-UNOFFICIAL-oms-falcon.zip/download

System Webview 103.0.5060.71

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

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

Bromite Webview 103.0.5060.140

Happy flashing

Regards, M.
[Moto G Android Development] CallMeTom1:
After updating via the updater app, I stuck in fastboot mode. I can no longer boot the system ("boot up failed"). The recovery/TWRP still works. I have already tried in TWRP to reflash the zip file but without success. Does anyone have an idea?
[Moto G Android Development] Scranalot:
Hello Tom

Was the phone working satisfactorily before the update?

Your phone isn't full up with data is it?

What ever you do from now though firstly I would try & extract as much data that you would want to keep from the phone as possible.

Got a few of suggestions you may want to try - please read through them all first though:

If have you a recent Nandroid backup on your phone/OTG device/via adb you could try a backup restore

Its possible the update was corrupted in some way so if possible download a new copy of the ROM & get it onto your phone & try re-flashing that.

Have a look here: https://xdaforums.com/t/fastboot-reason-fall-through-from-normal-boot-mode.4052109/ - in particular the second post in that thread. If you do decide to go down the factory image restore route take a look here as I had to do it fairly recently: https://xdaforums.com/t/rom-lineageos-14-1-substratum-for-moto-g-falcon.3808428/post-86161955

Please bare in mind Tom these are only my suggestions - I am not telling you to do any of these that is entirely your own choice & responsibility - that being said I have done all the above , with the exception of the 'fall-through from normal boot mode' specific things mentioned in the first link, during my ownership of the these phones.

Someone else will hopefully chime in with a knowledgeable response.

All the best
[Moto G Android Development] MSe1969:
I think, what @Scranalot replied to you pretty well lists your options here.

Maybe an additional thought, just to be sure - please advise:

You were using this ROM normally before without any issue, correct?

You haven't flashed anything on top recently, which has e.g. put some kind of "survival script" attempting to reflash something?

The phone wasn't already somehow "messed up" before the update (e.g. by flashing bad stuff) and you were hoping to "repair" the mess by applying an update?
[Moto G Android Development] CallMeTom1:
@Scranalot @MSe1969

Hi! Thanks for your replies and sorry for my late reply.

The Moto G is my second phone. I use it to control my Bluetooth box and for navigation (since BT and GPS work rather poorly on my main phone). Everything worked fine before the update (it was all a bit slow, but the smartphone is old) and I only did the update/dirty flash.

Meanwhile it works again (more or less). I did a full wipe and reinstalled the ROM (without full wipe it didn't work before).

I can not install Gapps for some reason (Error Code 70), but here I will also find a solution.
[Moto G Android Development] MSe1969:
Which flavor of Gapps did you try to install? The falcon does not have a lot of space in the system partition, so 'nano' is the largest, you should aim for (I recommend - if you really want Gapps - only the 'pico' flavor)
[Moto G Android Development] CallMeTom1:
I have tried nano. There the error occurred.

With pico it worked, thank you.
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported September 2022 patches (September 2022 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-20220911-UNOFFICIAL-oms-falcon.zip/download

Custom build release 2022-09-01

System Webview 105.0.5195.79

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-20220911-UNOFFICIAL-mG-oms-falcon.zip/download

Custom build release 2022-09-01

Bromite Webview 104.0.5112.91

Many kernel patches

microG 0.2.24.214816-30

Happy flashing

Regards, M.
[Moto G Android Development] zagzag99:
Thank you for this contribution and maintenance of this device.

In turns out falcon got preserved better than my two Nexus 4 by LG and performs like my Nexus 5.

All thanks to xda contributors. Much better than the future I see for my mich newer devices.
[Moto G Android Development] MSe1969:
Well, the only backdraw is, that the Moto G is a 3G device and 3G (aka UMTS) is being retired in more and more networks around the world (in some areas, even 2G is being restricted), which slowly but surely renders this old phone into a 'special use only' device . . .
[Moto G Android Development] phoenixmet:
Hello MSe1969, I have a question, do you think the kernel can be patched to support idle mode for battery charging? :unsure:
[Moto G Android Development] MSe1969:
Tbh, I have no idea, but I'd tend to say "no". It's an old 3.4 kernel - would you have some reference implementation, i.e. an android kernel 3.4 (or 3.10) source with the specific commits? Then I could have a look...

Further, besides the kernel, would this also require further components to trigger that mode?
[Moto G Android Development] phoenixmet:
This is the source what I mean https://github.com/VR-25/acc/

I know that in moto g4 play it has it in stock, this allows that when connecting the phone to the charger when it reaches a certain limit the battery is not discharged and works directly from the charger
[Moto G Android Development] Guttergorm:
@phoenixmet I use Battery Charge Limit (foss) to achieve this.
[Moto G Android Development] phoenixmet:
I have also used it but it is not the same mechanism. when the kernel allows the idle mode with acc you can leave the charger connected as if it didn't have a battery
[Moto G Android Development] Guttergorm:
@phoenixmet Seems I do not get the difference, any direction you can point me to?
[Moto G Android Development] MSe1969:
So what exactly is your issue here?

a. You would like to use above shell script solution - so you have flashed/installed it on your Moto G, and have applied a root solution, but it still does not work for whatever reason?

b. The 'acc' stuff works, but you like the idea, that somebody should reverse-engineer the shell scripts in bash language to understand, where in the millions of C code lines of the kernel this would have to be coded directly in C language to get the same functionality?

Well, in both cases, I am afraid that I can't help. The only thing, which I could do, is trying to pick the respective commits from an existing kernel source, if somebody points me to the respective

kernel source

(a Linux kernel tree)

and the respective commits

implementing this.
[Moto G Android Development] askermk2000:
The difference is that, normally the power is shared with the battery, it always wants to charge it. When it stops charging for whatever reason, it starts to drain the battery again.

Idle mode purportedly makes it so that the battery is left alone. No touchy!
[Moto G Android Development] phoenixmet:
The acc works well, only the idle mode (stay on without charging the battery) is what does not work, but well I do not know much of that only that it is part of some kernels
[Moto G Android Development] phoenixmet:
Have anyone tried to use remodroid? I have installed it on the moto g falcon and peregrine and when trying to allow another phone to connect remotely, the moto g freezes and restarts
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported October 2022 patches (October 2022 custom build release) are available for download and via the Updater app.

Two remarks:

- Not very many patches were backportable

- With the applied WiFi patches, I gained the impression, that the WiFi outages have improved, but they still occur

A. Default LineageOS 14.1 with substratum and microG patch

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

Custom build release 2022-10-01

System Webview 106.0.5249.79

Kernel: Some WiFi 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-20221017-UNOFFICIAL-mG-oms-falcon.zip/download

Custom build release 2022-10-01

Bromite Webview 105.0.5195.147

microG 0.2.24.223616-61

Kernel: Some WiFi patches

Happy flashing

Regards, M.
[Moto G Android Development] ceroberoz:
as always, thanks for maintaining this rom.

I still use Moto G Falcon as secondary device, mainly I use it as DAC.
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported November 2022 patches (November 2022 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/li...1-20221114-UNOFFICIAL-oms-falcon.zip/download

Custom build release 2022-11-01

System Webview 107.0.5304.105

Timezone DB 2022 updates

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

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

Custom build release 2022-11-01

Bromite Webview 106.0.5249.163

microG 0.2.25.223616-10

F-Droid 1.15.3

Timezone DB 2022 updates

Happy flashing

Regards, M.
[Moto G Android Development] ErebosGR:
With the November update, the WiFi outages have been eliminated completely!

Thank you for your relentless work!
[Moto G Android Development] Scranalot:
Many thanks @ MSe1969 for the latest update & your continued support for this device - as I've said before it is much appreciated.(y)
[Moto G Android Development] phpbb3:
All still good on my 8gb and 16gb variant. I did not experience any wifi issue before, so I can not speak to this.

Thank you for your continued support, I still use these repurposed devices on a regular basis for wifi and Bluetooth connections.

This month marks 9 years of updates for falcon, between OEM and custom development, having been GA November 2013.

How many devices have that under their belt? 😁
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported December 2022 patches (November 2022 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-20221214-UNOFFICIAL-oms-falcon.zip/download

Custom build release 2022-12-01

System Webview 108.0.5359.79

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

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

Custom build release 2022-12-01

Bromite Webview 108.0.5359.106

microG 0.2.26.223616-2

Happy flashing

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

Hi all,

new builds with backported January 2023 patches (January 2023 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-20230108-UNOFFICIAL-oms-falcon.zip/download

Custom build release 2023-01-01

System Webview 108.0.5359.128

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

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

Custom build release 2023-01-01

microG 0.2.26.223616-16

Happy flashing

Regards, M.
[Moto G Android Development] Bludwurst:
As always, thank you for your work~

Long live the Moto G Falcon!

My daily driver died and I can't afford a new phone at this time; amazing how this little battlehorse still got life in it~

Just wondering if it would be possible to add a way to disable animations? (or if there's any already built-in, point me to it because I can't find it)

Even if not, your work is always appreciated. Thank you again~
[Moto G Android Development] zagzag99:
I don't have the phone Infront of me right now, but if you'd turn on developer tools you can control the animation speed and time and set it to 0, which will disable animations.

It's like this in all ROMs

To turn dev tools, go to settings -> about phone (might be tucked under system info. Find the Build version and tap it 5 times until it tells you developer tools are enabled

Then in settings -> system you'd find developer tools and in them 3 setting about animation speed and timing. By default set to x1, reduce them to speed up animations, or 0 to disable them completely.
[Moto G Android Development] nicklaukk:
which Gapps i can use that wont give me the system updating issue on startup?
[Moto G Android Development] MSe1969:
For the Falcon device, use build Variant A of this ROM. For Gapps, take from opengapps.org Platform: ARM, Android: 7.1, Variant: pico
[Moto G Android Development] akku1:
Thankyou.. i was using the official lollipop stock rom and it was terribly laggy and slow. Gave this rom a try and now the phone works great. Thanks a lot

Long live MotoG
[Moto G Android Development] MSe1969:
New builds available

Hi all,

new builds with backported February 2023 patches (February 2023 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-20230220-UNOFFICIAL-oms-falcon.zip/download

Custom build release 2023-02-01

System Webview 109.0.5414.118

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

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

Custom build release 2023-02-01

microG 0.2.27.223616-3

Happy flashing

Regards, M.
[Moto G Android Development] giofrida:
I'm having a problem connecting the phone to a PC via USB. On Windows 7 the device appears as XT1032 but looks empty, on Windows 10 it just says USB device not recognized. I followed path A; USB configuration in developer options is set to MTP, though it seems that I'm unable to change it to anything else. Anyone know why this occurs?
[Moto G Android Development] MSe1969:
Just to be sure (in order to exclude a user error): The default behavior of Android is, that a freshly connected device is always in charge only mode. You need to "pull down" on your unlocked device a message, on which you click to change the USB mode from charge only to e.g. file transfer. Once done, you should see the folders and files in Windows.
[Moto G Android Development] giofrida:
I was expecting to see a notification on the phone to select the USB behavior but nothing appears. The phone doesn't even charge.

I just tried with a fresh installation of Windows 10 in place of Windows 7 on the laptop and it works. The phone doesn't say anything but Windows silently lists an XT1032 device and I can see all the folders. It must have something to do with the USB ports on the PC side, sorry for the trouble.
[Moto G Android Development] lillo9546:
@MSe1969

Thanks so much for your work for this device.

I'm looking for the fastest/lightest ROM for moto g falcon. Is this the right pick?

I do have yet microg LOS like Rom on another device, and I am aware it wont sync with google services ofc.

Would be the moto g falcon so slow if we will install the minimal gapps version, vs if we have just microg?

I just need to sync Contacts, Calendar with google