yashsingh1/xdaforums huggingface dataset:
[Moto G4 Questions & Answers] pastorbob62:
TRY THIS BEFORE DOING ANYTHING ELSE: Boot to recovery. While at the dead robot, while holding down the Power key, press and release*the Volume Up key, then release Power.. This takes you into the actual recovery menu. scroll to "wipe data/ factory reset". Then do a factory reset and reboot. It may go ahead and complete your attempt to install Nougat.

[/B]When you are at the bootloader, do you still get your device serial number at the command "Fastboot devices" from your pc? If so you can unlock your bootloader if you so desire. Link to unlock instructions: https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a

If you can't get flashstock.bat to work then you can flash your stock ROM. in the sequence below. You will need to extract the ROM to your PC and follow the instructions below:

fastboot oem fb_mode_set

fastboot flash partition gpt.bin

fastboot flash bootloader bootloader.img

fastboot flash logo logo.bin

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img_sparsechunk.0

fastboot flash system system.img_sparsechunk.1

fastboot flash system system.img_sparsechunk.2

fastboot flash system system.img_sparsechunk.3

fastboot flash system system.img_sparsechunk.4

fastboot flash system system.img_sparsechunk.5

fastboot flash modem NON-HLOS.bin

fastboot erase modemst1

fastboot erase modemst2

fastboot flash fsg fsg.mbn

fastboot erase cache

fastboot erase userdata

fastboot erase customize

fastboot oem config carrier vzw

fastboot oem fb_mode_clear

Also, you don't ever need to share your serial number. Finally, the baseband shown is the original Marshmallow stock baseband which tells me that your attempt to flash Nougat failed.

If you have doubts or questions ask first.

---------- Post added at 06:02 PM ---------- Previous post was at 05:33 PM ----------

Alternative if you really want Nougat. Works without unlocking bootloader:

https://xdaforums.com/moto-g4-plus/how-to/android-7-0-install-nougat-official-t3531612
[Moto G4 Questions & Answers] adavies:
Hi, thank you for your reply, I just downloaded and tried the RSD Lite software. It detected my phone on Port number 1 as 'Fastboot athene_13mp S' and I selected the 'flashfile.xml' and pressed start. Unfortunately it stopped with the status 'Failed flashing process. 3/27 flash partition "gpt.bin" -> Phone returned FAIL.' Does anyone know how to get round this?

Thank you
[Moto G4 Questions & Answers] adavies:
Thanks for your assistance, I have tried wiping the data and doing a factory reset but it still fails to boot unfortunately.
[Moto G4 Questions & Answers] catsruul:
Did you manually flash the fastboot images in the sequence provided?

If that doesn't work, I would send it back to Motorola. If it isn't in warranty, well, rip.
[Moto G4 Questions & Answers] adavies:
I do still get the serial number when running 'fastboot devices', do you think unlocking the bootloader might be the answer? I went through te steps yesterday to get the code, was a little put off by voiding the warranty though. With regards to running the commands one at a time, I think I am now getting a bit confused on the correct procedure of where to run the commands from. I have tried running it from the folder for 'Minimal ADB and fastboot' (this folder contains all the files from the stock firmware folder as well which I copied and pasted in there) and also directly from the stock firmware folder itself. I will paste the results of each below (sorry to confuse the issue, my head is fried now, lol).

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices

ZY223H6QF4 fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem fb_mode_set

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

OKAY [ 0.005s]

finished. total time: 0.006s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash partition gpt.bin

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

(bootloader) has-slot:partition: not found

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.016s]

writing 'partition'...

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.049s

C:\Program Files (x86)\Minimal ADB and Fastboot>

I stopped after the second line as the text above suggests to me that part has failed so no point continuing. When running directly from the firmware folder I get the following :

C:\Users\andrew\Desktop\XT1621-XT1622-XT1642_ATHENE_MPJ24.139-23.4_cid50_subsidy-DEFAULT_CFC.xml>fastboot devices

ZY223H6QF4 fastboot

