yashsingh1/xdaforums huggingface dataset:
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Introduction​

​

Unlock & Rooting OnePlus 6T would give you additional benefits like you can install special apps, Flash Custom ROMs & Custom Mods, you can streamline your phone performance and many extra features. The real performance of an Android smartphone can only be unlocked once it is rooted.

Rooting this device is actually quite a simple and easy process. Before you begin, it is recommended that you at least try to understand what each part of the process will do. Although this guide will elongate each step in order to show all of the details, the method used can be broken up into 3 main steps: ​

1. Unlocking the Bootloader

2. Installing a Custom Recovery

3. Gaining Root Access

Each new step relies on the previous step so please follow the entire process and a basic summary of each part is described as below:

Unlocking Bootloader​​

Opens the door to the internal memory of the device to be written on to. This allows you to flash images onto the main partitions of the phone.​

Installing a Custom Recovery​​

A custom recovery is flashed onto the recovery partition of the device and overwrites the stock recovery that exists by default. Custom recoveries bring lots of functionality and give you the ability to perform wipes, install flashable zips, create full backups of your device (Nandroid backup), and various other features. An unlocked bootloader is needed to install a custom recovery.

Gaining Root Access​​

You can gain root by either flashing via recovery a pre-rooted custom rom, or by Flashing Magisk Zip for a system less root.

After completing these steps your phone will be rooted, the phone will have a custom recovery installed and an unlocked bootloader. This, in my opinion, is the a practical and beneficial method for rooting your phone. It will give you some basic adb/fastboot knowledge, and should hopefully help you have a decent understanding of the entire process. This method will work regardless of any android version on the phone.

If you are confused by anything in this guide, I highly suggest getting it clarified being before moving on. Ask your question in this thread and I or someone else will likely answer. Also we would suggest that you read over the whole thread a few times before actually doing anything to the phone.​
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Setup, Preparation & Prerequisites​​

Basic tasks that may be referred to throughout this guide:​​

Open Command Prompt: Press Shift + Right Click anywhere on the screen and select Open Command Window here

Enter Fastboot/Bootloader Mode: Turn the phone off. Hold volume up + power until the "fastboot" screen appears. [Alternatively, if Advanced Reboot is enabled, you can press Reboot > Bootloader from the power menu.]

Enter Recovery Mode: Turn the phone off. Hold volume down + power until the "OnePlus Logo" screen appears. [Alternatively, if Advanced Reboot is enabled, you can press Reboot -> Recovery from the power menu.]

ADB and Fastboot Drivers Installation​

1. Download & Update OnePlus 6T Drivers From Here

2. Download & Update Fastboot and ADB Binaries/Drivers from Here

3. Run the .exe file downloaded from above as Administrator.

4. Press 'Y' every time the installer asks for.

5. Continue Driver Installation.

Now, ADB and Fastboot have been installed on your PC and should be Working as desired.

Things To Remember​

Show File Extensions

Open a command prompt window and run "Control folders" (without the quotes). Go to the View tab and uncheck the "Hide extensions for known file types" option. This will help avoid confusion when renaming files.

Battery

Ensure that your phone has at least 60% battery remaining, and that your PC is plugged in and wont shut down spontaneously during the process. The procedure doesn't take very long , but its best to have enough charge in case something goes wrong.

Backup (Optional)

Unlocking the bootloader will/should completely wipe all data from the device. This includes apps, settings and even the contents of the internal sdcard (pictures, music, etc.). Copy all important files off the phone onto a PC or upload them to a cloud.

USB Debugging

On your phone go to Settings > About phone > Tap on Build number 7 times. This will enable Developer options. Now go back to Settings > Developer options > Enable USB debugging

Enable OEM Unlocking

On your phone go to Settings > Developer options. Then enable the 'OEM Unlocking' option. Also make sure that from now on, OEM unlocking option is enabled before you reboot as sometimes, it might get disabled itself.

Enable Advanced Reboot

On your phone go to Settings > Developer options > Enable the 'Advanced Reboot' option.
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Unlocking Bootloader​

Turn the phone off. Then boot it into fastboot mode by holding volume up + power or select reboot to bootloader if advanced reboot is activated via developer options. The phone will display "fastboot" text indicating that it has successfully entered fastboot mode.

