maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   JollaC & Intex Aqua Fish (https://talk.maemo.org/forumdisplay.php?f=64)
-   -   Jolla C is now a brick (https://talk.maemo.org/showthread.php?t=97075)

MoritzJT 2016-07-28 19:37

Jolla C is now a brick
 
After about a week of testing and setting up my new Jolla C I had to repartition my SD-Card that had one partition f2fs and one SWAP to ext4 and swap. I did so using parted from openrepos and creating a new partition table on said card. The card mounted fine on Jolla C as did the SWAP partition. After a while I decided to reboot the phone and since then it has not turned back on. No vibration, nothing.

I fear that somehow the NAND could be affected by partition table writing? Is there a way to connect NAND to a PC and check if everything is okay, or do I have to send in the device?

Connecting the Phone to PC shows QHSUSB__BULK in device manager - maybe this is a starting point towards flashing the device or repairing something.

Overview:

1: Tinker with partition tables on sdcard presumably - as that did work - mounted fine as swap and ext4
2: attempt reboot
3: stay dead
4: take out SIM and sdcard
5: attempt boot - stay dead
6: attempt recovery (vol-up + power) / fastboot (vol-down + USB) - stay dead
7: connect to PC - QHSUSB__BULK in device manager
8: open ticket at ZENDESK

Has anyone got a clue? :D

[EDIT]

9: get help from the inner circle
10: be educated QHSUSB__BULK mode basically exports the emmc via USB

[EDIT] (QHSUSB__BULK will either say Qualcomm 9008 (service port) or Qualcomm 9006 (emmc mode) the one we need)

11: expected behaviour on linux: show emmc partitions and list device on /dev/whatever
12: actual behaviour lsusb lists device as connected to one USB bus but does not list as any device to the system
13: conclusion - send in the device - as even with the by now provided original partition table, there seems to be no way to write them back to my Jolla C
14: sob and tremble uncontrollably
15: buy iPhone - jk

mosen 2016-07-28 19:40

Re: Jolla C is now a brick
 
You may keep the pieces :cool:

MoritzJT 2016-07-28 19:45

Re: Jolla C is now a brick
 
I will decorate my trophy collection with this new brick! But I'd much prefer to let it age well before that ;)

Dave999 2016-07-28 19:47

Re: Jolla C is now a brick
 
No worries. As far as I know you didn't bought a phone but part of a program.

Hou...tricky one...
Send it to jolla and tell them to fix it since it broke on first start up ;) and request a new...

mosen 2016-07-28 19:49

Re: Jolla C is now a brick
 
Just for the record, you did not mention trying to get into recovery menu.
You sure tried and it did not work, correct?

MoritzJT 2016-07-28 19:49

Re: Jolla C is now a brick
 
I had opened a ticket earlier and will await their answer.

Hope they can help me out.

I did try recovery and fastboot (voldown + usb)

Nothing works, the device stays black. Only thing is upon connecting to USB said device pops up in device manager indicating something is severely wrong.

mosen 2016-07-28 19:53

Re: Jolla C is now a brick
 
Good to read you take it like a man :)

MoritzJT 2016-07-28 19:55

Re: Jolla C is now a brick
 
Me taking it this way is nothing compared to the poor folks longing for one and seeing me waste mine just like this.

Don't behead me!

mosen 2016-07-28 19:56

Re: Jolla C is now a brick
 
At least you documented what not to do.
Can be helpfull indeed.

pichlo 2016-07-28 19:58

Re: Jolla C is now a brick
 
You did not mention if you tried rebooting without the offending SD card.

kjokinie 2016-07-28 20:02

Re: Jolla C is now a brick
 
Quote:

Originally Posted by MoritzJT (Post 1511105)
I had opened a ticket earlier and will await their answer

Hope they can help me out.

I did try recovery and fastboot (voldown + usb)

The correct key combo for recovery mode is Vol UP + power key. Please try that ;)

Also good idea to remove any sd card from the device if you have such there. Unfortunate partition label could cause an issue..

MoritzJT 2016-07-28 20:06

Re: Jolla C is now a brick
 
I've updated my first post with hopefully enough info as to what I've tried and what does not do the trick ;) Thanks for reminding me!

nieldk 2016-07-28 20:36

Re: Jolla C is now a brick
 
Sadly, what most likely happened, is a deleted/faulty SBL partition, this is the Qualcomm bootloader damaged, and only repairable by Qualcomm tools. The device boots to this mode when normal bootloader partition is damaged, thus the device can't boot.
So far none has figured out how to repair this, outside factory (except on XDA forum, for a few devices).
This happened for at least one user here, on J1 (search my answers)

