首页 > 其他分享 >获得手机根root权限

获得手机根root权限

时间:2023-06-22 22:05:37浏览次数:43  
标签:HTC img boot system phone 手机 folder 权限 root


  1. Download:
  1. http://developer.android.com/sdk/download.html?v=android-sdk-windows-1.5_r3.zip
  2. http://rapidshare.de/files/47972320/orange-htc-hero-uk-boot.img-28-july-2009.zip.html
  1. Install HTC Sync from your HTC device
  1. Connect device to computer using USB cable.
  2. Mount the SD card from the HTC Alerts Menu (Drag from the top of the screen).
  3. Install the sync application from the newly discovered drive in Windows.
  1. Extract the two zip files into some folder (separate folders for each zip).
  2. Go to the Android SDK folder and open the tools folder.
  3. Copy the two files from the boot image zip (1.b) into the tools folder:
  1. boot.img.insecure
  2. boot.img


  1. Shutdown the phone.
  2. Press and hold the back key and power on the phone.
    This is get you into the fastboot screen (the white screen with three androids at the bottom).
  3. Connect the phone to the USB cable if it’s unplugged.
  4. On Windows, open cmd.exe (Start -> Run -> cmd.exe -> Enter):
  1. Change the directory to the tools directory you’ve created earlier.
  2. Run fastboot.exe boot boot.img.insecure from within the tools directory. Output: downloading 'boot.img'... OKAY booting... OKAY
  3. Now your device will start from the given image with root access.
  1. Gain root access:
  1. In the phone’s alerts menu, click HTC Sync. This will popup the HTC Sync tool in Windows. Ignore it!
  2. In cmd type: adb.exe shell Output:
    #
  3. From the prompt you got (#) run the following command to mount the phone’s file system in RW mode: mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
  1. Add su command to your Phone
  1. Run the the following commands in the shell (#) – Run each command separately (don’t just copy-paste all the lines!):
  1. cat /system/bin/sh > /system/bin/su
  2. chmod 4755 /system/bin/su
  1. Reboot the phone by typing reboot in the shell (#).
  2. The phone will restart and load the original Android ROM.
  3. Enjoy the your Rooted Device

标签:HTC,img,boot,system,phone,手机,folder,权限,root
From: https://blog.51cto.com/u_16166892/6535794

相关文章

  • Flutter 学习 之 权限管理 permission_handler 9.2.0
    官方文档地址permission_handler控制台打印提示信息的时候可能会有两种(我遇到的)Noandroidspecificpermissionsneededfor:9可能表示你当前申请的权限你的系统不支持就是备注里nothing的Noandroidspecificpermissionsneededfor:[]9可能表示你没在AndroidM......
  • centos6以lvm划分磁盘分区swap/root禁用swap导致重启kernel异常
    目的禁用swap,虚机重启正常envcentos6.9root/swaplvm形式终端kernel异常,导致系统无法正常启动(引导出了问题)步骤正确禁用swap步骤1、sync刷新内存数据到磁盘2、关闭swapswapoff-a(有足够内存,防止内存不够频繁交换空间)3、注释/etc/fstab4、查看grub加载是......
  • python写的一个脚本,在电脑运行。可以实现 手机端在线通过url观看电视
    python脚本,需要安装pipinstallflashpipinstallflash_restful fromflaskimportFlask,send_from_directoryfromflask_restfulimportApi,Resourceapp=Flask(__name__)api=Api(app)classTVSeriesResource(Resource):defget(self,episode):......
  • Window 2008 R2 软件限制策略的默认调整,导致记录事件日志的权限不足
    我电脑升级成Window2008R2后,一个企业服务的项目出现如下错误:未找到源,但未能搜索某些或全部事件日志。不可访问的日志:Security。在这个企业服务中,当有错误发生时候,会把错误记录到Windows的事件日志中,这部分的代码如下:usingSystem;usingSystem.Collections.Generic;using......
  • 国内rog游戏手机2与国际版本的 差别
    我直接说结果把,区别在导航、sim卡和网络标准       海外版本配置  ASUSusescookiesandsimilartechnologiestoperformessentialonlinefunctions,analyzeonlineactivities,provideadvertisingservicesandotherfunctions.Fordetailedinformation,plea......
  • gitlab忘记root密码解决方法
    #切换到git用户[root@gitlab_3_45~]#su-git#查看gitlab-rails的目录-sh-4.2$ls-lgitlab-railstotal40drwx------2gitroot4096Feb252020etc-rw-r--r--1rootroot8Feb252020REVISION-rw-r--r--1rootroot58Feb252020RUB......
  • mysql的用户和权限管理
    1.mysql用户和权限管理目录1.mysql用户和权限管理1.1.常用授权语句1.1.1.5.7以及以前的版本1.1.1.1.存储过程权限管理1.1.2.8.0的版本:1.1.3.删除用户及权限1.1.4.修改1.1.4.1.修改密码1.1.4.2.修改用户账号名称1.1.5.回收权限1.1.6.grant授权和直接操作权限表的区别......
  • js判断是移动端还是手机端来切换css从而达到适配的目的
    functionloadCSS(url){//Removeexistingstylesheetsvarhead=document.head;varexistingStylesheets=head.getElementsByTagName('link');for(vari=existingStylesheets.length-1;i>=0;i--){varstylesheet=e......
  • greenplum账号和权限管理
    1.关于greenplum权限说明1.1.注意:Note:您必须单独为每个对象授予权限。例如,授予数据库上ALL权限,并不授予对该数据库中的对象的完全访问权限。它只授予数据库级别的(CONNECT、CREATE、TEMPORARY)到数据库本身的权限。1.2.基本概念1.2.1.基本概念1、在GP中,Database(数据......
  • 自动化系统 自动化控制系统 楼宇自动化系统 智能化系统管理服 手机APP远程控制系统
    自动化系统自动化控制系统楼宇自动化系统智能化系统管理服手机APP远程控制系统ID:972000609824370883......