10/21/2014

GPD G7a review

REVIEW:

It's a portable game from GPD company, you can visit their website on http://www.gpd.hk
It's a Chinese company (hong kong to be exactly) that came to compete with JXD (In my honest opinion, I think the quality is way better because I have bad experience in the past).

It's a way open console (in open source meaning), and fortunately the company is quite transparent about this (like respecting GPL).

The console uses a Rockchip processor RK3188 (Quadcore using 1.6Ghz but indercloced to 1.2), 1Gb of RAM and 8Gb of internal storage. Mine came with android kitkat 4.4.2, but I've updated to 4.4.4 with a lot of wonderful features that I'll describe below.

On my tests, they was easily able to emulate even N64 (for me, it was able to fulfull my needs as an portable emulator, since my PSP can't do that with some effort). I've tried some N64 games (using mupen64) and here is my review about it:

- Conquer's Bad Fur Day: Tested and Working Very Well. I can't notice the difference from the native console.
- Donkey Kong 64: The game works perfectly, but there's some problems related to emulator (like you being able to walk throught the walls).
- Perfect Dark: Sometimes they're faster than normal, and sometimes not. I'm not sure but I think is an emulation related problem.

Since ends here, let me talk about Dolphin now:

- Super Mario Sunshine (GameCube): Yes, it can emulate and very nice! But since the emulator is on alpha stage, I had different (weird) results.
- The Legend of Zelda - Skyward Sword (Wii): Yeah it can do it, but have a lot of render emulation, isn't playable, and this time you can notice the emulation problem. Maybe in the future we can play this game on this device.

The other emulators like 8, 16 and 32 bit works perfectly. Just to compare, Final Fantasy Type-0 can have the same speed as natively on PSP. The major part of PSP games works without any problem.

PROS:

1) Controls feels the same as the default xbox360 controller.
2) The dpad is quite fine.
3) There's a lot of software to customize the controls, so you can't be afraid of playing, for example, Sine Mora using the hw controls (tested, worked and wornderful)
4) I don't like too much to evaluate software (since you can customize that if you have the knowledge), but the native rom is pretty decent, without spam or whatever else, is almost a Nexus ROM.
5) The performance is something wonderful, even comparing with good smartphones. Just to compare, they can beat my Motorola MotoG 4G easier.
6) I was able to get a good performance even with software that ask for special chips (NVidia shield), for example, I was able to make remote play using Limelight (remote play using nvidia+android)
7) The keymap is nice. And you have alternatives if you don't like the stock one.
8) If 1Gb of RAM isn't enought for you, there's a 2Gb version.
9) 128Gb SDXC support (but only with 4.4.4)
10) HDMI: Yes, and Full-HD. I didn't make a lot of reviews but it was able to transmit flawless Ocarina of Time on N64.
11) Buttons: 6 front buttons (4 in the diagonal position like the SuperNES controller and 2 extra for fighting games, as you can see in pictures), 4 shoulder buttons, dedicated SELECT and START, dedicated volume buttons, dedicated power button, 1 dedicated D-PAD and 2 analog controls.
12) 5000Mah battery: That's right. I don't made a test using the entire batery because my lack of patience but was enough to play 2 entire hours with N64 and using just 10%.
13) Screen for 10 simultaneous touchs.

COS:

1) SD can only work with vfat: Yeah, for me it's a problem. There's others way better FS that was transparent for the OS (Windows can handle MTP, the OS handles the FS). For example, I use F2FS on my smartphone and the performance to manage files is way way better. F2FS and EXT4 or EXT3 have journaling, that means you have an extra security if your device have an extra problem. And vfat... well.. doesn't had and update from 20 years or more...
2) Bluetooth: Isn't a problem for me but a device able to do a FullHD via HDMI should be this option.
3) Doesn't charge via USB: Yeah, you need a external charger (btw, he uses that old nokia charger).
4) Headphone port: The headphone port is that one that can't support microphone, so if you have one of this, you'll have some problems (Ugly design).
5) Updates: I don't know why, but I got my device with 4.4.2 and saying "your device is up to date" and I've got an oficial image in dingoonity that updated my device to 4.4.4. Why this update doesn't came over the air?
6) Screen: Some people are hungry about this because of brightness, but I think is quite fine (even when isn't IPS).
7) Shoulder buttons: Nope, they're not triggers.
8) No force feedback: Isn't a problem for me, but there's people that love this feature. I really don't care.

