Sunday, October 11, 2015

QI Charge for any Android phone ~ 8 USD

QI Charger for Doodgee Valencia DG800


My wife always had trouble with charging mobile Phone. Always forget exactly. :) (I love You honey, sorry for not hide you anymore in this... :) )

So I had to resolve the problem as engineer...

Solution is Wireless Charging. It is so cheep now, you can miss it.

But the problem is:
Wireless charger is not available for DG800!
However you can buy Universal QI Receiver for any Android devices like this from Ebay. (~ 3 USD.)

New-Qi-Wireless-Charging-Receiver-Charger-Module-For-Universal-Android-Micro-USB
3USD. Universal QI receiver from Ebay.

Remove your Phone back cover and put the Universal QI Receiver on top of your battery.
The QI receiver flexible cable must be connect to USB port of your Mobile:A(z) Screenshot_2015-10-11-19-56-28-1.jpg megjelenítése
QI Reciver connected to Phone USB.

Put Phone back cover on top the QI receiver. I had to make a little correction about the USB hole -make it bigger- to fit USB connector.
See picture:

A(z) 20151011_195443.jpg megjelenítése

Q:Where it is getting power?
A: From the air. (almost. :)

You have to buy QI Charger pad like this for ~ 4 USD.



Give power to QI Charger Pad and put QI Receiver (bundled to Phone) on top the QI PAD and charger LED will be Greeen and Phone get start to charged.

Current:
Im engineer - sorry for detailes:
Doodgee Valencia charges 660 mA with USB direct, and will charge 440mA with this set up.

Charging time:
QI charger takes 1/3 times longer than direct USB charge, but it worst.

Leave a comment, and see my other posts.


Friday, April 4, 2014

Chess on Kindle 4 - open-source

Chess on Kindle 4

K3Chess - free open-source chess for Kindle

Do you belive or not but there is a very good graphical chess on Kindle 4 NT (non touch).
It is free!

Check this:
http://www.mobileread.com/forums/showthread.php?t=152815


Amazing program, a very good example of masterpieces of opensource world. :)

E-ink is good for eyes, while you nut-cracking.

The chess is strong, it always wins over me. :)


MC on Android
:)

https://play.google.com/store/apps/details?id=com.nativnux.installers.mc&hl=hu

Midnight Commander Installer - screenshot

Tuesday, February 25, 2014

Call Record on Fritz.Box

Call Record - Fritz.Box 



I want automatic calls record on Fritz.box. After few days of Goggling found a solution :)

a few options: 

  1. On new (7320) Fritz devices provides this feature out of box. But it has many limitations; 
  • it is only for 10 minutes.
  • Not automatic, each call records must be allowed with key presses during the calls.
     2. Asterix PBX + Freepbx.
  • needs compilation, configuration and massive PBX knowledge. Probably uses lots of resources on HW side and from human side too... :)
Solution is

     3. FritzCap.

http://www.ip-phone-forum.de/showthread.php?t=232682
This is the call record solution on server side.
  • Download Fritzcap 2.0.0 (or 2.1 depending on your firmware)
  • Extract it, and configure-only the password in fritzcap.conf 
  • pick up the fritzbox handset and dial #96 * 5 * 
  • python fritzcap.py -c -d -m
thats all! Your all calls are recorded automatically.

Make it permanent:

make a shell script in /etc/init.d directory.



#touch /etc/init.d/fritzcap

edit file and insert this
python /yourroute/fritzcap.py -c -d -m
Save file.

#chmod +x fritzcap
#update-rc.d fritzcap defaults
#sync
#reboot
check it is runing:
#ps ax | grep fritzcapHauskeeping script.

# ps ax | grep fritzcap
 1817 ?        S      0:00 /bin/sh /etc/init.d/fritzcap start
 1822 ?        Sl     0:08 python /usr/local/bin/fritzcap.py -c -d -m
 2171 pts/1    S+     0:00 grep fritzcap
Hauskeeping script.

Cap and Wav files are large, convert mixed wav to mp3 and delete all source files.
Convert to mp3 with CRON. for example in the night when system not loaded.

# crontab -l
to check present cron

Just edit crontab.
# crontab -e
30 2 * * * /usr/local/bin/wav2mp3.sh

# cat wav2mp3.sh                                                                                                      

#!/bin/sh
# wav to mp3
cd /usr/local/bin/captures
nice -19 find /usr/local/bin/captures -name '*mix*.wav' |
while read i
do
if [ ! -f ${i%.wav}.mp3 ]; then
    nice -19 lame -h -b 128 "$i" "${i%.wav}.mp3"
fi
done
cd /usr/local/bin/captures
nice -19 find /usr/local/bin/captures -name '*.mp3' |
while read i
do
FILESIZE=$(stat -c%s "$i")
if [ "$FILESIZE" -gt 1000 ]
then
    nice -19 rm -f ${i%_mix_0_1.mp3}*.wav
    nice -19 rm -f ${i%_mix_0_1.mp3}.cap
fi
done

#repair cap file:
#python /usr/local/bin/fritzcap.py -d /usr/local/bin/captures/2014-03-10/160627/capture_20140310160627.cap


Tuesday, September 25, 2012

Access home Network from Android device

Access Home Network from Android device - far from home.

(SSH Tunnel from any SSH server (with Socks Proxy) adding proxy to system wide for Android device)

Same user experience as WiFi access at home.


Do You want to quickly fetch a file forgotten from your NAS while you are on holiday ?

Forgot to start a torrent download on your home torrent server and want to start far from home just to finish download while you arrives?

Do You want to tether your mobile is reaching internet from your home router, while you are not at home?

So want to use HTTP, FTP, SMB (LAN)  (drive share), SSH, (probably VNC, and RDP too)-  to your home network devices?



Do you think, Oh Dear. it is big chalange!
You heard something about Virtual Private Network (VPN), but it is sound too complicated.

Technically speaking about SSH Tunel with Socks Proxy -The solution described here is- a semi VPN because from your Android Device you reach your home network, but not versa. (but who needs versa?)

You only need a
  • Rooted Android device (phone or tablet) and a 
  • Router with DNS name  and a running SSH server.Howto SSH )
  • Data connection on your device (you know why :)

(Oh Lord it is only Geeks. - Are you sure?. :) You can do it.

All the thing is, to download and configure two free apk (Both are GPL-d) and connect to your router.
                 vx.connectbot       proxydroid         


Steps:

  1. Download and install above two apss. 
  2. Start VX.Connectboot  - SSH to your home router via its Public (dynamic) DNS name (like dyndns)
    Example host: myhome.dyndns.org
  3. Add Port forward -Socks Proxy - port number for example 9999 -
    This is the Tunnel will be used by Proxy in next step.
  4. Start Proxydroid. set Host: localhost and Port:9999, Proxy type:  Socks Proxy5 and enable proxy switch.
    Proxy will spread home IP addresses on SYSTEM WIDE for all app!
  5. Done. :) All your home local IP adresses are available for your android applications on all protocol. (ftp,web,mail,rdp,vnc)
Usage examples:
  1. WEB based administration for router or NAS :
    Start Dolphine browser, or Chrome, or ICS browser and give URL: 192.168.1.1 (example router URL ) or 192.168.178.10 My NAS.
  2. FTP up or download files from home servers:
    Start ES File explorer - FTP server  New server: 192.168.178.10 
  3. Copy files From/To Shared drive (SMB, Network drive)
    Start ES File explorer LAN New server: 192.168.178.10 
  4. Start an Torrent file.
    Start TransDroid add your home torrent server address  New server: 192.168.178.10  and add new Torrent. 
  5. SSH to home PC and start/stop any app.
  6. Upload all your new pictures from /sdcard/DCIM to home NAS.
    Start Botsync set up source directory and target at your NAS. and start SYNC.

Is it usefull? Please comment.