yashsingh1/xdaforums huggingface dataset:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
I haven't really checked out the patch, but seems like it should work as it is simply mounting the filesystem to inject SU.

That said, it WILL break your ability to receive any future updates! AFAIK, no one is really working on fixing that right now.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gee one:
I finally have a US retail version in hand. I rooted it, but I probably should have looked at the process more carefully.

In order to dump the stock image, I think we need a rooted recovery (or simple system OS with adb access) that we can boot on an unlocked device. I'm dumping the rooted image now. The goal would be to have a copy of the stock image so that we can manually patch using an OTA and have access to updated vendor files.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] memorito:
Hi, folx.

I'm ordering a Project Fi Moto X4. Currently have the Amazon version and well, with the $100 rebate the Fi version comes out cheaper. Sooooo, is there anything I can check to help? Maybe something that I can compare between the two models once I have both? Fair warning, I'm not adept at all this stuff. I stopped rooting/modding my phones years ago and erased all memory of that ability somehow. So, will need tutorials. But, happy to help.

- Memo

Edit: WOW My sig is ooooolllldddd. ?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] bombaglad:
your phone has a locked bootloader... so, nothing here will help you in any way ;)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] memorito:
I gathered that much and is why I'm switching. Hoping certain things can be reproduced in the Fi version from the retail versions. People keep talking about the tempow bt function and that's cool. There are also a few MOTO functions that seem to be different, but MOTO seems to be available in the google app store....? Anywho, I'll be glad to get rid of all the Alexa/Amazon crap.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] bwtmanagement:
Heya, in case the curiously are still, taking the OTA while rooted with CF image causes it to fail , however will constantly, "installing in the background" and option for"ok" persistents and dramatically slowing down the phone overall, as in, stock keyboard is reduced to one key every several seconds or it force closes, however if you reboot into stock recovery (in my case) and just select update via sd card and execute, the screen will immediately go black and unresponsive, but in less than 5 mim later boots normal with Sept 1 firm and no sever lagg and doesn't seem to leave any trace of the OTA anywhere else the files.... hope that helps something or someone

Thanks
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gaurink:
Could someone with a rooted device use an app such as "Device Info HW" to check which sensor the rear camera uses? Sorry for being an off-topic matter, but I can't find this info anywhere on the web.

Thanks in advance!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] kraatus90:
Its s5k2l7sa, made by Samsung and is similar to IMX362 made by Sony.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Is there a way to go back to stock? Unrooted, locked bootloader, stock Project FI image? I'm just trying to get prepared for Oreo before it drops.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Honestly, I haven't thought about it very much. I know the OTA fails as is but I assume people have tried unrooting from SuperSU and flashing back to stock boot.img, and that doesn't work??

And that flashing the OTA zip in stock recovery doesn't work?

Will put it on my list of things to look into. The root method does not change much... perhaps we can devise a way to patch back to stock
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Nah. I've tried a bunch of stuff, but had to resort back to flashfire backup of stock rooted. I'll just hold off until TWRP comes, hopefully we can get some Oreo goodness through that soon. Thanks for all your work.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Images have been posted.

https://firmware.center/firmware/Motorola/Moto X4/Stock/
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ccadran:
legit? confirmation working?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Yes they work. And I used this post to flash stock retail and relock bootloader so I can get OTA's again. Works on my Android one device and I get the Moto goodies.

If you're asking if root works in the OP, then yes that works as well but it breaks updates.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] ccadran:
Project Fi?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Yes
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Wait...the "retail" image is Project Fi? It has been up for nearly a month. :)

https://xdaforums.com/moto-x4/development/moto-x4-firmware-stock-7-1-1-t3693145/post74511931
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
No, the retail image is not FI. Sorry for the confusion. I am on Project Fi, with an Android one device using the retail image with no issues.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Ah... Got it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DiDGR8:
But you ARE getting the OTA updates? AND they apply correctly? AND you were (at one time) rooted?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Yes and yes.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darkdaemon32:
So the root from the op is working for you on the newer OTA updates?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DiDGR8:
Maybe I tried it too soon last month, but when I restored that image and relocked the boot loader, I never got offered the OTA update because it didn't think I was an Android One phone anymore. So i went back to rooted Fi. Does anyone know if the retail phones are getting that now?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
No I'm going to remain unrooted until Oreo comes out. In theory you could probably use CF auto root and re root it after the OTA.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] michael28056:
Yes, I followed your post and flashed the retail image on my Android one project Fi device. It got the November OTA as soon as it booted up and it installed without any issues.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] darkdaemon32:
My question is IF the autoroot is working on the newer OTA/updates since the OP clearly states its not tested on those. I understand in theory that it SHOULD work.

