yashsingh1/xdaforums huggingface dataset:
[Moto G Android Development] MSe1969:
Hi,

"error 7" can have multiple reasons, please check the following points (my personal guess is the 1st one):

I assume you would like to "dirty-flash" this ROM over your existing? Did you check Post #4 from this thread and the link on the LIneageOS wiki?

Update to the lastest TWRP version (link see OP)

Check the downloaded ZIP and its md5 hash (maybe the file got corrupted during download)?

Regards, M.
[Moto G Android Development] DoppelgängerGER:
Got the latest version on my Moto G. Yes, I like to "dirty-flash" this rom over the existing LineageOS. I don't know what to do wih the LIneageOS wiki.

Will DL the zip again and test it again.
[Moto G Android Development] MSe1969:
Your issue is, as now confirmed by you, that official LineageOS builds are signed with a LineageOS key, whilst my unofficial build is signed with the default test key. TWRP stops in that case, because this does not work!

You have two possibilities, how to overcome this:

A. You perform a full wipe (you could backup your apps and their data with e.g. Titanium Backup or via adb's backup feature, before wiping everything - so after flashing the ROM, you get back almost everything) - this is what I recommend.

B. As explained in the LineageOS wiki, there is a key migration script, which you would need to run in recovery mode, which would convert the keys of your installation. If you follow that path, you need to understand, what you are doing. It's no rocket science, but you can screw your installation and end up in doing a full wipe as only option.

After that conversion exercise, all future updates will be very easy.
[Moto G Android Development] DoppelgängerGER:
It is working now, Full Wipe has solved the problem. Thanks again for your help!
[Moto G Android Development] jajk:
[MENTION=7929484]MSe1969[/MENTION] My XT1033 running on your latest ROM reboots after some time when WiFi Hotspot is enabled. There appears to be a memory leak that consumes all free memory causing the reboot. This is not a new problem - it has been present for quite some time. Is it just me or is there a fix for this?

---------- Post added at 07:00 PM ---------- Previous post was at 07:00 PM ----------

[/COLOR [MENTION=7929484]MSe1969[/MENTION] My XT1033 running on your latest ROM reboots after some time when WiFi Hotspot is enabled. There appears to be a memory leak that consumes all free memory causing the reboot. This is not a new problem - it has been present for quite some time. Is it just me or is there a fix for this?
[Moto G Android Development] MSe1969:
Need to spend some time trying to reproduce the issue, to see if it's a general problem. If I can reproduce, I can't promise to solve it - I am mainly maintaining the ROM, not able to play around with the device config in a meaningful way, so unless somebody points me to a commit in a different ROM, I see no ways...
[Moto G Android Development] jajk:
[MENTION=7929484]MSe1969[/MENTION] It is easy to reproduce: just enable WiFi Hotspot and open up something like CPU-Z and watch the memory start dropping slowly but surely. It take a couple of hours for it to reboot so it is not a huge problem and I think it pre-dates your builds.
[Moto G Android Development] Scranalot:
Yes I agree Signal on the face of it is a definite improvement over WA however it all seems a little "too good to be true" - what with being endorsed by this, that & the other. While it is EE2E security & it is open source - it is centralised through their servers over which the company has a monopoly & total control & being as they made the product/code its entirely possible that they could be able to 'access' content 'if required'. You have to register with your phone number too, although there are workarounds where you don't have too, if somewhat convoluted.

Silence uses the old Text Secure/Signal protocol & although it uses your phone number there are no servers involved, other than the phone company's message centre, & they & the app are mutually exclusive. I understand that there are some issues with MMS but I very rarely use them (cost - email is free :D). Everything encrypted on the users phone is good & I do like it & of all that I mention in this post I think this app is the one I am most likely to have success getting people to use.

Having said all this I am very impressed with Briar - it appears, in my brief experience, to be at least as reliable as S‎ilence, as you pointed out yourself jemail it can be used without a SIM card too & think it is probably a better all-round solution for text messaging. Haven't tried group messaging yet & the developer(s) are looking at transmitting files too.

I like Conversations, despite the caveats I mentioned, & I believe that the developer, Daniel Gultsch, is looking to integrate some kind of Jitsi implementation into his project (from his YouTube videos & looking at his [MENTION=4774132]SIAC[/MENTION]s.eu xmpp forum).

Video/ voice calling wasn't originally what I was looking at but I am warming to the idea so I may take a look at Jitsi.

I've also never run my own server but may look into that too :good:

While I 'have nothing too hide' I just object to being manipulate & essentially 'farmed' by certain providers - that's why I wont go on WA. :rolleyes:
[Moto G Android Development] Drdeca:
Hi. I also had some random reboots, but don't know by what it was caused.
[Moto G Android Development] MSe1969:
New builds with October ASB

Hi all,

new builds are available for download with ASB Security String 2019-10-05:

A. Default LineageOS 14.1 with substratum and microG patch

https://www.androidfilehost.com/?fid=1899786940962609948

- System Webview updated to 77.0.3865.92

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

https://www.androidfilehost.com/?fid=1899786940962609947

- Bromite Webview updated to 77.0.3865.104

- AuroraStore updated to 3.1.3

If you are at least on the August build of this ROM, the updater app will - later today - also offer an OTA update.

Regards, M.
[Moto G Android Development] ChrisRM:
The Falcon just keeps on going...

OTA update of hardened version just updated, and runs. How it should be.

Thanks, M!

---------- Post added at 10:43 PM ---------- Previous post was at 10:35 PM ----------

OTA update of hardened version just updated, and runs. How it should be.

Thanks, M!
[Moto G Android Development] Scranalot:
Installed the latest (October) update - B variant - via OTA earlier this evening.

All purring away nicely with no issues for me, including Hotspot :good:

Many thanks once again MSe1969 for maintaining & providing this splendid ROM :)
[Moto G Android Development] Scranalot:
Be Aware - Micro-g Service Core update

Afternoon All

There was an update to v0.2.9.19420 Micro-g Service Core (GmsCore) available in the F-Droid repo. I decided to have a look before updating & noticed this:

https://github.com/microg/android_packages_apps_GmsCore/issues/961

It appears that there are some other associated issues too (#960, #964 & #965) regarding with this release.

You maybe aware MSe1969 - just for info only ;)

Update:

It looks like a solution is already in the offing:

https://github.com/microg/android_packages_apps_GmsCore/issues/964#issuecomment-546473162

However the above issues have not been closed so I would suggest not to update yet
[Moto G Android Development] MSe1969:
Thanks for the info, yes I am aware. I had the described issue myself, when I upgraded from F-Droid, so I downgraded again and flagged this version to be skipped in F-Droid.

Will observe this and only update in my build when solved by next update.
[Moto G Android Development] MSe1969:
New builds with November 2019 ASB patches

Hi all,

new builds with November ASB is available for download:

A. Default LineageOS 14.1 with substratum and microG patch

https://www.androidfilehost.com/?fid=4349826312261626223

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

https://www.androidfilehost.com/?fid=4349826312261626224

(It will also be shown soon in the Updater app for OTA update, if you have the August, September or October build installed.)

ASB Security string 2019-11-05

Bromite Webview on 78.0.3904.72 (variant B only)

microG GMS core updated to 0.2.9 (variant B only)

In regards to Aurorastore: Right now, the anonymous logins don't work, see the respective support thread.

(This is however not directly related to this build, but simply a heads-up, because I include this app in my build variant B)

Happy flashing - regards, M.
[Moto G Android Development] Scranalot:
Good Morning MSe1969

Thanks once again for the latest release :good: It hasn't come through on OTA yet but will do so no doubt in due course.

I am however intrigued why you have updated microG GMS core to 0.2.9 & not to the latest 0.2.10 release as that, from my reading, is the fixed update to the previously bugged 0.2.9 release?? :confused:

Regards
[Moto G Android Development] MSe1969:
Hi - OTA updates should now be visible in the Updater app.

In regards to microG GMS 0.2.9.x - I track the prebuilt apk's from the lineageos4microg Project, which publishes regular LineageOS builds with Pre-Installed microG components. The latest update contains a 0.2.9 release containing already the fixes of that buggy release, which we had before on FDroid.

That means, it'll work ok - I am aware that FDroid has already 0.2.10 and everybody can update from there - but I simply track from the above project and don't want to maintain an own fork.
[Moto G Android Development] Scranalot:
Understood MSe196 ;) & yes the OTA updates are visible now - thank you :)
[Moto G Android Development] ChrisRM:
The Falcon just keeps on going...

