yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] Arsh_libra:
Moto G4 Plus overheats and lags because of camera usage.

Whenever I open my camera and start shooting pictures or record a video, if I keep the camera app open for a minute, my phone heats up drastically and it lags big time. I have to wait for the device to cool down a little for the camera to record again. If I'm recording during this lag, my recorded video also has lags in it.

I've tried the disabling the Camera tuner fix, factory resetted my device twice.

Any help would be appreciated.
[Moto G4 Plus Questions & Answers] ramprabhu19:
All the time, mobile standby sucks more battery. I did the clean flash and never used any modification apps , never changed the kernel. Even after 4 cycles of charge this remains the same. Am in the latest version of invicta os 4.10.
[Moto G4 Plus Questions & Answers] strongst:
You have all the time deep orange signal, that means nearly no mobile coverage hence your amplifier has to drain more juice from your battery to get connected to the cell tower.
[Moto G4 Plus Questions & Answers] khhurafaati:
I am using this ROM from two months now, and its quite impressive. It has many features but the phone heats like anything. It reaches 45 degrees even if i use youtube for like 20 minutes. Apart from that the battery drains quickly too.

The phone automatically restarts. It occurs a minimum of twice a day daily.

Sometimes the UI stops working and i lose tge notification bar and navigation bar and the phone hangs. The only option then i have is to do hard boot.

Perhaps the developer team should work on creating a efficient ROM than just making a ROM filled with features and no efficiency. What will we do with the features if the battery drains quickly.

If the draining was bit slow it was okay but if we unplug it from 100% and keep it idle for few minutes, we lose 3% just like that.
[Moto G4 Plus Questions & Answers] strongst:
Which rom you are referring too? You didn't say which one you use.

Also give some more details of your device, gapps, other apps and tweaks. Are you monitor with better battery stats to see which processes are active while the device heats up?
[Moto G4 Plus Questions & Answers] khhurafaati:
My device is Moto g4 plus

ROM Ressurrction Remix v5.8.4

Open Gapps Athene

I have very few application installed and no substratum skin too, but still it drains
[Moto G4 Plus Questions & Answers] strongst:
Never faced such a problem with 5.8.4. Which gapps packed is installed(pico, mini etc.) and also did you clean install or did you just dirty flash this version of the rom?

I would recommend you to do a clean installation of the latest 5.8.5 version with pico gapps or beans gapps mini and check your third party apps. And as mentioned before, make some monitoring with better battery stats(process) what's going on in the background while the device heats up.
[Moto G4 Plus Questions & Answers] NiranjanS:
[Workaround]Reboot Issue Fixed

Thanks for your help Strongst.

Here's a update from my side. Might be helpful for other members who might face similar issues.

After keeping my device with repair center for 2 weeks, they couldnt source the replacement fingerprint part. Hence took it back from them and went to a local repair shop.

Removed the clip where the original fingerprint hardware is tucked in. And the phone behaved normally without fingerprint hardware attached. So all we did was cut the fingerprint flex cable as shown in the image below.

This has solved the reboot issue for me.

In a nutshell, my device is working as normal without fingerprint hardware attached.

[IMG="Image Source - Witrigs Teardown Video"]https://dl.xda-developers.com/4/2/9/1/3/5/5/FP_Issue.jpg?key=SuhuMChTsCU_lf27rZjKXw&ts=1507049710[/IMG]
[Moto G4 Plus Questions & Answers] strongst:
Thanks for the information. Strange that the fp sensor triggers reboot :rolleyes: btw:You can buy a new fp sensor easy on the internet for below $5 http://www.witrigs.com/oem-fingerprint-scanner-flex-for-motorola-moto-g4-plus
[Moto G4 Plus Questions & Answers] NiranjanS:
Strange indeed. Now that the device is working and I can live without a fp sensor. After all, been living without it for all these years :laugh:

Since changing fp sensor requires to remove the display, dont think its worth the risk on a 1.5 year old device.

I am trying to find a logical reason as to why hardware failure is triggering a crash.