C:\Users\andrew\Desktop\XT1621-XT1622-XT1642_ATHENE_MPJ24.139-23.4_cid50_subsidy-DEFAULT_CFC.xml>fastboot oem fb_mode_set

...

OKAY [ 0.005s]

finished. total time: 0.006s

C:\Users\andrew\Desktop\XT1621-XT1622-XT1642_ATHENE_MPJ24.139-23.4_cid50_subsidy-DEFAULT_CFC.xml>fastboot flash partition gpt.bin

target reported max download size of 536870912 bytes

sending 'partition' (32 KB)...

OKAY [ 0.008s]

writing 'partition'...

(bootloader) Security version downgrade

(bootloader) Image primary_gpt failed validation

(bootloader) Preflash validation failed

FAILED (remote failure)

finished. total time: 0.062s

C:\Users\andrew\Desktop\XT1621-XT1622-XT1642_ATHENE_MPJ24.139-23.4_cid50_subsidy-DEFAULT_CFC.xml>

Again this seems to fail also but with some slightly different messages. Interesting that it failed on the gpt.bin part as this was also mentioned when it failed on RSD Lite.
[Moto G4 Questions & Answers] _wyrm:
If the firmware is Android 6 and you at some point flashed Android 7 (or tried to), then its safe to edit the .xml file and remove the reference to gpt.bin, and start the flashing proccess again. This error happens when you try to downgrade the phone firmware.
[Moto G4 Questions & Answers] adavies:
Yes this whole problem started when I used the phone to check if there were any updates. It said that the Nougat update was available and so I downloaded it on the phone and pressed the button on the phone to install it. This then failed and was the start of all my problems.

I have edited the 'flashfile.xml' file and removed the line <step MD5="e12b1a18da98b9502c735ce6ca192217" filename="gpt.bin" operation="flash" partition="partition"/>, however, it then failed with the message 'Failed flashing process. 5/26 flash boot "boot.img" -> Phone returned FAIL'. Any ideas please?

Thank you
[Moto G4 Questions & Answers] pastorbob62:
As long as you can still access the bootloader there is still hope. Did you go through with the entire procedure to unlock your bootloader? If so, can you flash a custom recovery such as TWRP 3.1.0? (fastboot flash recovery "name of the recovery file") After you have done that you can flash any custom ROM you desire.

Also, I suggest you take some time to read through the forums for both the G4 and the G4+. It is obvious from your questions that you haven't done so. There are solutions posted that WILL work for you but you MUST take the time to research and read. Doing so will save a lot of time and keep you from bricking your phone.
[Moto G4 Questions & Answers] _wyrm:
AFAIK, this one isnt safe to skip.. Im out of ideas, sorry. Try another usb cable just in case.. but if it keeps failing at the same point you will probably need to send it to motorola service.
[Moto G4 Questions & Answers] adavies:
Hi, I did not go through the entire procedure to unlock the bootloader because I'm not sure that I can. Every guide I have read about this says about enabling developer options so that I can 'Allow OEM unlock' but I can't do that if I can't turn the phone on :(.

This is how far I get (I removed the actual unlock code as I don't know if that should remain confidential):

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices

ZY223H6QF4 fastboot

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem get_unlock_data

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) Unlock data:

(bootloader) 3A45210207590559#

(bootloader) 5A593232334836514634004D6F746F2047200000#

(bootloader) 8470D59C544F993609337B23DD2E2F5ACA719924#

(bootloader) 09900801000000000000000000000000

OKAY [ 0.114s]

finished. total time: 0.116s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem unlock UNLOCK CODE WAS HERE

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) WARNING: This command erases all user data.

(bootloader) Please re-run this command to continue.

OKAY [ 0.011s]

finished. total time: 0.012s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem unlock UNLOCK CODE WAS HERE

(bootloader) slot-count: not found

(bootloader) slot-suffixes: not found

(bootloader) slot-suffixes: not found

...

(bootloader) Check 'Allow OEM Unlock' in Android Settings > Developer

(bootloader) Options

OKAY [ 0.012s]

finished. total time: 0.013s

