The Case of the Vanishing EMMC
#1
Question 
Hi all,

Nice to meet you, however I must first apologise and that's not because I'm late to the party but that I'm having trouble with my PPP.

I was distro-hopping and destroied all the data on the EMMC. I had installed Towboot previously and could easily rewrite the device. When I try to get into Mask ROM mode (holding vol. up) the led goes blue for a very short period, as if entering the mode, before changing to red, flashing and while the phone pulses four times.

I can get the PPP into Mask ROM mode by holding RE, it's identified on the bus by lsusb but the device is no longer showing up when probed by 'blkid.' I've tried to boot from sd-card but it doesn't seem to recognise it, I recently replaced the sd-sim slot due to broken pins, so that could be on me.

Any help, guidance or just another opinion will be greatly appreciated.

Thanks in advance,
David
  Reply
#2
The sd-card/sim slot wasn't attached properly. That has been fixed and I've reinstalled towboot. However I'm not out of the woods yet! I've tried postmarketOS, mobian and more recently manjaro (stable.) pmOS fails to boot as the /boot partition can't be found; Mobian gets a bit further and I get:



Quote:[1.403151] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001c
[1.456703] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001c
[1.475751] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
[1.636224] mmc1: error -110 whilst initialising SD card
[1.804715] mmc1: error -110 whilst initialising SD card
[1.985690] mmc1: error -110 whilst initialising SD card
[2.199244] mmc1: error -110 whilst initialising SD card
[3.455033] pinephone-keyboard 5-0015: Failed to read device ID: -6


With manjaro I can get a shell and the emmc looks truly f0x0r3d.
  Reply
#3
(04-17-2023, 10:20 AM)DieSkaarj Wrote: The sd-card/sim slot wasn't attached properly. That has been fixed and I've reinstalled towboot. However I'm not out of the woods yet! I've tried postmarketOS, mobian and more recently manjaro (stable.) pmOS fails to boot as the /boot partition can't be found; Mobian gets a bit further and I get:



Quote:[1.403151] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001c
[1.456703] dw-apb-uart ff180000.serial: Failed to create device link (0x180) with 0-001c
[1.475751] OF: graph: no port node found in /i2c@ff3d0000/typec-portc@22
[1.636224] mmc1: error -110 whilst initialising SD card
[1.804715] mmc1: error -110 whilst initialising SD card
[1.985690] mmc1: error -110 whilst initialising SD card
[2.199244] mmc1: error -110 whilst initialising SD card
[3.455033] pinephone-keyboard 5-0015: Failed to read device ID: -6


With manjaro I can get a shell and the emmc looks truly f0x0r3d.

Are you booting with RE or volume down? I'm asking because your above text is quite chaotic. For clarification:

* The RE buttons disables the eMMC and the SPI flash memory.
* Volume UP starts USB Mass Storage Mode (with Tow-Boot)
* Volume DOWN starts from microSD card (with Tow-Boot)

If you try to boot with RE it makes sense why it is not booting. RE disables the eMMC and SPI flash memory, however on the SPI there is Tow-Boot installed. Mobian and postmarketOS come with no bootloader and both need Tow-Boot. "MASKROM" means there is no valid OS found anywhere.

Only boot from microSD card with Volume DOWN.
  Reply
#4
Booting into MASK ROM: There is no led but on a secondary computer it is recognised on the bus. "Bus 003 Device 006: ID 2207:330c Fuzhou Rockchip Electronics Company RK3399 in Mask ROM mode"

With Volume UP: It starts to go into Mass Storage Mode, the led goes blue and then the phone pulses for four and resets, sometimes just vibrating until it is unpowered.

With Volume DOWN: It starts to boot the O/S. pmOS (both image and installer) halt because no boot partition is found; Mobian gives me the quoted read out; Manjaro gives me more errors, similar to Mobian, clearly related to the emmc (mmc1.) However, with Manjaro the led goes to a yellowish white vibrates for a while and then gives me an emergency shell.

Using blkid while in the em-shell gives me I/O errors on /dev/mmcblk1, as does fsck on both mmcblk1 & mmcblk2.

I originally used gparted to clear the emmc while the phone was in mass storage mode. I was troubleshooting the sdcard and was querying whether it was because there was an O/S already on the device. I have tried alternative sdcards and the same issue (described above) occurs.
  Reply
