yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] :
Never have occupied with payload ...

FYI:

A phone's NAND-flash chip is parted into physical blocks what are called block devices: hence you have to find out the name of the block device where recovery and/or boot is located. Take note these names ( e.g. /dev/block/XXX ) are different on phones.

Once you got the names, and IF PHONE IS ROOTED, and phone's internal memory got mounted as RW, then you can extract these to your computer utilizing ADB commands:

adb devices
adb exec-out "dd if=/dev/block/<BOOT> of=C:\COPY-of-BOOT.img bs=4096"
[General Questions and Answers] bigroc2223:
Awesome thank you. When I installed a roasted gsi I seen them. I just did not know which one was recovery and which was the boot img. If I reinstall the rooted gsi and take a screenshot of the directory can you help me with the proper commands to copy them? This is just above my knowledge. Once I get them I can figure out how to use them.
[General Questions and Answers] :
Look also inside here:

https://xdaforums.com/t/guide-dumpi...-using-dd-for-complicated-partitions.3339530/
[General Questions and Answers] bigroc2223:
Thank you for all your help. I will give this a try and see if I can figure it out. I appreciate you taking the time to show me and help me.
[Xiaomi Mi 10T / 10T Pro Questions & Answers] mrasquinho:
I know that on the back there are one main camera, two secondary cameras, one flash.... But what about the other hole? What is it?
[Xiaomi Mi 10T / 10T Pro Questions & Answers] zaqm:
It's just a gimmick so Xiaomi tricks others to think that your phone has a penta camera setup 😂
[Xiaomi Mi 10T / 10T Pro Questions & Answers] mrasquinho:
Looool thanks!

I read somewhere it was a rear light sensor... But I wasn't sure
[Xiaomi Mi 11 Ultra] Rsdj:
Hi guys, i can't find the fastboot version of the latest european firmware V12.5.6.0.RKAEUXM. I need it to extract the boot.img file and patch it with magisk. Anyone know where to find it? Or is there another way to install magisk? Thank you!
[Xiaomi Mi 11 Ultra] chrissss91:
Hi, it seems to be there :

https://xdaforums.com/t/miui-updates-tracker-mi-11-pro-ultra-star-mars.4263135/

https://bigota.d.miui.com/V12.5.6.0.RKAEUXM/star_eea_global_images_V12.5.6.0.RKAEUXM_20210617.0000.00_11.0_eea_9cd0dc97f2.tgz

Weird, it says rolled out june 17th, but it was not there 2 days ago.
[Xiaomi Mi 11 Ultra] Rsdj:
Thanks friend, it worked!
[Redmi Note 8 Pro Questions & Answers] Denton.S:
Afternoon all. Years ago you could change the build prop and side load Samsung pay, anyone know if this is still possible on a rooted android 10 miui? Anyone have the latest Samsung model number and such to use if so? Thanks
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Status: development dropped. ​

If you want to pick it up, sources are available in my or twrp's GitHub.​

Introduction:

Team Win Recovery Project or TWRP for short, is a custom recovery built with ease of use and customization in mind. We started from the ground up by taking AOSP recovery and loading it with the standard recovery options, then added a lot of our own features. It's a fully touch driven user interface , no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Key Features:

Touchscreen driven with real buttons and drag-to-scroll

XML-based GUI that allows full customization of the layout true theming!

Settings are saved to the sdcard and persist through reboots

Ability to choose which partitions to back up and which to restore

Ability to choose to compress backups now with pigz (multi-core processor support for faster compression times)

Onscreen keyboard

Easy selection of internal/external storage

In addition to the above new features, TWRP features a scripting engine that allows an app to send commands to the recovery for the recovery to perform during startup. We call this scripting engine OpenRecoveryScript. This engine will be put to use immediately in the GooManager app. GooManager will be able to install recoveries automatically for most supported devices. The app will also let you choose to install multiple zips from within Android, wipe, and run a backup.

We are looking for other talented developers, themers, and device maintainers if they are interested in helping with a free, open-source project.

Source Code:

GitHub - https://github.com/TeamWin/android_bootable_recovery

Gerrit Instance - http://gerrit.twrp.me

Tree: https://github.com/Systemad/android_device_oneplus_hotdog

Kernel: https://github.com/RealJohnGalt/GaltsGulch-sm8150 and https://github.com/OnePlusOSS/android_kernel_oneplus_sm8150