C:\Program Files (x86)\Minimal ADB and Fastboot>
[Moto G4 Questions & Answers] catsruul:
If a redownload of the stock images and a new USB cable and flashing of the images doesn't work, I'd just send it back to Motorola.
[Moto G4 Questions & Answers] pastorbob62:
You may be right. He has not successfully unlocked the phone so therefore his warranty should still be good.

---------- Post added at 04:18 PM ---------- Previous post was at 03:51 PM ----------
[E 2015 Q&A, Help & Troubleshooting] zulfi984:
I juz want to download belivekernel for Otus on android 5.1 the download link is

http://romwarehouse.com/krizthian/Motorola Moto E 2015 3G(otus)/BeliveKernel/ I can't enter into that webpage.. Cab anyone help me?? I need that zip file
[Honor 4x Questions & Answers] triolo:
Hi

I am looking for a savior :confused:

I have uninstalled (in root mode) several applications to make some free space on my honor 4X but I have probably made some mistakes

Yesterday, the issue started with a classical bootloop.

At the beginning the fasboot mode and the recovery mode was reachable with the special combos (Vol+ and Power or Vol- and Power)

To fix the problem I have launched an update by sdcard (Vol+ Vol- Power) but the status bar is still stucked to 90%

I have used an official firmware 4.4.2 with the UPDATE.app file within the dload folder in my SDCard.

But the situation is very tricky. I have no access to the fasboot or recovery mode any more.

The phone restarts itself on the update mode (no power off possible)

I have the same message : "Software Updating, Please Wait, DONOT unplug USB or press any key !"

But after two hours, the status bar doesn't move anymore (still to 90%)

Any idea to make my honor 4x survive ? :angel:

Model :: Honor 4X Che2-L11

Huawei Recovery 1.0

EMUI 3

Android 4.4.2
[Honor 4x Questions & Answers] zzztidurvirus:
either shut down the phone, or reinstall force update again. this time, the moment you see the 1%, immediately plug it to wall charger. you can even leave it overnight. leave it alone until you see the language selection screen. or else, fastboot mode.

Check this: https://xdaforums.com/honor-4x/help/honor-4x-factory-reset-recovery-menu-t3542367/page2
[Honor 4x Questions & Answers] triolo:
Hello zzztidurvirus

First of all, my mobile does not switch off at all (reboot automatically if I press the power button)

I will try to wait until the battery is 0% and try your option. I will tell you

But how long the update process should normally take ? More than 1 hour ?
[Honor 4x Questions & Answers] triolo:
Hello

Yesterday evening, I have made some new tests.

I have opened the phone to disconnect the battery.

At this stage, I can access to Fasboot with USB connection (VOL DOWN + POWER)

I have used the "Huawei Multi-Tool by Team MT" from

https://xdaforums.com/honor-8/development/tool-huawei-multi-tool-team-mt-t3523923

During the flashing period, all the messages seems to be fine but at the end the phone restarts with the same page :

"Software Updating, Please Wait, DONOT unplug USB or press any key"

I have waited all the night to see if the status bar will go ahead 90% but nothing better after more than 6 hours.

With the flashboot reachable, do someaone has an advice to test something else ?

Thanks in advance :)
[Honor 4x Questions & Answers] zzztidurvirus:
max time should be no more than 1 hour.

first 15-20 min of waiting that forced update to 100%

next 15 min waiting that glowing red honor logo

next 15 min waiting the Android is updating... popup

then you can pick your language page.

---------- Post added at 04:48 PM ---------- Previous post was at 04:44 PM ----------

https://xdaforums.com/hon...t3542367/page2

try this. yep its harder than this forced update trick, but it works. Ive tried it, ive bricked it multiple times, and its still alive and its my daily driver.

No harm done trying. PROCEED WITH YOUR OWN RISK.
[Honor 4x Questions & Answers] triolo:
Hello

My issue is finally solved.

The main important thing was to wait until the battery was totally down.

Indeed, I had to make a new fastboot flash (with the "Huawei Multi-Tool by Team MT")

