Session start fails, need to reinstall?
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 that is copied to the eMMC directly or not (in order to install the FS ciphered).
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 : I've use this few days ago to re-flash my eMMC memory with the Debian  Installer.
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.
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".
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.
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 :-(

Possibly Related Threads…
Thread Author Replies Views Last Post
  Errors when start the system kubussz 2 411 11-21-2023, 11:07 AM
Last Post: kubussz
  Auto start application on Phosh login Zebulon Walton 8 3,005 10-14-2023, 06:29 AM
Last Post: alaraajavamma
  Receive MMS fails after Nov 27 upgrade treebeard 17 5,283 12-12-2022, 05:09 AM
Last Post: anonymous
Sad Chatty can no longer start since the last update anonymous 10 5,033 06-08-2022, 01:03 PM
Last Post: Korac
  Backing up SMS and phonebook before wipe/reinstall biketool 2 1,353 05-09-2022, 09:20 PM
Last Post: Zebulon Walton
  Issues with Mobian? Start here. tophneal 0 4,465 04-21-2022, 11:27 AM
Last Post: tophneal
  Session app Oxen/Loki jmcsys 1 1,443 10-09-2021, 06:31 PM
Last Post: lacriz
  When to dist-upgrade vs when to reinstall? DrPlamsa 5 2,562 08-02-2021, 06:23 PM
Last Post: bcnaz
  How Do I Perform a Chatty Application Reinstall? rrholmes 2 2,289 07-13-2021, 01:11 AM
Last Post: rrholmes
  (Gnome) Maps won't start on Mobian? TRS-80 3 3,075 07-11-2021, 12:09 PM
Last Post: TRS-80

Forum Jump:

Users browsing this thread: 1 Guest(s)