MoritzJT 2016-07-28 23:10

Re: Jolla C is now a brick
 
Well if that really is the case - and by all means a quick google search pushed me into the XDA case too - then Qualcomm thus Jolla should have documentation on it, should they not? Maybe they can share what is needed - or tell us why we can't have it.

Thank you for this insight. I will wait for an official response from Jolla before any further tampering with my Jolla C in its current state.

Regards!

TMavica 2016-07-29 07:04

Re: Jolla C is now a brick
 
Hero.......
Aquafish is your way to go

Tsippaduida 2016-07-29 11:23

Re: Jolla C is now a brick
 
MoritzJT, seems obvious, but have you let the battery to rest properly? In the early days of J1, I issued a halt from command line, and the phone was a brick. But battery out for 15 minutes and back in and then it started. But as I said, you probably have tried this already.

MoritzJT 2016-07-31 10:33

Re: Jolla C is now a brick
 
Thank's for the heads up, sadly that's also one of the things I had tried.

The ticket I opened with Jolla Care was closed and I have been redirected to developer-care@jolla.com - forwarding them my issue. They are yet to answer me.

I hope I'm not screwed here. Back in my Symbian days, bricking a device was nearly impossible - even dead flashing and correcting the partitions layout was easily possible, because we had all the tools necessary. With Jolla, Qualcomm and what not - this is an extremely sad situation. Dependency on the big manufacturers and THEIR rules makes me angry.

MoritzJT 2016-08-05 16:29

Re: Jolla C is now a brick
 
A little update - Jolla C does not come with any warranty according to Jolla. I'll have to pay for transport AND reparing. I'm waiting for Jolla to tell me how much it will cost to repair my device and decide whether to send it in.

javispedro 2016-08-05 16:36

Re: Jolla C is now a brick
 
Possibly if you can wait to the next Jolla event you might find some sailor willing to reflash it for you...

MoritzJT 2016-08-05 16:37

Re: Jolla C is now a brick
 
What kind of Jolla event would that be? I've never been to one. Do sailors themselves have access to the factory images?

coderus 2016-08-05 16:53

Re: Jolla C is now a brick
 
If you connect usb while holding voldown, fastboot will be availavle?

MoritzJT 2016-08-05 16:57

Re: Jolla C is now a brick
 
lsusb still lists a qualcomm device, it will however not list as a block device - the last thing I hoped for.

There is no more fastboot.

nieldk 2016-08-05 17:19

Re: Jolla C is now a brick
 
Quote:

Originally Posted by coderus (Post 1511840)
If you connect usb while holding voldown, fastboot will be availavle?

No, the only way to safe this device is using Qualcomm tools. Ian not sure if even Jolla got those (they are licensed $$$)
Read my answers to this special bootloader mode in other threads.
While the mentioned tool can be found, pirated, we still need certain files and XML partition layout for this.

It's not undoable, but we don't have all the pieces of the puzzle.

javispedro 2016-08-05 23:55

Re: Jolla C is now a brick
 
Quote:

Originally Posted by MoritzJT (Post 1511839)
What kind of Jolla event would that be? I've never been to one. Do sailors themselves have access to the factory images?

I suspect any event where Jolla sends one or more hackers. Only FOSDEM comes to mind right now, but I hope there's some earlier developer/community event before that (like the JollaC one).

Obviously, at least some sailors have access to factory images and flashing tools.

nieldk 2016-08-06 07:07

Re: Jolla C is now a brick
 
Quote:

Originally Posted by javispedro (Post 1511882)
Obviously, at least some sailors have access to factory images and flashing tools.

Interesting , do you know who?

For others, like I said, the SBL(1) is erased/damaged and thus the phone don't know how to boot. Leaving it in this factory mode. Unable to enter fast boot, recovery, or, normal boot.

There is good reference, also how this can be fixed on certain Android devices.

If we can create similar for Jolla phones, yes, it is recoverable , but until then, probably only the factory can recover this.

More info: http://forum.xda-developers.com/show....php?t=2625332

MoritzJT 2016-08-06 11:19

Re: Jolla C is now a brick
 
I will make a case against being able to modify SBL or partition tables from the phone in general just by being root. There should be one more layer of protection.

I have been through many of the XDA resources along with some android unbrick blogs - they all rely on the provided images. I have yet to see a 'reverse engineered' effort succeed reviving a phone with some frankenstein image.

Citation from a comment I received on the following resource by androidbrick: http://www.androidbrick.com/ultimate...oad_qpst_qfil/

