Rooted Samsung BD-C6900

Samsung's BluRay player related hacks.

mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Rooted Samsung BD-C6900

Post by mirsev »

Hello,

First of all, many thanks to all community for this great research project. I've got Samsung BD-C6900 player. It is NTSC-only version but I have a lot of all-region PAL DVDs. These can not be played now and I wish to remove this restriction. I don't know yet if this is possible but at least I've got root access using Internet@TV hack for C-series TVs with ARM CPUs.

The player does not support ext2/3 filesystem, so I used vfat formatted USB memory and followed instructions from this page. The widget was used from http://www.multiupload.com/OLQTLJ8G52 and the SamyGO extensions were taken here (it is for C-series TV with ARM CPUs.

After configuration the "develop" account in Internet@TV I have installed the hack widget in developer mode and then just started it from Internet@TV menu. The widget installed hack, I inserted USB stick and after checking the hack, files run.sh and ScriptOK appeared on the USB flash drive.

Then I have unpacked SamyGO extensions to this drive and added the following lines in the run.sh file on the USB stick.

Code: Select all

rm -f /mtd_rwarea/profile
$1/SamyGO/rcSGO $1/SamyGO > $1/rcSGO_out 2>&1 &
Now, I need to note that I was also monitoring the serial port of the player, so I could see log messages... After the USB stick was inserted, I saw that it was mounted and then some crash dump appeared. Nevertheless, the SSH connection to the player succeeded and I've got root access.

Later, I have modified SamyGO/etc/rc.sysinit script: all modules related stuff was removed, and only $SYSROOT/etc/init.d/03_03_sshd.init was started. With these modifications everything works without any crash. The modified SamyGO/etc/rc.sysinit script is here:

Code: Select all

#!/bin/sh
#
# ? Copyright 1996-2010, ZsoltTech.Com 
#	by Ser Lev Arris <arris@ZsoltTech.Com>
#
# 	donated for the SamyGo Project
#	http://samygo.sourceforge.net/ 
#
#	Version: SamyGO-sysinit svn $Id: rc.sysinit 260 2010-01-13 20:13:24Z arris $ 

# do some background checks (not implemented)

# some vars
# set -m

# SYSROOT="/mtd_down/SamyGO"
# DISTROOT="/mtd_down/SamyGO/opt"

# some helper stuff
alias .='source'
# alias insmod='true'
# alias ll='/bin/ls -l'

bummer()
{
	echo "$1"
	exit 0
}

p_from_rel_info()
{
	if [ -e $1 ]; then
		# DISTROOT="$SYSROOT/opt/$(head -n 1 "$1" | cut -d " " -f1)"
		DISTROOT="$SYSROOT/opt/$(head -n 1 "$1" | sed 's/^\(\w*\) *.*/\1/')"
	else
		DISTROOT="$SYSROOT"
	fi
}

find_self()
{
	# on start holds export SYSROOT="<whatever>", written from 
	# starterlib or rcSGO
	source /dtv/SGO.env
}

# get some information

# if running as real rc.sysinit
if [ ! -e /proc/mounts ]; then
	mount -n -t proc /proc /proc
	mount -n -t sysfs /sys /sys >/dev/null 2>&1
fi
if [ -x /etc/rc.early.local ]; then
	echo ". /etc/rc.early.local" 1>&2
fi

# build runtime enviroment (set path and lib locations)
find_self
p_from_rel_info $SYSROOT/etc/release
export LD_LIBRARY_PATH="$DISTROOT/lib:$DISTROOT/usr/lib:$SYSROOT/lib:$SYSROOT/usr/lib:$LD_LIBRARY_PATH"
export PATH="$DISTROOT/sbin:$DISTROOT/bin:$DISTROOT/usr/bin:$DISTROOT/usr/sbin:$SYSROOT/sbin:$SYSROOT/bin:$SYSROOT/usr/bin:$SYSROOT/usr/sbin:$PATH"
# export LD_PRELOAD=""
echo "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> /dtv/SGO.env
echo "PATH=\"$PATH\"" >> /dtv/SGO.env
echo "export ENV=\"/dtv/.ashrc\"" >> /dtv/SGO.env
echo "export FRAMEBUFFER=\"/dev/sam/fb0\"" >> /dtv/SGO.env

