yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] :
A clean install is an install after wiping data, system, everthing. So you'll have to configure your phone after the first boot. Be sure to backup what you want to keep.

I don't have issue with camera. It seems the someone said something about Whatsapp but I dont use Whatsap.

If you want to install Lineage, you have to unlock your bootloader, then install TWRP, then instyall Lineage using TWRP. Be sure to have adb and fastboot.

Some interesting links for unlocking and TWRP :

https://xdaforums.com/g5-plus/how-to/howto-ultimate-g5-plus-guide-unlocking-t3593531

https://xdaforums.com/g5-plus/development/unofficial-twrp-3-1-0-0-moto-g5-plus-t3576575

To install Lineage, read the first message of this thread, everything is explained.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Nothing wrong with being new in this custom rom world, but be sure what to do: find the right tutorials! Be careful and be aware that the data partition in the stock rom is encrypted (which means: an extra challenge!) Just by unlocking your bootloader you'll already lose everything on your phone! In short:

1. Unlock your bootloader.

2. Install TWRP

3. Wipe the following partitions: system, data, cache and dalvik cache

3 Flash the Rom.

4 Flash gapps (Google Apps (playstore etc.))

5. Optional: flash the superuser file from Lineage.

6. Reboot and setup your phone!

Note that these steps (especially 1, 2 and 3) require more detailed tutorials!

Send from my Motorola Moto G5 Plus (XT1685) using Tapatalk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] andynx1:
The easiest way (which others may criticise) is to use the tool here, which is what I did:

https://xdaforums.com/g5-plus/development/toolkit-moto-g5-plus-toolkit-root-t3605203/page2

Flashing a ROM after you've done this is easy.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
Not my way, but I won't criticize [emoji12]

Send from my Motorola Moto G5 Plus (XT1685) using Tapatalk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] andynx1:
Hi Smitharro,

I've searched for this, and I can't find a forum post that describes how to do it. Any chance you could give me a couple of pointers? Is the solution device specific?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] smitharro:
It's device specific in the sense that the resolution has to be right. You can follow the instructions in this video:

https://youtu.be/9Xsk3Sqt0OI

Send from my Motorola Moto G5 Plus (XT1685) using Tapatalk
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ehmdjii:
Does this ROM work also with the "normal" Moto G5 ? (not the plus version)

Thanks!
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] mek4life:
Has anyone tried the encryption feature successfully on Potter?

So I installed everything successfully, and did the phone encryption through settings. The encryption went without any problem all the way to 100%. Then as the phone reboots, it asks for my PINcode, which I gave. The phone then stuck on the LineageOS boot logo, presumably trying to decrypt itself.

It's been stuck on the boot logo for 8 hours now, I can't imagine you have to do this everytime
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] nightwalkerx22:
No it won't. Head over to the G5 section to see the ROMs that are supported by your device.
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] core720:
[MENTION=1829889]vache[/MENTION]

[MENTION=5293805]GtrCraft[/MENTION]

Battery is bad, wakelocks in NFCService (Model G5+ 32gb and 2Gb Ram no NFC)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] vache:
Oh, I'll look at this. Forget that variant without NFC :)
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] lazerus06:
Use titanium to freeze nfc services
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] Mattiwatti:
Hi,

Could anyone give me some pointers on how to compile the source code? I'm new to this in general, but I followed the instructions for another device (my Galaxy S4 aka jfltexx) on the LineageOS wiki and it was pretty simple. However since the Moto G5 Plus isn't an officially supported device, I think I'm missing a few steps on how to make the repos linked in the first post work. I've cloned the LineageOS repository (let's say into ~/lineage), and (attempting to follow the layout I got from breakfast jfltexx for my S4), I cloned github/boulzordev/android_device_motorola_potter into ~/lineage/device/motorola/potter, and github/boulzordev/android_kernel_motorola_msm8953 into ~/lineage/kernel/motorola/msm8953. I also added add_lunch_combo lineage_potter-userdebug (...what's with these command names? did a 12 year old make the build system?) to ~/lineage/vendor/cm/vendorsetup.sh, but I'm obviously missing a few steps to make the build system know about the vendor/device combo and where to find it.

