yashsingh1/xdaforums huggingface dataset:
[Moto G4 Plus Questions & Answers] echo92:
Are you following a guide to help you flash?

Generally for any flashing via fastboot (e.g. for stock ROMs or for TWRP)

1)Install the ADB and Motorola drivers as directed by the guide.

1a)Extract the stock ROM zip file (should be about 2 GB in size extracted), copy all the files to your ADB folder (so they're on the same level as your adb.exe and fastboot.exe).

2)Reboot your device to the bootloader (fastboot mode) and connect to your computer via USB. Preferably this should be the same cable as came with your device or another high quality data + power USB cable.

3)Open the ADB terminal on your computer and verify that your device is communicating by typing 'fastboot devices' in the ADB terminal, without quotes. This should return your device's serial number.

4)If so, then proceed with flashing as per the guide's fastboot commands. They are the same as the stock ROMs for Moto G4/Plus devices have followed the same layout (7 sparsechunks for system, for example). If you do not wish to re-lock your bootloader, then do not use the two OEM lock begin or the OEM lock commands. If you wish to try to keep your data, then you can omit fastboot erase userdata. However, with your device in the state it is, it may be worth thinking about a fresh start and erasing your userdata.

For omitting bootloader re-locking and trying to preserve your data (though be aware you may have to wipe anyway, the following fastboot commands should suffice.

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 dsp adspso.bin
fastboot flash oem oem.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 system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot reboot

You can either edit a flashing script to mirror these commands and use the script or enter the commands, individually and in order, by copypasting each line into the ADB terminal, then executing. Ideally, you want to see [OKAY] before you proceed. You may see errors about 'Image signed with bad key' if you're actually still unlocked, that's normal.

However, if you see any other errors, such as pre-flash validation or security downgrade, then you will need to use a newer stock ROM. Depending on which blankflash you used, the September 2017 or December 2017 stock ROMs would be suitable candidates.
[Moto G4 Plus Questions & Answers] Caney:
This is what I was doing but with flash script. If I'm going to flash one of those Dec o Sep, will be necessary to update my bootloader from B1.03 to B1.07 or B1.06?

And another problem, when I open a command window in the fastboot files Windows opens Windows PowerShell instead of adb.
[Moto G4 Plus Questions & Answers] sujeet_kumar:
After flashing bootloader file from September ROM, your bootloader will be automatiically updated to B1.06 and same apply for December ROM.

But you have used the blank flash file so it is recommended to downloading the June 2017 fastboot ROM and flashing that in fastboot.

As of Windows PowerShell of WIndows 10 still it doesn't fully supported for all Commands and Features so Its better to use CMD or ADB.
[Moto G4 Plus Questions & Answers] echo92:
Then you may wish to try manually flashing each command individually, and in order, ensuring you see [OKAY] before continuing. The script may proceed too quickly to see if it's all worked, so manually flashing is another option. You could always add 'pause' before 'reboot' in the script (without quotes) to let you review the flash before rebooting.

As for Powershell instead of cmd, have a look at this thread: https://xdaforums.com/moto-g4-plus/help/installing-twrp-using-powershell-t3727761/

As for updating bootloaders, I would recommend it - your bootloader is a crucially important piece of firmware and should stay at the same patch level as your system/device firmware. This should reduce the number of complications you may face and also ensure that OTA updates go more smoothly.

Be aware that the B1:06 bootloader in the June 2017 and September 2017 security patches (NPJS25.93-14-8 and NPJS25.93-14-10) close a bootloader vulnerability, which makes downgrading to an older stock ROM even more risky as it appears Motorola does not like you downgrading. Strictly speaking, it's not the act of downgrading, but the act of taking an OTA update whilst downgraded - the mismatch between your newer bootloader patch level and the older stock ROM can hard brick your device should you attempt to install an OTA update.

Furthermore, with the December 2017 stock ROM patch, bootloaders are updated to B1:07, meaning our current latest blankflash is not likely to work (blankflashes older than your current bootloader, corrupted or not, do not appear to be permitted to flash to your bootloader). So be careful when updating and flashing anything to your device if you choose to update to the December 2017 patch.
[Moto G4 Plus Questions & Answers] Caney:
Thanks to every person that had the willing to help and answer, I did it!!! Everything helped me to understand.

I updated bootloader and errased all my data, my device started well finally. Again, thank youu.
[Xiaomi Mi A1 Guides, News, & Discussion] aditsubrata:
I got bootloop so I flash aug rom with miflash,and I update it to descember,after I update to latest december update (nougat),I don't get oreo update again even I try to factory reset,clear data frame work,etc,any solution?
[Xiaomi Mi A1 Guides, News, & Discussion] uliek01:
you must wait until several hours or days again
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
If u can't wait u can flash a pre rooted stable oreo
[Samsung Galaxy Tab A series Guides, News, & Discus] shahmir_k:
Method was kindly shown to me by user Mefody in answer to a thread I posted.

Rooting SM-T380/T385 via Magisk Manager APK v.5.5.3 & Magisk 15.2:

1. Unpack stock firmvare ***.tar.md5 that is currently installed on your tablet (they MUST BE the same!!!).

2. Then unpack AP-block from step 1 to obtain "boot.img" file.

3. Download & install on tablet Magisk Manager APK.

4. Put "boot.img" on SDCARD.

5. Run Magisk Manager, in setiings set "Patch kernel", then setup the Magisk zip (Wi-Fi must be connected to Internet ).

6. When asked, point Magisk Manager to place on SDCARD where "boot.img" saved.

7. After some time You will get "OK".

8. Find on SDCARD file "patched_boot.img". Copy in on PC & rename to "boot.img". Then archive it to "<any name>.tar".

9. Set tablet to download mode & flash above tar-file via AP-slot of Odin-programm.

10. Tablet will reboot & ask to wipe all data to factory's params. Do it... Be noticed, that all passwords, setting, google registry will be wiped.

11. After wiping & rebooting install Magisk Manager APK again... And YEAH!!! You got root!
[Samsung Galaxy Tab A series Guides, News, & Discus] a.brooding.mage:
Thanks for creating this thread. I used the original thread to root my tab, so seeing this as its own thing will be helpful to a lot of people.
[Samsung Galaxy Tab A series Guides, News, & Discus] shahmir_k:
Now all we need is TWRP and we'll have Xposed and custom rom support:cool::cool:
[Samsung Galaxy Tab A series Guides, News, & Discus] Delgoth:
For TWRP: https://xdaforums.com/galaxy-tab-a/development/recovery-t3426560
[Samsung Galaxy Tab A series Guides, News, & Discus] mingkee:
I will get this tab.

BTW, can it install Samsung Game Tuner?
[Samsung Galaxy Tab A series Guides, News, & Discus] Mefody:
Yes... Game Tuner installs & wokrs good.
[Samsung Galaxy Tab A series Guides, News, & Discus] Nerd10:
Could you clarify on these two steps?

1. Unpack stock firmvare ***.tar.md5 that is currently installed on your tablet (they MUST BE the same!!!).

2. Then unpack AP-block from step 1 to obtain "boot.img" file.
[Samsung Galaxy Tab A series Guides, News, & Discus] shahmir_k:
You have to open the stock firmware with an archive manager like WinRar or 7zip. Inside you should find an AP-Block folder. Inside of that should be your boot.img file
[Samsung Galaxy Tab A series Guides, News, & Discus] Nerd10:
Thanks, where can I find the stock firmwares?
[Samsung Galaxy Tab A series Guides, News, & Discus] mingkee:
Here is another problem

Is OEM unlock in Developer Section required to install patched kernel and TWRP with Odin?

I can't find it even it's updated.
[Samsung Galaxy Tab A series Guides, News, & Discus] WeT-Klb:
Does anybody know if this rooting method will work with T-585 on Android 7.0 (January 2018 update)? I guess KNOX will be triggered, right?

Yours

WeT-Klb
[Samsung Galaxy Tab A series Guides, News, & Discus] mingkee:
I say the root is TOTALLY FALSE!!!

I have been waiting for two week and there's no update to enable OEM Unlock option.

I have returned the unit with restocking fee.
[Samsung Galaxy Tab A series Guides, News, & Discus] Delgoth:
Have you tried this method even without the option in developer settings to OEM Unlock? On my SM-T350, I don't have the option to OEM unlock either. But I can still root and install TWRP anyways.
[Samsung Galaxy Tab A series Guides, News, & Discus] mingkee:
I tried to flash modified kernel or TWRP with Odin and I got error

Only official software can be installed.
[Samsung Galaxy Tab A series Guides, News, & Discus] Barsky:
Perhaps someone could provide boot.img files and links here?

I for instance found no matching firmwares for mine. The one that had both matching versions numbers, said it was for Cellular US. This is a wifi only model. Confused :)