# bit comfort after login
# if [ ! -e /mtd_rwarea/profile ]; then
	cat /etc/profile | sed -e "s#^PATH=.*#PATH=\"$PATH\"#" | \
	sed -e "s#^LD_LIBRARY_PATH=.*#LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"#" > /mtd_rwarea/profile
	echo -e "ENV=/dtv/.ashrc\nexport ENV\n" >> /mtd_rwarea/profile
	sed -i -e "s,^\(.*rc\.l*\),echo \"no system init on login\"\n# \1," /mtd_rwarea/profile
	# trash on sh based devices
        sed -i -e "s#^export PATH=\(.*\)#PATH=\"$PATH:\1\"#" /mtd_rwarea/profile
        sed -i -e "s#^export LD_LIBRARY_PATH=\(.*\)#export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\1\"#" /mtd_rwarea/profile
	sed -i -e "s,^\(.*echo.*\),echo \'\1\'," /mtd_rwarea/profile
	sed -i -e "s,^\(.*mount.*\),echo \'\1\'," /mtd_rwarea/profile
	sed -i -e "s,^\(.*exit.*\),echo \'\1\'," /mtd_rwarea/profile
	sed -i -e "s,^\(.*insmod.*\),echo \'\1\'," /mtd_rwarea/profile
	sed -i -e "s,^\(.*util.*\),echo \'\1\'," /mtd_rwarea/profile
# fi
mount -o bind /mtd_rwarea/profile /etc/profile
echo "alias ll='ls -l'" > /dtv/.ashrc	
echo "alias md='mkdir -p'" >> /dtv/.ashrc	
echo "PATH=\"$PATH\"" >> /dtv/.ashrc
echo "LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH\"" >> /dtv/.ashrc
echo "FRAMEBUFFER=\"/dev/sam/fb0\"" >> /dtv/.ashrc
echo "TERMINFO=\"$SYSROOT/etc/terminfo\"" >> /dtv/.ashrc
echo "TMPDIR=\"/dtv\"" >> /dtv/.ashrc
echo "export PATH LD_LIBRARY_PATH FRAMEBUFFER TMPDIR TERMINFO" >> /dtv/.ashrc

# $DISTROOT/sbin/depmod -v -b $SYSROOT
# 
# # load modules
# for i in $SYSROOT/lib/modules/*.ko ; do
# 	# may problematic (implement modprobe). for now we insmod in *.init
# 	echo "insmod $i, this behavior is outdated modules are handled by the init scripts!"
# done
# 
# # try change modules
# for i in $SYSROOT/lib/modules/treasure/*.ko ; do
# 	# todo (may sed)
# 	echo "Replace $i"
# done

# we don't use real init (for now)
#  v0.03 disabled stop sequence 
# for i in `ls -r $SYSROOT/etc/init.d/*.init` ; do
# echo	$i stop		# hmmmmm
# done

# for i in $SYSROOT/etc/init.d/*.init ; do
# 	$i start	# hmmmmm
# done

$SYSROOT/etc/init.d/03_03_sshd.init start
mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Re: Rooted Samsung BD-C6900

Post by mirsev »

Some internals:

Code: Select all

# cat /proc/cpuinfo

Processor	: ARMv7 Processor rev 2 (v7l)
BogoMIPS	: 797.90
Features	: swp half thumb fastmult vfp edsp
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc08
CPU revision	: 2

Hardware	: Samsung SDP93 Evaluation board CORONA
Revision	: 0000
Serial		: 0000000000000000