If you have made your own TWRP build for an unsupported device, please let us know. We might add your build to the list of unofficial builds. Bear in mind that we are working hard to add more devices and we may add your device to our official build list later.

Installation:

fastboot flash recovery <recovery>.img

OR

use the installation zips.

Notes:

This TWRP is unified between 7T and 7T Pro with decryption working for OOS11.

OOS users: Use FBEv1

Most (?) Custom ROMS: Use FBEv2. If you're unsure, check with your ROM maintainer

7T Pro

OnePlus 7T Pro (hotdog)

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me

7T

OnePlus 7T (hotdogb)

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me

Backup/restore is unreliable, you can try this method below.

https://xdaforums.com/t/recovery-11...ect-8t-kebab-2021-09-04.4302449/post-85292199
[OnePlus 7T & 7T Pro Cross Device Development] pxrave:
Finally you put in a separate thread. Thank you very much for your efforts.

I need try again fbev2 with lineage/crdroid.

Good to look it here officially.
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
Works well for accessing internal SD and data for OOS11 and Omni11 latest. Can't backup data in TWRP though. Use swift backup app to backup data
[OnePlus 7T & 7T Pro Cross Device Development] aaronvdc:
After flashing this TWRP i can't acces SD storage. Can see the folders but ervery folder is empty. How to fix this please?
[OnePlus 7T & 7T Pro Cross Device Development] hightech316:
In my experience, this is happening because of encryption .

I usually format everything, and I can then use SD card.

Although I have yet to try this build of TWRP , I may be wrong.
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
SD? As in Internal storage? Be sure you flashed the right version, last time I tried it decrypted fine on OOS11 and YAAP.
[OnePlus 7T & 7T Pro Cross Device Development] Mogster2K:
I haven't had any luck so far with this TWRP and Lineage 18.1. Pre-release 1.1 decrypted /data but failed to back it up as described in this post. Pre-release 1.2 will not decrypt /data. Using sdcardfs builds.
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
Los18.1 likes Chinese twrp
[OnePlus 7T & 7T Pro Cross Device Development] Mogster2K:
What exactly is the Chinese TWRP? I've seen references to it but no links.
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
Search for matt0301 on afh
[OnePlus 7T & 7T Pro Cross Device Development] osm0sis:
You can't link to that here if there's no published source code. It's illegal since it violates the GPL and a moderator will remove it if you don't first.
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Test build with MTP hopefully working, thanks to @bigbiff @theincognito

Note: the startup screen can take some time, be patient

(FBEv2)

twrp-3-5-2_11-hotdog-20210707-fbev2.img

drive.google.com
[OnePlus 7T & 7T Pro Cross Device Development] NUGZZ420:
Well this worked for me to root with magisk. I didn't see all my internal storage but i did see the twrp folder and just booted the twrp img via fastboot opened the internal sd to pc and moved the magisk zip to the drive that i had access to and flashed the magisk zip and got root on my Linage 18 Thx I would so some testing to help us all out I didn't do a backup or anything when I tried decryption the passwords password and default_password didn't work so I was unsure what it was I did remove all passwords before hand THX for all your hard work
[OnePlus 7T & 7T Pro Cross Device Development] pxrave:
Hey its possible to create twrp installer zip like official for op7 because the newer custom rooms use payload installer and overwrite the recovery image if you can't use magisk plug in.

Thank you very much.

To you have changelog for this?

i flashed your recovery in linux per fastboot

booting takes a while as you said

i just installed magisk

wipe davilk only

in advanced wipe i cant wipe system and these things. i dont know this is normal.

doesnt show any errors. kernel 11
[OnePlus 7T & 7T Pro Cross Device Development] FloatHua:
Thank you very much for your work. One plus 7T can finally decrypt the data, which was impossible to work on TWRP before, but now he has succeeded, which is very good, which is very convenient and fast for brushing the machine and recovering data.
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
TWRP does not have the function to erase logical partition, and you don't need to either. If you really want to, fastbootd should be able to.

As for the installer, I can look into it.
[OnePlus 7T & 7T Pro Cross Device Development] intana:
I successfully took a backup from crdroid and recover it . But without remove lock screen pattern recovery didn't work correctly . It stuck at android is booting screen message . After remove pattern and recover data it worked perfectly.
[OnePlus 7T & 7T Pro Cross Device Development] pxrave:
Thanks for the clarification. I just remembered twrp from my other cellphones.