With the unbrick menu, I have to extract the different usefil images files and it worked.

I don't understand why the first flashing test was with errors but the final one was the good one.

Thank you for your help !

Thank you
[Honor 4x Questions & Answers] gopinaidu77:
Please add solved tag in thread title
[Honor 4x Questions & Answers] iTSMEo03:
can you tell us what rom or give us the step how did you unbrick your phone ? mine is che2-L22 cant unbrick
[LG V20 Questions & Answers] alfadog77:
Is there anyway to restore my IMEI number back? Bad restored caused it to go to 0 and now I can't connect to any networks.
[LG V20 Questions & Answers] jinkerz9430:
Uffff. Didn't you do a backup of your imei? Thats the first thing i do when i buy a phone and then save it either in the cloud, and in my external hard drive. If you didnt then you will need one of those octopus boxes they sell to repair phones internal issues such as this.
[LG V20 Questions & Answers] androiddiego:
Go to your provider who knows that you either own your phone or are making payments on time. You have the original box and it is written on that. There are also services that can do that for a fee remotely.
[LG V20 Questions & Answers] alfadog77:
i talked with my provider and they said I could replace it under warranty, thanks.

i was on vacation but apparently I can still connect fine in the states with my imei number "0". weird it didn't work overseas.
[General Questions and Answers] Spirale001:
Hi.

I own an Android 4.4.4 device, Chinese counterfeit basically but that's not the matter.

I would like to know if there is an app that allows you to create custom widgets where you put the data you want, not only weather or the time.

If such an app doesn't exist, is there a way to make widgets from scratch? I'm new to coding etc so if you guys could help me that would be great! :o

My goal is to have a widget that calculates a bitcoin balance in USD, based on : the current value of bitcoin in USD and an amount of bitcoin I manually input whenever it changes (I know there are Bitcoin wallet apps on the Playstore that allow you to have your balance in a widget but that's not what I'm looking for).

I hope I made sense, and thanks for reading! :)
[General Questions and Answers] danny19901:
Zooper
[General Questions and Answers] Spirale001:
Can you be a little more precise regarding how I should do it? I know about Zooper and have downloaded and tried it before posting here of course but I just can't figure it out, and all I could find on the internet was either about weather or the time or shortcuts to other apps...
[HTC Vox] Rafael1000:
Hello,

When I want to send an sms from outlook, Jeyo Mobile Extender only send the first 255 characters of the sms !

How can I send sms from outlook with unlimited characters? Can i tune Jeyo Mobile Extender to have it? Or do you know another program exactly like Jeyo but with unlimited characters?

I would be very helpful for me because with my operator i have unlimited sms.

Thanks in advance for your precious help

PS : I have an HTC Vox with the latest arabic rom
[BlackBerry Priv] www.ITservisi.net:
here is video how to update

https://www.youtube.com/watch?v=d1FqPdmO73o
[Off-topic] AllGame:
I present New Upcoming Games in the most creative and unique Style!

Check out the greatest and most anticipated new games 2016, 2017, 2018...

'Game ADmiral, this is Steven and welcome to my channel! I focus on quality and try to upload new videos at least every day. Stay tuned!

btw: I do reply. Every Time. :)

Subscribe to stay updated about the greatest upcoming games for Playstation 4 (PS4), Xbox One, Playstation 3 (PS3), Xbox 360, PC, Android & IOS!

CHANNEL

New Videos:

[YOUTUBE]GjtIgirWCs8[/YOUTUBE]

[YOUTUBE]nXui8yyMyiM[/YOUTUBE]

And i find this is the best Trailer of Upcoming Game 2019 with Norman Reedus as Character!

[YOUTUBE]QhNPcdvQCX4[/YOUTUBE]

SUBSCRIBE
​
[Xiaomi Mi 5 Themes, Apps, and Mods] c-non:
This mod activate earpiece speaker for dual speaker sound. I tested on Lineage os 14.1 with mi5 prime edition and no problem.

Please backup first mixer_path_tasha in /system/etc, I am not responsible for any malfunctions that may occur.

