Excerpt

Tuesday, May 27, 2014

Gunakan internet di Android dari PC (Reverse tethering) & remote telefon

Hanya untuk phone android yang sudah ROOTED dan PC Windows!


Sumber2:
http://forum.xda-developers.com/showthread.php?t=1371345
http://www.mobizen.com/

Apa benda ni? Macam mana? Apa kelebihan? Ni la soalan aku masa mula2 dapat tau boleh reverse tethering... meh aku cuba terangkan :-)

Apa benda ni?
Android tethering - kongsi internet dari telefon kepada peranti lain (cth: PC)
Reverse tethering - sebaliknya, kongsi internet PC kepada telefon

Macam mana?
Gunakan tool Android Reverse Tethering 3.19 dari link di bawah:
http://forum.xda-developers.com/showthread.php?t=1371345

Di dalam forum tu ada bagitau bagaimana untuk install dan cara2 untuk menggunakan tool tersebut. Senang je :-)

Apa kelebihan?
Sebelum jawab, aku akan bagitau situasi aku sebelum menggunakan tool ni. Aku berkerja di pejabat dan kebanyakan waktu dihabiskan depan PC. Dalam masa sama aku nak surf internet, tengok2 telefon, chatting guna Whatsapp dan charging.
Sebenarnya aku boleh buat semua tu dengan menggunakan WiFi atau 3G, tapi masalahnya bateri yang tengah charging memang lambat nak penuh sebab guna USB. Lagipon, kalau aku guna charger biasa, phone akan cepat panas dan akan merugikan penggunaan data 3G.

So, dengan adanya reverse tethering ni aku boleh jimat data 3G + charging laju + telefon tidak panas + boleh sambil buat kerja guna PC takyah nak angkat letak telefon selalu.

Eh, tapi macam mana pulak tu? Tak payah angkat letak telefon? Aaaaa sebab tu aku guna Mobizen hehe... ianya satu website (juga apps) yang boleh remote telefon android. Pergi ke http://www.mobizen.com/ dan daftar secara percuma... lepas tu install apps yang dia sediakan ke android.

Penggunaan Mobizen memang mudah, ikut saje cara2 install dan cara2 menggunakan. Lepas dah install semua di atas tu, boleh la focus kat PC je tak payah nak angkat letak telefon hehehe...

Selamat mencuba :-)

Sunday, May 11, 2014

Thanks MiniTool Partition Recovery!!!

This tool really helped me! The tool ability is so powerful as it able to recover my lost files in deleted partition due to FULL SYSTEM RECOVERY by DELL. Yeah, thanks to Dell Datasafe Local Backup for wiping my partitions to the factory state even I didn't choose to and even you said it only will affect C:\ partition!!! And thanks for creating a new blank partition named ALCHEMY for me too. I should have record the recovery process LOL!

Anyway, here is the link for MiniTool Partition Recovery:

http://www.minitool.ca/

http://www.powerdatarecovery.com/power-data-recovery.html

http://www.powerdatarecovery.com/power-data-recovery-compare-license-type.html

It not only helps you recover deleted files, but also recovers data from damaged, reformatted hard drive as well. Furthermore, MiniTool Power Data Recovery not only recovers data from hard disk and RAID device, but also supports to recover data from CD, DVD disks, memory card, memory stick, and flash drive.

As a data recovery software suite, MiniTool Power Data Recovery includes five data recovery modules - Undelete RecoveryDamaged Partition RecoveryLost Partition RecoveryDigital Media Recovery and CD/DVD Recovery. Each data recovery module focuses on different data loss condition.

And we provide Power Data Recovery Boot Disk for you. With our Data Recovery Boot Disk, you could recover data after system crash, hard drive crash and booting problems without Operating System.

Supported Windows Operating Systems:



* You need to register your copy of MiniTool Power Data Recovery with a commercial license.

Data Recovery Abilities:



  • Recover deleted files and folders

  • Recover data from damaged partition

  • Recover data from inaccessible hard drive

  • Recover data after re-partition

  • Recover data from a crashed hard drive

  • Recover data after an MBR corruption

  • Recover data after reinstalling windows

  • Recover data from formatted partition with original path and filename

  • Recover photos from memory card

  • Recover music and video from iPod

  • Recover data from quick formatted CD/DVD disk

  • Recover data from an unfinalized DVD disk

  • Recover files from scratched or defective CD and DVD disk

  • Recover data from Windows Dynamic Disk Volume


(Spanned Volume, Striped Volume, Mirrored Volume and RAID5 Volume)

License


MiniTool Power Data Recovery Free Edition is for private, noncommercial, home computer use only. Use of MiniTool Power Data Recovery Free Edition within any organization or for commercial purpose is strictly prohibited. 