I don't really want to wipe my phone for a second time and go through all the trouble if its not working yet.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
If boot.img wasn't patched in the update, it would work. But it WILL break the ability to receive further OTA updates.

Once I am finished with TWRP, I will work on an unroot method, and also test some methods for applying OTA manually.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Jayman007:
Beware... That site is using crypto currency mining to raise money from visitors.

---------- Post added at 17:37 ---------- Previous post was at 17:35 ----------

Beware.. that site is using crypto currency mining plugins to raise money from visitors.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] olive23:
Yeah AVG always blocks some plugin when I go on there.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] DiDGR8:
I bet it would, but I'm not gonna try it and see. I was just glad to get the November security update (and get rid of the "Update Available" popups). I'm going to sit things out for a while and let the dust settle. Once we have an Android One factory image, TWRP, and maybe Oreo; then maybe I'll "play" again.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] brandontowey:
Just used this on version NPW26.83-41, worked great. Thanks for this.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] olive23:
Will this work for the non Project FI model?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
It does as long as you have the US retail version (not Amazon) and unlock the bootloader.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boladaso:
Has anyone tested if root is working on the version.

NPW26.83-42 ? 01 / November petch security
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boladaso:
Root is working in the Brazilian version and with last patch if security 01 November 2017

XT1900-6
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Do you still have this OTA file, or does anyone else have it? I am looking to see if it includes a META-INF folder for this device.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] johnjingle:
The Project FI phone I bought already had the November security patch. I am waiting on the Oreo OTA to provide to you and anyone else. Wish I could help more.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] xLuis92x:
Thanks for testing mate, i have XT-1900-4 variant here in Mexico but baseband version is the same as yours (M660_7020.05.01.52.01R PAYTON_LATAM_CUST) and the same compilation number (NPW26.7)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Will be updating the OP today to reflect support for TWRP with SuperSU 2.82 SR5 as the preferred method for root.

I will leave the link up for the old method, but expect that it may break for newer stock builds at some point if/when an OTA modifies the required boot image.

---

UPDATE: OP updated with additional root method.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] MarioAntonio:
Can You upload a video on YouTube to see the steps. Thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Sorry, not really my thing...Step-by-steps are in the OP for the original method and in the TWRP thread for the newer method... not sure a video adds much to that, but maybe someone who has tested it will post one
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boladaso:
I with root and received the update for 8.0, but I'm afraid to upgrade and go into infinite loop. Brazilian version XT 1900-6 :p :D

I used the old method of doing root, without the twrp
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
The update will not work anyway unless you unroot, and perhaps need to flash factory firmware
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] boladaso:
since you answered me I wanted to ask you a question, can I even install the twrp using this boot.img file with root that you posted a week ago? Or I Do I need to install the original boot.img first and install the twrp and supersu zip that you posted? Thank you.

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

since you answered me I wanted to ask you a question, can I even install the twrp using this boot.img file with root that you posted a week ago? Or I Do I need to install the original boot.img first and install the twrp and supersu zip that you posted? Thank you.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
The info/instructions in the first post are most current.

TWRP will only work on an unencrypted device, and no OTAs will work thereafter.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] rkleinhenz:
And where would one get factory firmware? (For a US Google version X4?) (I did read a version for Brazil is available so boladaso may be in luck)

Rich
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Perhaps in the firmware thread ?

There is no US Google (project fi) firmware available yet, to my knowledge. Just US "retail" and Amazon. But honestly, the Fi version is basically Retail with a different boot animation and less features. I have backups of Fi, but prefer the Retail firmware (on Project Fi).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] rkleinhenz:
I think I am showing my ignorance... I bought project fi phone from google. But in settings - about phone I see software channel retus. I think I am somewhat confused by what I should be looking for. How would I identify the project fi firmware?

The reason I am looking at all is that I got the oreo update notification and am wondering whether I should I just asked in the 'I just got the oreo update' thread so better stop right here ;)

P.S. Yes I had checked the firmware thread and only read about a Brazilian version. I will look again for a US retail version. But it may all be a moot point until there is a working TWRP version for the X4?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
US retail is the only full version available other than Amazon.

