fredag den 20. december 2013

Hackintosh OS X Mavericks on the ASUS N76VM


So after i got a gaming orientated desktop, i decided to try out putting OS X on my ASUS N76VM Laptop, since the internals are Intel it makes it easier than on a AMD based system.

After reading a bit, but not enough, i decided to just go for it since i found a way that seemed to good to be true. Usually with these things i prefer, maybe not the hardest way, but atleast a method that teaches me something along the way. This way did not provide me with that. Well, in a way it did, but not on a system level, not yet anyway. Basically the method used is to use a restore a OS X image to a partition on your HDD. I did. Got 3 read errors but it continued without a problem, i rebooted, and i booted straight to the setup for OS X. 

My first problem was internet connectivity. The WIFI card in the ASUS N76VM is not supported in OS X, meaning it will not work. Some people have worked around this by removing the internal wifi card and installing a supported Atheros card. i thought this step was a bit much for my usage at this point where i want to dual boot windows 8.1 and OS X Mavericks, so instead i used a EOUP 802.11n tiny wifi dongle i had, and after installing the drivers, it worked, but i did encounter some drops in speed to a point that made it useless. 

So at this point most thing works really well. Stable system, USB works, function key works with volume brightness and shortcuts. 

My main problems are at this point:

No dual boot. OS X works, but my windows partition is not working. When booting it shows HD1 to HD4 with HD4 being my OS X /D: partition. And HD1 + HD2 should be Windows 8.1. When i try to boot it, one will try to boot into what looks like Windows 7 with 800x600 resolution, but it then fails at boot and restarts. HD2 just gives me a critical windows error. 

That is what i am working on now. 

Also. Touchpad is bonked. Really bonked. useless. i have found a workaround but my main focus is getting to dual boot at the moment.


In an attempt to easier install kext files to fix my minor issues, i installed the Tony Mac x86 MultiBeast and KextBeast. in MultiBeast i noticed a function that would inform me of recommended tweaks to install. And i made the mistake apply the recommendations. The OS X partition now boots into a black screen. i do have sound so most likely it is a monitor problem. However, as i choose to have it installed manually with a bunch of other tweaks, i have no idea of how to revert the error. So now. No Windows and no OS X.

No extra Kext messing around is needed as the image being "installed"/restored is already set up. i always keep a USB drive with Xubuntu installed on it to solve boot issues, partition management etc, and running boot-repair with the recommended repair option, usually solves boot issues.

______________________________

Update: i had to reinstall everything, since i was unable to work out any solution in either windows, Ubuntu or os x to fix the boot loader. Now i am not saying it couldn't be done. I just grew impatient and reinstalled windows. Bought a dirt cheap 80 GB 2.5" HDD to fill the second slot in the N76VM.

I gave me a chance to work on my digital forensics skills as well, as i bought the HDD used. If you are ever to sell a hard drive that you have used. Make sure you

$ shred -z -u -n200 /dev/sda1 that puppy.

Especially if you have kept nude pictures of you and wife on it. Now i am a good guy, so everything i found was deleted.

I then dedicated the drive to os x, and used R-Drive in windows to write the OS X 50 GB Mavericks image to the drive. And have a fully working install. Well. No wifi since the card is not supported, but it works just fine with a wifi dongle.

Touchpad was actually working just fine all along. Turns out that it just gets confused when a external mouse is attached at the same time. Same problem exists in windows.

So all in all. If i had started out just using a second drive. A fully working OS X install could have been made in less than a half hour.

The bootloader is the text based chameleon bootloader, and i have yet to find the time to solve that issue, as my few attempts to change the bootloader has resulted in a OS X drive returning a black screen on boot.

I will add a link to the Mavericks image file soon, as the yandex link is painfully slow.

#Update. Here is a link to the .arc image file

To bad i didn't write a decent guide. I exchanged OS X for Linux Mint, but after shifting Mint to my main drive in the laptop, and having problems finding a useful way to make music in Mint that is not rendered useless by latency problems, i once again wished to write the Maverick image to my 80 GB. But so far. Every attempt has resolved in stuttering, flickering and freezing on every boot after the first one. So i am now trying to reverse the oh-so simple process of getting it to work.




onsdag den 18. december 2013

Bittorrent Sync helped me out.

