Thursday, November 5, 2009

关于hero刷rom的问题解答贴

不得不说,臭屁洋也有累的时候,最近解答了很多朋友的问题,真的有些烦的感觉,想想花多一点时间给大家写一个问题集中帖,方便大家参考解决问题,也方便我给大家解答问题!(本人基本不用usb线,所以我的方法大多数是用读卡器和sd卡的,关于usb连接的问题我可能无法解答)

——————————————————————————————————————————

一、我怎么知道我手机rom版本?
进入设置,关于手机,内部版本就是你手机的rom版本,格式一般为1.23.456.7或者1.23.456.78,其中1.23为大版本号,目前最新的版本号是2.73,7或者78为小版本号(姑且这么说吧),版本号数字越大越新,456感觉为区域号。
也有部分是一些自制版本,比如modaco或者drizzy等,大家可以去http://android.modaco.com/category/409/htc-hero-hero-modaco-com/ 或者http://forum.xda-developers.com/forumdisplay.php?f=508 或者在论坛搜索最新的版本情况。

二、我的手机需要刷rom吗?刷rom有风险吗?
hero在最新的官方版本,2.73版做了很多重要的更新,参考:http://www.androidin.net/bbs/thread-16107-1-1.html ,如果你的手机版本低于这个版本,建议刷取新的rom。许多自制的rom也会不断增加新的软件功能,比如modaco的rom有的会带root权限或者可以自动app2sd,一般都装好了java,你可以直接下载论坛里的java版的QQ安装,大家根据自己的需要来选择是否升级。
个人觉得hero刷rom是我玩机八年来最简单最安全的,基本不会出现变砖的可能,虽然我不能打包票,不过目前还么有人说自己刷机失败成砖的帖子吧!?


三、我该选什么rom呢?
官方自带的rom目前看起来最稳定,但是最新的2.73版是无法直接获得root权限(获取root后有可能会wifi失效)和recovery,对于玩手机的朋友来说,这不是好事。
我现在使用的modaco的rom有较强的功能(上个问题已经提及),但是它的自制rom(不是他们提供的官方rom或者官方+root权限的rom)会造成彩信接收/发送不正常,参考http://www.androidin.net/bbs/thread-21525-1-1.html
据说drizzy的rom不存在这些问题,不过xda上对这个rom的评价不高,我也一直没有测试,熟悉的朋友可以补充一下。


四、刷rom之前我要做什么?
如果选择官方RUU直接升级请直接参考第六个问题,如果刷其他rom,你需要有recovery.img,recovery就是你用home键+开机键开机后能进入的一个界面,在这个界面你可以直接用sd卡上的zip的rom升级或者备份你的系统,老版本的recovery只有三个选项,无法备份系统,只能用update.zip这个文件名的文件升级,不能用任何文件名的zip文件升级。
此外,一般刷rom之后最好wipe一下(wipe只是抹除rom意外的个人数据,不会影响rom本身的东西,比如你新刷的rom是带root的,wipe之后仍有root权限),也就是返回出厂设置一下比较好,但是这样就会丢失你的所有软件,短信彩信,联系人(备份在google上没有关系)和设置等等,备份或者不wipe都可以。


五、我没有recovery怎么办?
你可以使用http://www.androidin.net/bbs/viewthread.php?tid=15941 这个方法刷入最新的recovery,recovery可以在这儿下载:http://www.androidin.net/bbs/viewthread.php?tid=21615 或者http://android.modaco.com/conten ... device-permanently/ 有些朋友会出现flash按键变成灰色,没关系的,只要你先点击备份按钮一次,flash按钮就可以用了。有了recovery,你就可以刷其他的rom了。


六、官方的ruu升级rom怎么做?
参考 http://www.androidin.net/bbs/viewthread.php?tid=15867


