Mittwoch, 17. April 2013

ArchLinux: Setting MTU with netctl

First things first: I'm using a router from my internet provider...
After migrating my wireless connection management on my laptop from wicd to netctl, I felt a huge drop in throughput. I saw that my network adapters were using the default mtu of 1500. And then I remembered, yes, wicd has had a nice box to enter a custom mtu.

After some searching I found out, that netctl can handle custom mtu configurations as well. The 'ExecUpPost' entry in a connection profile handles this. Here's the simple WPA2 profile that I'm using for my home network (check out the line printed in bold letters):
Description=Home Wifi
Connection=wireless
Interface=wlp3s0
Security=wpa
IP='dhcp'
ESSID=my_network_name
AP=74:31:70:A1:3F:51
Key=\"xyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxyxy
ExecUpPost='/usr/sbin/ip link set wlp3s0 mtu 1492'

I'm sharing it here, in case
a) anyone else encounters the same problem and
b) I forget again, how to set it

Enjoy.

Dienstag, 22. Januar 2013

Primerunner download links

mako build 2013-02-11:


[*]probably fixed: navbar (lights out mode) button margins
[*]QS: dedicated drawable for screen-off tile
[*]QS: use old drawable for ringer_mode: vibrate
[*]settings: translations for Quiet Hours (de/fr/it/es/nl/pt, partly done by buddahlou)
[*]framework: translations for powermenu (de/fr/it/es/nl/pt)
[*]feature: hide usb debugging symbol (switchable in dev settings)
[*]fixed: pressing of volume btn doesn't wake device anymore
[*]fixed: menu button in landscape now has a proper blue icon
[*]build: speed up build, omit signing the update.zip
[*]change: stock blue navbar icons as default (consisten look until statusbar theming is complete)
[*]feature: allow user-installed apps to be deactivated
[*]media: new wallpaper by me ;)
[*]probably something I've forgotten
[*]more detailed informartion as usual on my [URL="http://gitorious.org/primerunner"]gitorious project[/URL]

grouper build 2013-02-11:
Mirror: Mega


maguro build 2013-02-11:
Mirror:Mega



mako test build 2013-02-07:* feature: quiet hours* fixed: quick settings landscape

Mirror: Mega
Mirror: Dropbox

mako build 2013-02-04_r2:
Mirror: Mega
Mirror: daten-hoster.de
Mirror: Dropbox (please try one of the other mirrors first)

grouper build 2013-02-04_r2:
Mirror: Mega

maguro build 2013-02-04_r2:
Mirror: Mega

mako build 2013-02-04:
Mirror: Mega
Mirror: Daten-hoster.de

mako build 2013-01-03: 
grouper build 2013-01-03:
Mirror: Mega

maguro build 2013-01-03:
Mirror: Mega

Montag, 24. September 2012

Mods for RasBeanJelly

The following mods should work with stock RasBeanJelly. Taken from my own AOSP derivative "PRIMERUNNER", based on Rascarlo's work.
Current releases are for Maguro only. Grouper will follow if spare time is available.

I've made some flashable zip files. Should work flawlessly. Nevertheless I advise you to make a backup before trying these out, just in case.

Features:

  • based on the current RasBeanJelly release (watch the date in the filename)
  • stock navigation bar customization thrown out of the source
  • navigation bar size slightly decreased
  • adaptive navbar layout, switches automagically from stock 3-button to 4-button (Nexus One style)
  • support for TrackballAlert added in
  • statusbar clock hidden (just in the top right corner, NOT that one in the notification drop-down)


Screenshots:

From Freerunner's AOSP From Freerunner's AOSP From Freerunner's AOSP


Downloads:
RasBeanMods@MediaFire

Freitag, 1. Juni 2012

Primerunner AOSP build


Hello world,