Plug the phone into your PC, then open a command prompt window on the desktop (Shift + Right Click -> Open Command Window here) and type:

fastboot devices

This command will list the connected devices. If your phones serial number shows up you are good to go and may continue. If the phone is NOT listed this indicates that your drivers are not installed correctly. In order for you to continue you must fix your drivers so that your phone is listed under fastboot devices.

If the phone has been recognized by the command above, proceed to unlocking the bootloader with the following command:

Remember this Step will WIPE EVERYTHING off the phone so Backup all your Data

fastboot oem unlock

You would be greeted with a Unlock Bootloader Warning page, Hit the Vol button to select Yes and turn it Blue and Hit the Power Button to Execute the selection

Your device will reboot, show you a Secure boot warning, reboot into stock recovery and wipe all data. Once done, your phone will reboot into the OS.

Please continue and follow the next post to install Custom Recovery
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Flashing TWRP Recovery

​

Downloads:

Official TWRP | TWRP Thread | Credits [MENTION=4712355]mauronofrio[/MENTION]

Root

Magisk
​

Wait until the phone has fully booted up into android, then adjust the following settings on the phone:

USB Debugging

On your phone go to Settings > About phone > Tap on Build number 7 times. This will enable Developer options. Now go back to Settings > Developer options > Enable USB debugging

Enable OEM Unlocking

On your phone go to Settings > Developer options. Then enable the 'OEM Unlocking' option and make sure that from now on, OEM unlocking option is enabled before you reboot. Sometimes, it might get disabled itself.

The OnePlus 6T uses the newer AB partition scheme first introduced on the Pixel 1. As such there is no recovery partition. Instead, the recovery is part of the boot image. You will temporarily boot TWRP to perform and later perform a more permanent TWRP installation.

Download all the files, place Magisk & TWRP installer zip on Device Internal Memory and TWRP img on your PC

Then boot it into fastboot/bootloader mode by holding volume up + power or selecting the reboot to bootloader via advanced reboot options.

Open a new command prompt in the same location and run the following commands:

fastboot boot twrp img name

You will temporarily boot into TWRP

Now in TWRP, tap on Install and browse to the zip and install it (the zip will probably be in /sdcard/Downloads). TWRP will now be installed to both slots. TWRP is now installed.

PS: DO NOT BOOT IN OS JUST YET & CONTINUE TO THE ROOTING POST
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Gaining Root Access

​

This is a continued post from the above post...

1. Boot into TWRP Recovery

2. If you want to stay systemless continue without swiping right else Swipe and enable modifications.

3. Select your preferred Language, Tap “Never show this screen on boot again,” and Swipe allow modification.

4. Navigate to Install and select Magisk to root.

5. Swipe to confirm the flash

6. Reboot System

Keep in mind that the first boot after wiping the phone may take longer than usual, as the phone will need to rebuild the dalvik cache and initialize other first boot and might reboot a few times.

* MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.

Congrats! Your Device now has an unlocked bootloader, a custom recovery installed and is rooted !!

Warning: Do not flash partial update OTAs (under 1 GB) on a modified device! If you want to use partial OTAs, you must first flash a full OTA that it applies to, and then flash the partial OTA from stock recovery. Flashing partial OTAs from TWRP will either fail or soft brick your device. You can return to a usable state by flashing full zips in recovery.

Enjoy :fingers-crossed:
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Making a Nandroid Backup​

Warning: before you make a backup with TWRP you must remove all Lockscreen Security. If you do not do this you will not be able to unlock your device after restoring your backup (entering your pin/pattern/password will result in an "incorrect pin/pattern/password" message), you'll be forced to perform a factory reset to boot into Android.

To remove lockscreen security go to

Settings > Security > Screen Lock and set it to Swipe/None.

A Nandroid Backup is a very important thing to have before installing any custom software on your device. It's basically a backup of your stock system that you can fall back on if anything goes wrong or if you just want your stock ROM back.

You can also use Nandroid Bckup to create a backup of your favorite ROM set up exactly the way you like it. The backup you create can be easily restored using the restore tool in TWRP recovery.

To Create Nandroid Backup:

1. Boot into TWRP Recovery .

2. Go to Backup Menu and select all the listed partitions.

