PINE64
Session start fails, need to reinstall? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Session start fails, need to reinstall? (/showthread.php?tid=13456)



Session start fails, need to reinstall? - Avron - 03-22-2021

I posted the same question 5 days ago in "getting started" but perhaps it wasn't the right place.

I received my pinephone with mobian 5 days ago. After playing around and failing to update anything with the software update app, I saw I needed to do that via the command line and using dist-upgrade.

I did that but during the upgrade, as I was touching the screen to avoid the screensaver, I touched the battery icon and the phone immediately wet off. As I powered it up again, I could enter the password to decipher but after seing mobian and the logo, I have a graphical message saying that something went wrong in the session start and I need to try again, but f I power off and on again the same occurs.

Is there any solution apart from reinstalling mobian?

While the phone is connected to my PC running Trisquel, there is no device for it so I guess the only solution to reinstall mobian is to first install mobian on a SD card and after I have a working phone, I can try to access the eMMC to install mobian there again, but I am not sure whether that can be the installer at https://images.mobian-project.org/pinephone/installer/ that is copied to the eMMC directly or not (in order to install the FS ciphered).


RE: Session start fails, need to reinstall? - Gribouille - 03-23-2021

Hello Avron,

A trick : remove the battery, wait a while, replace the battery. Sometimes it's working for me. 

I get an external power connected when I'm not sure that the charge of the battery is full or/and the USB C - Dock bar with an Ethernet connexion.

For a big update, I prefer to go in the 'Parameters' menu to disable the suspend mode and other things like that, I'm afraid to tape on the screen at a bad moment and/or valid a question  Confused

To install the OS in the eMMC memory, the simplest way is to use 'Jumprive' and 'bmaptools' as describe here : https://wiki.mobian-project.org/doku.php?id=install I've use this few days ago to re-flash my eMMC memory with the Debian  Installer.


RE: Session start fails, need to reinstall? - Avron - 03-23-2021

Thanks for the advice ! In fact, it was easy to reinstall with jumpdrive.

For some reason bmaptool wasn't working so I just used dd.

I guess I need to get used to mobian now, see which apps are effectively usable. It tried Seafile because I have have a Seafile server but the app is most of the time not reacting to touch, it seems hardly usable.


RE: Session start fails, need to reinstall? - Gribouille - 03-24-2021

For "bmap-tools", I've installed the following packages :
  • Recommends: bzip2, lzop, xz-utils
  • Suggests: lz4, pbzip2, pigz, unzip

If you haven't the "*.bmap" file, the command is "bmap copy --nobmap ..."

I'm using Bmap on my X86 with Debian Buster and ARM (NanoPi M4) with Armbian, searching with "bmap-tools" doesn't work could be interesting.

With some SD card ans "dd", I found that "bs=512" give frequently some better results than something like "bs=1M".


RE: Session start fails, need to reinstall? - Avron - 03-24-2021

I tried with bmap-tools from Trisquel repository on my desktop (amd86) , it is v3.4. I had the bmap file. The issue could be a syntax mistake, but since I wanted the result quickly and I knew that dd only takes a few minutes to flash a file that size on a microSD card, I thought it would be the case here too (and it was) so I gave up bmaptool without searching further.

I used bs=64k as in the example. In what sense is the result "better" with bs=512 as compared with bs=1M?

Besides, when it comes to writing to /dev/sdX, I have already read the advice to just use cp and indeed it worked. I always run sync after dd or cp in this case but I don't know whether it is really necessary.


RE: Session start fails, need to reinstall? - Gribouille - 03-24-2021

Quote:I used bs=64k as in the example. In what sense is the result "better" with bs=512 as compared with bs=1M?
Only useful with poor quality SD card or USB key :-(