# cat /proc/meminfo

MemTotal:       120408 kB
MemFree:          2088 kB
Buffers:         22960 kB
Cached:          46216 kB
SwapCached:          0 kB
Active:          72320 kB
Inactive:        32176 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:       35340 kB
Mapped:          32000 kB
Slab:             4896 kB
SReclaimable:     2712 kB
SUnreclaim:       2184 kB
PageTables:       2928 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:     60204 kB
Committed_AS:   395180 kB
VmallocTotal:   262144 kB
VmallocUsed:      1772 kB
VmallocChunk:   260360 kB

# free
              total         used         free       shared      buffers
  Mem:       120408       118296         2112            0        22960
 Swap:            0            0            0
Total:       120408       118296         2112

# cat /proc/cmdline

root=/dev/tfsr8 console=ttyS2,115200 quiet

# cat /proc/filesystems

nodev	sysfs
nodev	rootfs
nodev	bdev
nodev	proc
nodev	binfmt_misc
nodev	debugfs
nodev	sockfs
nodev	pipefs
nodev	anon_inodefs
nodev	futexfs
nodev	tmpfs
nodev	configfs
nodev	devpts
nodev	ramfs
	squashfs
	msdos
	vfat
	iso9660
	ntfs
	udf
nodev	mqueue
nodev	oprofilefs
	rfs
nodev	rpc_pipefs
nodev	usbfs

# cat /proc/iomem

30070000-30070100 : ehci-sdp.0
  30070000-30070100 : ehci_hcd
30078000-30078100 : ohci-sdp.0
30080000-30080100 : ehci-sdp.1
  30080000-30080100 : ehci_hcd
30088000-30088100 : ohci-sdp.1
30090a00-30090a30 : sdp-uart.0
30090a40-30090a70 : sdp-uart.1
30090a80-30090ab0 : sdp-uart.2
30090ac0-30090af0 : sdp-uart.3
300a0000-300a00c0 : SDP_GMAC.0
300a0100-300a0288 : SDP_GMAC.0
300a0700-300a0724 : SDP_GMAC.0
300a0800-300a0880 : SDP_GMAC.0
300a1000-300a1058 : SDP_GMAC.0
60000000-637fffff : System RAM
  60020000-602e1fff : Kernel text
  602e2000-6036efdb : Kernel data
80000000-841fffff : System RAM

# cat /proc/modules

fsr 183856 1 fsr_stl, Live 0xbf000000 (P)
fsr_stl 180280 6 - Live 0xbf02e000 (P)
rfs 83728 4 - Live 0xbf05c000 (P)
samdrv 528460 25 - Live 0xbf072000 (P)
fpi 9304 2 - Live 0xbf0f5000 (P)
sdpGMAC 18116 0 - Live 0xbf0f9000
sunrpc 148508 3 lockd, Live 0xbf0ff000
lockd 57304 0 - Live 0xbf125000
usbcore 99892 5 rt3572sta,usb_storage,ohci_hcd,ehci_hcd, Live 0xbf134000
ehci_hcd 25356 0 - Live 0xbf14e000
ohci_hcd 14692 0 - Live 0xbf156000
usb_storage 27616 1 - Live 0xbf15b000
rt3572sta 712148 0 - Live 0xbf163000 (P)

# cat /proc/mounts

