OnePlus 6
TCPDump on OnePlus¶
OnePlus' devices have OnePlusLogKit and can use it to have tcpdump
:
- Open
OnePlusLogKit
with*#800#
>oneplus Logkit
- Check
Network tcpdump log
- Check
save log
. It's unnecessary to reboot - Do your thing in Libratone app
- Go back to
OnePlusLogKit
, uncheck all - Tap on
Copy logs to built-in SD card
- Wait for the message with path to recover log
- Copy all logs somewhere and do some cleanup (logs are huge)
- Open the
tcpdump
in Wireshark
Camera & other apps¶
If the camera has trouble to focus in Google Translate, select Camera 1 in app settings.
LineageOS¶
Install¶
- Activate options on the phone
- In Settings → About → Tap "Build Number" x7
- In Settings → Developers mode. Activate:
- ADB
- OEM Unlock
- Install OnePlus drivers
- Reboot your PC with disabled driver checks - Use a Virtual Machine!
- Install OnePlus specific drivers
- Set up adb and fastboot
- Download package
- Add the un-zipped package to PATH
- Boot a custom recovery
- Download
sh adb reboot bootloader fastboot devices fastboot flash boot <recovery_filename>.img
- Download
- Ensure all partitions are consistent
- Download copy-partitions-20210323_1922.zip
- On device: Apply update → Apply from adb
adb sideload copy-partitions-20210323_1922.zip
- On device: Advanced → Reboot To Recovery
- Install LineageOS
- Download
- On device: Format data / factory reset
- Sideload the lineageos zip
- Reboot to recovery
- Install Google Apps
- See this wiki from LineageOS for download
- Sideload the zip
Update¶
- Use the built-in updater
- After reboot, check if Magisk is affected and sideload if necessary
- If no sideload is wished
- Download the recovery image on LineageOS website
- Transfer image to phone
- Open the Magisk app, press install and patch the image
- Transfer patched image to PC
- Reboot to bootloader
- Install the bootloader with
fastboot flash boot <recovery_filename>.img
and reboot
Camera on LineageOS¶
You can find the proper GCam in this Telegram group.