yashsingh1/xdaforums huggingface dataset:
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] KostisTTT:
nostradomis and pedritopl, thank you very much for your answers.

I have some more questions (noob here...)

Is there another version of Android Image Kitchen, as I only have Windows 10, 64??

If not, is it safe to install the mobile version to the Oneplus 7T and follow these instructions, although they are from 2014:

""AIK-mobile:

- Almost complete feature parity with the Windows version, including compression support, --original to repack with the original ramdisk, --level to change the compression level of the repacked ramdisk, --avbkey to change the key used for Android Verified Boot (AVBv1) signing of the repacked image, and --forceelf to make an older unpacked Sony ELF file repack as an ELF. The only thing missing is --local since AIK-mobile's ability to unpack/repack while booted in Android is too complex to easily allow moving the unpack/repack directory around.

- The flashable zip installs AIK for your Android architecture (ARM/ARM64, x86/x86_64, MIPS/MIPS64) to /data/local/AIK-mobile/ and a helper script created at /system/xbin/aik (alternately /su/bin/aik or /sbin/supersu/bin/aik if SuperSU systemless root is detected, or, /sbin/.magisk/img/aik-mobile/bin/aik or /data/adb/modules/aik-mobile/bin/aik if Magisk is detected).

- Type "aik" in Terminal Emulator to automatically go to the install directory and get a root prompt, then use, eg. "unpackimg.sh boot.img" to get started.

- Running su -c "/data/local/AIK-mobile/bin/aik --restore" will recreate the aik helper script in the appropriate place (see above), e.g. after a ROM flash with su.img SuperSU or magisk.img Magisk removed.

- "aik --uninstall" should be self-explanatory, and "--help" is also available for all included scripts.""

Thanks in advance...
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Lossyx:
No idea about the mobile version. I think it's best to download the regular one and just that.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] osm0sis:
How are those from 2014? Check the edit date.. :rolleyes:
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] KostisTTT:
Thanks, you are right...
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] finshan:
Ami doing something wrong?

Anything I try to flash through this just gives me the error

failed to mount system

failed to mount vendor

failed to mount product

When I try to pull a file (e g. the boot.img copied to a temporary location) from the phone to my PC I just get an error saying the file doesn't exist even though ls will show it and I can see it in the TWRP file manager /tmp folder.

Nor can I do a backup. I get the same failed to mount errors as above.

Can't use MTP, my computer says the device isn't responding or something and it never loads the contents.

So basically NOTHING works. What am I doing wrong?

Oh and also,there doesn't seem to be a zip of this TWRP so there's no way to permanently flash it, I have to manually boot it each time through fastboot.

?????
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] levai_spencer:
if you have read the forum properly you would have known the twrp isnt working for any device with android 10, please read before asking same questions again and again and unnecessarily cluttering the forum
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] filjusz:
for god sake, delete your account
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] mrjuniork:
https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] finshan:
It might be difficult for you to realize that there are dozens of pages of content here where people are talking as though TWRP works.

I resolved multiple bootloops and other problems over a day of doing this without ever making a post until the very end of the day, and without ever coming across the answer to one of the above questions being "TWRP doesn't work in Android 10."

Thanks everyone for being super hostile though. And thanks for the answer, despite the hostility.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] ridobe:
Hostile? Dude, you're citing "dozens of pages" claiming it works. But the OP clearly states that it doesn't work. And literally THE PAGE PRIOR TO THIS ONE clearly states it along with quotes such as yours. So, you read "dozens of pages" but not the OP and not the last few pages before posting, the most important pages for ANY thread. Gotcha.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] manan001:
Why we dont have working twrp.. request all to request developer to help twrp and roms.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Lossyx:
But it's not difficult to read the very first post, which states mounting vendor and system doesn't work.

That's all you need.

And a simple google search 'Android 10 TWRP' would also have answered your question.

Hopefully though, you figured out whatever you're trying to do. And in the future, when TWRP works the OP will be updated accordingly.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Superguy:
Apparently that's not clear enough for some people. It's going to take editing the OP and saying in big red letters TWRP DOES NOT F'IN WORK YET! WE WILL POST WHEN IT DOES!!!!

I don't think we're going to see any action on TWRP for 10 until more devices ship, like the OP8 series and the S20s. There's not much incentive right now for it to be worked on. In the meantime, we either use the workarounds to get some ROMS on, like patched boot.img files, or use stock until then.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] scott.hart.bti:
[MENTION=4712355]mauronofrio[/MENTION] I really don't understand the point of having this here in its current state? Yes, you clearly specify that pretty much nothing works as of yet, but as you can see multiple users are not thoroughly reading before trying to flash this and it is causing major issues for them. I could see if this was being worked on and progress has been made, but this is essentially a stalled project with no functionality. Any chance you could remove this to avoid issues or at the very least remove the download links or make them private to testers only?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] osm0sis:
I'd argue it is still useful in its current state, but maybe [MENTION=4712355]mauronofrio[/MENTION] should make things more obvious for people who are too ignorant to read the OP by renaming the current files with the prefix "broken-" since that'll be pretty hard for someone to claim ignorance about before flashing.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] manan001:
Will be waiting for support for working twrp.. i haven't lost hopes yet.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Timmmmaaahh!:
Ah, it's like a ping request timing out...

