FAST DELIVERY ∙ EXPERT TECH SUPPORT
UK STOCK ∙ 2 YEAR WARRANTY
BLACK FRIDAY SALE  -   ZIDOO Z3000 PRO @ £449.99  -   ARYLIC LP-10 @ £79.99  -   ZIDOO Z9X 8K @ £219.99
This forum was closed in October 2025 in response to sustained DDOS type attacks. It has been left up read-only to allow access to support information and downloads. Thanks to all the users who contributed over the years.

Visit futeko.com for new Audio and Video Media Players!

Author Topic: Android 7 mount storage by UUID / Label  (Read 12694 times)

qqq1971

  • Full Member
  • **
  • Posts: 52
Android 7 mount storage by UUID / Label
« on: November 24, 2016, 12:52:33 PM »
Ideally drives would be mounted according to drive label. e.g. /mnt/media_rw/DRIVELABEL/

Did small script for it. https://cloud.mail.ru/public/798J/pYnPvj1rz

Mounted disks (/mnt/media_rw/sda1 for example) are linked to /mnt/media_rw/disk-by-uuid/<uuid> and /mnt/media_rw/disk-by-label/<label> folders.

Restrictions:
1. It is provided "as is", without any garantee. I tested it on Q10 Pro, firmware HMD-2.0.0.
2. All disks have to be attached to box before boot. Hotplug does not supported.
3. Only first 4 mounted disks will be linked
4. For disk with multiple partions only first partition will be linked.
5. If disks has identical labels only first disk will be linked.
6. Wait about 2 min after boot. Master init script has delay before my script will be run.

Install and uninstal:
1. Download and unzip.
2. Run RUN_ME.bat, enter players ip-address, select action.

Thanks pcristi and looun.
« Last Edit: November 24, 2016, 12:57:03 PM by qqq1971 »

futeko.com

  • Administrator
  • Senior Member
  • *****
  • Posts: 4657
Re: Android 7 mount storage by UUID / Label
« Reply #1 on: November 24, 2016, 03:13:47 PM »
I moved this to a new topic because it is going to be useful for many people.

It works really well.

qqq1971, do you mind if other users alter / improve your code?
« Last Edit: November 24, 2016, 03:15:59 PM by futeko.com »

gridlock

  • Newbie
  • *
  • Posts: 13
Re: Android 7 mount storage by UUID / Label
« Reply #2 on: November 24, 2016, 03:19:15 PM »
yet another awesome effort.... thanks to all participants.

qqq1971

  • Full Member
  • **
  • Posts: 52
Re: Android 7 mount storage by UUID / Label
« Reply #3 on: November 24, 2016, 03:34:10 PM »
qqq1971, do you mind if other users alter / improve your code?

Yes of course. Feel free.

DancesWithChickens

  • Senior Member
  • ***
  • Posts: 140
Re: Android 7 mount storage by UUID / Label
« Reply #4 on: November 30, 2016, 11:00:50 AM »
Thank you qqq1971 for this fix - but it showcases again that users need to fix things themselves that should be features of the product in the first place.  >:(

pcristi

  • Senior Member
  • ***
  • Posts: 1334
Re: Android 7 mount storage by UUID / Label
« Reply #5 on: November 30, 2016, 11:05:33 AM »
Small modification v1.0.2

Download:
http://www.mediafire.com/?0u9h678yy61c7h1

Change log:
- port back to Android 5.1.1
- fix 100 second delay of start running script on first official Android 7.0 f/w
- mount all partition /mnt/media_rw/disk-by-uuid/<uuid>
- mount first partition  /mnt/media_rw/disk-by-label/<label> in case of sda5, sdb5,... and not only for sda1,sdb1,...
- additional mount o bind to /sdcard/media_rw/disk-by-uuid/<uuid> --> request for HiMedia  DLNA Server

Mount path:
/mnt/media_rw/disk-by-uuid/<uuid>
/mnt/media_rw/disk-by-label/<label>
/sdcard/media_rw/disk-by-uuid/<uuid>

Note, be carefully with delete files from /sdcard/media_rw/ --> can lost your /video/movie/music/picture/etc...
Use at your own risk
 
qqq1971, do you mind if other users alter / improve your code?

Yes of course. Feel free.

afss

  • Senior Member
  • ***
  • Posts: 130
Re: Android 7 mount storage by UUID / Label
« Reply #6 on: November 30, 2016, 01:30:54 PM »
Please, can this be made to also bring back the DVD/BD-ROM mounting capabilities that we had with previous firmwares ?

futeko.com

  • Administrator
  • Senior Member
  • *****
  • Posts: 4657
Re: Android 7 mount storage by UUID / Label
« Reply #7 on: November 30, 2016, 02:13:08 PM »
MOVED TO NEW STICKIED THREAD: http://www.futeko.com/newforum/index.php?topic=1421.0

 

© SDHDIGITAL LTD 2025
Sitemap