yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Guides, News, & Discussion] Aashakmeeran:
I have flashed thw moto g4 plus stock rom correctly. Now i got the network and fingerprint. All i got. Except Camera and flashlight.

---------- Post added at 02:02 AM ---------- Previous post was at 02:01 AM ----------

In another post, the gave me a hardware partition image for network and fingerprint. Like wise, is there is any hw partition or patch for camera and flashlight???

---------- Post added at 02:06 AM ---------- Previous post was at 02:02 AM ----------

If the built.prop is not good, then the front camera can works, but here both is issue. This issue is after frp lock. Are you telling that it is sure for build.prop????? If it is a problem, how to solve it??
[Moto G4 Plus Guides, News, & Discussion] echo92:
Again, as I asked you in your other posts in the Unbricking thread (for those curious, here: https://xdaforums.com/showpost.php?p=75025872&postcount=516 ), how certain are you that the cameras/flashlight were working before the FRP unlock in the repair shop? Did the eBay seller show you photos/proof that the device was working (cameras/network included), or did you use the cameras yourself? Nothing you've mentioned so far suggests the cameras were working prior to you receiving the device, except the information from the shop, did you test them before the FRP reset? You mentioned the shop told you the cameras were good, which shop - the repair shop or the seller? I'm not convinced that the cameras were working when you got the phone (FRP might have stopped you from testing) and I'm concerned the eBay seller might have sold you a damaged device and left you the bill to repair it, or the FRP unlock caused damage that can't be easily repaired.

As you mentioned in your other thread, your bootloader is locked, so the build.prop being edited is unlikely. As much as you don't wish to hear this, a service repair or returning it to your eBay seller might be your options.
[Moto G4 Plus Guides, News, & Discussion] Aashakmeeran:
I got this device before a year, it means 8to9 months. Before frp, it was working fine. But after frp, it struggles. The ebay delivered a goos product with good quality. But now im getting this bug.

---------- Post added at 04:26 AM ---------- Previous post was at 03:54 AM ----------

I got this device before a year, it means 8to9 months. Before frp, it was working fine. But after frp, it struggles. The ebay delivered a goos product with good quality. But now im getting this bug. Actually what is built.prop????
[Moto G4 Plus Guides, News, & Discussion] Epiklyepik:
Now im alnost 90 percent sure..your camera is broken/damaged or being jammed. Provided you have locked your bootloader, that rules out the option of you messing with buildprop. I agree with echo that ypur options are to get your camera checked. Try unjamming by banging it on your knee. I know you it happened only frp but any drop to the phone can cause this.

Ps: i highly disagree with ebay provides good quality. I ordered a case for note 3 anf they gave me one for like huawei or some other phone. Im not saying all are bad products but some are as ebay is for wveryone to sell stuff.

Its not a bug if on stock..
[Moto G4 Plus Guides, News, & Discussion] Aashakmeeran:
How to unjamm it by knee???

---------- Post added at 05:02 AM ---------- Previous post was at 05:01 AM ----------

Can i open it and refixing of camera can solve this???
[Moto G4 Plus Guides, News, & Discussion] Epiklyepik:
Sorry about my bad choice of words. By unjam by knee, just bang your camera on your knee area giving the phone a good impact... Pretty much drop it on your knee without breaking it.. It may sound silly but that's how I fixed same issue with note 3. Don't break it.

I can't tell you that for sure. I've never done it. Sorry maybe someone else with experience could tell you. Replacing the camera is one option but maybe it could be the other parts. I don't know what parts are in a phone so leave that to someone experienced
[Moto G4 Plus Guides, News, & Discussion] Aashakmeeran:
I think, as the moto g4 has 13 megapixel camera and g4 plus has 16 megapixel camera... But in about phone it shows Moto G4 plus. The camera partition could be as moto g4......:confused:
[Moto G4 Plus Guides, News, & Discussion] Epiklyepik:
It could be .. but again, I don't know a way to find that out. Maybe [MENTION=7970352]echo92[/MENTION] any suggestions? Btw, have you tried disabling the camera and unistalling updates, wiping data and all that?
[Moto G4 Plus Guides, News, & Discussion] Aashakmeeran:
Yaa i tried alll of these including factory reset.

---------- Post added at 02:33 AM ---------- Previous post was at 02:32 AM ----------

Camera is not working for sny anything for ex, WhatsApp, Facebook, Instagram, etc.., it says can't start camera.
[Moto G4 Plus Guides, News, & Discussion] Epiklyepik:
Hardware issue for sure. I'm out of ideas on my side. Sorry I could't be any help
[Moto G4 Plus Guides, News, & Discussion] Aashakmeeran:
But my doubt is, if the rear camera and flashlight hardware is problem, then the front camera should be opened right??? But even front camera is also not opening
[Moto G4 Plus Guides, News, & Discussion] Epiklyepik:
I know this is far fetched but maybe the hardware connenting both cameras is damaged. I agree it is unlikely of both cameras to be broken at the same time.

But

Maybe your front camera is not broken.

How do you try and open your front camera? Since I think that trying to open your front camera ( instagram) directly, apps still have to try and open the back camera first and then switch it to the front camera. ( this process is invisible since you only see an image once your camera is ready ). When the back camera refuses to cooperate, the front camera cannot be openned and thus giving you a broken message. Therefore i agree with you about both not being broken.
[Moto G4 Plus Guides, News, & Discussion] Aashakmeeran:
I think the camera strip can be disconnected from motherboard......???????? Ok anyway thank you for your patience and pleasure....
[Moto G4 Plus Guides, News, & Discussion] strongst:
I think it's going a little bit off topic since 2 pages here ;) please create a new thread in Q&A section, but I don't think anybody can help you further with your problem :rolleyes:
[Moto G4 Plus Guides, News, & Discussion] Aashakmeeran:
Ooh ok no problem.. thanks. Can u suggest me the page of thread for this issue???
[Moto G4 Plus Guides, News, & Discussion] strongst:
We'll, the search function offers one thread with similar problem(yes, it's old) if you want to post your experience please continue there https://xdaforums.com/moto-g4-plus/help/camera-error-claim-warranty-device-t3511971
[Moto G4 Plus Guides, News, & Discussion] Icesmash:
Confirmed! Working on XT1644 Retail USA

