maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Jolla1 & TOH (https://talk.maemo.org/forumdisplay.php?f=56)
-   -   Jolla device in a boot loop (https://talk.maemo.org/showthread.php?t=92119)

nieldk 2013-12-31 14:42

Re: Jolla device in a boot loop
 
the restore most likely worked at least to be able to fastboot - to get a command prompt. The question now is, what was done when having command prompt?

nieldk 2013-12-31 14:46

Re: Jolla device in a boot loop
 
if you try what was posted in
http://talk.maemo.org/showpost.php?p...4&postcount=54
then
ifconfig eth1 192.168.42.18 netmask 255.25.255.0 up
telnet 192.168.42.17

you should be at coomand prompt and perhaps stskeep can help from there?

ZioBilly 2013-12-31 14:50

Re: Jolla device in a boot loop
 
after fastboot it says <waiting for device>
meanwhile I emailed the jolla care ;)

nieldk 2013-12-31 14:54

Re: Jolla device in a boot loop
 
did you
1 power off device
2 hold vol down (keep holding)
3. plug in usb cable

ZioBilly 2013-12-31 14:59

Re: Jolla device in a boot loop
 
if i do this way the phone displays fastboot mode, manufacturer and product
then sudo ifconfig -a
doesn't show eth1 as an option
and fastboots output is: FAILED (remote: access denied. need privilege!)


if i
1 shut down
2 hold volume down
3 press power on
4 plug the usb

it displays only the jolla logo and

sudo ifconfig -a

shows eth1 too

after fastboot it says <waiting for device>

nieldk 2013-12-31 15:04

Re: Jolla device in a boot loop
 
then you still have the locked bootloader. which cant do a good reset in your case (what we tried before).
I think now unfortunately your only option is Jolla Care

wormdrummer 2014-01-09 23:23

Re: Jolla device in a boot loop
 
Anyway to do this on a windows machine?

Stskeeps 2014-01-10 07:52

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by wormdrummer (Post 1405277)
Anyway to do this on a windows machine?

From XDA developers of all places:

Quote:

Dude, go to your device manager.
Find the Device with the little ? and then maybe a yellow !.
Right click that device and select Update Driver.
When the window pops up (on Windows 7 32bit), select, Browse My Computer for driver software, then on the next screen, click on the bottom that says, LET ME PICK.
Then it will ask you the device type.
Here you go down to Network Adapters.
Then when it asks you to select manufacturer, skip Microsoft and select Microsoft Corporation.
Then, select Remote NDIS based Internet Sharing Device.
Hit next, it will say it's not safe, etc etc, proceed to install it.

You should be set. I hope that helps.

eppe 2014-01-15 19:27

Re: Jolla device in a boot loop
 
Long story short:
My jolla phone started acting a bit strangely so i decided to restore it to factory settings. it "never" finished ( i waited about an hour) and i pulled the battery ( thinking i am a complete ***** ). restarted the phone. And BootLoop.

I then started the recovery trough telnet and after six hours it had restored the / and /home images but was "hanging" on:

[CLEANUP] Umounting /mnt

I have now booted the image provided in this thread and tried mounting /dev/mmcblk0p28.

it doesn't take long for ls to "hang" and a quick inspection with top
reveals that 50% CPU [btrfs-cache-1]

A quick google search provides this: https://bugs.launchpad.net/ubuntu/+s...s/+bug/1088986

so anyone have any idea what i can do to recover my device?
I emailed care 3 days ago. But they probably have there hands full.
And it would be great to not send the phone back to Jolla.

Thanks in advance.

eppe 2014-01-16 08:22

Re: Jolla device in a boot loop
 
update:

After a couple of hours the btrfs-cache-1 probably got done with whatever it was doing. and i could unmount the root filesystem cleanly. I started the recovery process one more time and this time it completed after about an hour. still boot loop though..

Kaacz 2014-01-24 21:34

Re: Jolla device in a boot loop
 
nieldk: Now I must use this pages for factory reset (fun with usb0/eth3] - phone not fully started after reboot with your bluez package from openrepos ... maybe will be better remove this package from openrepos .. IMHO Jolla not finished start without BT control .. FYI.

nieldk 2014-01-24 21:56

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by Kaacz (Post 1408755)
nieldk: Now I must use this pages for factory reset (fun with usb0/eth3] - phone not fully started after reboot with your bluez package from openrepos ... maybe will be better remove this package from openrepos .. IMHO Jolla not finished start without BT control .. FYI.

well well Quite frankly, If your phone is in a bootloop it is not because of the bluez package. Iam using it without problems, I have downgraded, reinstalled, over and over again - without problems.

But, surely, anything can happen with any application.

And, situation being that we have no flashable base image - well, dont do stuff that touches the core functions if the device.
Plenty of things can mess up a working device.

Should I remove from my openrepos? well, perhaps I should delete all my packages from there, and keep ny own local one.

Quite tired of wanba-bees that blame devs for **** they dont know about!

Kaacz 2014-01-26 02:50

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by nieldk (Post 1408758)
well well Quite frankly, If your phone is in a bootloop it is not because of the bluez package. Iam using it without problems, I have downgraded, reinstalled, over and over again - without problems.

But, surely, anything can happen with any application.

And, situation being that we have no flashable base image - well, dont do stuff that touches the core functions if the device.
Plenty of things can mess up a working device.

Should I remove from my openrepos? well, perhaps I should delete all my packages from there, and keep ny own local one.

Quite tired of wanba-bees that blame devs for **** they dont know about!

No need to be tired .. :) Your mc package is "must have" for me .. :)
I do not blame you of something. I wrote this For Your Info - maybe problem is exist. Maybe not. I write warning - because we don't want any less-experienced owners in this situation - right? :)

