yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] IronTechmonkey:
FYI, at XDA it is required to post in English or to include a translation with the quote. Also your question seems to be about the process of flashing rather than the software development so I've replied in this different thread.

Assuming that you’ve updated the device on stock as far as it could be updated...

Perhaps you have flashed Gapps later after running the ROM, or have "dirty flashed.

Gapps and SU packages should be flashed in the same TWRP recovery session as the ROM.

This is what I do (Disclaimer: I'm not responsible if the universe breaks when you try this. Make sure you have a backup of all your apps :)):

- Place ROM, gapps, SU packages in folder on external SD.

- Boot to TWRP.

- Wipe dalvik and system cache.

- Backup old ROM.

- Full wipe (factory reset).

- Flash ROM, gapps and SU package in same TWRP (you can queue them as one long job).

- Wipe dalvik and system caches

- Boot to LOS intro screen should take no more than 10-15 minutes.
[Moto G4 Plus Questions & Answers] Icesmash:
Try using Magisk instead of SuperSu & removed Xposed as that invalidates safetynet. Alternatively you could download Netflix Apk from:

https://m.apkpure.com/netflix/com.netflix.mediaclient

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Moto G4 Plus Questions & Answers] lemonlimejones:
Hey guys, just a question. I'm on the Canadian carrier Koodo and I want to flash my stock firmware so I can upgrade to nougat. The stock firmware available says Telus which are basically the same company. Am I safe to flash that firmware because I don't want to flash a telus fw that needs to be koodo specific.
[Moto G4 Plus Questions & Answers] IronTechmonkey:
I'm sorry to be so blunt but your post was off topic to development thread in multiple ways. Please respect the topic of threads, and also XDA rules regarding searching and reading posts, which in this case would have prevented you from posting in the wrong place and would have answered some of your questions.

That is not how it works. Dev threads are not a place to "check" to see what is broken. Doing that contributes nothing to development, and in fact undermines development. You should be using Q&A or general thread such as this one for those general questions... since you don't want to undermine development, which you questions contributed nothing towards.

Previously reported and recorded to a Jira ticket in October 2017 (which I and other users just updated this week). Please search and read as per XDA rules - you would find the link to the jira ticket by doing so 9or you could search Jira directly)

Custom kernel has no place in LOS bug reporting (which is the purpose of LOS dev thread).

I would add that not only are you ignoring XDA rules and general expectations for development threads but you have also ignored the bug testing instructions which our device maintainer took the time to include in the OP's of the dev thread (not something all maintaineres take the time to do) and which clearly state "DO NOT report bugs if you're running a custom kernel."

Also; reporting "bugs" that occurred while you were using a custom kernel, without mentioning in your report that you were using a custom kernel is a disrespectful all those who took a look at that issue in the interest of helping you. Seriously what a waste of time.

Enough said.
[Moto G4 Plus Questions & Answers] jyoti.id:
I checked the jira ticket last week, st 1st its been tagged as 4 weeks old & then someone reported its still there, so its been open again & its still open i think. That's why i thought to post here. Im not much familiar with the jira Thing that's why thought to post it here. There was no intention to “BREAK” any Xda rules. I posted just to confirm if it's happening for others or not. Then i would have posted the log with the aforesaid instructions. Anyway, Thanks for infos. Will remember this next time. If you want i can delete the above comments. :good:
[Moto G4 Plus Questions & Answers] IronTechmonkey:
Firstly, I have no standing to request or require that you do anything specific, but that wont stop me from reminding about the rules and general respect. No need to erase anything but please do understand the negative effects of reporting bugs from custom kernel as if you are using stock kernel = leaves people chasing false leads, undermines trust.

In fact this time it left me not giving you credit for informing people about the data stats issue. I just reviewed the dev thread and found that it was actually you who seemed to have introduced the data stats issue, then you convinced several other people (myself included), one of whom made the ticket, so thanks!

As to the Jira process, when a ticket has no activity for a month, then a notification will be sent but the ticket is not in a "closed" state if people respond to the notification and confirm that the issue persists. I would imagine this is not considered a high priority issue but as is the case in many ticketing systems it may be given higher priority the longer it sits. We'll just have to watch the ticket and see.
[Moto G4 Plus Questions & Answers] jyoti.id:
Im sorry about all these. I was just a little bit over excited at that moment so posted all things together without remembering anything about the rules. Thanks to you for making me remember. & I restored the stock boot image of LOS & seems the wifi issue is less now. :o so please accept my apology. :rolleyes:
[Moto G4 Plus Questions & Answers] IronTechmonkey:
No need to apologize. I was being a harda$$, and clearer communications on both sides would have helped separate the off and on topic. There was more on-topic in your post than at first it seemed. :)
[Moto G4 Plus Questions & Answers] Pratham Nathyal:
Fella's I'm trying to report a issue at jira. But the problem is that in my case logcats are useless.