Thanks
[Samsung Galaxy Tab A series Guides, News, & Discus] mingkee:
I have that original boot.img and magisk modified one.
[Samsung Galaxy Tab A series Guides, News, & Discus] mingkee:
There's a 7 days waiting period after you turned it on the first time regardless reboot or not.

I will make a instruction how to root and I will post kernel and modified kernel.
[Samsung Galaxy Tab A series Guides, News, & Discus] Barsky:
I didn't realize it was so effortless to pull the boot.img out. BUt, until I have that oem unlock option in there, doesn't matter.

Come on, 14 days :)
[Samsung Galaxy Tab A series Guides, News, & Discus] mingkee:
Finally, mine has successfully rooted with Magisk.

I will post a guide.
[Samsung Galaxy Tab A series Guides, News, & Discus] joeyw007:
Trouble rooting SM-t380

When I try to flash the archived boot.tar via Odin it just hangs and sits there. Any help would be much appreciated. Thank You.
[Samsung Galaxy Tab A series Guides, News, & Discus] mingkee:
You should flash with TWRP instead.

Under this situation, flash stock ROM with all 4 parts to fix
[Samsung Galaxy Tab A series Guides, News, & Discus] alexstearkey:
I've gotten through all the steps but when I flash it I'm getting stuck on file analysis. What all I doing wrong??
[Samsung Galaxy Tab A series Guides, News, & Discus] pksw:
Thanks for the guide, seems to have worked fine. Have TWRP, Root, Magisk on my Tab A T385 after following all the guides on this forum.

