Monday, June 20, 2011

Rooting the Samsung Vibrant

* Note this post is a re-post from http://droiditude.com/?p=6*

WARNING! Rooting your device could easily and permanently screw up your phone, or in other words it will not be usable for anything other than a paper weight. And rooting your device may also void your warranty and may also be illegal where you live. Below if a video of how to root and unroot a Samsung Vibrant is located here. I rooted my Vibrant so I could test a bunch of apps that require root access.

The following instructions are modified from XDA-Developers.
Windows Instructions

1. Download the GalaxyS_Vibrant_One-Click_Root.rar application.
2. Make sure your phone is on USB Debug mode: (MENU > Settings > Applications > http://www.blogger.com/img/blank.gifDevelopement > USB debugging = Checked )
3. You probably have the Samsung USB Drivers already installed. If your computer doesn’t recognize your phone when you plug it in via USB, try these Samsung drivers.
4. Extract the contents of the software you downloaded in step 1(GalaxyS_Vibrant_One-Click_Root.rar) to a folder.
5. Connect your phone to your PC via the USB cable and launch the file “T-Mobile Vibrant One-Click Root.exe” file. I checked the file for viruses. My tests came back clean.
6. Click the “One-Click Root” button. This will launch a command shell follow the instructions in the video.

Tuesday, June 14, 2011

Recovery of Files deleted during Fedora 15 Upgrade

Scenario:
The current system is currently using the Fedora 14 OS. Several files are existing in the /media/usrOSBak and /media/usrbak. These folders contains some .jpg, docs, xls, iso, exe and some other file types. The system was upgraded to Fedora 15 using the pre-upgrade. After the upgrade, the two folders were deleted during the install.

Recovery:
By using the testdisk for Linux, the folders may be recovered by the following steps
0. DO NOT USE THE LINUX PARTITION UNTIL YOU HAVE CONDUCTED THE RECOVERY OF THE FILES.
1. Download and unzip the testdisk into a Linux partition. DO NOT USE THE PARTITION WHERE YOU ARE RECOVERING THE FILES!. You may overwrite the files you are planning to recover. It would be best if you can use a usb drive formatted in Linux.
2. Sudo as root
3. Make the testdisk_static to executable by: # chmod a+x testdisk_static.
4. Run the testdisk by: # ./testdisk_static
5. Select a media -> Disk /dev/sda (where your Fedora 15 is now residing) -> Proceed
6. Please select the partition table type, press Enter when done.
Select the [Intel] Intel/PC partition and then press Enter
7. Disk /dev/sda - 500 GB / 465 GiB - CHS 60801 255 63
Select [Advanced] Filesystem Utils and press Enter
Select 3 P Linux [_Fedora-14-i686] and then use the left arrow to select [List] and press Enter
8. Use the down arrow key to go to the 'media' folder and press Enter.
9. Use the down arrow key to go to the 'OSBAK' folder and press c (lower case)
10. Select the destination to the mounted usb drive. DO NOT RESTORE INTO THE SAME PARTITION, USE AN EXTERNAL DRIVE!
11. Use the down arrow key to go to the 'usrbak' folder and press Enter.
12. Select the destination to the mounted usb drive. DO NOT RESTORE INTO THE SAME PARTITION, USE AN EXTERNAL DRIVE!
13. Verify that the files are not corrupted before using the Linux box again.

Note:
Try to upgrade next time using the yum option
see: Upgrading using yum

Thursday, June 9, 2011

Coby Kyros Android Tablet MID7015 Step by Step

Coby Kyros Android Tablet MID7015 Step by Step by Phase3D
URL: http://www.youtube.com/watch?v=clGKXHjY548

Coby Kyros Android Tablet MID7015 Step by Step. Shows a step by step guide to installing root, clockworkmod recovery, and google apps/market. Please leave comments, and questions.

Most of these files are being hosted for FREE by Dropbox for you to download. Would you please click this link, and signup for a FREE Dropbox account. If you do nothing else to show your support, at lease signup for a FREE Dropbox account at this link: http://db.tt/MRMfAS4

Old Update.zip:
http://db.tt/tUQ3I0m

flash_image
http://db.tt/JJ9CPUM

Z4root:
http://db.tt/PRyCPWS

Recover.img:
http://db.tt/kgAIVuG

Google Apps/Market:
http://db.tt/ntmAv1y

Terminal Emulator:
https://github.com/downloads/jackpal/Android-Terminal-Emulator/Term.apk

Most of these files are being hosted for FREE by Dropbox for you to download. Would you please click this link, and signup for a FREE Dropbox account. If you do nothing else to show your support, at lease signup for a FREE Dropbox account at this link: http://db.tt/MRMfAS4

If you are having the missing file error (file not found error), then run this fix:

You need to grab the flash_image file from the link in the description above, and put it in the root of the sdcard then:

Open your Teminal Emulator

Type the following:

SU (enter)

cp /sdcard/flash_image /system/bin/flash_image (enter)

chown root.shell /system/bin/flash_image (enter)

chmod 0755 /system/bin/flash_image (enter)

flash_image recovery /sdcard/recovery.img (enter)

reboot recovery (enter)

Now ClockworkMod recovery should come up after reboot. You want to pick install zip from sdcard. Then pick the google apps zip file tell it yes to install, and once that is done go back and reboot system. Let me know if you run into any problems.

Most of these files are being hosted for FREE by Dropbox for you to download. Would you please click this link, and signup for a FREE Dropbox account. If you do nothing else to show your support, at lease signup for a FREE Dropbox account at this link: http://db.tt/MRMfAS4

PLEASE REMEMBER YOU DO THIS AT YOUR OWN RISK! I'M NOT RESPONSIBLE FOR ANY DAMAGE TO YOUR DEVICE!

Sunday, June 5, 2011

Installing Adobe Reader in Coby Kyros 7015

I'm using Adobe. I just went to
Adobe - Adobe Reader download - All versions
selected:
Android
English
Android X English for Android
then [Download now]
Use the USB to copy it to the MID7015 to /nand/ if you don't have an SD card or to /sdcard/ if you do.
Then use a file browser like FileBrowser by Jimmy Wahlberg - go to the file and click to open it. When it asks install? say Yes. Done.
Adobe's version is fine. It's faster and nicer than PDF Viewer, which I then uninstalled.

But still this MID7015 seems very slow compared to my three core desktop PC. - 1 core at 800 MHz vs. 3 cores at 2.8 GHz - not a fair comparison.

Edit:
I didn't try downloading it on the MID7015 - I guess I could have - I just tested it - works but now I have to find where the download was stored.

Tuesday, February 22, 2011

Creating and Mounting ISO CD images

Make an image
[root]# mkisofs -J -r -T -o newcd.iso /home/myfiles

Mount the ISO image file
[root]# mount -t iso9660 -o loop newcd.iso /mnt/test-cd

Burn CD image
[root]# cdrecord -v speed=2 dev='/dev/scd0' newcd.iso

Burn DVD image
[root]# dvdrecord -v speed=1 -dao dev=0,1,0 newcd.iso

Mount the CD-ROM
[root]# mount -t iso9660 -o loop /dev/hdc /mnt/cdrom

Sunday, February 20, 2011

Using Text in formula by using the INDIRECT function

Using Text in formula by using the INDIRECT function in OpenOffice Calc

Additional Link


C7=1
D7="Sheet1"
E1=2
Reference Sheet Name="Sheet1"
Current Sheet Name="Summary"

Formula:
=VLOOKUP($C7; INDIRECT(CONCATENATE($D7;".$B$3:$I$21")); E$1; 0)

Tuesday, September 21, 2010

How to export Address Book from Blackberry to Samsung Vibrant

How to export Address Book from Blackberry to Yahoo Contacts

Using the Blackberry Desktop Manager, I connected my phone to the computer. Once the connection has been established, here's how to do it. I'm not sure if this is the quickest way, but it doesn't take that long and is very easy to do:

Open up a Yahoo account if you don't already have one (it is free). Open up desktop manager, connect to your Blackberry and double click on "Synchronize." Go to the "Configuration" tab, and click on "Configure synch." Click on "Address Book" and then the "Choose" button. Select "Yahoo" and "Export," then back to the main Syncrhonize window. Click the "Syncrhonize" tab, make sure "Syncrhonize Organizer Data" is on, then press "Synchronize now." Now go to address. yahoo. com. In the upper right corner, click "Import/Export." Under Export, click the button next to "vCard, Zip of .VCF files," and save the .zip file. Now save the file into your computer's hard disk. Create a folder in the SD card of the Samsung Vibrant and unzip all the vCard files contained in the zip file into the folder you have created. Now you are set to import the vCards into your Samsung Vibrant.


(URL: http://forums.crackberry.com/f52/how-export-address-book-blackberry-windows-contacts-vista-10566/)



Importing contacts to Vibrant

In Contacts, go to Settings>More>Import/Export

Export the contacts to SD.

Then go Import/Export

and Import them from SD to phone.

Wait for the phone to read the vCards from the SD card. Follow screen instructions.

Then, when you select a Contact, and choose edit, you will see 2 tabs at the top; Your Gmail syncs and Phone. Choose the Phone tab, and you'll see all of the contacts. Then when you choose to edit one, the option to choose a ringtone, group, etc. for each contact will be available to you.

Then, if you so choose, you can choose the View option under settings, and uncheck the gmail contacts, and leave only the Phone contacts viewable (unless you also have facebook, etc. contacts you wish to be viewable as well).

In any case, I think this should work well for you.
(URL: http://androidcommunity.com/forums/f76/importing-contacts-to-vibrant-38552/)

Monday, September 6, 2010

Error: Can't load netbeans when Java after jdk change

If you can not load Netbeans because it can not find Java, just edit this file and put the correct path of java


# ${HOME} will be replaced by JVM user.hit ome system property
netbeans_default_userdir="${HOME}/.netbeans/6.8"

# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options="-J-Dorg.glassfish.v3ee6.installRoot=\"C:\Program Files (x86)\sges-v3\" -J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"
# Note that a default -Xmx is selected for you automatically.
# You can find this value in var/log/messages.log file in your userdir.
# The automatically selected value can be overridden by specifying -J-Xmx here
# or on the command line.

# If you specify the heap size (-Xmx) explicitely, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled
# (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)

# Default location of JDK, can be overridden by using --jdkhome :
netbeans_jdkhome="C:\Program Files\Java\jdk1.6.0_21"


# Additional module clusters, using ${path.separator} (';' on Windows or ':' on Unix):
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"

# If you have some problems with detect of proxy settings, you may want to enable
# detect the proxy settings provided by JDK5 or higher.
# In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options.

Wednesday, September 1, 2010

Apache HTTPD daemon script

#!/bin/bash
#
# /etc/rc.d/init.d/apached
# Startup script for the Apache web server
#
# chkconfig: - 85 15
# description: Start up the Apache web server.
# processname: apached
# pidfile: /var/run/apached.pid
# config:
#

# Source function library.
. /etc/init.d/functions


RETVAL=$?
APACHE_HOME="/usr/local/apache"

case "$1" in
start)
if [ -f $APACHE_HOME/bin/apachectl ]; then
echo $"Starting Apache"
$APACHE_HOME/bin/apachectl start
fi
;;
stop)
if [ -f $APACHE_HOME/bin/apachectl ]; then
echo $"Stopping Apache"
$APACHE_HOME/bin/apachectl stop
fi
;;
*)
echo $"Usage: $0 {start|stop}"
exit 1
;;
esac

exit $RETVAL