rootfs / rootfs rw 0 0
/dev/root / squashfs ro 0 0
none /proc proc rw 0 0
none /sys sysfs rw 0 0
none /dev/sam tmpfs rw 0 0
none /dtv tmpfs rw 0 0
none /core tmpfs rw 0 0
/dev/stl0/17 /mtd_appdata squashfs ro 0 0
/dev/stl0/16 /mtd_exe squashfs ro 0 0
/dev/stl0/16 /lib/libs squashfs ro 0 0
/dev/stl0/23 /mtd_drmregion_a rfs rw,codepage=cp949,vfat,fcache(blks)=128 0 0
/dev/stl0/24 /mtd_drmregion_b rfs rw,codepage=cp949,vfat,fcache(blks)=128 0 0
/dev/stl0/25 /mtd_rwcommon rfs rw,codepage=cp949,vfat,fcache(blks)=128 0 0
/dev/stl0/26 /mtd_rwarea rfs rw,codepage=cp949,vfat,fcache(blks)=128 0 0
none /proc/bus/usb usbfs rw 0 0
/dev/sda1 /dtv/usb/sda1 vfat rw,sync,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed 0 0
/dev/stl0/26 /etc/passwd rfs rw,codepage=cp949,vfat,fcache(blks)=128 0 0
/dev/stl0/26 /etc/profile rfs rw,codepage=cp949,vfat,fcache(blks)=128 0 0
devpts /dev/pts devpts rw 0 0

# df

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/tbml8                2880      2880         0 100% /
none                     10240        20     10220   0% /dtv
none                     60204         0     60204   0% /core
/dev/stl0/17             36928     36928         0 100% /mtd_appdata
/dev/stl0/16             40128     40128         0 100% /mtd_exe
/dev/stl0/16             40128     40128         0 100% /lib/libs
/dev/stl0/23              2517       162      2355   6% /mtd_drmregion_a
/dev/stl0/24              2517       162      2356   6% /mtd_drmregion_b
/dev/stl0/25            140700     54098     86602  38% /mtd_rwcommon
/dev/stl0/26            603276       396    602880   0% /mtd_rwarea
/dev/sda1               990944    569056    421888  57% /dtv/usb/sda1
/dev/stl0/26            603276       396    602880   0% /etc/passwd
/dev/stl0/26            603276       396    602880   0% /etc/profile

# cat /proc/version

Linux version 2.6.24_SELP.4.3.x-Cortex-A8 (wonseok_kim@localhost.localdomain) (gcc version 4.2.0 (SELP-ARM 4.3.1.30 4.2.0-16.0.58.custom.custom 2009-11-17(13:58))) #12 PREEMPT Tue Jul 13 19:26:37 KST 2010

# ps

  PID  Uid        VSZ Stat Command
    1 root       1380 SW  init
    2 root            SW< [kthreadd]
    3 root            SW< [posix_cpu_timer]
    4 root            SW< [softirq-high/0]
    5 root            SW< [softirq-timer/0]
    6 root            SW< [softirq-net-tx/]
    7 root            SW< [softirq-net-rx/]
    8 root            SW< [softirq-block/0]
    9 root            SW< [softirq-tasklet]
   10 root            SW< [softirq-sched/0]
   11 root            SW< [softirq-rcu/0]
   12 root            SW< [desched/0]
   13 root            SW< [events/0]
   14 root            SW< [khelper]
   15 root            SW< [kblockd/0]
   16 root            SW< [kseriod]
   17 root            SW< [ata/0]
   18 root            SW< [ata_aux]
   19 root            SW  [kdtvlogd]
   20 root            SW  [pdflush]
   21 root            SW  [pdflush]
   22 root            DW< [kswapd0]
   23 root            SW< [aio/0]
   24 root            SW< [scsi_eh_0]
   25 root            Z   [swapper]
   35 root       1380 SW  init
   36 root       1380 SW  /bin/sh /etc/rcS
   37 root       1384 SW  /bin/sh /etc/rc.local
   47 root            Z N [authuld]
   62 root       1384 SW  /bin/sh /mtd_exe/rc.local
   64 root            SW  [3DBgPlaneCtrlTa]
   68 root     1445268 SW  ./exeDSP
  160 root            SW< [rpciod/0]
  198 root            SW< [khubd]
  202 root            Z   [udhcpc]
  248 root       1384 SW  udhcpc -i eth0 -T 2 -b
  436 root            SW< [scsi_eh_1]
  437 root            SW< [usb-storage]
  446 root            DW  [scsi-poller]
  513 root            Z   [rcSGO]
  519 root            Z   [rc.sysinit]
  545 root       2280 SW  dropbear
  547 root       2356 SW  dropbear
  548 root       1384 SW  -sh
  568 root       3864 RW  ps

