Android 5.1.1 TV (old-stable, no longer maintained)
#61
(09-12-2016, 07:11 PM)clarkss12 Wrote:
(09-12-2016, 06:58 PM)MarkHaysHarris777 Wrote:
(09-12-2016, 06:46 PM)clarkss12 Wrote: Just reformat it with command prompt in Windows.  Only smacking them with a hammer can kill them.

If only that were true.

... take a look at this link to understand SPI and SD cards.

You may have noticed the large number of people who are having trouble writing their image(s) to the SD card and getting the pine board to boot.  This is NOT due to bad hardware , and is usually not due to bad software, but is almost always due to the fact that SD cards are easily corrupted and sometimes permanently damaged because of improper shutdown and improper software access in other devices (as well corrupted--- as in permanently damaged cells in the flash area of the card.

The reason reformatting does not work to correct the card is that the image write process (dd and win32diskimager) do not follow the 'formatting' , rather they write the disk image ( tree, meta-data, and data) out to the card bit-for-bit. If the SD card is not compatible with the binary image, if it has holes in the flash, if its structure is damaged from improper access or shutdown, that write will never work again and the card is not worth the plastic its encased in.

This is the reason I only use NEW cards;  Samsung evo plus Class 10 32Gb cards are the best bet...

... always shutdown properly, and never just yank an SD card !   YMMV

Wow, never heard of that, I have never killed a SD card.

Well, maybe that's caused by you talking about SD cards and SDIO and him talking about raw NAND and SPI (for whatever reasons he's doing that, I still hope his goal is not constantly spreading confusion).

SD cards always contain a controller (called FTL, Flash Translation Layer), you never deal with physical addresses but only logical addresses (otherwise using FS like FAT/FAT32 would ruin your SD card within hours/days). The FTL maps out bad pages on the fly and does all the wear-leveling in the background. Modern SD cards also do a lot of over-provisioning that means they do not expose all the pages they contain but have a spare area they use to make wear-leveling more efficient and to compensate from bad pages (that are mapped away and replaced by one from the spare area).

Most importantly: every time you try to overwrite a logical page a new physical page will be used (since NAND would be broken pretty fast due to limited count of write cycles and also be slow as hell otherwise since you can't overwrite anything there, it's all about reading, writing and deleting -- happens in the background)

All of this is done in the background, you won't even be able to notice that (only based on specific performance tests) and it's perfectly fine to write OS images the traditional way since FTL handles everything needed. The reason the forums here are full of posts from people failing to write images appropriately is mainly caused by wrong/unclear information (and a few moderators unfortunately play a specific role in confusing users)

Further reading:


Messages In This Thread
RE: Android TV with HDMI and 4K - by ayufan - 08-26-2016, 03:53 AM
Android TV with HDMI and 4K - by listenfree - 08-26-2016, 05:34 AM
RE: Android TV with HDMI and 4K - by clarkss12 - 08-26-2016, 05:53 AM
Android TV with HDMI and 4K - by listenfree - 08-26-2016, 05:55 AM
RE: Android TV with HDMI and 4K - by ayufan - 08-26-2016, 06:27 AM
RE: Android TV with HDMI and 4K - by VAAviator - 08-26-2016, 11:53 AM
RE: Android TV with HDMI and 4K - by Sumeet.GiLL - 09-06-2016, 03:47 AM
RE: Android TV with HDMI and 4K - by ayufan - 08-26-2016, 12:03 PM
RE: Android TV with HDMI and 4K - by ayufan - 08-26-2016, 03:14 PM
RE: Android TV with HDMI and 4K - by ayufan - 08-26-2016, 05:03 PM
RE: Android TV with HDMI and 4K - by danlcarr - 09-30-2016, 02:16 PM
RE: Android TV with HDMI and 4K - by ayufan - 08-27-2016, 04:54 AM
RE: Android TV with HDMI and 4K - by Danton - 08-27-2016, 06:36 AM
RE: Android TV with HDMI and 4K - by ayufan - 08-27-2016, 08:07 AM
RE: Android TV with HDMI and 4K - by Danton - 08-28-2016, 09:30 AM
RE: Android TV with HDMI and 4K - by ayufan - 08-28-2016, 09:43 AM
RE: Android TV with HDMI and 4K - by Danton - 08-28-2016, 09:48 AM
RE: Android TV with HDMI and 4K - by ayufan - 08-28-2016, 10:13 AM
RE: Android TV with HDMI and 4K - by anarchyuk - 08-28-2016, 12:10 PM
RE: Android TV with HDMI and 4K - by ayufan - 08-28-2016, 12:37 PM
RE: Android TV with HDMI and 4K - by anarchyuk - 08-28-2016, 12:50 PM
RE: Android TV with HDMI and 4K - by ayufan - 08-28-2016, 12:55 PM
RE: Android TV with HDMI and 4K - by Danton - 08-29-2016, 09:37 AM
RE: Android TV with HDMI and 4K - by ayufan - 08-29-2016, 10:05 AM
RE: Android TV with HDMI and 4K - by clarkss12 - 08-30-2016, 05:49 AM
RE: Android TV with HDMI and 4K - by NGC6691 - 08-29-2016, 11:22 AM
RE: Android TV with HDMI and 4K - by Luke - 08-30-2016, 04:37 AM
RE: Android TV with HDMI and 4K - by TraJiK - 08-30-2016, 08:54 PM
RE: Android TV with HDMI and 4K - by hrlmbtz - 08-30-2016, 10:06 PM
RE: Android TV with HDMI and 4K - by ayufan - 08-31-2016, 03:00 AM
RE: Android TV with HDMI and 4K - by hrlmbtz - 08-31-2016, 08:39 AM
RE: Android TV with HDMI and 4K - by jlongman - 09-02-2016, 11:10 AM
RE: Android TV with HDMI and 4K - by TraJiK - 09-02-2016, 07:37 PM
RE: Android TV with HDMI and 4K - by jlongman - 09-05-2016, 12:17 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-03-2016, 04:03 AM
RE: Android TV with HDMI and 4K - by ayufan - 09-03-2016, 05:07 AM
RE: Android TV with HDMI and 4K - by hrlmbtz - 09-03-2016, 05:20 AM
RE: Android TV with HDMI and 4K - by thefulla - 09-03-2016, 03:00 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-05-2016, 12:24 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-06-2016, 03:40 AM
RE: Android TV with HDMI and 4K - by User 4127 - 09-12-2016, 07:41 PM
RE: Android TV with HDMI and 4K - by mrv - 09-07-2016, 04:09 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-08-2016, 06:33 AM
RE: Android TV with HDMI and 4K - by wind - 09-08-2016, 06:44 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-09-2016, 02:28 AM
RE: Android TV with HDMI and 4K - by mikkelvp - 09-10-2016, 10:00 AM
RE: Android TV with HDMI and 4K - by ayufan - 09-11-2016, 06:29 AM
RE: Android TV with HDMI and 4K - by User 4127 - 09-12-2016, 04:25 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-12-2016, 05:05 PM
RE: Android TV with HDMI and 4K - by User 4127 - 09-12-2016, 05:18 PM
RE: Android TV with HDMI and 4K - by User 4127 - 09-12-2016, 06:46 PM
RE: Android TV with HDMI and 4K - by clarkss12 - 09-12-2016, 05:09 PM
RE: Android TV with HDMI and 4K - by clarkss12 - 09-12-2016, 05:53 PM
RE: Android TV with HDMI and 4K - by User 4127 - 09-12-2016, 06:18 PM
RE: Android TV with HDMI and 4K - by clarkss12 - 09-12-2016, 06:46 PM
RE: Android TV with HDMI and 4K - by clarkss12 - 09-12-2016, 07:11 PM
RE: Android TV with HDMI and 4K - by tkaiser - 09-13-2016, 03:16 AM
RE: Android TV with HDMI and 4K - by clarkss12 - 09-12-2016, 06:56 PM
RE: Android TV with HDMI and 4K - by rakib-hasan - 09-12-2016, 08:32 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-13-2016, 02:20 AM
RE: Android TV with HDMI and 4K - by rakib-hasan - 09-13-2016, 02:53 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-13-2016, 04:11 AM
RE: Android TV with HDMI and 4K - by dkuhl0904 - 09-13-2016, 04:55 AM
RE: Android TV with HDMI and 4K - by ayufan - 09-13-2016, 04:59 AM
RE: Android TV with HDMI and 4K - by mikkelvp - 09-13-2016, 08:51 AM
RE: Android TV with HDMI and 4K - by ayufan - 09-13-2016, 08:54 AM
RE: Android TV with HDMI and 4K - by ayufan - 09-13-2016, 03:46 PM
RE: Android TV with HDMI and 4K - by User 4127 - 09-13-2016, 05:33 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-14-2016, 02:28 AM
RE: Android TV with HDMI and 4K - by User 4127 - 09-14-2016, 06:14 AM
RE: Android TV with HDMI and 4K - by Sumeet.GiLL - 09-14-2016, 08:43 AM
RE: Android TV with HDMI and 4K - by ayufan - 09-14-2016, 09:00 AM
RE: Android TV with HDMI and 4K - by Sumeet.GiLL - 09-14-2016, 09:03 AM
RE: Android TV with HDMI and 4K - by Sumeet.GiLL - 09-14-2016, 10:28 AM
RE: Android TV with HDMI and 4K - by ayufan - 09-14-2016, 01:35 PM
RE: Android TV with HDMI and 4K - by Sumeet.GiLL - 09-15-2016, 12:27 PM
RE: Android TV with HDMI and 4K - by Project-XXX - 09-14-2016, 02:49 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-14-2016, 03:12 PM
RE: Android TV with HDMI and 4K - by Project-XXX - 09-14-2016, 03:15 PM
RE: Android TV with HDMI and 4K - by ayufan - 09-14-2016, 03:53 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-15-2016, 12:55 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-15-2016, 02:24 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-15-2016, 03:29 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-16-2016, 02:45 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-16-2016, 03:38 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-17-2016, 03:36 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-18-2016, 09:21 AM
RE: Android TV 5.1.1 with HDMI and 4K - by Cemb - 09-18-2016, 02:47 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-18-2016, 02:59 PM
RE: Android TV 5.1.1 with HDMI and 4K - by cr2016 - 09-18-2016, 04:11 PM
RE: Android TV 5.1.1 with HDMI and 4K - by cr2016 - 09-19-2016, 12:45 AM
RE: Android TV 5.1.1 with HDMI and 4K - by cr2016 - 09-18-2016, 08:33 PM
RE: Android TV 5.1.1 with HDMI and 4K - by water - 09-18-2016, 11:40 PM
RE: Android TV 5.1.1 with HDMI and 4K - by kjez - 09-19-2016, 12:37 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-20-2016, 11:05 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-21-2016, 10:01 AM
RE: Android TV 5.1.1 with HDMI and 4K - by Acet - 09-24-2016, 04:40 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-25-2016, 12:41 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-28-2016, 02:11 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 09-28-2016, 03:04 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 10-02-2016, 06:12 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 10-02-2016, 04:06 PM
RE: Android TV 5.1.1 with HDMI and 4K - by thedej - 10-07-2016, 05:22 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 10-07-2016, 10:43 AM
RE: Android TV 5.1.1 with HDMI and 4K - by thedej - 10-07-2016, 10:50 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 10-07-2016, 10:57 AM
RE: Android TV 5.1.1 with HDMI and 4K - by thedej - 10-10-2016, 01:06 PM
RE: Android TV 5.1.1 with HDMI and 4K - by i420 - 10-21-2016, 05:45 PM
RE: Android TV 5.1.1 with HDMI and 4K - by tllim - 10-31-2016, 04:18 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 10-08-2016, 03:43 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 11-07-2016, 04:48 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 11-13-2016, 05:37 AM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 11-23-2016, 04:52 PM
RE: Android TV 5.1.1 with HDMI and 4K - by ayufan - 11-23-2016, 05:12 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 388,808 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 29,737 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 16,850 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 6,997 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 7,068 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 5,623 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,344 07-15-2019, 08:29 PM
Last Post: dazza5000
  Issues with SD Card and Running Android Twistedx 0 3,554 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 105,381 02-10-2019, 07:44 PM
Last Post: mmmarcus
  +LTS/SOPINE Android SDK support and Customization biplab777 1 4,684 01-07-2019, 01:21 AM
Last Post: tllim

Forum Jump:


Users browsing this thread: 5 Guest(s)