3. Name the Backup if needed (Optional)

4. Swipe to take Backup.

This proces should take 5 to 7 minutes depending upon the size of data.

5. Reboot System when done.

Your Nandroid will be stored in the Backup Folder inside TWRP Folder /sdcard/TWRP/BACKUPS
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Restoring a Nandroid Backup

​

1. Boot into TWRP Recovery

2. Go to Restore Menu and select the backup you want to restore.

3. Select the partitions you want to restore.

4. Swipe to Restore. The process will take 5 to 7 minutes.

5. Reboot system once done

Note: If you happened to forget to remove lockscreen security (PIN/Pattern/Password) before creating your backup, and you cannot get into your OS after restoring, you can do the following to fix the issue.

Boot into TWRP

Use the TWRP File Manager and Navigate to /data/sytem/ and delete the following files:

locksettings.db

locksettings.db-shm

locksettings.db-wal.

gatekeeper.password.key

gatekeeper.pattern.key

You may or may not have all the above files so delete the ones you have.

Reboot the phone and (if you've set a PIN) enter it to decrypt the storage one more time. After that you can simply unlock your phone with a swipe.

Upon Boot > Go into Settings > Security > set your preferred unlock method

Android will ask you if you want to set a boot-time code too so select as per convenience.
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Making an EFS Backup
​

All too often, we've seen folks who have a corrupted or missing EFS Partition. This results in your IMEI being lost and no cellular activity on the device at all. This can be a royal PITA to fix, and some folks haven't been able to fix it at all. You can take a precautionary measure to safeguard yourself against this by taking a couple of minutes to back up your modemst files.

Download & Open up Terminal Emulator on your phone from here

Once it's open you'll be greeted with a command line prompt, in which you can enter text commands, the first thing you need to do is enable root access by entering this line (press the enter key on your on-screen keyboard after each command to issue it):

su

If this is the first time you've used Terminal Emulator a Superuser or SuperSU popup will appear, make sure you grant root access.

Now enter these two commands:

dd if=/dev/block/sdf2 of=/sdcard/modemst1.bin bs=2048

dd if=/dev/block/sdf3 of=/sdcard/modemst2.bin bs=2048

This will place two files (modemst1.bin & modemst2.bin) on your internal storage.

Make sure you copy them to your PC and Cloud immediately so that you have a backup there to use if you need to restore it in future.

That's it !! In case you ever need to restore Nanroid or EFS Backups, please continue and follow the next post...
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Restoring an EFS Backup​

If by chance you end up with a corrupt EFS partition all you need to do is flash the files back to your device using fastboot.

Boot into fastboot mode (power + volume up) and connect your phone to your PC via usb cable.

Keep modemst1.bin and modemst2.bin (backed up earlier) on your desktop and open command window there.

These fastboot commands will restore the files:

fastboot flash modemst1 modemst1.bin

fastboot flash modemst2 modemst2.bin

Reboot your device.

fastboot reboot

Now disconnect phone from PC. Your IMEI should be back.

That's it for this guide, Enjoy :highfive:
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
Just in Case if you want to go back to stock, please follow the below to safely lock the bootloader and return to 100% Stock device:

Before you start, make sure you deactivate and uninstall all mods, magisk modules substratum overlays and any other system/build.prop mods that you may have executed/experimented with.

1. Download the latest full rom from my update thread.

2. Move the Downloaded file from the Downloads folder to the root of device internal storage.

3. Navigate to Settings > System Update > Settings > Local upgrade > Select latest OOS Full Zip

4. Flash the Full Zip

5. Upon Successful Flash > Reboot to Recovery

6. Factory Reset and Wipe internal from Recovery to Reset the device

7. Reboot To Fastboot/Bootloader Menu

8. Connect the device and execute the below command

fastboot oem lock

9. Select the Volume Button to Select Lock Bootloader and Power Button to Execute the command :good:

10. Device will Reboot and Lock the Bootloader and there would be no more secure boot prompt on the reboot to confirm :good:

Feel free to ask if you have any questions.

PS: Tested on Global Version, Please check T-Mobile thread for T-Mobile version, Thanks
[OnePlus 6T  Guides, News, & Discussion] jpeckinp:
I assume this is only for non TMo devices for the first 40 days. Or will this unlock them also?
[OnePlus 6T  Guides, News, & Discussion] LLStarks:
This is a boilerplate thread, it will not work with T-Mobile without modifying the instructions.
[OnePlus 6T  Guides, News, & Discussion] Funk Wizard:
This guide will unlock all other versions which includes both Global and Chinese variants. T-Mobile Version may have the fully paid/40 days carrier restrictions.

I shall add the disclaimer on the OP for T-Mobile Users
[OnePlus 6T  Guides, News, & Discussion] Gsopx19:
Hey Funk Wizard,

It is also possible to unlock bootloader and stop there right? In case i would like to root and/or flash custom recovery or roms later. Im asking so that i dont have to wipe my data to unlock the bootloader, but i want to keep my phone clean in the beginning.

Thanks in advance!
[OnePlus 6T  Guides, News, & Discussion] cultofluna:
Unlocking the bootloader wipes everything in your phone

You can better unlock the bootloader before setting up your device

And finally , yes you can unlock the bootloader first & install twrp and root whenever you want
[OnePlus 6T  Guides, News, & Discussion] g0ne_wild:
The guide makes very limited sense as of writing, as there is no TWRP version out yet for the OP 6T ...using TWRP for the OP 6 on the OP 6T will result in a crash.
[OnePlus 6T  Guides, News, & Discussion] Pain-N-Panic:
Great tutorial funk. Easy to read and follow and good on you for going into detail on the EFS backup/restore. Hopefully is saves people from a bricked device!
[OnePlus 6T  Guides, News, & Discussion] domnic79:
I'm getting my oneplus 6t tomorrow. Will root it right away.

---------- Post added at 03:49 AM ---------- Previous post was at 03:43 AM ----------

Ya ur right. Blu_spark wil most probably make one once the official one gets released. His recovery is working great on oneplus 6.
[OnePlus 6T  Guides, News, & Discussion] ittina:
Will there be a guide to root without installing TWRP? I prefer that because you can do the OTA with relative ease.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] BuGGy:
Reserved
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Omid.Developer:
first :D

