Wednesday, October 19, 2011

CM7 Alpha2.1 is Here!!!

Original posted by dalingren@RootzWiki

If you don't have Alpha1 installed, please click here for instructions to directly install Alpha 2.1

Update Guide (by cellneuron)ALWAYS BACKUP FIRST!!!
1. copy the zip file to SDCARD (recommend to do this in android). Remember the location of the file.
2. click and hold power button, choose reboot, then choose the second option (recovery).
3. you should reboot into recovery mode now.
4. Using the volume buttons, navigate through the menu until "install from a zip file", and then confirm it using home button.
5. in the next menu, you will choose the copied zip file.
6. in the next menu, confirm it.
7. wait a few minute until the flashing is done. Using power button to go back if no menu item shows "go back".
8. reboot

Changelog:
* Plugging headphones in should now shut off speaker volume
* Battery drain issues have been (partially) addressed
* More apps now available in market (thanks to Flemmard)
* Temporarily removed suspect fsck_msdos to fix random folder deletion on media/sdcard.
* At least one type of "sleep of death" (TP won't wake up) has been fixed
* Wifi should no longer hang in sleep
* Vibrator no longer disappears
* Touchscreen no longer unresponsive after sleep
* cifs support added
* Touchstone should now charge better
* fixed broken links resulting from first version of installer (mount now works)
* pptp vpn now works
* OpenVPN TUN support added
* USB mounting in vold added
* Misc. fixes to ACME Installer (more graceful exits, nonstandard LVM media location handling, etc.)
* fixes to surfaceflinger to improve performance
* upstream cm7 changes added

Additionally, there is now an ACME UnInstaller for those who wish to remove the alpha completely. It should remove cm7 and reclaim the space back to the original media partition. Just as with the alpha itself, use the uninstaller at your own risk. Instructions for use are below.


FAQ ADDENDUM (ALPHA 2)


WHERE CAN I GO TO GET UPDATES ON CM7/CM9 FOR THE TOUCHPAD?
* For those familiar with IRC: join #cyanogenmod-touchpad on freenode(note: requires registered nickname to speak in channel)
* Major updates will be posted to the original post in this thread
* You can also follow @dalingrin on twitter for updates

I'M GETTING A "FILE NOT FOUND" ERROR WHEN I TRY "novacom boot mem:// < ACMEInstaller". WHAT AM I DOING WRONG?

On Windows machines, novacom may be installed to "C:\Program Files\Palm, Inc\" , which may not be in the path of commands to execute from the command line. One solution is simply to copy the "ACMEInstaller" file to that folder and then use the "cd" (change directory) command to navigate to the folder and issue the command from there. Others have reported success by using "novacom.exe" instead of just "novacom".

Macintosh and Linux users may want try something similar-- use the full pathname of novacom. Depending where it was installed, you may find that a command such as this works:

/opt/nova/bin/novacom boot mem:// < ACMEInstaller
THERE ARE TWO "UPDATE...ZIP" INSTALLER/UPDATERS? (1) ACME AND (2) CLOCKWORK. WHY IS THIS?
ClockworkMod Recovery is the standard way of installing update.zip files for most CyanogenMod devices. Unfortunately Clockwork could not handle the unique circumstances of the TouchPad-- namely the need to repartition to create new space for CyanogenMod as well as install and make use of moboot.

For that occasion, ACME Installer was created. ACME is able to do the initial install as well as install update...zip files. However, ACME is not interactive and must be run with novacom from a computer over the USB Cable.

While you may use ACME Installer to install most subsequent "update...zip" files, remember that it was designed primarily for use as an initial installer of moboot, clockwork, and cm. Clockworkmod Recovery on the other hand, can run and be operated from the TouchPad alone and offers additional features such as an interactive menu system, backup, and restore.

Which you choose in the future to use is up to you-- at present, moboot cannot yet be installed or updated by ClockworkMod. Soon, however, moboot will also be clockworkmod-compatible.

CM7 itself can be updated through either ClockworkMod Recovery or ACME Installer. So if a new version of CM7 comes along, you can use ClockworkMod (by copying the file to your "sdcard" partition and booting into ClockworkMod from the boot menu) or ACME (by copying the file to /cminstall in your "sdcard" partition and then running ACME Installer from novacom, just as you did before.
I'VE RECENTLY UPDATED WEBOS. IS THERE ANYTHING I NEED TO DO?
Yes. The WebOS update may have delinked moboot from the /boot directory. If you are no longer able to see a boot menu, it is advised you use ACME Installer to re-install moboot.


WHY ARE THERE SO MANY ZIP FILES TO INSTALL? WHY NOT JUST HAVE "ONE ZIP TO RULE THEM ALL"?

In future, you may want to update moboot or clockworkmod independently or downgrade to an older version. The zip files are meant to be installed on an as-needed basis. In the future, you may update ONLY moboot to a newer version. And now you know how to do it.

I FORGOT TO INSTALL MOBOOT/CLOCKWORKMOD! DO I NEED TO START ALL OVER NOW?

Nope. These zip files were made to be independent so you can mix and match and update them whenever you want.

If you want to update/install moboot or clockworkmod independently, you can always (from cm7) plug your USB to your touchpad, then look for the USB icon in the notification bar. Use your finger to expose the notification tray, and then select the USB mount notification, and then instruct Android to mount to your computer. Then, just add the moboot.zip or update-clockworkmod.zip to the "cminstall" directory (you may need to add it if it doesn't exist). And, as before, restart the TouchPad with the up-volume held down until you see the USB symbol. Then, with the USB cable attached to the PC, re-run AcmeInstaller with novacom.

MAC USER HERE. I KEEP DOWNLOADING THE .ZIPS, BUT THEY SEEM TO BE AUTOMATICALLY UNZIPPED.

This is an (unfortunate) default setting regarding the processing of "safe files" in Safari. It can be changed in preferences, but an easy solution is to download the zips from Chrome or Firefox so they are not auto-processed.

WHY ISN'T THE LIGHT SENSOR WORKING?


It was mentioned above, but you need to check "Enable Light Decrease" in cyanogenmod settings->display->automatic backlight
HOW DO I TURN ON THE LOCKSCREEN?

Make sure that Settings->CyanogenMod->Tablet Tweaks->Disable Lockscreen is not checked.

You can set the lockscreen of your choice at Settings->CyanogenMod->Lockscreen->Style options->Lockscreen style.

WILL YOU TELL ME HOW TO REMOVE WEBOS ENTIRELY?

Nah. We like WebOS. Furthermore, we don't recommend removing it. In future it may be needed for updates and such. Plus it doesn't take up much space, and you may find yourself wanting to give it a second look some day ;)
HOW DO I MODIFY STUFF IN THE /SYSTEM PARTITION?
Be advised-- changing files around in your system partition can easily lead to problems if you screw something up. Should that happen, you may need to reinstall using clockworkmod recovery or ACME Installer.

You can use the "adb" tool to issue a command that will allow you to change files on the /system partition.

$ adb remount

(again, the $ represents the prompt from your computer, not part of the command)

HOW DO I CLEAR OUT *ALL* MY WIFI SETTINGS AND START FRESH?


If you find that your wifi is "strobing" on and off, or you wish to completely wipe out all wifi settings, you can do this in one of three ways:

THE "RIGHT" WAY (USING ADB):

adb shell rm -rf /data/misc/wifi && reboot

(this will remove the settings and then force a reboot)

THE "I-DON'T HAVE ADB INSTALLED" WAY:

From the Terminal app.

# rm -rf /data/misc/wifi && reboot

(similar command as above. The # is a prompt-- don't type that part. If you see a $ prompt instead, type "su" (no quotes) and it should become a #)
THE VERY DRAMATIC "I DON"T MIND LOSING *ALL* MY SETTINGS" WAY

Boot into clockworkmod recovery. Do a factory reset. This will remove your wifi settings... along with ALL your personal settings and apps. Only use this if you understand that you will effectively be resetting CM7 to the first time you ran it.

HOW DOES "MOBOOT" WORK EXACTLY AND HOW CAN I ADD ADDITIONAL OPERATING SYSTEMS OR BOOT CONFIGURATIONS?

Documentation regarding the configuration of moboot to support additional boot options/preferences will be forthcoming.

One thing to know is that the space in the /boot partition is extremely limited at the moment, and cannot be easily re-sized, as it will freak out WebOS Doctor and may create other issues. Unless and until the /boot partition can be extended, this size limitation will affect the number of OSes that can be squeezed onto the TouchPad at one time.

(Technical aside: one idea on expanding /boot to allow for virtually unlimited OSes would be to have an extra logical volume that would contain the required files. this volume would then be mounted to a mount point in /boot by moboot. Implementing this will be a fairly significant undertaking and is low on the list of priorities. However, if someone with the right technical experience wishes to know more about this, please visit #moboot on IRC freenode to discuss.)

IS THERE A BUG DATABASE?

There's an "issue" database. Before you submit your issue, be sure to search carefully to make sure it has not been previously reported. If you post a "dup", you may be roundly mocked and jeered.

Also, avoid "me too" posts. Remember that any comment you add will be emailed to every person who has subscribed to that issue, so avoid "me too" posts. That is, don't comment that you are experiencing the issue as well, unless you have something important to contribute to the conversation.

That said, here is the URL for the issue database:

http://code.google.com/p/cmtouchpad/issues/list

HOW DO I COMPLETELY REMOVE THIS ALPHA FROM THE TOUCHPAD?

There is now an ACME Uninstaller (which is subject to the same disclaimers as the alpha 1 installer. Try using at your own risk.) ACME Uninstaller is used almost exactly as the ACMEInstaller was, only unlike the installation process, it is not necessary to copy any files to the TouchPad. To use, simply download and unzip the Uninstaller. Then connect the TouchPad to your computer via USB. Then restart the TouchPad with the volume-up key held until you see the large, white USB logo. Then, issue this command on your Terminal/Command Line on your computer:

$ novacom boot mem:// < ACMEUninstaller

As before, the "$" above represents your computer's prompt and should not be typed.

(Note: Depending on whether novacom is in the executation path on your computer, you may need to move the ACMEUninstaller into the same folder or directory as novacom or novacom.exe. Since you have previously run ACME Installer, you should already be familiar with this process).

That's it!

ANY OTHER TIPS?

* If you suspect something may not be working due to incorrect permissions, you can type "fix_permissions" (no quotes) in the terminal to reset all file permissions to normal.

* Settings->ADW Launcher->Screen -> Desktop Columns. Set to 8 for more space on the Launcher screen.

7 comments:

  1. installed Alpha2,

    left it over night. in the morning would wont boot up, had to do (power+home+volume up) then usb showed up, then had to do reboot and it worked,
    then left it sitting for a few hours and had to do it again.

    is there a way to fix the problem so it would work normally, instead of doing all this. is there a patch that i can download and install.
    HELP!!!!

    ReplyDelete
  2. The CM7 is still working on this "sleep of death" issue, hopefully it will get fixed in the next version.

    ReplyDelete
  3. Thanks CM7 developer for this...
    I can't wait for CM7 Team to fix the wifi and the Battery drain issues

    ReplyDelete
  4. can anyone please tell me when can we have next update?

    ReplyDelete
  5. It's hard to say, many issues need to be fixed:

    http://code.google.com/p/cmtouchpad/issues/list?can=2&q=milestone=Alpha3

    ReplyDelete
  6. I just uninstalled Alpha 2 on my HP TP.... Sorry to say that, it is not that useful until there is a tablet version (honeycomb or ICS) available without all the bugs.

    ReplyDelete