So i changed my direction a bit as a i wanted a working setup while making a direct transfer configuration.

i therefore ended up using Bittorrent Sync to sync from a seedbox to my NAS server, and then used rsync to further copy the btsync to a different folder. This level of automation leaves me to just clear out files from serverside and on the NAS once in a while. So it is not a total automation. But i can live with that. Furthermore the setup i am using has torrent interception so for most sites i don't need to first download torrent to add to my seedbox torrent client, rather it intercepts it from the .torrent extension and adds it directly.

While this is working wonders at the moment. My next step will probably be to dive into usenet or to set up the encryption for downloading directly to the NAS. i have grown a bit tired of my NAS build though. i can't blame Nas4Free as it is more than awesome software and it works wonders. However my NAS needs are at this point way below what i feel N4F would be most useful for. Meaning constant spinning CPU and PSU fans for no usage is bothering me. i am now trying to sell my mobo, ram and cpu and acquire some D-Link 2 bay NAS with support for fun_plug instead. 

lørdag den 21. september 2013

Debian on the OUYA. Linux Based XBMC build not far away.

"The idea is not to touch Ouya’s Android at all. Kernel is booted from RAM and Debian from an SD card or USB stick.
The instructions for debootstrapping your own Debian Wheezy rootfs are described in the github repository and the needed binaries are in a temporary location that will probably change at some point.
WiFi is working as well but I’m not sure if the firmware binaries are redistributable, so you need to copy them from the Android rootfs after booting to Debian.
One of my main goals for this whole exercise is video encoding and I’m happy to say that H264 encoding from an USB webcam works nicely with hardware acceleration as well.
I’ve also noticed some issues:
  • Hciconfig doesn’t show BT devices, I didn’t debug much further.
  • Mpg123 seems to play but nothing is heard. Maybe it tries to pass MP3 onwards instead of PCM? GStreamer provides acceleration for MP3 and AAC though.
  • Video acceleration works only with GStreamer and nvxvimagesink. Mplayer can’t even use XV video output correctly.
  • Tegra3 supports only OpenGL ES 2.0 with EGL, so no full OpenGL with GLX.
  • Xrandr seems to be able to switch the resolution but after the switch there was window decoration corruption.
Despite the deficiencies I think Tegra3 is quite well supported in the X.Org world and many things work well with this 99$ device."
"Playing 1080p H264 while running glmark2-es, an OpenGL ES benchmark. And the CPUFreq ondemand governor doesn’t even raise the CPU frequency from the minimum as everything is properly accelerated."



Now this build is still a bit buggy and risky, but it does open the doors to further development that could open up the true power of the OUYA, and not just some low end gaming device. Keep from messing to much around with your OUYA since it is atleast a great deal easier to brick because it lags the hardware to boot into recovery. 
A button has also been discovered in the final OUYA hardware. Unfortunantly it does not let you boot into anything else but NVIDIA's state, where you can't really do anything without the 128 bit encrypted code. 

torsdag den 4. juli 2013

Running Emulators on the OUYA



Seeing that a lot of people are taking their first steps into the world of Android with the low end gaming console OUYA, i thought that a rough guide to emulation on the Android OS is in order. Since the OUYA does not have access to the Google Play store you will need to sideload the emulators and game ROMS. Sideloading is directly installing .apk files, where .apk files is the installation files of a game or application in the Android OS. Like a .exe file on Windows. To sideload you need to first acquire the .apk file and place it on a memory stick or card. In case of the OUYA you will need to place the files on a USB memory stick.


What follows is a short list of links to the most popular emulators:
Note that there are usually more than one emulator for a platform. Try them out to see what works best for you. There is also some emulators for Android in the OUYA store.

Nintendo 64:

N64Droid

N64Oid 2.7

Games


Playstation 1:

psx4droid[3.0.5]

FPse [0.10.45]

Games


Super Nintendo Entertainment System (SNES):





SEGA Genesis / SEGA Megadrive:



Gameboy Advance:





The files is in Zip and RAR format and needs to be unpacked on your PC first. Then transfer the .apk files to your USB memory. For the games. All the Emulators i have tried out works just fine with Zip files, so in most cases you will not need to unpack the games themselves. 

