[Official] Android 9 Community Beta for OnePlus 3/3T

TiVa

Senior Member
Apr 11, 2013
287
163
0
Revisited guide when you don't have an external OTG drive available but only a PC with adb. YOUR DATA WILL BE LOST!

In my younger days I flashed quite a lot custom roms but since I'm on oneplus 3 I just unlocked bootloader, rooted the device with magisk and never had issues upgrading so I've kinda never looked into updating anything other things then the rom.
On trying to flash the stable pie with BluSpark TWRP I got a fail even before it would start flashing the update so I got reading and thinking about how to do it.

I didn't want to relock my bootloader so was prepared to start all over again instead.
I focused on the guide by abhibnl but didn't had an external OTG drive at hand (or no adapter to convert it to usb C) so decided to try it with a PC and adb instead.
These are the steps i followed to get the system running on an unlocked bootloader but DATA WILL BE LOST

DO THIS ON YOUR OWN RISK

Stuff I did before flashing:
1. Took a complete backup of internal memory.
2. Downloaded ROM + Recovery ( I use Holy Dragon custom twrp) + magisk 18.1 zip to an external OTG drive

My Configuration before flashing:
OOS 5.0.8, Unlocked BL, Magisk and root, Custom Kernel, Custom HolyDragon recovery

Procedure I followed:
1. Boot to recovery.
2. Wipe System, Dalvik, Cache
3. "Format Internal Memory". Please note, I formatted internal memory, not just wiped. This will remove encryption for once which will help the rom boot. It won't boot on encrypted partition with unlocked bootloader on first start up.
4. Flashed ROM zip.
5. Flashed twrp image.
6. Pressed power button for as long as possible until it rebooted again.
7. Pressed volume button before it could reboot so that i can select recovery. This step is important. If you won't do it, your recovery will be replaced with stock one.
8. Flash magisk zip. 18.1
9. Reboot system. It will take 10-15 minutes as it will reencrpt the storage.
10. Profit! Enjoy your new official oos pie on OP3/T.
Stuff I did before flashing:
0.1. Took a complete backup of internal memory with adb
- on 5.0.8 the internal memory is in /storage/emulated/0 : adb pull -p -a /storage/emulated/0 C:\OnePlus3\SD
0.2. create a folder on your pc with the ROM + Recovery (used twrp-3.2.3-10-oneplus3.img by dianlujitao) + latest magisk (19.2). I'll asume you'll put it in C:\OnePlus3\INSTALL

My Configuration before flashing:
OOS 5.0.8, Unlocked BL, Magisk and root, twrp-3.2.3-10-oneplus3.img by dianlujitao