As my issue is random crashing.

So i need a kmsg. But all i seem to get in the kmsg.txt after grabbing the last kmsg through adb after a crash is this.

Just two lines? Is this right or am i doing something wrong?
[Moto G4 Plus Questions & Answers] Dhanush-raj:
Assuming you have a root explorer installed, after the reboot happens (and your device has booted back up), go to /sys/fs/pstore and copy both the console-ramoops-0 and dmesg-ramoops-0 files to internal/external storage. It's best to copy those files immediately after and reboot happens as it states the cause and gives some clues as to what caused it to happen.
[Moto G4 Plus Questions & Answers] IronTechmonkey:
Thanks! (out of officials ATM). in addition to that if the reboot is noticed while it occurs it may be possible to force boot into recovery and get a cleaner copy of the files by using TWRP's file manager (after mounting system) to copy the files elsewhere. Of course is easier said than done in real world usage.

Thanks for taking the time to capture the logs and get a ticket started. When it is set please share the link so we can add some details. I'll also try to add a link to a previous (now closed) Jira ticket for same (or similar issue) so that information is included.

As to # of lines: In newer devices the last kernel message is in the obscurely named console-ramoops-0 file mentioned by [MENTION=7967333]Dhanush-raj[/MENTION], and other stuff in the other file. I'm not sure what the kmsg.txt file is fore but have seen similarly empty ones.
[Moto G4 Plus Questions & Answers] majidamiri15300:
Hey!

I'm trying to update to RR Oreo, but for some reason, I keep getting "Updater process ended with ERROR: 255" on TWRP. I've tried other Oreo-based ROMs, none of them work. What's the issue here?

Whenever I google the error, I get some old posts relating to the Nexus 6 or OnePlus, none of which are even about flashing in TWRP to begin with.
[Moto G4 Plus Questions & Answers] echo92:
Are you using the 64 bit TWRP build as provided in the opening post of the RR thread? https://xdaforums.com/moto-g4-plus/development/rom-resurrection-remix-v6-0-0-t3747735

Oreo based custom ROMs for our device are mostly 64 bit. As such, you may not be able to directly update from v5.8.5 (the last Nougat, 32 bit build) and may require a clean flash.
[Moto G4 Plus Questions & Answers] majidamiri15300:
Wow, I am such an idiot. I didn't realize there was a 64bit TWRP I had to flash. That's what I get for skimming through the post.

Thanks for the help!
[Moto G4 Plus Questions & Answers] JoeWilson:
Is there a way to increase the size of the navigation bar icons.. Mine look too small
[Moto G4 Plus Questions & Answers] strongst:
Would be helpful if you mention which rom and version, gapps, mods, themes, tweaks you're using;) seems like a substratum theme or you have RR and shrinked the navbar :rolleyes:
[Moto G4 Plus Questions & Answers] JoeWilson:
It's aicp 8.1.0.. Yeah it's a substratum theme, but the default one is also small, even when the dpi is default. I just wanted to know if there is any way where you can edit the icons
[Moto G4 Plus Questions & Answers] strongst:
The overall dpi seems not to small according to your Screenshot hence its a theming problem. I would recommend to clear substratum cache or uninstall it and delete substratum folder to see if it's the problem.

Substratum is known to causing easily problems all the time and such graphical glitches so it's the first you should do.

Then go ahead and wipe the caches within twrp and make sure you have no other mods.
[Moto G4 Plus Questions & Answers] Joel Oliveira:
Why am I having "burn-in" even installing the stock rom?
[Moto G4 Plus Questions & Answers] strongst:
Cause it's a hardware problem of the panel, see the Q&A section
[Moto G4 Plus Questions & Answers] Elamentri:
SuperSU question

Hi everybody, is there a specific version of SuperSU to be used with Nougat 7.0? Phone is Moto G4 + XT1642

Thanks in advance :)
[Moto G4 Plus Questions & Answers] solankijay01:
How to Remove/Uninstall Twrp Recovery.. Iam On Stock Naugat Dec Security .. Help
[Moto G4 Plus Questions & Answers] strongst:
Just flash the recovery.img from the stock rom with fastboot
[Moto G4 Plus Questions & Answers] night0crawler:
Hello guys just wanted to know if there's any Dolby Atmos version working with Resurrection Remix 6.0.0. Viper is available through Magisk but I can't find a Dolby atmos file that seem to work.

