yashsingh1/xdaforums huggingface dataset:
[Moto G5 Plus Questions & Answers] sednafx:
I plan to make a complete backup of the device so I can restore to stock and receive OTAs in the future. I would like to outline my intended process and hope a more seasoned community member will QC.

Step 1: Boot TWRP and perform a full backup

While in fastboot, run:​

fastboot boot <twrp.img>

Navigate TWRP and perform full backup​

Step 2: Root the Device via Magisk (or superSU if you desire):

See other threads for rooting​

Step 3: Determine what partition recovery is located on:

Using ADB -> shell, run:​

su

Grant root access and run:​

ls -l /dev/block/*/by-name

Find the partition labelled recovery, note the path​

Step 4: Extract the recovery and package into an image file:

Using ADB -> shell, run:​

dd if='/dev/block/mmcblk0p<#>' of='/sdcard/stock_reco.img'

With this, if I want to go back to stock, I can restore the unrooted factory ROM with TWRP and flash the stock recovery with fastboot.

What is the communities thoughts?
[Moto G5 Plus Questions & Answers] Smeagal192:
I would love this ability too, sadly found nothing on forum that's even close, stock available once you have worked out at which update your bootloader is at.

Why lenovo/motorola decided on different model versions around the world seems crazy, surely easier for production and marketing to make international, especially supplying updates for OS.

Rant over.
[Moto G5 Plus Questions & Answers] manos78:
Hi,

If you like

"restore to stock and receive OTAs"

...

Please, advise that you need to backup all of these partitions: BOOT, SYSTEM,

OEM

and RECOVERY. Not all TWRP versions will backup all!

Futhermore, if you will like to do a downgrade, then you need to backup all other parts.

I hope this helps to newbies!
[Moto G5 Plus Questions & Answers] sednafx:
I would like to backup the full partition table. Please let me know what steps I am missing. TWRP should backup boot, and system. I understand recovery may need done separately.
[Moto G5 Plus Questions & Answers] <*{{{{{{><:
OP, did you ever get an answer on this? I'm interested in using block copy as well to pull down a complete stock image.
[Moto G5 Plus Questions & Answers] sednafx:
I have researched this topic and from what I can gather, you have to be rooted to pull the block level data on system etc. I haven’t found a full tutorial to complete what I am trying to do.
[Moto G5 Plus Questions & Answers] sednafx:
There was an option in TWRP to backup recovery. I haven’t tested if I restore everything... Can I get back OTAs.
[Moto G5 Plus Questions & Answers] prokaryotic cell:
I'm interested in doing the same thing. It seems there are no stock images for my XT1683 on NPN25.127.33 and I don't want to risk bricking it by eventually flashing the wrong image and taking a OTA. So the obvious solution would be to backup my own stock image. I've looked around and found the following thread and command:

https://xdaforums.com/showthread.php?t=1758326

dd if=/dev/block/mmcblk0 of=/sdcard/mmcblk0.img

I can't be sure, but it would seem this could be used to backup the entire partition set (including OEM as well as the stock recovery and bootloader). Even if there's no root access, one could boot into TWRP from fastboot and issue the command (exactly like OP's step 1). Do you think it would be possible to take this backup, restore it at a later date and still be able to take an OTA with no issues?
[Moto G5 Plus Questions & Answers] darkglobe87:
I also would like to know this. Or if a stock ROM is available for XT1684 NPNS25.137-33-11 as I've searched and had no luck.

Thanks.
[Samsung Galaxy Note 8 Questions and Answers] kitakami:
I'm using Galaxy Alpha right now. I'm trying to move next phone to Google Pixel2 XL, Galaxy S8+, or Note 8. I'm a root user, so I want to root my Note8.

What I can't do when I root my Note 8. I know Samsung Pay doesn't work.
[Samsung Galaxy Note 8 Questions and Answers] winol:
You can do whatever yo have done in the past with your phones, but in this case you will loose knox secure, besides samsung pay, samsung health and secure folder, and I think there are issues with fingerprint and iris
[Samsung Galaxy Note 8 Questions and Answers] kitakami:
You mean that I can't use Iris or Fingerprint as lock?
[Samsung Galaxy Note 8 Questions and Answers] soraxd:
you can, you only lose the Samsung Pay app, and Knox app. S Health work fine, not sure why he said that. you can use fingerprint, iris scanner, and everything else besides those 2 apps.
[Samsung Galaxy Note 8 Questions and Answers] kitakami:
Thankyou!
[Samsung Galaxy Note 8 Questions and Answers] zoreli:
... and you will loose warranty for 900 $ phone .
[Samsung Galaxy Note 8 Questions and Answers] kitakami:
Only loose warranty which is related to KNOX.

I'm living in South Korea, and Samsung Fix my phone for free within one year which is not related to knox eventhough I broke my KNOX!
[Samsung Galaxy Note 8 Questions and Answers] Jammol:
Root doesn't trip Knox, so warranty stays intacked.
[Samsung Galaxy Note 8 Questions and Answers] zoreli:
In Europe when you trip Knox you loose warranty .

Послато са SM-N950F уз помоћ Тапатока
[Samsung Galaxy Note 8 Questions and Answers] Manson79:
Hi,

In Europe? At least not in France... For us this is still valid: https://xdaforums.com/showpost.php?p=34284421&postcount=1

Knox tripped and warranty is still valid in France.

On Snapdragon yes, but on Exynos root trip Knox...
[Samsung Galaxy Note 8 Questions and Answers] Jammol:
I'm referring to the Snappy Dragon.
[Google Pixel XL Questions & Answers] Smtfalcon:
I'm running the open Oreo beta, the latest version on my Google pixel xL...

For the most part I love my phone,but for some reason the playback screen/pause and scroll doesn't fade away automatically, I have to manually press the little "x" on the bottom right of the screen. Is there a fix for this. I didn't see anything in settings.

Question 2: sometimes when watching YouTube videos the video playback is pitch black or this isn't any video period, just sound...

Any thoughts? Help? Much appreciated!
[Google Pixel XL Questions & Answers] Scythe:
Pixel xl 8.1 preview 1, I don't have issues you are reporting(both of them). Only, sometimes videos do not get into landscape mode when I tilt the phone, need to press fullscreen button to fix it. But generally it is ok.

BTW where is that x button you mention? There is a partial rectangle to get in to full screen at bottom right.
[Verizon Samsung Galaxy S7 Questions & Answers] omgitsMATT:
Hi, I've successfully rooted my phone!

Is there an easy, quick or thorough way to debloat our phones running Nougat?

psouza4 had this thread with directions on how to do that, but I think it was for 6.0.1 because it's not working on my phone :(

My phone is the Samsung SM-G930V with the baseband version G930VVRU4BQA4 and build number NRD90M.G930VVRU4BQA4 if that helps anyone.

Anything anyone can do to point me in the right direction or any tips you could give me would be greatly appreciated.
[Verizon Samsung Galaxy S7 Questions & Answers] Osama Chishty:
If you are rooted u can use titaniim backup app from play store to remove or freez them.
[Verizon Samsung Galaxy S7 Questions & Answers] omgitsMATT:
I was thinking something similar to this or this but for 7.0, not 6.0.1.

I'm not clever enough to really know what can and can't be removed safely. I usually just spend weeks removing stuff to try and strip down to an absolutely minimum stock phone and end up just breaking the operating system and having to start over.

However, in the two links hyperlinked above, two guys both immensely smarter than me were able to strip the phones of all the bloatware and then some while remaining on stock roms and having a very functional phone.

I was hoping to find something like that.

For now I'm just downgrading to a rom that came out before Sep 15, 2016 and then following the steps in this thread to get a functional rooted phone that is tweaked to run okay, then I'm using the steps in this thread to strip the phone down to almost nothing but still keeping it functional.

I would rather have total control of the applications and software on my phone and use a dated operating (6.0.1) system versus using the most up to date operating system (7.0) and not having as much control or understanding of what's on my phone.

I would love to upgrade to 7.0 though if anyone knows an extensive and reliable way to extremely debloat the Verizon Samsung S7 SM-G930V with a locked bootloader?

I've lurked and googled every variation of any combination of words to try and find the right place to learn how to do this but fell back on the two threads I hyperlinked above, twice. I can't find anything that works for me for 7.0
[Verizon Samsung Galaxy S7 Questions & Answers] omgitsMATT:
If anyone wants to emulate what I did to get a similar result, I used the firmware version G930UUEU4API3 for the device Samsung Galaxy S7, model SM-G930U for my SM-G930V (apparently the G930U version doesn't come with Verizon bloat? just standard bloat?) because that version was released 9/09/16 and the thread for the extreme debloat was last updated 9/15/16, probably to account for that release. After that nothing has been updated.
[Verizon Samsung Galaxy S7 Questions & Answers] Osama Chishty:
Update 7.0 root it and try this rom. You need to create a account to access the form.

http://stang5litre-roms.proboards.com/
[Verizon Samsung Galaxy S7 Questions & Answers] omgitsMATT:
Thanks. I was using the 6.0.1 rom for awhile but ended up doing other things.

I have been using this 7.0 one now since you posted on the 4th and it's nice.

If you find anything else do share, thanks so much for your help!
[Verizon Samsung Galaxy S7 Questions & Answers] omgaruda:
Verizon Samsung Galaxy S7 SM-G930V is mine as well running oreo 8.0 how to root/unlock bootloader?

cheers much appreciated
[X Play Q&A, Help & Troubleshooting] stingu:
I have Moto X play XT1563. It was stuck in a boot loop - moto logo->circle and "erasing"->reboot

Fastboot and ADB works

I tried to flash new firmware (stock image) - failed:

(bootloader) Invalid signed image

(bootloader) Preflash validation failed

based on that and research I decided to unlock bootloader, which ended up with:

(bootloader) Check 'Allow OEM Unlock' in Developer Options.

FAILED (remote failure)

since phone is unalbe to boot I cannot go to dev options. Is there any way to have it done using adb or fastboot? even low level linux way to change something in the config?

or (easier way) - anyone aware where can I find new Bell firmware? now I have M8936_2020632.44.03.21.57R LUX_BELLCA_CUST

Appreciate any suggestions
[X Play Q&A, Help & Troubleshooting] omararce:
Check here

https://github.com/motoxplay/stock

there is a bell firmware but is tagged with a BELL? so, don´t know if will it work

Cheers.
[X Play Q&A, Help & Troubleshooting] stingu:
Thanks - checked that before - this one is 6.0.1 and I need 7.1.1

Version NPD26.48-21-1 to be exact
[X Play Q&A, Help & Troubleshooting] stingu:
I also tried to boot into custom recovery (.img file from here:

https://xdaforums.com/moto-x-play/orig-development/recovery-twrp-2-8-7-0-t3194656):

fastboot boot boot.img

failed:

downloading 'boot.img'...

OKAY [ 0.401s]

booting...

FAILED (remote failure)

finished. total time: 0.405s
[X Play Q&A, Help & Troubleshooting] jaskiratsingh:
Do you have an unlocked bootloader?
[X Play Q&A, Help & Troubleshooting] esluffy:
Did you try to install TWRP ? It's not bootloader unlocked, is it ?
[X Play Q&A, Help & Troubleshooting] stingu:
Bootloader is locked, while trying to unlock it I get:

(bootloader) Check 'Allow OEM Unlock' in Developer Options.

FAILED (remote failure)

Flashing and booting fails, for stock and TWRP
[X Play Q&A, Help & Troubleshooting] stingu:
Not sure does this make sense, but by recovery mode is 7.1.1 and when I check image using fastboot command I get:

(bootloader) ro.build.fingerprint[0]: motorola/lux_retca/lux:6.0.1/MPDS2

(bootloader) ro.build.fingerprint[1]: 4.107-52-3-5/5:user/release-keys

is it possible to have recovery 7.1.1 and system 6.0.1?
[Moto G5 Plus Questions & Answers] Pedrustr2085xo:
Hello guys. I have a little project in mind and i would like to know if you guys know a good app to do video recording with both cameras at the same time like PIP funcion in the LG G4 stock software.
[Lenovo P2 Questions & Answers] sm00th4f3:
So i originally had a p2c...blabla

Ota updated to p2a4 or something like that. sf244 ROW

unlocked oem (waited 14days)

flashed twrp.

factory resetted+format system. + data partition is ext4

rom flashed successfully

gapps starts flashing but keeps stuck after just 1% of flashing.. always.

or twrp keeps freezing.

Does anyone have a solution?

Right now i'm back to Stock Rom+Magisk 13.3 .
[Lenovo P2 Questions & Answers] The WiTcH Er:
If you have backup then Install your stock rom and its every components such as boot, recovery etc....

Or download the fastboot files from the p2 thread and flash it.

Then properly install twrp.
[Lenovo P2 Questions & Answers] sm00th4f3:
How can i properly install twrp?.. I mean, i think i always installed in correctly...otherwise magisk wouldn't work., right?. Because it does. I need your help. I even got Safetynet Pass and Root Apps like Root Explorer is working Fine.

Only the Flashing of Custom Roms etc fails for me... It's weird.
[Lenovo P2 Questions & Answers] sm00th4f3:
Okey. I just redid it like 5 Times. And i got a bit farther.. new boot animation shows up. But still blue led after it stops.
[Lenovo P2 Questions & Answers] sm00th4f3:
I FINALLY found the SolutioN!!! I used this https://androidfilehost.com/?fid=817550096634780916 and did the upgrades per ota. Then adb'd my twrp on my phone. And changed data to ext4. Rebooted. Activated usb debugging again. flashed twrp again(just to be sure), booted into twrp. Formatted system,data,cache,dalvik and then flashed my roms. SUCCESS <3
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
Hi guys, bit of a noob here...I messed up my kids tablet.

It was running NoleKat 2.X, previous to that was running stock 4.4.2.

In an effort to get tablet back to stock to clear up some bootloop issues - used odin to flash stock 4.1.2 it worked no problem except Samsung update to 4.4.2 would no longer work...

so I break out odin again and grab what I think is the right stock 4.4.2 Rom from sammobile....try to flash it, it fails and now tablet only boots straight into recovery <3e>.

I tried wipes from recovery they all fail due to some make_extf4fs failed on dev block.

adb sideload will crash when ROM transfer gets to about 70%.

tablet will not take any other ADB commands

Smart switch and Kies will not reconize tablet say its unsupported - works fine on another tablet.

I can get it into odin mode but odin will fail no matter what I try and flash...works fine to flash second tablet I have.

Any suggestions or do I need a new tablet.

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] RealWelder:
I think what happened is due to the bootloader...it was different on JB, so the KK rom won't boot on it without the KK bootloader. Did you try to flash [MENTION=3034891]gr8nole[/MENTION] TWRP? If you can get it to flash, you may be able to recover it.
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
Let me try that using odin - if its a bootloader issue should I not be able to flash JB stock then? should I try it if TWRP is a no go?

Thanks

Plazomat
[Galaxy Tab 3 Q&A, Help & Troubleshooting] RealWelder:
I would. Also, it's possible that your download became corrupted, might try redownloading stock from SamMobile again. I think we can probably get it going, though. There is still hope. Lol
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
So when I flash twrp 2.8.0 it , the progress bar goes all the way green then fails after a few seconds here is the oding log...

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin engine v(ID:3.1203)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> SingleDownload.

<ID:0/003> recovery.img

<ID:0/003> FAIL!

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

Thanks for any help RealWelder...

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
And when I try to flash a jelly bean stock rom it fails almost instantly....and log is as such..

<OSM> Enter CS for MD5..

<OSM> Check MD5.. Do not unplug the cable..

<OSM> Please wait..

<OSM> Checking MD5 finished Sucessfully..

<OSM> Leave CS..

<ID:0/003> Odin engine v(ID:3.1203)..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> SingleDownload.

<ID:0/003> boot.img

<ID:0/003> FAIL!

<ID:0/003>

<ID:0/003> Complete(Write) operation failed.

<OSM> All threads completed. (succeed 0 / failed 1)

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
One more thing I should add - not sure if it makes any difference but I never get the android picture just before I get into odin mode....I need to time it, waiting for the backlight to come up, release home/power/volume down, then tap volume up and I get the odin mode text information only - never a picture.

Odin will only attempt to flash once from a fresh entry into recovery - once it fails...if I just try again it won't get past getting PIT table and pukes that PIT is missing or something like that - I will see if I can post that log as well..

PLAZ
[Galaxy Tab 3 Q&A, Help & Troubleshooting] kokiloki1997:
Hi i have the same problem can u help me pls?
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
Making some progress i think....I found rootjunky's link to odin 3.07 and at least it does not "fail" right away.

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> boot.img

<ID:0/003> NAND Write Start!!

<ID:0/003> recovery.img

<ID:0/003> PBL.bin

<ID:0/003> param.lfs

<ID:0/003> loke_2nd.bin

<ID:0/003> loke_pxa988.bin

<ID:0/003> system.img

<ID:0/003> cache.img

<ID:0/003> hidden.img

<ID:0/003> radio.img

<ID:0/003> RQT_CLOSE !!

<ID:0/003> RES OK !!

<ID:0/003> Removed!!

<ID:0/003> Remain Port .... 0

<OSM> All threads completed. (succeed 1 / failed 0)

Problem is no matter what stock rom or custom recovery i flash - tablet always always always reboots to samsung ( I think) recovery....

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] RealWelder:
I use Odin 3.04, if that helps. In the past I've bricked mine a number of times and have always managed to fix it. Once I encountered a similar situation, where basically the system partition was shrunk from 1.4gb to 1.2gb and Odin would fail everything because of it. I was lucky enough to still have TWRP, so I used it to flash my rom's flashable zip and that fixed it. I think we need to get back to total stock 4.2.2 and then reupgrade to 4.4.2. Or we need to get TWRP to flash... Can you open up a terminal shell anywhere and get root? If so we could manually flash TWRP.
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
I can try using Odin 3.04 see if that helps at all...

I have tried using ABD commands from my PC in powershelll and a CMD window, but the only time it responds to anything is when I put it into ADB sideload mode from the "recovery".

I will try to flash a stock 4.2.2 with Odin 3.04 and report back.

Is there anyway to Odin Flash your ROM?

Thanks for help Real Welder

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] RealWelder:
I tried to do an Odin flashable before and it passed and everything, but once the ROM booted up it wouldn't connect to the pc anymore via mtp. I could try to upload one and if it boots up we can flash TWRP and then my ROM and everything will work correctly. The main thing is just getting out of the loop. Report back on the 4.2 flash, meanwhile I'll try to get an Odin flashable for you to try.

Here is my ROM in Odin format. Hope it helps!

https://drive.google.com/file/d/1g6sM4l--bYqIGrzeUu0aMEEc0vBmQwga/view?usp=drivesdk
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
Thanks RealWelder you are awesome to still be supporting these old beaters - gonna try this in the morning when I get some time....

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] RealWelder:
Did either of you have any luck?
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
Sorry Real - I haven't got a chance to try it - life got in the way...been itching to get this moving again...plan is to attempt it later today..

I read that the kernel may have to be flashed with something like the blackhawk kernel...because this tab was once upgraded to 4.4.2 and I went back to a 4.1.2 stock rom...any opinons on if I should bother with that first? or at all?

Thanks so much for the help.

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] gr8nole:
Couple things to keep in mind here:

If the full 4.4.2 firmware was flashed to the device at any point, then the bootloader was updated. The 4.4.2 bootloader needs to have the stock 4.4.2 recovery or one of the custom recoveries that has the "recovery bootloop" fix. The most recent TWRP will work.

The 4.4.2 bootloader looks for a signal that the recovery session is complete before it will boot into the OS properly. Older 4.1.2 recoveries do not provide this "recovery complete" signal, so it gets stuck in the recovery bootloop.

This may or may not be useful in your case as I admit that I didn't read this whole thread. ;)
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
Thanks gr8nole - tried flashing the 3.0.0 TWRP still no joy - keeps booting into stock (ithink) recovery. I pulled it from your file repo on Android file host.

I say I think cause the font is so big and the display is in landscape mode.

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
Gave it a go with your ROM...still recovery boot loop as suggested by gr8nole.

Here is log..

<ID:0/003> File analysis..

<ID:0/003> SetupConnection..

<ID:0/003> Initialzation..

<ID:0/003> Get PIT for mapping..

<ID:0/003> Firmware update start..

<ID:0/003> boot.img

<ID:0/003> NAND Write Start!!

<ID:0/003> system.img

<ID:0/003> RQT_CLOSE !!

<ID:0/003> RES OK !!

<ID:0/003> Removed!!

<ID:0/003> Remain Port .... 0

<OSM> All threads completed. (succeed 1 / failed 0)

Thanks again

Plaz
[Galaxy Tab 3 Q&A, Help & Troubleshooting] plazomat:
Hi Gents, still messing with this when I have time and no joy...

Can't get a custom recovery to stick, odin flashes file but when device reboots just goes back to stock recovery...

Any clues.

Plaz
[Sony Xperia X Compact Questions & Answers] dnnz:
I'm going crazy with this.

I installed the lastest version of flashtool, along with the x10flasher.jar that makes it the latest version.

Both fastboot and google drivers are installed (from the drivers included in flashtool), the device is recognized, the fastboot mode too, USB debugging is activated, but Flashboot gives me these errors messages:

ERROR - No device is registered in Flashtool.

ERROR - You can only flash devices.

I did the same in another PC and is the same error.

Please help it's 3 hrs already with this i'm about to kill my PC i can't see where the problem is, any help is appreciated.
[Sony Xperia X Compact Questions & Answers] ypnos42:
So do you want to flash with fastboot or do you want to flash an FTF? For flashing FTF you need to boot the phone with the other volume key pressed.
[Sony Xperia X Compact Questions & Answers] dnnz:
I want to flash a FTF. The phones need to be in flashmode right? i tried with both flashmode and fastboot and it's the same result:

When i go to "flashmode" the device list that should pop up won't appear so i can't select the firmware that is in .flashTool > firmwares.

https://imgur.com/bSOpRM7