Bumblebee 3.1 Released

optimus-primus-n-bumblebee-3.1The team behind the “The Bumblebee Project” have released Bumblebee 3.1 with experimental support for Primus, if you added the Bumblebee PPA from my previous posts you will have been automatically updated to 3.1.

I will go over the steps to install on Ubuntu again for the noobs.

Add the Bumblebee repository

sudo add-apt-repository ppa:bumblebee/stable

Install the latest graphics drivers (optional but recommended)

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update

Install Bumblebee using the Nvidia drivers

sudo apt-get install bumblebee bumblebee-nvidia linux-headers-generic

Reboot and run glxspheres to make sure Bumblebee is installed correctly

optirun glxspheres

You can now Install Primus from the Bumblebee PPA

sudo apt-get install primus

If you are using a 64bit system install primus-libs-ia32:i386

sudo apt-get install primus-libs-ia32:i386

You can change the “bridge” option to “primus” in the “bumblebee.conf” etc/bumblebee/bumblebee.conf but this isn't recommended as there are still some incompatibilities with programs.

Your other option to use Primus is to run it directly from the Terminal.

optirun -b primus "program you want to run"

For other Linux Distros visit The Bumblebee Install Page

For More Information on Bumblebee http://bumblebee-project.org

For More information on Primus https://github.com/amonakov/primus

**UPDATE**
Lekensteyn Bumblebee dev has commented with the following information,

You are *encouraged* to try primus, but note that there *may* be some incompatibilities. If most of your programs run fine with primus, you can set Bridge=primus in /etc/bumblebee/bumblebee.conf. If some programs do not run with primus, you can override it and use virtualgl:

optirun -b virtualgl some-program

Please be kind, read documentation and do research before flooding the issue tracker with common issues including missing kernel headers and questions that ask how to install the latest nvidia drivers.

Thanks,
Peter (a.k.a. Lekensteyn)

Dangerous Exynos Exploit To Obtain Root (Samsung Galaxy Devices)

A new kernel exploit has been discovered to obtain root on Exynos devices. The good news is we can now obtain root privileges very easy on these devices, the bad news is any app (including Google Play apps) can obtain root without the user knowing, these apps can also perform ram dumps, kernel code injection and exploitation with native C or Java is also possible.

Devices effected:

  • Samsung Galaxy S2
  • Samsung Galaxy S3
  • Samsung Galaxy Note
  • Samsung Galaxy Note 2
  • MEIZU MX
  • Potentially any device with Exynos processor (4210 and 4412) that uses Samsungs kernel sources.

How do we stop this ?

Luckily respected developer Chainfire has created an app called “ExynosAbuse” to work around this security hole, here is a quote from his XDA post:

At the moment, Supercurio’s method relies on Android starting it at boot, using the same method any Android app uses to launch at boot. There is no guaranteed order of these apps being launched, and as such, a malicious app could be executing malicious code before the exploit is disabled.

RyanZA’s method relies on the same mechanism as well and as such is still vulnerable. Furthermore, unlike Supercurio’s and my own patch, RyanZA’s patch chmod’s to 0600 while ours chmod to 0400 or 0000. With 0600, system user can still run the exploit, so chaining a half-exploit that only gives system user followed by ExynosAbuse may still grant an attacker root access.

My method requires proper root and modifies /system, and disabling the exploit is done before any normal Android app (like those installed from the Play store) have a chance to execute their code. As long as you tell my app to disable the exploit at boot before you install a malicious app, and providing you do not grant a malicious app root (through SuperSU), this should protect against any exploit. Also note that after enabling applying the patch at boot, you can unroot in SuperSU again (SuperSU –> Settings –> Full Unroot) and the patch will keep working, but you’ll be unrooted again (if you don’t want root). On some devices it takes a reboot for SuperSU to truly disappear after that, by the way.

With my patch, I do advise testing the exploit was disabled after a reboot by running ExynosAbuse again, and verifying both checkboxes next to “Disable exploit” and “Disable exploit on boot” are enabled. These auto-detect the current state, and if the patch on boot was succesful both will be checked.

The only problem with this app is if you disable the exploit it may break the camera.

More information about the Exynos exploit

Chainfires XDA post with app

[How To] Disable Crash Reports In Ubuntu/Mint