I updated my firmware to latest stock

Turned on Developer mode, and OEM unlock

Then installed TWRP

Then installed Magisk via TWRP and the Magisk APK

Patched boot.img as per this guide

Have root!
[Samsung Galaxy Tab A series Guides, News, & Discus] pksw:
When I did it Odin said there was an error flashing the boot.tar file I made. But on manually rebooting the device, I had root access.
[Samsung Galaxy Tab A series Guides, News, & Discus] dwarfer66:
After we do this, do we have any actuall custom roms for this device guys?
[Samsung Galaxy Tab A series Guides, News, & Discus] XDA_Diomedes:
Success!, thanks for this.

I just followed the instructions.

Used updato to get firmware, unpacked boot.img from that.

Installed Magisk mgr, downloaded zip, patched boot.

Copied to PC, ODIN flashed patched img in AP field. ODIN was happy, tablet was happy, rebooted, told me everything will be cleansed.

Finished cleansing, booted into normal first android setup steps

I did not have any issues with OEM unlock and don't know where the mysterious 7 days came from. Mine was ready to go out of box.

Now if there were only some ROMs without TW to put on.

Are all Galaxy Tab A ROMs interchangeable?
[Samsung Galaxy Tab A series Guides, News, & Discus] cesarhenriq:
Custom Rom

