Bricked my Rock64
#10
(05-06-2018, 06:38 PM)SoLost003 Wrote:
(05-06-2018, 05:37 PM)pfeerick Wrote:
(05-06-2018, 01:57 PM)SoLost003 Wrote: ...anyhow....if someone can point me to the precise image tThat should recover my device....I will be beyond grateful.  I went so far as to trying to set up a dev environment in Ubuntu to communicate directly with the Rock64 via USB....but I got nowhere.

On the raspberry pi header, link pin 20 to 21. In other words, connect pin 21 to ground. If you have corrupted the SPI Flash bootloader, this will let you boot from the microSD card again. If you boot from eMMC, this will not be needed, as eMMC has the highest boot priority (eMMC -> SPI Flash -> SD).

If you are then able to boot your rock64 again, you can either erase the flash and forget about this, or write the flash bootloader again, and hopefully write it properly this time.

How recently did you try this? I've had problems with images made in the last two weeks..., so won't use anything newer than 0.6.27.

Thanks for the info!  I'll give it a shot.  It's been a long time since my Rock64 worked....late February?  I was foolishly trying to roll an Armbian-Jessie build for myself....and anyhow...I have a habit of messing tech-related things up lately....just spent more than a few hours building a full Debian Jessie Desktop for the Odroid XU4...using very detailed instructions...and a nap in between..heh....only to find out that I could log in....but when I created my root password.....I somehow typed it incorrectly.....twice!!!     omg...they have to make idiot proof systems....more idiot proof...LOL.  No clue about grounding pins, but I'll look around....


Thank again!

Most password reset instructions for linux involve using Grub or a Live Session or Recovery CD/DVD/USB to boot the system into single user or root mode.

These won't work for SBC's but hopfully the old standby method of mounting the microSD or eMMC in a card reader on another Linux box will let you recover.

The Linux machine doesn't have to be anything fancy, a Raspberry Pi will do.

Just plug in the reader and mount your main EXT4 partition (this may happen automatically) then edit the passwd and shadow files in the  folder on your mounted media, which will me mounted under something like /media/pi/my_disk_name/etc (depending on your user and linux version on the box doing the editing)

Just make sure you are editing relative to the /etc on your mounted media and not the root /etc on the machine you are doing the editing on ! (otherwise you will erase the root password on that machine, which is a HUGE security risk).

You may need to login or su to root on the system doing the editing before it will let you access the passwd and shadow files in the /etc folder of the externally mounted media, but that won't hurt anything as long as you make sure you are in the right folder as noted above, but it may be safer to just edit the files by opening a terminal and editing the files with a sudo nano command like:

sudo nano /media/pi/my_disk_name/etc/passwd or sudo nano /media/pi/my_disk_name/etc/shadow

(substituting in the terminal command the actual path to where the mounted files are on your system)

Then just edit the root entry line in the /etc/passwd file for your mounted media to look like:

root::0:0:root:/root:/bin/bash


And then also edit the root entry of the /etc/shadow file on you mounted media to be:

root::::


Then properly save the files, unmount the meda from the card reader, and replace it in your Odroid, and reboot, and you should be able to log in as root with no password.


After logging in as root you will IMMEDIATELY want to run:

passwd

... which will ask for and set an initial root password.

Hope this helps.


Messages In This Thread
Bricked my Rock64 - by CJM - 02-15-2018, 09:08 PM
RE: Bricked my Rock64 - by Luke - 02-16-2018, 12:50 AM
RE: Bricked my Rock64 - by CJM - 02-16-2018, 07:08 AM
RE: Bricked my Rock64 - by Luke - 02-16-2018, 07:29 AM
RE: Bricked my Rock64 - by CJM - 02-16-2018, 02:42 PM
RE: Bricked my Rock64 - by SoLost003 - 05-06-2018, 01:57 PM
RE: Bricked my Rock64 - by pfeerick - 05-06-2018, 05:37 PM
RE: Bricked my Rock64 - by SoLost003 - 05-06-2018, 06:38 PM
RE: Bricked my Rock64 - by Z80 - 06-04-2018, 11:36 AM
RE: Bricked my Rock64 - by gregb49 - 07-03-2018, 12:16 AM
RE: Bricked my Rock64 - by Luke - 02-16-2018, 04:22 PM
RE: Bricked my Rock64 - by MichaelRock - 06-04-2018, 01:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 298 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
  OpenWRT on the Rock64 CanadianBacon 14 8,379 04-03-2024, 08:48 AM
Last Post: helpmerock
  Rock64 bricked shawwwn 7 5,712 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 4,181 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 343 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 1,908 04-29-2023, 04:24 AM
Last Post: newestssd
  Rock64 board not working, no HDMI no Ethernet. EDited 3 3,544 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 2,121 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 766 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 964 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 1 Guest(s)