So far, I can pinpoint these apps who check for fingerprint hardware - Play Services and Settings (Lock screen)
[Moto G4 Plus Questions & Answers] strongst:
[MENTION=5230119]NiranjanS[/MENTION] if you need a good video guide for replacing the fp sensor somedays https://de.ifixit.com/Anleitung/Moto+G4+Plus+Fingerprint+Sanner+Replacement/72510
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Bro i want a custom rom for my device. Plzz suggest me one which have better battery optimisation and having zero bugs.
[Moto G4 Plus Questions & Answers] strongst:
That all depends on YOUR usage behavior and if you want customization or not that much or need features. Try official ressurection remix, InvictaOS or any other stock based rom. Then you know what suits your needs.
[Moto G4 Plus Questions & Answers] naveenantony:
I have updated to the latest security patch I can't root my device please help by giving the fastboot files link. Can I root my device with Android studio?
[Moto G4 Plus Questions & Answers] strongst:
Which fastboot files do you need? And why you can't root it? Which latest patch? Stock roms need to be rooted using ex kernel.
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Actually i need my camera at its best with no bugs. Which rom suits this criteria. I need good battery backup too.

I posted a thread regarding the problem of rear camera in stock rom. After rooting stock i am experiencing improved battery backup. but i hate the problems with my camera. :(
[Moto G4 Plus Questions & Answers] arka997:
I am using moto g4 plus xt1643 indian variant with 3 gb ram.in recovery mode my model is showing as athene.the moto g4 plus model is athene_f and the moto g4 model is athene.is my software and bootloader ok and legit or have i flashed the wrong stock rom?
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Just for knowledge:

When flashing a stock rom plzz be sure that it is of the latest security patch level. If you somehow downgraded your stock and attempt an ota update on it. Then your phone may got bricked. So if you flashed the stock rom plzz be sure it is on latest security patch level. And do not try to install an ota update on it.
[Moto G4 Plus Questions & Answers] naveenantony:
I need the zip file which contains files for rooting I only have the fastboot.exe
[Moto G4 Plus Questions & Answers] strongst:
You should follow this guide for rooting a stock nougat rom: https://xdaforums.com/moto-g4-plus/how-to/guide-root-moto-g4-plus-supersu-android-t3587918 the files you need are also ich there(ex kernel, supersu)
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Do you have a unlocked bootloader?
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Bro plzz answer this?
[Moto G4 Plus Questions & Answers] strongst:
I gave you already recommendations. Just test them. You can also install stock Motorola camera on custom roms if you want.
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Can i calibrate camera flash in stock rom?
[Moto G4 Plus Questions & Answers] andrescm:
Hi guys. After manually installing a newer version of Google Play Store and Google Play Services, it seems I borked the location history funcionality. I mean it has stopped logging locations since that day, even though location is on, GPS is working fine and location history is on (the last reported location is dated September 29th). I can only relate this problem to this fiddling with the Play Store APK. Can anyone please send me stock APKs for both these programs?. I'm using an XT1641 on Android 7.0 (December 2016). Thanks a lot!!!.
[Moto G4 Plus Questions & Answers] Srinjay Bhowmik:
Currently I'm on Lineage 15.0 with stock gapps.. But I'm having trouble with the Google Camera.. It takes green solid photo by the front camera(one photo is normal and another photo is green and again same).. I'm using Google Camera_V2.7.008.apk.. How to solve it?? please help!!!
[Moto G4 Plus Questions & Answers] strongst:
On apk mirror you can download older versions.

---------- Post added at 07:10 AM ---------- Previous post was at 07:05 AM ----------

Use the provided snap camera instead of the Google Camera. Los15.0 is still under development and fixing 3rd party apps isn't one of the major goals at the moment ;)
[Moto G4 Plus Questions & Answers] sohail_23:
Hii can anyone help me out, i am facing this problem from the start not from when i bought the device but before rooting also i am currently on invicta os newest build viper4fx installed and lightning blade profile my problem is when i use my phone for a long time it automatically shutsdown.

Should i provide a logcat for my problem.

Thanks for the help.

---------- Post added at 11:56 AM ---------- Previous post was at 11:44 AM ----------

Here is the logcat.

https://drive.google.com/file/d/0B2tAJVhtCgQKckx4Tm82cXYxOHM/view?usp=drivesdk
[Moto G4 Plus Questions & Answers] strongst:
Try to clean install: only rom and gapps. No other modifications like viper4android xposed module.

How often does it shut down within one week?
[Moto G4 Plus Questions & Answers] sohail_23:
Sometimes it shutsdown 3-4 times a day.

---------- Post added at 02:05 PM ---------- Previous post was at 02:03 PM ----------

Sometimes it shutsdown 3-4 times a day.

And i had already tried of clean flash.
[Moto G4 Plus Questions & Answers] strongst:
If you really have only InvictaOS and gapps installed without any 3rd party apps or mods it seems like a hardware problem. You can just install another rom to verify that.
[Moto G4 Plus Questions & Answers] andrescm:
Yes I know, I tried that, sorry I didn't mention it, but since it didn't fix the location history logging problem I was trying to get the exact right APK, no matter if it was older, and let it be upgraded automatically. Anyway, I remembered that updating the Play Store APK was not the culprit because I did that two days before the location history actually stopped working.
[Moto G4 Plus Questions & Answers] 1chrome:
Hey guys,

Device: XT1643 Indian Variant 32GB

What I did: I restored a TWRP backup of stock ROM which I got from another XT1643 user (but also restored FSG, Firmware, OEM, Persist, etc) that was in the backup instead of just System and Boot. This was a stupid idea.

Problem: Now I've lost my IMEI (it shows 0) and my baseband is different (ends in "a") instead of "r" for Indian variants.

I've also lost signal connectivity. SIM is detected. No Network but.

I've tried pushing the modem files manually via adb, flashed different stock firmware via fastboot, also tried flashing only the modem parts via fastboot - no luck.

Could you please help me out? I've no idea what to do.
[Moto G4 Plus Questions & Answers] echo92:
Saw your PM btw :) Dunno why the PMs ate most of your message but oh well...

