miércoles, 28 de octubre de 2015

Phone data migration(export/import)

-Contacts from Android to BB10
-Notes from Noteeverything to DejaOffice.
-



Import contacts from Android

Notes for Kies:
-export to csv (only phone contacts):
field contents between quotation marks, and columns delimited by comma
Too many fields(all) are exported in a fixed order, and the first line the field name in your language
groups in 1st field an delimited by double semicolon
i.e "Group1;;Group2;;Group3"

-export to vcf(only phone contacts). 1 per file (will loss groups and extended information)
content of all vcf file can be joined in a vcf file using the msdos copy command

(only phone contacts). There is no reason to extract google account contacts as they are  in the cloud and there are other methods to do it.

BB Contacts Imp/Exp: requires a first line with headers, and it will map to BB contacts
BB Contacts Imp/Exp

-export to csv: field contents between quotation marks, and columns delimited by comma.
Number and position of fields is variable.

To know field names, you can create a dummy contact with enough information and export it to csv

Fields in the header of a csv file  exported by BB Imp/Exp:

"Name/NameGiven","Name/NameMiddle","Name/NameSurname","Phone/Home","Phone/Work","Email/Other","PostalAddressLine1/Home","PostalAddressCity/Home","PostalAddressCountry/Home","PostalAddressLabel/Home","OrganizationAffiliation/OrganizationAffiliationName"

Mapping CSV from Android with "Contacts Imp/Exp" headers from csv file.
Use a good spreadsheet software like Gnumeric or Libreoffice (avoid excel  because it cannot export properly)

Verification after export:
Check that long numbers i.e 420721958625 are not shorten to a form like xxxE+11 (another reason to avoid the use of Ms Excel)
Check numbers that phones beginning with a 0 have it
Check numbers with a country prefix +xx

Steps to convert:

From Kies csv file, remove as many columns as possible, generally normal users don't use more than 10 fields.
Groups: If you have contacts classified by groups, you can associate "Group" column from Android contacts to "OrganizationAffiliation/OrganizationAffiliationName" column in BB
If contacts are associated to multiple groups it, and you want to keep it, it would require more complex steps, before mapping if decide to kept only a group per contact and remove additional.



sábado, 3 de octubre de 2015

Best Software for Blackberry 10 (native and Android)

Natives or based in Android runtime.

Best of native apps/ports:
  Dejaoffice 2.4.5 (ported)
  GhostCommander 1.51
  No Tag Player (folder mp3 player)
  Flashlight Pro
  ContactsIm Ex
  Maxidict (native dictionary, free version only search in a startdict at time)
     (SD in /accounts/1000/removable/sdcard/documents/MaxiDict or any custom folder
     Y:\documents\MaxiDict)
  K9 5 (ported)
  Navfree /Navmii (maps based in OSM free maps) (ported)
  Q Browser (based in the BB browser and therefore a webkit flavour)
  BGshell
  LuckyPatcher 5.4.3(ported)

  Google services (patched by Cobalt)

Whatsapp(BB native, not working anymore)
SD\photos\WhatsApp\2017-xx


Best/Mustto (apk) from Android: (for more Android apps see Best Android apps)
   F-Droid
   Whatsapp(android)
       Media: SD\Android\WhatsApp\Media\WhatsApp Images
palmOS_styletap_android.png
   APK Permission Remover 1.3.3 (heagoo.apkpermremover)
   Palemoon 25.8
   Advanced Task killer 2.0.3 (rechild)
   Note everything
   Apk extractor
   MiniLyrics 1.0.18(from apk)
   KeepassDroid 2.0.3
   Applications info 1.5 (from F-droid)
   Amaze (opensource fileexplorer, app backup to apk) 
   Styletap (PalmOS emulator)
       \misc\android\Android\data\com.StyleTap.StyleTap\import




  fungipedia lite (mushrooms)
       \misc\android\Android\data\com.codewai.fungipedialite\files\galerias

  GPS-MAPS
Applications info (from F-droid)
   Wikiloc 2.7.1 (patched - requires Google Maps services)
     (\misc\android\wikiloc\offlineMaps)

   City Mapper (patched - requires Google Maps services)
   Moovit

   Triposo (download region info from wikitravel  to read offline, maps doesn't work)
   /mnt/sdcard/Android/data/com.triposo.droidguide.world

  Genius Maps (Navteq maps)
    (Format map .cpf, .ie.  spain_nt_2016q1_cell.cpf)
   W:\Arthur
   
  Mireo Dont Panic (tomtom2015)
(Format map .cpf, .ie.  spain_ta_201503_cell.cpf)
   W:\Dontpanic
   

 
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 Drivers    (to install drivers, Link and Blend) go to Computer, cdrom unit (folder .\Drivers)
  
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

     m_strSetMapPath=/../../../extSdCard/Sygic/Maps

   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


ROMs
Samsung ROM naming convention

B5330XXAL4 :
B5330(=model)XX(=Region)A(=Year)L(=Month)4(=Revision)
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)


YEAR CODES
K 2011
L 2012
M 2013
...

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

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


Root your device


Requirements:
Settings, Developer options
ON
USB debugging(Checked)


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

Check XDA developers for information and procedure
http://www.xda-developers.com/root/

Suggested Utilities:

Superuser
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 OS 10.x - System + Android runtime


Blackberry OS 10 in Classic device
HW Model: Classic - SQC100-1 (Q20)
HW: MSM8960 v3.2.1.1 N rev.11