Lets Testing

Good Job
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ibrahimzidane:
Demand

Fingerprint doesn't work
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] BuGGy:
Which fingerprint hardware you have?

Fpc or goodix?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] pradeep1234:
Didn't mention any bugs??

Can we use tez?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ibrahimzidane:
View attachment 4614715
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ibrahimzidane:
View attachment 4614715 fpc
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] BuGGy:
Fpc is working.

Kindly reflash it.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ibrahimzidane:
Also not respond to touch??

---------- Post added at 08:25 AM ---------- Previous post was at 08:23 AM ----------

Also not respond to touch

---------- Post added at 08:27 AM ---------- Previous post was at 08:25 AM ----------

Also fingerprint not respond to touch
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] pradeep1234:
Can I install opengapps aroma ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] BuGGy:
Yes you can
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] BuGGy:
That's strange the one who tested it said that fpc is working fine.

If you have changed kernel then thats the kernel issue.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] sahir7860:
FPC working fine for me.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Ibrahimzidane:
Thanks alot bro
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] Randra.pp:
You install build 201809? check build work on 201810
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] aman.dwivedi:
Everything working fine
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] mednazim:
What for battery life backyp ? Is it stable rom for you ?
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] hasty_BG:
Settings crashes after tapping on <<battery>>. Installed twice after full format. Wipe dalvik/cache, dalvik/data/cache doesn't solve the problem.
[Xiaomi Redmi 4X ROMs, Kernels, Recoveries, & Other] aman.dwivedi:
Disable device health services
[OnePlus 6 Accessories] Yippee38:
......Yet OnePlus is giving them away to attendees of the OnePlus 6T launch.