OVERALL:

I think is a very nice device. Even with the problems, I think is a good aquisition. The functionality and the capability of good emulation made him a nice option for people that want a portable emulation device.

10/06/2014

Macbook Air 11" 2013 - The definitive guide for migration to Arch Linux - Volume 3


Now we go further down to tune up, to make things works better than the default configuration.

1) powerdown-git (AUR), laptop-mode-tools (AUR) and upower (OFFICIAL).
This will increase a lot your batttery. Install, and then, edit your .xinitrc:

xset +dpms
xset dpms 0 0 300
upower -e

2) lightum-git (AUR)

This will helps with the light sensor

3) mba6x_bl-dkms (AUR)

Without this one, the brightness of your mba will not work correctly after waking up. I wasn't able to install him correctly using yaourt, so I did a manual install and then adding it on mkinitcpio.conf

4) acpid (OFFICIAL)

Double-check if you have acpid up and running, this can cause some trouble after suspending and waking up some times.

----

This post isn't complete yet, but I let the incomplete version for further reference and, of course, the credits of what I've used to make this manual.

Arch Wiki
Dedicated thread to Macbook Air 2013

Macbook Air 11" 2013 - The definitive guide for migration to Arch Linux - Volume 2



In this post I'll just show some apps that can help you and some recommendations, let's get started (you can use whatever you want, of course):

1) Libreoffice 
Instead of Openoffice, I feel libreoffice is way more "light" than openoffice, so yeah. You can also use playonlinux and install your favorite microsoft office, they works quite fine using playonlinux.
2) Chrome
Stable, Dev and Beta are available through AUR, so you can install via yaourt. Firefox is also available for people that doesn't feel comfortable using chrome
3) Thunderbird
If you don't like evolution or kmail, thunderbird is available.
4) Pidgin
Personal choice, I'm not a huge fan of empathy...
5) Skype
If you don't have any issues about security, skype is available too.
6) vlc
Forget about installing a shitload of binaries, and libraries, and drivers and whatever else. Just install this guy to see videos and stuff.
7) digikam/shotwell
If you need something fast to see images from cellphones or whatever else, use digikam (for kde) or shotwell (for gnome), both of them do a nice job. If you need something more, just install gimp.
8) clementine/amarok/banshee
It's a matter of preference. I like banshee for a music player, but I gave here three choices.
9) guake/yakuake
I don't know about you, but having a terminal in the "quake" way is quite sexy. Available for QT desktops (yakuake) and GTK desktops (guake).
10) dropbox
Why not? You can also make encrypted containers with whatever crypto you like and store on dropbox.

-------------------------------------------------------------------------------------------------------

EXPERIMENTAL FEATURES

This features isn't really necessary, but gives you some eyecandy and stuff..

1) Fonts
I have two sets of fonts I can't live without it: terminus-font (for terminal) and ttf-liberation (for desktop)
2) Fonts (again)
If you really want something way better to your eyes while working, give fontconfig-infinality a try. Is available at AUR.

Continue reading here

Macbook Air 11" 2013 - The definitive guide for migration to Arch Linux - Volume 1



Hi all

It's been a long time I didn't post here, so I'll post about my Arch Linux install on this macbook air.
REMEMBER: It's about to format everything on your macbook air and leave only linux.
Right now, I'm just doing the default install, so I'll post more details according I'm updating.

This is my setup:

Partition 1: EFI: 200Mb
Partition 2: JFS: 233Gb

I'm using JFS because I got a lot of performance than other FS, but you can use whatever you want.

Let's start:

- Default install as the wiki says, nothing different. Disregard my install uses pacstrap /mnt base base-devel instead of only base.
- Install xorg and gnome (you can install kde or whatever you like it, isn't too different).  Don' t boot yet.
- Install network-manager, because is quite usefull, even with most desktop managers (I also installing some vpn frontends because is useful for my work):

# pacman -S network-manager networkmanager-pptp networkmanager-vpnc networkmanager-openvpn

- Install grub and fix the boot with efibootmanager:

# pacman -S grub efibootmgr

Edit /etc/defaults/grub and change this line:

GRUB_CMDLINE_LINUX_DEFAULT="verbose elevator=deadline root=/dev/sda2 rootfstype=jfs"

And change your fstab to something like this:

/dev/sda2   /   jfs   rw,discard,noatime  0  1

Create your grub.cfg

# grub-mkconfig -o /boot/grub/grub.cfg

Install your grub

# grub-install /dev/sda

Type efibootmgr and see your boot options, delete whatever boot extras there. After that, add your linux entry there:

# efibootmgr -c -d /dev/sda -p 1 -l /EFI/arch/grubx64.efi -L "Arch Linux"

Now see the number of your new entry:

# efibootmgr
BootCurrent: 0000
Timeout: 5 seconds
Boot0000* arch <- This is my pendrive
Boot0001* Arch Linux <- This is the entry I've just created
Boot0082*

Now lets fix it:

# efibootmgr -o 0001

Don't reboot yet.
In /etc/pacman.conf, uncoment multilib, you'll thanks me later
Add archlinux.fr at your servers (or install aur by hand, it's your choice). To use archlinux.fr, add this lines at the end of your /etc/pacman.conf

[archlinuxfr]
SigLevel = Optional TrustAll
Server = http://repo.archlinux.fr/$arch

Sync and install yaourt

# pacman -Syu yaourt

Create your user and su - (and put a password in your user, if you still didn't do it yet)
Install the infamous broadcom driver:

# yaourt -S broadcom-wl-dkms

And finally, put network manager and your favorite xdm on systemd:

# systemctl enable NetworkManager
# systemctl enable gdm

Don't forget to add your user to any related group that you need before boot.
Also is nice if you want to use an encrypted home to set up right now.

Continue reading here.

8/27/2013

VPN L2TP without IPsec: how to share the love beyond the OS limits

Well.. I know that this will be possible using OpenVPN but... I need to deal with users, and you know how limited users are.. Also, PPTP is compromised since some time ago, and the options are turning dark.
But I needed a VPN solution, and fast. At least temporary so I can think about in something else later. So I choose L2TP since is easily to configure in windows and.. you know how "clever" windows users use to be.. :D

Well. after the configuration in my work's pfsense and testing in my windows vm, I need to test on a Mac OS X cause some people in my work have Macbooks.. so I discovered that MacOS (ATM) only accepts out-of-the-box Cisco IPsec, PPTP and L2TP+IPSEC. Apple please...

Well, nothing is lost, just open Terminal.app and do this:

echo "plugin L2TP.ppp" > options
echo "l2tpnoipsec" >> options
sudo mv options /etc/ppp

And voilá, now your mac can connect to a goddamit L2TP without IPsec.

Obs: I don't know how much I can trust in L2TP but...

Source: Pandapow

8/21/2013

WCH341 USB Serial Converter for OSX

WCH341 is a quite nice (and cheap) USB adapter (I got one by almost 3USD). Works perfect in Windows and Linux, but for mac it's another story…..


After lots of searches and drivers, I found this guy .


Note: Isn't a driver, it's a software that can connect using your cable, but don't worry, the software is very nice and works perfect.


Also, the developer is a nice guy and answer my mail quite fast when I had a problem with the last version. Thanks Aaron.



Royal TSX

If you're searching for an application to manage all your connections (rdp, vnc, ssh, etc) in one unique place, Royal TSX is for you.


It's not free, but there's some advantages that make the cost:



  • Manage almost all types of connections (RDP, VNC, SSH, Telnet, etc)


  • Save groups by files, I mean, you can save each group of settings, for example, by company name. Perfect for me as consultant.


  • Save credentials, so you can use the same credential with lots of different servers without type all the credentials all the time.


  • Tabbed Interface.


  • A huge load of plugins, and you can also use your native stuff (like native RDP software, etc).


  • Collaboration credentials (when needed)


The paid version is 35USD each, but the bundle (OSX + Windows) is 54USD (at this moment). But you can still use the software for free forever but with some limitations (10 connections, etc). There's also an IOS version, but I didn't tested cause I don't have any IOS device (fortunately :P).


Quite impressive piece of software.



1/03/2013

Preparing gentoo for building android

That's right, I see lots of documentation for ubuntu and many other distributions and none exactly for gentoo, and seems I like to work with some crossdev, I'll post instructions for preparing your gentoo for that:

First of all, you need some packages (ok, if you already have some of these, you can skip them):


# emerge -pv git gnupg flex bison gperf libsdl wxGTK squashfs-tools curl ncurses zlib schedtool perl-Switch zip unzip

For 64bits systems, you need a little more

# emerge -pv emul-linux-x86-baselibs emul-linux-x86-compat emul-linux-x86-cpplibs

Note: I don' t know if cpplibs are really necessary, but I'll let here.

Make sure you' re using python 2.x instead of 3.x when you're about to compile

# eselect python list

Available Python interpreters:
  [1]   python2.7
  [2]   python3.2 *
# eselect python set 1

Download the repo utility. I'll install in /usr/local/bin, but you can use in ~/bin if you prefer:

# curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > /usr/local/bin/repo
# chmod 777 /usr/local/bin/repo

Now you're able to start syncing the source:

$ mkdir ~/Devel/Android && cd ~/Devel/Android
$ repo sync

From here you'll know what to do. :)




7/10/2012

Another dumb company

As other companies (not only in Brazil, but in several countries), SMTek seems to not respect GPL. When I ask to Evertek about the kernel source, they said "We do not give this type of information".

Congratulations to all shitty companies that disrespect laws and licenses. Companies of this type (directed by children) must learn a lesson or two, and for fucks sake, disappear from market to dust.

And congratulations to all brazilians that makes this possible, to give your thumbs up for companies like this (isnt the first time I see brazilians giving support for this type of trash). Also, who cares? Since it's simple to read the big difference between brazillians that doesn't even care to read a shit and xda-developers.com for example?

Edit: Now I'm a proud owner of Galaxy Tab 2 7", and with him i'm able to even make my own kernel. That's all

6/06/2012

CyanogenMod 9.0 Nightly and AOKP for GT-7200

I know GT-7200 comes already with ICS, but with my long experience seeing manufacturers bloating the stock rom with unwanted and sometimes system applications you can't install (in fact, you can, but sometimes they're attached to some framework and if you uninstall, you can mess up everything), I search for a custom rom for this tablet.

Updated 2012/06/28 - This procedure now is AOKP Compatible too.

Read this first:

Disregard stupid people saying stupid things without the minimum necessary knowledge to judge, I'll put here some pro and cons to use cm9 instead the stock one:

Pro:
* REAL GOOGLE APPS EXPERIENCE. Because Genesis just cut off part of google apps without any reason (faceunlock and gtalk are good examples). I've tried to figure out how made it work with stock one, without a minimium success. And yes, even video chat in native google talk works. And no, I don't want to use any 3rd party applications, since I only use gtalk and the google one is a very good piece of software compared to the other solutions (memory use, etc).
* Better framework. If genesis provide the DAMN GPLed OPEN SOURCE KERNEL, I was able to tune, help fixing bugs or even more, but no, Genesis doesn't even answer the customers by mail when you ask for it. If you don't know what I'm talking about, read the license of the linux kernel.
* Specific tunings by Cyanogen. And I'm not talking about "overclocking" ANYTHING. You can tune a little, for example, the native governor installed doesn't have a decent scalation, so when you turn off your screen, you still wasting your battery. I have almost 2h more using CM9 than STOCK, if I had the kernel sources of this device, I'll be able to port smartassV2 governor, so will be another story, another performance and another battery life. But as I said before, Genesis doesn't give a fuck to licenses and doesn't even give a fuck to his customers (I've sended 10 mails, a friend of mine have sended 8, none has been answered), and the worse? Doesn't give a fuck to android community AT ALL, he just get the software, put in his devices and you must deal with this. Don't you believe, right? So wait for 4.1 for your device. Coby does exactly the same with his customers.
* Some graphic tunings, because AFAIK Genesis doesn't know his device is 3D capable, cause most of 3D features of this gpu was disabled by default in stock rom. The last stock update activates the 3D, thats funny, its the only real update.
* The original ROM is against ALL TYPES of standards. For example: Busybox, AOSP, etc.

Cons:
Maybe you'll be off the official support using this, but you can always turn back using your backup or flashing back a stock rom, so, isn't a con at all.

Btw, you don't need to use if you don't want it, so just stop speaking bullshit when you don't have the little knowledge to know what the fuck you're talking about.

Pre-Requirements:

* You need A10 CWM Recovery (you use that little button for stock recovery to navigate in options and power button to choose one, and remember to nandroid backup)

Howto:

* Boot to CWM recovery (there's many ways to do that, google is your friend)
* Wipe everything
* Install the main cm9 nightlies or AOKP (If you have some problems with the last build, get the 20120607 from here).
* Install Gapps
* Install my patch (updated with lots of fixed 2012/06/28)
* Reboot

Update: If you have some problems and need help, please provide a logcat (it's impossible to understand what is happening without a logcat).

5/29/2012

Android tunings

If you don't know what this means, it's not for you.

/system/build.prop


1. Network

Sometimes you feel your device a little "clumsy" depending your connection. I really don't know why this happens. For example, at home my wifi is ok, but in some others is different (with same routers). Or even worse, some differences from carrier to carrier, and I'm not talking about latency (and don't start talking about android quality of connection because I've already feel the same using an iPad).
Sometimes.. you know.. if you doesn't use a custom rom because you really believe that the manufacturer knows what is the best for your phone, I'm really sorry for you.
This settings will give you a little more latency, you need a little test to see if fits for you.

net.tcp.buffersize.default=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,16384,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,16384,256960



2. Image related

Some manufacturers thinks you like this type of garbage, you can optimize this:
This one give the full quality for jpeg images (yes, sometimes you're not using what your device is capable):

ro.media.enc.jpeg.quality=100

Disable this, unless you like the red borders for strict applications

persist.sys.strictmode.disable=1
Render UI with GPU (yes, sometimes isn't turned on)

debug.sf.hw = 1
Improve the scrolling response

windowsmgr.max_events_per_sec = 120
Disables the surface dithering (if enable will improve image quality, at cpu cost)

persist.sys.use_dithering = 0
Use hardware acceleration to render videos.

video.accelerate.hw=1

3. Battery Related

Do you know about governors right? I you know all manufacturers (including sw ones like google, unfortunately) thinks no one needs a DECENT governor on your device, so your battery will sucks big time.
There's some types of governors for almost all devices that you HUGE increase the battery life without making your device a garbage, like smartassV2, interactiveX and Drewi's ondemand. but… if you don't use a custom rom and thinks that your manufacturer is the god of devices, just stop reading already :D.
You have a custom kernel with a custom governor? Good! Did you use smartassV2? Very good. Now some minor tunings.

Decrease the scan time of the wifi (will not hurt):

wifi.supplicant_scan_interval=150
This will improve the "deep sleep", but depends on kernel in some way

ro.ril.disable.power.collapse=0

Increase battery saving

pm.sleep_mode = 1


/data/local.prop

Based on supercharger script (because not all supercharger script settings are good to everyone, Ive filtered the best compatible options):

Define the OOM adj values for the classes of processes that can be killed by kernel.

ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=3
ro.SECONDARY_SERVER_ADJ=5
ro.BACKUP_APP_ADJ=6
ro.HOME_APP_ADJ=1
ro.HIDDEN_APP_MIN_ADJ=7
ro.CONTENT_PROVIDER_ADJ=8
ro.EMPTY_APP_ADJ=15

Define the memory threesholds at which the above process classes will be killed

ro.FOREGROUND_APP_MEM=1536
ro.VISIBLE_APP_MEM=2048
ro.SECONDARY_SERVER_MEM=6144
ro.BACKUP_APP_MEM=6656
ro.HOME_APP_MEM=1024
ro.HIDDEN_APP_MEM=6656
ro.CONTENT_PROVIDER_MEM=7168
ro.EMPTY_APP_MEM=7680





init.d Scripts

Of course, your ROM must support init.d scripts

/etc/init.d/03kernel

#!/system/bin/sh
#
echo "3" > /proc/sys/vm/drop_caches
echo "20" > /proc/sys/vm/swappiness
echo "15" > /proc/sys/vm/dirty_ratio
echo "70" > /proc/sys/vm/vfs_cache_pressure
echo "3000" > /proc/sys/vm/dirty_expire_centisecs
echo "500" > /proc/sys/vm/dirty_writeback_centisecs
echo "3" > /proc/sys/vm/dirty_background_ratio
echo "2048,4096,51200,56320,61440,70400" > /sys/module/lowmemorykiller/parameters/minfree
echo "veno" > /proc/sys/net/ipv4/tcp_congestion_control

AIX Clone

Many people will already know how to do this, since there's some (huge) machines you need lots of AIX Virtual Servers, and of course, you'll not make thousands of installs (will you?).