"Thank you so much for the kind words. As to your problem : Qualcomm 9008 port is simply just a “service port” that waits right files from you to wake up the device. Just a commication port, you cant manualy flash anything over it. You need a proper service rom that includes ““rawprogram0.xml”, “patch0.xml”, “prog_emmc_firehose_XXXX.mbn” or “MPRGXXXX.mbn”” in it, without those files your phone cant come back sorry. Those mbn files are a must to turn your bricked phone into EMMC mode again (Qualcomm 9006), so your phone’s EMMC drive will wake and accepts your backed up partititons again from linux or from an other windows based partition software.. So you just need to find those, or nothing can be done, sorry. Greetings."

So for now that means we (I) need to switch from Qualcomm 9008 (service port) to Qualcomm 9006 (emmc mode) requiring:

- rawprogram0.xml
- patch0.xml
- MPRGXXXX.mbn (as at least Jolla C listens to Sahara protocoll, not the supposedly newer Firehose protocol)

And I don't even think that the .mbn file is the actual whole ROM, in our case SFOS but just the part needed to revive the device. Does it include anything that falls under NDA? Who can tell.

That's our situation, judging from the dead Jolla 1 thread.

nieldk 2016-08-06 12:48

Re: Jolla C is now a brick
 
The mbm files can indeed contain full rom.
But to recover only the SBL is needed.
The xml files can proberly be reconstrocted, proberly also the mbm files, but not without a great deal of effort.

So, yes, as I said, at the moment most likely only the factory have all the pieces to this.

nodevel 2016-08-06 16:08

Re: Jolla C is now a brick
 
Quote:

Originally Posted by MoritzJT (Post 1511892)
I will make a case against being able to modify SBL or partition tables from the phone in general just by being root. There should be one more layer of protection.

Being able to do it only as root is the protection, so I am against any "uber-root" hurdles you're proposing.

<rant>
The problem is that people (especially Android users, but many people on TMO as well) don't realize what it means to do stuff as root. With the power comes a great responsibility and regular users should never play with root access.

Yet there's a lot of "yo yo, I just rooted my phone, just because I can" attitude.

Just look at the "SailfishOS pre-pre-release" threads where good amount of users goes through an unnecessary risk and then is surprised when something breaks. There were plans by Jolla last summer to introduce upgrades that would overwrite the system partition so you don't have to hop over updates every time after resetting your phone, but imagine what disaster it would be if they tried to do it and bunch of users went ahead with their

Code:

for i in {1..5}; do version --dup; done # five times to upgrade all packages, because some fail to upgrade at first
routine prematurely...
</rant>

There should be no "just by being root".

javispedro 2016-08-06 21:35

Re: Jolla C is now a brick
 
Quote:

Originally Posted by nieldk (Post 1511886)
Interesting , do you know who?

Well, rainisto and Stskeeps both mentioned at some point having it.
However, to the best of my knowledge, both have left the company. :/

mosen 2016-08-06 22:40

Re: Jolla C is now a brick
 
Quote:

Originally Posted by nodevel (Post 1511901)
Just look at the "SailfishOS pre-pre-release" threads where good amount of users goes through an unnecessary risk and then is surprised when something breaks.

I stand corrected and have underestimated a well know effect.

http://www.goethezeitportal.de/filea...erlehrling.jpg

Do you suggest to not even create dedicated posts here on TMO for those topics or how should this be handled ethically correct?

nieldk 2016-08-07 07:47

Re: Jolla C is now a brick
 
Quote:

Originally Posted by mosen (Post 1511916)
I stand corrected and have underestimated a well know effect.

http://www.goethezeitportal.de/filea...erlehrling.jpg

Do you suggest to not even create dedicated posts here on TMO for those topics or how should this be handled ethically correct?

Most, or many, posts comes with a big warning.

But, perhaps, making a pinned post stating the dangers of God mode ?

lantern 2016-08-07 10:49

Re: Jolla C is now a brick
 
Can we save the SBL from live phone for backup?

nieldk 2016-08-07 12:57

Re: Jolla C is now a brick
 
Quote:

Originally Posted by lantern (Post 1511932)
Can we save the SBL from live phone for backup?

A good idea to do so, helpful I believe once its figured out how to extract the needed files.

The partitions of J1 is like this, not sure of C.