Another timely update, variant B coming in OTA and bedding in smoothly. All good, many thanks.
[Moto G Android Development] Intake96:
i search for all that stuff and steps and i dont know if i will do it... just try to learn the steps, iam a dummie ! the only reason that makes me want to do it , is gps fix from updated android version... it is worth ? i dont know

At open gaps what platform should i choose and which android? you only mention the Variant; Pico

also i cant install properly the ''latest Motorola USB Drivers on your desktop'' it shows me some errors.

i will sleep now and let it for other day...
[Moto G Android Development] Scranalot:
Good Morning Intake96

First things first:

1. What is the make & model of your phone?

I assume it is a Motorola Moto G Falcon - X1032, XT1032 or XT1034? as that is why you are on this forum thread.

2. What is the Android version of your phone? (Go to: Settings > About phone)

I assume it is a 'Stock' version of Android & not a custom ROM?

3. What computer operating system do you have?

I assume it is Windows - 7,8 or 10 as you state:

4. Because of your statement:

I also assume that you haven't yet been able to connect to your phone from your computer yet?

5. Finally what is your problem with GPS? Even with your phone on an older Android version it should still work as far as I know. However if it is a hardware problem (perhaps from a dropping your phone) then it probably won't be fixable with a software upgrade (i.e. this ROM). The vibration no longer works on my XT1032 (probably from dropping it:rolleyes:).

