dgm78 Posted February 9, 2020 Posted February 9, 2020 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.
martinayotte Posted February 9, 2020 Posted February 9, 2020 39 minutes ago, dgm78 said: Partitions are managed in DTB?! No ! But if it is really a NAND device, NAND is NOT supported by any Mainline/Modern kernel ...
dgm78 Posted February 9, 2020 Author Posted February 9, 2020 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.
martinayotte Posted February 9, 2020 Posted February 9, 2020 2 minutes ago, dgm78 said: If I create one partition at end will be possible? Is it a NAND or eMMC ? what " ls -l /dev/mmc* " reports back ?
dgm78 Posted February 9, 2020 Author Posted February 9, 2020 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...
martinayotte Posted February 9, 2020 Posted February 9, 2020 36 minutes ago, dgm78 said: Tried fdisk and gdisk... Did you tried "parted" ?
dgm78 Posted February 9, 2020 Author Posted February 9, 2020 2 hours ago, martinayotte said: Did you tried "parted" ?
martinayotte Posted February 10, 2020 Posted February 10, 2020 17 minutes ago, dgm78 said: Does anyone can help me? 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
dgm78 Posted February 10, 2020 Author Posted February 10, 2020 Just now, martinayotte said: dd if=/dev/mmcblk2 of=backup2mb.img bs=1024 count=2048 I will share when arrive at home...
TRS-80 Posted February 10, 2020 Posted February 10, 2020 @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.
dgm78 Posted February 10, 2020 Author Posted February 10, 2020 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.
dgm78 Posted February 10, 2020 Author Posted February 10, 2020 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
dgm78 Posted February 11, 2020 Author Posted February 11, 2020 @martinayotte, is possible my problem with partitions related to HS200 kernel support?
martinayotte Posted February 11, 2020 Posted February 11, 2020 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 .
dgm78 Posted February 11, 2020 Author Posted February 11, 2020 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.
martinayotte Posted February 11, 2020 Posted February 11, 2020 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" ...
dgm78 Posted February 12, 2020 Author Posted February 12, 2020 Hi! Installed Armbian into emmc, much more fast: 163Mb/s vs 22Mb/s. Thanks for all. 1
TRS-80 Posted February 12, 2020 Posted February 12, 2020 Because it wasn't really "solved" I edited the title instead to "workaround." Thanks for reporting back!
Recommended Posts