yashsingh1/xdaforums huggingface dataset:
[Moto X4 Guides, News, & Discussion] Apyle2011:
I was in the middle of editing my reply, so no need for snarl. I do thank you for your work and assistance - this type of coding is not in my daily world, only the occasional one. I did google it and found that "sudo chmod a+rw flash-all.sh" did what I needed it to do. That said, I did have to edit the script to put "./" in front of each of the fastboot commands on lines 16-18 and 20-40 to have it work as described. Then it worked very well. The upshot is that the phone is now on 9.0 Pie and works as expected. So again, I thank you for for effort at offering this valuable thread and follow-up posts.
[Moto X4 Guides, News, & Discussion] munchy_cool:
how about learning some manners and how to use google before telling me not to snarl. I did provide you a solution, along with telling you that if you had googled you would have found the solution and not have to wait a few hours for me to come back and check this thread. And, you tell me not to snarl ..

people like you are the reason why people like me stop helping, you have no f**king manners ..
[Moto X4 Guides, News, & Discussion] Apyle2011:
I sincerely apologize for the offense that I have caused, and I will not trouble you again. Thank you for your expertise and work in opening and supporting this thread.
[Moto X4 Guides, News, & Discussion] munchy_cool:
new flash-all script files added to OP to play good with new fastboot and slots.
[Moto X4 Guides, News, & Discussion] moinakbera:
Which firmware should i use for XT 1900 -2 indian version,

Volte support is must for me
[Moto X4 Guides, News, & Discussion] Slayer5934:
So this is my first phone with A/B slots, when I installed lineage it installed to slot A so TWRP ect. boots to slot A and lineage is on that; So when I want to go back to stock using the flashall method will it wipe and flash the stock software onto slot A (Im assuming it does whichever slot you tell it to) and get rid of lineage? and what do I need to do with slot B, do I need to do flashall for that slot aswell, or only if you have a rom installed to slot B?
[Moto X4 Guides, News, & Discussion] Neffy27:
I got confused trying to understand your question.

You unlock bootloader and boot/install TWRP first, from there you can view the active slot but keep in mind twrp will always flash to the opposite partition.

You could keep stock on slot A and custom rom on slot B but also remember they are using the same data partition so you cannot have dual boot roms seamlessly. You would have to wipe data in twrp before switching the active slots.

The flash-all method is used to flash stock. Lineage installation will be flashable through twrp.
[Moto X4 Guides, News, & Discussion] munchy_cool:
out of the factory Moto x4 does not support ab slots officially.

most moto x4 have active slot as a. factory firmware is flashed to slot a.
[Moto X4 Guides, News, & Discussion] pt1xoom:
Fastboot Hangs

I have used this method in the past, and everything worked correctly.

Today, I tried to follow this procedure, but it seems to hang on the first step.

I am able to run fastboot devices, and it responds.

When it run the fastboot flash partition gpt.bin, it just hangs up.
[Moto X4 Guides, News, & Discussion] munchy_cool:
not sure whats going on ..are all files in same folder/path?
[Moto X4 Guides, News, & Discussion] pt1xoom:
Yes. I have the fastboot program in a different folder, but I set up the path. When I run fastboot devices, it works.

Do you think that might be the problem?

---------- Post added at 11:39 AM ---------- Previous post was at 11:35 AM ----------

Yes. I have the fastboot program in a different folder, but I set up the path. When I run fastboot devices, it works.

Do you think that might be the problem?

when I type in flash-all.bat, I get this.

Sending 'partition' (37 KB)

Nothing else.

---------- Post added at 11:51 AM ---------- Previous post was at 11:39 AM ----------

I'm really sorry. I rebooted my computer and all it well.
[Moto X4 Guides, News, & Discussion] nguinn:
I'm guessing that this is not possible to do without unlocking the bootloader? Trying to go from Pie back to Oreo, but I'd like to keep it as stock as possible.