Flash twrp version or unzip and copy attached file mixer_path_tasha to /system/etc , and change permissions to rw-r-r (or 644).

Reboot, enjoy and press thanks button please :)

V1

-Dual speaker mod while playing media.

V2

-Dual speaker mod with all sounds(system,ringtone,notification...) now ! :)

-Sound instantly decrease fixed.

V3

-Always enabled main speaker and earpiece speaker.

-If you want to enable stereo mod set this command with terminal emulator : "echo 0x8093 > /sys/kernel/debug/tfa9890-34/regs/04-I2SREG"

-Stereo mod will be disabled when you reboot, you can use tasker app. to apply stereo mod on boot.

New mode to increase speaker

-Add line to build prop : "persist.speaker.prot.enable=true", this line increase system sounds.
[Xiaomi Mi 5 Themes, Apps, and Mods] ojosehenrick:
Great work! One question, this is stereo (like in headphones) or the audio on both speaker is the same?
[Xiaomi Mi 5 Themes, Apps, and Mods] c-non:
thanks [MENTION=7177885]ojosehenrick[/MENTION] did you mean is this stereo or mono ?
[Xiaomi Mi 5 Themes, Apps, and Mods] ojosehenrick:
Yes! Btw, you think in make a flashable zip of this? Would be great
[Xiaomi Mi 5 Themes, Apps, and Mods] c-non:
it is stereo, also added twrp flashable zip,flash and enjoy :)
[Xiaomi Mi 5 Themes, Apps, and Mods] ojosehenrick:
Thanks, that's what mi5 was missing! I tested with a video on YouTube (stereo test) and when the sound focus is on the left side both speakers work and when it's right side only the speaker (next to usb-c) works. Can you tell me which lines I have to edit to disable the bass speaker (next to usb) when the focus is on the left side? (Just for testing purposes) :D
[Xiaomi Mi 5 Themes, Apps, and Mods] prakzwary:
Just tried on mi5 1.8ghz eddition Miui 7.3.2 global rom. This mod dint enable earpiece speaker but no bootloop..

---------- Post added at 12:52 AM ---------- Previous post was at 12:28 AM ----------

OMG.. this mod on miui gives disturb on call..cant hear anything..even on earphone cant hear anything. It also disturb mic also
[Xiaomi Mi 5 Themes, Apps, and Mods] c-non:
Hey boys thanks for feedback, i didnt tried this mod on miui rom, but lineage using miui 7.3.2 mixer path and sound config, i must look for miui later.
[Xiaomi Mi 5 Themes, Apps, and Mods] ojosehenrick:
Any way to do (or tell me how) what I've said above? :D
[Xiaomi Mi 5 Themes, Apps, and Mods] c-non:
[MENTION=7177885]ojosehenrick[/MENTION] i said this is stereo but i understand wrong sorry,so next usb speaker always enable and sound is mono, i will work for stereo,thanks for feedback.
[Xiaomi Mi 5 Themes, Apps, and Mods] prakzwary:
Is it LineOS support OMS 7 ?
[Xiaomi Mi 5 Themes, Apps, and Mods] c-non:
[MENTION=5356725]prakzwary[/MENTION] yes i am using on lineage 14.1 latest version.
[Xiaomi Mi 5 Themes, Apps, and Mods] ojosehenrick:
c-non, latest build of lineage got a sound bug due to changes on mixer_paths (low sound on headphones). Can you provide a mod with the mixer_paths from 0308 build of lineage?
[Xiaomi Mi 5 Themes, Apps, and Mods] Kikatdroid:
Work with dolby atmos?

Envoyé de mon MI+5 en utilisant Tapatalk
[Xiaomi Mi 5 Themes, Apps, and Mods] prakzwary:
Here it is..enjoy..