I use your recovery with cr Droid.

It's good to see we have a working recovery here.

I would be glad to see the installer here too.
[OnePlus 7T & 7T Pro Cross Device Development] a g bell:
Have been out of it for awhile what is the latest build for stock OOS 11 hotdog🤔
[OnePlus 7T & 7T Pro Cross Device Development] Mogster2K:
Hmm, I only found one file named "recovery-oneplus7t-3.4.2-10.0-b26.img" and it doesn't boot. :cry:
[OnePlus 7T & 7T Pro Cross Device Development] pedritopl:
What's the difference between the two?

I already installed the first one before You added the v2 :)
[OnePlus 7T & 7T Pro Cross Device Development] android bot:
Which image should I use if I am on OOS 11.0.4.1 ? I have just unlocked my boot loader.
[OnePlus 7T & 7T Pro Cross Device Development] bulentmsl:
oneplus 7t pro için hangisini kurmalıyım?
[OnePlus 7T & 7T Pro Cross Device Development] Brandon.Bissonnette:
If I had to guess v2 means FBEv2 but it could also mean a newer version.. I feel like if it was a newer version it would have been called 3.6.0_12 though.
[OnePlus 7T & 7T Pro Cross Device Development] pedritopl:
Yup. I got to the same conclusion after trying both with OOS. v2 does not decrypt data on OOS.
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
It's official now:

7T

OnePlus 7T (hotdogb)

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me

7T Pro

OnePlus 7T Pro (hotdog)

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me

I added 5G props to the unified script so hopefully they will be able to flash ROMs as well.

I will probably also upload a test build later that should hopefully be able to decrypt A12.
[OnePlus 7T & 7T Pro Cross Device Development] Brandon.Bissonnette:
I took the one osm0sis uploaded and edited it identify as Hotdogg and 1925 but I'm glad you added the 5G props offically, that's nice for everyone else with my device!
[OnePlus 7T & 7T Pro Cross Device Development] osm0sis:
I didn't upload it, it was just the previous build from TWRP's server and the unlinked markdown pages. 😛

Still all Lossyx's work. Congrats on going official! 🎉🍻

You can see it all linked up nicely now here with the newest builds: https://twrp.me/Devices/OnePlus/
[OnePlus 7T & 7T Pro Cross Device Development] Alejndrox097:
Can we format data now on TWRP? It would break things on roms with project id quota flags enabled :'(
[OnePlus 7T & 7T Pro Cross Device Development] jahidinbedod:
will wait test build for new era decrypt A12 😍
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Formatting has been supported for months now in TWRP. (With the V2 build)
[OnePlus 7T & 7T Pro Cross Device Development] Brandon.Bissonnette:
Does that mean it can't properly format data on v1?
[OnePlus 7T & 7T Pro Cross Device Development] Shavo6:
Does it mean it fully supports data backup/restore now ? I saw that you deleted info about backup in the first thread's post
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
If you're using V2 version yes.
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
It still stands the same. Info still there, bottom of the thread.
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Test build for A12. I am not on Android 12, so haven't tested it myself, so it may not work.

NOTE: PIN must be disabled!

twrp-3.6.0_11-0-hotdogv2-test.img | by lossyx for OnePlus 7T Pro

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Build also includes new updated unified script by @osm0sis
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
Perfect on my OP7T on Derp A12 :)
[OnePlus 7T & 7T Pro Cross Device Development] vulnus69:
Oneplus 7t pro DerpFest 12, unfortunately files are encrypted. SD card is empty. TWRP - test build. I haven't got any lock screen.
[OnePlus 7T & 7T Pro Cross Device Development] jahidinbedod:
hotdog or hotdogb?

what about for flashing rom.zip a12, work?
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
HotdogB.

Not tried rom flashing yet
[OnePlus 7T & 7T Pro Cross Device Development] 1aladdin1:
is it advisable to Flash this recovery, or should we just Boot it when needed?
[OnePlus 7T & 7T Pro Cross Device Development] MirzaAwais:
Works well on A12 OP7T however password needs to be fixed as already mentioned in post. Thanks again for your work and looking forward for further improvement and unified A11 and A12.

Just for clarity on Recent A11 V2, can we flash roms without formatting internal storage like if we wipe only system, data, cache and dalvik and flash new ROM aka clean flash process?
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Format data is needed, otherwise your new ROM won't boot because of encryption.
[OnePlus 7T & 7T Pro Cross Device Development] fsxitutu:
If not set lock screen password . This TWRP can't decrypt data . try "default_password" still can't decrypt .