Unzip the file browser .apk and transfer it to your USB storage. 
(For ease of future transfers you could also include this "Airdroid" .apk that will let you connect to your OUYA wirelessly from your PC browser)

By now you should have your emulators in .apk format and your games on your USB storage device, Plug it into the back of your OUYA. 

Now thanks to OUYA coming down with the walled garden Apple fever, accessing your own files is all of the sudden a bit tricky. On your OUYA. Go to the main menu, then navigate to the "make"section, then "software"  And then open the "browser". Now this is basically just a web browser with OUYA's own page set as a start page. That is your way out of the walled garden OUYA has set up.

When you are in the browser. Press "Y" on your controller. And enter the following URL:

http://bit.ly/13SJxOB

i have used bit.ly because the "real" URL is: http://gdown.baidu.com/data/wisegame/86f47585c4eed74f/ESFileExplorer.apk

Which will give you a bad day trying to enter with a controller.

Your OUYA will then download the ES File Explorer application to the internal memory.

Once finished. Navigate back to the main menu. Go to "Manage", "System", "Advanced"

This will bring you to the standard Android menu.

Scroll down to "Storage" then select "Downloads"

Up comes a list of the files you have downloaded. On that list should be the ES File Explorer .apk file.

Select it and press the "O" button. And choose install.

Once finished you will now have access to not only your own files but also the content of your USB storage from the ES File Explorer application.

Navigate back to the main menu. Then "Make" and in the "Software section" next to the browser. You should now have a icon for the ES File Manager.

Now i will not be doing a tutorial in how to use the ES File Manager or setup each of the emulators to work with the OUYA controller. But it does work and both using ES File Explorer to copy your game ROMS over to the internal memory of the OUYA, and setting up the emulators is pretty self explanatory and straight forward. 

First press "O" on the different Emulator .apk files to install them.

Next, copy over your game ROM files to the OUYA's internal memory. Note: Keep the game ROMs separated in a folder for each gaming system you want to emulate.

You can either create a folder on your OUYA or just copy the game ROMs to the "Downloads" folder. in each of the Emulators you will use its internal file explorer to navigate to the ROM directory and it will save where you have pointed it to.

Next go into the settings of your emulator and keymap the different buttons to your liking on your OUYA controller.

Thats it. your $99 US ARM device can now play 20+ year old games.

Update: Seems that some emulators is not able to be installed and will present a "parsing" error. 

onsdag den 3. juli 2013

OUYA, Root & ROMS



For some reason i was really surprised at the userbase that have gathered around the OUYA game console.

When i first saw that the crowdfunding had exploded i had high expectations as well as being a bit surprised as to why so many people was going insane for what seemed to be sort of the specs for a lot of other Android devices. My expectations was high because i for some reason thought that it was the massive developing community that had casts its love and attention on the OUYA.

It turns out that most backers and buyers are people looking for the low end console and not the veteran Android users i thought it would be. There are nothing wrong with that. And the veterans are there, no doubt about it, and so are a part of the developing community as it is the case with most Android devices. But i was surprised at seeing questions fell way below what the average Android user can come up with. And if you are new the Android world, then surely you have no knowledge about the Android enviroment. Why would you?

For some reason a lot of people is almost suprised to learn that the OUYA is running straight up Android. They seem to think that OUYA has build their very own operating system. Of course that is not the case. OUYA is running Android Jelly Bean, with a VERY limiting user interface overlay of their own.

They require a credit from the latest firmware to even log in. There is no Play store access, which would open up for a flood of different ways that the OUYA could be used, not to say the numerous games that could be mapped to use with the awesome OUYA controller.



For users that want to get more out of their OUYA device and that are new to the Android scene. There is a bit more work, and also learning in altering your Device. If you like how the OUYA looks, works and runs then you are all set. If you would like to use the device for more or simply just something else than just playing games. You need to fiddle and read and search and learn. Jailbreaking on IOS has always stood out as a joke to me. On one hand, i can see how just opening an application and pressing the "Jailbreak" button and then wait, is nice and easy. On the other hand, if even the slightest thing goes wrong, then people jailbreaking will not have the slightest idea of what, why and how to fix it. On Android. There are many ways to gain root access to devices, and a lot even comes as a one-click function.

But Android is by nature so open that for you to need root access you really need to want to shake things up or you want to use applications that require root access. Once you have obtained root access, you can then flash ROM's that is tweaked and optimized version of Android.