Apport crash reports is an annoying new feature that has been introduced in recent versions of Ubuntu. If you are sick of those annoying Ubuntu apport crash reportwindows popping up here is a simple way to disable them:

Replace “leafpad” with the text editor of your choice

sudo leafpad /etc/default/apport

then simply change “enabled=1″ to “enabled=0″  and save it.

Goodbye crash reports. Enjoy!

[How To] Fix Your Sound In Ubuntu 12.10

My sound wasn’t working In Ubuntu 12.10, I fixed it by running this command in the Terminal to reinstall the audio drivers.

 sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2

This will purge any custom configurations that you’ve made, and any hand-compiled modules that you’ve built, and restore your sound stack to the “Official” Ubuntu core.

 

[How To] Safely Flash A ROM On The Samsung Galaxy Note

Samsung Galaxy Note logoA lot of people are worried about flashing ROMs on the Galaxy Note because they don’t want to be a victim of the eMMC brick bug, I’ve had my Note for about 6 months now and by using this simple method I’ve never had a problem flashing ROMs.

1.) Backup everything off your Note you want to keep because it will be wiped.

2.) Download a safe kernel that doesn’t have the eMMC brick bug, I personally use Abyss Note as it has a touch interface. Here are a few to choose from: Continue reading

[How To] Fix Bumblebee In Ubuntu 12.10

Have you been having trouble getting Bumblebee to work in Ubuntu 12.10 ? Here’s a quick guide on how I fixed it:

Install ppa-purge so you can remove BBswitch and Bumblebee.

 sudo apt-get install ppa-purge

Remove BBswitch and Bumblebee.

 sudo apt-get purge bbswitch-dkms bumblebee-nvidia

Install the proper Linux headers.

 sudo apt-get install linux-headers-3.5.0-17-generic

Now reinstall Bumblebee and BBswitch.

 sudo apt-get install bbswitch-dkms bumblebee-nvidia

Now reboot and enjoy your battery life.

If you want to check your Nvidia GPU is working run glxspheres with optirun

 optirun glxspheres

Dust 514 Beta Key Giveaway (PS3)

I have managed to get hold of 5 free! “Dust 514″ beta keys to giveaway, if you want to grab your key simply post an email address in the comments section at the bottom and we will send you your beta key. If you don’t want to use your real email address you can use a temporary email service such as www.mailinator.com this is on a “first come first serve” basis so be quick!

Dust 514 is an upcoming free-to-play console-based FPS set within the Eve universe, developed by CCP Games. It was announced on August 18, 2009 at the Game Developers Conference in Cologne, Germany and was introduced with a short trailer featuring realtime footage of the game. This will be the first video game to be released by CCP since Eve Online, and is under active development at CCP’s Shanghai studio. According to Hilmar Veigar Petursson, the CEO of CCP Games, the game will be exclusive to the PlayStation 3.

 **UPDATE**

We are out of keys, thank you for taking part in the Dust 514 Beta Key Giveaway.

If you didn’t get a key don’t be sad, IGN are currently giving them away for free, all you have to do is register and click on the “get my beta key” tab.

http://uk.ign.com/prime/promo/dust-514

[How To] Transfer Files Bigger than 4GB To Your PS3

transfer video files to playstation ps3I’ve noticed people are trying to find a way to beat the PS3′s FAT32 4GB limit when transferring video files from a pen drive or hard drive, so I thought I would write a quick How-To on how to get around this.

When you have a video file bigger than 4GB you have to split it if you want to transfer it over to your PS3. this is due to the limitations of the FAT32 file system and the fact the PS3 can’t recognise NTFS or EXT3 partitions. There is a way around this though! Continue reading

[How to] remux video files for PS3 playback (Ubuntu)

PS3 MKV2VOB logoHave you ever downloaded an MKV or other similar video file format and wanted to watch it on your HDTV through your PS3 with the least amount of hassle possible? Well there is a solution. MKV2VOB will take most common video files you throw at it and remux them into a compatible PS3 playback format. Remuxing a video file instead of converting it is a much quicker process and does not degrade the quality of the audio and video. The only downside to this solution is MKV2VOB needs to be run through Wine as there is no native Linux version available, but we will show you how to get it up and running step by step with no issues. Continue reading