sábado, 3 de octubre de 2015

Software for Blackberry 10

Natives or based in Android runtime.

Best of native apps/ported:
  Dejaoffice 2.4.1 (ported)
  ContactsIm Ex

Best of Android:
   Note everything
Configuring BB10/Software:
Import contacts from .vcf or .csv file using "ContactsIm Ex"
    (clean android contacts with Kies)

Import DejaOffice db  (from android)
   send or copy backup file from Android /clusb
   to device/misc/android/clusb/
   rename or delete companionlink.db (Dejaoffice must be closed)
   rename backup file (companionlink2015-xx-xx).db to companionlink.db

Note everything
  How to install "Note everything" keeping folders/categories (!)
     copy folder /noteeverything/backup from Android to device/misc/android/noteeverything
      install "Note everything" apk, app will detect previous backup in the folder and will ask for a restore

(!)     (Note: addon pro 2.5.1 doesn't work with Blackberry so backup functions cannot be used and expert to textnotes and import losses folder/categories)

    If notes are not classified, following method is OK
       in android "Export textnotes to SD"
      copy folder /noteeverything/text from Android to  device/misc/android/noteeverything
      Import, Mass import from SD-card, choose previous folder

Install Drivers on PC

Connect to PC     
    Access to SD     (to install mass storage drivers)
    Install to SD     (to install drivers, Link and)
Backup of BB configuration with Blackberry Link


Issues with:
   Wikiloc (as it need google play services, Accept to download them but it fails)
   Goldendict  pro  (as it need google play services, there is a 10 seconds lag) 

   Sygic 14.3.4 (maps 2014.0x)
    by default resources (storage/sdcard0/Sygic)
   From Android, zip the folder "/storage/sdcard0/Sygic"
   Unzip to: /mnt/sdcard/Sygic


   Here save maps to PC
    on Android, rename folder that is removing dot symbol from beggining of filename in order to do visible the hidden folder
   From PC copy the folder
   on Android, rename previous folder adding the  dot symbol at beggining of filename

sábado, 12 de septiembre de 2015

Android: ROMs - Root - Utilities

Samsung ROM naming convention

B5330XXAL4 :
XA Austria, France, Germany, Italy, Netherlands, Switzerland, United Kingdom
XW France, Germany, Italy, Netherlands, Portugal, Spain, Turkey, United Kingdom
XX Austria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom

ALI4=Android 4.0.4 ICS (2012/9)
BMC2 =Android 4.1.2 JellyBean (2013/3)
BMD2= Android 4.1.2 JellyBean (2013/4)

K 2011
L 2012
M 2013

A January
C March
E May
G July
I September
K November
L December

1 = 1
2 = 2
A = 10
B = 11
C = 12

Root your device

Settings, Developer options
USB debugging(Checked)

App to verify:
root verifier (install from F-droid)

Check XDA developers for information and procedure

Suggested Utilities:

F-droid 0.76
OI Explorer 2.03   (Free File explorer, not root)
Ghost commander 1.52.2   (Free Advanced File explorer, apps,...)
All-In-One Toolbox 1.5  (processes, cleaner, app2sd, filemanager)
BusyBox Pro v19
APK extractor (free  - extract apps to apk)

Root verifier (free)(com.abcdjdj.rootverifier)
Root checker (burrows.apps.rootchecker)(with ads, required google services,  good info about system)
Super user (com.noshufou.android.su)
Disk Usage (com.google.android.diskusage)(free)

(Useful but not free as free beer or freedom)
System Tuner Pro  2.1.2 (tasks, root uninstall system apps, terminal, startups,)
Android tuner 0.12.9 (root, uninstall user apps, many tools, root explorer, terminal, firewall,startups,..)
Root Software

ROM Manager 5.5 (free includes ads)
 install ClockworkMod
 ROM download, backup, restore, fix permissions...

lunes, 7 de septiembre de 2015

Blackberry 10.x + Android runtime

Model: Classic - SQC100-1 (Q20)

BB soft v.
OS10 ver.  v.
Updated to  OS10 ver.  v.
3.5" 720x720 - 290.6 ppi
CPU: dual-core Snapdragon S4 MSM8960- 1.5 GHz Krait + Adreno 225 GPU
RAM: 2GB of LPDDR2 SDRAM -16GB of built-in storage

microSD up to 32GB

Android ver: 4.3

Unsupported APIs from JellyBean

Blackberry folders/paths

/sdcard (alias to /mnt/sdcard/)
/misc/android/  (alias to /mnt/sdcard/misc/android/)  *

* All Android apps, even those ported to BB10 save files to this path

Configuring a BB from the very beginning
(avoiding any cloud service)

Autoconfiguration for provider
Configure wifi, Bluetooth device name

Step create a Blackberry account for Blackberry world  
    Install ContactsIm Ex
    Install Whatsapp

Glossary/PC software
Blackberry Link:
Sync multimedia and move files, documents,...
Restore factory configuration

Blackberry Blend:
Manage and interact with your BlackBerry device from a computer via usb or wifi

Utility software for PC (Win, Mac, Linux) Firmware, Backup,...

Snap (.bar)
Free Google Play client, requires sideload.

DDPB (PC, Req. Win, .NET, Java )
App for sideload





viernes, 19 de junio de 2015

IR Remote - Configure any TV Handler

IR receiver Pinouts
IR diode/receviver - VS1838B (1838 requires a resistance between Vcc and Signal)
1 -Left - Signal/Out
2 -Middle - GND

3 - Right  - VCC+(3V)

Xinda board with a 1838B (top view) (this board includes a resistance and a led)
1-Left – GND-
2-Middle – VCC+ (3V)
3- Right – Signal/Out

38 kHz carrier frequency
Most IR remote controls use the 38 kHz carrier frequency.

Name of basic keys

List more names of KEYS with:
irrecord --list-namespace | grep KEY

From SSH

(if lirc is executing, stop it with
 sudo /etc/init.d/lirc stop)

irrecord -d /dev/lirc0 /home/pi/mi_mando_tv.conf

irrecord -f -d /dev/lirc0 /home/pi/my_nevir_tv.conf
(-f for raw mode; it was required for my tv handler. it writes more hex codes for each key) 
(irrecord will ask to press many buttons, have patience because it is a quite boring process, after it it will ask for KEY names, enter a previous keyname, press enter, press key in IR handler.)

cp my_nevir_tv.conf lircd.conf

From RaspBMC/Openelect GUI(GUI Graphical User Interface)

 If using RaspBMC, from Menu enter in "Raspbmc Settings", "IR Remote"
Then, verify following options.
"Enable GPIO TSOP IR Receiver" must be enabled
"GPIO TSOPremote profile"=Custom
and it will detect a new lircd.conf file and will ask for reboot. Select "Yes"

From RaspBMC/Openelect GUI(GUI Graphical User Interface)

 If using RaspBMC, from Menu enter in "Raspbmc Settings", "IR Remote"

From OSMC(GUI Graphical User Interface)

By default, it is enabled
Verify from:
"Pi Config"; "Hardware support";
Enable LIRC GPIO support=yes

From  "Remotes", "Browse" and load a config file

My example file, generated with several TV handlers in raw mode(-f)

domingo, 26 de abril de 2015

Android apps Analysis

Internet browsers:

Browser - Version - App file size - RAM used*
-Atlas - 1.30 MB - 40 MB
Desktop/Mobile mode, no autostarts, content filter, works with m.youtube. Has an "Exit" button
-CMbrowser 5.1.80 - 4.29 MB -50MB
It requires few rights and has few autostarts. Works with m.youtube. Also has a "Quit" button
-Firefox 34.0.1 - 41.33MB -88MB
Opensource and powerful but too heavy, moreover it autostart after too many events. it has not an "Exit" button. Available at F-droid
-Lightning - 4.30MB -36MB
Opensource and very light, it requires standard rights. works with m.youtube. Available at F-droid (acr.browser.lightning)
-Opera v14.0.1 (last browser with an Opera engine)
-Opera Mini 8.0.1807 - 5.57MB -26MB
It requires few rights and has few autostarts, moreover it is removed from memory when it is not used.

-UC browser 10.4.1 - 37.83MB
Trustfulness behaviour, it has an "Exit" option but it doesn't work as expected, and it keeps process on memory and even  open TCP/IP connections, why? where?  I consider too dangerous a software with this kind of behaviours.

Internet browsers Notes:
-* Approximated Memory used when  loading m.wikipedia.org
-Firefox for Android/Fennec (APKs)

miércoles, 28 de enero de 2015

beOS - una opción a la sombra

Articulo publicado en Guía de ocio en Asturias nº29 (2ª quincena Abril 2004)

A veces haciendo limpieza en un disco duro uno se encuentra cosas, que dependiendo de la cantidad de años pasados pueden ser más o menos interesantes :)