I was scared out of my mind of accidentally locking my bootloader or flashing my bootloader to an incorrect version.

The errors in the setup also made me go nuts saying the bootloader & gpt were outdated. However everything went very fast & efficiently. I mainly wanted to revert to stock due to custom rom's having issues with disabling the battery notification led that seems to come on whenever it feels like & the signal is either not displayed properly or is much weaker on custom roms.

Is it possible to install Twrp, Elementalx Kernel, & Magisk 15.2 without any issues on this stock rom/firmware?

Also, how can I take the Official Update while keeping my unlocked bootloader?

EDIT: DO NOT UPDATE WITH THE OTA IF YOU CHOOSE TO FLASH THIS FIRMWARE IT WILL DOWNGRADE YOUR BOOTLOADER & GPT.bin.

THIS IS THE 2016 December Firmware NOT 2017 December Firmware I HARD BRICKED MY DEVICE BY UPDATING VIA THE OTA. SAVE YOURSELF THE HEADACHE THIS IS OUTDATED.

They really should put the year in somewhere to avoid this type of confusion.
[Moto G4 Plus Guides, News, & Discussion] H3SH:
It didnt locked my bootloader

followed the process 2-3 times. Im still getting the same results... Im on stock Os now but still with an unlocked bootloader. :( :(
[Moto G4 Plus Guides, News, & Discussion] echo92:
What device do you have?

Bear in mind this is the December 2016 stock firmware, and you cannot re-lock your bootloader with older stock ROMs than your current bootloader patch level. Attempts to do so should result in security downgrade errors/pre-flash validation errors, which should hint at that.

If you really want to re-lock your bootloader, have a look at flashing the latest stock ROM we have: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 Verify that it's for your device and for your region though.

However, bear in mind that re-locking will not restore your warranty. Depending on the fault and the service centre involved, you may get a repair.
[Moto G4 Plus Guides, News, & Discussion] Icesmash:
I made this mistake by thinking it was the newest December 2017 update but I was wrong and it was a year old.

I didn't see the year of the Firmware in the description when I downloaded did I miss it? Where can I look for it in the future because the hard brick was a pain in the ass.
[Moto G4 Plus Guides, News, & Discussion] echo92:
For this stock ROM, the images at the bottom of the post mention this has the December 2016 security patch.

Other than that, yeah, it's not explicitly clear what update this is if you're new to the forums. Best thing to do is ask us, or check the post timestamps, or search the thread to see if there's a mention of the security patch for this particular build.
[Moto G4 Plus Guides, News, & Discussion] tomcat-:
Hi there,

I have an unlocked sim UK version motorola g4 plus dual sim that i have unlocked the bootloader and installed LineageOS.

I'm following the instructions however at the end i'm still getting the warning screen about the bootloader and it still boots to lineageOS although all data have been wiped out

Would you know what's wrong?

Thanks

Update: I have managed to flash the stock ROM with the OEM Flash. It looks like the problem was with the OEM lock which is not working. Any ideas how i can get my bootloader locked again?

Update 2: Reading the above it looks like i have to flash a later version of the stock ROM as probably the LineageOS was using a later version of bootloader. Any idea where i can find the latest version

please?

Update 3: I have found the NPJS25.93-14-13 which i flashed and locked the bootloader. However i have no stock recovery now and i get a message "no instruction"
[Moto G4 Plus Guides, News, & Discussion] echo92:
1)How did your device get bricked, and did you use a blankflash to unbrick your device?

2)This stock ROM is too old for your device. Looking at the bootloader (B1:06), it looks like you had June/September 2017 firmware or used the June 2017 blankflash. This NPJ25.93-14 stock ROM is the December 2016 firmware, and is the reason you're getting pre-flash validation errors/security downgrade errors - the bootloader on your device will not allow a flash of an older bootloader.