# ls -l /

lrwxrwxrwx    1 root     0              12 Apr  7  2010 Java -> mtd_exe/Java
drwxr-xr-x    2 518      518             3 Feb 25  2010 PVR
drwxr-xr-x    2 518      518             3 Feb 25  2010 TimeSlip
drwxr-xr-x    2 518      518           367 Feb 25  2010 bin
drwxrwxrwt    2 root     0              40 Jan  1  1970 core
drwxr-xr-x   10 518      518          3485 Feb 25  2010 dev
drwxrwxrwt    3 root     0             160 Jan  1 01:03 dtv
drwxr-xr-x    4 518      518           291 Feb 25  2010 etc
drwxr-xr-x    4 518      518           273 Feb 25  2010 lib
drwxr-xr-x    6 518      518            58 Feb 25  2010 mnt
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_amg
drwxr-xr-x    7 root     0             154 Jan 18  2011 mtd_appdata
lrwxrwxrwx    1 root     0              11 Apr  7  2010 mtd_boot -> etc/Scripts
lrwxrwxrwx    1 root     0              10 Apr  7  2010 mtd_chmap -> mtd_rwarea
lrwxrwxrwx    1 root     0               7 Apr  7  2010 mtd_cmmlib -> mtd_exe
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_contents
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_dlna
lrwxrwxrwx    1 root     0              12 Apr  7  2010 mtd_down -> mtd_rwcommon
drwxrwxrwx    1 root     0             512 Jan  1  1970 mtd_drmregion_a
drwxrwxrwx    1 root     0             512 Jan  1  1970 mtd_drmregion_b
lrwxrwxrwx    1 root     0              10 Apr  7  2010 mtd_epg -> mtd_rwarea
drwxr-xr-x   10 root     0             435 Jan 18  2011 mtd_exe
lrwxrwxrwx    1 root     0              10 Apr  7  2010 mtd_factory -> mtd_rwarea
lrwxrwxrwx    1 root     0              10 Apr  7  2010 mtd_gemstar -> mtd_rwarea
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_infolink
lrwxrwxrwx    1 root     0              17 Apr  7  2010 mtd_java -> mtd_rwarea/bd_vfs
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_loader1
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_loader_adjust
lrwxrwxrwx    1 root     0              10 Apr  7  2010 mtd_mhp -> mtd_rwarea
lrwxrwxrwx    1 root     0              13 Apr  7  2010 mtd_moip -> mtd_rwcommon/
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_musicdb
lrwxrwxrwx    1 root     0              10 Apr  7  2010 mtd_pers -> mtd_rwarea
lrwxrwxrwx    1 root     0              10 Apr  7  2010 mtd_pstor -> mtd_rwarea
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_pvr
lrwxrwxrwx    1 root     0               3 Apr  7  2010 mtd_ram -> tmp
lrwxrwxrwx    1 root     0              11 Apr  7  2010 mtd_rocommon -> mtd_appdata
drwxrwxrwx    5 root     0            2048 Jan  1 01:03 mtd_rwarea
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_rwarea1
drwxrwxrwx    4 root     0            2048 Jan  1  1970 mtd_rwcommon
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_swu
drwxr-xr-x    2 518      518             3 Feb 25  2010 mtd_timeshift
lrwxrwxrwx    1 root     0              12 Apr  7  2010 mtd_wiselink -> mtd_rwcommon
lrwxrwxrwx    1 root     0              12 Apr  7  2010 mtd_yahoo -> mtd_rwcommon
dr-xr-xr-x   60 root     0               0 Jan  1  1970 proc
drwxr-xr-x    3 518      518           598 Feb 25  2010 sbin
drwxr-xr-x   12 root     0               0 Jan  1  1970 sys
drwxr-xr-x    2 518      518             3 Feb 25  2010 tmp
drwxr-xr-x    5 518      518            39 Feb 25  2010 usr