This "thing" with bluez package only need some time:
- after update BT not working .. some libs needed ? => we must do some research.
- i was made only one change before this problem - update bluez => reboot in this state (BT not working) => my device is in boot stuck (not boot loop)
- yes maybe this is problem combination with some other
- yes sad is: we have no easy re-flashable device ..

I will make some next tests .. :)

Larswad 2014-01-26 08:04

Re: Jolla device in a boot loop
 
Is that a common syndrome or side-effect for some linux-devs, being all touchy and behaving like offended primadonnas? Seen it one too many times here and other forums now.
People ARE greatful for what you great devs here do, but it should be allowed to make comments that indicates problems with the work ffs without getting the evil eye.

richardski 2014-01-26 08:29

Re: Jolla device in a boot loop
 
The major issue is not being able to reflash to stock factory image because of Qualcomm's restrictive practices.

Many problems could be avoided if owners had full control of their own hardware and firmware and so could properly wipe clean and start from fresh.

I appreciate that Jolla have done the best they could in this respect, given previous manufacturers let downs, and have provided a physical device to work with for actual hands on development. Hopefully jPhone2 or 3 will be fully FOSS compliant and free of secret blob firmware.

In the meantime I hope Jolla are lobbying hard to get Qualcomm to relase this code as open source like they already did for ThinkPenquin's WLAN USB dongle. It can be done:)

Richard

Larswad 2014-01-26 09:01

Re: Jolla device in a boot loop
 
Even if its a blob, why would it prevent jolla to create a flash-image ? obviously they flash the device themselves. Was it this partitioning thing that was troublesome or what. Not really getting this.

richardski 2014-01-28 08:27

Re: Jolla device in a boot loop
 
It seems to an issue of licence conditions imposed by Qualcomm.

Richard

djselbeck 2014-01-28 08:33

Re: Jolla device in a boot loop
 
Perhaps a sticky thread would be useful which advices users to backup their devices with dd and recover the unlocked bootloader.

as there are more and more bricked devices this could prevent at least some users from bricking the fragile Jolla which is easily stuck in bootloop

Jordi 2014-01-28 09:02

Re: Jolla device in a boot loop
 
It's not possible to extract the image from a phone?

Silly question? Sorry, noob here :D

