yashsingh1/xdaforums huggingface dataset:
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
There are no custom ROMs yet, but you can flash a clean stock Moto ROM. Has no Amazon bloat.

---------- Post added at 03:12 PM ---------- Previous post was at 03:08 PM ----------

When did you do the bootloader unlock? What date?

The output of "fastboot oem get_unlock_data" does not change between ROM flashes. I unlocked my bootloader when I was on the stock Amazon ROM. After unlocking, I did a complete flash of the stock Moto ROM. The output of "fastboot oem get_unlock_data" remained the same, and Moto's site still says that my bootloader does not qualify for unlock.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Danny1976:
July 13th was when I flashed stock and unlocked bootloader. With the Amazon version firmware I got the bootloader could not be unlocked.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
I believe that was when they could still be unlocked. I doubt that it will work now, at least it won't work on mine.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
I'm guessing you must have done it incorrectly when you were on the Amazon ROM. Might have incorrectly scrubbed the get_unlock_data output or mis-copy-pasted it into Moto's tool. I unlocked mine on the 13th as well while still on the Amazon ROM.

Moto stopped allowing Amazon bootloader unlocks on the 18th.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] LinuxHippy:
I unlocked bootloader and scrubbed ads with tool here to get Moto g4 stock ROM. I also have TWRP on this and it's rooted. Can TWRP flash like rdlite? I'm just wondering for future.

Marty
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] andrew129260:
So I want to double check here and make sure I understand.

If I buy my wife the ad version on amazon currently, I can't unlock the bootloader anymore but I can remove the ads and/or flash a stock rom from moto for the phone?

And it is still marshmallow correct?

Just checking, thank you.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] LinuxHippy:
If I was u, I'd spend $50 and get the one without ads so u can unlock the bootloader and put TWRP on there to make a backup of all your settings once u get it the way you want it. That's what I did (except I was an early buyer of the ad version) and I already have many of these backups that I already had to restore once.

It's a great phone except for the camera not doing close-up shots too well.

Marty
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
Yes to all the above. You won't be able to get OTA's but you'll be able to flash factory roms. The original factory 6.01 is available plus a later update. You'll never be able to go back to the ad version as of right now and won't be able to return it to Amazon once flashed. You'll still have the factory warranty though.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] andrew129260:
Thank you both. My wifes Moto g 4g lte model went in the washer. And money is tight right now so I wanted to make sure we could get it. I was considering the moto g 3rd generation, but its brand new at $150 which is the same as the ad supported 4th gen. So not much reason to get the old one especially if I can remove the ads. OTA updates would be missed, but marshmallow should be relevant for a long while especially since Google has designed most system apps to be on the play store and be updated without actually updating the android version itself.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] yaconsult:
Just FYI, it looks like they have managed to get root on the amazon ad-supported version of the Blu R1 HD. I guess that that phone isn't locked down as tightly as the Moto G.

The thread is here: http://xdaforums.com/general/general/blu-r1-hd-t3418354
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
Aren't they made by someone else other than Motorola? If so maybe they dont need an unlock code.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
So now that the bootloader is locked with the new updates, is it even possible to root the G4?
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] acejavelin:
As of now, no... Rooting isn't possible without an unlocked bootloader, and the Moto G4 Amazon edition cannot be unlocked as of 7/18.

The likelihood that it will be rootable is slim... On some of the carrier locked 3rd Gen devices where the bootloader cannot be unlocked, root has not been possible yet. I'm not saying it's impossible, but it's not probable.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
I remember when the s4 was not able to be rooted by anything on Verizon the desktop version of this worked:

http://mobilego.wondershare.com

. It's not meant to be used specifically for rooting, but it has a root function in it. If anybody would be willing to try this it would be great as I am still on the fence about buying this phone and knowing if I could root or not is pretty much the deciding factor.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] acejavelin:
It will fail... Security changes in Lollipop and newer Android versions will prevent this from working. We tried this on some G 3rd gen devices. Can't remember if this caused boot loop like Kingoroot or not though.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
Really? On the s4 I used it on the stock lollipop rom and it worked. Oh well, probably different on Motorola and Android 6.0. Is there any chance of it being rooted with any other root programs?
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] acejavelin:
S4 didn't have a locked bootloader.

Not likely, Moto is very much pure AOSP/Nexus-like... The code is pretty clear. Most one-click root methods will fail or cause boot loop.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
The Verizon variant did and still does to this day. The only was we were able to load custom Roms was through flashfire
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] acejavelin:
One of the reasons I left Verizon long ago.

All I can say is I've helped trying to root several locked Moto G3's, all failed or resulted in bootloop but usually recoverable although we did suffer a couple losses.