七、如何刷modaco的rom?
首先从 http://android.modaco.com/conten ... aturing-wavesecure/ 下载你选择的rom,下载下来是一个zip文件,你可以把这个文件改名成update.zip,然后复制到你的sd卡上(不要放在任何文件夹里),关机,用home键+开机键开机进入recovery,选择用这个zip文件升级,等待片刻即可。


八、如果我是707或者728的rom?
这些是我们常说的亚太版的rom,它因为cid的问题,不能获取root,不能刷recovery,所以不能直接刷rom,但是现在论坛有方法解决,参考:http://www.androidin.net/bbs/viewthread.php?tid=22211


九、为什么我刷完rom没有中文了?
如果你刷的是官方rom或者modaco不带中文支持的rom,刷机之后是没有办法选择出中文来,建议你去市场下载一个叫做morelocale的软件(你也可以事先下载好),用它可以调出中文。


十、modaco为什么有那么多rom?什么意思?
'Core' download: http://content.modaco.net/hero/2.7-update-...core-signed.zip这个是基本的rom
'Core Chinese' download: http://content.modaco.net/hero/2.7-update-...nese-signed.zip 这个是加了中文支持的rom,可以直接调出中文
'Enhanced' add on pack:
http://content.modaco.net/hero/2.7-update-...nced-signed.zip 这个增加了三个软件的增强版(须先刷前两个rom),三个软件一个是名片扫描,论坛已有,一个是wap浏览器,用处不大,一个是flurk,已经被强,用不了
'Wavesecure' add on pack:
http://content.modaco.net/hero/2.7-update-...cure-signed.zip 这个把手机保护软件wavesecure加到rom里,不能直接删除它,能更好的保护手机
'Boot Sounds' add on pack:
http://content.modaco.net/hero/2.7-update-...unds-signed.zip modaco的rom现在是无声启动的,刷入这个可以调出声音

首先刷最上面两个rom中任何一个,其他的自行添加,方法和刷rom一样。

十一、刷完的rom我想删除不要的软件可以吗?
其实那些不用的软件很容易删除的,它们都放在system/app文件夹下,如果你有root权限,只要进去文件夹,打开读写,把不要的软件移动出来到就好了。比如,如果你不要youtube,就把system/app文件夹下的youtube.apk移动到sd卡上就好了,它就消失在你的所有程序里了。当然,有些文件放在system/lib下,你找到文件名相同的删除就好了。 root explorer的使用方法参考:http://www.androidin.net/bbs/viewthread.php?tid=6892highlight=root%2Bexplorer

