Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

DVD-R burned with vanilla Android 4.1.1

$
0
0
I have just burned a DVD-R connected to my Padfone 2 under vanilla Android 4.1.1. Here are the steps:

(0) install version 9 of gentooandroid.sourceforge.net on a device on which step (4) below can be done (root rights will do).

(1) Connect the DVD writer with an OTG cable, a V cable if you can http://www.ebay.fr/itm/Micro-USB-Hos...item417d1627de or use a powered USB HUB.

(2) /dev/sg0 should appear

(3) dmesg (if run as root) should show
Code:

[15:35:07.998763](CPU:0-pid:29826:scsi_scan_0) scsi 0:0:0:0: Attached scsi generic sg0 type 5
and take note of the 0:0:0:, which will be refered to as dev=0,0,0 below.

(4) Setup /dev/sg0 so that it will be accessible from Terminal IDE:
Code:

chgrp-moved  10105 /dev/sg0 ; chmod 660 /dev/sg0
where 10105 is the gid of terminal IDE (or, in my case, terminal emulator)

(5) install cdrecord with
Code:

FEATURES=-sandbox PORTAGE_BINHOST=http://sourceforge.net/projects/gentooandroid/files/packages/packages emerge --autounmask-write -gbav --binpkg-respect-use=y cdrtools
(6) insert a blank DVD-R media and close the drive

(7)
Code:

cdrecord dev=0,0,0 driveropts=help -checkdrive
which shows:

Cdrecord-ProDVD-ProBD-Clone 3.00 (--) Copyright (C) 1995-2010 Jo:rg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.5.34
Using libscg version 'schily-0.9'.
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'TSSTcorp'
Identifikation : 'CDDVDW SE-218CN '
Revision : 'MF00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Driver options:
burnfree Prepare writer to use BURN-Free technology
noburnfree Disable using BURN-Free technology
layerbreak Write DVD-R/DL media in automatic layer jump mode
layerbreak=val Set jayer jump address for DVD+-R/DL media

(8) Burn NOW the content of directory/ on the DVD-R:
Code:

mkisofs -V DVDName directory/ | cdrecord -v -dao -tsize `mkisofs -V DVDName -print-size directory/`s fs=6m speed=2 dev=0,0,0 -
(9) eject manually, and test media on another computer.

I may post a video of (8) if asked for that, showing the DVD-R writer in action.

Viewing all articles
Browse latest Browse all 3614

Trending Articles