All posts by mimin

KODI XBMC installation on raspbian raspberry pi

Kodi / XBMC enable raspbian raspberry pi to act as module to convert dumb tv to smart tv :). ill also add how to connect xbmc via android phone.

What you need:

1. raspberry pi
2. internet connection
3. mouse
4. wifi module (for remote application on adroid phone)
5. hdmi cable

Raspberry pi 2 kodi hdmi connection
Raspberry pi 2 kodi hdmi connection

Step by step.

A. Install kodi/xmbc

1. sudo apt-get update
2. apt-get install kodi

B. enable kodi on startup

1. sudo nano /etc/default/kodi
2. change ENABLED=0 to ENABLED=1

C. enable kodi keyboard & mouse input

1. sudo nano /etc/udev/rules.d/10-permissions.rules
2. add these lines
# input
KERNEL==”mouse*|mice|event*”,   MODE=”0660″, GROUP=”input”
KERNEL==”ts[0-9]*|uinput”,      MODE=”0660″, GROUP=”input”
KERNEL==”js[0-9]*”,             MODE=”0660″, GROUP=”input”

# tty
KERNEL==”tty[0-9]*”,            MODE=”0666″

# vchiq
SUBSYSTEM==”vchiq”,  GROUP=”video”, MODE=”0660″
3. Save file

4. Add user kodi to input group
sudo usermod -a -G input kodi

5. reboot
sudo reboot

on this point when you plug hdmi, xbmc/kodi display will appear on your monitor screen.
you can control xbmc input via your mouse :D.

kodi add-on 9gag tv
kodi add-on 9gag tv

Now if you want to connect raspberry pi xbmc / kodi via android phone, follow instructions below

D. Connect raspberry pi kodi/xbmc via android phone
1. on kodi/xbmc display, choose setting > webserver
2. click enable webserver option, edit webserver port with any number you like.
The default value is 8080 but u can change it if you also have other webserver application installed on your raspberry pi such as apache
3. edit username and password, default value is username:kodi, password:kodi
4. install xbmc remote application on your android phone.
5. connect your android phone & rasberry pi to your home network. (hotspot), input your raspberry ip address, and username, password for kodi on xbmc remote application
6. Viola, now you can control raspberry pi kodi/xbmc via your android phone.

Raspberry pi how to connect raspberry to android phone

After you are able to install and connect you raspberry pi via laptop and lan.
maybe its necesarry for you to connect your rasberry pi via android phone.

here is how

What you need.

1. wifi module
2. access to rasberry pi (via putty or direct).
3. android phone with SSH Client application installed
here is to download SSH Client application

Step by step

1. plug in wifi module to raspberry pi
2. turn on raspberry pi. enter ifconfig command, wlan0 should come up in list, but not connected to any address
pi@raspberrypi ~ $ ifconfig
wlan0     Link encap:Ethernet  HWaddr
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

4. turn on wifi hotspot/tethering on your android phone
5. enter command sudo iwlist wlan0 scan | grep ESSID

pi@raspberrypi ~ $ sudo iwlist wlan0 scan | grep ESSID
ESSID:”HP-Print-41-Officejet Pro 8600″

6. edit wpa_supplicant.conf
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
add this line

ssid=”your essid name/copy paste from earlier scan result”
psk=”you hotspot password”

for example with my handphone


7. save file, and reboot raspberry pi.
8. after reboot you’ll see that now your raspberry wlan module is connected to you hotspot. enter command sudo ifconfig wlan0 to see its ip address.
9. open SSH client on your android phone and enter raspberry pi address,
10. Now you can access your raspberry via your android phone. :D.

raspberry SSH from android phone
raspberry SSH from android phone

to restart raspberry networking you can enter this command instead rebooting raspberry
sudo /etc/init.d/networking stop
sudo /etc/init.d/networking start

Raspberry pi 2 installation without keyboard & monitor

I assume you already download raspbian and write image file to Micro SD.
the next step is then turning on the power and see if we can access raspberry pi via laptop.

what you need

1. 2 lan cable that is connected to router. (any lan cable that on the network that offer dhcp). 1 cable for your laptop, 1 cable is for raspberry pi.
2. nmap installed on windows.
3. windows powershell

Step by step

1. power on your raspberry pi, dont plug lan cable first.
2. on your laptop which is connected to lan cable, open powershell
windows logo –> type powershell.
3. type ipconfig command to determine your ip address & netwrok
for example

Ethernet adapter Local Area Connection:

Connection-specific DNS Suffix  . :
Link-local IPv6 Address . . . . . : x.x.x.x
IPv4 Address. . . . . . . . . . . :
Subnet Mask . . . . . . . . . . . :
Default Gateway . . . . . . . . . :

4. do nmap scan (ping scan) to record all up connection, and put it on file
nmap -v -sn “your network” | findstr “your network part only ip” | findstr /v down > first.txt
for example
nmap -v -sn | findstr “10.2.133.” | findstr /v down > first.txt

this will output any up ip address in your network before you connect you raspberry pi to your network