https://mirrors.lolinet.com/firmware/moto/payton/official/RETAIL/

TWRP is fully functional on unencrypted nougat... but not yet on Oreo.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] rkleinhenz:
Thanks. I keep reading the original post and still can't decide. If I use the chainfire systemless root (as I did on my X Pure) and I somehow brick the phone... is it possible to put it back in factory condition and start over? (I am downloading the 2 images of the 7.1.1 US retail version now - different releases I suppose? Will probably be clear once I look at the zips) And, just to be sure... I suppose Oreo has a different boot.img and this boot.img in the OP will not work on Oreo? Or is the Oreo's boot.img the same?

I will familiarize myself with the TWRP thread more.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Not sure why there are two retail images... they are likely the same.

Oreo has a different boot.img. The two are not interchangeable. I am working on Oreo root method now, but currently SuperSU is breaking wifi. Hopefully will be able to figure it out in a couple days.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] kraatus90:
use magisk manager apk to patch boot.img. it's working. hopefully zip version works too.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Just saw that new 15.2 seems to be working... I know it disables verity, but does it patch forced encrypt too?

Will look at it tomorrow AM
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] kraatus90:
no idea lol.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] rkleinhenz:
Yes 2 retail images, 2 different build dates. Do these come from Motorola directly?

As I suspected re. Oreo boot :) Yes I saw it in the TWRP thread. Good luck, crossing my fingers!!!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] fix-this!:
does anyone know how to update to the november patch update if your bootloader is unlocked and rooted? the ota fails everytime. is there a flashable zip we can use in twrp?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] rehanraza:
unfortunately no flashble zip available so far but you can flash stock firmwares provided in current section .
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] fix-this!:
not to derail the thread but why can't we use magisk?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Magisk beta 15.2 is working for root with the patched boot method in Oreo.

FYI, Magisk fails to disable forced-encryption... so still no solution on that front
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] vache:
Did you try to edit fstab.qcom in /system/vendor/etc ?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] kraatus90:
I think he did. but it breaks wifi for some reason.

are you going to work on x4 too ? :D really great work on g5+ 64b btw. :good:
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] vache:
Wew, weird :/

By just changing fileencryption=ice to encryptable=footer ?

Not really, just looking around :)
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Yes... needs to be done from a flashable after formatting data. And it WORKS, but boots with no wifi or cell radios

Super weird!

Maybe it is the flash breaking radios... I never tried just editing the file from a rooted system and booting TWRP to format data.

I am busy the next couple days, but will try that when I have some time
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] aresbigboy:
during the three days . working 100% fine on xt1900-2
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] Vedita:
Work on Android Oreo?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
NO, the methods in the OP are for NOUGAT. I will be updating it soon with Oreo root methods. Basically, SuperSU (2.82 SR5) flashed from bootable TWRP seems to work for root, as does flashing a Magisk 15.2 patched boot image (flashing from TWRP has not worked for me).
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] bombaglad:
could you maybe upload a magisk patched boot img? or hlw do i patch it myself?

thanks!
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Magisk Manager patches it automatically... I can upload one later today
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] bombaglad:
oh, thanks for pointing me to that, i wasn't aware magisk could do this... if anyone wants the patched boot.img by magisk 15.2 from oreo, download it here:

https://drive.google.com/file/d/190H3ZQ0L9XqwRERk5u1n8QgGC7NX4n6p/view?usp=sharing
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
Added to my update in the OP.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
Is the magisk version an actual magisk install (IE systemless root, with SN bypasses working etc), or is it a "hacky" install which doesn't pass safety net?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
If using Magisk Manager to make an image to install Magisk is "hacky", then yes... :)

I don't see why safety net would fail.

Why not just try it and see?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
Mostly just scared of screwing my phone beyond repair lol. The good news is I just happen to have an extra phone that's in need of a factory restore (got a new phone through warranty, I need to reset this one before sending it back), so I can give it a try there. I don't need to unlock the bootloader since I'm not injecting a custom recovery, correct?
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] mightysween:
If you are needing it to be inact for a warranty claim, I wouldn't mess with it.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] tjololo12:
Hm, good point. Don't want to be out $400 just because I wanted to test something. I suppose I'll give it a shot, at least now I still have the old phone to get the apps/data/etc off of if I have to.
[Moto X4 ROMs, Kernels, Recoveries, & Other Develop] gugu6897:
At this moment, rooting Moto X4 seems to be dangerous. Maybe in future it will be a safe and more stable process?
[Nexus 5 Q&A, Help & Troubleshooting] Borden Rhodes:
I'm hoping someone can help me troubleshoot volume issues I'm having on my Nexus 5 running the latest build of LineageOS (24 October at this time). Tell me what to look for in the logs or other troubleshooting steps I can take before taking it in to get the speakers replaced.

