Trouble Installing on Oneplus One (Solved)
-
Have you installed ADB and fastboot? Phone is in developper mode?
UBport installer is not the only thing needed in the process.@Edward-Wilhelm said in Trouble Installing on Oneplus One:
The phone is not detected automatically
Installer detects phone via ADB link when phone is in dev mod.
-
@Keneda said in Trouble Installing on Oneplus One:
Have you installed ADB and fastboot? Phone is in developper mode?
UBport installer is not the only thing needed in the process.
Installer detects phone via ADB link when phone is in dev mod.I am really not sure. I did what the person did in this video. https://youtu.be/zuLFTGkuD68
I changed the developer option settings and got the installation to start.
It now says on the installer
"flashing firmware.."
"flashing firmware partitions using fastboot"On the phone it says
"-_- fastboot mode"It has been like this for about 45 minutes. Is this correct? How long should this take?
-
It still says it is flashing. Is it normal to take this long?
-
@Edward-Wilhelm said in Trouble Installing on Oneplus One:
It still says it is flashing. Is it normal to take this long?
I don't think so.
But maybe bandwich can slow the process.I don't have OPO, i have MX4 and flashed it on windows, got my own problem flashing from canonical OTA-15 to ubports OTA-11, took me 4 days to solve it (MX4 ADB driver problem... see here for your record https://forums.ubports.com/topic/4026/solved-problem-upgrading-mx4-from-ota15-to-ubport ).
But when i finaly succeeded, it took about 20 mins to perform in "full auto" (ubports recognized the phone that i plugged booted in normal mode and dev on, and did all process without me doing anything else than watching the magic).You should wait someone with same phone/PC OS so he can help you further.
Meanwhile, don't stop the process till it succeeds or give you a fail message.
-
@Edward-Wilhelm That part should take minutes. Please try the snap version if the installer. You will have to install snapd first on Mint. Make sure the device is in Dev mode, MTP on and usb debugging. Then you need ADB and fastboot installed and checked the permission box that should appear on the device. You can always type ADB devices in a terminal to check the connection. Then you should run the installer with the wipe option ticked ( as long as you have no important stuff on there). Good luck back later on. Also try a few usb cables if you have issues.
-
@Lakotaubp said in Trouble Installing on Oneplus One:
@Edward-Wilhelm That part should take minutes. Please try the snap version if the installer. You will have to install snapd first on Mint. Make sure the device is in Dev mode, MTP on and usb debugging. Then you need ADB and fastboot installed and checked the permission box that should appear on the device. You can always type ADB devices in a terminal to check the connection. Then you should run the installer with the wipe option ticked ( as long as you have no important stuff on there). Good luck back later on. Also try a few usb cables if you have issues.
I put the device in developer mode. I went to developer options. I enabled "android debug bridge (adb) interface". On the USB config I selected "Media Transfer Protocol (MTP)". The installer now automatically recognizes the phone, but the process still hangs on flashing.
I don't know what you mean by this:
"Then you need ADB and fastboot installed and checked the permission box that should appear on the device."I don't know what fastboot is. Is this something installed on the computer or the phone?
-
@Edward-Wilhelm You ne3ed to install adb and fastboot on your laptop/pc run these commands in a terminal
sudo apt update
sudo apt-get install android-tools-adb android-tools-fastbootThen you type
adb devices
and the daemon should start and your device be listed. look out for the grant permissions box on the device it is quite small and that should be it. Then just run the installer.
-
@Lakotaubp said in Trouble Installing on Oneplus One:
@Edward-Wilhelm You ne3ed to install adb and fastboot on your laptop/pc run these commands in a terminal
sudo apt update
sudo apt-get install android-tools-adb android-tools-fastbootThen you type
adb devices
and the daemon should start and your device be listed. look out for the grant permissions box on the device it is quite small and that should be it. Then just run the installer.
I ran what you said successfully in the shell.
I got this message when finished."List of devices attached
- daemon not running; starting now at tcp:5037
- daemon started successfully"
I retried the installation. It is still stuck.
The phone says "0_0 Fastboot Mode"
The Installer says"flashing firmware.."
"flashing firmware partitions using fastboot"I do not know what you mean when you say this.
"look out for the grant permissions box on the device it is quite small and that should be it"When I first plug in the phone it gives me the option to swipe to revoke permissions. Is this what you mean?
-
@Edward-Wilhelm said in Trouble Installing on Oneplus One:
I got this message when finished.
"List of devices attached
- daemon not running; starting now at tcp:5037
- daemon started successfully"
That mean adb server is started and running, but no device is listed here.
You should see something like that :
You must run "ADB device" command after phone is booted and running with dev mod on (+ MTP and debugging also on like said before), and plugged in usb (2.0) to PC.
If doing this, and still no listed devices, then you have an adb driver problem or a USB cable issue.
-
@Keneda said in Trouble Installing on Oneplus One:
@Edward-Wilhelm said in Trouble Installing on Oneplus One:
I got this message when finished.
"List of devices attached
- daemon not running; starting now at tcp:5037
- daemon started successfully"
That mean adb server is started and running, but no device is listed here.
You should see something like that :
You must run "ADB device" command after phone is booted and running with dev mod on (+ MTP and debugging also on like said before), and plugged in usb (2.0) to PC.
If doing this, and still no listed devices, then you have an adb driver problem or a USB cable issue.
Okay I re-did it with phone plugged in and in dev mod with adb and MTP.
The shell replied with this.
"
List of devices attached
adb server version (41) doesn't match this client (39); killing...- daemon started successfully
******** device
"
It is still hung where it says:
"
"flashing firmware.."
"flashing firmware partitions using fastboot"
"
-
@Edward-Wilhelm said in Trouble Installing on Oneplus One:
- daemon started successfully
******** device
"
It is still hung where it says:
"
"flashing firmware.."
"flashing firmware partitions using fastboot"
"
It's a step forward ^^
Now try to do the ADB devices command after booting phone in recovery and plugged to PC.
It should return a ********* recovery like in my image.
TIP : right after doing an "adb devices" command, whatever result it gives, when you're finished, phone unplugged, type "adb kill-server" so the next time you try an "adb devices" command, adb starts a fresh server and daemon.
- daemon started successfully
-
Rebooted into recovery mode. The phone screen gives the options to:
*reboot system now
*apply update
*factory reset
*advancedRunning the kill command gave this:
cannot connect to daemon at tcp:5037: Connection refusedRunning "adb devices" command gave this:
List of devices attached
adb server version (41) doesn't match this client (39); killing...
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 5661
--- adb starting (pid 5661) ---
adb I 04-12 10:32:30 5661 5661 main.cpp:57] Android Debug Bridge version 1.0.39
adb I 04-12 10:32:30 5661 5661 main.cpp:57] Version 1:8.1.0+r23-5~18.04
adb I 04-12 10:32:30 5661 5661 main.cpp:57] Installed as /usr/lib/android-sdk/platform-tools/adb
adb I 04-12 10:32:30 5661 5661 main.cpp:57]
adb I 04-12 10:32:30 5661 5661 adb_auth_host.cpp:416] adb_auth_init...
adb I 04-12 10:32:30 5661 5661 adb_auth_host.cpp:174] read_key_file '/home/wisian/.android/adbkey'...
adb I 04-12 10:32:30 5661 5661 adb_auth_host.cpp:391] adb_auth_inotify_init...
adb server killed by remote request- failed to start daemon
error: cannot connect to daemon
- failed to start daemon
-
@Edward-Wilhelm You need to give permission for the adb connection to work with the device. You could revoke all other connections and try again. I would just boot the phone into normal mode, connect it to pc/laptop and start the installer. Watch both installer and device closely. Accept the connection on the device when it asks then just follow the installer instructions.
-
@Lakotaubp said in Trouble Installing on Oneplus One:
@Edward-Wilhelm You need to give permission for the adb connection to work with the device. You could revoke all other connections and try again. I would just boot the phone into normal mode, connect it to pc/laptop and start the installer. Watch both installer and device closely. Accept the connection on the device when it asks then just follow the installer instructions.
I do not understand what you mean. I enabled the MTP and ADB and dev mode. I installed the fast boot. I run the installer. The phone says
"fastboot mode"
the installer says it is flashing the device. It stays like that and nothing changes.
I have followed all the instructions I could find.The website says this
" Installing Ubuntu Touch is EasyWith the UBports installer, you can get Ubuntu Touch on your device without breaking a sweat. You can use any computer to run the installer. Simply plug in your device and follow the on-screen instructions. Then sit back and let your computer do all the work. "
I do not know what to do now. I have done everything the installer said to do.
-
@Edward-Wilhelm Can you try a few other usb cables. It seems the connection between you pc/laptop and device is not working somehow.
Before you do that. Stop the installer and with the device in fastboot mode type in a terminalFastboot devices
Is your device listed? If yes we need to look elsewhere if not that is the issue.
-
Also have a look here it was very similar to your issue https://forums.ubports.com/topic/4033/oneplus-one-installation-trouble/2
Are you using the snap version of the installer? AS you can see the progress of installing in the terminal as it runs. Might give you another clue. -
@Lakotaubp said in Trouble Installing on Oneplus One:
@Edward-Wilhelm Can you try a few other usb cables. It seems the connection between you pc/laptop and device is not working somehow.
Before you do that. Stop the installer and with the device in fastboot mode type in a terminalFastboot devices
Is your device listed? If yes we need to look elsewhere if not that is the issue.
running "fastboot devices" gives:
no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html] fastboot
I could not get the snap version to run. It installed, but when I tried to run it, it said there was an error and that something must have gone wrong during the installation. I have since removed the snap version. I am now running the debian package version.
-
@Edward-Wilhelm Right, that's what needs fixing, fastboot has not the permission to access the device. Give me a minute to re-read through.
-
@Edward-Wilhelm Open a terminal and rerun the sudo apt update and sudo apt-get install commands from above again. When that's done in a terminal type sudo fastboot OEM unlock
Then try again. -
okay ran:
sudo apt update and sudo apt-get install commands from above again
then:
adb devices
List of devices attached- daemon not running; starting now at tcp:5037
- daemon started successfully
******** device
next ran sudo fastboot OEM unlock
it returned that it was waiting for any devicethen I ran the installer and it returned:
fastboot: usage: unknown command OEM