Hi, I'm looking for a custom rom for sm-t385m.
[Samsung Galaxy Tab A series Guides, News, & Discus] pksw:
Do phone calls/messaging still work after rooting? I can't seem to get it to work after installing a SIM card. 4g data works fine, but not phone functions. But I never tried with stock firmware, so unsure if this is related to rooting or not.
[Samsung Galaxy Tab A series Guides, News, & Discus] FredCustodio:
Hello. I really need this file. the original. I live in Brazil and can not find the original firmware. Could you make it available?
[Samsung Galaxy Tab A series Guides, News, & Discus] Austcool:
Good it flashes I've done it by downgrading the firmware but how long do you usually to boot back up because I'm not sure whether it worked?

---------- Post added at 10:18 PM ---------- Previous post was at 10:14 PM ----------

Does OEM unlock have to be enabled for the device to boot back up after flashing the "patched_boot.tar?

---------- Post added at 10:20 PM ---------- Previous post was at 10:18 PM ----------

My device took the patched_boot.tar but then it seem to be taking awhile to boot backup

---------- Post added at 10:21 PM ---------- Previous post was at 10:20 PM ----------

My OEM unlock is completely missing so I was curious to see if I could gain root without it
[Samsung Galaxy Tab A series Guides, News, & Discus] jjosph:
I've followed this guide twice before and both times it left my tablet virtually useless. I've followed it completely and am unsure why it's not working correctly. Any ideas?
[Samsung Galaxy Tab A series Guides, News, & Discus] vbtinfo:
I kind of stuck too - ODIN displays "fail" after trying to flash the patched boot.img, while the tablet displays "Only official released binaries are allowed to be flashed" in the download mode. I'd appreciate any hint:)
[Samsung Galaxy Tab A series Guides, News, & Discus] theelectricforce:
Laughable

You can forget to find anything. I have taken 30 minutes to read this whole thread. It is named rooting tutorial but nobody is taking its time to explain how the rooting works. Its discussing how to switch roms and whatever else. You know if you have nothing else in life and you are still a virgin then you go off bragging how much else you know in a thread where you pretend to try to help a noob.

It's embarrassing. Kids, the official TWRP app does NOT have the Samsung Galaxy Tab A 8 2017 model ROM. Its the tablet you can currently buy in Best Buy Costco WALMART and they don't bother putting up a ROM for it. Like who are these people?

Also NONE of the rooting apps work on the stock device. You have to tell this to the people. If yall use your ridiculous lit up gaming PCs loaded with geek squad apps taken from the deep web, then don't come here and post something as if it would be so easy. NONE of the apps work. Samsung got smarter its ridiculous you CANT root the device from itself you need a PC.

Period..... good night throw it away you won't get it to root here....
[Samsung Galaxy Tab A series Guides, News, & Discus] coolbeans2016:
???

UPDATE ( https://xdaforums.com/galaxy-tab-a/development/twrp-3-2-1-1-tab-sm-t380-10-02-2018-t3747564) root thread....

I always check XDA for a root thread on any device before purchase. Found your reply here & noticed the vague references, posts either one way or the other.... ROOT WORKED!!! Or "No root at all"!

This would be the 3rd or 4th "FAKE ROOT THREAD" I have come across in the last year or so....

How do these stay up? I take it, this is not a root capable device? Posting in here for all to see... help me clarify this if you would.

zach

---------- Post added at 01:06 PM ---------- Previous post was at 12:59 PM ----------

https://xdaforums.com/galaxy-tab-a/development/twrp-3-2-1-1-tab-sm-t380-10-02-2018-t3747564

Once you have been on XDA long enough you will start to recognize "respectable developer" names....

Dees_Troy for one...

That above link will walk you through TWRP & root of the Samsung Galaxy TAB A 8" T380/T385....

zls
[Samsung Galaxy Tab A series Guides, News, & Discus] Barsky:
Delete - Figured it out. :)
[Samsung Galaxy Tab A series Guides, News, & Discus] Evul1:
Has anyone gotten this method to work with the Oreo update?
[Samsung Galaxy Tab A series Guides, News, & Discus] -=|MisterY|=-:
2018-12-16: Just wanted to confirm that I've got it working with the latest update on Oreo. I downloaded the latest stock ROM from updato. This was really handy when recovering from a failed TWRP installation. It is also needed, as noted in the instructions, as the base for patching the boot.img.