I'd suggest flashing the NPJS25.93-14-13 December 2017 stock firmware: https://xdaforums.com/moto-g4-plus/how-to/stock-rom-npjs25-93-14-4-march-1-t3608138 Use the same commands as you have used now, do not re-lock the bootloader with the OEM lock commands.
[Moto G4 Plus Guides, News, & Discussion] xploder270:
Baseband is still ATHENE_EMEA_DSDS_CUST.

Telekom.de LTE works.
[Moto G4 Plus Guides, News, & Discussion] abhi212b:
What is new in this?? This is the same old method, except the ROM is changed.. that's it! There are atleast 3 same guides like this.. one of them is this https://xdaforums.com/moto-g4-plus/how-to/moto-g4-plus-xt1643-updated-signed-t3460695

why do we need to post the same thing again and again! :/

This is the default method to flash any ROM via fastboot and it removes all your user data and root... (did you mention this??)
[Moto G4 Plus Guides, News, & Discussion] aravindmj:
You will not be eligible for warranty because on generating the code for unlocking the IMEI number of the phone will be removed from those under warranty.
[Moto G4 Plus Guides, News, & Discussion] sakhura:
Its not a new guide can you point out where i have mentioned that this is a new guide its just the new version NPJ 25.93-14

And fyki people in XDA are not dumb that they don't even know that using erase user data and cache commands will wipe everything and for your knowledge skipping these commands won't wipe anything from the phone and let me also tell you that the thread you have quoted has noting to do with NPJ25.93-14 if you have a problem please don't visit the thread rather than telling other's what they should do

This is for people who want to upgrade to the latest version using fastboot and they can find the ROM and the method in one thread rather than searching in 100s of threads If you know how to do it good for you
[Moto G4 Plus Guides, News, & Discussion] abhi212b:
Its a NEW thread, I never said GUIDE. I don't know about people here are dumb or not, but yes, people come here when they don't know what to do and how to do...I know fastboot commands and therefore know data will be deleted, what about people who just download your bat file and just run it?? (trust me people do that a lot!). The thread quoted has to do with the method of flashing the ROM. I am not telling people what they should know, I am asking you to be clear about every aspect of your thread! Like you mentioned in the start that 'DO IT AT YOUR OWN RISK'.

And yes, there are 4 threads for the new ROM, most people had problems flashing from soak to official i.e. 25.93-11, but this is rather easier one.

Its not to say thread is useless, but just to tel you, include every aspect of it.. advantages and disadvantages of it.! :D
[Moto G4 Plus Guides, News, & Discussion] reef2009:
Hi guys,

Did someboy tried to update without dataloss?

So without "fastboot erase userdata".

UPDATE I tried and it works.

I've modded the flashscript.

deleted "fastboot erase userdata"

added betwean every line: Pause (so you can see if everything flashes okay)

Could somebody explaint what the folowing commands wil do?

fastboot erase customize

fastboot erase clogo

In my case. Modem isn't working good. I use Simpel on the dualsim G4Plus.

It seems after removing sim and some reboots, readded sim. it finds my provider again.
[Moto G4 Plus Guides, News, & Discussion] machina77:
Thank you so much, been trying to lock my boot loader for months... i can confirm XT1622 G4 bootloader re-locked with this method, great work!
[Moto G4 Plus Guides, News, & Discussion] Jplabti:
Does this ROM have bugs in 1644? Is stable as MM?
[Moto G4 Plus Guides, News, & Discussion] sakhura:
That's one of the reasons why a wipe is recommended when you flash stock to prevent bugs and crashes