To use Power Data Recovery in commercial environment, you need to purchase a commercial license.

Fotografi makro dalam rumah - Embun

Tak ada masa nak makro dalam hutan? Kena jaga anak2 sebab isteri bekerja luar negeri? Tak ada serangga? Hari hujan? Tak ada masalah, jom makro dalam rumah :-P

Fotografi makro tiada had, boleh dilakukan hampir di mana2 sahaja... termasuk lah di dalam rumah...

So, baru2 ni aku telah mendapat idea mcm mana nak buat fotografi makro di dalam rumah... memandangkan tiada masa nak keluar ke hutan dan tangan sudah mula gatal2 nak memetik shutter kamera :-D

Dalam projek kali ni, aku telah menggunakan rumput (pet grass) sebagai subjek... dan embun sebagai subjek utama... tapi macam mana? mudah je hehehe...

Dapatkan pet grass ni di mana2 kedai haiwan peliharaan (pet shop)... terdapat perbagai jenis dan harga... ada yang dah siap tumbuh dan ada yang kena tanam sendiri (biji benih)... kalau nak cepat, beli lah yang dah siap tumbuh... kalau rasa macam nak bercucuk tanam, beli lah yang biji benih hehehe... tapi kena tunggu at least 4 hari lah...

Ok, rumput dah beli... tapi mana embun? Haaa... sebelum keluar embun kena lah kita siramkan tanah rumput tadi dengan air yang secukupnya... kemudian biarkan semalaman di dalam rumah... esoknya keluarlah embun kat hujung rumput2 tu tadi...

Bila dah ada nampak embun, buatlah setup makro ikut suka hati... dalam kes aku, simply letak rumput tadi atas laptop yang sedang menyala untuk mendapatkan light source sederhana dari belakang subjek... kamera pon handheld je hahahaha...



Ini antara hasil dari projek makro dalam rumah aku hehehe







Amacam ok tak? hehehe... subjek tu sebenarnya boleh gunakan apa2 saja... nama pon makro... selamat mencuba! :-)

p/s: http://hilmanali.com/lets-macro-the-strawberry/

Thursday, May 1, 2014

[GUIDE] USB Reverse Tethering - New method - All PC operating systems

HUGE THANKS TO: phamthanhnam
http://forum.xda-developers.com/showthread.php?t=2287494

Introduction
This guide is intended to help you share Internet connection from your PC to your Android smartphone/tablet via USB cable. This technique is called USB reverse tethering. It is different from USB tethering in which you share Internet from your Android to your PC. There are many reasons why you need this technique working:
- You don't have mobile/wifi network and your PC doesn't have any wifi adapter
- You can't do tethering over wifi, for example, your company doesn't let you make any hotspot at work
- You don't want to spend money for a mobile plan, and you want a more stable and faster Internet connection than wifi
- You don't want your PC and your Android to become too hot because of wifi
- You want your Android charged while in use
...

You have searched and found some applications/tools/solutions, you followed exactly their instructions but finally you were frustrated because they didn't work, here I come for a new method. 
This method works following Internet connection sharing basics. If your Android device is able to do USB tethering, you will be able to do USB reserve tethering with this method!
Advantages:
- No additional software on your PC. Leave no trace on your PC. Imagine when you are at work and you have to install some crappy "toy" application on your PC to estiblish a tunnel connection for this task.
- Works with Windows, Linux and Mac OS X
- You know what you do. Who knows what the "easy-to-use" tools do when they fail to help you?
Disadvantages:
- You have to type some commands on your Android.
If you are ready, let's start!

Requirements:
- Rooted Android device with "USB tethering" capability. Check in Android Settings - Wireless & networks - Tethering & portable hotspot. Many stock ROMs disable this capability. You must enable it somehow (root your Android and use an application to enable or replace the stock ROM). CyanogenMod ROMs always have this capability. The important thing to remember is when you connect your Android and enable "USB tethering", it appears as a USB network adapter, not a mass storage or media device.
- PC with a working Internet connection.
- USB cable to connect your Android to your PC.
- Terminal Emulator on your Android. If you don't want to type commands on your touchscreen with Terminal Emulator, you can use your PC keyboard to enter commands with "adb shell". adb is a part of Android SDK which is available for download from Google. To use adb, you need to enable "USB debugging" on your Android.
- Optional, BusyBox on your Android.