Edit: URLs removed since apparently I'm not allowed to link to stuff.

Edit 2: I should probably post the output I from breakfast potter, though it's probably going to be obvious:

including vendor/cm/vendorsetup.sh
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/motorola/potter/lineage.mk]]: "vendor/motorola/potter/potter-vendor.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/motorola/potter/lineage.mk]]: "vendor/motorola/potter/potter-vendor.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/motorola/potter/lineage.mk]]: "vendor/motorola/potter/potter-vendor.mk" does not exist. Stop.
Device potter not found. Attempting to retrieve device repository from LineageOS Github (I'm not allowed to post URLs dot com/LineageOS).
Repository for potter not found in the LineageOS Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/motorola/potter/lineage.mk]]: "vendor/motorola/potter/potter-vendor.mk" does not exist. Stop.
build/core/product_config.mk:254: *** _nic.PRODUCTS.[[device/motorola/potter/lineage.mk]]: "vendor/motorola/potter/potter-vendor.mk" does not exist. Stop.

** Don't have a product spec for: 'lineage_potter'
** Do you have the right repo manifest?
[Moto G5 Plus ROMs, Kernels, Recoveries, & Other De] ckret:
you are missing the vendor files

https://github.com/boulzordev/android_vendor_motorola_potter
[Nexus 5 Q&A, Help & Troubleshooting] maxiesnax:
Simply put, if mobile data is enabled; mobile hotspots don't work, I get "error". If I enable the hotspot before enabling data then it broadcasts a hotspot fine but after enabling mobile data I get an error. I'm on an EE SIM if it's any consolation.
[Nexus 5 Q&A, Help & Troubleshooting] GopalKaul:
What kernel? Try another one. Also what ROM?
[OnePlus 3T Questions & Answers] Eggstones:
Is there a way of whitelisting apps when using aggressive doze? Since the last update podcast republic has stopped working. The app is not battery optimised but that didn't help. Any other suggestions.
[OnePlus 3T Questions & Answers] Funk Wizard:
Yes you can do so by Dont Optimize them

Settings > Battery > Battery Optimizations > Select the apps and don't optimize them that you wish to whitelist [emoji106]

Sent from Funk Tuned 3T
[OnePlus 3T Questions & Answers] Eggstones:
Done that and it hasn't sorted it. I don't have battery optimisation as an option. I can do the no optimisation either from the app list on the battery screen or via aggressive doze option on that screen.
[OnePlus 3T Questions & Answers] Funk Wizard:
What os? I run the latest beta and that works for me

Sent from Funk Tuned 3T
[OnePlus 3T Questions & Answers] Eggstones:
I run 7.1.1 and Oxygen 4.1.3. No direct option to optimise battery as described above on my T3.
[OnePlus 3T Questions & Answers] Funk Wizard:
Then you might find that on battery options settings on the three dots, check on the 7.1.1 thread
[OnePlus 3T Questions & Answers] Eggstones:
That is what I have done. I've used the settings under aggressive doze that you access from the three dots and marked it as not optimised. App still miss shaving.
[OnePlus 3T Questions & Answers] Funk Wizard:
Yeah that's it, just don't optimize these and disable advanced optimization

Sent from Funk Tuned 3T
[OnePlus 3T Questions & Answers] Eggstones:
Sorry for being a pain but where do i find that option? Searching settings doesn't show it. Doesn't seem be under battery either.

Thanks for the help. I do appreciate it.
[OnePlus 3T Questions & Answers] Vergil-00:
Battery optimisation Screen

I'm guessing you're looking for this screen?

Just search for "battery" in settings. Click on Battery Optimization, and it will bring you to a settings screen, where you will have access to more options, click on battery optimization again.
[OnePlus 3T Questions & Answers] Eggstones:
Thanks but that is what i have already done via a different route. However i cannot find the advanced optimisation mentioned above
[OnePlus 3T Questions & Answers] Vergil-00:
Maybe it's the same thing, but they renamed it in the beta version?

View attachment 4123395