current system : LineageOS 18.1(official)

My English is not good , please forgive me . Thanks
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Did you try the regular version (for OOS, not fbev2).

Otherwise I think I might know the problem.
[OnePlus 7T & 7T Pro Cross Device Development] filjusz:
I sold my 7T pro some time ago but it worked for sure
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
LOS18.1 is definitely FBEv1 and NOT FBEv2
[OnePlus 7T & 7T Pro Cross Device Development] fsxitutu:
yes , I try fbev1 and fbev2 both can't decrypt . But use "Systemad" unofficial TWRP can decrypt .
[OnePlus 7T & 7T Pro Cross Device Development] jahidinbedod:
successfully decrypted data on a12

install flashable zip like magisk or kernel successfully

but still can't install rom.zip

code error :

"Package is for product OnePlus7TPro but expected hotdog"

I;operation_start: 'Flashing'

Installing zip file '/sdcard/KOSP-2.2-hotdog-user-OFFICIAL-GAPPS-20211210-1443.zip'

I:AB zip

Flashing A/B zip to inactive slot: B

target_build: 59

Package is for product OnePlus7TPro but expected hotdog

To flash additional zips, please reboot recovery to switch to the updated slot.

I:Install took 0 second(s).

Error installing zip file '/sdcard/KOSP-2.2-hotdog-user-OFFICIAL-GAPPS-20211210-1443.zip'

Updating partition details...

I:checking for twrp app

I:data backup size is 7187MB, free: 205899MB.

...done

I:Set page: 'flash_done'

I;operation_end - status=1

I:Set page: 'clear_vars'

I:Set page: 'main2'

I:Set page: 'advanced'

I:Set page: 'copylog'

I:Set page: 'action_page'

I;operation_start: 'Copy Log'

i'm using latest kosp 2.2 on my device
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Give me the whole log.
[OnePlus 7T & 7T Pro Cross Device Development] arvindgr:
Finally so long after this 7T series legend's launch, Still worth a wait !
[OnePlus 7T & 7T Pro Cross Device Development] MirzaAwais:
Is it will be workable at some point in future that we able to flash roms without formatting internal data or it's not possible for this device? As we use TWRP in other phones in OnePlus too where internal storage format not needed on ROM flash.
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Format data has always been needed* when flashing other ROMs as far as I know. This is not a TWRP or device limitation, this is just how Android works.

*The only way to circumvent this is to disable force encryption. I haven't really tried to disable it on this device, so I can't say if it works or not.
[OnePlus 7T & 7T Pro Cross Device Development] MirzaAwais:
Maybe I can't convey my message clearly so I am trying again, it's sure we need to format data however me talking about format internal storage like whole storage hence format data only having limited part of internal storage like root/user/apps...... So on my previous phone I can flash roms without formatting internal storage having all available data on device.

Format data in TWRP advance wipe is not covered full internal storage like stored pictures and other documents.

Hope it will be clear my point. 🙂
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
Not on op7t
[OnePlus 7T & 7T Pro Cross Device Development] Han-Droid:
@Lossyx or others: I'm still on A10 (don't laugh, but mainly because of the fact that there was no twrp which I *always* used to backup before flashing roms...especially if going up with android versions (11,...) ).

So, I was happy to find this thread....now...problem/question:

is it normal that I CANNOT ACCESS USB-OTG (mounting, I mean)? I need external space, because RAM on my phone is to small to host a TWRP-backup....

thanks for help or ideas :-)
[OnePlus 7T & 7T Pro Cross Device Development] Brandon.Bissonnette:
Storage space and RAM are

not

the same thing.

Your device should be what, 256 GB? Back up the contents of the "SD card" (Internal storage) to a computer then delete stuff taking up the most space, most likely downloads and pictures/videos.

I'd also check out how much cache your web browser and some other apps could be using. It's not uncommon to see an apps cache be several times larger than the app and user data.

Cache is always safe to clear

The super partition should only be around 15GB give or take.

That leaves the /data partition as the other big one, I would be incredibly surprised if yours even comes close to half the total storage of the device.
[OnePlus 7T & 7T Pro Cross Device Development] NoSauce:
OnePlus 7T , Android 11 , LineageOS 18.1