十二、刷完mocado2.7之后,usb连接手机,sd卡会报错,为什么?
这应该是2.7自带的一个叫做swapper的软件,此软件本来是在sd卡上制作一个缓存文件,用于程序运行的文件交换(相当于windows下的缓存,我是这么认为的),但是它会让你的sd卡报错,如果造成不便,你可以运行这个软件,swap off它,然后再settings里禁止它随机启动就好了,或者你可以用11条的方法直接删除它。(86417046已测试可行

十三、我刷新rom之后,我已经有的root权限还在吗?
除非你新刷的rom是已经有root权限的,否则刷完之后需要重新获取root权限。

十四、什么是rom?什么是ruu?
我用简单非专业的语言来解释吧,假设hero是一个大房子,rom就是房子的砖瓦框架,高手自制的rom,相当于搭建不同样子的房子框架。ruu其实应该叫做ruu官方刷机工具,它是一个相对安全的升级工具,但是要求手机型号和区域匹配(这就是为什么707或者728的hero无法直接使用ruu刷机的原因),而且它的刷机是从最“底层”开始的(这也是为什么ruu刷机能去掉心机开机画面的原因),所以一旦你的手机出现无法启动的问题时,它是唯一的救命稻草。

十五、用update.zip压缩包刷机和用fastboot刷机的区别?
(update.zip)签名刷机相当于正常安装系统,fastboot刷相当于ghost镜像。Update的包比起fastboot的镜像更容易修改,且容易刷,签名作用是防止刷错包,fastboot其实属于维修或者技术人士用的,自然没有那么严格的签名认证。
killerking 发表于 2009-4-17 01:10
update刷机是要检查签名的。而fastboot可以刷自己编译的系统。

十六、modaco的rom带app2sd,我改怎么操作?
modaco的自制rom可以自动app2sd,但需要你自己先将你的sd卡分出一个ext的分区,并且是第二分区,也就是在你以后文件的分区后面,用读卡器操作比较好,可以无损分区,分区可参考 http://www.androidin.net/bbs/viewthread.php?tid=821
分区之后再刷rom便可以自动app2sd,有朋友在刷完rom之后分区,重启后hero自动变成了app2sd。
想查看是否app2sd成功需要你有root权限,用root explorer之类的软件到system/sd/app文件夹下看你安装的软件是否在这个文件夹下,如果在下面,则app2sd成功

十七、我的手机是心机开机界面,怎么刷?
请参考此帖:http://www.androidin.net/bbs/thread-24879-1-1.html

十八、什么是radio,怎么刷radio?
这个Radio指代的是通讯模块,就是手机里面负责信号部分的模块,PDA类型的手机,基本都强调这么个概念。一个是PDA,一个是手机(貌似是句废话- -),举个很简单的例子,以三星的PPC手机为例,比如i718.比如i908,他们在刷机的时候(所谓刷机就是重装系统)一般都是分两部分,第一部分刷手机部分,第二部分刷PDA部分,而且两部分基本不相干。
axela 发表于 2009-5-7 10:47
刷radio和刷rom的操作基本相同,radio可以在 http://android.modaco.com/conten ... -update-zip-format/ 下载,同样也是zip包,放到sd卡下,用home+挂机键 开机进入recovery,刷入这个zip文件,中间会要你重启一次(第一个选项重启),刷完后,下方会提示“fomating cache.......”,这个时候就是已经刷完了!
radio可以在设置->关于手机里查看到,baseband版本就是。

十九、什么是app2sd,为什么要做这个?
google手机的软件为了安全性和稳定性都是默认安装到手机内存里,但是手机内存有限,所以我们会做app2sd操作,来让我们安装的软件放到sd卡上,而google的android系统是基于linux的,所以sd卡上本身的fat格式是不会被识别的,所以我们要分区(第二分区)出来,格式成linux认识的ext2或3或4格式,在用链接命令,把这个分区映射成一个系统文件夹system/sd(大概这个意思),把所有的软件装到这个“文件夹”下,这就是app2sd的操作。
app2sd的操作其实是牺牲了一部分软件的速度和稳定性来换取更多的手机内存安装更多的软件。另外,app2sd只是把软件放到了sd卡上,运行软件还是需要占用手机的内存的,所以,你装了软件之后,一般手机内存还是会减少一些你如果安装的软件在70个以内,个人觉得没有必要,呵呵,如果很多游戏软件除外,此外,使用app2sd最大的好处就是,刷一个带app2sd的rom之后,以后升级这个rom(依然带app2sd)的时候,你的软件都会完整保存(个别除外,比如htc input chinese需要重新添加几个文件到system/lib下)。

Sunday, November 1, 2009

Workaround for HTC Hero Sync Problem in Windows 7

HTC latest masterpieces, HTC Hero, packs with the most coveted features in the modern mobile world, including powered by Google’s famous Android operating system. However, many user who are running Windows 7 (either 64-bit or the 32-bit version) are having some trouble sync-ing their Hero to their computer, as the driver is not installed properly in Windows 7. This seems to be a common problem. Luckily there is workaround and alternative sync method, by following guide below.

hero

In order to get HTC Hero synchronizes with Windows 7 computer:

  1. Download latest specialized sync tool from HTC, namely HTC Sync 2.04 from HTC: HTCsync.zip
  2. Install the downloaded program on the computer. At this moment, your computer still unable to recognize the HTC Hero.
  3. Manually update the HTC drivers from Windows 7, using the Windows Vista drivers by installing HTC Sync software on a machine running Windows Vista and then copying the drivers (namely androidusb.cat, androidusb.inf, androidusb.sys, htcrndis.cat, htcrndis.inf and WdfCoInstaller01007.dll in HTC Drivers folder) over to the Windows 7 machine.

    Alternatively, download pre-downloaded HTC Hero drivers packaged in ZIP format:

    HTC Hero driver for 32-bit Windows 7: HTC_Driver_32.zip
    HTC Hero driver for 64-bit Windows 7: HTC_Driver_64.zip

  4. Extract the driver into a folder. For example, %SystemDrive%:\Program Files (x86)\HTC\HTC Driver\Driver Files\Vista_x64 (for the Windows 7 64-bit) or %SystemDrive%:\Program Files (x86)\HTC\HTC Driver\Driver Files\Vista_x86 (for the Windows 7 32-bit) accordingly.
  5. Go to Devices

    4) Update the driver (accessible from Properties -> Hardware tab) for incorrectly installed Android Phone from the Devices and Printers menu in Windows’ Start Menu, by selecting the copied driver location. If no ADB driver been installed yet, just install the driver directly by right click on the .INF file and select Install.

  6. The HTC Hero phone should now displayed as “My HTC”, and will be able to sync with Windows 7.