At least it says it does the same thing... almost.
[OnePlus 3T Questions & Answers] Eggstones:
Thanks. I guess you can't individually exclude apps that show up there.
[OnePlus 3T Questions & Answers] Vergil-00:
[MENTION=7876623]Eggstones[/MENTION] When I had aggressive doze and app hibernation ticked, the apps I excluded were not closed in the background - so what you did in the screenshot from post #7 should be enough. I never used "auto close high power usage apps", but I believe you should just leave it unticked.

Just a random ideea... Can you set it as default music app? Maybe it will work out and stay in memory?
[OnePlus 3T Questions & Answers] Eggstones:
Thank you. I'll try that.
[OnePlus 3T Questions & Answers] Vergil-00:
Edited my post with another... Random ideea :)
[OnePlus 3T Questions & Answers] Eggstones:
I'll use that as a backup plan!
[OnePlus 3T Questions & Answers] Eggstones:
This is rather weird but switching off the kill power hungry apps seems to have improved my battery life
[OnePlus 3T Questions & Answers] neonlite:
Hmm.. can't find it in 4.1.6.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Sanboy:
I am looking for the original CINGULAR ROM for the 8125

i went to the WIKI were most of the HOW TO guided me to .. and all the links are dead ..

so everyone telling me to READ first .. CHECK

follow instructions .. CHECK

now what .. can someone help me out .. ?

*** my problem i am having ..

battery died in the middle of a hard reset . andnow it wont go past the " splash" screen ....
[8125, K-JAM, P4300, MDA Vario Software Upgrading] akashastrega:
I can offer you the original Tmo rom, but do not have a cingular rom. If you are using it as a base rom before flashing a stock rom, I suppose the Tmo would work. I have 2.26, and 3.08.
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Sanboy:
i really dont know what i should be using .. thats why i am here .. looking for someone who can help me figure out a course of action ..

its like trying to learn in a dark room . LOL . looking for any tips from anyone

the phone is a paper weight right now .. it will boot to the " splash screen " and then sit tehre and do nothing ..

the phone is through cingular ... but i have no idea if that matters ...
[8125, K-JAM, P4300, MDA Vario Software Upgrading] akashastrega:
Have you unlocked it per the Dr. P sticky?

If you have unlocked your phone, any base rom will do, as it is just a leap pad for a custom rom. If your device is not unlocked, I don't believe my Tmo stock rom's will help you. If you are certain your device is unlocked, I can upload my Tmo rom or point you in the direction of one here, and you flash it, then re-flash with a custom kitchen.

*****EDIT*****

Found the rom on HTC's site, here is the linky::

http://www.america.htc.com/support/8125/software-downloads.html
[8125, K-JAM, P4300, MDA Vario Software Upgrading] Sanboy:
no the phone is not unlocked ..

the phone was purchased through cingular . and i have always used it for cingular ..

is there no place to get a cingular rom to reflash with ?

i own a paper weight ? ...LOL
[8125, K-JAM, P4300, MDA Vario Software Upgrading] akashastrega:
see my post above, i linked you cing-rom!
[Google Pixel XL Questions & Answers] TonikJDK:
So Google App is turning location on 24/7. If I go into app permissions and deny it, the icon in the status bar goes away instantly. And comes back instantly as soon as I allow it. I have good gps lock in other apps. I have cleared all data in it....no change.

Any one else, or any ideas what to do next?
[Google Pixel XL Questions & Answers] 5.1:
Hello...

Not sure it will help... Has it something to do with "location history" ?

Google app trying to locate you all the time?

Try looking at Google app > settings > accounts & privacy > Google activity control > location history

Try turning it off and see if location enables itself yet?!

Good luck...
[Google Pixel XL Questions & Answers] 5.1:
Hey,

Forgot to add my screenshot :angel:

Cheers...
[Google Pixel XL Questions & Answers] TonikJDK:
That was a good idea, but alas no change.
[Google Pixel XL Questions & Answers] TonikJDK:
Bump, I found something on this.

If I have location on high accuracy Google App gets a lock and the location icon in the status bar goes away. As soon as I switch location back to device only Google App locks the location icon back on.

I can repeat this every time.