Model is XT1900-01 (Android One)
[Moto X4 Guides, News, & Discussion] Neffy27:
As it has been noted in these forums, you don't have to unlock bootloader if sticking with stock firmwares. Though, unlocked bootloader is best if something goes wrong and is required initially for all custom ROMs only.
[Moto X4 Guides, News, & Discussion] nguinn:
Sorry if this has been mentioned before. I'm still really new to posting on XDA.

I followed all of the instructions in the OP, as well as in Munchy's video. Installed Motorola drivers, and made sure to put everything in one folder.

It is showing up in "fastboot devices", but when I run flash-all.bat, it's getting stuck on the first command, as you can see here.

I'm trying to do this with the latest 8.1 firmware (XT1900-1_PAYTON_FI_8.1.0_OPWS28.46-21-14_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml) for the Project Fi version. I was under the impression that this was the same as the Android One version, but perhaps it is not? That's the only issue I can think of.
[Moto X4 Guides, News, & Discussion] nguinn:
[DUPLICATE]
[Moto X4 Guides, News, & Discussion] jhedfors:
The flash-all script needs to be placed in the extracted firmware folder. It appears that you are running it from the adb folder.
[Moto X4 Guides, News, & Discussion] nguinn:
That's because when I combined the files, I started with the adb/fastboot folder. I did put all necessary files in that folder.

Just to make sure, I followed the video again to the letter, and got the same result.
[Moto X4 Guides, News, & Discussion] munchy_cool:
try this new video.

https://www.youtube.com/watch?v=eCGB-yxC09w

use files from the description of the video.
[Moto X4 Guides, News, & Discussion] nguinn:
Thanks, but that's actually the video I was using.
[Moto X4 Guides, News, & Discussion] munchy_cool:
then you may have to try a different computer or usb cable.

i use the same process almost every week to flash the moto x4 with no issues.
[Moto X4 Guides, News, & Discussion] nguinn:
Good suggestion, moved everything over to my laptop and it started going there. Unfortunately, after a few files where successfully sent over they started to fail, many with a "permission denied" error. The end result is a phone that isn't able to boot, only giving a "device is corrupt" error. So it looks like the phone doesn't want to downgrade from Pie to Oreo with a locked bootloader.

Unfortunately, re-flashing with the latest Pie update (which should be the same version I was running) using this method doesn't seem to fix it. Looks like I am going to have to bite the bullet and unlock the bootloader, which isn't the end of the world I guess.
[Moto X4 Guides, News, & Discussion] nguinn:
Good news, I double checked the updates that where available, and saw that there was actually a Pie update that was later than the one in the OP post. Was able to flash that and get a working phone again.

For future reference, is there any downside to unlocking the bootloader, outside of a voided warranty and losing the ability to use Google pay or banking apps?
[Moto X4 Guides, News, & Discussion] Neffy27:
Correct.

It's more of a personal preference since typically people do not enjoy seeing that bootloader message at boot. Safety Net workaround is addressed with Magisk root. Rooting will break OTAs but there's a workaround for that too.
[Moto X4 Guides, News, & Discussion] upcboy:
Do you have any links to the guides that fix both of these issues?
[Moto X4 Guides, News, & Discussion] H0ss1:
i have my xt1900-7 with PPWS29.69-37-2. its safe to install RETBR PPWS29.69-26-4 on it even so my firmware is newer?
[Moto X4 Guides, News, & Discussion] Scoff_Law:
Hi,

Thanks.

I rooted my X4 (-1) with Magisk and (for whatever reason (ahem)) couldn't get it to update.

Tried restoring the phone with different sources, The Android One file linked in post #1 worked for me.

FWIW, I opened the BAT file and copy/pasted the commands.

First time I saw that output.

I also didn't run the last three erase commands and preserved data (passcode, fingerprint, more).