Even tried Arise Magnum Opus as well but it's not working. So if there's anybody out there with working Dolby Atmos, can you please help me our?
[Moto G4 Plus Questions & Answers] night0crawler:
I'm using [Resurrection Remix 6.0.0 by Jleeblanch] & [Unofficial Open Gapps arm64 8.1 nano 20180217.zip] Link to which is provided in the OP for RR-O by Jleeblanch. I noticed that there is a new version of Gapps there.

So my question is that, to use the latest updated Gapps, do I need to Clean Flash the ROM & Gapps every time a new update of Open Gapps is released? Well till now I used to do it the way I mentioned above.

Is it possible to just Flash the updated Gapps zip on the current setup? If yes, as I have Magisk installed as my root manger, whether the Magisk will get uninstalled in the process?
[Moto G4 Plus Questions & Answers] Dhanush-raj:
No ,its not like that, just flash the latest version of SuperSU.

Though I have heard of some version not working, but definitely the latest version will work.
[Moto G4 Plus Questions & Answers] strongst:
You can flash gapps package on top of the other if you with the same package(pico mini whatever). But there's really no need to do that cause every app within those gapps package receives updates through playstore. It's really not necessary imo.
[Moto G4 Plus Questions & Answers] leap_ahead:
Guys can anyone explain me the version of moto g4 plus.

XT1642 is 32Gb with 3Gb ram, working on europe network?

also I see moto g4 case is the same as moto g4 plus?

its come with sim adapter ?
[Moto G4 Plus Questions & Answers] strongst:
XT1642 with 16GB with 2GB ram and working on european network(have it in Germany). Check the network Bands and ask your provider in last instance. Europe has many countries and providers ;)

Cases are the same for g4 and plus afaik as the only difference is the fp sensor.
[Moto G4 Plus Questions & Answers] leap_ahead:
After search I think its ok for all network, XT1642 is also available with 32Gb and 3Gb ram...
[Moto G4 Plus Questions & Answers] echo92:
I'm not sure the XT1642 was released with 3 GB of RAM, I've only seen a 2 GB RAM/ 16 GB or 32 GB storage model (there may have been a 4 GB variant for EU markets and other markets too).

Where are you seeing the 3 GB variant? As I recall, only India got the 3 GB option.
[Moto G4 Plus Questions & Answers] CMKdaGreatest:
I've tested both stock and resurrection remix ROMs. I see that stock gives way more battery life than RR. is this just for me or am I doing something wrong?

I used rooted stock room with kernel adiutor setting rgb value to 200. Same case with RR ROM.
[Moto G4 Plus Questions & Answers] leap_ahead:
Search on google... XT1642 32Gb 3Gb ram
[Moto G4 Plus Questions & Answers] echo92:
1) Amazon UK link https://www.amazon.co.uk/Motorola-XT1642-Black-Unlocked-Smartphone/dp/B01LSCSU7S

Title says 3GB/32GB storage, description mentions 2GB/16GB, so which is correct? (also typo on CPU speed, our devices operate at 1.5 GHz/1.2 GHz. )

2) http://www.ebay.co.uk/itm/MOTOROLA-...922722&hash=item2a82238011:g:Z70AAOSwnK9ZVvow

States 3 GB RAM in both title and specs, but lists 32 GB storage in the title, with 16 GB storage in the main description - again, which is it? Also, being shipped from Australia, you may have no warranty in the EU.

I noted some other sellers sold the 3GB/32GB version but the devices appear to originate from Singapore or Australia. If that is the source, you may have some consumer protection between you and the seller if any device issues occur, but Motorola may refuse to service your device under warranty if you choose to buy those devices. I do not recall seeing the 3GB model for UK/EU users, else I'd have bought that when I bought my XT1642 (2GB/32GB). Only the 2 GB and 4 GB models were offered on the Moto Maker UK website.

If you've seen any 3GB/32 GB XT1642 devices actually meant for the EU/UK markets, I'd be interested to see it.
[Moto G4 Plus Questions & Answers] leap_ahead:
yes true is Singapore or Au version but is working on any network ...

https://www.motorola.com.au/products/moto-g-plus-gen-4

https://www.moto.com/sg/products/moto-g-plus
[Moto G4 Plus Questions & Answers] strongst:
Your observation can be true, have a look at this thread for the same question/discussion https://xdaforums.com/moto-g4-plus/how-to/coming-circle-t3739850
[Moto G4 Plus Questions & Answers] sarang25:
I rooted my Moto g4 plus recently and downloaded no frills cpu to overclock but when the app opened it gave me a message that root permissions are not found on this phone but on root checker it showed me that my device is rooted.
[Moto G4 Plus Questions & Answers] CMKdaGreatest:
Guys can someone gimme a twrp backup of the latest version of stock ROM (athene) indian version?

Back up everything ie tick all the boxes in the twrp backup option.
[Moto G4 Plus Questions & Answers] vaibhav97:
Hi

I am going to unlock bootloader, flash elemental x kernel and root my device. To do that can i flash this 64Bit twrp on command prompt? Wont it cause any bootloop when the stock rom boots?

Sent using Tapatalk
[Moto G4 Plus Questions & Answers] echo92:
Thanks for that - if the bands are working for your carrier, then it should work. Just that getting repairs might be problematic (I'm not sure how EU consumer laws regard imports, whether they are regarded the same as products bought in the EU). Good luck whatever you decide.

---------- Post added at 03:12 AM ---------- Previous post was at 03:05 AM ----------

Provided you unlocked your bootloader, flashing the 64 bit TWRP should be okay, as I understand it that TWRP version should support 32 bit and 64 bit software. However, there have been some reports suggesting the 64 bit TWRP doesn't play well with flashing 32 bit software. Unless you see yourself flashing 64 bit custom ROMs, if you want to stay on the stock ROM, you may be better served by flashing a 32 bit TWRP (e.g. either the official TWRP https://dl.twrp.me/athene/ or shrep's TWRP 3.1.1 https://xdaforums.com/moto-g4-plus/development/recovery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337 )

You'll only likely bootloop if you attempt to flash TWRP without unlocking your bootloader or if you flash root before ElementalX. If you proceed in the order you described, you should be okay.

Be aware that requesting the unlock key voids any remaining warranty with Motorola and unlocking your bootloader wipes your device; back up your data and important files before proceeding. Also, if you have a SD card as internal storage, you may lose your encryption key in the process and thus lose access to the SD card until you re-format, so back up your SD card too if you have one as internal storage.

---------- Post added at 03:19 AM ---------- Previous post was at 03:12 AM ----------

I just tried that app on a XT1642 (NPJS25.93-14-13, ElementalX 2.0 and magisk 15.3) and I got the missing root permissions error. However, it's an app from 2013, so quite old.

You may wish to look into Kernel Adiutor (free) or EX Kernel Manager (paid) for alternatives to have kernel control over your device. They're much newer and if you've rooted with a custom kernel, should have better control.
[Moto G4 Plus Questions & Answers] hiteshdusane:
Which is the best call recorder app for Moto G4+ ??
[Moto G4 Plus Questions & Answers] Ekaksh Janweja:
When will lineage os 15.1 arm 64 official arrive for Moto g4 plus ???
[Moto G4 Plus Questions & Answers] strongst:
This cannot be answered clearly. When there's someone who wants to become a maintainer. Maybe you?
[Moto G4 Plus Questions & Answers] Ekaksh Janweja:
Who is a maintainer
[Moto G4 Plus Questions & Answers] echo92:
A maintainer is a developer who is happy to build and maintain a particular custom ROM. For Lineage, you'd need to ensure your build conforms to the Charter that the core Lineage team have set out https://www.xda-developers.com/lineageos-device-support-requirements-charter/

the lineage 15.1 build that's currently around appears to have permissive SELinux, so isn't allowed to be official, and besides, official builds generally do not allow you to add major features without the core team agreeing. Besides, there's nothing wrong with unofficial builds, and sometimes the unofficial builds are updated more frequently.

So if you'd want to see official Lineage, as strongst has mentioned, you could become a developer and submit your working builds for approvals, wait for someone else to step up to become a maintainer or be content with the unofficial ROMs we have. I've not seen maintainers for official Lineage 15.1, not sure if rahulsnair is interested.
[Moto G4 Plus Questions & Answers] Ekaksh Janweja:
I don't know to build a custom rom???
[Moto G4 Plus Questions & Answers] Vivek Singh bharanta:
Any suggestion to for portrait mode on moto

G4 plus
[Moto G4 Plus Questions & Answers] strongst:
Suggestion for you https://xdaforums.com/moto-g4-plus/development/rom-resurrection-remix-n-5-8-0-t3507275/post75698192
[Moto G4 Plus Questions & Answers] martinisok:
After trying everything I found the only thing that worked was boldbeast. Had to buy not cheap either.
[Moto G4 Plus Questions & Answers] tcpcd:
hello

can i directly flash motorola 64 bit oreo rom on my coolpad note 5 which is based on 7.0??

both mobile specification is same. but coolpad dont have oreo. it have only nougat 7.0 arm64
[Moto G4 Plus Questions & Answers] strongst:
Nope. Script won't allow this in first instance and the device three is different. Don't do this please!
[Moto G4 Plus Questions & Answers] tcpcd:
ok

any other moto g4 rom available which is based on nougat 7.0 and arm64?

so i can try to port and flash.
[Moto G4 Plus Questions & Answers] strongst:
Have a look at this great table https://xdaforums.com/moto-g4-plus/how-to/oreo-roms-table-t3717226 but since the device isn't released with arm64 stock nougat you won't find one, only Oreo since there was twrp and device tree for 64bit from vache/nikit.
[Moto G4 Plus Questions & Answers] tcpcd:
thanks
[Moto G4 Plus Questions & Answers] IronTechmonkey:
I'm sorry to be so direct but the answer was explicitly stated by me and described at the linked page, neither of which you seem to have read at all. It should also be noted that if you had done any web searching you might have found the answer. If you wont bother to read answers that are spoon fed to you then you should get familiar with searching;). Also, please let's keep this stuff out of the development thread it was dumped on an actual report of a recent regression.
[Moto G4 Plus Questions & Answers] rahulroy.e1004:
I installed pixel experience on my Moto g4 plus...but I don't seem to find any stock camera app for it...

Most stock apps for nougat rom...but I need for 8.1

Any suggestion/help appreciated [emoji5]
[Moto G4 Plus Questions & Answers] keval3492:
Some basic information .... about moto g4 plus installation of custom ROM

Ya I know this is the basic stuff but I want to know in deeply way ,so currently I am using moto g4 plus (2016) on Indian variant.

1) i unlock my bootloader and install twrp recovery ,so I want installing custom ROM ,so it is required root or not?

2) can I install custom ROM without PC?

3) I am on nought,so if I want install custom ROM ,what backup I must take?

4) if I flash custom ROM than my data on internal is erase?

5) what is official and unofficial custom ROM?

Please ans...thanks in advance
[Moto G4 Plus Questions & Answers] rahulroy.e1004:
1> u just need to unlock bootloader and install twrp...no root needed

2> yes, once u installed twrp u can flash it directly using twrp

3>backup all your private stuffs and before installing the rom make sure u have made a backup of your current stock room using twrp

4>if u want to do a fresh install then u have to remove your internal(not usb or external) but even if u don't then u would be fine(unlocking bootloader will wipe all your data)

5>official ROMs are ROMs which are officially maintained by the project team...as all these projects are open source anyone is allowed to modify it by their own....when someone modifies it, it becomes unofficial and you are completely bound for the updates and all to the developer of the unofficial rom..[emoji106]
[Moto G4 Plus Questions & Answers] keval3492:
I backup using twrp at internal storage but when I open my file manager in twrp folder it shown nothing ,where is backup is done???
[Moto G4 Plus Questions & Answers] strongst:
The file oder is TWRP, it's in internal storage and has sub folders. But maybe you selected external sd card?
[Moto G4 Plus Questions & Answers] keval3492:
No I selected internal , because backup is 6 GB and sd has 2 gb
[Moto G4 Plus Questions & Answers] strongst:
Maybe insufficient drive space? What's the output of the log shown in twrp? You can use tools like this https://play.google.com/store/apps/details?id=com.google.android.diskusage to see where's a backup located(big files).
[Moto G4 Plus Questions & Answers] keval3492:
I clear my sd card and again take twrp backup and when I open file manager I show whole backup but earlier backup of twrp in internal storage is not shown but in twrp recovery it is shown ,so I deleted.

---------- Post added at 12:49 PM ---------- Previous post was at 12:47 PM ----------

In twrp recovery when I tap backup ,some file named system image is not check and I checked this and take backup,it is necessary???? instead of cache I take all backup
[Moto G4 Plus Questions & Answers] vtatarin:
Battery

Hi, I know that maybe it's not the right place.

I wonder what ROM is working better today in battery issue?
[Moto G4 Plus Questions & Answers] AnubhavKumarc:
Is there any Oreo ROM which supports chop chop gesture? I wanted to switch to Oreo for my daily driver but I use chop chop way too often and don't want to lose it.