Thursday, March 27, 2014

Windows 8 and Pantech Burst

I tried to root a Pantech Burst a year ago, but failed to get the driver to work on Windows 8. I gave up and simply used a Windows 7 laptop to do it. Now I have the Miix and I need to root another Burst, I gave this comb another try.

Turned out, I didn't need to install either Pantech suite or driver, all I needed is to add the hardware ID to the Android's INF file,  android_winusb.inf, found under: C:\android\android-sdk\extras\google\usb_driver:

...... 
 
[Google.NTx86]
;Burst
%SingleAdbInterface%        = USB_Install, USB\VID_10A9&PID_6050&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_10A9&PID_6050&REV_0231&MI_01

......
 
[Google.NTamd64]

;Burst
%SingleAdbInterface%        = USB_Install, USB\VID_10A9&PID_6050&MI_01
%CompositeAdbInterface%     = USB_Install, USB\VID_10A9&PID_6050&REV_0231&MI_01

......

Then manually point Device Manager to this location and the phone will appear as an Android ADB device in Windows 8.

Wednesday, March 26, 2014

WiFi hotspot through VPN

I had been using Bluetooth and USB DUN on my Miix, because WiFi hotspot could not go through a VPN connection on the phone. Well, this problem has been solved, thanking to this XDA post! Here I summarize the process:
  • Start the VPN connection.
  • Start WiFi hotspot.
  • Open a terminal or ADB shell, run the following commands as su -:
iptables -t filter -F FORWARD
iptables -t nat -F POSTROUTING
iptables -t filter -A FORWARD -j ACCEPT
iptables -t nat -A POSTROUTING -j MASQUERADE 

thantos_mehak also posted his source code that makes above last step a simple click. I edited the code with above commands, compiled it and it worked fine. Note:
  • Your phone must be root.
  • You don't need to run VPN on other devices that are tethered to the phone.
  • If other devices still cannot connect, but ping 8.8.8.8 is successful, then change their DNS servers to, say, 8.8.8.8 and 8.8.4.4. Or add another commands:
iptables -t nat -A PREROUTING -p udp --dport 53 -j DNAT --to 8.8.8.8

PS:  WiFi Tether Router by Fabio Grasso works through VPN on its own (i.e. no need of above iptables commands). It is also the most featured among such apps I've seen. The only missing feature is auto WiFi channel. It works fine on my Galaxy S4 (root stock 4.3 ROM) but does not on my Pantech Burst.

PPS: Works for native Android Bluetooth PAN and USB tether too, and for proxy too (might need some extra routing work).

PPPS: For KitKat 4.4.2, some ip routes must be added as described in this XDA post:

ip rule add from 192.168.43.0/24 lookup 61
ip route add default dev tun0 scope link table 61
ip route add 192.168.43.0/24 dev wlan0 scope link table 61
ip route add broadcast 255.255.255.255 dev wlan0 scope link table 61

PPPPS:For some phones, even earlier than 4.4, the added lookup 61 will be removed randomly, hence need to be added again and again. Sometimes it is 60 instead of 61.

Tuesday, March 25, 2014

Must-have accessories for Miix 2 8

The very first add-on is the clap-on keyboard, of course. With it, your Miix is also a content producer on the go in addition to a consumer. And who wants Windows in the first place if just for consuming content? And why you still want a consumer only while you can have both in one?

If you don't want your eyes killed by the 8" screen, you should connect it to a large monitor whenever you can. Then you need a USB-VGA or USB-HDMI adapter. I have used some EVGA for many years, they cost me only $20/ea and come with VGA-DVI adapter, nice retractable cable and carrying pouch.


And you need a USB hub. If you need more than 4 ports, you may chain more hubs or get a 7-port one. I like the one from RadioShack, it is the smallest and thinnest, only a little larger than a US quarter.



 Now let's put them together, plus charger, mouse and keyboard:


Don't get a big head from above picture; afterward, there will be only one little plug to deal with, neat, no hassle:


Note that I did not use an OTG adapter on the Miix side, only a micro USB cable that comes with any smartphones these days.

Some more adapters you may also need

I like this tiny and cute OTG adapter, the tiniest I've seen:

This right-angle one is also nice:


And this one is a transformer - you can bend it into any shape and angle:


As the Miix charge cable has a micro plug like those for smartphones, you need this adapter to plug it into a USB hub if you want to charge your Miix while using USB devices (see this article for more details on charging Miix):


If you need a microSD card reader, these tiny and cute adapters are handy. They can be plugged into both standard and micro USB ports and the right one serves as the above adapter as well:


All above adapters cost only few bucks and take very little room. They are good to have in general, not just for Miix.

Monday, March 24, 2014

Sprint birds coming back, check your dryer exhaust

If your dryer takes quite long to dry your clothes, you'd better check its exhaust. Don't be surprised to find bird nest there. To prevent it, get an aluminum BBQ screen from Walmart for $1 and cut it to fit the outlet.


Sunday, March 23, 2014

Sluggish SD slot and fix for Miix 2 8

Uninstall KB2913236 update.

There is one more issue: after insert a micro SD card, it is not recognized. The fix: disable the Intel SD host controller (the 3rd one under SD host adapters), then re-enable it. To do this with a simple click:

1) Find devcon.exe. This little utility by Microsoft can disable and enable a device.

2) In the same folder of devcon.exe, create a sdslot.bat file and copy and paste these two lines:

devcon.exe disable "ACPI\VEN_8086&DEV_0F14"
devcon.exe enable "ACPI\VEN_8086&DEV_0F14"

3) Optionally make a shortcut of sdslot.bat on your desktop for convenience.

From now on after you insert a SD card into the slot, right click on the shortcut, run as administrator, the card will be recognized immediately.

Watch local HDTV on Miix 2 8

and on any computer.


First you need a TV antenna, anything should work, even the simplest rabbit ear. I use a RadioShack box; so I can remotely adjust its direction. I tried many, this box works the best and gets all my channels 40 miles away. You need to try different locations to find the best spot in your house.


Then, you need a HDHomerun, often on sale for $30 or so. You plug the antenna into it and plug it into your router.


Now download the software from Silicondust and watch your favorite shows.


You may watch on an large external monitor via a USB-VGA adapter, CPU load is only a little higher, 32% vs. 12%. Watch and work, at the same time.


If you don't see image but audio only, you need MPEG2 decoder. Search for "CLVDPack080410.rar". During installation, the only item you need to select is "Cyberlink MPEG- 2 decoder (PDVD 10) v8.4.0.1408":


If you want to watch on your Android phones and tablets, you need the InstaTV Pro app, works very well. If you want to record your shows, you need Windows Media Center or MediaPortal.

Friday, March 21, 2014

Sogou pinyin - still the king

The pinyin in Windows 8.1 is much better than the one in XP, Vista and 7, finally the first usable MS pinyin after Windows 2000. However, it is too sluggish in Firefox and IE and it always crashes them on my Miix. I have no choice but, as always, go to Sogou 4.3 which is the only Chinese/English input method I can live with for many years now.


After Sogou 4.3 installation, you must replace two files, ImeUtil.exe and PinyinUp.exe, with dummy ones, otherwise it'll upgrade automatically to the new versions that suck. You also must disable the SogouIMEMgr in Task Scheduler.

If you use MS OfficeXP on Windows 7/8, Sogou 4.3 is not compatible to that combination. You ether upgrade your Office XP or, like what I do, use Windows 8.1's build-in pinyin just for OfficeXP. Switching between these two IMEs are very convenient with Win+Space.