Licencia CC.

lunes, 12 de enero de 2015

My best opensource IT resources

Free and Opensource resources

map icons
www.flaticon.com  (All or many with Creative Commons license)

Photos and icon/vectors...

http://www.freepik.com  (Mix of Commercial and and license info linked to author page)

Typographic Fonts
 SIL Open Font License (OFL) is a free, libre and open source license specifically designed for fonts and related software based on our experience in font design and linguistic software engineering.


Following free fonts include IPA Phonetic symbols:

Download "DoulosSIL-5.000.zip"
Notes about free fonts and compatibility with non free fonts:
Liberation Sans  - Arial

Liberation Serif  - Times New Roman
Liberation Mono  - Courier New

Howto use new fonts in Windows without administrative rights.



Wikimedia Commons
https://commons.wikimedia.org  (a huge database of  freely usable media files)

F-Droid (Android)

martes, 16 de diciembre de 2014

Android free of Google/samsung limitations

People trusted in Google because they were afraid of  Microsoft and Apple behaviour.

Having Linux inside of the Android base seemed to be a good point in order to feel free and  many IT professionals, gurus and some even free software fighters were in the first line of the Android army.

However applications for Android are not Linux compatible apps but a Java flavour apps, thus existing free apps for Linux, Maemo,... will not be easily ported to Android.
Furthermore accessing to the Linux layer and its services requires to root the device thus root your device should be a "todo" but it is not always easy and with no risks :(

Even very recognized organizations such as FSFE suggests to root Android

It is a pity that other operating system were not promoted, or bought by the community

An example of these better OS are:
  • Maemo, Meego,Mer  real linux environments and able to run linux compatible code
  • WebOS(from Palm) OS based in linux and apps based on HTML5/Web application

Now, the alternatives to Android/iOS/Windows comes from:
  • Jolla and its SailfishOS,  a phone created by some of the Nokia people, compatible with Linux code and QT SDK. Also able to execute Android apps
  • Firefox OS.
  • Blackberry  and BB10 OS based QNX (linux flavour), and probably the only alternative to phones based in a 100% touchscreen. Apps based in C++/QT, HTML5,...and also able to execute Android apps via the included "Android runtime"

After this overview of current mobile phone scene, see below how to fight against the many lacks of Android:

If you are going to buy an Android phone
Buy a device from the following list of phones with a procedure to root

Avoid using Google Play and use F-Droid repository as much as possible
  Settings, Security, (Device Administration), Unknown sources (check)
F-droid  It can be done even with a device not associated to a google account
  https://f-droid.org/   and install apk from the Interner browser.

Reset your device
  If you feel that you don't have the control of your device, maybe you installed many apps from google play with 'abusive licenses' and too many rights
  Settings, Backup and reset, (Personal data), Factory data reset
Configure your Android for standalone use (avoid google cloud,etc)
   There are 3rd party software better than that included in Android
      Offline GPS/Maps(OSMAnd, Navit, Sygic, Tomtom..)
      K9 Mail 

Check and Disable things from Google Settings 
Open "Google Setting" app and check all sections.
from Security, disable "Verify apps" (optional)
from Location, disable "Access location"

Disable Location services
 in Settings, Location Services,
   Disable/Uncheck "Location and Google search"  
   There are 3rd party software for GPS and maps such as sygic
   Furthermore you can still using google maps entering your position manually
   and even you can disable it, and enable it only when you need it.

Checks running services/processes
Control what is happening ak paranoiac mode

 from Settings, Application manager, Running, "Show cached processes"
    Google play services(launched by apps)
       Google Analytics services
    Factory mode (required)
    Exchange services (required by SMS)

 from Settings, Application manager, Running, "Show services in use"

Stop apps/processes
Once you know what apps are being executed
from Settings, Application manager, All,

select app and Click "Force Stop"

Disable built-in apps or remove if you are root
from Settings, Application manager, All

-ChatON (Samsung)
-Game Hub (Samsung)
-Gmail (optional)
-Google .... Sync
-Google partner Set up

-Google Play Music and Books
-Google Search
-Picasa Uploader
-Samsung Account
-Samsung AppsUNA2
-Samsung Backup Provider

-Samsung ......Sync
-Samsung Cloud data relay
-Samsung Push services
-Samsung Browser
-Software update (if you are not expecting a new update)


execute free app "Autostarts", and check sections:
 "During Startup", "After Startup", " Wi-Fi state changed", "Power connected", "Connectivity changed",..
(to  disable them, root is required)

execute free app "OS Monitor" to display Android/linux processes, TCP/IP open connections,...

martes, 4 de noviembre de 2014

Deploying OS on Rasperry - partitions, filesystems,...

From my point of view, the default raspberry OS images or installation scripts, lack of some useful features, such as:

Deployment from and image
-a bigger fat partition (useful for data exchange; it able to insert this SD in a Windows computer and copy files there)
-additional partition for  data  (having system and data separated, it is possible to have smaller backups containing only system partition)
Deployment from a installation script
 - OSMC (installation script, creates a
     a 1st partition of 242MB FAT32-LBA
     a 2nd partition using the rest of the SD.

So, we can improve the default deployment with the following solutions:
  1. Deploy the standard image on a bigger SD card (default)
  2. Deploy the standard image on a bigger SD card and resize partitions (gparted)
  3. Manual method 1
  4. Manual method 2
    1. Deploy standard image on a bigger SD card
    2. Resize ext partition (decrease from begining) in order to free space after the fat32 partition
    3. Copy or pack (tar) files from fat32 partition
    4. Delete fat partition
    5. Create a new fat32 (lba) partition with desired size
    6. Paste, untar files on fat32 partition

Some examples


fat32 1GB(boot+media)
ext4 7GB(system+media)

SD 16GB 
fat32 8GB(boot+media)
ext4 8GB(system+media)


SD 16GB 
fat32 1GB(boot+media)
ext4 7GB(system)
ext4  8GB(data)

Partition backups on images

Backups to image can be done at partition level, using dd command or graphical tool (i.e Disks in Ubuntu)
To restore an image containing a partition, you have to create a partition on destination disk.
If you are using "Disks" and image size and destination partition have not the same size, it will alert you but don't worry it works.

Checking content of images

sudo fdisk /media/midisco/raspberry_cosas/OpenELEC-RPi.arm-4.0.5.img

Resizing OS from an image


In theory with gparted it is possible to resize fat and ext partitions but it

sometimes can have problems resizing a  fat32 filesystem, it means that partition have desired size but filesystem and available space still having the original size.
-usually works fine with ext2, ext3 partitions

Manual method for fat32 partition

dd partition1(fat32) on a disk

Copy or pack (tar) files from fat32 partition
Delete partition
Create a new fat32 (lba) partition with desired size
Paste, untar files