#5
From the em-shell, blkid returns:

Quote:[118.673009] mmcblk1: recovery failed!
[118.677141] I/O error, dev mmcblk1, sector 62333824 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2
[118.686600] mmcblk1: recovery failed!
[118.691000] I/O error, dev mmcblk1, sector 62333824 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
[118.700179] Buffer I/O error on dev mmcblk1, logical block 7791728, async page read
/dev/mmcblk2: PTUUID="[REDACTED]" PTTYPE="gpt"
  Reply
#6
(04-17-2023, 04:34 PM)DieSkaarj Wrote: Booting into MASK ROM: There is no led but on a secondary computer it is recognised on the bus. "Bus 003 Device 006: ID 2207:330c Fuzhou Rockchip Electronics Company RK3399 in Mask ROM mode"

With Volume UP: It starts to go into Mass Storage Mode, the led goes blue and then the phone pulses for four and resets, sometimes just vibrating until it is unpowered.

With Volume DOWN: It starts to boot the O/S. pmOS (both image and installer) halt because no boot partition is found; Mobian gives me the quoted read out; Manjaro gives me more errors, similar to Mobian, clearly related to the emmc (mmc1.) However, with Manjaro the led goes to a yellowish white vibrates for a while and then gives me an emergency shell.

Using blkid while in the em-shell gives me I/O errors on /dev/mmcblk1, as does fsck on both mmcblk1 & mmcblk2.

I originally used gparted to clear the emmc while the phone was in mass storage mode. I was troubleshooting the sdcard and was querying whether it was because there was an O/S already on the device. I have tried alternative sdcards and the same issue (described above) occurs.

Do you have a multimeter, which you can use to measure the battery voltage of your battery?
  Reply
#7
I do and it is reading 3.9V.
  Reply
#8
(04-18-2023, 01:19 PM)DieSkaarj Wrote: I do and it is reading 3.9V.

Battery not drained then. Might be either a bug with Tow-Boot or there is something wrong with the eMMC, however it wouldn't make sense why it's not booting from the microSD card in the first case.

I would suggest that you flash https://github.com/manjaro-pinephone/pla...610.img.xz to a microSD card and then you boot from the microSD card using ONLY the RE button underneath the back cover. No volume down or anything. Simply hold RE button at boot for a few seconds, long enough so that the eMMC (and SPI) gets skipped at boot. If that works we will know more.
  Reply
#9
It does not boot with that image either. I think it might actually be a faulty sd-sim slot. There is a horrible scraping sound when I put a card in that has persisted from when I first got it. I also reset the slot to ensure it had a good connection, to no avail. The emmc I damaged by using gparted to clear it. You live, you learn.

I think my best option at this time is to offer it up for spares and save for a new board.

Thank you sincerely for you help fxc.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Selling PinePhone Pro & Keyboard Case chill633 0 848 07-12-2023, 09:39 AM
Last Post: chill633
  Selling Pinephone Pro + Keyboard case captainmorgan 2 1,244 05-19-2023, 07:47 AM
Last Post: captainmorgan
  Unofficial Pinephone Battery Case lllsondowlll 15 14,879 02-21-2023, 10:34 AM
Last Post: Yaky
  Mobian + tow boot + emmc flash = boot loop spropine 4 3,077 12-31-2022, 09:14 AM
Last Post: mburns
  How reflash my eMMC? IHaveALinuxPhone 2 1,360 12-01-2022, 05:39 PM
Last Post: IHaveALinuxPhone
  R U running from eMMC -- If so how? tckosvic 19 11,967 06-14-2022, 08:47 AM
Last Post: bobjrsenior
  Not Bypassing the eMMC meansbs 3 2,206 04-02-2022, 06:25 AM
Last Post: fxc
  Re-flash the emmc For_lack_of_a_better_name 5 2,871 03-31-2022, 08:31 AM
Last Post: ragreenburg
  Please help! Can't install Mobian to eMMC Barugon 4 2,572 03-01-2022, 06:42 PM
Last Post: Barugon
  PPP Explorer Edition - Wipe eMMC The3DmaN 7 5,258 02-01-2022, 04:34 AM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)