Could a couple of people test this for me to confirm and let me know please?
[Google Pixel XL Questions & Answers] TonikJDK:
Really XDA? No one has 30 seconds to switch Location to Device Only and tell me if it locks the location icon on?
[Google Pixel XL Questions & Answers] famazi:
Are you using the pixel launcher? If you are then try to deny location for it too.
[Google Pixel XL Questions & Answers] TonikJDK:
I have the situation under control. I can deny Google and it's fine. Or I can set location to High Accuracy. Just trying to get confirmation it is a Google bug so I can report it.
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
Hi there! I'm new in this forum. Yesterday I had the chance to buy this good looking phone and I am pretty glad. Unfortunately, I soft bricked trying to flash rom just because i am very impatient. Luckily, I could solved it by flashing stock, and i am actually using ACIP Rom. The thing is that after all this process I don't have my SIM Card recognized by the phone. I am not used to Motorola phones but I see that modem drivers is a thing and I don't know if it has something to do with.

Please, any help is appreciated. :D
[X Style (Pure) Q&A, Help & Troubleshooting] acejavelin:
This is not the proper flashing method... The proper method using the latest firmware is:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash system system.img_sparsechunk.6

fastboot flash system system.img_sparsechunk.7

fastboot flash system system.img_sparsechunk.8

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot flash bluetooth BTFM.bin

fastboot erase cache

fastboot erase userdata

fastboot oem fb_mode_clear

fastboot reboot

They key is to use the latest image, and verify OKAY response after each step, if you don't get that then repeat the step up to 3 times. If it still fails there is more going on than it appears.

Your symptoms indicate an invalid radio stack (bold italicized above) or incorrect radio version. Remember that firmware images are region specific, a firmware from India and one from Brazil or the EU are different even though all are for XT1572, you must use the correct one for your device.
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
I will trying flashing again via fastboot but i am seeking the latest firm so I found this web:

https://firmware.center/firmware/Motorola/Moto X Style/Stock/XT1572/

How may I know which is the last one AND which is for my device?
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
This is where always fail
[X Style (Pure) Q&A, Help & Troubleshooting] acejavelin:
Well documented... You are trying to downgrade which isn't really supported.

Still, you can skip bootloader and gpt.bin if you have to, but my answer still holds, it's a modem issue.

Add your screen shot of bottom of About phone (scroll to bottom and screen shot) and output of "fastboot getvar all" in bootloader in order to help more.
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
I think I bricked the phone again after flashing XT1572_CLARK_RETLA_6.0_MPH24.49-18_cid12_subsidy-DEFAULT_CFC.xml. It's stucked in the bootloader unlocked warning. Previously I flashed:

XT1572_CLARK_RETLA-MSTLA_6.0_MPH24.49-18_cid12_subsidy-MOVSTLA_CFC.xml

XT1572_CLARK_RETLA-MSTCL_6.0_MPHS24.49-18-4_cid12_subsidy-MOVSTLA_CFC.xml

I will post the screens right away.

btw, is this useful?

https://xdaforums.com/showpost.php?p=62819858&postcount=15
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
HELP!

Well, it's stucked in this screen. What can I do!? I freak out
[X Style (Pure) Q&A, Help & Troubleshooting] acejavelin:
Remember, first boot is 15+ minutes... Factory reset in recovery and try again. Those are pretty old versions, give me a bit and I'll get you a newer link.

---------- Post added at 06:18 PM ---------- Previous post was at 06:06 PM ----------

Latest available stock firmware is here

Without seeing the output of 'fastboot getvar all' I can't really say for certain which is the right version, there is a retail single SIM (18-4) and dual SIM version (18-8), and a Movistar subsidized version (18-4).
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
Here it is
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
Here it is

btw, my carrier is Movistar

Also, if I try to get Recovery Mode it says No command and a "dead" android.
[X Style (Pure) Q&A, Help & Troubleshooting] acejavelin:
So is this a Latin American variant or a European variant?

The firmware you are flashing is for Latin America, but the device seems to be the European variant (note: ro.carrier: reteu entry)

Is this an original LA or EU device?