Thursday, October 29, 2009

Create a System Repair Disc in Windows 7

The new version of Windows seems to be a lot for stable than previous releases, however you never know when a malfunction might occur. Today we take a look at an option in Windows 7 that lets you create a System Repair disc in case you need to boot from it to recover your OS.

Create System Repair Disc

Type system repair disc into the search box in the Start menu.

1-sysp

The dialog box opens where you select the right drive and click Create disc. A CD will be fine as it only takes up 142MB of space.

3-sysp

Using the Disc

If you are having problems with your machine just pop in the recovery disc and boot from it and enter into Windows Setup [EMS Enabled].

4-sysp

After it boots up you can access recovery tools or restore the computer back to a system image (see our article on creating a system image in Windows 7).

5-sysp

Now you can choose from different recovery options to help you get your machine back up and running.

6-sysp

You never know when an Operating System disaster might occur, but having a System Recovery Disc to boot from should be part of your backup and recovery toolbox in case it does.

HERO通过本本adhoc共享宽带上网,更新权限取得教程

不知道大家留意到没有,HERO没办法使用AD-HOC的连接方式连接笔记本电脑的无线.
这样有时候会给我们带来很大的不便,比如说在没有WIFI的情况下,我们只能忍痛使用WAP流量了....

好吧,各位童鞋们.步骤很简单,就不一一抓图了,教程开始吧:

首先连接您的GphoneUSB接口上去,并下载我附件中的压缩包.得到两个文.wpa_supplicant.conf和tiwlan.ini文件,我们需要把它覆盖到相应的文件夹中去.

因为这两个文件是系统文件,权限是只读的.我们需要先取得权限:
如图.
在这里我使用SUFBS来处理权限问题:

1).首先我们打开SUFBS来定位我所修改文件的位置,然后remount为R/W,如图所示:


2).长按我们要修改的文件,我们查询一下他的权限,显示为644:


3).修改权限为777:


以上步骤针对这两个文件都要完成,完成后我们进行下一步覆盖文件的操作(请记得覆盖文件完毕后修改回原来的权限,在这里十分感谢楼下的童鞋,不是你提及,我都忘记这个关键的步骤了....呵呵~不好意思):

1.wpa_supplicant.conf文件

我们使用adb进行操作:
  1. adb remount
  2. adb shell rm /data/misc/wifi/wpa_supplicant.conf
  3. adb push wpa_supplicant.conf /data/misc/wifi/
复制代码
2.tiwlan.ini文件:

我们继续使用adb进行操作:
  1. adb remount
  2. adb shell rm /system/etc/wifi/tiwlan.ini
  3. adb push tiwlan.ini /system/etc/wifi/