I want to thank you for this fantastic method! Now I'm looking how to force adopted storage and turn this pos into a decent tablet.

This was also the first time I've used Heimdall on Linux to flash all the images. I have to say I find it much more intuitive than Odin.

Cheers
[Samsung Galaxy Tab A series Guides, News, & Discus] Barsky:
Rooting this on 8.1 breaks mirroring. This is to a Samsung tv, roku ultra and tcl roku tv.

Yet, I can mirror the tv to the tablet. Have flash, wiped, rooted a few times to test. Same result. :)

Pretty sure rolling back is not allowed.
[Samsung Galaxy Tab A series Guides, News, & Discus] Talich52:
read this: https://xdaforums.com/galaxy-tab-a/...10-02-2018-t3747564/post78578657#post78578657

:)
[Samsung Galaxy Tab A series Guides, News, & Discus] genuone:
I need these firms if you would be so kind to share them with me
[Samsung Galaxy Tab A series Guides, News, & Discus] pksw:
Update to my old post.... changed SIM card to another provider and my Tab A now works as a phone too.
[Samsung Galaxy Tab A series Guides, News, & Discus] dsfileware:
sm-t385m

This methode works on sm-t385m?
[Samsung Galaxy Tab A series Guides, News, & Discus] Freedcx:
how do we get OEM unlock for T380XAR1ARB3 android 7.1 build? Cant find unlock in dev options. Try adjusting the date by 7 days but did not work. I want to stay on 7.1.
[Samsung Galaxy Tab A series Guides, News, & Discus] Austcool:
If anyone has a SM-T380 dm me on XDA me and @andr0idfr3ak have once again ported a highly experimental LineageOS to the SM-T380 we need help with getting more info on the device to make it run properly and we would like if you guys help us run the test alpha builds and help us figure out how to make it work properly we have built a tree that builds a .zip this is no joke this is the real deal; we also were the guys who helped get LineageOS on the SM-T350. If you are interested in being a part of helping us figure it out just drop me a dm on XDA and I'll invite you guys to our private chats. Thanks for hearing me out. We could use more people with this device to figure it all out! ;)
[Samsung Galaxy Tab A series Guides, News, & Discus] Austcool:
https://xdaforums.com/t/custom-sm-t380-boot.3828501/ I updated My Samsung Defex disabled Prerooted Images here as of 2022!
[Samsung Galaxy Tab A series Guides, News, & Discus] Austcool:
We have an experimental LineageOS build but TWRP Oreo is too old to flash it!.... https://drive.google.com/file/d/10ap1clOxY8SCdg4kQhtE9AuA6cUJg4nQ/view

All build credit goes to @Andr0idFr3ak basically The Freaking iDroid I only provided him information for building.
[Samsung Galaxy Tab A series Guides, News, & Discus] Austcool:
We need a newer TWRP build and trees if @ashyx would be willing to OpenSource the TWRP trees for the SM-T380 my friend would be willing to upgrade the recovery in order to flash the LineageOS build properly
[HTC Desire 10  Questions & Answers] FuzzyZoom:
Hello,

So after following the guide on this post, I managed to flash TWRP, but after I tried to flash SuperSU, it wouldn't work because it would fail right after "Extracting ramdisk". Seeing that didn't work I dug around on other forums and stumbled upon this.

And so I backed up my boot, system and data partitions (not the system image though) and flashed SuperSU zip. It led to a bootloop where it wouldn't get past the HTC logo (it would reach the logo, stay there 2 seconds, than reboot). I went into TWRP where I restored the previous backup which, to my surprise (and honestly I don'y really know what happened) the bootloop didn't go away, but had changed (instead of rebooting, it just freezes at the HTC logo).