Procedure I followed:
1. Boot to recovery.
2. Wipe System, Dalvik, Cache
3. "Format Internal Memory". Please note, I formatted internal memory, not just wiped. This will remove encryption for once which will help the rom boot. It won't boot on encrypted partition with unlocked bootloader on first start up.
4. Pushed the needed files you made ready in step 0.2 back onto the unencrypted data partition: adb push -p -a C:\OnePlus3\INSTALL /storage/emulated/0
5. Flashed ROM zip.
6. Flashed twrp image.
7. When trying to reboot to recovery I got warning there was no system installed, I continued rebooting to recovery. On returning into recovery I saw "/storage/emulated/0" was no longer there and the internal memory was now in "/storage/self/primary"
8. Pushed the needed files made in step 0.2 once again onto the device but to the new internal memory location: adb push -p -a C:\OnePlus3\INSTALL /storage/self/primary/zips
9. Flashed ROM zip.
10. Flashed twrp image.
11. Pressed power button for as long as possible until it rebooted again.
12. Pressed volume button before it could reboot so that i can select recovery. This step is important. If you won't do it, your recovery will be replaced with stock one.
13. Flash magisk zip. 19.2
14. Reboot system. It will take 10-15 minutes as it will reencrpt the storage (the boot restared once for me, don't know if it's normal but I don't see any issues yet)
15. Profit! Enjoy your new official oos pie on OP3/T.
16. After everything is setup use adb to push all files from the internal memory back onto the device: adb push -p -a C:\OnePlus3\SD /storage/self/primary/
 
Last edited:
  • Like
Reactions: Mushi-shi

abhibnl

Senior Member
Oct 13, 2011
3,595
1,463
0
Revisited guide when you don't have an external OTG drive available but only a PC with adb. YOUR DATA WILL BE LOST!

In my younger days I flashed quite a lot custom roms but since I'm on oneplus 3 I just unlocked bootloader, rooted the device with magisk and never had issues upgrading so I've kinda never looked into updating anything other things then the rom.
On trying to flash the stable pie with BluSpark TWRP I got a fail even before it would start flashing the update so I got reading and thinking about how to do it.

I didn't want to relock my bootloader so was prepared to start all over again instead.
I focused on the guide by abhibnl but didn't had an external OTG drive at hand (or no adapter to convert it to usb C) so decided to try it with a PC and adb instead.
These are the steps i followed to get the system running on an unlocked bootloader but DATA WILL BE LOST

DO THIS ON YOUR OWN RISK



Stuff I did before flashing:
0.1. Took a complete backup of internal memory with adb
- on 5.0.8 the internal memory is in /storage/emulated/0 : adb pull -p -a /storage/emulated/0 C:\OnePlus3\SD
0.2. create a folder on your pc with the ROM + Recovery (used twrp-3.2.3-10-oneplus3.img by dianlujitao) + latest magisk (19.2). I'll asume you'll put it in C:\OnePlus3\INSTALL

My Configuration before flashing:
OOS 5.0.8, Unlocked BL, Magisk and root, twrp-3.2.3-10-oneplus3.img by dianlujitao

Procedure I followed:
1. Boot to recovery.
2. Wipe System, Dalvik, Cache
3. "Format Internal Memory". Please note, I formatted internal memory, not just wiped. This will remove encryption for once which will help the rom boot. It won't boot on encrypted partition with unlocked bootloader on first start up.
4. Pushed the needed files you made ready in step 0.2 back onto the unencrypted data partition: adb push -p -a C:\OnePlus3\INSTALL /storage/emulated/0
5. Flashed ROM zip.
6. Flashed twrp image.
7. When trying to reboot to recovery I got warning there was no system installed, I continued rebooting to recovery. On returning into recovery I saw "/storage/emulated/0" was no longer there and the internal memory was now in "/storage/self/primary"
8. Pushed the needed files made in step 0.2 once again onto the device but to the new internal memory location: adb push -p -a C:\OnePlus3\INSTALL /storage/self/primary/zips
9. Flashed ROM zip.
10. Flashed twrp image.
11. Pressed power button for as long as possible until it rebooted again.
12. Pressed volume button before it could reboot so that i can select recovery. This step is important. If you won't do it, your recovery will be replaced with stock one.
13. Flash magisk zip. 19.2
14. Reboot system. It will take 10-15 minutes as it will reencrpt the storage (the boot restared once for me, don't know if it's normal but I don't see any issues yet)
15. Profit! Enjoy your new official oos pie on OP3/T.
16. After everything is setup use adb to push all files from the internal memory back onto the device: adb push -p -a C:\OnePlus3\SD /storage/self/primary/
For someone who might find it a our steps a bit complex, you can simply flash a modified firmware from NLOS thread prepared by nvertigo. Flash the OOS 9.0.2 zip, flash the modified firmware zip "IMMEDIATELY AFTER", flash twrp recovery img, reboot to recovery, flash magisk, profit!
 

TNSMANI

Forum Moderator
Staff member
Jan 8, 2014
4,385
3,598
243
Chennai
From Community Beta 1, Encrypted, Unlocked Bootloader

My method which worked without issues:
1. Download the Pie ROM zip, TWRP 3.2.3-10 and Magisk 19.2 and store them on your phone.
2. Boot into TWRP, wipe system, data (excluding internal storage), Dalvik and cache.
3. Reboot into TWRP and flash the ROM zip, TWRP and Magisk in that order.
4. Boot into system. Wait for 4 to 5 minutes.
 

trawel

Senior Member
Aug 22, 2012
422
53
48
My method which worked without issues:
1. Download the Pie ROM zip, TWRP 3.2.3-10 and Magisk 19.2 and store them on your phone.
2. Boot into TWRP, wipe system, data (excluding internal storage), Dalvik and cache.
3. Reboot into TWRP and flash the ROM zip, TWRP and Magisk in that order.
4. Boot into system. Wait for 4 to 5 minutes.
You did that on top of which ROM? Unlocked bootloader? Didn't have problems with encryption?