5. plug in lan cable to your raspberry pi, wait for a while to make sure raspberry pi got dhcp ip address. then enter this command on power shell
nmap -v -sn | findstr “192.168.1” | findstr /v down > second.txt
this will output any up ip address in your network including your raspberry pi connection.

6. compare two files to see which one is you raspberry pi address
compare those two files using this command on powershell
compare (Get-Content .\first.txt) (Get-Content .\second.txt)

example result :

InputObject                                                 SideIndicator
———–                                                 ————-
Nmap scan report for                          =>
Nmap scan report for                           =>
Nmap scan report for                           <=

7. open putty, and try to ssh each IP address listed in result. one of those ip address list is your raspberry pi ip address. input username: pi and password: raspberry to login via putty to you raspberry pi

login raspberry pi via putty
login raspberry pi via putty

8. delete unnecessary files. on powershell enter this command:
del first.txt second.txt

Raspberry pi Recover micro SD space

After installing raspberry pi on my microSD card, i found that my micro SD is not fast enough. if you want to do the test you can go here.

I had to replace my micro SD with another micro SD with bigger capaticy and faster write/read speed. however when i try to re format my micro SD (use it in my android phone). it is displayed that my micro SD size is only 56 Mb, while its capacity is actually 16GB. Where the rest of capacity?

in windows there is disk management tools to manage our partition
(windows logo -> type disk management
or Control Panel\System and Security\Administrative Tools select computer management menu storage click disk management.)

there, my Micro SD (displayed as disk 1) is separated into 2 partition :

56 Mb of FAT partition
14 Gb of unallocated partition

I found out that there is no option to recover unallocated partition via this disk management tool (or is it?).

so i google and got this one

We can use diskpart command via windows cmd. cmd –> type diskpart –> enter, new diskpart window will appear.
2. on diskpart run this command, be carefull, replace “disk 1” with disk name that match your micro SD card.

DISKPART> select disk 1

Disk 1 is now the selected disk.


DiskPart succeeded in cleaning the disk.

DISKPART> create partition primary

DiskPart succeeded in creating the specified partition.


3. after exit, if you open file explorer now micro SD size will display its actual size, right click and format with file format you want to use. mine is FAT32.




How to Easily Remove Unneccessary files on Android

I first noticed when my samsung galaxy tab S 8.4 s warned me about storage full. after i  manually did some house keeping (i removed big files such as : video, mp3, and large document), there’s still (unvisible) large file size in my internal storage. i remember there is ccleaner program in windows that works well for removing unnecessary file.

after i search on playstore i found this android ccleaner.  just few clicks and found cache files with over 1 GB size in my tablet. it is very easy, fast, and effective for remove unnecessary files  on android.

As mentioned on it site, beside its main function (for me) to remove unnecessary files, it can also be use to monitor our android system, install/uninstall program, removes sms one – by – one or in bulk and. Its free and adsfree too!.

here are the links :), enjoy

UseeTV Free TV Streaming for Indonesia

UseeTV is free TV streaming site for indonesia. It serves us portal to access many tv programs that have been recorded and tv program that is served live tv program/channel such as antv, Bchannel, Metro TV, Indosiar, SCTV, Kompas TV, TV One, O channel, Bali TV, TVRI, TV edukasi, Al Quran Al Kareem, Alegro, and Arena. you can try it here. or open

1. Antv Streaming,
2. Bchannel Streaming,
3. Metro TV Streaming,
4. Indosiar Streaming,
5. SCTV Streaming,
6. Kompas TV Streaming,
7. TV One Streaming,
8. O channel Streaming,
9. Bali TV Streaming,
10. TVRI Streaming,
11. TV edukasi Streaming,
12. Al Quran Al Kareem Streaming,
13. Alegro TV Streaming,
14. Arena TV Streaming

USeeTV has very nice user interface/display, and nicely arranged menu. The streaming quality from USeeTV will be given according to your internet speed, better speed will give you better streaming quality. For modem usage, UseeTV will give you clear video and audio but of course, the unstability in modem connection sometimes give you lags.

You can also browse the schedule for each channel in UseeTV. UseeTV will give you list of its program in calender mode. so that you can browse any program that have been scheduled by the channel.

UseeTV also gives you menu to access VOD or Video On Demand and ToVi, but to access this video you need to login into its system and purchase it via pulsa. Here, you can watch original movie with really cheap price. Just make sure you have stable internet connections.

Other than Video service, UseeTV is also portal for radio streaming, these are some radio channel that is available on UseeTV and can be played for free :

1. Ardan Bandung
2. B Radio Bandung
3. OZ Radio
6. Rajawali
7. Sindo
8. Global
9. RDI
10. RRI pro 1 Tual.
11. Suara Muslim
12. Jodhipati FM
13. Suara Edukasi

advantages :
1. USeeTV has nice user interface and display.
2. USeeTV has Portal both to video and radio streaming.
3. USeeTV has Better display than mivoTV.
4. USeeTV has no ads that usually bother the viewer
5. USeeTV provides Free TV Streaming.

disadvantages :
1. Still in development
2. Unclear menu/section
3. Need simple / more universal registration mode.

Conclusion :

So far, it think USeeTV is one of best TV streaming portal in indonesia, its really worth to try :).