Magisk Manager wants to install an update but I'll hold off because I'm in update "heaven".
[Moto X4 Guides, News, & Discussion] RedCrane3:
Looks like your bootloader is locked?
[Moto X4 Guides, News, & Discussion] fastpakr:
Is it possible to flash back from Pie to Oreo? There seems to be an unresolved issue with the X4 on Pie regularly crashing while running Android Auto that was not present in Oreo.
[Moto X4 Guides, News, & Discussion] Ecthelion3:
Can't confirm an issue with AA and Pie. This combination is running nicely on my X4, also when connected to the car. Only thing I needed to adjust was to set the default USB mode to MTP in the developer settings and disable power saving for Android Auto in the apps settings.
[Moto X4 Guides, News, & Discussion] munchy_cool:
unlock bootloader and go for it.
[Moto X4 Guides, News, & Discussion] forawesome:
Maybe I'm blind, but I can't find the workaround for root+OTAs anywhere. What's the best/easiest way to apply OTA with rooted stock?
[Moto X4 Guides, News, & Discussion] Neffy27:
In the FAQs thread...
[Moto X4 Guides, News, & Discussion] sgtjimmyrustles:
Whenever I try to flash back to official firmware using the methods here, and then install magisk, the phone will go into a bootloop and won't boot. If i don't flash magisk, then it's all good. Any ideas? I'd like to re-enable safetynet so I can use netflix and the galaxy wearable app.
[Moto X4 Guides, News, & Discussion] nitinbhalla95:
Me too facing this.

I just want to root & any other rom not stable this much. I have to come back after flashing any custom rom.plz do something about it and reply dude.

Sorry for bad english:silly:
[Moto X4 Guides, News, & Discussion] jhedfors:
Heads up. Mentioning that app can get you kicked off XDA. I would suggest editing your post.

This is a developers forum, and that app goes against developers.
[Moto X4 Guides, News, & Discussion] nitinbhalla95:
Can we root this rom or not ???? :confused:
[Moto X4 Guides, News, & Discussion] ardvrk571:
Yes
[Moto X4 Guides, News, & Discussion] nitinbhalla95:
That's happen with me when I try to root .......

Whenever I try to flash back to official firmware using the methods here, and then install magisk, the phone will go into a bootloop and won't boot. If i don't flash magisk, then it's all good. Any ideas?
[Moto X4 Guides, News, & Discussion] ardvrk571:
I don't have access to the phone anymore, belongs to my ex. From memory you need to boot to Magisk from ADB/Fastboot and then install Magisk zip file from within the booted Magisk. This is due to the A/B partitions

If you are "flashing" Magisk this might be the problem
[Moto X4 Guides, News, & Discussion] Neffy27:
Have to root with twrp.
[Moto X4 Guides, News, & Discussion] dc5378:
That's just sad

You just apologized for asking a question. After you got the most obnoxious, rude, reply I've seen on here in a long time. Yeah you should have used Google, but their are a million ways to say that besides people like you are the reason people like me don't like to help.
[Moto X4 Guides, News, & Discussion] Zeisthegeek:
ERROR

(bootloader) is-logical:partit: not found

Sending 'partition' (37 KB) FAILED (remote: 'unknown command')

fastboot: error: Command failed

(bootloader) max-downlo: not found

Sending 'bootloader' (9520 KB)

"This error pops up for me every time, Please guide me on the solution"

(I am using Havoc OS 2.8 but I have tried it while using RR 7.0.2 , AOSPEX and Lineage OS too & I have a windows laptop with CMD)

Firmware Indian Retail "PAYTON_PPWS29.69-39-2-4_subsidy"
[Moto X4 Guides, News, & Discussion] android_karan:
Issue faced during installtion

Hey Munchie,

Can you please help me? while installationi faced this issue. I don't know much about flashing.

I just followed the steps you mentioned in the video.

below is the issue.