Step 1: Connect your Android to PC by USB cable and enable "USB tethering". You are still allowed to enable this option even when your 3g/wifi on your Android is off.
- If you are using Linux (Ubuntu), you don't need to install anything. NetworkManager applet will try to establish a connection on the new detected wired network device.
- If you are using Windows, Windows will automatically search Windows Update and install driver for you. You can skip Windows Update search and install manually an already included driver from Microsoft. In Install Driver window, click Browse My Computer, then Let me pick..., select Network Adapters, uncheck Show Compatible Hardware, look at "Microsoft Corporation" at the left column, and choose Remote NDIS Compatible Device from the right column. You can install or update a driver from Device Manager in Windows.
- If you are using Mac, install driver HoRNDIS. You will be notified about a new network interface. Click "Network Preferences" in the dialog to add it to known interfaces list. Then "Apply".
- If you are using Linux without GUI or NetworkManager, run these commands as root (or use sudo):

Code:

ifconfig usb0 10.42.0.1 netmask 255.255.255.0


(suppose that you don't have any other USB network adapter, otherwise, your Android may be usb1, usb2...)

Code:

echo 1 > /proc/sys/net/ipv4/ip_forward


Command for sudo will be:

Code:

sudo 'echo 1 > /proc/sys/net/ipv4/ip_forward'



Code:

iptables -t nat -F
iptables -t nat -A POSTROUTING -j MASQUERADE


Step 2:
- If you are using Linux, click on NetworkManager applet at the top right of your screen, select "Edit Connections...". In tab "Wired", choose the new established connection (be careful, not Ethernet LAN connection) and click "Edit..." In tab "IPv4 Settings", choose "Shared to other computers" as Method. Click "Save". NetworkManager will reestablish the connection and assign to your PC an IP address on this USB network connection, default: 10.42.0.1. Leave Internet connections (wired or wireless) untouched.
- If you are using Windows, open "Network Connections" in Control Panel. It is somewhat different from setup in Linux. Right click on an Internet connection that you have. I assume that you are using a desktop which doesn't have any wifi adapter, so right click on LAN Ethernet connection with Internet, and select "Properties". In tab "Sharing" (or "Advanced" for Windows XP), click "Allow other network users to connect through...", then select the USB connection in dropdown list below. Click OK. Windows will automatically setup your USB network connection and assign to it an IP address, default for Windows 7: 192.168.137.1, default for Windows XP: 192.168.0.1. You can see your Internet connection is now "Shared" and your USB connection is now "Unidentified network".
- If you are using Mac, open System Preferences - Network. If you installed HoRNDIS, you will see a new network interface corresponding to your USB connection. With "Using DHCP" as Configure Ipv4, it may be already connected. Go back to System Preferences, click "Sharing". Select "Internet Sharing". Choose the Internet connection (Ethernet or Airport...) in "Share your connection from", and choose USB connection interface in "To computers using". Mac will assign to your USB connection interface an IP address, default: 192.168.2.1.
- If you are using Linux without GUI or NetworkManager, you have done all PC setup in step 1.

Your PC setup is now done!

Step 3:
Open Terminal Emulator on your Android. Type:

Code:

su


The command prompt must change from $ to #. If it does not, check to ensure that your device is rooted properly.
[UPDATED]Type the following command in Terminal Emulator, the same for all PC operating systems:

Code:

netcfg rndis0 dhcp


The name for usb interface inside Android may vary. It is usually rndis0 or usb0. Type

Code:

busybox ifconfig


to identify the name.
Use OLD instructions below when automatical dhcp method does not work.
[OLD]Type these following commands in Terminal Emulator:
For Linux PC:

Code:

ifconfig rndis0 10.42.0.2 netmask 255.255.255.0
route add default gw 10.42.0.1 dev rndis0


If route fails, try:

Code:

busybox route add default gw 10.42.0.1 dev rndis0


For Windows PC, use the same above commands, replace 10.42.0.2 by 192.168.137.2 (192.168.0.2 for Windows XP), replace 10.42.0.1 by 192.168.137.1 (192.168.0.1 for Windows XP)
For Mac PC, replace 10.42.0.2 by 192.168.2.2, replace 10.42.0.1 by 192.168.2.1
Now you can close Terminal Emulator and start the browser for Internet.

Some applications (download in Google Play, GMail, Facebook...) don't recognize Internet connection. You can try this way (WARNING: NOT TESTED):
- Enable temporarily 3G connection on your Android
- Type:

Code:

ifconfig rmnet0 0.0.0.0


The name for 3G interface inside Android may vary: ppp0, rmnet0... Type

Code:

busybox ifconfig


to identify the name.
before ifconfig rmnet0 ... above.
This will make applications see your Internet connection via USB as 3G!

USB tethering settings on Android will be reverted automatically when you unplug USB cable. To revert back settings on PC, uncheck "Allow other network users to connect through..." on Windows, "Internet sharing" on Mac, change from "Shared to other computers" back to "Automatically (DHCP)", or simply delete USB connection from NetworkManager on Linux.