In order to flash a ROM, you need root access, and imo have CWM recovery installed. The ClockWorkMod Recovery is a state of recovery you can boot into in order to recover, backup, update, clear system cache and other good stuff. Usually you can boot into this state using a combination of pressed down hardware buttons that differs from device to device, and some even have a dedicated "recovery" button. For some reason OUYA did not really feel like adding this feature. How open is that?
In their defense there are not many locked aspects to find in their device. So it will not matter to much.

Luckily there are other ways to squeeze some custom ROM's into the OUYA. And that is Fastboot. Fastbooting is using the ability to connect your PC with your device and executing a protocol if you have root access.

The OUYA has only just reached retail in the last week, and today the first real custom ROM hits XDA. The ZG BETA v0.0.1 Although there have been a few modified stock ROMS available for some time

You will need to be rooted and have clockworkmod recovery installed first.

Unfortunately, the method for obtaining root access, and thereby superuser privileges, is not a one-click. Not yet anyway. So you will have to get your hands dirty and fiddle around a bit. On the plus side. You will learn a lot, and there is always a great community of elitist assholes on XDA to ask for help.

i love that place.

onsdag den 19. juni 2013

64 GB Micro SD Card .. $15 US



Now i have not received my memory cards yet, but usually the top purchased products on aliexpress is not fake. A single comment states that it is Class 6 and not 10. But even so. 15$ for 64 GB is still a pretty good deal for the most average use for a Micro SD card.

If you plan on using as memory for your Raspberry Pi. Don't. Class 10 makes a great difference in speed, and every bit of speed is needed for the little 600 MHz Raspi.


Update: The card is 64 GB.  However the R/W speed is Class 3, and the memory is poorly build. Using it for system or important files is NOT recommended.


Via Aliexpress

lørdag den 15. juni 2013

Onion Pi(e)


The Onion Pi is a WIFI access point that directs all your traffic through 3 layers of anonymizing Tor network.
follow the turotial here:

http://learn.adafruit.com/onion-pi?view=all

or skip some steps and buy a plug and play Onion Pi:

https://www.adafruit.com/products/1406

onsdag den 15. maj 2013

Build your own Pirate Box Darknet Network for less than 40$



A PirateBox is a self-contained mobile communication and file sharing device. Simply turn it on to transform any space into a free and open communications and file sharing network in the spirit of open source and sharing. The network is closed meaning that all devices connected can only discover, connect and interact with other devices connected to it. For dorms, schools or in your local library or favorite café. 

The meshnet allows the connected users to chat and share files over the closed network within the limited range it provides. The device is also really cheap and fairly easy to set up. It has a really low power consumption, meaning you should get days worth of up time on a single charged external battery charger power bank.


You will need the tiny TP-Link TL-WR703N router 
You will need to flash the router with OpenWRT
You will need to power it with something like this 5V 2000mAh external battery charger power bank
You will need a USB stick. 

On Android there is an app to access the darknet

On your IOS device, in the WIFI network selection select piratebox, and access its options by pressing the blue arrow. Disable "Auto Join" and "Auto Login". You should now be able to access your Piratebox in Safari.

When you have acquired all the parts for your very own darknet server, follow this tutorial:




Note: To SSH/Telnet into a device in Windows, use PuTTY


1. First download a custom copy of OpenWrt for the MR3020 (modified by Matthias Strubel to include all needed kernel-modules). See this thread on the forum for more info. For the WR703N, download this OpenWrt firmware

2. Set the toggle switch located beside the LAN/WAN port to WISP mode

3. Turn off your laptop’s wireless (in OSX, click on the wifi icon and select “Turn Wi-Fi Off”)

4. Connect the router via ethernet cable to your computer and open a web browser to http://192.168.0.254 (for the MR3020) or http://192.168.1.1 (for the WR703N)

5. Enter the default username & password (admin & admin)

6. Navigate to System Tools > Firmware Upgrade and select the OpenWRT firmware

(Note: The WR703N firmware text is in Chinese. To flash OpenWrt from the web interface, select the last menu item on the left, and then the third submenu item. More info in this Village Telco post).

7. After the upgrade completes, the system will restart

8. Telnet to the device:
telnet 192.168.1.1