[IMG="CMD"]https://ibb.co/LvqCQsT[/IMG]
[Moto X4 Guides, News, & Discussion] jesusno:
Hello everyone, I have some doubts, I bought a motorcycle x4 xt1900-1 amazon prime version which I have not been able to release the bootloader, nor have I been able to downgrade to a version lower than the one that has Android 9 build number PPWS29.69- 39-2-4, with security August 1, 2019. I would like to know if you can go to andoid one or better yet unlock the bootloader, if you could help me I would appreciate it, thanks in advance
[Moto X4 Guides, News, & Discussion] crazyramen:
[MENTION=2469500]jdschrock[/MENTION] did you ever get the modem to work? I'm having the same issue.
[Moto X4 Guides, News, & Discussion] qood:
TYVM! Had bootloop after trying to install Magisk via TWRP. This guide only took 5 minutes to complete and have the phone reset/working again.

From here, I followed this reddit post for installing Magisk on a Moto X4. This guide points out some subtleties with installing Magisk on this phone using TWRP.

Agree entirely. His reply to Apyle was very rude.
[Moto X4 Guides, News, & Discussion] SilverPosition:
Excellently Done, Thank You

Nicely explained, laid out and linked. Great work.
[Moto X4 Guides, News, & Discussion] pertilee:
Hello,

I unlocked the bootloader and installed the HavocOS rom. However, due to poor battery life, I wish to go back do stock. If I follow this guide I'll be fine? I have the Brazilian version of the device. Does it relock bootloader?

I'm facing the same thing. How did you solve?

--

[MENTION=921457]munchy_cool[/MENTION], I'm facing an error on first line "fastboot flash partition gpt.bin". It shows:
[Moto X4 Guides, News, & Discussion] yilli:
Thank you Thank you Thank you

I tried flashing the latest version of Pixel Experience, I stuffed it up some how it would consistently reboot randomly, so after trying a few other Android 10 ROMs I went back to Lineage OS 16, it worked perfectly, till I unplugged it and found out that the phone would only work when plugged in, so I tried reseting a bunch of times, to no avail, I took a to play a card game about Unicorns with my family, feeling lots of dread because I felt that I would have to buy a new phone, but then I thought to flash the stock firmware, and here I am with a phone working perfectly fine thanks to your very cleanly put together guide, thank you so so much.
[Moto X4 Guides, News, & Discussion] srishab55:
Can you please post new links for flash_all.sh . The links are not working. or else u can write the required commands. Its urgent please
[Moto X4 Guides, News, & Discussion] blueberry.sky:
Here is my version. It's the same as previously posted flash_all.sh except it reports (echos) each command as it executes them.

Rename to .sh
[Moto X4 Guides, News, & Discussion] bloodclot:
I following the steps in this thread to go back to stock, then I immediately went to LineageOS w/ Magisk, I had an issue where network would completely drop from time to time, the icon would show an X, however, WiFi and everything else worked. I followed the directions in this thread https://xdaforums.com/moto-x4/how-to/imei-wifi-solution-t3975223 to flash the modem from XT1900-1_PAYTON_FI_9.0_PPWS29.69-39-6-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip and everything is fine now.

Here is my command log if anyone is interested

C:\XT1900-1_PAYTON_FI_9.0_PPWS29.69-39-6-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot flash modem_b NON-HLOS.bin
(bootloader) is-logical:modem_b: not found
Sending 'modem_b' (76244 KB) OKAY [ 1.679s]
Writing 'modem_b' OKAY [ 6.054s]
Finished. Total time: 7.938s

C:\XT1900-1_PAYTON_FI_9.0_PPWS29.69-39-6-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase modemst1
Erasing 'modemst1' OKAY [ 0.069s]
Finished. Total time: 0.071s

C:\XT1900-1_PAYTON_FI_9.0_PPWS29.69-39-6-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot erase modemst2
Erasing 'modemst2' OKAY [ 0.005s]
Finished. Total time: 0.006s