djselbeck 2014-01-28 09:12

Re: Jolla device in a boot loop
 
it is there is even a guide but it is quite lost in this forum

Jordi 2014-01-28 10:29

Re: Jolla device in a boot loop
 
I guess you are speeking of your guide : https://wiki.merproject.org/wiki/Sai...prebuilt_image

Unfortunately, this is not for me: I have windows :(

Well, it seems I need to go the Linux way... for a lot of reasons.

shanttu 2014-01-30 12:59

Re: Jolla device in a boot loop
 
Boot loop here as well.
Code:

dmesg [ 1273.480188] usb 2-1: new high-speed USB device number 8 using ehci_hcd
Code:

sudo fastboot -i 0x2931 boot boot-telnet-initrd.img
downloading 'boot.img'...
OKAY [  0.434s]
booting...
FAILED (remote: access denied. need privilege!)
finished. total time: 0.437s

Code:

telnet 192.168.2.18
Trying 192.168.2.18...
telnet: Unable to connect to remote host: No route to host

Sigh.

mikecomputing 2014-01-30 18:40

Re: Jolla device in a boot loop
 
My Jolla is R.I.P. Stuck in 5 second logo ON, 1 second off reboot loop no damn way to recover it seems.

nieldk 2014-01-30 19:17

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by shanttu (Post 1409801)
Boot loop here as well.
Code:

dmesg [ 1273.480188] usb 2-1: new high-speed USB device number 8 using ehci_hcd
Code:

sudo fastboot -i 0x2931 boot boot-telnet-initrd.img
downloading 'boot.img'...
OKAY [  0.434s]
booting...
FAILED (remote: access denied. need privilege!)
finished. total time: 0.437s

Code:

telnet 192.168.2.18
Trying 192.168.2.18...
telnet: Unable to connect to remote host: No route to host

Sigh.

you cant fastboot with updated firmware. It is locked!
You can however boot recovery and to some factory reset

  1. Push and hold the volume down button
  2. Push and hold for a while the power button until the phone vibrates, release all buttons
  3. connect USB cable
  4. telnet 192.168.2.15

shanttu 2014-01-30 20:13

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by nieldk (Post 1409860)
you cant fastboot with updated firmware. It is locked!
You can however boot recovery and to some factory reset

  1. Push and hold the volume down button
  2. Push and hold for a while the power button until the phone vibrates, release all buttons
  3. connect USB cable
  4. telnet 192.168.2.15

Thanks, but already made those steps. care@jolla.com got mail. I live 10 km away from Optima service so maybe I'll just give the device for them to reflash.

Nekron 2014-01-30 21:10

Re: Jolla device in a boot loop
 
Yea, we need unlocked bootloader asap or a way to flash the device on our own. This reboot loop and send them in to care sucks hard.

mikecomputing 2014-01-30 21:38

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by Nekron (Post 1409885)
Yea, we need unlocked bootloader asap or a way to flash the device on our own. This reboot loop and send them in to care sucks hard.

Why do that help in any way? If reboot loop and not connects usb network how would "flash yourself" help in any way? I mean you need atleast USB network to flash it and in most cases it seems not even that seems work.

My Linux box find "new USB device" but Jolla seems not activate USB network profile but find unmountable /dev/sdb hmmm

Code:

Jan 30 22:37:31 ThinkPad-X230 kernel: [45186.661079] usb 3-2: Product: Recovery
Jan 30 22:37:31 ThinkPad-X230 kernel: [45186.661082] usb 3-2: Manufacturer: Jolla
Jan 30 22:37:31 ThinkPad-X230 kernel: [45186.661085] usb 3-2: SerialNumber: 123456789
Jan 30 22:37:31 ThinkPad-X230 kernel: [45186.663232] rndis_host 3-2:1.0 eth1: register 'rndis_host' at usb-0000:00:14.0-2, RNDIS device, 00:01:02:03:04:05
Jan 30 22:37:31 ThinkPad-X230 kernel: [45186.663585] usb-storage 3-2:1.2: USB Mass Storage device detected
Jan 30 22:37:31 ThinkPad-X230 kernel: [45186.663689] scsi19 : usb-storage 3-2:1.2
Jan 30 22:37:31 ThinkPad-X230 mtp-probe: checking bus 3, device 57: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
Jan 30 22:37:31 ThinkPad-X230 mtp-probe: bus: 3, device: 57 was not an MTP device
Jan 30 22:37:32 ThinkPad-X230 kernel: [45187.660936] scsi 19:0:0:0: Direct-Access    Linux    File-CD Gadget  0000 PQ: 0 ANSI: 2
Jan 30 22:37:32 ThinkPad-X230 kernel: [45187.661461] sd 19:0:0:0: Attached scsi generic sg1 type 0
Jan 30 22:37:32 ThinkPad-X230 kernel: [45187.662497] sd 19:0:0:0: [sdb] Attached SCSI removable disk


Jordi 2014-01-30 22:25

Re: Jolla device in a boot loop
 
This situation is stinky. Unacceptable.

If Jolla wants to make his mark in the smartphone world, they need the continued support of developers. Not being able to recover easily from a boot loop certainly doesn't help.

For the next SW update, I would like to see only 1 improvement: to be able to recover from a boot loop. No fancy features. Just this.

mikecomputing 2014-01-31 09:42

Re: Jolla device in a boot loop
 
If using developer mode this is the correct ip when connect to Jolla:

Code:

sudo ifconfig eth1 192.168.2.14 netmask 255.255.255.0 up
telnet 192.168.2.15

However in my case I am now lost in:

Code:

re you really SURE? If you continue, ALL DATA (pictures, videos, messages, accounts and all the personal data) stored in the device memory WILL BE ERASED! [y/n]
y
[CLEANUP] Starting cleanup!
[CLEANUP] Umounting top volume...
[CLEANUP] Deleting /mnt
[CLEANUP] Cleanup done.
Mounting /dev/mmcblk0p28 on /mnt
mount: mounting /dev/mmcblk0p28 on /mnt failed: Invalid argument

[ERROR] Can't mount '/dev/mmcblk0p28' to '/mnt'
[CLEANUP] Starting cleanup!
[CLEANUP] Umounting top volume...
[CLEANUP] Deleting /mnt
[CLEANUP] Cleanup done.
Connection closed by foreign host.

so my Jolla is doomed :(

djselbeck 2014-01-31 12:40

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by mikecomputing (Post 1409889)
Why do that help in any way? If reboot loop and not connects usb network how would "flash yourself" help in any way? I mean you need atleast USB network to flash it and in most cases it seems not even that seems work.

My Linux box find "new USB device" but Jolla seems not activate USB network profile but find unmountable /dev/sdb hmmm

Unlocked bootloader would help, because you can boot your own recovery image and have access to the raw filesystem with a busybox shell. You can revert the changes which brick your device. Also you can dd you backuped system image, if you have one

bockersjv 2014-01-31 19:31

Re: Jolla device in a boot loop
 
Upgraded to latest release. Working fine for a few hours. Then started camera app and phone crashes and is in constant reboot loop.

What are the procedures with the latest build?

mikecomputing 2014-01-31 21:11

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by bockersjv (Post 1410077)
Upgraded to latest release. Working fine for a few hours. Then started camera app and phone crashes and is in constant reboot loop.

What are the procedures with the latest build?

Exactly same happened yesterday to me before upgrade announced.

I took a photo (at home) and BOOM phone died and started reboot. 5 seconds Jolla logo 1 second off.

So I am not sure your problem is related to upgrade...

It may be something else some wierd app writing to EMMC all the time? I dont know but something is wierd when happens to three persons in very short time.

Also another issue the wheater in sweden is snowy as hell... maybe our Jolla does not like the wheater. Now if thats the issue Jolla has BIG problems.... Hope not...

mikecomputing 2014-01-31 21:14

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by djselbeck (Post 1409959)
Unlocked bootloader would help, because you can boot your own recovery image and have access to the raw filesystem with a busybox shell. You can revert the changes which brick your device. Also you can dd you backuped system image, if you have one

I see but I am not sure it helps if its hardware issue. Start beleive the qualty of EMMC is crap see above post... I hope I am wrong...

bockersjv 2014-01-31 21:26

Re: Jolla device in a boot loop
 
try this
http://talk.maemo.org/showthread.php...25#post1410125

or straight to my post and my own answer in Jollacare
https://together.jolla.com/question/...grade-to-1038/

Rauha 2014-01-31 21:35

Re: Jolla device in a boot loop
 
For people not in Finland with bricked devices and no response from Jolla care, I'll just give this email adress:

huolto@optimaservice.fi

That's the direct email for the repair service Jolla has contracted for their devices. Note that I haven't had these problems (Just in case this isn't well known on TMO.) Sending email in english is almost certainly no problem (or in swedish/scandinavian language).

Here's the english version of their homepage: http://optimaservice.fi/en/

And press release about Jolla collaboration: http://optimaservice.fi/en/optima-se...join-forces-2/

mikecomputing 2014-01-31 21:36

Re: Jolla device in a boot loop
 
Quote:

Originally Posted by bockersjv (Post 1410127)

well problem is I only have:

Reset phone to factory settings
Reset Phone

Because I still use old firmware and first option fails see above log. So in my case I have to send it so they can flash it via jtag.

Nice to see they add more options in newer firmware but I hope we dont have to use those to often because if I had to btrfs recovery all the time as "normal user" something is very very wrong...


Also question is why this happens then take photos even with latest firmware...

bockersjv 2014-01-31 21:52

Re: Jolla device in a boot loop
 
Instructions for those on 1.0.3.8 and with Windows 7:-
Jolla reboot loop solution for windows 7 owners.

**PC**

You will need telnet. This is not installed by default so :-
Open Control Panel => Click on “Programs” => Select “Turn Windows Features on/off” Then select telnet features.

You need to ensure RNDIS is installed

Best guide I found was here:-

http://developer.toradex.com/knowled...-for-windows-7

**JOLLA**

Then with Jolla off press the down volume key and keep it pressed
Now press the power key and when the jolla logo appear release all keys.
Connect USB lead

**PC**

Type telnet in the windows start menu search bar
Telnet window will open
type "telnet 10.42.66.66"

-----------------------------
Jolla Recovery v0.2

Welcome to the recovery tool!

The available options are:

1) Reset phone to factory settings

2) Reboot phone

3) Bootloader unlock [Current state: locked]