If you answer these 5 questions Intake96 then we can establish where we are & what to do. Unfortunately I don't use Windows I use Linux so I would not be able to help you troubleshoot any of your problems with that - but somebody here on this forum thread might.

I am not the developer/maintainer of the this ROM, that is MSe1969. He is doing excellent work & enables this old phone to function well an a secure & up to date environment & I for one am very grateful.

Cheers

Scranalot
[Moto G Android Development] Intake96:
Good Evening there .

Thx for reply man.

i have moto g1 (2013)

XT1032

Its stock (falconRetail etc).

Win10

i already use debug mode from my phone and connect to pc via use to transfer these 3 files for the modification.

My gps seems to be ok expect one app ( strava) . At Nov 3 some devices cant synch date due to Gps rollver. i record and when i upload the date is 2000. at forum support they suggest to update the android to fix this.

also they suggest to turn off battery saver ( from settings>apps>battery> no automatic enable ) i have done it . i try some gps tester-reset-fixer without succecs.

also during the record a message appears ''Location services are disabled, Would you like to enable them to record strava activity? but i dont know how to enable or disable them, i think i have enabled already. also i use high accurancy gps setting.

Iam sorry i didnt explain this from the beggining.

So i have to try this custom rom, or buy a new phone . ( i really like the 4.5'' screen of Motog1 and satisfied with the specs, i dont need more)

Thx and have a nice day !
[Moto G Android Development] datacobra:
First of all thank you for doing this. It's so wonderful that somebody is making a phone like the motoG still usable with current security updates. :)

May it be possible that you create a type C image, with all the hardened stuff, but without aurora and without microg?

That would be very nice. :)
[Moto G Android Development] MSe1969:
There was already such a discussion in this thread, If you scroll back to September 23rd, you'll understand. In short: Deactivate the listed apps and you have, what you want... :)
[Moto G Android Development] Scranalot:
Morning Intake96

Firstly I don't understand all the GPS & strava app business & won't get involved in that.

Also, as I stated in my last post:

So I won't get involved in there either.

You state:

Yes I like the Moto G for the same reasons :good: & I totally recommend this ROM for it, for the reasons I have stated in my previous post & prior posts throughout this thread.

To use this ROM you'll need to flash it to your phone.

From your last post I understand that you have adb (& fastboot too?) installed on your Windows OS on your PC.

Obviously you need to have your bootloader unlocked first (https://xdaforums.com/moto-g/general/guide-unlock-bootloader-root-recovery-t3418432) & use a custom recovery (TWRP https://eu.dl.twrp.me/falcon/) which I recommend you flash to your phone.

Then, after taking a nandroid backup of your system, flash the ROM version you want.

I recommend take your time to thoroughly research, read & understand both this forum thread & others that will help you achieve what you want. It isn't difficult but just care is required.

I am not trying to, as we say over here, 'teach you to suck eggs' but better safe than sorry ey? ;)

I must do this to protect myself:

Disclaimer:

You follow any advice that I've given at entirely at your own risk & I accept no liability for any damage that you may cause to your device.

Having said that I'm no genius & I managed it OK - as have many others - good luck :)
[Moto G Android Development] Intake96:
Thx man !

