Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (â‹®) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[workaround] [S905X3] Retaining Android yet booting Armbian from SD card

Featured Replies

Hi!

 

I want to still have original Android in my S905X3 and use some space to Armbian root, but boot can still by SD card.

 

I cant see partitions by fdisk, gdisk or parted. Partitions are managed in DTB?!

 

Thanks.

  • Author
18 minutes ago, martinayotte said:

No ! But if it is really a NAND device, NAND is NOT supported by any Mainline/Modern kernel ...

If I create one partition at end will be possible? The box have 32Gb and Android may use 2 to 3G, so I think to create like 8Gb at end.

  • Author
31 minutes ago, martinayotte said:

Is it a NAND or eMMC ? what " ls -l /dev/mmc* " reports back ?

So I think is eMMC because I have /dev/mmcblk1 and /dev/mmcblk0 (SD)... But can't see Android partitions... Tried fdisk and gdisk...

  • Author
2 hours ago, martinayotte said:

Did you tried "parted" ?

 

Screenshot_20200209-145536.png

  • Author
Just now, martinayotte said:

 


dd if=/dev/mmcblk2 of=backup2mb.img bs=1024 count=2048

 

I will share when arrive at home...

  • TRS-80 changed the title to [S905X3] Retaining Android yet booting Armbian from SD card
  • Author
1 hour ago, TRS-80 said:

@dgm78,

 

I updated your post topic to something I though was more relevant, but please let me know if I missed the mark.

 

I also moved it to P2P, as this is clearly afield of what is supported in Armbian.

OK, Thanks.

  • Author
5 hours ago, martinayotte said:

Seeing that :


Partition Table : unknown

I'm running out of ideas !

Maybe you can backup the first 2MB and share it somewhere, I will than take a look ...


dd if=/dev/mmcblk2 of=backup2mb.img bs=1024 count=2048

 

@martinayotte, please check the image: www.dgmelet.com/emmc2mb.img

1 hour ago, dgm78 said:

is possible my problem with partitions related to HS200 kernel support?

No, this HS200 is related to the access speed of eMMC, for which you don't have any issues.

 

For your emmc2mb.img, I can't figure out the partition type too...

 

Do you really need to keep this Android stuff ? Maybe you can keep a full backup if your wish, and than erase the whole thing to install only Armbian on the eMMC .

  • Author
Just now, martinayotte said:

No, this HS200 is related to the access speed of eMMC, for which you don't have any issues.

 

For your emmc2mb.img, I can't figure out the partition type too...

 

Do you really need to keep this Android stuff ? Maybe you can keep a full backup if your wish, and than erase the whole thing to install only Armbian on the eMMC .

It's a good idea... please help me with two basic questions. How to backup only used space, or need to make a full backup 32Gb and compress it?

 

I do not need anything from android to boot SD?! I'm asking because the first time I setup the update app pointing to aml script (needed for the first time?)?

 

Thanks for your help.

2 minutes ago, dgm78 said:

How to backup only used space, or need to make a full backup 32Gb and compress it?

If you attach a USB-Storage which is bigger than resulting backup, you can compress it on the fly :

mount /dev/sda1 /mnt
dd if=/dev/mmcblk2 bs=100M | gzip > /mnt/backup-android.img.gz

 

6 minutes ago, dgm78 said:

I do not need anything from android to boot SD?!

Normally no since Armbian has it own u-boot ! But we can't prove it unless we try it out by copying the SDCard over eMMC with "nand-sata-install" ...

  • Author

Hi! Installed Armbian into emmc, much more fast: 163Mb/s vs 22Mb/s. Thanks for all.

  • TRS-80 changed the title to [workaround] [S905X3] Retaining Android yet booting Armbian from SD card
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.