Did you try this procedure by lCrD512 https://xdaforums.com/showpost.php?p=73977941&postcount=139 to attempt to repair the hw and fsg partition? Might be worth flashing the hw, fsg and modem images from that then re-flashing the latest stock ROM (or maybe the modem files) as noted in that post.
[Moto G4 Plus Questions & Answers] 1chrome:
I did try that about 5 times.

I do have FP and SIM detection. I think the baseband is the culprit here. Once I restore that to its original one I'm assuming I'll have signal back. Not sure but.

Any other ideas?
[Moto G4 Plus Questions & Answers] echo92:
Hmm, this is a tricky one. When you re-flashed the modem via fastboot, were modemst1 and modemst2 erased as well, just to clarify?
[Moto G4 Plus Questions & Answers] 1chrome:
Yes that command was executed along with modem flash.
[Moto G4 Plus Questions & Answers] echo92:
<duplicate post...>

---------- Post added at 11:18 PM ---------- Previous post was at 11:12 PM ----------

Thanks, I'm gonna have a think on this one. As you've already done the other normal troubleshooting steps, I'm not sure how to progress. Don't suppose you've got a old TWRP backup lying around previously made?
[Moto G4 Plus Questions & Answers] arka997:
Which is the best custom rom for moto g4 plus?i prefer stability and performance
[Moto G4 Plus Questions & Answers] night0crawler:
Where can I find Official Xposed Framework for Nougat. Is it out yet or not , if it is available, has anyone tested whether it's stable or no?t
[Moto G4 Plus Questions & Answers] echo92:
It's out for Nougat: https://xdaforums.com/showthread.php?t=3034811 v3.1.2 appears to be the latest.

Members have tested it on our devices and appears to work on stock ROM with ElementalX kernel : https://xdaforums.com/moto-g4-plus/how-to/xposed-framework-moto-g4-plus-t3398332/page7 EDIT - seems hit and miss for now...

Be aware that flashing xposed may trip SafetyNet and you may not be able to use certain apps, and that modules may still need to be updated to Nougat.

Also, if you had the unofficial Xposed, uninstall that first (or backup and do a clean flash/restore from a backup before Xposed was installed).
[Moto G4 Plus Questions & Answers] night0crawler:
Ah! Got it. Thanks. Well I'm using Resurrection Remix on my Moto G4 Plus. Guess I'll wait a little more. Cheers
[Moto G4 Plus Questions & Answers] strongst:
There's no BEST. only one that fits your needs. Most of them are stable and performance is also very good. You can try them out and decide.
[Moto G4 Plus Questions & Answers] sohail_23:
hii guys

can anyone help me out i am on currently orion os that was build by silesh in that rom silesh has removed live display can anyone tell me how I can get it back I am facing screen burning issues and I don't want other apps or change the colors value.

Thanks.
[Moto G4 Plus Questions & Answers] strongst:
You can't install live display. And for screen burn you need an app or kernel settings to adjust rgb values.
[Moto G4 Plus Questions & Answers] andres88_:
Hello guys, I'm looking for extreme battery life, which rom do you recommend?
[Moto G4 Plus Questions & Answers] strongst:
https://xdaforums.com/moto-g4-plus/help/help-thread-question-noob-friendly-t3526598/post74047465
[Moto G4 Plus Questions & Answers] sohail_23:
I am on stock ROM having issues with brightness it is not as much as bright I want it more brighter.
[Moto G4 Plus Questions & Answers] strongst:
You mean the adaptive brightness or manual? Do you use ex kernel to adjust the values or inside the rom?
[Moto G4 Plus Questions & Answers] sohail_23:
Inside the ROM and manual brightness
[Moto G4 Plus Questions & Answers] sohail_23:
Thanks for reply but I found a solution it was because of vegito kernel
[Moto G4 Plus Questions & Answers] Illiax:
How can i tell which version of xposed should i download ? my phone is xt1641 . should it be arm, arm64 or x86 ?
[Moto G4 Plus Questions & Answers] echo92:
You need arm. Our devices run 32 bit OS on a 64 bit CPU and are thus on the arm architecture.