I'm not the end all know all answer guy, but I can tell you we never were successful. I don't mean to discourage others but proceed with caution.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
Is there any program like kingoroot or something with a desktop counterpart that might possibly be able to root Android 6.0?
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] acejavelin:
Not to my knowledge. One-click root methods would generally work on most devices that originally came with KiKat even if upgraded to Lollipop later... And some Lollipop devices if the manufacturer didn't implement all the security functions of AOSP. Marshmallow has generally put an end to that, although I would imagine there are exceptions. You can read Chainfire's blog for more details on why it's virtually impossible to root a bootloader locked device on Marshmallow.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
That sucks. Thanks for pointing me to chainfires blog though!
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] yaconsult:
Yes, Blu is a Chinese phone maker that also makes an Amazon Prime edition with ads. My point is that the bootloader on the Blu is also locked and unlocking is not available. Yet, people have managed to get around the locked bootloader and still get root on the phone. My question is whether the same techniques could be used with the Motorola or is their solution unique to Mediatek-based phones? They used a tool called Smart Phone Flash Tool.

Once again, the thread is here: http://xdaforums.com/gene...r1-hd-t3418354
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
I'd say no. Since that tool is for MediaTek based Android smartphones, it would be no different than trying to use Odin for flashing.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
Hey tomsgt, I have a really newbish question, but would rsd lite work to root the Moto g4 or edit the build.prop and if not why? Thanks in advance!
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
When your bootloader is locked, the phone will only allow files signed with Motorola's signature to be flashed. If you edit an image to include root or edit the build.prop, the file signature will be changed, and if you try to flash it, the bootloader will reject it.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
Like I said, I really don't know much about this, but couldn't you flash all the stock partitions of the non ad supported Moto g4 that have Motorola's signature, and then unlock bootloader? Or is the bootloader not affected by flashing.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
The bootloader is affected by the flashing (one of the files you flash is called bootloader.img), but that does not affect the unlocking process.

When you ask the bootloader for the unlock data, it gives you a long string of characters that might look like gibberish, but it contains your model number, serial number, and maybe part of your IMEI number (although it isn't plain to see, I think it's in hexadecimal format). You then submit that unlock data to Moto, who checks it against their database to see if your model qualifies for unlocking. If it does, it'll email you the unlock code. All the unlock data and unlock code are specific to your device.

And no, you can't really brute-force the unlock code. It's 22 alphanumeric characters long.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
So, correct me if I'm wrong, but didn't Motorola offer unlocking up to a few weeks ago for the Amazon g4 model?
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
Yes. Bootloader unlocking for the Amazon ad-supported models was pulled on the 18th.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
So no chance of bootloader unlock or root on this device?
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
For the Amazon Ad-Supported version, probably not. If you got one, return it and get the retail version, costs only $25 more.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
That sucks man. Was really looking forward to getting this phone and at least having root. Also as of right now, the 150 dollar 16gb version is only $125 (without tax) on Amazon.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
The Ad-Supported model is $125, yes. The Retail version (non-ad) is also discounted to $150 on Amazon, which is $50 off the MSRP. Paying $25 more for an unlockable bootloader with root and the ability to get Moto's OTAs seems worth it.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] guy theawesome:
Well no crap. Thanks man!

---------- Post added at 02:19 PM ---------- Previous post was at 01:36 PM ----------

Also do you know how much longer they have that $50 rebate for?
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
No clue. Maybe when Best Buy / B&H stop offering $50 gift cards with their G4s.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] rongweiss:
Sorry for dumb question, but I flashed XT1625-Amazon-Bloat-Ads-Remover or XT1625-Amazon-Bloat-Ads-Remover-Without-RSDLITE without unlocking my bootloader. I am on 139-48. I would like to update to 13-49. How do I flash the updated firmware? Post #3 says you can use servicefile.xml, but I don't know how to do that.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] lllGurulll:
Has anyone tried to return a phone to Amazon that you already removed ads on? I'm just curious of the success rate of the return. I'm inclined to return mine and just get the unlockable version but would like to find out if they will just send it back to me or not.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] BorntoPlayGJFF:
I can confirm this works for me on my Moto G4 with Lockscreen Offers & Ads:

To remove ads from your Kindle (for free), all you have to do is ask. Really, it’s that simple. Here are the 5 steps to make it happen in just 5 minutes.

Step 1) Click here to go to the Amazon Contact Us section. You may be prompted to login to Amazon, if you aren’t already.

Step 2) Click ‘Fire and Kindle’ at the top of the ‘What can we help you with?’ section, then click on your Kindle.