Model: MMC MAG2GC (sd/mmc)
Disk /dev/mmcblk0: 15.6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 17.4kB 4194kB 4177kB emgdload
2 33.6MB 67.1MB 33.6MB QOTP
3 67.1MB 71.3MB 4194kB Qfa
4 71.3MB 75.5MB 4194kB Qcfg
5 75.5MB 79.7MB 4194kB Qdlog
6 79.7MB 81.8MB 2097kB Qvariables
7 81.8MB 83.9MB 2097kB Qlogfilter
8 101MB 105MB 4194kB fsg
9 134MB 185MB 50.3MB ext4 Qglog
10 185MB 189MB 4194kB modemst1
11 189MB 193MB 4194kB modemst2
12 193MB 195MB 2097kB sbl1
13 195MB 197MB 2097kB sbl2
14 197MB 199MB 2097kB sbl3
15 199MB 201MB 2097kB tz
16 201MB 203MB 2097kB rpm
17 203MB 206MB 2097kB aboot
18 206MB 273MB 67.1MB fat16 modem msftdata
19 273MB 281MB 8389kB ext4 drm
20 281MB 294MB 12.6MB boot
21 294MB 306MB 12.6MB recovery
22 306MB 315MB 8389kB pad1
23 315MB 323MB 8389kB misc
24 323MB 856MB 533MB linux-swap(v1) swap
25 856MB 864MB 8389kB ext4 persist
26 864MB 864MB 8192B ssd
27 864MB 872MB 8389kB security
28 872MB 15.6GB 14.8GB btrfs sailfish

PamNor 2016-08-07 14:12

Re: Jolla C is now a brick
 
Quote:

Originally Posted by lantern (Post 1511932)
Can we save the SBL from live phone for backup?

Jolla C partition:

parted /dev/mmcblk0
GNU Parted 3.1
Using /dev/mmcblk0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
Model: MMC Q823MB (sd/mmc)
Disk /dev/mmcblk0: 15,6GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name
Flags
1 67,1MB 134MB 67,1MB fat16 modem
2 134MB 135MB 524kB sbl1
3 135MB 135MB 524kB sbl1bak
4 135MB 136MB 1049kB aboot
5 136MB 137MB 1049kB abootbak
6 137MB 138MB 524kB rpm
7 138MB 138MB 524kB rpmbak
8 138MB 139MB 786kB tz
9 139MB 140MB 786kB tzbak
10 140MB 141MB 1049kB pad
11 141MB 143MB 1573kB modemst1
12 143MB 144MB 1573kB modemst2
13 144MB 145MB 1049kB misc
14 145MB 145MB 1024B fsc
15 145MB 145MB 8192B ssd
16 145MB 156MB 10,5MB splash
17 201MB 201MB 32,8kB DDR
18 201MB 203MB 1573kB fsg
19 203MB 203MB 16,4kB sec
20 203MB 237MB 33,6MB boot
21 237MB 1390MB 1153MB ext4 system
22 1390MB 1423MB 33,6MB ext4 persist
23 1423MB 1692MB 268MB ext4 cache
24 1692MB 1725MB 33,6MB recovery
25 1725MB 1727MB 1049kB devinfo
26 1745MB 1745MB 524kB keystore
27 1745MB 1746MB 524kB config
28 1746MB 15,6GB 13,9GB userdata


(parted)

nieldk 2016-08-07 15:05

Re: Jolla C is now a brick
 
Interresting - so, the C have backups of the critical partitions.

MoritzJT 2016-08-07 19:07

Re: Jolla C is now a brick
 
Quote:

Originally Posted by nieldk (Post 1511945)
Interresting - so, the C have backups of the critical partitions.


What are they good for if you delete their table too :eek:

nieldk 2016-08-07 19:56

Re: Jolla C is now a brick
 
Quote:

Originally Posted by MoritzJT (Post 1511960)
What are they good for if you delete their table too :eek:

Teaching people who shouldn't be messing around, the hard way.

MoritzJT 2016-08-08 09:29

Re: Jolla C is now a brick
 
No that's the task of what follows if you mess with them ;)

However - what are the backup partitions good for, can the primary ones get corrupted? Is it used for some ongoing check against?

r0kk3rz 2016-08-08 10:12

Re: Jolla C is now a brick
 
Quote:

Originally Posted by MoritzJT (Post 1512000)
No that's the task of what follows if you mess with them ;)

However - what are the backup partitions good for, can the primary ones get corrupted? Is it used for some ongoing check against?

It's probably the recovery method since we know it will be different to that on the JPhone due to lack of Btrfs.

That doesn't help you, but as you found out if you aren't super careful when running fdisk as root you can break things :P

nthn 2016-08-08 13:55

Re: Jolla C is now a brick
 
Quote:

Originally Posted by nieldk (Post 1511926)
But, perhaps, making a pinned post stating the dangers of God mode ?

One of the most important rules of the internet is that nobody has ever read a sticky.


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

vBulletin® Version 3.8.8