Tuesday, April 5, 2011

Installing Froyo firmware on Flytouch 2




INSTALLATION

Installation is slightly different from normal releases because it requires flashing in 2 steps. Luckily, it's really easy:

1. Download bootable SD-card image and unzip: http://www.mediafire.com/?4quqzqyce9eje7a

2. Write image to an SD-card that's at least 1GB in size using WinHex:

  • Get WinHex here: http://www.winhex.com/winhex/
  • In WinHex: tools, disk tools, clone disk
  • Choose file from zip (sdcard.img)
  • Choose the sd card as your destination
  • Start sector: fill in 0, also make sure the directories are correct on left
  • When finished, take out the card.

In linux, you just unzip the file and use dd to write it to the sd-card:

Code:
dd if=/path/to/sdcard.img of=/dev/sdX # (where sdX is your scsi disk device, check dmesg)
3. Turn off tablet and put sd-card in TOP slot (between the 2 usb ports).

4. Turn on tablet. It will report that it is booting off the sd-card, and that it's flashing kernel + filesystems.

5. Take out the sd-card when the tablet asks you to do so (takes less than a minute). Put it in the OTHER sd-card slot (bottom one), and reboot the tablet by holding down the power for 10 seconds to turn it off, then press it again to turn it on.

6. You will now see the tablet booting with a *GREEN* screen. The screen will flash twice to indicate it's starting. The flashing itself will take longer than in the previous step, a few minutes. If succesful, it will automatically reboot, after which you're done and you're booting the new firmware! You'll see a different boot screen (equalizer on a black background)

7. After it has booted and you have unlocked the screen, reboot the tablet first thing! First boots in android always tend to be behave erratically. This is unrelated to this firmware and applies to all Android setups.

If step 6 fails (which is very unlikely), it will stay on the green screen and it will keep on flashing the screen. In that case, you'll have to turn it off. Most likely problem for this is a corrupt SD-card. See troubleshooting below.

Make sure to never put that sd-card back in the top-slot without erasing it first, as it will reflash your tablet!

TROUBLESHOOTING

  • The 'green screen' keeps flashing!
    • The installer will dump a text file on the root of the sd-card which you can inspect. The file is called fail_reason.txt. If no such file exists, things are seriously wrong and the tablet couldn't even properly write to the sd-card. If using another SD-card, or rewriting the SD-card doesn't help, please upload the fail_reason.txt file here.
  • Flashing was succesful, but the system doesn't boot up!
    • The installer dumps one or more text files on the root of your sd-card during the 'green screen' flashing stage. Upload all these files and link to them here.

TODO
  • Find out why some users can't get past the android boot animation despite seemingly succesful flashing
  • Rewrite instructions for creating the sdcard @ windows
  • Figure out why Titanium Backup doesn't work

(**) Tested:
  • wifi, ethernet port
  • battery status works, g-sensor works
  • touchscreen works (precalibrated, you cannot recalibrate it using the settings app)
  • HD video playback works (I recommend Meridian player)
  • Market works (full)
  • angry birds works ( thought I'd mention it  )
  • The firmware has already been rooted! You can connect using adb over wifi, and type 'su' to become root. Find your IP address using the Android System Info app.
  • GPS confirmed

Coby Kyros 7015 - How to install CyanogenMod

Instructions

1. Download and install ClockworkMod .

2: Preparations. If you have not already, install Android SDKto your PC. Download bootimage and system image. Create a "Cyanogen" folder in the clockwork/backup folder on your SD card and unzip both files into this folder. I also renamed and placed my recovery.img in here.

Contents of /Cyanogen

Code:
boot.img
nandroid.md5
recovery.img
system.img
3: Getting Some Files from Eclair. Connect your tablet to your PC and issue the following commands using ADB (Note: This step is to be done from Android 2.1, not from a previous version of CyanogenMod. If you already have CyanogenMod install, please revert to Android 2.1 to retrieve these files)


Code:
adb pull /sys/class/input/input1/calc_table calc_table
adb pull /data/softmac softmac
This should copy the calc_table and softmac files to the directory where ADB is located. Leave them where they are, and place build.prop and sensors.tcc92xx, from COBY7015-fixpack in there as well.

4: "Restoring" CyanogenMod. Boot into recovery mode (hold down front button and press the reset button on back of device). You should now be in ClockworkMod. IF YOU HAVEN'T ALREADY, MAKE A BACKUP! Choose "Wipe data / factory reset" and then "backup and restore." Restore from Cyanogen folder.

5: Restoring Some Key Files. With your tablet connected to your PC, issue the following ABD commands, taking care to keep your tablet awake:


Code:
adb remount
adb push build.prop /system/
adb shell chmod 644 /system/build.prop

adb push calc_table /system/etc/
adb shell chmod 644 /system/etc/calc_table

adb push sensors.tcc92xx.so /system/lib/hw/
adb shell chmod 644 /system/lib/hw/sensors.tcc92xx.so

adb push softmac /data/softmac
adb shell chmod 644 /data/softmac
adb reboot
After your tablet finishes rebooting, you should notice you have a working touch screen.

6: Enabling Google Apps. Download gapps-mdpi-tiny-20101020-signed.zip and MarketUpdateFroyoHdpi.zip. Place onto your SD card and reboot into recovery.vChoose "Install Zip from SDcard" and install gapps-mdpi-tiny-20101020-signed.zip and then MarketUpdateFroyoHdpi.zip. Reboot and accept the terms of the market!

7: Texting using Google Voice. Here is how to text with Google voice. You will need a working android phone (probably needs to be rooted) with Titanium Backup installed. Set up Google Voice on the phone-- make sure you opt for the Google phone number as that is the number you will be texting from. Once up and running, back up the program using Titanium. On the tablet, install Titanium Backup and use it to restore the Google Voice program (App+Data) to your tablet. (You may have to copy the backup files to the Titanium directory on the INTERNAL drive.) Once Google Voice Launches, switch back to Titanium Backup-- do not try to set up Google Voice. Titanium backup will then restore the data for Google Voice. You should now be able to text from your tablet.

Monday, April 4, 2011

Windows Phone 7 Developer Tools Beta 1

The Windows Phone 7 Developer Tools Beta 1 were just released, and included is a tool which can deploy .xap packages easily to your device or emulator. I think we should start a thread where people upload their .xap files so users with the developer tools can test their app. It's not like you're sharing source code, it's just like sharing a .cab file for WM.
Download it from here  source

Windows Phone 7 Gaming Preview WP7 XNA

This is a new video from Microsoft previewing some of the features of their upcoming gaming platform for Windows Phone 7

USGA Golf demo WP7 app



Free barcode scanner

No network connection needed; app based on zxing library and Kevin Marshall's (from Clarity Consulting, can't remember his blog url now) code.
App interface is very simple: run application, focus on barcode, and wait until code is recognized. Touch handset screen to run recognition again.

Buttons description:
- "Save" saves captured barcode to jpeg;
- "Bing" and "Google" used for barcode web lookup (probably this part needs more work)
- "Mail" and "SMS" used for sending recognized code text.
UPDATE 1: v 1.1, auto focus added;

UPDATE 2: v 1.2, orientation-less UI added, project moved to opensource at googlecode: http://code.google.com/p/barcodescan/

UPDATE 3: v 1.2.1, slightly changed autofocus logic, now works better on HTC. Download link: http://barcodescan.googlecode.com/fi...odeScanner.xap

UPDATE 4: v 1.2.2
- barcode search improved;
- added HTC detection, changes in autofocus logic;
http://barcodescan.googlecode.com/fi...nner_1.2.2.xap