4) Shell

5) Try btrfs recovery if your device is in bootloop

6) Exit

Type the number of the desired action and press [ENTER]:


*I tried option 5*

5 Done Press [Enter] to reboot the phone... Rebooting... Connection to host lost. Press any key to continue...*

Phone reboots and all working well

Good luck.

Jordi 2014-02-01 01:20

Re: Jolla device in a boot loop
 
...
5) Try btrfs recovery if your device is in bootloop
...

:) Yeah! Very happy with this SW update :)

Hopefully this option will help in most cases.

tiempjuuh 2014-02-01 08:07

Re: Jolla device in a boot loop
 
Quote:

3) Bootloader unlock [Current state: locked]
Does this mean that.... Yeah, awesome! :)

Kaacz 2014-02-04 02:01

Re: Jolla device in a boot loop
 
Hi, I want to do some more test with bluez.

As you wrote:
Quote:

Originally Posted by nieldk (Post 1408758)
well well Quite frankly, If your phone is in a bootloop it is not because of the bluez package. Iam using it without problems, I have downgraded, reinstalled, over and over again - without problems.

But in your case BT is always working. I was reboot phone in non-working state (in BT point of view). Maybe is something wrong in systemd definition and phone don't continue to GUI without BT.

Please share to me link to your bluez package, i will do more tests. (I forgot save .rpm in previous test).

Thanks.


All times are GMT. The time now is 06:13.

vBulletin® Version 3.8.8