Yes iam not hurry. i have to be sure for what iam doing. i collect money for new phone, to be prepared. then i will try this custom rom to see.

So you try custom rom or you have stock? can u suggest which one is working for long time? i dont search it yet but i see this version of MSe1969 is the most complete,.

have a nice day !
[Moto G Android Development] johnange:
After couple of hours of using tethering, the phone restarts. Using 14.1-20191110-UNOFFICIAL-oms-falcon. Please advise.
[Moto G Android Development] Scranalot:
Aftenoon Intake96

Yes I am on a custom ROM, the 'B Variant' (lineage-14.1-20191110-UNOFFICIAL-mG-oms-falcon) one on this thread kindly provided by MSe1969.

Back in July 2018 I moved to the official LineageOS 14.1 ROM (which is based on Android 7.1) from stock Lollipop 5.1.1 to bring my Moto G a more up to date & secure OS.

The official LineageOS 14.1 ROM was the last version made available by LineageOS for the Moto G & support for it ended in February 2019, that is when I found this community supported ROM by MSe1969 & was delighted to move to it & as I stated in my post above:

I have limited experience with custom ROMs because I have only tried the official LineageOS 14.1 ROM & what I have come to regard as it's improved & updated successor - the one developed, maintained & provided here by MSe1969 :good:

From what I have read there seems to generally be performance & other issues with any ROM based on Android 8+ (LineageOS 15+) for the Moto G (probably due to its processor & RAM) so which ever ROM you choose I personally would pick one based on LineageOS 14.1.

@johnange:

FWIW I have a XT1032 & am on lineage-14.1-20191110-UNOFFICIAL-mG-oms-falcon. I frequently tether & sometimes for long periods too (many hours) with no issues whatsoever?? :confused:
[Moto G Android Development] jajk:
[MENTION=8788588]johnange[/MENTION] I have the same problem with WiFi tethering on XT1033 after a couple of hours. It looks to me like there is a memory leak that slowly but surely eats all available memory until a reboot occurs. I also notice the phone runs quite warm while tethering and consumes battery more than it should.

I switched to using Krexus 6.01 to see if problem persists. It is not present in this ROM so it looks like a general Lineage 14.1 issue that crept in during an update at some stage (very early 14.1 did not have this problem either).
[Moto G Android Development] DSinOR:
Error 7

Moto G 2013 Falcon XT1034. Stock.

I did all the correct things.

I get this:

Error: 7 Error installing zip file '/sdcard/lineage-14.1-20191110-UNOFFICIAL-oms-falcon.zip

I wiped everything but USB OTG.

I formatted.

The twrp log includes this:

This phone is empty, it only has Twrp.

My ADB is working properly.

The phone is available on Windows Explorer as XT1034. I can use Explorer to copy files onto Internal Storage.

I discovered the threads about bootloader update: 59520890&postcount=233.

I discovered the tool: bootloader-upgrader-tool-t3093793

I'm a noob.

What steps do I need to take to get from a clean twrp falcon 1034 with old bootloader, to running this rom?

Thanks!
[Moto G Android Development] johnange:
Exactly the same thing is happening to me on XT1032. Maybe [MENTION=7929484]MSe1969[/MENTION] can fix this?

Do you have link for Krexus 6.01?
[Moto G Android Development] MSe1969:
You have found the right threads, I have also explained this in the OP.

I would not use a tool, but simply flash the bootloader via fastboot, this is what I did some years back

However - as explained in those threads, if you mess up here, your device REALLY is bricked!

You must:

- Trust the place you get the stuff from (threads like the one linked generally look good to me, but YOU decide, from where you want to get it)

- Use the RIGHT file (the MotoG has several type numbers like XT1032 etc.) and be sure about it (e.g. boot into the current bootloader and see what is shown on the display, rather than taking the label shown in Windows explorer for granted)

- Execute the fastboot command as specified
[Moto G Android Development] MSe1969:
Unfortunately no idea, where to even look - from what you and others tell, seems to be device specific... - Honestly, I am not that good in hunting down such kind of issues. If you can point me into some direction, like a specific commit etc. I will be happy to give it a try...
[Moto G Android Development] Intake96:
[MENTION=9824965]Scranalot[/MENTION] Finally yesterday my motog fall off the the table and broken... i order a "redmi 6" . i was about to do it :D
[Moto G Android Development] DSinOR:
SOLVED

I had 2 problems: old bootloader and when I formatted the phone, it set the /data partition to ftfs instead pf EXT4.