I messed around trying to flash a stock ROM (from here, more specifically the A56DJ_PRO_DUGL asia zip) but didn't go nowhere, even worse, I managed to lose my backup together with wiping the system partition. And here I am, not knowing where to go next. I don't really understand how the RUUs work (all the suggestions I find online keep talking about the .exe files, which I can't seem to get a hold off) and anything else doesn't seem to be available.

I guess if anyone could guide me through this, that would be great. I'm pretty comfortable with the command line and how things 'kinda' work, so I don't need very thorough explanations, just a few pointers.

Thanks!
[Xiaomi Redmi 4a Guides, News, & Discussion] hypergamer1231:
From unboxing to returning to stock from a custom rom.

Anything and everything for the Redmi 4A in a detailed and step by step video guide.

Every rom, kernel, mod will be covered on video hence making it easy for anyone and everyone.

If theres a video you would like to see about the Redmi 4A just reply to this thread and I will make it for you guys.

1) Xiaomi Redmi 4A - Unboxing And Quick Look

[YOUTUBE]cmDEBCugsQ4[/YOUTUBE]

2) Xiaomi Redmi 4A - Benchmarks And Temperature Test

[YOUTUBE][/YOUTUBE]

3) Redefining Affordable Smartphones : Xiaomi Redmi 4A - Review

[YOUTUBE]zbu9ecgqYfU[/YOUTUBE]

4) How to Root & Install TWRP - Redmi 4a (Easiest Method)

[YOUTUBE]xlLwBBbULr0[/YOUTUBE]

5) (EXCLUSIVE) Lineage OS 13 Install And Preview - Redmi 4A

[YOUTUBE]bLCmUDRNvzg[/YOUTUBE]

6) Redmi 4A Gaming - The real detailed review. Watch before you buy.

[YOUTUBE]Fxu_gIpEYdc[/YOUTUBE]

7) (Exclusive) How to Install Mokee Os On Redmi 4A

[YOUTUBE]hRHJ_CTmbZk[/YOUTUBE]

8) Must Watch - How to Install Global Beta Rom On Any Xiaomi Device - Ft Redmi 4A

[YOUTUBE]2G_TKMJBPvI[/YOUTUBE]

9) GUIDE (Latest No Root Method) - Install Google Play Store On Any MIUI China Rom

[YOUTUBE]zBXoMNFV5wM[/YOUTUBE]

10) Official : Install MIUI 9 (7.8.10) Global Beta On Any Xiaomi Device Locked/Unlocked Bootloader

[YOUTUBE]u4yQ1rqahPI[/YOUTUBE]

11) Transform Any Android Phone To Look Like A Google Pixel 2 (Easiest Step By Step Guide)

[YOUTUBE]yIaSB5hIc1I[/YOUTUBE]

12) The Best Rom For Redmi 4a (With Volte) - Heres how to install CrDroid Ft Redmi 4a

[YOUTUBE]W_BXLcQ_WKc[/YOUTUBE]

14) Miui 8.5 (Android 6.0) Vs Crdroid (Android 7.1.2) Benchmark Comparison Ft Redmi 4a

[YOUTUBE]N7I-ZsRx_IM[/YOUTUBE]

15) Speedtest - Miui 8.5 Stable (Android 6.0) v/S Crdroid (Android 7.1.2) Ft Redmi 4A

[YOUTUBE]Eu8UrWrj_xw[/YOUTUBE]

16) Crdroid Android 7.1.2 - The Quick Review For Xiaomi Redmi 4a (Best Custom Rom For The Redmi 4a)

[YOUTUBE]WgIpwBZ1rto[/YOUTUBE]

17) Redmi 4a Install Official Miui 9 (Android 7.1.2) Step By Step Guide (Xiaomi earphones giveaway)

[YOUTUBE]VIfrpRkKgtM[/YOUTUBE]

18) Redmi 4A -New Update Lineage OS 14.1 Everything working Stable [Redmi 5A Giveaway]

[YOUTUBE]9dgZqlDjznk[/YOUTUBE]​
[Xiaomi Mi A1 Guides, News, & Discussion] Sujalraj:
When turn ON GPS LOCATION show this message

'in android location provider changed"

Anybody show this message
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
This message is broadcasted when you enable GPS, one of your apps might be showing this toast. Try to use Notification History or Toast Source to identify the source app of the toast.