C:\XT1900-1_PAYTON_FI_9.0_PPWS29.69-39-6-4_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.001s
[Moto X4 Guides, News, & Discussion] jerryspring:
Okay to flash stock with bootloader unlocked?
[Moto X4 Guides, News, & Discussion] *.jpg:
Yes. I've gone back and forth from Lineage to stock numerous times for various reasons.
[Moto X4 Guides, News, & Discussion] just_another_guy:
Hi, I'm a little confused, could you please explain "boot to magisk"? Does magisk replace the recovery or something? As per this guide https://topjohnwu.github.io/Magisk/install.html#custom-recovery, if I boot into TWRP and flash the magisk zip it should work. What am I missing here?

(I'm running the stock Oreo ROM, and I've not yet unlocked my bootloader. I intend to unlock, then boot into TWRP and flash Magisk. This is also my first time with Magisk and A/B partitions - my Moto G3 was much simpler!)

Thanks a lot for your help!
[MTCD Android Head Units General] Faulieh:
Aloha hey.

I'm using the following (chinese brand) heandunit:

To make the best out of it, I'd like to update the MCU and Firmware.

If my assumption is correct, this is a PX5-Board with a "KLD"-MCU.

They installed AndroidVersion is 6.0.1 - a bit behind.

So, if i'm correct those 2 files should be correct for this headunit?

Android 8.0 - "https://yadi.sk/d/umCvHqCDzHccr/RockChip PX5%20 Android 8.0/KLD"

MTCE KLD v2.80 - "https://yadi.sk/d/umCvHqCDzHccr/All dmcu for PX3%2C PX5%2C Intel ofia3g/KLD"

Anything I should look out for while updating? As there's most stuff in russian - English/German should be aviable in the firmware, aye?

(Know how to root/flash my smartphone, but never did something on a headunit.)

Best regards
[MTCD Android Head Units General] bobodaclownster:
Look at the instructions published, 2 micro SD cards, format the card properly, also there are videos on you tube. Did mine a week ago.

---------- Post added at 04:42 PM ---------- Previous post was at 04:41 PM ----------

Here's the link.

https://r.tapatalk.com/shareLink?ur...share_tid=3762724&share_fid=3793&share_type=t
[MTCD Android Head Units General] Faulieh:
Thanks - are the mentioned files the correct ones?
[MTCD Android Head Units General] bobodaclownster:
No they are different. The link I provided is a popular 3rd party rom with enhancements. Go to the first post and it explains everything. The room is designed for the hardware (PX5) not the distributor with their different software mods.
[MTCD Android Head Units General] Faulieh:
Aye, thanks.

Cant use it though - the downloadlink for "SD_Firmware_Tool_For_PX5_android_6_0_1" gets me an .img-file within a .rar-file. The .img-file can't be opened...

Yeah, no custom firmware for me.
[MTCD Android Head Units General] bobodaclownster:
You don't open the image file. There are steps to follow. px5 is a px5 unit. Just branded differently.
[8525, TyTN, MDA Vario II, JasJam ROM Development] xep624:
Hi guys,

is it possible to change the color of the LEDs?

My intention: Normally the LED glows green, when I missed a call or something like that it glows orange and when the accu is nearly empty it glows dark red.

Often I see the green LED in the corner of my eye and think it's orange - although I know that it's not.

So: Is it possible to change the color of the normal alarm LED into dark red? I tried no2chem_nueLED but it doesn't show the dark red LED.. :-/

Thanks in advance! :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] HungryHippo:
sorry to hijack the thread but is there a way to stop the led flashing all the time? the led next to the internet explorer button is constantly flashing green
[8525, TyTN, MDA Vario II, JasJam ROM Development] neshyd:
hey,

Yeah I've been trying to figure out if there's a way as well. The same thing happens to me all the time. Whenever I see the green light from the corner of my eye I think it's orange too :).

Anyone willing to shed some light on this?

@HungryHippo

The green lights indicate that your phone is currently connected to the Phone Network... it doesn't flash when you're out of ranch.. I don't know how to turn it off other than putting your phone in Flight Mode..
[8525, TyTN, MDA Vario II, JasJam ROM Development] Westie277:
Hi there...