progress on my custom AOSP rom (Primerunner) continues well and I learnt a lot. I'm working on it for three days now and finally got TMobile's Theme Engine integrated today. This is very important for me because there is not really any rom available which is close to stock and lightweight at that point of time.
The more I search for a rom that offers this, the more silly CyanogenMod and AOKP 'fullstory spins with a fancy name' I encounter, and that's not what I want to run on my phone. (If I would, I'd rather flash the original - I've been running them both for a long time and they're really great roms indeed).

The closest roms that do what I want, are Pete's Bugless Beast and Rascarlo's Rascream. But unfortunately, they don't come with the possibility to switch themes like the both big ones.
So I decided to do it myself  :-)
Rascream is more recent but I couldn't find its source repo, so I based my work on BB (Pete has done a great job there and made it really easy to hack on - I thank him for that).

Back to topic:
I'm very confident to push an alpha out to my testers soon, if initial testing by me has been done. I'm also willing to deploy the code on my github repo when it's in a state where it's not that embarrassing for me if it's seen by real coders...  ;-) After all, I'm just working in the mechanical branch.


Here are some shots of the first official alpha build, running with a Trinity kernel and showing off some themes from Sonny Sekhon:

From Freerunner's AOSP
From Freerunner's AOSP

From Freerunner's AOSP

From Freerunner's AOSP

From Freerunner's AOSP

From Freerunner's AOSP

Samstag, 12. Mai 2012

Carbon-look background



A small gradient mod (yay!):

As ever: Always perform backups!

This metamorph/ZipThemer-compatible zip-file provides everything you need to replace the ugly stock gradient shown in Android 4.0.x to a shiny carbon-look one.


gradient-holo_carbon


Downloads:

Montag, 16. April 2012

RAScream Navbar Hack


I made the following zip for Lichti1901 on XDA:

As ever: Always perform backups!

This update.zip brings a modified framework-res.apk for RASCREAM_04-11-12. It includes a navbar size hack for both portrait and landscape view. With 36px (portrait) and 30px (landscape) I would call it "medium flavor". :)




Downloads:

Generic: GPS Fix for European users



I made the following zip for my friends and me.

As ever: Always perform backups!

This update.zip brings a modified gps.conf, tweaked to use European ntp time servers instead of the North American ones. 


Downloads:

NexusPrime/Trinity: increased voltages



I made the following zip mostly for myself. My phone is not capable of running the 691 & 921MHz steps with the default voltage settings.

As ever: Always perform backups!

This update.zip brings an init.d script, which increases the voltages on said freq steps by 25mV. In addition to that, the minimum frequency (345 MHz) gets pushed by 50mV to compensate data loss in conjunction with my SmartReflexDisabler-Script.


Downloads:

Mittwoch, 11. April 2012

NexusPrime: SmartReflex Disabler


I uploaded a handy script here - packed in a CWM-flashable zip -  in hope that it doesn't get lost during hasty crackflashin'

As ever: Always perform backups!

This update.zip brings a sysfs command which completely disables SmartReflex on boot. It allows us Overclockers/Undervolters to set fix voltages per frequency step. In addition it's a nice workaround for the "data-loss-bug" introduced in AOSP 4.04 ;)


Downloads:

Samstag, 10. März 2012

Generic: Low-latency kernel settings

Here are some tiny flashable kernel tweaks I made for my friends and me!

Always perform backups!

My Tuner.zips don't replace your existing kernel or parts of your rom on your smartphone. They just provide some config files for slightly alterating the default virtual memory managment and process scheduler settings. Initial testing has been done on a Nexus Prime, an Optimus 2x and a GalaxyS2 but it should work out well on any other device, too.
These are intended to optimize responsiveness for unoptimized stock kernels.



Downloads:
Example:
Owner of a Nexus Prime running a custom kernel like Trinity or Franco -> not necessary, simply don't use it
Owner of an Optimus 2x / Tegra2 based device -> your governor is proprietary, always use 'without'
Owner of a Samsung GalaxyS2, DesireHD with stock CM7/9 -> use 'with'


Please note that the gps.conf, modified for users in Europe has been moved into a seperate update.zip!

older versions:



Leave me a comment, if you like or dislike it or if you encounter any problems! :)


-