9. Use the passwd command to set your login password – this will enable SSH:
passwd


10. Edit the network file with vi (vi cheat sheet):

NOTE: The following instructions assume your gateway router’s (home router’s) IP address is 192.168.2.1. If your gateway router differs from this, you will need to modify your network file accordingly. Keep in mind that your OpenWrt (PirateBox) router should not have the same address as your gateway router though it will need to be on the same subnet in order to access and download files from the Internet.
vi /etc/config/network


The modified file should look like this:
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config interface 'lan' option ifname 'eth0' option type 'bridge' option proto 'static' option ipaddr '192.168.2.111' option netmask '255.255.255.0' option gateway '192.168.2.1' list dns '192.168.2.1' list dns '8.8.8.8'


11. Remove the power from the router.

12. Turn ON your laptop’s wireless (for OSX, click on the wifi icon and select “Turn Wi-Fi On”)

13. Connect the MR3020 (or WR703N) to your gateway router (e.g. your home network router) with an ethernet cable and plug the power back in. Wait a couple of minutes until the router boots up. With your computer connected to your home network, try sshing into the router (Note: use the “ipaddr” you assigned in step 9):
ssh root@192.168.2.111


14. Ping google to ensure your firewall settings are correct:
ping google.com


15. Add USB support to OpenWrt by installing and enabling the following packages (Note: this step is not required if you used the customized OpenWrt image from step 1):
opkg update opkg install kmod-usb-uhci insmod usbcore ## may return: file exists insmod uhci opkg install kmod-usb-ohci ## may return: up to date. insmod usb-ohci

Install PirateBox

Next you’ll need to install PirateBox on the router.

1. Connect your USB drive (formatted to FAT32 with only one partition) to the USB port.

2. Install the mkPirateBox package by issuing the following commands.
cd /tmp opkg update && opkg install http://piratebox.aod-rpg.de/piratebox_0.6.3_all.ipk


3. Optional: Install the Kareha Image Board:
/opt/piratebox/bin/timesave.sh /opt/piratebox/conf/piratebox.conf install /opt/piratebox/bin/install_piratebox.sh /opt/piratebox/conf/piratebox.conf imageboard


Afterwards, edit the Kareha image board config file to change the admin username and password (ADMIN_PASS and SECRET):
vi /opt/piratebox/www/board/config.pl


4. Once the install is completed, unplug the ethernet cable and disconnect the power for at least 10 seconds.

5. Restart the device and join the “PirateBox – Share Freely” network. Open any web page and you should be redirected to the PirateBox menu.

6. Begin sharing files and chatting!






This tutorial was copy pasted from David Darts

mandag den 13. maj 2013

Samsung Exynos 4412 based Android TV box for $125 ..



Normally, i prefer to steer clear of the Rockchip and Allwinner based boxes due to the low support for open source development. i will mention them from time to time if the specs and build quality is worth mentioning, since there is some development taking place with Linux for both Allwinner and Rockchip devices that makes them a very decent mini pc for the most basic needs.

This new Android TV box sports a 1.4 GHz Exynos 4412 ARM Cortex-A9 quad-core chip, ARM Mali 400 graphics, WiFi, HDMI, IR remote control, and 2 USB ports. The development for boards like the Hardkernel's Odroids of XBMC seems to be going well, even though the most useful version is still the Android libstagefright build, progress is coming along with a Linux based build with hardware accelerated playback.


via Aliexpress

mandag den 6. maj 2013

Stable Release of the User Friendly Custom Build of XBMC for Android is Out

For some reason i just can't get myself to use the XBMC build for Android that uses third party media players, like the MXPlayer. Somehow it takes the idea out of even using XBMC. if you are going to use third party players why not just install Mizuu and use that. Now i know that Mizuu does not offer the same ammount of addons that XBMC related developers brings to the party. But still. I dream of a version of XBMC with full hardware accelerated video playback on a low end cheap device.

And the AMLogic maeson 3 boxes really do work amazingly well with the Linux based XBMC version, but it still has quite a few bugs that makes the device freeze up or restart. It is still only in Beta 2, but still. i would also prefer a bit more GHz and RAM to make the experience more fast and smooth.

But the stable XBMC Android version is out. The one that offers playback using third party players. So that is good news for those who don't mind using a bit dirty setup.


