Hey guys. Heres a rough first edition of something I've been working on for some time now. :ugeek:

Essentially I found a hole in wdtv firmwares that allows me to run an arbitrary firmware off usb. I've known about it for a long while, but it only got attractive enough to utilize a few releases ago. Now it is what I call 'homebrew mode'

The homebrew kit contains a README with instructions. Heres a quick rundown
- edit the file with your media players ip
- run the script to put your player into homebrew mode
- confirm player is in homebrew mode
- place the files from the other dir onto a usb device, along with wdlxtv-palace.bin
- connect it to your media player
- reboot the media player
- leave the usb device attached : the firmware runs off usb

This firmware is the first version of what might as well be called wdlxtv next gen, or something. I've taken buildroot and integrated all the packages for the firmware and compiled everything from source with the best optimizations using a newer compiler. This means newer glibc. Also means newest rtorrent, nzbget, php, nginx, etc. It also means easier package updating and building, etc.

The sigma bits since they are compiled against antiquated libs in some cases are sandboxed off in /usr/local/wd/lib & /usr/local/wd/bin and every bin has an accompanying script which sets the variables required to force any special lib versions to be used from /usr/local/wd/lib before system libs. This allows the old stuff to live in one spot and not affect the newer libs in the main system.

I don't have much time during the week anymore, but I'll be working on this weekends trying to get everything smooth. Your help is appreciated.

A lot still has to be done

I'll be publishing my full git tree somewhere, soon. With any luck wdlxtv-live & wdlxtv-plus will both be built this way soon.
:mrgreen: :mrgreen: :mrgreen:

--edit--
Bug priorities:
1) umsp
2) wifi

TO UNDO
I have fixed the exploit working in version 0.0.2 of the firmware, but the important part does not work. That being the actual homebrew/stockify commands. Therefore a mechanism is included (new bootstock command) in the v2 homebrew kit that sets a flag on usb which boots a firmware called root.bin-stock on the next boot. This root.bin-stock allows you to do the various homebrew/stockify commands, test, and/or fully reset your media player to stock mode. The root.bin-stock is booted once, on subsequent reboots wdlxtv-palace is booted into again.
...
Note: You must be running wdlxtv-palace-0.0.2 and v2 of the homebrew kit as well.
(double note: you can also just rename the root.bin-stock wdlxtv-palace.bin if you're in a hurry)

In windows you'll have to run win-homebrew-themeupload.bat to upload the latest theme. In Linux you'll have to enter 5 at the menu to trigger the hidden re-upload command.

Once the v2 theme is uploaded run win-homebrew-bootstock.bat in windows or enter 4 at the menu in Linux.