I think this thread is in the wrong place but ill still help ;)

Use a regestry editor to change the leds

Disable flashing service LEDs

[HKLM\Drivers\BuiltIn\AllLEDMgr]

By doing this It

WILL

dissable the phone from vibrating!

As for changing the LED's colour I dont know how to but I will have a look!

Use the wiki as it is your friend!

;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] juice:
How do you get the thing to be ON? The Green light used to be on when on charge......sadly I haven't seen the light ON now for the last 2 weeks despite it being on charge and does charge too?

Do I need to use the same registry hack to get the light to come ON?

HELLLPPPPPPPP

:o

SPV_M3100

PAYS 3.5 ROM
[8525, TyTN, MDA Vario II, JasJam ROM Development] pvs:
Weird ... the same thing happens to me, too! I thought it was my aging eyes ... though I KNOW I'm not color-blind. But yes, when seen with only peripheral vision, it often appears to be the amber color. Very strange perceptual event here.:confused:
[8525, TyTN, MDA Vario II, JasJam ROM Development] ph03n1x:
u could try using the nueled software in the dev and hacking forum not sure if it works like it should tried it once but u can always try it
[8525, TyTN, MDA Vario II, JasJam ROM Development] galaxys:
yeh, nueLED has your best options...here's the thread:

http://xdaforums.com/showthread.php?t=371391
[8525, TyTN, MDA Vario II, JasJam ROM Development] douginoz:
The reason your peripheral vision sees a different colour is that the LED isn't actually one LED - it's two. Probably red and yellow. This allows it to display

3 different colours, ie.

R = Red

Y = Yellow

R+Y = Green.

The R+Y is probably created by high-speed alternating between red and yellow. Your peripheral vision detects one colour only, probably because there are far less colour receptors at the side of your visual cortex than near the centre and they only register the one colour. As soon as you look directly at it, more rods/cones come into play and your brain then interprets what it's seeing as the blended colour, green.

The above isn't exactly correct, but it's close enough so you get the idea....
[8525, TyTN, MDA Vario II, JasJam ROM Development] antonof:
Amber

Hi!

I have another problem/request. Since I am not with my phone all the time I would like the Amber LED to flash if I have a missed call for indefinite time (until I check the calls) and not only for a limited period (and then changing back to green). It was already implemented in TNT6.0 SE ROM.

Is there only a question of some registry change (and which)?
[8525, TyTN, MDA Vario II, JasJam ROM Development] dmj1973:
If you go to settings>sounds&notifications>notifications>Phone:missed calls

You can change the Flash Light For value to NO LIMIT. Default is 15 mins.

Hope this helps

Dave
[8525, TyTN, MDA Vario II, JasJam ROM Development] antonof:
Sure it helps.

Thanks a lot.
[8525, TyTN, MDA Vario II, JasJam ROM Development] CocheseUGA:
Especially since yellow+blue=green.
[8525, TyTN, MDA Vario II, JasJam ROM Development] xep624:
hmm

yeah... nueLED doesn't work on my hermes. It doesn't give me the address of the red LED...
[8525, TyTN, MDA Vario II, JasJam ROM Development] juice:
But the LED light does not light up AT ALL?

Has the LED blown?.....Didn't think thta was possible since its not a Bulb?

:confused:
[LeEco Le 2 Questions & Answers] rdlegy:
I managed to unbrick my leeco x626 with rescue rom. The problem now is that I have no imei and baseband, I also can't install twrp and other roms. I would like to install another rom and have a working imei. Hope someone could help. Thanks!
[Android Q&A, Help & Troubleshooting] warning007:
hello,

i have a samsung galaxt s6 (G920F)

i have Nougat 7.0 stock rom

my phone have a big problem with network, the im card is detected but the network don't work all time sometimes it work and most of times it says not registred on network

can anyone help me to fix it :( and sorry about bad english <3