fastboot erase customize (optional: will erase any customizations if ordered through motomaker)

fastboot erase clogo (optional: will erase the custom boot logo if ordered through motomaker)
[Moto G4 Plus Guides, News, & Discussion] sakhura:
It's stable it has some bugfixes for the bugs that were detected in 25.93-11
[Moto G4 Plus Guides, News, & Discussion] brau__lio:
Hi, I'm very new with Motorola smartphones, can someone of big heart confirm me if I can update my Moto g4 plus (XT1641) with this method? I bought it with a contract carrier so not factory unlocked. Please I'd really like to upgrade as I'm still on Android 6.0, security patch from may 2016 and when I search updates on settings menu I got a 'your device's software is up to date'.

Thanks in advance.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Others have it working on XT1641 devices (see the above quote from the OP), however your carrier may restrict updates to only ones it provides. I honestly don't know if it'll work, hoping others can comment.
[Moto G4 Plus Guides, News, & Discussion] hernaner28:
Why does the hardware version change from p2a to PVTB ?
[Moto G4 Plus Guides, News, & Discussion] hoffm59:
Sorry if I may have missed a point but will this script working to push my XT1642 currently on soak NPJ25.75-2 to NPJ25.93-14?
[Moto G4 Plus Guides, News, & Discussion] rajatgupta1998:
Yes it works for your variant.
[Moto G4 Plus Guides, News, & Discussion] sakhura:
It should work provided you have an unlocked international variant it does not work on carrier variants in short it won't work on devices locked by 3rd party carriers like amazon
[Moto G4 Plus Guides, News, & Discussion] sakhura:
It works on Xt1641 but not sure about the carrier variants as your bootloader may have locked by your carrier to stop it from side loading firmware.
[Moto G4 Plus Guides, News, & Discussion] hoffm59:
I've ordered mine from the Moto Maker Store so it's not carrier locked.

I read that my variant is supported. My questions points to my current build "NPJ25.75-2"
[Moto G4 Plus Guides, News, & Discussion] sakhura:
Yes it will work BTW what skip the lines earase customization and clogo if you have a custom message or any other customization from moto maker or else you special message and logo will get wiped to stock
[Moto G4 Plus Guides, News, & Discussion] hoffm59:
I can confirm it's working for XT1642 running NPJ25.75-2 (Soak Test).

Now I'm on NPJ25.93-14:

[IMG="Running NPJ25.93-14"]https://lh6.googleusercontent.com/lrkhNWOoljDOFnUGtyy7m5iXkBd-INj_do3B2U6EowPnqaNhZ_rYn8WGb6GIrNeqkzh-dSgHbMLUvzo=w1920-h1072-rw[/IMG]

[MENTION=6253411]sakhura[/MENTION] you saved my day :good:

But one question: is it possible to disable to bootanimation sound (Hello Moto). I nearly fall off my chair :D
[Moto G4 Plus Guides, News, & Discussion] ymopuri:
Thanks for the quick response echo92,

1) My idiot cousin borrowed my phone. used it for 2 months and returned it to me bricked. Not sure which firmware he's flashed earlier.

2) I will try flashing the December 2017 firmware today and update you.
[Moto G4 Plus Guides, News, & Discussion] ymopuri:
Update:

* Downloaded the stock firmware 14-13 from the link provided

* Ran the commands excluding OEM Lock. Device doesn't boot up

* Ran the OEM FLASH, OEM LOCK scripts

* Each command returned [OKAY] message.

* Bootloader is locked now.

* Device is bootlooping :(

#Edit: Attachment added
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, that's odd - do you still have the flashing logs from either script? Looks like from the bootloader screen the flash did not work completely. Although your bootloader is version B1:07 (matching that of the December 2017 firmware), the baseband is still .62R, which is from the December 2016/March 2017 firmwares...

Also, you would have locked the device bootloader again if you used the OEM LOCK script (hence the name) and the bootloader now reports OEM_locked, so I'm hoping you can still unlock the bootloader, else our options for repair might be limited. It may be that the bootloop is occurring because of the locked bootloader, or might be happening regardless.

Can I suggest:

1)Try to re-flash the NPJS25.93-14-13 stock ROM following the OEM flash commands. If you can, flash each command manually (copy the command to the ADB terminal, press Enter, wait for [OKAY], then copy the next command in sequence). Start from fastboot flash partition gpt and go from there.