Amazon Kindle Support

Step 3) In the ‘Tell us more about your issue’ section, select ‘Kindle E-reader’ from the ‘Select an issue’ drop-down.

Then select ‘Something else’ from the ‘Select issue details’ drop-down.

Next, in the ‘Enter short summary of issue’, type (or paste): How do I remove special offers from my Kindle?

Finally, click ‘Chat’ in the ‘How would you like to contact us?’ section.

Amazon Kindle Support

Step 4) You’ll be connected to a customer support rep. They should take care of the request free of charge. You can see my conversation below.

03:02 PM PST Rep (Amazon): Hello, my name is Rep. I’m here to help you today.

03:03 PM PST Rep: May I place you on hold for 2 minutes while I look into this?

03:03 PM PST Ben: Sure.

03:06 PM PST Rep: Ben, I have disabled Special Offers on your Kindle device. You will not be charged any additional fees for this.

In order to complete the process of unsubscribing your device from Special Offers, please turn wireless ON on your device. The next time your device connects to a wireless network, it will complete the process of unsubscribing.

03:06 PM PST Ben: Thank you so much!

03:06 PM PST Rep: You’re welcome. Is there anything else I can assist you with today?

03:07 PM PST Ben: That should be it. Thanks again!

03:07 PM PST Rep: Ben, I request you to provide your valuable time to give a feedback so that we can improve our assistance more on Amazon to resolve the customer queries.

03:07 PM PST Ben: No problem.

03:07 PM PST Rep: Please Click on End Chat to submit us the feedback. Have a good day.

Take Care Ben.

Step 5) Turn on your Kindle and be sure Airplane Mode is disable. Almost immediately, you should see the message below on your screen, indicating that the offers “Special Offers have been removed from your Kindle.”

Now i have a phone without Ads, keep ota update working and without unlocked bootloader...=D

Note: you have to chat with someone from kindle support and you must be persistent... many representatives will tell you that is not possible or will not know what you're talking ...
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
I dont see how a rep would think the G4 is a Kindle and could then remove the ads from a G4.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] BorntoPlayGJFF:
But it work for me, the phone is essentially a kindle device too... you have to give your phone serial number and amazon email account, nothing else....

Here, you can see i'm unsubscribed...

[IMG="Here, you can see i'm unsubscribed..."]https://s32.postimg.org/t4hlptymt/moto_g4.jpg[/IMG]
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
My G4 isn't listed on my profile, but that might be because I never logged into it with my Amazon account. That's probably what's needed.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
I guess you're lucky then. I tried that early on and they wanted $50 to remove the ads. I've since removed all the ads anyway and don't have to worry about those OTA's that won't be sent out anyway. There's even an option to remove them online but that bills you $50 also.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] sknarf:
I was lucky as well. I used the chat method described by BorntoPlayGJFF and was able to get my ads removed at no charge. When I indicated that it was for my phone and not a kindle, she immediately asked if it was for a Motorola G, 4th edition. When I told her it was, she removed the ads straight away. I confirmed in my account that I am unsubscribed. It appears they are getting a lot of requests to disable the ads. Probably better for them to do that than to have a great number of these phones returned.

On a sour note, I just went to the Motorola site and input my string again, but still received the message that my device does not qualify for bootloader unlocking. So no more ads, but still can't unlock bootloader.

Thanks for the tip, BorntoPlayGJFF!
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] lllGurulll:
its an Amazon phone. Nothing will change that. Unless somebody figures out a way to bypass the bootloader we are stuck with it. I'd return mine but since I removed the ads my gut tells me they will just send it back.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
Maybe someday they'll release it for unlocking when the Moto G10 comes out. :) A bypass will never happen since it never did in any previous version.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] BorntoPlayGJFF:
Glad to see it's worked for you too...=D
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] steven_computer_guy:
Does this method still work?

I tried the method without rooting or unlocking the bootloader. Just using the ads remove without RSD lite. Worked on a moto g about a week or two ago. Tried on another moto g today and the ads didn't get removed, they are still there...

Does the method mentioned in the original post still work for anyone? Or did amazon patch it somehow?
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] yaconsult:
They patched the ability to hide the ad server in the first update they pushed out.

Also, on the one that you removed them from, make sure you see if the ads come back when you reboot - some people have had that experience.