复制代码
复制成功后,重启手机.开心的与你的笔记本无线连接吧!

另外,我这里所制作的配置文件默认的SSID为HERO , 无加密方式!在笔记本上建立的SSID也应该为HERO,且加密方式为无!

如需修改请自行修改两个文件!

不会建立AD-HOC连接的童鞋们,请自行google!

WIFI.rar (2.83 KB)

Sunday, September 27, 2009

Boot your USB Drive in VirtualBox

The GUI of VirtualBox does not have an option to boot a USB drive (Physical Drive) in a virtual machine.

However you can attach a physical drive to a virtual machine using a command line tool that is bundled with Virtual Box.You can then boot your virtual machine from the attached Physical drive.

This is the continuation of my previous article.You can read more about bootable usb drives in my previous article.

In this article I will show you how you can boot a bootable usb drive in Virtual Machine created by VirtualBox.You can easily test bootable USB drives within Windows and without restarting using this method.

Warning:Do not Attach your Primary hard disk to your Virtual Machine and Boot it in the Virtual machine

Download and install Virtual Box from here http://www.virtualbox.org/wiki/Downloads

Attaching a Physical Disk to a Virtual Machine

Section 9.10 in the VirtualBox manual contains all the details required to attach a physical disk to a virtual machine.Using the vboxmanage.exe tool you can create a tiny vmdk file which points to your real USB drive (Physical Drive/Disk).You can attach this tiny vmdk to your virtual machine.A vmdk file is a virtual hard disk file which can be used with VirtualBox and VMWare.

The vboxmanage.exe tool is bundled with VirtualBox.You don’t have to download it separately

Open Command Prompt

Navigate to your Virtual Box installation Directory.

cd c:\”Program Files”\Sun\”xVM VirtualBox”

Type the following command and press enter
Syntax of the command
VBoxManage internalcommands createrawvmdk -filename path\to\usb.vmdk -rawdisk \\.\PhysicalDrive1 -register
Example
VBoxManage internalcommands createrawvmdk -filename c:\Users\Agni\.VirtualBox\VDI\usb.vmdk -rawdisk \\.\PhysicalDrive1 -register

You have to replace path\to\usb.vmdk with the path to your VDI folder(Where all your virtual hard disks are stored).If you want to save your usb.vmdk in different location,then you will have to add the usb.vmdk file manually in the GUI.This is because the register switch only registers the virtual hard disks stored in the User ’s VDI folder .

In windows your 1st Hard Disk will be \\.\PhysicalDrive0.Your 2nd Hard disk will be \\.\PhysicalDrive1.

To find the correct number for your USB Drive

Right Click on My Computer-Manage-Disk Management

Here you can find the correct disk number of your USB Drive

Drive Number of the Physical Drive

Drive Number of the Physical Drive

You will have to replace \\.\PhysicalDrive1 with the correct drive number.

In this case there was only 1 hard disk and 1 USB disk.So the USB drive is referred by \\.\PhysicalDrive1

In linux you have to replace \\.\PhysicalDrive1 with the correct /dev/sda reference.

Now you should have a tiny vmdk file.You can start your Virtual Machine with this tiny vmdk and boot from it.

  1. Start VirtualBox.
  2. Create a new Machine or Select an Existing Machine.
  3. Settings-Hard Disk-Add-Select usb.vmdk
  4. Make sure that usb.vmdk is your Primary Master.


  5. System-Boot Order.Set your Hard Disk as the first boot device.

    Boot Order

  6. Now start your Virtual Machine.

Your virtual machine will boot from your bootable physical hard disk.

In this screenshot I have used a bootable Ubuntu USB drive created using Unetbootin.



Read more: http://agnipulse.com/2009/07/boot-your-usb-drive-in-virtualbox/#ixzz0SHfDD0LD

Monday, August 24, 2009

Hack Your Wii for Homebrew without Twilight Princess


