Sign up here and you can log into the forum!

Gen3 RootFS Beta

Have a question about devices internals, memory layout, reverse engineering, etc---This is the place for anything so technical that it would cause a n00b's head to 'splode

Gen3 RootFS Beta   

Postby KAD » Wed Feb 11, 2015 11:05 pm

Hi all,

so life happens, I've got to focus on some other things for at least a month or two before I can really get back to this.
I'll tinker here or there during this time, but not much else
anyways, I figured I'd write this up for 2 reason,
1. to have an official how to boot rootfs on gen3
2. so you can beta test it, and let me know what needs to be fixed up

This is for advanced users only, if you did not read the forum description here it is again
Nitty Gritty
Have a question about devices internals, memory layout, reverse engineering, etc---This is the place for anything so technical that it would cause a n00b's head to 'splode. If you aren't comfortable with Linux, willing to get your hands wet, and able to hold your own, then you should only be observing. n00bish behaviour will be not be tolerated in this area and your privileges to view/post here will be taken away because of it.


Instructions to boot rootfs on gen3
** EXT3 formatted thumbdrive is required **
Code: Select all
cd /path/to/usb/ext3format/drive
mkdir ./.rootfs
svn --trust-server-cert --non-interactive export https://svn.wdlxtv.com/svn/2.02.32-wdlxtv-gen3/BootScripts/runsit.sh
svn --trust-server-cert --non-interactive export https://svn.wdlxtv.com/svn/2.02.32-wdlxtv-gen3/BootScripts/wdtvlivegen3.bin.mpm
svn --trust-server-cert --non-interactive export https://svn.wdlxtv.com/svn/2.02.32-wdlxtv-gen3/BootScripts/wdtvlivegen3.bin.mpm.sha1sum
cd ./.rootfs
svn --trust-server-cert --non-interactive export https://svn.wdlxtv.com/svn/2.02.32-wdlxtv-gen3/trunk .
cd ../
chmod -R 777 ./*
chown -R root:root ./.rootfs
chmod 4755 ./.rootfs/usr/bin/sudo
chmod 440 ./.rootfs/etc/sudoers
chmod 700 ./.rootfs/root/.ssh
chmod a+X ./runsit.sh


then on WD login via telnet
Code: Select all
config_tool -c ROOT_FS=ON && sync && sync
reboot


so here's some of the goodies that are already in svn

Code: Select all
v 0.1.6beta
* add missing ssh binaries & fix for xmount sshfs
* add svn and libs
* fix incorrect firmware version displayed on webend
* fix for chunked dmaosd.log output
* add valid root CAs for curl
* update curl ver 7.40
* update transmission ver 2.84
* add boot support for .rootfs
* add ImageMagick
* support for loading kernel modules via app.bins
* add /usr/local/sbin to PATH
* add support for power up down events
* add support for for entware.bin


the few things I had on my list which have not been done are
Code: Select all
* update minidlna
* add custom language support .mo .po
* fix maxdome service
* add utf8 support


for those of you unfamiliar with entware - it's basically just a modern version of optware
download this http://www.mediafire.com/download/skj47e77z5051ug/entware.tar.gz
unpack it to root of usb drive, reboot, then use as needed

Code: Select all
opkg list
opkg install software_name
opkg remove software_name


happy testing :D
If you like my work please consider a Donation. Donate
Please read the appropriate documentation before posting questions! READ ME FAQ WIKI
PM's are for private matters. Post support questions to the appropriate forum, or they will be ignored.
User avatar
KAD
Global Moderator
 
Posts: 5103
Joined: Mon Apr 12, 2010 4:59 pm
Location: Seattle, WA USA

Return to WDTV Live

Who is online

Users browsing this forum: No registered users and 2 guests