Problems installing UBports on Oneplus One
-
@advocatux Thanks guessed so but better to check ; )
-
@advocatux @Lakotaubp I'm on the 15.04 version of UT at the moment and it is all working fine.
-
@gert-v Then you may want to look at the two "flohacks" @advocatux mentions above. Glad its going well.
-
I will definitely look at the "flohacks" soon, but for the next 5 days I'm not anywhere near my pc.
The tutorials of the hacks seem straightforward enough but when I run into trouble I know where to ask for help -
Hi,
I ´m back again after a short trip and ready to proceed with the ¨flohacks¨. Alas, I do not get far.
I connected the phone to my pc running ubuntu 18.04 by usb cable, but it does not recognize the phone. I ran adb devices in the terminal with several cables and in several usb-ports and it came back with no result. Other usb-devices coupled to my pc on the same ports and with the same cables are recognized, so it´s not the pc I think. Also when I connect the phone to a pc running windows it is not recognized either. Any ideas?By the way, so far I´m very happy with UBports on my phone!
-
@gert-v is developer mode set "on" on your phone?
-
@gert-v I flashed a OPO at the weekend to 16.04 and had to select the device manually and put it into fast boot manually. That was on windows 10 and the installer was 0.1.9(103) beta so they can be a bit tricky.
Are you using the latest version of the installer and or adb tools. Maybe try reinstalling the device drivers. This is very obvious so I apologize in advance developer mode is on -
@advocatux Oops, ehm, no it wasn't... Thanks!
-
-
@advocatux I turned developer mode on, but the phone still isn’t recognized. The list of devices attached returns empty when I run adb devices in terminal.
-
@gert-v run
adb kill-server
unplug the phone and plug it again an runadb devices
. Any output?Also you need to accept the confirmation pop-up on your phone the first time you use
adb
. -
This post is deleted! -
@advocatux I will try later this day and will report back.
-
@gert-v You could try 16.04 dev and see how that goes might not need flohacks then. : )
-
@advocatux I ran adb kill-server and got server not running
unplugged the phone and plugged it again, ran adb devices, result:
List of devices attached
daemon not running. starting it now on port 5037
daemon started successfully
ran adb devices again, result:
List of devices attached
and then nothing....
No confirmation pop-up to accept, too.@Lakotaubp For now the phone is working just fine for me, but if I choose to try 16.04 dev can I do all that just on the phone by changing the Channels in Update settings from Stable to Development, after that Ubuntu touch 16.04 dev will be downloaded and I can install it? Or do I need to use the UBports-installer instead.
In the latter case I think I will run into the same problem of the phone not being recognized by the pc. -
@gert-v If your on 15.04 you will need the installer to get 16.04 and you can chose either RC or dev at the install stage. You can install RC then go to dev from your device.
Now you have developer mode on you should be OK. If you look at my post above you will see I had to chose the device manually then everything worked fine. If the install does stick at one point. Just stop it and restart and maybe have a spare USB cable to hand.
Any problems just pop back. -
@gert-v hmm weird. I would remove
adb.keys
file, it's in/data/misc/adb/adb.keys
and try again. Removing that file in your phone, force the authorization pop-up again.Without
adb
in a working state, which is necessary to use the installer, you can upgrade to 16.04 RC or devel channels running on your phone Terminalsudo system-image-cli --switch 16.04/rc
(change rc for devel if you want that, but rc is more stable). -
@gert-v just checked and this is what I have used on windows 10
UBports-installer.0.1.9.103 (beta)
adb-setup-1.4.3
just in case you need it. This has worked on OPO,BQ5,Nexus5 and Miezu mx4
-
@advocatux
Could a TWRP backup, be used to get a copy on his device.
( not familiar with oneplus one) -
@marathon2422 afaik OPO has a weird boot partition. Anyway to backup the whole device, the only way I know is to enter Recovery, and using
adb
runadb pull /data/system-data
andadb pull /data/user-data
I remember @Flohack saying in the SG that the plan is to include that in the ubports-installer... someday