Bummed because you've got a new Wii and the Twilight Princess hack won't work on it? Have an older Wii but you don't want to buy Twilight Princess just to install Homebrew? Try the free and easy bannerbomb exploit.

Last year we showed you how to use the Twilight Princess hack to install the Homebrew Channel and various goodies like DVD playback. The bannerbomb exploit is the newest way to install the Homebrew Channel and works on the newest systems, unlike Twilight Princess—which has been a defunct hack since menu 4.0 was introduced.

How does it work? The hack exploits the Wii menu itself, loading a fake banner which causes a system crash and allows the exploit to load unsigned code. During our field testing it took—not counting time to carefully read the instructions and take photographs—less than ten minutes to complete the process.

For this hack you'll need a Wii, an SD card formatted to FAT, a copy of the bannerbomb file (I've linked to the banner bomb exploit file that works for the most number of Wii units right out of the gate; if it doesn't work for you, visit the main page and try some of the other versions), and the HackMii installer. The following instructions are an expanded photo-pictorial version of the instructions found on the bannerbomb exploit author's site.


You'll need to copy the files from your computer to the SD card. If you're using an SD card you already use for the Wii, you'll need to rename the "private" directory to "privateold" for the duration of the hack.

First, unzip the contents of the banner bomb exploit onto the card. This should create a "private" directory with the contents of the zip file.

Next, copy the installer.elf file from the HackMii installer onto the root of the SD card and rename it to boot.elf—as seen above.

Once you have the files on the SD card, it's time to toss it in the Wii and boot up.

Here we are at the initial main menu of the Wii. Nothing special to see here except for the fact that it's been over a week since we've hopped on the Wii Fit.

Click on the circular Wii icon in the lower left corner. DO NOT click on the SD card icon if you've got a newer or updated Wii with the 4.0 menu. You won't hurt your Wii, but the exploit won't work.

Once you've clicked on the Wii icon, you'll be in the sub-menu seen above. Click on Data Management to access the next menu.

Click on Channels to get to the SD card. You won't be able to access it via the Save Data tab.

Click on the SD card tab to load the exploit.

The Wii will ask you "Load boot.dol/elf?", click Yes.

Not turning your Wii-hacking skills into a profit engine for global domination is a very altruistic thing to do. Take a moment to be thankful for all the awesome people in the world that create and distribute the free and open-source software that makes our lives better. Press 1 to continue loading the exploit.

At this point the exploit has been executed and the HackMii installer is the temporary operating system—think LiveCD—of the Wii. From this menu you can select whether or not you want to install The Homebrew Channel, DVDx, and/or BootMii—BootMii is a more advanced tool which you may or may not care to load, it's essentially a boot loader for the Wii that provides a more extensive "takeover" of the Wii than The Homebrew Channel. You can read more about it here and here, if you're curious.

On this menu you install or uninstall the respective tools. If this is your first time running the HackMii Installer you won't see the Uninstall option under any of the entries. During testing we forgot to photograph this screen and hopped back into the installer to snap it.

Install The Homebrew Channel? Yes, Ma'am.

After you agree to install the The Homebrew Channel it usually installs in a matter of seconds. Far faster than we were able to raise the camera to snap a picture. You'll see the SUCCESS in cash-money-green when it is done installing. You can repeat the installation process for DVDx and BootMii if you desire.

After The Homebrew Channel finishes installing you'll be taken to the channel itself. The Homebrew Channel runs applications out of the /YourSDCard/Apps/ folder. During this screenshot our SD card was empty, thus the expansive bubbly-goodness of the default Homebrew screen. As you add applications they will appear here.

Now we're back to the main menu. 12:46pm to 1:15pm and we're done! Under 30 minutes, including stopping to take pictures.

Wondering what you can do with it once you have the Homebrew Channel installed? Well, for example, you can backup your Wii games to a hard drive for safe keeping and faster load times, play old-school games in emulation, and play DVD-backups without a modchip.

Have a favorite homebrew application for the Wii? We'd love to hear about it in the comments.

Click here to find out more!