2)Can I see the getvar all data from the device please?

a)Boot the device to the bootloader. Connect to your computer via USB.

b)In the ADB terminal, type 'fastboot getvar all' without quotes. Press Enter.

c)Copy the output and paste in a post here. You may wish to remove IMEIs from the output.

If re-flashing doesn't work (either on your computer or a different computer), we may have to consider the possiblity of a hardware fault, which would require a service repair. Depending on how old the device is, and the likelyhood the bootloader appeared to be unlocked, it could be an expensive repair :(
[Moto G4 Plus Guides, News, & Discussion] echo92:
Thanks for the info. Hmm, it looks like again, the flash should have worked but the device is not committing the flash properly.

Is this flash on the two computers with the original Motorola USB cable?

I'm starting to get the impression that there may be a hardware fault, hence why the device is failing to boot.

Can you try flashing TWRP (e.g. from here: https://xdaforums.com/moto-g4-plus/development/recovery-twrp-3-0-2-r3-moto-g4-g4-plus-t3494337) and see if flashing a custom ROM gets the device booting? I'm just wondering if flashing a custom ROM, after erasing /system, /data, Dalvik and cache in TWRP, may have better luck...
[Moto G4 Plus Guides, News, & Discussion] ymopuri:
1. Earlier I was trying using Micro-USB cable that came with MI Phone. Now that you think this might be a hardware issue, I now used the Moto provided Micro-USB cable that came with Moto E4 (I dont have the original G4+). Same result.

2. I have tried flashing all the 11 versions of the recovery from the above link. The device won't boot into recovery.

3. When I tried temporarily booting into recovery using "fastboot boot twrp_variant.img", Moto logo appears for a second and the devices keeps bootlooping.
[Moto G4 Plus Guides, News, & Discussion] echo92:
Hmm, if the Moto cable isn't working to flash, that's pointing towards the device that's really not happy. It's almost as though the flash memory is not committing the changes, I don't know if that means the flash chips on board are failing or whether it's something else.

As TWRP isn't flashing/booting, that's not good either - as this issue is persisting on stock ROMs and also not letting you boot TWRP, despite having an unlocked bootloader, this is looking like an issue for a service centre to fix. However, as the warranty is likely voided from an unlocked bootloader/unlock key request, you may have to pay :( Depending on the nature of the repair and the service centre, they may fix it without charge, but if they do give a quote, I leave it up to you whether it's worth the cost to repair or put the money towards a new device.
[Moto G4 Plus Guides, News, & Discussion] ymopuri:
Before I give up, I want to know a few things.

1. If I lock the bootloader again, would that make a difference in the quote from service centers?

2. The Firmware I downloaded from Google Drive didn't provide a checksum value to hash verify, maybe mine's corrupt ?

3. What If I try flashing a Custom ROM ?

PS: Thanks for being patient & supporting me.
[Moto G4 Plus Guides, News, & Discussion] echo92:
1)Hmm, it really depends on the nature of the repair and the service centre. It's been reported that some service centres would look at the paperwork and then take your device in for a warranty repair. However, as our devices have been out for a while now (formally released in May 2016), they may look at the IMEI in their database and it may show your device being unlocked previously, which would be a chargeable quote. Then again, they may see that there's no unlocked bootloader warning and maybe you could get your device repaired... It's worth a try to re-lock the bootloader.

2)Hmm, which stock firmware are you referring to, as the NPJS25.93-14-13 stock ROM is on AndroidFileHost, which usually provide you with a checksum when you download? https://www.androidfilehost.com/?fid=745849072291698845

3)For a custom ROM, you need TWRP to boot and be working (as that's how you'll install it) :(
[Moto G4 Plus Guides, News, & Discussion] ymopuri:
Sorry. I got confused. It's the telegram group from the above link that's given the Google drive link. But the HashValue matched :(

I give up. I'll relock the bootloader & head for a service repair. Hope they can do the magic.

Again, Thanks for your help !!
[Moto G4 Plus Guides, News, & Discussion] ymopuri:
Hey ! You're right about the phone is having hardware issue. I have re-locked the bootloader and got the phone repaired at a local store. It appears that he phone was drowned in water and a part of the logic board is damaged. They managed to get the phone working but the headphone jack died. Great news is they charged me ₹800 which is much less that what I have expected.

Thanks for your support earlier :highfive: