工作,学习,生活,这里将会有一些记录. 备用域名:http://meisw.wdlinux.cn 注册 | 登陆
浏览模式: 标准 | 列表全部文章

Rooting Incredible S - AlphaRevX in Public Beta

Update 05/04/2011 - Where we are so far...
I thought I had better update this post, to let people know where we have got to and what we have tried, in case any developers want to join the fight. This will be a little technical and not explained step by step, there is a Q&A if you want to learn more about the goings on.

First off, the 'team'. Below is a list of people currently working on trying to get root, pm any one of us if you want to help. When I say what to help, please don't just PM saying "I want to help, I have no technical knowledge, what can I do?" We have plenty of testers, what we need is technical insight.

l0st.prophet
bin4ry
timbo007up
hawkysoft

Soctty2 was providing a lot of contributions in the early stages but we haven't heard from him in a couple of weeks, so don't contact him directly.

Where we are at at the moment. We can obtain temproot via the psneuter exploit, which allowed bin4ry to attempt to modify the wpthis exploit to allow us to load an S-OFF HBoot which was supplied by an anonymous benefactor. Unfortunately that didn't really amount to anything despite our best efforts, so he has now turned his attention to the kexec method of running a custom kernel, to see if that gives us an in.

Started 05/03/2011 - The race begins...
I am trying to root the Incredible S as no developers appear to have  picked it up, but I am pretty new to this and was hoping for a little  help. I have tried SuperOneClick and it appears to give some sort of  temp root (although SU force closes and the test command fails, it does  write to the system partition) and rebooting removes it all.

I am little lost where to go from here, although someone suggested using  and older version of SOC and checking the log files, I will let you  know what I find.

 Frequently Asked questions
Temproot and Permaroot - What's the difference?
First, let me explain root access. Root access, superuser or su (all the  same thing) is basically an admin account for Linux. It gives us  permission to to access commands that normally couldn't be accessed, and  to write information to partitions that normally couldn't be written  to. On older devices (such as the Hero), once we had root we could write  to the /system and /recovery partitions, and flash custom ROMs. In the  case of the IS (and every HTC device since the desire), this isn't true.  Getting root access is quite trivial and no where near as useful,  because the internal flash memory (NAND or eMMC) is locked down and it  means we everything we 'write' to the system (or any other protected  partition) is lost on reboot because it is a non permanent change. In  short, this stops us from flashing custom ROMs and recovery. This is a  problem for any devices that are shipped with the Security flag on  (S-ON). To get Permaroot, and the ability to flash custom ROMs, we need  S-OFF.

So what's this S-OFF then?
Since the Desire, HTC have been securing their phones better than before  by locking the internal flash memory (NAND or eMMC) to stop it being  written to, unless the file being flashed is signed by a private key  only known to HTC. This is controlled by a flag (@secuflag) and is  identified as the device being S-ON. Telling the HBoot the device is  Security Off (S-OFF) stops this check for the key, and allows us to  write anything to any partition, which is what we are aiming for.

There are actually two levels of S-OFF. The Bootloader (HBoot) and the  Radio. Getting S-Off on the HBoot gives us everything we need, but  doesn't actually turn off the @secuflag which is set in the radio. What  it is possible to do is to flash a HBoot that believes the Radio is set  to S-OFF, as the HBoot is responsible for setting that flag. Once the  HBoot on the phone is S-OFF, we can write to all the partitions and  basically do whatever we want, but it is possible to go one step  further. Flashing a radio that is S-OFF and actually setting the  @secuflag off gives 100% total access to every part of the phone and  it's software, as it becomes network unlocked allowing to you to use any  SIM and also allows you to flash a ROM from any carrier (known as Super  CID). It also makes it nigh on impossible to permanently loose root no  matter what you flash. Once you have radio S-OFF, it makes it much  easier to flash new HBoots and ROMs even if you flash something that is  locked down tight.

Setting the Radio to S-Off is not necessary, and gaining S-OFF on the  HBoot is more than most people will ever need. Radio S-Off is just the  last step of the puzzle, but it is worth noting the only points you can  permanently brick your phone is flashing a radio or a HBoot, if either  of these go wrong you will end up with a shiny expensive paper weight so  there is risk involved.

What about this XTC Clip, can that help?
The XTC clip is a hardware device that can unlock HTC phones, regardless  of the software. The device ahs been proven to unlock the Incredible S, but will require the purchase of additional hardware. We are aiming to achive full software only root, which will be free. the XTC clip will soon be available in one-off use variations for €25 if you do not want to wait for software root. Please note that the XTC clip doesn't currently allow you to revert back to S-ON if you need to for warranty purposes.

What about people who are getting devices shipped with S-OFF?
There are reports that a lot of devices coming out of China and India  are shipping with the @secuflag set off. These are lucky people, and  have the ability to write to the flash memory, but it can't help those  of us who are S-ON. It is also worth noting that because most devices  are S-ON, no one has written any ROMs or kernels for the device so they  will probably have to wait until we get a way of turning our devices to  S-OFF until anyone creates any software for it.

So, what are you doing about it?
Well, what we were trying to do is finding a way of telling the kernel  to allow us to flash a version of the HBoot which was shipped S-OFF,  thus allowing us to write to all the right partitions. All of the  current exploits that allowed this to happen have been closed off, and  none of them help us achieve or goal. The IS is part of a newer breed of  HTC phones that are not vulnerable to any existing exploits. The only  other released phone that is part of this new breed is the HTC  Thunderbolt, but they have managed to get round it by downgrading to an  older version of the software which is vulnerable to the older exploits.  Although we have the ability to downgrade via a goldcard method (thanks  to timbo007up), no one has discovered an RUU old enough to be  exploitable. Bin4ry (they guy responsible for finding root on the X10)  has been working with myself, timbo007up and hawkysoft trying to adapt  the wpthis exploit (the one used on the G2 and DHD) to work with the  Incredible S, but it appears that it cannot be done. He is now looking  at the kexec method used on the X10 to load a custom kernel, to then  allow us to overwrite the HBoot. This is how progress currently stands  as of the 5th April 2011

http://forum.xda-developers.com/showthread.php?t=980497

visionary R14 下载

刚刚找的的用来 Root  desire z 和 G2的软件
好像很多地方都没有得下载

介绍就这样:
通过文件管理器打开VisioNaryplus.R14的APK包进行安装,安装完后点击该程序图标打开程序。出现以下几个选项:
Temprootonboot
Runvisionary.shafterroot
Setsystemr/wafterroot
TemprootNow!
AttemptPermrootNow!
UnrootNow!
注:默认前三项是没有勾选的,也不需要勾选。
直接选择"TemprootNow!"即可,会看到"设备正在root"的提示字样,稍等片刻执行完毕。
此刻,界面会自动返回到上面几个选项的界面。这时我们再次选择"AttemptPermrootNow!",此刻会弹出一个对话框,要求以最高权限执行,直接选择"允许"即可。
执行完毕后,系统会自动重新启动,稍等片刻后系统重启完毕,这时你的DZ已经是具有ROOT权限的了。

验证的方法很多种,比如:
1、系统中会多一个"SuperUser"或"权限管理"的程序;
2、再次点击"TemprootNow!"会提示"你的设备已经rooted了";
3、安装一些需要ROOT权限执行的程序看能否执行;
注:此方法为永久Root方法,重新启动也不会丢失权限。

附件: modaco.visionaryplus.r14.apk (1.18 M, 下载次数:122)

apache大小写模块mod_speling

可以在编译时就加入选项,直接编译为静态 --enable-speling

也可以在安装好后,用apxs添加

cd httpd-2.2.17/modules/metadata/mappers/

bin/apxs -i -c -a mod_speling.c

CheckSpelling .

CheckSpelling on

 

CM

www.cyanogenmod.com发布的rom简称

了解Android手机的基本信息

在设置中的“关于手机”记录着不少手机信息,就好像我们的身份证一样,记录着手机身份信息。升级RADIO,刷新ROM也要经常查看“关于手机”。下面我就为大家介绍一下“关于手机”。

进入设置,压轴的一个项目就是“关于手机”了。

首先可以看到手机状态、法律信息、系统向导、系统版本信息等。

进入“状态”可以看到手机电以重满,电池电量也有精确的显示,还有网络信息等。

再向下滑动可以看到手机串号(IMEI) 还有WIFI和蓝牙的真实地址,以及手机运行时间,我的连续开机22小时。

跳过法律信息不说,进入“系统向导”你就可以按照系统的安排一步一步学习怎样使用G1,新手朋友可以试试。

再来看最重要的“系统信息”部分。

型号:标注出你手机的硬件型号。

固件版本:系统的软件版本。

Baseband版本:也就是基频版本又叫RADIO版本。

Kernel版本:Android系统的LINUX核心的版本。

内部版本号:系统编译人员制定的系统版本号码。

刷机必知 Android手机s-off和s-on详解

在《了解Android手机的基本信息》中,我们知道到了如何查看Android手机的基本信息,对于高级玩家,特别是一些爱玩刷机的朋友,总会提到S-ON和S-OFF这两个词,它们是什么意思呢?

什么是S-OFF?

S代表 Security Lock,是安全锁,保护锁的意思。S-OFF就是安全保护关,S-ON就是安全保护开。

Secure Lock 就是安全锁。是硬件设计厂商用于保护固件不被刷写而设计的安全锁。如果这个安全锁是关闭的,那么对手机内的闪存芯片的刷写保护就关闭了,言外之意也就是可以随便刷ROM了;反之,S-ON就是安全锁打开了,手机被写保护了。HTC的机器在用RUU刷机的时RUU会将安全锁暂时关闭,然后就可以刷HTC自己的ROM。而HTC的HBOOT还有签名验证,所以没有HTC签面的ROM在刷机的时候是无法通过验证的。

什么是ENG S-OFF?

ENG代表 Engineer,也就是工程的意思。是HTC的手机在工程阶段测试时候使用的SPL,这种SPL是最不稳定的,一般只有HTC的ENG版本的RUU里面带这种SPL,也就是工程版RUU里面才带这种。


图片中的G1手机在HBOOT模式下显示为ENG S-OFF

什么是SHIP S-OFF?

SHIP代表 SHIPPMENT,也就是出货的意思。当HTC交货给各大运营商的时候,ROM都是SHIP S-ON的,这些ROM都是经过了很多测试的,同样也是非常稳定的,也是零售版本采用的系统。


图片中的G6手机在HBOOT模式下显示为SHIP S-ON

哪种S-OFF比较好?

那要先说这两种OFF的区别:

ENG S-OFF是单独的SPL级别的OFF,这种工程版SPL,因为是是用于开发人员调试的,所以开启了fastboot调试功能,也就是可以通过fastboot命令去刷机。

SHIP S-OFF是在零售版本或者说是发布版本的SPL基础上,用HTC内部的解锁工具进行解锁,而达到的S-OFF。这种S-OFF的特点是没有开启fastboot功能,比较稳定,并经过很多次测试,硬件兼容性也比较好,不会出现信号不好,WiFi断线等问题;HTC的任何版本ROM,官方RUU都可以直接刷,刷完官方还是S-OFF。

SHIP S-OFF并不会像ENG SPL一样,刷官方RUU之后还要再重新解一下S-OFF,而且可以卡刷ROM,所以各版本的好坏还是要用户自己去衡量。

最后要说一下:SHIP S-OFF的童鞋可以随便刷自己对应型号的RUU;ENG S-OFF的童鞋不怕降级不了也可以随便刷;当然你要是笨到,用G6的RUU去刷G7的手机小编我也拿你没办法,刷死别怪小编我没提醒你哦!此贴最后要感谢R大师的技术支持。

Android的ROOT权限是什么 wipe是什么意思,具体操作

关注本站技巧栏目的朋友会发现有很多HTC Android手机的技巧都需要系统的ROOT权限,那么ROOT权限是

什么?简单的来说它就是Android系统中的管理员权限,因此在使用到各种需要修改系统内部文件的操作

时,就需要取得ROOT。
   
    那我们最常用的Windows操作系统来说明,Android系统中的ROOT全新就类似于Windows系统的

administrator管理员权限,它具备整个系统中最高的权利,甚至是删除系统目录都不回弹出提示,所有

的操作都被允许。
   
    而我们将Android手机刷中文、刷网友修改的ROM固件,就需要修改系统中的一些文档,或替换一些文

件。因此ROOT权限是这些操作的前提条件。如果没有取得,那么就不能对其进行替换或修改。
   
    目前有着两种ROOT权限的提取方法,一种是连接电脑并进行刷入一个破解文件;另一种则是使用软件

ROOT Explorer。

WIPE 就是格式化,恢复出厂设置的意思

WIPE DATA 就是清空手机的数据,然后再刷机,这样不容易出错

同时按下power和快门键,2秒钟后出现惊叹号三角牌,再同时按音量上和快门,进入recovery 界面选择

wipe data

详细解释一下、WIPE、恢复出厂设置的区别

详细解释一下、WIPE、恢复出厂设置的区别


鉴于很多同志搞不清楚、WIPE、恢复出厂设置的区别,就个人所知道的和大家分享一下,尽量的说的简单一些,以便对手机知识欠缺的朋友能看明白。如有不对的地方还请高手斧正。如果觉得对您有帮助,请给我评上一分,谢谢了。
    我们先了解一下手机中的储存介质
    1、Flash Memory:这里专门储存手机手机固化自带的一些信息,比如手机系统程序,自带的程序,图片,音乐等等,一般情况下,只允许用户进行读取操作,不允许写入操作。
    2、EEPROM:这里主要储存用户自己的设置,比如手机铃声,声音大小,桌面设置,安装的第三方程序等等,一般情况下,除了个别地址外,都允许用户进行读取以及写入操作。
    3、内置SD储存器:这个没什么好解释的
    4、外置SD储存器:同上
    我们在刷机的时候,其实就是对Flash Memory和EEPROM的重新写入以替代原有固化内容的过程。
    明白了上述原理我们就来了解一下、WIDE、恢复出厂设置的区别
    1、恢复出厂设置:恢复出厂设置,会擦除用户设置,在这个过程中,手机会调用到Flash Memoty中的系统ROM备份,对你的手机目前运行的系统ROM进行重写,这个在不同的机型中表现的方式会不太一致,有的机型会擦除用户所有的自行设置,包括安装的软件,但是不会擦除用户的短信和电话薄。有的机型只会擦除用户的自行设置,程序不会擦除。有些机型会在你选择的时候询问全部还是系统。不过归根结底,该设置只会调用Flash Memory中系统ROM备份,并没有对EEPROM进行全部的重写。
    2、WIPE:WIPE本身的意思就是擦,那么擦什么呢?WIPE虽然也是擦,但是就不太一样了,WIPE会把系统和用户的所有数据全部清空,这里的全部清空是指从Flash Memory中调用ROM固化的内容对EEPROM进行完全的擦除重写,这就是你WIPE过后第一次开机会变的缓慢的原因,因为系统的自带程序需要全部重新生成。WIPE模式请进入Recovery模式自行选择。(关于进入recovery模式,我们举例i9000来说,关机状态下按住音量上键+HOME键+开机键,机器会自动进入recovery模式,进不去的朋友请去解三锁,或者通过ADB命令进入,进去以后第一项是REBOOT SYSTEM NOW,这是重新启动手机,第二项是APPLY SDCARD:UPDATE.ZIP ,这一般就是刷内核等等用的,第三项是WIPE DATE/FACTORY RESET,恢复出厂设置,就是我们所说的WIPE了。第四项是WIPE CACHE PARTITION,这个是清除个人设置,无视好了,第三项包含了这个项目。我们WIPE要做的就是进入recovery以后,按音量的上键或者下键选择第三项WIPE DATE/FACTORY,按HOME确认,在接下来的菜单里按音量选择到唯一的一个“YES”,按HOME确认,等WIPE完毕会回到主菜单,选择REBOOT SYSTEM NOW,过程完毕)
    3、:其实这是个工程命令,大家可以看做是WIPE,但是和WIPE还是有区别的,在Flash Memory中其实还固化了一些手机在出厂时的基本数据,比如你的IMEI码,这部分的Flash Memory在任何情况下都是不允许写入权限的,会调用这部分的Flash Memory内容,对你的手机固化的信息也进行重新写入,比如说如果你的IEMI码是被更改过的,那么在命令下,IMEI码会被重新写入。千万注意:在输入完毕立即生效,没有确认过程,手机将直接格式化包括你的内置SD卡!!!    (对此点还是有疑惑,在自己接触到的实际操作过程中,用了命令后,有些时候内置SD卡上的内容并没有消失,或者消失了通过大容量模式连接了电脑后内置SD卡上的内容又被恢复,具体原理不明,希望有精于此道的达人能给解释一下,谢谢)
    总体来说,恢复出厂设置是刷机的既不充分也不必要条件,WIPE是刷机的充分但是不必要条件。尽量不要使用。不过虽然很多人认为WIPE不是必要条件,在实践中刷官方的ROM和在官方基础上修改的ROM确实有可能不用恢复出厂或者WIPE,但是个人强烈建议在刷机前做好备份工作然后WIPE一次,这样会避免很多刷完以后的种种怪异现象,毕竟很多同志都不是职业ROM狂人,对刷机只是看着教程战战兢兢的操作,对自身的机器ROM可能都不是很了解,以前做过的优化,刷过的内核怎么卸载删除也一头雾水,第三方的修改程序对其他ROM会不会造成莫名的影响这个很难说,所以还是建议在不是很懂的情况下,尽可能在刷机之前WIPE一次。
    最后友情提示一下,有些ROM可能还不是很完善,所以在刷完之后不要随便WIPE和恢复出厂设置,具体情况请详细阅读ROM作者的更新说明。