The ones who are pinging are the more experienced users that understand XDA is a development forum and this is a development section where collaboration is the way to success! By distributing test versions of TWRP publically, [MENTION=4712355]mauronofrio[/MENTION] is inviting the entire community to work together so this tough nut can be cracked faster. These seasoned XDA members are trying to share this knowledge with the less experienced users by sending them packets of wisdom...

... Alas, the ping is timing out! Their wisdom falls on deaf ears and people continue wondering why this recovery thingy

still

isn't working. They are the little red riding hoods that got lost in the deep dark and scary forest. Well, hoodies, allow me to be your wolf! Not the kind that devours you whole but the good type of wolf that guides you to the light. And perhaps even protects you from getting eaten by the pingers.

I hear you thinking: "Wait a minute, what metaphor is going for now, the ping command or little red riding hood?". Well, both, apparently. But that's not the point. The point is that this device has been released... 3 months ago? Patience is your friend. And trust me folks, with [MENTION=4712355]mauronofrio[/MENTION] at the helm, you're all in good hands. I've seen this most talented dev crack tougher cookies ("wasn't he talking about nuts earlier?" – "yeah but I guess he likes cookies too"). Not alone, oh no, with the power of a community!

So flash that potentially hard-bricking piece of test recovery and share your logs. Contribute to a constructive conversation and lead the way to a better tomorrow! A tomorrow with a working TWRP thanks to your invaluable input and positive supporting. A tomorrow of an XDA community working together!

"Did he just say working TWRP will be released tomorrow?" – No, I did not! Focus! Please.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] spoonymoon:
This is all very nice and XDA community is big and strong and we all love it, but good intentions doesn't cut it while working on twrp expired Devs or not.

Fact is Google made changes overall with 10, and are laughing their ass of right now, thinking finally we got (partly , rest to come) control back over android

Open source ha ha not anymore :rolleyes:
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Timmmmaaahh!:
Ouch, dev is expired now? That has got to hurt [emoji39]

You actually may be on to something there... [emoji52]

They seriously messed up and broke a lot of things in 10 but whether that was intentional or not remains the big question. They are always so keen on providing more security but all they accomplish is breaking functionality (hence the broken decryption). Or they just twist the way partitions work all the time to keep us from playing with our toys. They will always fail though ^o^

Wrapped with delicious Fajita [emoji896]
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] rob420p:
I have faith in the devs in this group I do know this GS are being worked on I don't know progress but I have faith in the devs so being patient is the way to be.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] texasaggie1:
This is good. It will be worked out eventually. Maybe the thread should be titled with "expert" in the beginning like omnirom.

I did test this twrp with no issue except the things that don't work. I ended up modifying my stock recovery so I can delete magisk modules when they boot loop my device.

I'm using omnirom and twrp isn't needed with it to be rooted or do updates.

All of that said, I miss having twrp and I'm hoping we get it on this device soon. Godspeed to the op!
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] rohit83:
oh how were you able to modify your recovery, you mean enabling adb shell via stock recovery to remove magisk modules or something else?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] ridobe:
https://twitter.com/osm0sis_xda/status/1224552830159245312

[MENTION=4544860]osm0sis[/MENTION]_xda: This is all thanks to the awesome work by k4y0z / Chaosmaster to get SAR-detect auto-mounting and addon.d-v2 working in recovery for the upcoming TWRP release! ?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] texasaggie1:
Yes with adb enabled so I can disable magisk modules if they cause bootloop. I used android image kitchen to modify the recovery using these directions:

https://xdaforums.com/7t-pro/development/recovery-oxygen-os-stock-recovery-adb-t3991865/post80866897
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] rohit83:
ok, but I tried this on aosip earlier with a bootloop caused my magisk module & the adb shell wasn't able to find the data/adb/modules directory, it could only go to data directory, have you checked?,
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] texasaggie1:
Yes I used it to fix a bootloop! It saw the appropriate folders and I deleted the modules
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] NoSauce:
[MENTION=8869919]finshan[/MENTION] sorry you had to go through all that work, but by eliciting these passionate posts you saved me a lot of time. Thank you.

Please update the OP. A simple:

"IF YOUR DEVICE SHIPPED WITH ANDROID 10 TWRP DOES NOT WORK, IGNORE THIS THREAD.

https://twrp.me/site/update/2019/10/23/twrp-and-android-10.html"

would save a lot of people a lot of time.

[MENTION=4712355]mauronofrio[/MENTION] and others who are working on TWRP thank you very much. I really appreciate it. If you can be so kind as to edit the OP with the above statement I think it'll help with the clutter in this thread and allow you to focus on discussion.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] RedDevil006007:
Thank you for this clarification. When I first got the phone, I spent a couple of days trying to root the phone using different methods, but nothing worked. I eventually gave up and have been checking this thread occasionally for any updates, and now I finally know why my device can't be rooted. It shipped with Android 10. Thanks again, and I hope we can have proper root support soon.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] ecompton59:
keeps rebooting to twrp cant install magisk
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Josh McGrath:
Unlock bootloader, install magisk, download rooted boot.img (10.x but most work for this simple process) from the thread, search you'll find it, boot to fastboot , fastboot BOOT the img, open magisk and select options and check enable encryption and keep dm verity, select DIRECT INSTALL, REBOOT.

OT for the thread but that's all you need
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] NoSauce:
YOU CAN ROOT OnePlus 7T WITHOUT TWRP!

While I'd love to have a working TWRP, if ROOT is all you want there's a way to do it without TWRP! I was also able to install a custom rom (OmniROM) without a custom recovery (i.e. TWRP). Have you tried going through the following thread?

https://xdaforums.com/oneplus-7t/how-to/guide-how-to-root-oneplus-7t-twrp-t3979307

This is getting off topic and I wouldn't want to clutter this thread. PM me if you want me to point you in the right direction. gluck!

EDIT: it looks like [MENTION=5070414]Josh McGrath[/MENTION] outlined the steps for you in the post right above
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] R800x_user:
Learn to read please, there has been many posts about this and why it doesn't work. Literally just above your post it's saying that it won't work. The opening thread even states that it won't work. Be patient, it'll come when it's ready.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] ecompton59:
just posted it didn't work love the kindness people have
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] R800x_user:
Sorry, its just that s has been asked since the beginning of the thread. It's being worked on. Just be patient. Mounting

/system and /data isn't the same as older versions of Android.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Mambobuzzz:
Hi there. Needing help. I can fastboot boot this img. But fastboot flash recovery ist expecting a zip file witch I don't have. How should I flash this?

Or is it that this one should NOT be flashed? Can we still install Magisk over an not installed TWRP?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Lossyx:
It's been said a thousand times. You should NOT flash this. If your want to root, you'll need to use the patched boot image method.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] pedritopl:
It wouldn't hurt to do some searching before posting...

Let me spoon-feed you:

https://xdaforums.com/oneplus-7t/how-to/guide-how-to-root-oneplus-7t-twrp-t3979307
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Mambobuzzz:
Ok. Sorry. I wasn't sure about this. It seems now that I don't have any recovery. Can it be?

---------- Post added at 02:24 PM ---------- Previous post was at 02:20 PM ----------

I'm sorry, I'm quite a noob. Is this boot.img a oos ROM?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Sam998:
1. Yes, just flash stock recovery img https://androidfilehost.com/?fid=1899786940962599659

2. Yes, this is boot img a oos rom
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Lossyx:
It's a boot image, not a ROM.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Mambobuzzz:
Ok, thanks. From what I understand. The best for me would be the third root possibility of the above link. Like modify my own boot image from Magisk manager.

For what would I need a stock recovery?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Lossyx:
https://xdaforums.com/oneplus-7t/how-to/guide-how-to-root-oneplus-7t-twrp-t3979307/post81277507

This covers everything you need.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Mambobuzzz:
Ok I'll go for this. Many thanks! :)

I got a question. I've unlocked the bootloader. Is this normal that I can't go into the recovery (power+vol down) to wipe cache anymore?

And if I go root, full wipe within Android will still work? Does make root get lost?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Josh McGrath:
Why don't you just adb reboot recovery? I've never run into the recovery via keys issue, I always go from bootloader or adb.

If you're bootloader is unlocked already, you shouldn't need to fill wipe. But if you do full wipe for whatever reason, yes, magisk gets deleted and you will lose root and have to start from step 1 again but the bootloader will remain unlocked
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Mambobuzzz:
Sorry, actually I do sometimes cache wipe. That hasn't anything to do with root. Just to get things clean over time.

