This is how you flash to eMMC easily
(11-12-2021, 01:07 PM)susy1075 Wrote: … since I don’t have a pc/laptop.
i think you have a .... big issue. you probably need some kind of other device, although android is not good.

(11-12-2021, 01:07 PM)susy1075 Wrote: Hello I am new to Linux and I was wondering if someone could give me step by step instructions on how to flash my sd card from my actual pine phone itself… since I don’t have a pc/laptop.

Someone on pine64 web irc gave me commands to do this but it didn’t go through….

Thank you

PS.  Right now I can’t use the internet and my phone calls are just static…. Also the font size changed by itself… It is so small I can barely read it, and there is no option to change it…….
assuming you have memory card, which is big enough, i think at least 8GB. you could flash operating system to the memory card instead of internal eMMC. and maybe after that install into internal card (again).

maybe question is what you have there.

you probably have manjaro plasma mobile?

do you have manjaro image file in the pinephone? hint: , manjaro phosh is one option of many.

do you have memory cards, and what sizes?

i don't know all the details, i cannot be super specific but i think command is something like this in pinephone o.s..
$ sudo dd bs=1M if={filename} of=/dev/mmcblk#
this command is dangerous! and it may seriously destroy the running o.s., so you need know which memory booted. /dev/mmcblk0 would be for external card, /dev/mmcblk2 for internal card. {filename} needs to be image file, xz (or other compressions) need to be unpacked. usually .img.xz > .img

alternatively if possible, try to use computer and install o.s. directly to memory card and then insert mem card into pinephone. this does not need jumpdrive. image files needs to be installed to the whole memory card, not to the partitions or inside filesystems.
Something isn't right: I have booted up jumpdrive, and I'm trying to use dd to restore a backup I made earlier with jumpdrive. dd starts out copying FAST, but after 10 minutes or so it hangs up, at around 10 to 20GB. Even after waiting 5 hours, it doesn't finish, and I don't have a bootable image on the eMMC.

Any idea what's causing the hangup?

To make the backup image:
sudo dd bs=1M status=progress if=/dev/sdc of=~/Pinephone.img

makes a 31.3GB disk image.

To restore it:
sudo dd bs=1M status=progress if=~/Pinephone.img of=/dev/sdc

Oddly enough, the 6GB weekly image from 12 December flashes to the sMMC just fine, never hangs.
I'm running Release Linux Mint 19.2 Tina 64-bit
Kernel Linux 5.4.0-90-generic x86_64
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
Sounds like bufferbloat at work.  (Data quickly fills buffers then I/O slows down writing to the slow physical device.) However that shouldn't cause your restore to take over 5 hours.

I add "conv=fsync" to the dd command line to make sure data is flushed to the device before dd exits. When using a large buffer this can also help catch errors that might otherwise go unreported:

As an aside, to save some disk space I pipe the image backup through gzip. If the pinephone is /dev/sdc this would be:

dd if=/dev/sdc bs=1M status=progress conv=fsync | gzip -c >pinephone.img.gz

To restore:

gunzip -c pinephone.img.gz | dd of=/dev/sdc bs=1M status=progress conv=fsync
Thanks, Zebulon. That's helpful info.

Looking in my system info list of processes while dd is hung up I see a bunch of i/o-looking processes whose status is sleeping or waiting. I suspect that the phone just stops responding after a while. With jumpdrive running there doesn't seem to be any way to interact with the phone except as a disk drive.
Pinephone beta edition, convergence model, Mobian Bookworm with Phosh.
I don't know if it's still there, but JumpDrive used to provide a network interface that you could telnet to as well as the mass storage devices. Using that you should be able to find out what's freezing.
When I boot my pinephone into jumpdrive and attempt to use dd to read or write the emmc image, the phone will spontaneously reboot after a few hundred megs have copied, long before the operation is finished. That shouldn't be happening right? How can I keep the phone from rebooting so the dd operation isn't interrupted?

Possibly Related Threads…
Thread Author Replies Views Last Post
  emmc formatted by mistake (it no longer appears) elode 5 611 07-12-2022, 04:33 AM
Last Post: elode
  Tow Boot - How to Flash a New OS? arkadione 3 679 06-15-2022, 04:10 PM
Last Post: kmsgli
  My Pine doesn't allow me to install to eMMC on different OS's Kimberley van Buyten 1 354 05-31-2022, 04:26 PM
Last Post: fxc
  no emmc after flash ragele 3 540 05-30-2022, 04:26 AM
Last Post: fxc
  Can't mount eMMC image on my desktop? nelstomlinson 0 656 10-16-2021, 09:30 AM
Last Post: nelstomlinson
  No Power after install new emmc and front touchscreen chadwick 5 2,034 09-19-2021, 10:43 PM
Last Post: bcnaz
  After flashing UT on eMMC Convergence package not working anymore dfjdw8 0 968 06-11-2021, 12:28 AM
Last Post: dfjdw8
  Can't boot from eMMC or SD card... Nibel 1 1,445 06-03-2021, 08:41 PM
Last Post: ppafin
  Selling Pinephone 2Gb RAM/ 16GB eMMC Merk 0 1,118 05-23-2021, 10:12 AM
Last Post: Merk
  Can't start Manjaro from eMMC Gon 2 1,802 05-22-2021, 09:10 AM
Last Post: kqlnut

Forum Jump:

Users browsing this thread: 1 Guest(s)