Sorry that is wrong one.
[Xiaomi Mi 5 Themes, Apps, and Mods] prakzwary:
This is original one.
[Xiaomi Mi 5 Themes, Apps, and Mods] prakzwary:
Thanks iam also using today. But this mod got bug here. Sometime sound become silent even playing media. And earpiece speaker doesnot work.
[Xiaomi Mi 5 Themes, Apps, and Mods] Argenis_jbc:
Exactly what i was looking for, thank you! :) ??
[Xiaomi Mi 5 Themes, Apps, and Mods] tasosko:
this mod is only for headphones right?
[Xiaomi Mi 5 Themes, Apps, and Mods] nickalumada:
the mod wont work on RR 5.8.2 :< and it makes headphones volume go low... Please fix it... And love your work btw :3
[Xiaomi Mi 5 Themes, Apps, and Mods] nokia5700black:
now all work fine)
[Xiaomi Mi 5 Themes, Apps, and Mods] IMTLD:
does LineageOS 15.1 have treble support?
[Xiaomi Mi 5 Themes, Apps, and Mods] zedrix53:
will this work in eu rom?
[Xiaomi Mi 5 Themes, Apps, and Mods] drpraveen:
Headphones not working
[Xiaomi Mi 5 Themes, Apps, and Mods] ajaxcbcb:
which rom are you on
[Xiaomi Mi 5 Themes, Apps, and Mods] hunkyycbz:
stereo effect is not there..and i dont know to set commands through terminal emulator

can anybody guide for stereo effect
[Xiaomi Mi 5 Themes, Apps, and Mods] drpraveen:
los 15.1 official
[Xiaomi Mi 5 Themes, Apps, and Mods] Rhaegar85:
Hi, thank you very much for your post but I will need a little more help please. I am on Viper OS. It flashed the V3TWRP fine but when I am trying to execute the command from Termux or terminal, it shows permission denied. Please help to fix this.
[Xiaomi Mi 5 Themes, Apps, and Mods] Dante63:
Root privileges...

First thing to do in terminal is type:

su

Then try to execute the command...
[Xiaomi Mi 5 Themes, Apps, and Mods] Rhaegar85:
Yeah, I already tried su. It has superuser access but if i try to enter the echo mentioned as here after typing su, it doesn't return any result
[Xiaomi Mi 5 Themes, Apps, and Mods] Dante63:
Without quotations, right...?
[Xiaomi Mi 5 Themes, Apps, and Mods] TayLin-99:
Did this works on MIUI?
[Xiaomi Mi 5 Themes, Apps, and Mods] Kheppy:
Cant flash v3 on pixel exp. 8.1.0
[Xiaomi Mi 5 Themes, Apps, and Mods] Dante63:
If the MOD isn't compatible with your phones, request the MOD in my thread, link in my signature...
[Xiaomi Mi 5 Themes, Apps, and Mods] Kheppy:
Already wrote.
[Xiaomi Mi 5 Themes, Apps, and Mods] Rhaegar85:
Yes. But I can't figure out why it's showing permission denied every time
[Xiaomi Mi 5 Themes, Apps, and Mods] Dante63:
Try using different terminal...

I use Android Terminal...
[Xiaomi Mi 5 Themes, Apps, and Mods] Rhaegar85:
Tried terminal for android as well, same result. I don't know man what I am doing wrong.
[Xiaomi Mi 5 Themes, Apps, and Mods] Dante63:
Try

echo '0x8093' > /sys/kernel/debug/tfa9890-34/regs/04-I2SREG
[Xiaomi Mi 5 Themes, Apps, and Mods] Rhaegar85:
Tried two other terminal apps, no joy. Thanks for your help. My SeLinux status is Enforcing. Could that be an issue?
[Xiaomi Mi 5 Themes, Apps, and Mods] Dante63:
Did you try the command I typed, it's different from the post...?

My SeLinux status is permissive...
[Xiaomi Mi 5 Themes, Apps, and Mods] Rhaegar85:
Yes,thanks very much. I tried both. Now I changed seenforce to permissive and this time it didn't give any error message but no success message as well. I will check if this is working now. Thanks again.
[Xiaomi Mi 5 Themes, Apps, and Mods] muchlas46:
is it compatible with AEXmod oreo (treble support) ?