I've had this phone since April with no issue. I got it as a refurb off Newegg. Since the beginning of October or so, the speaker volume has been inconsistent. Up until this issue, the sound coming out of the speaker was consistently good: it was loud on high volume and quiet on low volume.

The speaker sound recently started randomly (in that I can't seem to find a pattern), becoming very quiet, even with all the volume sliders turned up to maximum. I'd estimate that the speaker output during these periods at full volume on the phone is about the same as when it's behaving normally and I have the slider down to under 25%. The volume will restore itself, be fine for a while (anywhere from a couple minutes to hours), and then go quiet suddenly, again from anywhere from a couple minutes to hours.

Some notes:

I've ruled out the speaker switching from the bottom speakers to the speaker at the top of the phone where your ear goes when taking a call. The bottom speakers go quiet.

The volume is quiet for the ringer, alarm, media and notifications. Fiddling with these sliders does nothing.

I've wiped the caches from TWRP, rebooting, restarting, powering off and so on. No consistent effects.

Headphones seem unaffected and the volume is normal.

I'm aware that there was a volume issue with Nexus 5s due to a security release back in 2013 or so. I understand that bug was fixed in subsequent releases and, presumably, is in LineageOS. Therefore, I doubt this is related to that.

I've picked through the logs and one thing I'm noticing is that there are ThermalEngine alarms being thrown. is it theoretically possible that, to reduce heat, Android is cutting the volume level?

I'd like to avoid factory resetting the phone, but I can once we eliminate other issues.

I'm reluctant to say that it's a hardware issue because I don't get any distortion from the speakers and, when the speakers go quiet, I don't notice any sound quality degradation. Further, the speakers haven't been getting quieter or louder. However, if all else fails, I'll have to take the phone in to get the speakers replaced.

I'm grateful for any help the community can provide.

With thanks,
[Android Q&A, Help & Troubleshooting] hessien zaghloul:
as i mentioned in the title.
[Google Pixel 2 XL Accessories] Robert_W:
[YOUTUBE]6CTIZoKiB5M[/YOUTUBE]

Lightning Knight, AKA LK, Hybrid Armor Defender Case

TL;DR:

TPU + Polycarbonate

No need to separate the two parts to install/remove the phone

Offers good protection - see the depth of the air-cushion fins

Feels nice

Not slippery

Buttons are very easy to push (clicky)

A bit bulky (as intended for my use)

I was surprisingly satisfied - If anyone has Q's, just ask. It's available on amazon here
[Google Pixel 2 XL Accessories] beh1977:
I found this case on amazon and ordered before i received my 2 XL. It is a stop gap case until something nice comes along. The rubber on the side had flashing that i had to trim. I also do not think the lip that goes around the front is high enough to help with accidental drops if it lands screen down. It was an 8 dollar case and i got what i paid for.
[Moto X4 Questions & Answers] jayevanburke:
Hello,

I ordered the Moto X4 via Motorola.com, however I've been debating about returning it and getting the Android One version instead. I've been searching online however and I'm having a hard time finding a full list of the definitive differences between the two versions.

I know the Motorola version comes with Alexa and some of the Moto Actions (chop for flashlight, twist for camera, etc.). To me, those are some of the selling points for the Motorola version, as I use those features a lot. I'm wondering though - does anyone know definitively is those options are included with the Android One version as well? What about the Active Display feature as well?

I appreciate any clarification anyone can provide!
[Moto X4 Questions & Answers] Jayman007:
The Moto actions you mentioned work on my project fi Android one x4.

Not sure what active display is.
[Moto X4 Questions & Answers] jfalls63:
Yes, both Moto Actions and Active Display are in the Moto App on the Android One version.

Not sure on the regular X4, but the System Partition on the Android One version is quite large at 13.1gb leaving just 18.9gb for apps and user data.

Unfortunately the Android One version is only available in 32gb with the regular version you have the option of 64gb and a increase in RAM to 4gb.

Might be something to think about if you install a lot of apps and want to keep your SD card as portable.
[Moto X4 Questions & Answers] Divine_Madcat:
Thread closed at OP's request..