Technology blog for personal research and diary. Short Notes, Quick Reference, scripts, source codes, commands, etc
Saturday, July 2, 2011
Friday, July 1, 2011
Upgrade Samsung Galaxy Tab P1000 to Android 2.3.3 Gingerbread
Tested on:
Model GT-P1000
Firmware 2.2
Baseband P1000DXJJ2
Kernel 2.6.32.9
Build No FROYO.DXJK2
Downloads:
Odin 3 v 1.7 (http://cloud.addictivetips.com/wp-content/uploads/2011/03/Odin-1.7with.pit_.512.803.zip)
Android 2.3.3 Stock ROM (http://androidadvices.com/downloads/XXJQ1_2.3.3_P1000.zip)
dbdata.tar (http://www.thegalaxytabforum.com/index.php?app=core&module=attach§ion=attach&attach_id=157)
GT-P1000_mr.pit (http://www.thegalaxytabforum.com/index.php?app=core&module=attach§ion=attach&attach_id=156)
Download Mode:
1. Turn Off Tab (Press Power for few secs)
2. Press Power and Volume Down button simultaneously until Download Mode screen shows up (Screen message: Downloading.. do not turn of target!!!!).
Instructions:
1. Open ODIN
2. Click PIT.. select the GT-P1000_mr.pit
3. Click PDA.. select the Gingerbread .tar
4. Make sure the following are ticked/selected (Re-Partition, Auto Reboot, F. Reset Time)
5. Set Samsung Galaxy Tab to Download Mode, then plug into computer
6. From ODIN, something will glow yellow on the ID : COM field which will mean device drivers are loaded and ready.
7. Click Start button from ODIN, (Screen message : File analysis.. up to .. All threads complete (success 1/failed 0)). Around 10 mins
8. Samsung Galaxy Tab will restart..
9. Close ODIN, Open ODIN.
10. Turn off Tab and set Tab to Download Mode again.
11. Click PDA.. select the dbdata.tar
12. Uncheck Re-Partition if checked.
13. Click Start button.. Galaxy will restart again
14. Tab may produce error during update for the cache, etc
15. set Tab to Recovery Mode
16. Navigate to Wipe data/factory reset using Volume Button and select using Home button.
17. Navigate to Wipe Cache partition using Volume Button and select using Home button.
18. Reboot Tab by selecting reboot system now
19. Check Tab. Select Phone app, type *#1234#
20. Check Tab. Goto Applications.. Settings.. About Device
Model GT-P1000
Firmware 2.2
Baseband P1000DXJJ2
Kernel 2.6.32.9
Build No FROYO.DXJK2
Downloads:
Odin 3 v 1.7 (http://cloud.addictivetips.com/wp-content/uploads/2011/03/Odin-1.7with.pit_.512.803.zip)
Android 2.3.3 Stock ROM (http://androidadvices.com/downloads/XXJQ1_2.3.3_P1000.zip)
dbdata.tar (http://www.thegalaxytabforum.com/index.php?app=core&module=attach§ion=attach&attach_id=157)
GT-P1000_mr.pit (http://www.thegalaxytabforum.com/index.php?app=core&module=attach§ion=attach&attach_id=156)
Download Mode:
1. Turn Off Tab (Press Power for few secs)
2. Press Power and Volume Down button simultaneously until Download Mode screen shows up (Screen message: Downloading.. do not turn of target!!!!).
Instructions:
1. Open ODIN
2. Click PIT.. select the GT-P1000_mr.pit
3. Click PDA.. select the Gingerbread .tar
4. Make sure the following are ticked/selected (Re-Partition, Auto Reboot, F. Reset Time)
5. Set Samsung Galaxy Tab to Download Mode, then plug into computer
6. From ODIN, something will glow yellow on the ID : COM field which will mean device drivers are loaded and ready.
7. Click Start button from ODIN, (Screen message : File analysis.. up to .. All threads complete (success 1/failed 0)). Around 10 mins
8. Samsung Galaxy Tab will restart..
9. Close ODIN, Open ODIN.
10. Turn off Tab and set Tab to Download Mode again.
11. Click PDA.. select the dbdata.tar
12. Uncheck Re-Partition if checked.
13. Click Start button.. Galaxy will restart again
14. Tab may produce error during update for the cache, etc
15. set Tab to Recovery Mode
16. Navigate to Wipe data/factory reset using Volume Button and select using Home button.
17. Navigate to Wipe Cache partition using Volume Button and select using Home button.
18. Reboot Tab by selecting reboot system now
19. Check Tab. Select Phone app, type *#1234#
20. Check Tab. Goto Applications.. Settings.. About Device
Friday, June 17, 2011
Install OpenVPN Linux Server and Windows Client
apt-get update apt-get upgrade --show-upgraded
apt-get install openvpn udev
cp -R /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn
vi /etc/openvpn/easy-rsa/2.0/vars
export KEY_COUNTRY="US" export KEY_PROVINCE="OH" export KEY_CITY="Oxford" export KEY_ORG="MyCompany" export KEY_EMAIL="squire@example.com"
cd /etc/openvpn/easy-rsa/2.0/ . /etc/openvpn/easy-rsa/2.0/vars . /etc/openvpn/easy-rsa/2.0/clean-all . /etc/openvpn/easy-rsa/2.0/build-ca
. /etc/openvpn/easy-rsa/2.0/build-key-server name_of_server
# To CREATE key for Client host
. /etc/openvpn/easy-rsa/2.0/build-key name_of_client
# To REVOKE key for Client host
. /etc/openvpn/easy-rsa/2.0/vars . /etc/openvpn/easy-rsa/2.0/revoke-full name_of_client
. /etc/openvpn/easy-rsa/2.0/build-dh
cd /etc/openvpn/easy-rsa/2.0/keys cp ca.crt ca.key dh1024.pem server.crt server.key /etc/openvpn
cd /etc/openvpn/easy-rsa/2.0/keys/
scp ca.crt, name_of_client.crt, name_of_client.key
# CONFIGURE client
cd /usr/share/doc/openvpn/examples/sample-config-files gunzip -d server.conf.gz cp server.conf /etc/openvpn/ cp client.conf ~/ cd ~/
vi client.conf
proto tcp
remote ip_or_hostname_of_server 1194
ca ca.crt cert name_of_client.crt key name_of_client.key
# If via HTTP Proxy
port 443 proto tcp-client http-proxy proxyserver 8080 http-proxy-retry http-proxy-option AGENT Mozilla/5.0+(Windows;+U;+Windows+NT+5.0;+en-GB;+rv:1.7.6)+Gecko/20050226+Firefox/1.0.1
scp client.conf to CLIENT-HOST config folder
# CONFIGURE server
vi /etc/openvpn/server.conf
proto tcppush "redirect-gateway def1"
vi /etc/sysctl.conf
net.ipv4.ip_forward=1
vi /etc/rc.localiptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT iptables -A FORWARD -j REJECT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
apt-get install dnsmasq
vi /etc/openvpn/server.confpush "dhcp-option DNS 10.8.0.1"
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT iptables -A FORWARD -j REJECT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
/etc/init.d/openvpn restart
# to Check if successful
ping 10.8.0.1
check myipaddress from internet
apt-get install openvpn udev
cp -R /usr/share/doc/openvpn/examples/easy-rsa/ /etc/openvpn
vi /etc/openvpn/easy-rsa/2.0/vars
export KEY_COUNTRY="US" export KEY_PROVINCE="OH" export KEY_CITY="Oxford" export KEY_ORG="MyCompany" export KEY_EMAIL="squire@example.com"
cd /etc/openvpn/easy-rsa/2.0/ . /etc/openvpn/easy-rsa/2.0/vars . /etc/openvpn/easy-rsa/2.0/clean-all . /etc/openvpn/easy-rsa/2.0/build-ca
. /etc/openvpn/easy-rsa/2.0/build-key-server name_of_server
# To CREATE key for Client host
. /etc/openvpn/easy-rsa/2.0/build-key name_of_client
# To REVOKE key for Client host
. /etc/openvpn/easy-rsa/2.0/vars . /etc/openvpn/easy-rsa/2.0/revoke-full name_of_client
. /etc/openvpn/easy-rsa/2.0/build-dh
cd /etc/openvpn/easy-rsa/2.0/keys cp ca.crt ca.key dh1024.pem server.crt server.key /etc/openvpn
cd /etc/openvpn/easy-rsa/2.0/keys/
scp ca.crt, name_of_client.crt, name_of_client.key
# CONFIGURE client
cd /usr/share/doc/openvpn/examples/sample-config-files gunzip -d server.conf.gz cp server.conf /etc/openvpn/ cp client.conf ~/ cd ~/
vi client.conf
proto tcp
remote ip_or_hostname_of_server 1194
ca ca.crt cert name_of_client.crt key name_of_client.key
# If via HTTP Proxy
port 443 proto tcp-client http-proxy proxyserver 8080 http-proxy-retry http-proxy-option AGENT Mozilla/5.0+(Windows;+U;+Windows+NT+5.0;+en-GB;+rv:1.7.6)+Gecko/20050226+Firefox/1.0.1
scp client.conf to CLIENT-HOST config folder
# CONFIGURE server
vi /etc/openvpn/server.conf
proto tcppush "redirect-gateway def1"
vi /etc/sysctl.conf
net.ipv4.ip_forward=1
vi /etc/rc.localiptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT iptables -A FORWARD -j REJECT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
apt-get install dnsmasq
vi /etc/openvpn/server.confpush "dhcp-option DNS 10.8.0.1"
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s 10.8.0.0/24 -j ACCEPT iptables -A FORWARD -j REJECT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
/etc/init.d/openvpn restart
# to Check if successful
ping 10.8.0.1
check myipaddress from internet
Sunday, June 12, 2011
Upgrading MAMP Pro
- Download MAMP and MAMP PRO
- Stop all MAMP applications
- Goto Applications and rename the current program folder MAMP to MAMP_OLD
- Open the MAMP PRO installer
- Drag the MAMP and MAMP Pro folders from the installation image to your "Applications" folder
- Run the MAMP Pro application, ensure everything is working and DB are still working
- Delete old MAMP Pro and MAMP_OLD folders
Saturday, May 14, 2011
DFU mode for iPod Touch 3G MC
Pod Touch 3G MC is actually a 2G tried downloading 3G-based iOS iTunes won't accept the ipsw file but using the 2G version will.. Updated to iOS 4.2.1 can't change to DFU mode following every instructions from the Internet e.g. Pwnage, Greenp0ison.. etc.. Here's a working instruction.
1. Just reset by holding POWER and HOME button simultaneously
2. As soon as the screen turns BLACK after a second or two release the POWER button while still holding the HOME button
3. The unit will change to DFU mode
1. Just reset by holding POWER and HOME button simultaneously
2. As soon as the screen turns BLACK after a second or two release the POWER button while still holding the HOME button
3. The unit will change to DFU mode
Install WDLXTV on WD Live TV Media Player
Download WDLXTV flash version (system will be installed on the WD)
Uncompress and Copy wdlxtv flash version on a FAT32 formatted USB Thumb drive
Plug the USB thumb drive, Goto Settings and Upgrade firmware
WD TV will reboot and install the custom firmware
Check network settings
Uncompress and Copy wdlxtv flash version on a FAT32 formatted USB Thumb drive
wdtvlive.ver wdtvlive.bin wdtvlive.fff (if provided)
wdtvlive2.bi2 (if provided)
Edit wdtvlive.ver must be higher version than current installed firmwarePlug the USB thumb drive, Goto Settings and Upgrade firmware
WD TV will reboot and install the custom firmware
Check network settings
Monday, May 9, 2011
BlackBerry New on App World notification icon
New on App World notification icon
White envelope with BlackBerry orb icon and Red circled counter.
White envelope with BlackBerry orb icon and Red circled counter.
Subscribe to:
Posts (Atom)