Right now egal if over keys or bootloader recovery won't show. By selecting "Recovery mode" in fastboot it always comes back to fastboot...
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] ecompton59:
getvar is-userspace so you need that command https://source.android.com/devices/bootloader/fastbootd ir type fastboot --force flash system then maybe flashing could work
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] autotranny:
is there a bug tracker for the decryption issue?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Dogedog:
can I flash gapps with this version?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] filjusz:
No
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] friedCELLS:
I'm surprised nobody commented on this. I don't fully understand it. I see a twrp that succeeded in mounting partitions and seeing partitions a and b, etc. But does that mean progress for our device on a possible working twrp or is that a different device? I imagine if it was for our device, people would be super excited, as would I be. But nobody commented on it, so I'm wondering if it wasn't such a breakthrough as it looks to me. Can someone elaborate? Is this something that would help in mounting the system partition on our device successfully, etc?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Lossyx:
https://twitter.com/osm0sis_xda/status/1224685556824789000?s=20

Also, in the zip file is says it's for guacamole, so not this device.

TWRP needs to be supported first before it can use what he tweeted.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] friedCELLS:
Thanks for the reply!
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Josh McGrath:
But it still is working on Android 10 so it is definitely progress at any rate
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] 1aladdin1:
does mounting of userdata partition work?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Lossyx:
Even if it did, it'd still need to be decrypted, which it can't
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] drarwin:
When I try to install the twrp it says: FAILED (there is no such file or directory).

Any solution??
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] ChrisFeiveel84:
fastboot flash recovery twrpname.img ?

did you flash it like that? but twrp doesn't bring you much on the op7t anyway because you can't mount system, vendor and userdata with it because twrp doesn't get along with the encryption and cannot mount the dynamic partition
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] drarwin:
Yes, it also happens to me when trying to install magisk.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] R800x_user:
It's not going to work at all, and if you want to root there is a guide in the guides and news section of the threads. It has been mentioned here plenty of times. Just scroll a couple of pages back.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Josh McGrath:
Does anyone even read this damn thread?

Page 1 through 999 "it doesn't work"

Next post: how do I install this, I get errors
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] DanielMod:
Hey [MENTION=7290894]mauronob[/MENTION], I recently got the device and thinking giving a shot to compile a recovery for this device.

However I see that the repo you used is Android 9 based, and Device tree is general for other Onuplus 7 devices and not the 7t... isn't fstab different?

Also seems that twrp tackled the Android 10 issues with newer commits
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] mauronofrio:
Good Luck
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Grin59:
Got a link to the commits?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] DanielMod:
You gave up?
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] mauronofrio:
When an android 10 TWRP source will be available (if it ever will be) i will make the twrp for the oneplus 7t series
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] DanielMod:
Yes, they have moved from omnirom repo to some Gerrit git:

https://gerrit.twrp.me/admin/repos/android_bootable_recovery

You can read more about it on the main page of twrp themselves.

Have fun!

Also there seems to be many active commiting over Gerrit...

I'm finishing my midterms this week, than I could also try to make something out of it.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Grin59:
I think everyone would appreciate that, give it a go if you can. Do you know how much space is needed to compile twrp? For a rom you need 400gb minimum
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] mauronofrio:
Actually all the commits are for android-9.0 repo, android 10 source is not available
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Grin59:
If anyone is itching for an update:

https://twitter.com/osm0sis_xda/status/1233791984999051266
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] ThePessimist:
is guide #1 from

https://xdaforums.com/oneplus-7t/how-to/guide-how-to-root-oneplus-7t-twrp-t3979307

still viable? Or is android 10 rooting dead until twrp gets an update? I have the .img for 10.0.8 from

https://xdaforums.com/oneplus-7t/how-to/oneplus-7t-international-magisk-patched-t4053945

and was wondering if it is useful at all without twrp.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] c19932:
yes that rooting guide still works. There's a lot to do with rooting despite not having TWRP. Main problem is when things go wrong and you don't have a back up. But for the most part you can remove any magisk module via adb enabled recovery, or reflash system partition (I am on AOSIP, not sure if reflashing system is doable on stock OOS) that will get you back booting without wiping data again.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] DanielMod:
Sorry for being gone for a while (forgot about this)

I investigated into this too and I think that the info I found would be interesting to the average user:

The problem with Android 10 is new "security" measurements on how the partitions of every device are made, it is vastly different than what was introduced on so far on any version of Android and requires many changes in code to work correctly on native Android 10 devices (not just Oneplus devices)

That is the reason we don't see lately recoveries made for new phones lately.

The main developer behind partitioning in TWRP currently busy with his newborn child, so things might get a little slow.

For more info just head to twrp official website, it's written in their blog.
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] Grin59:
Found the Android 10 source, doesn't look like much so far but this is the place for the source

https://gerrit.twrp.me/q/project:android_bootable_recovery+branch:android-10.0
[OnePlus 7T ROMs, Kernels, Recoveries, & Other Deve] mauronofrio:
Is still a working progress