You are currently browsing the archives for the “Geek” category.

Il glorioso Toshiba Satellite U305-S7467

April 4, 2017 // Posted in Geek  |  No Comments

Ecco il Toshiba sventrato durante la sostituzione della ventola

Spesso abbiamo parlato su questo blog del glorioso Toshiba Satellite U305-S7467 (vedi qui, qui, qui e qui), comprato da Fry’s quasi dieci anni fa, durante l’ultima permanenza in Silicon Valley della componente maschile adulta di casa sacchibelli. Ne abbiamo parlato per questioni software (ci abbiamo installato svariate versioni di linux) e per questioni hardware (nonostante piccoli interventi, come la sostituzione della tastiera e del lettore DVD, il notebook ha retto bene). L’ultimo (fastidioso) problema hardware e’ stato quello relativo alla rumorosita’ della ventola di raffredamento della CPU, diventata estremamente rumorosa. Cosi’, pur essendo la sostituzione della ventola un’operazione complicata (bisogna smontare tutto il PC, compresa la scheda madre), ci abbiamo provato, e con l’aiuto del buon Maurizio, la nuova ventola (costo 12 dollari) e’ stata installata, e il PC e’ ripartito senza particolari problemi.


We often mentioned the old PC Toshiba Satellite U305 that the adult male component bought roughly 10 years ago at Fry’s, in Silicon Valley. It is hard as a rock, and although we had to change few things (keyboard, DVD) it works very well, and fast. Recently it started to be very noisy, because of the broken CPU fan, and although to replace it with a new one is a very complex operation, at the end, with the help of Maurizio, we did it. And now everything works very well….

Lineage OS 14.1 on Moto G 3rd gen (osprey)

February 12, 2017 // Posted in Geek  |  No Comments

Here Android 7.1.1 running on my Moto G 3rd gen

Although Android 6.01 running on Moto G (3rd generation) is clean enough, the adult male component of sacchibelli’s family decided to hack his mobile phone to enjoy the new features of Android 7 (aka Nougat), in its stock version, without any addition or customization provided by Motorola or anyone else. This is now possible thanks to the team of Lineage OS, the former CyanogenMod custom rom providing the original flavor of Android OS. Here I listed the procedure I followed: it is a bit tricky and a bit risky too. A PC (in this case running Windows, but this is not mandatory) and a Moto G (3rd generation, 2015) updated to 6.01 is the needed hardware.

  • To install adb and fastboot driver on (Windows, in this case) PC
  • adb and fastboot are command line tools that allows to communicate with the mobile phone connected to the PC through USB
  • Download the .exe from https://forum.xda-developers.com/showthread.php?t=2588979
  • Install it on the Windows PC you are using to install Lineage OS on the smart phone
  • To unlock the bootloader of the phone (aka, to root the phone)
  • This is the step that makes your warranty void. A more detailed description can be found here
  • Download the most updated USB drivers for Moto G 3rd gen from here, and install them on your PC
  • On your Moto G, go to settingsAbout phonebuild nuber
  • Enable Developer options on your Moto G tapping build number 7 times until it says \u2018You are now a developer\u2019
  • Enable USB debugging on your Moto G, going to SettingsDeveloper optionsUSB debugging
  • Connect now the Moto G to your PC through USB cable; if any notifications about USB connection popups on your phone, please approve it
  • Open a DOS command window on your Windows PC
  • From here execute adb reboot bootloader to reboot your Moto G
  • After the Moto G has rebooted to bootloader mode, please execute, always from the PC DOS command window, fastboot oem get_unlock_data
  • A strange and long string like this one
    (bootloader) 0A40040192024205#4C4D3556313230
    (bootloader) 30373731363031303332323239#BD00
    (bootloader) 8A672BA4746C2CE02328A2AC0C39F95
    (bootloader) 1A3E5#1F53280002000000000000000
    (bootloader) 0000000

    will appear on your PC terminal
  • Rearrange it in a text editor removing the (bootloader) text and writing all the numbers and letters in sequence, in this way 0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000
  • Go now to this Motorola bootloader unlock page where, after logging in with your Motorola account, you can check if your device can be unlocked
  • Paste, in the appropriate field, the rearranged string you prepared in the text editor two steps ago and you will get an email with the bootloader unlock key written in upper case
  • Type now the following command on your PC command window, to unlock your phone: fastboot oem unlock UNIQUE_KEY
  • If no errors appears on your phone, your device is now unlocked
  • To flash a TWRP Custom recovery
  • This step, described in details here, allows you to install on your Moto G, the Team Wind TWRP Recovery, needed to flash then the Lineage OS custom ROM
  • Download on your PC the latest TWRP Recovery for your Moto G (3rd gen) from here, and open a command window from the folder where this TWRP Recovery has been downloaded
  • Type this command adb reboot bootloader to reboot your phone in bootloader mode
  • Type then this command fastboot flash recovery twrp-osprey-3.0.2-r5.img to effectively install the TWRP Recovery on your phone
  • Type then fastboot reboot to reboot your phone, once the TWRP recovery has been installed
  • Create a Nandroid backup
  • Before to go on, it is safer to create a Nandroid backup, using the installed TWRP Recovery
  • The Nandroid backup procedure is well described at this link: http://droidvendor.com/how-to-backuprestore-data-via-nandroid-backup-using-twrp-custom-recovery/
  • Eventually, install Lineage OS Custom Rom
  • This is the final step, with the installation of Lineage OS custom Rom on your Moto G (see here for more details)
  • Download, in your PC, Lineage OS 14.1 ROM for Moto G 2015 from here [Pick up the latest build]
  • Download, in your PC, Lineage OS 14.1/Android 7.1.x Google Apps from here, choosing ARM as platform, 7.1 as android, and stock as variant
  • Now transfer both files on your Moto G storage
  • Turn off your device and reboot into TWRP recovery
  • Select \u201cWipe\u201d from TWRP main menu and do a \u201cSwipe to Factory Reset\u201d on the bottom of screen
  • Go back to TWRP main menu, tap on \u201cInstall\u201d and select the Lineage OS ROM .zip file that you transferred to your device two steps ago (lineage-14.1-20170207-nightly-osprey-signed.zip in my case)
  • After selecting the .zip file, do \u201cSwipe to Confirm Flash\u201d on the bottom of screen to begin the custom ROM installation process. This may take some time.
  • Once your ROM is successfully flashed, you\u2019ll see \u201cWipe cache/dalvik\u201d option, select it and then do \u201cSwipe to wipe\u201d on bottom of screen
  • Repeat now the same step, from the TWRP main menu, installing the Google Apps .zip file (open_gapps-arm64-7.1-stock-20170208.zip in my case)
  • Hit the \u201cBack\u201d button on-screen and then select \u201cReboot System\u201d button
  • The Lineage OS boot logo should appear and you will enjoy the new Android 7.1.1 on your Moto G 3rd gen, although Motorola decided to stop the OS update to Android 6.0.1

Till now it seems that everything is working well, with the exception of the flash in the camera app. However other apps (like open camera) are able to drive the flash.

The new customized home screen


UPDATE: the following bug seems to be present (https://jira.lineageos.org/browse/BUGBASH-72?jql=text%20~%20%22osprey%22), with an issue in the transition from Wi-Fi to Cellular Data.

Cyanogenmod

January 13, 2016 // Posted in Geek, Uncategorized  |  No Comments

Cyanogenmod

La componente maschile adulta di casa sacchibelli e’ appassionata di tutto cio’ che riguarda il software open source. Sul proprio portatile, come piu’ volte raccontanto, esiste solo un sistema operativo (Debian Jessie) e non c’e’ piu’ un solo bit relativo a OS o tools Microsoft. In ambito smartphone pero’ tutto e’ piu’ complicato. Evitato, per questioni filosofiche prima che economiche, qualunque tipo di prodotto Apple e Microsoft, a parte alcuni OS di nicchia (Firefox OS, https://sailfishos.org/ and Ubuntu), peraltro tutti basati sul kernel linux, l’unica alternativa seria resta Android, anch’esso basato su kernel linux, affascinante ma un po’ troppo Google-centrico. Cosi’, non essendo smart a sufficienza per installare sistemi operativi di nicchia su un dato smartphone, ci si e’ rassegnati a comprare un decoroso smartphone (Moto G di seconda generazine, con LTE) con installato una versione di Android la piu’ “pura” possibile. Recentemente l’anima “ribelle” si e’ concretizzata decidendo di “rinunciare” alla garanzia, di “rootare” il dispositivo e di procedere a flasharlo, installando cyanogenmod (12.1 nel caso specifico). L’operazione e’ stata in realta’ piuttosto semplice, seguendo le istruzioni trovate a questo indirizzo: https://wiki.cyanogenmod.org/w/Install_CM_for_thea. IL telefono sembra funzionare in modo ancora piu’ fluido, la batteria sembra durare un po’ di piu’ e ci siamo conquistati una “piccola” indipendenza da Google. Direi che non ci si puo’ lamentare.


As you know, here at sacchibelli’s we like open source. But if we are smart enough to run Linux on our PC, the smartphone world is a bit more complex, and altough there are many linux-based OS (Firefox OS, Jolla Sailfish, Ubuntu and obviously Android), the dominant one is Android, and we decided to follow this trend. However, although Android runs well on the Moto G 2nd generation with LTE (XT1072) owned by the male component (adult) of sacchibelli’s family, we decided to gain some more independence from Google and some more performance improvement, installing Cyanogenmod (an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system). Although the process is not that easy, we found good instructions here, and at the end we were able to install Cyanogenmod 12.1. And it works better than expected.

Semplicemente Linux

May 16, 2015 // Posted in Geek  |  No Comments

Il setup per “grabbare” l’uscita composita del VCR

Qui dai Sacchibelli abbiamo ancora un vecchio videoregistratore VHS e una TV con tubo catodico. Prima o poi ci ammoderneremo, ma per come vediamo la TV ora, l’attuale setup basta e avanza. Stiamo pero’ cercando di “salvare” le bellissime videocassette Disney per quando il videoregistratore non ci sara’ piu’. Cosi’, dopo una rapida indagine, ci siamo dotati (elemosinandolo a nonno beppe) di un accrocchio che cattura il segnale composito del VCR e lo ridirige su una porta USB. Trattasi di un Grabby Terratec. Dopo vani (e nervosi) tentativi di acquisire da ambiente Windows (il PC di Silvia, unico in casa sacchibelli, ha anche una partizione Win 7), sia col software Terratec che con altri software scaricabili dalla rete, ci abbiamo provato in ambiente Linux. L’hardware viene correttamente riconosciuto (senza necessita’ di installare alcun driver) e la nuova Debian 8 che gira sul vecchio portatile di Enrico (Toshiba Satellite U305, ormai avviato verso gli 8 anni di onorato e glorioso servizio), con una semplice riga di comando ha perfettamente “grabbato” video e audio in un unico file compresso. Chapeau. Le istruzioni le abbiamo recuperate da questo link, mentre il comando eseguito e’ stato il seguente:

mencoder tv:// -tv channel=0:driver=v4l2:device=/dev/video1:normid=5:input=0:width=720:height=576:norm=PAL:fps=25:alsa:adevice=hw.1:forceaudio:brightness=0:contrast=0:hue=0:saturation=0:buffersize=256 -ovc xvid -xvidencopts fixed_quant=5:threads=2:turbo:nochroma_me:vhq=0 -oac mp3lame -lameopts cbr:br=128 -endpos 04:10:00 -o output.avi


To grab video and audio from old origina VHS (Disney movies) and convert them in digital format is something tricky. But we need to do that to save some old VHS while our old VCR is still working. We bought this hardware, and we gave a try in Windows environment, but we were not lucky. Some issue with the audio, or some issue with the compression. At the end we moved back to Linux (a new Debian 8 running on the old Toshiba U305) and following this link, with a simple command line we were able to do the job. Thanks Linux!!!!

mencoder tv:// -tv channel=0:driver=v4l2:device=/dev/video1:normid=5:input=0:width=720:height=576:norm=PAL:fps=25:alsa:adevice=hw.1:forceaudio:brightness=0:contrast=0:hue=0:saturation=0:buffersize=256 -ovc xvid -xvidencopts fixed_quant=5:threads=2:turbo:nochroma_me:vhq=0 -oac mp3lame -lameopts cbr:br=128 -endpos 04:10:00 -o output.avi

L’ultimo post?

April 23, 2015 // Posted in Geek  |  No Comments

No, non abbiamo intenzione di chiudere questo blog, anzi… Ma come vi abbiamo raccontato qualche post fa, abbiamo sciaguratamente accettato (2 mesi fa) di passare a un nuovo provider (sia di telefonia che di connessione a internet). Gli intoppi allora descritti sono aumentati e ora siamo al punto che domani verremo scollegati dall’attuale provider e collegati a quello nuovo. Col piccolo dettaglio che il modem che avrebbero dovuto spedire, e senza il quale la connessione e’ inservibile, non e’ mai arrivato, nonostante ripetuti solleciti… Cosi’ se spariremo per qualche giorno, sara’ solo per questa maledetta transizione di operatore…


We are not planning to switch off this blog in any way, but we are a bit worried about the migration to the new internet provider. The switch should happen tomorrow, but we still didn’t receive the modem, so we risk to stay offline for a while. But don’t worry, we will be back.

30 anni di “free software”

March 18, 2015 // Posted in celebrations, computer, Geek  |  No Comments

Trent’anni fa veniva pubblicato il Manifesto Gnu. E qui siamo convinti che questo sia un bel compleanno da festeggiare. Sul New Yorker, c’e’ una bella intervista al fondatore della Free Software Fundation, Richard Stallman. E’ anche grazie a lui se dai sacchibelli il software proprietario e’ visto col fumo negli occhi…


This month the GNU Manifesto turns 30. It is an important birthday, and here at Sacchibelli we are supporter of the free software. Here you can find a good interview to the founder of the Free Software Fundation, Richard Stallman, the author of the GNU Manifesto.

Smartphone choice

January 22, 2015 // Posted in Geek  |  No Comments

Ecco un sondaggio per avere suggerimenti su quale Smartphone comprare, fatte salve le priorita’ espresse nel post precedente.

Smartphone

January 20, 2015 // Posted in Geek  |  No Comments

La difficile scelta

La componente maschile adulta di casa sacchibelli sta valutando l’acquisto di un nuovo smartphone, dopo che il glorioso LG Optimus One comincia a sentire l’eta’. La tentazione era quella di abbandonare il duopolio Android/Apple ma, non potendo optare per Windows Phone, la scelta tra Firefox OS, Jolla o Ubuntu Phone appare un po’ troppo estrema. Si e’ deciso cosi’ di restare su Android, con le seguenti constraint:

  • Android puro
  • Ricevitore Radio FM
  • LTE
  • Prezzo ragionevole (sotto i 250 euro)

Al momento, pur osservando con interesse telefoni come l’“One plus One”, o l’“Elephone P6000” (dal prezzo sorprendentemente competitivo considerando l’hardware).
Il Nexus 5, ora che e’ uscito il 6 e magari scendono un po’ i prezzi, sarebbe perfetto, se non fosse che sciaguratamente manca la radio FM. Cosi’ ci si sta orientando verso il bellissimo Moto G (1gen con LTE). Certo, non andrebbero neanche trascurati il nuovissimo Lenovo A6000 o il Sony Xperia Z3 Compact. Insomma, una scelta difficile.


The adult male component of Sacchibelli family is looking for a new Smartphone. The great LG Optimus One is slow enough, and he is evaluating some Smartphone running a “non conventional” OS. But, unfortunately, to try something different from Android/Apple is a bit risky. Windows Phone is not considered at all, and all the alternatives sounds tricky: Jolla is the most promising, but the smartphone they are selling is costing too much. Firefox OS is not used at all, here in Italy, and I don’t like the user interface of Ubuntu Phone. So, being a linux fan, let’s set the mandatory requirents:

  • Pure Android (without customization)
  • FM Radio receiver
  • LTE
  • Not too much expensive (under 300 $)

Nexus 5 would be perfect, but sadly it lacks the FM Radio Receiver. There is some chinese phone very interesting, like the “One plus One”, or the“Elephone P6000”. However I’m almost focused on the Moto G (1gen con LTE). Is there any comment about it?