Although your carrier is Movistar, that doesn't mean you need to use a Movistar specific ROM unless it is a carrier branded device.

From "Dead Andy" to get to the recovery menu, hold POWER and tap Vol Up quickly.
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
Ok, it may be european but I bought it here in Argentina. And I am not sure but is not carrier branded so it's ok.

I could get recovery mode now!
[X Style (Pure) Q&A, Help & Troubleshooting] acejavelin:
Did you purchase it new or used?

It is kind of important we determine what the original version of this is... if you flash a LA ROM to an EU device, it could very well give you the issues you see, where the SIM is not recognized, because the radio firmware doesn't match the radio hardware. I am pretty sure that ro.carrier gives it away and we need an EU ROM, but let me check something... Give me a couple hours if you can.

Is this a single or dual SIM model?
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
Bought it new! Single sim
[X Style (Pure) Q&A, Help & Troubleshooting] acejavelin:
OK, well I am going to have to go with you might have accidentally flashed an EU ROM at some point maybe?

I would try XT1572_CLARK_RETLA_6.0_MPHS24.49-18-4_cid12_subsidy-DEFAULT_CFC.xml, or your Movistar variant if the phone was purchased from Movistar, and flash each step manually, then attach the terminal log output please.
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
Yeah, I was one step ahead. I already flashed. It's working!!! Thanks a lot!!!

Here it's the log
[X Style (Pure) Q&A, Help & Troubleshooting] acejavelin:
Glad it is working... this bothers me a bit though

If it works, it works and I am not going to complain, but something still isn't right. I would try to flash just the radio stack again if it was me (not the whole ROM, just the 4 radio firmware commands) but if it works it's your call.
[X Style (Pure) Q&A, Help & Troubleshooting] papo_blue7:
Now it's ok! I have already flashed crDroid and TruPureXMM. Everything works perfectly by now! Thanks again
[X Style (Pure) Q&A, Help & Troubleshooting] acejavelin:
Awesome!!! Glad you got it working!
[LG G5 Questions & Answers] bntrnc:
Does anyone here can confirmed that the G5 (like H860) and the G5se (H840 H845) can swap the hardware between each other?

My G5se body has beaten up but the screen and the logic board is still fine. So I planned to replace the body, fingerprint scanner and the modular bottom part but can't find anywhere to order the G5se hardware.

So I wondered if I could just order the G5 parts? :confused:

Sorry to post the new thread, can't find any resources about these, and thanks guys.
[LG G5 Questions & Answers] tavocabe:
G5 and G5 SE have different modular bottom hardware. You get a message saying to replace the part with a compatible one if you make the swap. Not sure of other parts.
[LG G5 Questions & Answers] bntrnc:
Thanks man, but the last time I tried swap the bottom with my friend's G5 and it can boot up and i was able to use without any problem nor alert message. Did I have to use it for a while for that message?
[LG G5 Questions & Answers] tavocabe:
Immediately after power it on, just passed the LG splash screen and then the message appears. I tried the H840 bottom as my speaker was faulty (I'm using H830), so I had to open both modules and replace the speaker only, but stayed with the same module. Actually if you look closely you will notice they are not exactly the same. What variants did you tried?
[LG G5 Questions & Answers] bntrnc:
I have tried swapping between H845 and H860. I'm Thai, so most of the techs here is from Asian market. Got message after turned on.

That's​ strange right?
[OnePlus 3 Questions & Answers] kousik:
When using https://play.google.com/store/apps/details?id=jackpal.androidterm (terminal emulator) I can't seem to send ^C (or any other control character). Neither by VOL DOWN prefix, nor by long press context menu. The control sequence symbol ">" appears in the terminal however the subsequent key is not passed to the shell (or the running program). Anyone figured out how to pass the control sequence correctly?
[OnePlus 3 Questions & Answers] peterk-1:
Have you tried the recommended keyboard app? - https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard&hl=en
[OnePlus 3 Questions & Answers] kousik:
The problem turns out to be the keyboard as pointed out above. Google's gboard doesn't work but swiftkey does. Haven't tested Hacker's keyboard as recommended above but most likely it'll.