Porting to OnePlus One A0001 Cyanogen
-
(1) I received OnePlus One A0001 Cyanogen with Android
(2) I changed Android settings: enabled developer settings, enabled USB debugging
(3) I got the UBports installer
(4) I booted OPO to bootloader, ranfastboot oem unlock
from terminal, then rebooted to recovery
(5) Now I open the UBports installer and it recognizes bacon
(6) I select stable/wipe/bootstrap, then run
(7) Installer reports success, then OPO reboots
(8) OPO goes to an "Installing Updates" screen with a Yumi animation, finishes and reboots.
(9) Now sometimes:
(9a) It goes into boot loop: display lights up, but goes off before the UT splash screen.
(9b) It gets to the UT setup prompts, but if I remove my phone from the computer, the boot loop occurs again.I've tried UBports installer 0.8.8-beta (snap, deb, and appimage)
I've also tried the 0.8.6-beta appimage.
I've tried running the 0.8.6-beta appimage from the terminal as root.
I've also tried the halium-devel channel.
I've also tried several different USB cables.Any recommendations would be appreciated, thanks!
-
@formula82 As a test try and fully charge your phone before switching on. I had an issue with a OPO that would only boot when connected to a power supply if not it looped. A new battery fixed it.
-
Just to avoid possible confusion:
what you are trying to do is installing, also called flashing.
Porting means creating the installation files for a device that's not yet supported by UBports. -
Did you change partition layout? I recommend you flash stock ROM first, and then try again. Oneplus One is one of our most stable devices, there are plenty of people that have successfully installed it.
-
@flohack thanks for the suggestion, the following solution worked for me via https://forum.xda-developers.com/t/rom-ota-mirrors-for-official-cyanogen-roms-and-ota-updates.2906746/ and https://forum.xda-developers.com/t/guide-unlock-root-flash-for-oneplus-one.2839471/
image="cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot"
wget https://ava4.androidfilehost.com/dl/ouITqWz89SZhokgspXAnMw/1620431504/24591000424960109/${image}.zip
unzip ${image}.zip -d $image
cd ./$image
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
fastboot reboot
Then after I set up Android and enabled developer settings + ADB, the ubports-installer 0.8.6-beta appimage worked as expected
-
@formula82 Good your sorted then. Could you mark this thread as solved please. Use the Topic Tolls cog wheel (top right on yout original post) ask as question, then mark as solved. Thanks.
-
@lakotaubp done, thanks