Does this piss anybody else off?
[OnePlus 6 Accessories] ryanf78:
They are releasing a New updated version along with the launch of the OnePlus 6T
[OnePlus 6 Accessories] XDA-Dev.:
I have not seen any news for an updated version of the wireless model, but indeed they are launching a new headphone which is a wired Type C.
[OnePlus 6 Accessories] ryanf78:
They wireless have a new model number but look exactly the same as the other ones. Maybe an updated charging port warp charge bigger battery or my hope BT 5.0 aptx hd. With even better sound stage.. we will soon see.
[OnePlus 6 Accessories] anth0nymDROID:
.yes
[OnePlus 6 Accessories] aodpoe:
Wireless bullets are back in stock.
[OnePlus 6 Accessories] eoin13:
I got the newer model delivered yesterday (BT32B), and can see its still aptx not aptx HD. Do you know how I would check if they are BT 5.0?
[OnePlus 6 Accessories] thomaschris:
Awaiting for the BEAST

That sounds amazing! With the beast I get the bass beast. Always have been a fan of OP ! Kudos to the team to live up to the expectation! Cool man ! Awaiting the next beast - OP6T! Will definitely upgrade ! ::cool:
[OnePlus 6 Accessories] dragos281993:
Got my bullets wireless (newer model) 2 hour ago and I've been screwing with them since then. They're really nicely made, comfortable and the included "adaptors" (wings and ear tips) could probably have a slightly bigger option, or the biggest option could've been a bit bigger. But this is just nitpicking though. But we have to admit that the design is inspired by the Beats X which is not necessarily a bad thing because those are pretty great. They're a bit better in terms of quality, but the bullets wireless are really close to them and they're considerably cheaper . Oh, not to forget, the cable is a bit longer that I wanted, but it's ok.

Sound: they sound really good out of the box but I've never been satisfied with any headphones/earbuds I tried. For me the conclusion is drawn AFTER using them tweaked with Viper4Android. There's no listening to anything without V4A, which allows for a series of tweaks that makes the audio experience for MY ears and perception of what a great sound is.

Anyway, without V4A they sound pretty good, not exceptional but pretty good nonetheless. They're really loud and it's really nice that there is no distortion of sound at maximum volume.

With V4A and my favourite profile (tweaked a bit), they're pretty great. They can be even louder and the sound still doesn't distort, but that's just a bit of an extreme scenario to see what they're capable of because it's an unrealistic and no one would blow up their eardrums listening to music at that volume.

Mic quality, better that almost every other pair I tried. I dare to say it's better than my OP6's mic, but I need to test it in more environments than at home (indoors, outdoors).

The pause function when you stuck one earbud to the other is really useful.

And this last thing might seem a silly one, but ... Usb-C, baby. Finally I'm done with having to use 2 cables to charge my s#!t.

Anyway, I haven't spent but around 2 hours wit them, but it's enough to recommend them to anyone who wants something great for a relatively decent price. They're worth more , IMO, but I digress.

If you were thinking of getting a pair, go for it. You will NOT be dissapointed one bit.
[OnePlus 6 Accessories] mitas35:
Hey man i just ordered mine but on the side it says bt31b can you please check what it says on your country's side? Thanks. ( I'm from Cyprus?)
[OnePlus 6 Accessories] dragos281993:
It says 32b on mine. If it makes you feel any better, one of my friends has the 31b model (previous model) and there's no difference in sound at all, or build quality, etc. The 31b model even has clickier buttons than my pair so I'm pretty sure OnePlus hasn't improved anything in the last model. 32b is probably meant as a model name change because of the red wired pair of wireless bullets they released along the OP6T. So in terms of quality (etc) they're most probably the same. So don't worry, your model is identical to mine despite of what the model name says.
[OnePlus 6 Accessories] mitas35:
Are you happy overall? Das v4a boost the base?
[OnePlus 6 Accessories] dragos281993:
V4a improves everything. If you want overwhelming base, V4a will give you that, and as strong as the base you'll tweak to be, it won't distort, which shows that the Bullets Wireless are really capavle of providing marginally better sound than what they're giving out of the box.

I can't imagine using a phone without V4a installed. It's just too good to not have.
[OnePlus 6 Accessories] mitas35:
Thanks man you was very helpful.
[Honor Play Questions & Answers] ziaur786:
how to flash global rom on china variant?

my uncle send me china variant. but its way too problematic with language and other features
[Honor Play Questions & Answers] zarlydoug:
I'm curious if you ever found a solution to this?
[Honor Play Questions & Answers] ziaur786:
nooo...not yet ?
[Honor Play Questions & Answers] Alexislol2001:
The same with me... Have you tried with ROM'S?