# ls -l /etc

-rwxr-xr-x    1 518      518            10 Feb 25  2010 HOSTNAME
drwxr-xr-x    2 518      518             3 Feb 25  2010 Scripts
drwxr-xr-x    4 518      518            38 Feb 25  2010 Wireless
-rwxr-xr-x    1 518      518           771 Feb 25  2010 copy_format.sh
-rwxr-xr-x    1 518      518           717 Feb 25  2010 db_format.sh
-rwxr-xr-x    1 518      518           162 Feb 25  2010 fstab
-rwxr-xr-x    1 518      518           410 Feb 25  2010 hosts
-rwxr-xr-x    1 518      518           134 Feb 25  2010 inittab
-rwxr-xr-x    1 518      518             0 Feb 25  2010 mtab
-rwxr-xr-x    1 518      518           176 Feb 25  2010 network_init.sh
-rwxr-xr-x    1 518      518          1176 Feb 25  2010 nsswitch.conf
-rw-r--r--    1 root     0              65 Jan  1  2010 passwd
-rw-r--r--    1 root     0             794 Jan  1 01:03 profile
-rwxr-xr-x    1 518      518         11385 Feb 25  2010 protocols
-rwxr-xr-x    1 518      518          2746 Feb 25  2010 rc.local
-rwxr-xr-x    1 518      518            24 Feb 25  2010 rcS
lrwxrwxrwx    1 root     0              25 Apr  7  2010 resolv.conf -> ../mtd_rwarea/resolv.conf
-rwxr-xr-x    1 518      518          2515 Feb 25  2010 rest_mount.sh
-rw-r--r--    1 518      518            12 Feb 25  2010 services
-rwxr-xr-x    1 518      518            53 Feb 25  2010 telnetd_start.sh

# cat /etc/inittab
ttyS2::sysinit:/etc/rcS
#::respawn:-/bin/sh
::respawn:/usr/bin/cttyhack -/bin/sh
::restart:/sbin/init
::ctrlaltdel:/bin/umount -a -r
# cat /etc/rcS

Code: Select all

#!/bin/sh
/etc/rc.local
# cat /etc/rc.local

Code: Select all

#!/bin/sh
#/bin/mount -a

echo "/etc/rc.local start!!!!"
############# version ##############
if [ -e .version ]; then
	ROOTFS_VERSION=$(cat /.version)
else
	ROOTFS_VERSION="rootfs version file not found"
fi

echo "====================================================="
echo " ROOTFS VERSION : "$ROOTFS_VERSION
echo "====================================================="


#variable definition
BOOT_RFS=/lib/modules
UPGRADE_FLAG=/mtd_rwarea/UPGRADE_FLAG

export BOOT_RFS
export UPGRADE_FLAG

#insmod fsr modules
insmod /lib/modules/fsr.ko
insmod /lib/modules/fsr_stl.ko
insmod /lib/modules/rfs.ko

# mount ramdisk (fstab define ramdisk..."mount -a" already performed)
# mount -t tmpfs tmpfs /dtv -o size=12M,mode=1777
mount -t proc /proc
mount -t sysfs /sys
mount -t tmpfs none /dev/sam -o size=1K,mode=1777
mount -t tmpfs none /dtv -o size=10M,mode=1777
mount -t tmpfs none /core -o mode=1777

########## Partition Flag Setting ###########
readPartFlag /dev/tbml13

if [ -e /dtv/PART_FLAG_1 ]; then
	EXE_PARTITION=/dev/stl0/16
	APP_PARTITION=/dev/stl0/17
	echo "2nd Partition Mount"
elif [ -e /dtv/PART_FLAG_0 ]; then
	EXE_PARTITION=/dev/stl0/14
	APP_PARTITION=/dev/stl0/15
	echo "1st Partition Mount"
else
	EXE_PARTITION=/dev/stl0/14
	APP_PARTITION=/dev/stl0/15
	echo "1st Partition Mount"
fi

########### mtd_appdata ###########
mount -t squashfs $APP_PARTITION /mtd_appdata
########### mtd_exe ###########
mount -t squashfs $EXE_PARTITION /mtd_exe
if [ $? == 0 ]; then
	mount /mtd_exe/libs /lib/libs
fi


########### DRM REGION #############
mount -t rfs /dev/stl0/23 /mtd_drmregion_a
if [ $? != 0 ]; then
echo "STL0/23 Patition Unformated : STL Format agion...!!"
stl.format -r 2 /dev/bml0/23
fat.format -S 512 -s 1 -F 16 /dev/stl0/23
mount -t rfs /dev/stl0/23 /mtd_drmregion_a
fi

mount -t rfs /dev/stl0/24 /mtd_drmregion_b
if [ $? != 0 ]; then
echo "STL0/24 Patition Unformated : STL Format agion...!!"
stl.format -r 2 /dev/bml0/24
fat.format -S 512 -s 1 -F 16 /dev/stl0/24
mount -t rfs /dev/stl0/24 /mtd_drmregion_b
fi


############## mtd_rwarea ############
mount -t rfs /dev/stl0/25 /mtd_rwcommon
if [ $? != 0 ]; then
echo "STL0/25 Patition Unformated : STL Format agion...!!"
stl.format -r 16 /dev/bml0/25
fat.format -S 2048 -s 1 -F 32 /dev/stl0/25
mount -t rfs /dev/stl0/25 /mtd_rwcommon
fi

mount -t rfs /dev/stl0/26 /mtd_rwarea
if [ $? != 0 ]; then
echo "STL0/26 Patition Unformated : STL Format agion...!!"
stl.format -r 16 /dev/bml0/26
fat.format -S 2048 -s 1 -F 32 /dev/stl0/26
mount -t rfs /dev/stl0/26 /mtd_rwarea
fi
######################################


#swapon /dev/ramzswap0

if [ -f /mtd_exe/exeDSP ]; then
	echo "Application is started.."
	/mtd_exe/rc.local
else
	echo "Application executable is not found.."
fi
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Rooted Samsung BD-C6900

Post by erdem_ua »

Congratulations :)
mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Re: Rooted Samsung BD-C6900

Post by mirsev »

voroniys wrote:You are lucky - firmware of yours 6900 is very much alike of TV. I do have 6800 which is in hardware quite similar to 6900, but as far as I can see from your dumps it has completelly another firmware which has nothing common with C-series TV.
For those who are interested in - /etc/init.d/rcS from C6800:

Code: Select all

#! /bin/sh
#########################################################################
#  Copyright (c) 2006-2010, Broadcom Corporation
...
USB mount is handled by binary files, not shell scripts, so it is impossible to make a modification which allows to run something as run.sh script. I'm still looking for the possibility for permanent chrooting, but haven't find anything usefull yet.
Are you sure that hardware is indeed similar? It might be that your player has Broadcom chip (MIPS based, not ARM). Please, check /proc/version and /proc/cpuinfo If it is MIPS, then it might be similar to B-series TV.

How did you get the access to shell?
mirsev
Posts: 48
Joined: Tue Apr 05, 2011 7:58 pm

Re: Rooted Samsung BD-C6900

Post by mirsev »

WARNING: New 1021.2 firmware contains updated versions of hotplug and usbmount scripts which will disable SamyGO extensions on a USB memory. So, if you need to keep SamyGO extensions working (to access the player through the network and run custom scripts), don't update firmware to the version 1021.2.

Post Reply

Return to “BluRay Players”