Original soft release v.10.3.1.1779
   Soft release updated to  v.10.3.3.2137
                                         v.10.3.2.2474
                                         v.10.3.2.2836 

Original OS10 ver.  v.10.3.1.2576

Updated OS10 ver.  v.10.3.3.3216
                                 v.10.3.2.2639
                                 v.10.3.2.2876 
                          

3.5" 720x720 - 290.6 ppi
CPU: Qualcomm dual-core Snapdragon S4 MSM8960- 1.5 GHz Krait + Adreno 225 (GPU) (32bits core)
(Snapdragon S4/Krait is a ARMv7-A compatible CPU architecture,  armhf=ARMv7 )
RAM: 2GB of LPDDR2 SDRAM -16GB of built-in storage
MicroUSB - HDMI output (Slimport)
Nano-SIM
microSD up to 32GB

Battery 2515mAh 9,56Wh (SMD connector)

Android runtime. ver: 4.3



Unsupported APIs from JellyBean
https://developer.blackberry.com/android/apisupport/unsupportedapi_jellybean.html


Blackberry folders/paths

**Internal mem:**
/mnt/sdcard/ (Android runtime)
/sdcard (alias to /mnt/sdcard/)
/misc/android/
/accounts/1000/shared/misc/android (BB filesystem):

**Android folder  in internal mem**
/mnt/sdcard/Android  (Android runtime)
/misc/android/android (alias to /mnt/sdcard/misc/android/android)
/accounts/1000/shared/misc/android (BB filesystem):

**external/SD card memory:**
/mnt/sdcard/external_sd/  (Android runtime)
/accounts/1000/removable/sdcard/ (BB filesystem):
 Specific examples of folders:

/mnt/sdcard/external_sd/camera (Y:\camera)
/misc/android/    (used by Adobe PDF)
/misc\android\com.fsck.k9 (k9 settings)
\misc\android\MapsWithMe\150805 (MapsWithMe maps)

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


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

0- (just if you are cleaning an used phone)

settings;security and privacy, security wipe
1-

Autoconfiguration for provider
Configure wifi, Bluetooth device name

Step create a Blackberry account for Blackberry world  
    Install ContactsIm Ex
      Play cloud (native file manager)
      BG-SSH


Install Google services (optional)




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

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


Name of basic keys
KEY_PLAY
KEY_STOP
KEY_PAUSE
KEY_ENTER
KEY_LEFT
KEY_RIGHT
KEY_UP
KEY_DOWN
KEY_MENU
KEY_EXIT
KEY_FORWARD
KEY_REWIND
KEY_SUBTITLE
KEY_MUTE
KEY_FASTFORWARD

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
gpio_in_pin=18

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



Files
My example file, generated with several TV handlers in raw mode(-f)
lircd_nevir.conf
lircd_ansonic.conf





jueves, 29 de enero de 2015

GEL Scripting -



 GEL (Generic Execution Language) is a scripting language over XML, and based on the Apache Jakarta and Jelly libraries


This script code can be executed from Process actions (Custom Script) or from the command line (though few people use from CLI).

Basis:





Notes for SQL:

Be careful with SQL symbols < > inside GEL code, because cos they will be interpreted by gel interpreter,
replace by BETWEEN

<![CDATA[  my_SQL_queries ]]>




Differences between GEL for Clarity and Command-line:
in Clarity:


in CLI:
    "Total: " ${myrow[0]} 



Beginning of GEL script

log - ${texto_esf_est} ${texto_fechafin} ---

Definition of  libraries:
This is the most common lines for libraries definition

            xmlns:core="jelly:core"
            xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary"
            xmlns:pbk="jelly:com.niku.pbk.gel.GELTagLibrary"
            xmlns:sql="jelly:sql" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">



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 :)
beos














Licencia CC.



lunes, 12 de enero de 2015

My best opensource IT resources

Free and Opensource resources (updated on 2023)

 

Useful "open" resources that i use frequently  when I am creating creative commons or opensource content/products


Icons/cliparts

https://icons8.com

Useful for small icons (i.e for a smartwatch), not opensource but free just adding a reference link.

"Established open-source projects could receive the icons for free. For you, we'll open-source the needed resources."
 

 https://www.iconfinder.com/icons

 Sizes and formats: PNG, SVG, ICO, ICNS. Every icon includes info about its license

 

 PICOL icons (SVG or in a font type)
PICOL, PIctorial COmmunication Language

http://openiconlibrary.sourceforge.net/
https://openclipart.org
Each artist at Openclipart releases all rights to the images they share (Creative Commons Zero 1.0 Public Domain License)

http://p.yusukekamiyamane.com/
map icons
http://mapicons.nicolasmollet.com/
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

An interesting article:  free-fonts-free-is-not-always-free

Free as Freedom
 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.

http://openfontlibrary.org/en/catalogue?view=sentence

Following free fonts include IPA Phonetic symbols:

CharisSIL-5.000.zip
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

Free as free beer
http://www.1001fonts.com/free-fonts-for-commercial-use.html



Howto use new fonts in Windows without administrative rights.
i.e
D:\Ejecutables\LibreOfficeportable\Data\fonts

http://www.pendriveapps.com/search/Boot+It

Media


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

Software

http://portableapps.com/
http://sourceforge.net/
F-Droid (Android)
https://f-droid.org/repository/browse/