Installation stuck at "Waiting for sideload to boot"

Bug #1267703 reported by David Planella
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
The Humpolec project
Fix Released
Undecided
Unassigned

Bug Description

After having installed dual boot successfully on its first release, I've tried the latest release and it fails during the installation. Here's what I did:

$ adb shell "su sh rm -rf /cache/*"
$ chmod +x dualboot.sh
$ ./dualboot.sh UPDATE
Connect device to install Ubuntu installer to.
Detected connected Nexus 4
UPDATE install
Downloading Ubuntu Installer application package
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 2259k 100 2259k 0 0 967k 0 0:00:02 0:00:02 --:--:-- 966k
Downloaded file has size: 2314009
Downloading recovery for mako
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 8400k 100 8400k 0 0 174k 0 0:00:48 0:00:48 --:--:-- 723k
Downloaded file has size: 8601600
Rebooting to bootloader
< waiting for device >
downloading 'boot.img'...
OKAY [ 0.267s]
booting...
OKAY [ 0.024s]
finished. total time: 0.291s
Waiting for recovery to boot
Creating update command
/sbin/sh: can't create /cache/recovery/command: nonexistent directory
Booting back to bootloader
< waiting for device >
downloading 'boot.img'...
OKAY [ 0.266s]
booting...
OKAY [ 0.024s]
finished. total time: 0.291s
Waiting for sideload to boot

And here the device remains stuck at the recovery screen

Tags: cqa-verified
Revision history for this message
Alex Kaluzhny (alex-kaluzhny) wrote :

Worked for me:
$ adb shell "su sh rm -rf /cache/*"
$ chmod +x dualboot.sh

akaluzhny@alex-XPS-M1330:~/Documents/Humpolec/Images/update-2014-01-07$ ./dualboot.sh UPDATE
Connect device to install Ubuntu installer to.
Detected connected Nexus 4
UPDATE install
Downloading Ubuntu Installer application package
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 2259k 100 2259k 0 0 327k 0 0:00:06 0:00:06 --:--:-- 333k
Downloaded file has size: 2314009
Downloading recovery for mako
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 8400k 100 8400k 0 0 1110k 0 0:00:07 0:00:07 --:--:-- 1198k
Downloaded file has size: 8601600
Rebooting to bootloader
< waiting for device >
downloading 'boot.img'...
OKAY [ 0.527s]
booting...
OKAY [ 0.024s]
finished. total time: 0.551s
Waiting for recovery to boot
Creating update command
Booting back to bootloader
< waiting for device >
downloading 'boot.img'...
OKAY [ 0.526s]
booting...
OKAY [ 0.024s]
finished. total time: 0.551s
Waiting for sideload to boot
sending: 'sideload' 100%
Wait for installation of package to complete
If you are asked to preserve possibly lost root access
Or if device should be rooted
This is false warning and yuou can answer either yes or no
akaluzhny@alex-XPS-M1330:~/Documents/Humpolec/Images/update-2014-01-07$

Device rebooted to Android.
Launched UbuntuDualBoot app and Rebooted to Ubuntu Touch.

Revision history for this message
Rex Tsai (chihchun) wrote :

most likly adb had problem connected to the target device, please check the usb cable or dmesg on your PC to see if there is any other error message.

Changed in humpolec:
status: New → Incomplete
Revision history for this message
Daniel Holm (danielholm) wrote :

I got the same thing but just re-ran the script and voila!

Revision history for this message
Jeremy Coleman (jeremy-d-coleman) wrote :

You need to edit dualboot.sh to use clockwork recovery version 6.0.4.3 instead of 6.0.4.7

Changed in humpolec:
status: Incomplete → Fix Committed
milestone: none → m9-update
Revision history for this message
Ondrej Kubik (ondrak) wrote :

dualboot.sh is now using older working versions of recovery when possible.
This should be released in release m9

Revision history for this message
Ethan Chang (ethan.chang) wrote :

Verified with M9 build.

tags: added: cqa-verified
Changed in humpolec:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.