I used Twrp to change the file system.

I used fastboot to update the bootloader to 41.18 using : fastboot>flash motoboot motoboot.img

A fastboot getvar all command said that the bootloader version hadn't changed, but a mfastboot getvar all command said it was 411A.

Whatever.

I installed this ROM and open gapps pico from twrp. It was seamless.

I'm now setting it up. No problems so far.

Life with old phones is sometimes "interesting."
[Moto G Android Development] DSinOR:
Insert SD Card before using camera

Everything seems to work fine after installing this ROM + gapps pico, except:

I get a message on the camera: "Insert an SD card before using the camera."

This is a 16MB 2013 Moto G 3G phone. No SD Card slot.

Any idea how to fix this?
[Moto G Android Development] jajk:
[MENTION=8788588]johnange[/MENTION] Krexus is very lite i.e. no gapps, no messenger etc. so doesn't suit everybody but it is the very last of the 100% hardware functional ROMs for Falcon.

https://xdaforums.com/moto-g/development/rom-krexus-caf-6-0-1-t3382937

I use a modified boot image to gain a bit more memory and get rid of a few useless services plus replace a lot of the core apps with my preferred ones and it runs great.

Respects to [MENTION=7929484]MSe1969[/MENTION] for continuing to keep Lineage 14.1 updated for our unkillable Falcons
[Moto G Android Development] MSe1969:
Hi,

you have mentioned "when I formatted the phone, it set the /data partition to ftfs instead pf EXT4."

I could think about two things to try:

1. Please check, whether the following symlink exists in the root directory of your phone:

lrwxrwxrwx 1 root root 21 1970-01-01 01:00 sdcard -> /storage/self/primary

To do so, you either have to connect via adb or use the command prompt in TWRP

If it doesn't exist, create it manually.

2. Choose in TWRP "Advanced" - "Fix Contexts"

Regards, M.
[Moto G Android Development] MSe1969:
New builds with December ASB are available for download:

A. Default LineageOS 14.1 with substratum and microG patch

https://www.androidfilehost.com/?fid=4349826312261654381

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

https://www.androidfilehost.com/?fid=4349826312261654380

(It will also be shown soon in the Updater app for OTA update, if you have at least August 2019 build installed.)

ASB Security string 2019-12-05

System Webview on 78.0.3904.96 (variant A only)

Bromite Webview on 78.0.3904.119 (variant B only)

AuroraStore updated to 3.1.5 (variant B only)

Regards, M.
[Moto G Android Development] ChrisRM:
Another smooth OTA for variant B

Installed just as smoothly; very good. The recent Google notice on bug and security fixes had some interestingly nasty ones; were any of them relevant to this release?
[Moto G Android Development] meistadieb:
You mean "Strandhogg"? AFAIK Google hasn't released patches....

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

This is a tipo regarding variant B, isn't it?
[Moto G Android Development] MSe1969:
Yes, oops, fixed it - thanks for noticing me.
[Moto G Android Development] MSe1969:
Which ones do you mean in particular?

I took the ones from the respective topic on the LineageOS Gerrit.
[Moto G Android Development] ChrisRM:
I was reading this article (https://www.securityweek.com/google-patches-critical-dos-flaw-android-10) and it talked about a range of Android versions affected, so I wondered if I should worry (I look for reasons to worry, as I'm not very good at worrying...).
[Moto G Android Development] meistadieb:
Have a look at https://review.lineageos.org/c/LineageOS/android_build/+/265191 for more details on the linageOS 14.1 changes included in the 12-2019 security patches

Cheers
[Moto G Android Development] ChrisRM:
Ah, splendid! That answers my concerns nicely, thanks....
[Moto G Android Development] Bludwurst:
I have an issue: I cannot encrypt my phone. It essentially soft reboots every time I try.

I am using the latest microG (variant B) version.

Someone had previously reported the issue; their solution of downgrading TWRP 3.3.1 to 3.2.3 did not work for me.

This ROM had been clean flashed, but all updates were dirty flashed (and since they were available via OTA, installed through the OTA app.)

What should I do? Any assistance is welcome.
[Moto G Android Development] Lordlight:
Can you add some features like this ?

I see these in some ROMs and find it is very intersting !

Could you add them , please ?
[Moto G Android Development] peelie:
https://xdaforums.com/moto-g/develo...o-g-falcon-t3808428/post79813686#post79813686