I decided to go for the Blu R1 HD for $60 because they've figured out how to remove all the amazon stuff. Apparently, the mediatek phones are a lot less secure than the qualcomm that Motorola uses.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tomsgt:
Interesting I am not sure I will have to look into that one
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tomsgt:
Yeah the Blu R1 HD was basically left wide open to hack and mode lol which is awesome.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] LeifEricson:
My standard G4 is currently sitting in the local post office since I'm away on vacation until tomorrow. Thankfully I was able to cancel the ad version order I originally made and was refunded before it shipped. Good luck everyone!
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
I think you'll enjoy the phone. Vacation eh, by your username I'm guessing you're traveling by longboat. :)
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] LeifEricson:
Hah, I wish. Longboats are pretty out of place in Florida. But yeah, I'll post back in another thread about my thoughts, seems like a great budget phone though as usual.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] rongweiss:
Can someone please tell me how to flash the stock ROM? I flashed flashed RootJunky's file to remove ads and bloat without RSDLite, and it worked fine. Now I would like to flash the updated ROM. But I can't use RSDLite because all my computers are on Windows 10. My bootloader is still locked, and I'm not rooted. Thanks for any help.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] pokes135:
I flashed back to stock this morning with this guide:

http://www.droidviews.com/how-to-restore-moto-g-2015-to-stock-and-lock-the-bootloader/

Just be sure to flash all 7 system.img_sparsechunk files (not just the 3 as in the 3rd gen Moto G). Then of coarse relock your bootloader when done.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] michaelahess:
So I bought two of these at the same time, pre-order, on mine I got the unlock code moments after I opened the box. My wife walked away with hers and just now I went in to get the unlock bootloader code and Moto says NO! I assume this means Amazon submitted all these ad based phones to them to be removed from the allowed list? Anyone have a way around this? Thanks!

Oh and my wife's doesn't work with the ad remover. Ads are very much still there even though it went through the process properly.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] LeifEricson:
The ad versions of the phones have been disqualified for unlock since like 2 weeks ago. If you unlocked in the first week you got lucky. There's even been some talk in another thread that some Amazon non-ad editions are suddenly not qualifying for unlock either. As for getting around it.. don't hold your breath. Subsidized Moto G's have been locked down ever since the original 1st gen Moto G got updated to KitKat.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] michaelahess:
Thanks! I searched but not well enough, found the thread for it right before you responded. That sucks, gonna leave a negative Amazon review, I truly don't care about having their ads on my prime edition phones, I just want the darn thing fully unlocked!
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] xtermmin:
Then get the non-ad version instead...
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] michaelahess:
I don't mind the ads, what I do mind is not being able to use apps that require root, something like BetterBatteryStats for instance. Ad subsidized is fine, locking the phone down is not, it's no better than Verizon/ATT.

I will now actively remove ads from both, leave a bad review, and let Amazon know they are in the wrong.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] acejavelin:
All subsidized Motos are locked down... If you wanted root and unlocked bootloader, should have done your research.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] michaelahess:
Ok, you're missing the point. And that's not true, my old Moto X from republic was not subsidized, but it sure was locked down.

All I'm saying, is they advertised it as an unlocked phone, I know that means carrier unlocked, but since there is NO additional payment or contract with it, it should be unlock-able. This phone was more like a pre-paid Moto G, with no carrier affiliation.

This has nothing to do with research, as it was unreleased when I pre-ordered it at $125, so I couldn't have done any anyhow. Nobody knew if it would be locked or not.

The price was great so I am less upset about this. But Amazon still needs to hear from whomever will mention it, that this is NOT what customers want.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] Tel864:
I feel much the same way. I was too quick to order because of the deal and too quick to reflashed to vet the junk off so now I'm stuck. A word of caution though, don't be too critical of Amazon or they'll just reject your review. They rejected 2 of mine.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] jimberkas:
clearly I'm missing something obvious as others have used this without issue. but when i unzip any of the XT1625 bloat remover zips, there is no .xml files to be found. and the instructions say that is what I flash using RSDLite. I get to the point where RSDLite is connected but I can't find a file to flash.
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] rongweiss:
You can use Rootjunky's excellent tutorial found here: https://m.youtube.com/watch?list=LLszvihmWgslbll649AMQWSw&v=njXQYn53SPc
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] gecko316:
ok maybe i am stupid (today?) but i can't seem to find whether or not we can get rid of ads without an unlocked bootloader?

is it not possible to flash stock rom or something else, with a locked bootloader that will get rid of the ads lockscreen?
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] kokercey:
RSD light with RootJunky's add remover downloaded from page 1 and follow instructions. No unlocked bootloader required
[Moto G4 ROMs, Kernels, Recoveries, & Other Develop] gecko316:
didn't work since i'm on win10, but i tried the no-rsdlite method, seemed like everything flashed correctly, but when i boot my phone lockscreen ads are still there