Arm64 is for 64 bit OSes - won't work on our device.

x86 is for Intel and AMD chips. We have Snapdragon (ARM) chips.
[Moto G4 Plus Questions & Answers] Illiax:
Thank you for your clear response!!!
[Moto G4 Plus Questions & Answers] strongst:
That's why I ask if you using a kernel...
[Moto G4 Plus Questions & Answers] jaxx08:
Which ROM has best battery life,for me resurrection was bad & I am using beanstalk which seems good,but customization is less
[Moto G4 Plus Questions & Answers] strongst:
If you search in the rom threads for "sot" and or "battery" you find answers with detailed battery information from members.

I'm getting more then 5h sot in InvictaOS, official RR and Los 15.

So it's not a rom problem for me. There's no rom that has everything flitted just for you. You should test some roms and even check your apps/mods/settings, cause they are mainly the battery drained #1 and not the rom.

Record your usage behavior with "better battery stats" and wakelock detector over one charging period beginning with 100% and post your results here. I will help you.

Oh, and post every detail of your apps, settings, mods, Rom.

Today someone complained about screen brightness... He was using a custom kernel...
[Moto G4 Plus Questions & Answers] jaxx08:
But In Invicta Os,Beanstalk & Aokp I Got Nice Battery Life With All The Same Apps That I Installed But They Have Some Bugs Expect Invicta Os
[Moto G4 Plus Questions & Answers] sohail_23:
Hii can someone tell me how I can change the runtime in invicta os?
[Moto G4 Plus Questions & Answers] strongst:
What do you mean exactly by runtime?
[Moto G4 Plus Questions & Answers] sohail_23:
Changing from dalvik to ART is it possible in nougat?
[Moto G4 Plus Questions & Answers] strongst:
Since lollipop onwards dalvik is the new runtime instead of art.
[Moto G4 Plus Questions & Answers] Hari Haran:
[MENTION=613506]strongst[/MENTION] here's the full log and dumps from bbs

:(
[Moto G4 Plus Questions & Answers] strongst:
Ok, seems that whatsapp and calendar is keeping your device incredibly awake: com.whatsapp (): Wakeups: 52 (22.3 / h)

You can compare with mine attached by searching for whatsapp. I have only half of that. Has you already tried a clean installation of rom + pico gapps without any settings changed and without any 3rd party apps?

What settings of the rom itself do you change? I see you blocked wakelocks, what else?
[Moto G4 Plus Questions & Answers] Hari Haran:
Yes I've blocked wakelocks. And some alarms of Facebook app. Haven't blocked anything else. And I'm using mini gapps. Not Pico. But I've clean installed rom.

Kernel settings : applied GlassFish profile

And look at the Andorid os! It's on top with 580+ wakelocks / min
[Moto G4 Plus Questions & Answers] strongst:
I have more then you. Mine has 788(2.1/min), don't worry about.
[Moto G4 Plus Questions & Answers] Hari Haran:
And you think it's not draining?
[Moto G4 Plus Questions & Answers] strongst:
Nope, look at my bbs dump:

Battery Info ============ Level lost [%]: Bat.: -16%(100% to 84%) [2,8%/h]

Ih,and your baseband isn't up to date :good:
[Moto G4 Plus Questions & Answers] Hari Haran:
How do I update it?
[Moto G4 Plus Questions & Answers] strongst:
By flashing latest stock rom through fastboot https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138

You need to backup everything. And you can check if the drain persists on stock rom(check for bad battery).
[Moto G4 Plus Questions & Answers] Hari Haran:
Thanks ? will do

---------- Post added at 04:39 PM ---------- Previous post was at 04:21 PM ----------

Is there any prerequisite for this? Or following the op is enough? And I don't want bootloader to be locked. IT'S its also fine If I don't loose twrp.
[Moto G4 Plus Questions & Answers] strongst:
Nothing to do before. Just follow op and skip the line to lock bootloader.

You loose twrp. But just install it like the first time after the rom. It's no problem.
[Moto G4 Plus Questions & Answers] Hari Haran:
Cool
[Moto G4 Plus Questions & Answers] rajatgupta1998:
Hmm, there might be some sort of a slight confusion; since Lollipop 5.0 onwards the ART runtime replaces Dalvik as the platform default. Dalvik and ART still play their roles though. And as of now in Nougat 7.0 and above ART is optimized more. ;)

Read more here:

https://developer.android.com/about/versions/android-5.0-changes.html#ART

https://source.android.com/devices/tech/dalvik/configure#how_art_works

But yea, changing the runtime from ART to Dalvik and vice versa just like in KitKat 4.4 isn't possible.
[Moto G4 Plus Questions & Answers] night0crawler:
Hello guys. I'm using Moto G4 Plus Android 7.0 Stock. I rooted it by flashing Elemental X and then flashing Super SU v2.79 SR3. Magisk didn't work for me. I flashed Magisk 14.0 it worked for a while but later it started showing no root access when I checked in Magisk Manager. Earlier I had a root access. Anyways I decided to flash Lineage OS but after flashing and successful system start I observed that root is not enabled in Lineage OS. I want to know how can I root Lineage OS. Is it okay to use the Super SU v2.79 SR3.ZIP file to root Lineage OS, that I used for rooting Stock ROM?
[Moto G4 Plus Questions & Answers] strongst:
If you mean official LineageOS 14.1, then either use the LineageOS super user from the official website or supersu you mentioned. Magisk is also working.

LineageOS doesn't come pre-rooted like other roms or former cyanogenmod. You need to flash the root manager of your choice.
[Moto G4 Plus Questions & Answers] ramansehra:
Hi there

Again I am getting the weird problem of download folder contents disappearing.

This timepiece there is no temporary folder but 2 download folders are created (one starts with capital D and other with small d).

If i search for a file name which is inside the folder file is found but it is showing 0 bytes of size.

In the afternoon file contents were showing but in the evening folder is empty. I have done nothing.

I sear for file name vit, it is located in download folder but showing 0 bytes. Same with other files also.
[Moto G4 Plus Questions & Answers] strongst:
You have a really strange problem :rolleyes: what mods/apps you're running along with RR 5.8.5? Download Managers? A clean installation should be tested too.
[Moto G4 Plus Questions & Answers] ramansehra:
Yeah clean flashed again recently.

I am using hebf optimizer, greenify, glass fish profile in ex kernel manager and stock kernel.

Rest everything is stock i.e everything that came along with ROM.
[Moto G4 Plus Questions & Answers] night0crawler:
Hello. Right now I'm using TWRP 3.0.2.0 on my device, is it possible to update the custom recovery to the latest version? If yes, how can I do that?
[Moto G4 Plus Questions & Answers] naveenantony:
No I didn't unlocked it yet need to do so
[Moto G4 Plus Questions & Answers] ADITYA_KUMAR:
Yes , if you want to root your device then should have to unlock the bootloader of your device. And for your information unlocking bootloader voids warranty. If you are still in warranty period and don't want to void it, then i recommend do not try to unlock bootloader. After warranty period you can unlock bootloader. :)
[Moto G4 Plus Questions & Answers] strongst:
Just download the newer recovery and flash the .img within twrp into recovery slot(install image).
[Moto G4 Plus Questions & Answers] night0crawler:
Today I got this system update. I didn't install the update as my device is stock 7.0 & rooted and running on Xposed. So I thought I should ask you guys before doing anything. So should I install it? If yes what will happen after this? Will my device remain rooted and with Custom Recovery or not?
[Moto G4 Plus Questions & Answers] strongst:
Since your device has a custom recovery installed, the installation of this ota will fail and your device will boot loop.

Never install a ota update unless your device is fully stock!
[Moto G4 Plus Questions & Answers] night0crawler:
Hey how can I stop this visualisation from being shown on lockscreen while playing music.
[Moto G4 Plus Questions & Answers] strongst:
Settings - lockscreen - music virtualization. But since you didn't mention for which rom... It depends.
[Moto G4 Plus Questions & Answers] night0crawler:
Ah! I'm sorry. I forgot to mention ROM. It is Lineage OS 14.1
[Moto G4 Plus Questions & Answers] Harshan01:
Can anyone suggest a rom for gaming and performance in their opinion?
[Moto G4 Plus Questions & Answers] strongst:
Have a look at the performance measurements https://xdaforums.com/moto-g4-plus/how-to/rom-benchmarks-t3575807 that's a good overview. In general RR with performance setting within spectrum is good also stock with ex kernel