Step 1: Install the “MX Player” application to your Android device. You can do this through the Google Play store, or simply by navigating to this page on your device’s web browser and then clicking on the appropriate download link below:
MX Player for NEON DevicesMX Player for Non-NEON Devices 
Step 2: Launch and exit the “MX Player” application on your device at least once before continuing. 
Step 3: Download and install the “XAF Custom Build of XBMC” to your Android device. You can do this by navigating to this page on your device’s web browser and then clicking on the appropriate download link below: 
XAF Custom Build for NEON Set Top BoxesXAF Custom Build for NEON Touch Screen DevicesXAF Custom Build for Non-NEON Touch Screen Device 
NOTE: Should you encounter any errors at this point, make sure to Enable “Unknown sources” under “Security -> DEVICE ADMINISTRATION” within your device’s “Settings” panel. 
Step 4: Once it’s done installing, launch the “XBMC” application on your device for the first time, wait a minute before you begin using it so all updates can go through, then jump right in!

Note: Most newer hardware are NEON devices. Start there if you are unsure what category your device is in.

The news story of this Android build also comes with a XBMCHUB song and music video. i have left it out since it makes me cringe big time. if you still want to see it, check out the source.

via XBMCHUB

G-Box Midnight MX2 - Someone have had their ear to the ground



Matricom have been busy shaping out their second G-box, inside the 99$ media player is a AML8726-M6 CPU that means it is a no go for the current Linux based XBMC builds, even though development is taking place for both M6 and MX. Matricom have made sure that WIFI reception is way better with this box than with a lot of the competition, and the Android XBMC build streams 720p and 1080p flawlessly.


  • Amlogic AML8726-MX Dual Core Cortex A9 CPU + dual core Mali-400 GPU
  • System Memory – 1GB DDR3 RAM
  • Storage – 8GB Flash + SD card slot (Up to 32GB)
  • Video Output – HDMI v1.4, composite (CVBS) and component (YUV)
  • Audio Output – HDMI, AV, and SPDIF
  • Connectivity – 802.11b/g/n internal Wifi + 10/100 Ethernet Port
  • USB – 4x USB 2.0 Ports (1 might be OTG)
  • IR sensor
  • Power Supply – 5V/2A


via CNX software

søndag den 5. maj 2013

TheLittleBlackBox. Yet another AMLogic XBMC box. But with amazing development behind it.

The Development team behind the Meason based Linux build of XBMC is now releasing a box of their own.

inside is what looks like the standard specs of the countless AMLogic based devices, but with a development team behind it, this will surely have a chance to be the low-cost XBMC device that so many people seem to be looking for. With a price of 99.99€ it is a bit more expensive than most other amlogic devices, and team has promised that they will not stop developing on the other amlogic builds for the g-box midnight, bluetimes and smart tv box that they have refered to as a go-to device in the past.



Someone on kickstarter has a project that is a Raspberry Pi with XBMC in a plastic box.

With only 14 backers so far, and a few hours left of the kickstarter campaign, some guy have actually literally taken a Raspberry Pi, placed it inside a 2$ plastic box and installed what looks like the OpenELEC XBMC build with his own wallpaper on it and is selling it for 100$.

Now one could argue that there is nothing wrong with assembling some components for the less tech savy, but with a description like: "a custom debian linux image and a specially compiled version of XBMC" with what is clearly not his own compiled version of XBMC really is a bad joke.


To top it off, the desciption for 5.000$ backers is just hilarious:

We are not sure if anyone has this much money to burn, but if they do then we have a very special reward. In exchange for your generous support we will add your photo, logo or name to the boot screen of the MediaBox for all to see everytime they start up the system. Forever after you will be recognised as the Diamond backer of the project. 
As if the thing you really need is some guys face as your boot animation.


The Odroid-U2. A Samsung Exynos4412 Prime driven goodie



The intended Android development board shows off some amazing specs with a Cortex-A9 Quad Core 1.7Ghz processor, 2 GB DDR2 RAM and Mali-400 Quad Core graphics, this board is what you find inside the latest smartphones like the Samsung Galaxy Note 2 these days, which means that they can easily be used as a pretty decent Android based media player with the libstagefright based XBMC build for Android, until a Linux based version with hardware acceleration comes along.