I initially tried installing TWRP and it would not decrypt. So, I ended up just installing Lineage Recovery. I would like to give TWRP another try.

1. Is it too late to switch recoveries? What are the steps for switching to TWRP? Do I simply flash TWRP over Lineage Recovery? Do I do this in bootloader mode (regular fastboot) or FastboodD?

2. Which version of TWRP do I use?

3. If things don't work, is it possible to switch back to Lineage Recovery? How can I do this? Simply flash Lineage Recovery in fastboot? I'm concerned about bootloops.

4. Can I use all of TWRP's features without installing it on my phone? ie connecting my phone to computer via USB cable and booting into TWRP. Would I be deprived of any functions? Can I create backups and restore this way? If so, how do I boot into twrp from my computer's terminal?

5. What's the latest on backup and restore? I'm hoping to get some clarification on the things that I've gathered through this thread. Reliable backups are created but there's trouble restoring the backups? Is there a surefire workaround to get it to work?

6. Are TWRP backups nandroid images that fully restore the phone exactly the way it was when the backup was made?

Thank you!
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
Not too late. Just flash twrp.zip via adb sideload twrp.zip in los recovery.

Use official TWRP FBEv1 zip on twrp.me for LOS18.1

Yes, just fastboot flash recovery_a losrecovery.img and then fastboot flash recovery_b losrecovery.img in regular fastboot mode (no need for fastbootD as that's only for flashing rom itself)

You can use all TWRP features. You can enable developer options and usb debugging and then allow permission for adb when it pops up on your phone screen. Then do adb reboot recovery to enter TWRP using PC (assuming you have adb set up on your PC with platform-tools and opening C:\ prompt in correct folder

Works fine for AOSP12 for Lossyx test twrp above. Works fine for OOS11, Omni11, and LOS18.1 for the official TWRP version 1. Works fine for other AOSP11 roms for TWRP version 2.

Yes but you have to restore in 2 steps. First, restore all but data, boot up, skip google restore, remove lockscreen password or locks (should be "none" for lockscreen). Second, boot back into TWRP and restore data and then reboot twice (first reboot has black screen and then use keys to reboot again and you're good)
[OnePlus 7T & 7T Pro Cross Device Development] HueyT:
OnePlus 7T (hotdogb)

Disclaimer:Team Win strives to provide a quality product. However, it is your decision to install our software on your device. Team Win takes no ...

twrp.me
[OnePlus 7T & 7T Pro Cross Device Development] NoSauce:
Thank you so much for the thorough response. I really, really appreciate it.
[OnePlus 7T & 7T Pro Cross Device Development] NoSauce:
I booted into TWRP without installing it on my phone by running the following command on my PC: fastboot boot .\twrp-3.6.0_11-0-hotdog.img

In TWRP I see nothing in /sdcard . Does this mean that decryption is not working? What's the problem?

I downloaded and used the following image version:

"For Stock(OOS) and other FBEv1 ROMs:"

"Primary (Americas)"

I'm using HD1905 version of OnePlus 7T

I'm trying to make a backup using TWRP without actually installing TWRP on my phone. Can I still proceed with the backup even though I can't see anything in /sdcard? If so, what will be left out in the backup?

Thanks!
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
What ROM are you using?
[OnePlus 7T & 7T Pro Cross Device Development] NoSauce:
LineageOS 18.1
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
Have you disabled PIN? Might be important for backup.

If decryption still doesn't work then I have to put up a test build that should hopefully have it working.
[OnePlus 7T & 7T Pro Cross Device Development] NoSauce:
Just to clarify, by "disable PIN" you mean boot up into system (LineageOS) and remove all security? i.e. swipe to unlock phone?
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
The lockscreen pin yes.
[OnePlus 7T & 7T Pro Cross Device Development] NoSauce:
No luck. I removed the PIN and rebooted to make sure. Then I fastboot boot into the TWRP img from bootloader. Still cannot see anything inside the folders in TWRP.

Let me know if I can help troubleshoot in any way. thanks.
[OnePlus 7T & 7T Pro Cross Device Development] Lossyx:
twrp-3.6.0_11-0-hotdog-test.img | by lossyx for OnePlus 7T Pro

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Try this one
[OnePlus 7T & 7T Pro Cross Device Development] NoSauce:
Decryption is working. I can see all the files now. I'm creating a backup now. Am I supposed to select every partition? Super is the largest. Is "Data" simply /sdcard ???