OTA升级失败:原文http://en.miui.com/thread-112197-1-1.html

Do you get this "Status 7" error in Recovery Mode? If so, that means that the ROM you are trying to flash, i.e. "install" on your device doesn't belong to your device. It's a failsafe built into CWM, TWRP etc. to prevent installation of wrong ROMS into the wrong devices.

Status 7 error is caused while the ROM’s updater script file checks to see if the phone model of your phone is compatible with the ROM you are installing, called “asserts”.

This is mainly caused due to an error by the developer of the ROM in the updater script. You can fix the issue by installing TWRP recovery but if you need to restore your CWM backups later down the line, you will have to re-install CWM recovery, causing a big hassle.

If you simply don’t want to change your recovery or you still get Status 7 error after changing recovery, you can simply edit the updater script by yourself to get rid of the asserts.

Here are the following steps:
1. Copy the ROM zip file to your computer and extract it using 7zip, WinRAR or any other unzipping software.

2. Once unzipped, browse to the META-INF/com/google/android directory. You will find two files called “update-binary” and “updater-script”.

3. Rename “updater-script” to “updater-script.txt” and open with either Notepad or Notepad++. (I found that using Notepad++ is much easier to edit the file).

4. Get rid of the line starting with “assert” to next semi-colon. Usually this is the first line or one of the first lines at the top of the text file. Just delete them.

5. Save the file.

6. Rename “updater-script.txt” back to “updater-script” and rezip all the files that you unzipped earlier.

7. Copy the edited ROM zip file to your phone and flash. Hopefully, the problem should be solved now.

AN IMPORTANT POINT TO NOTE - While this process has worked countless times for me, a few times I came close to bricking my phone. So unless you really have no choice, don't install the conflicting ROM, and instead download a stable ROM and install that instead.

(I found this solution a few years back while trying to modify MIUI for my Note 2. I ended up with a STATUS 7 error and this solved the issue. The next time I tried again, my Note 2 got almost broke. Thus, in my case it was a 50% - 50% chance, so its up to you what you want to do).

Hope I helped :)

转载于:https://www.cnblogs.com/zzb-Dream-90Time/p/7308074.html

Getting Installation aborted (Status 7) ApplyParsePerms: lsetfilecon of /syst...【转】相关推荐

  1. AutoCAD2012安装失败解决办法,Failed Installation aborted, Res

    今天下午公司里需要使用一个台湾的系统,要搞AutoCAD2012,真是有B,一般哪会用这么高的版本,没办法我电脑上先装测试看,在安装AutoCAD 2012时安装不了,提示N多错误,下面我们来看Aut ...

  2. Autodask_3DMAX安装Failed Installation aborted, Result=1619解决办法

    一.先看一下安装失败后记录截图: 二.原因分析: 系统安装过其他的专业软件--Microsoft Office,PS等,含有不同版本的C++运行库和组件,而3DMAX软件本身也包含C++运行库,在进行 ...

  3. 解决安装32位AutoCAD2011提示InstallMicrosoft Visual C++ 2008 Redistributable (x64)FailedInstallation aborted

    在64位电脑上安装AutoCAD 2011 32位失败 查找安装日志:AutoCAD 2011 Setup.log 日志里面提示:Install    Microsoft Visual C++ 200 ...

  4. android recovery模式及ROM制作

    转载时请注明出处和作者 文章出处:http://www.cnblogs.com/xl19862005 作者:Xandy 1       总述 为了方便客户日后的固件升级,本周研究了一下android的 ...

  5. Android 8.0 (35)----Android8.0.0-r4的OTA升级流程

    Android8.0.0-r4的OTA升级流程 原网址:https://blog.csdn.net/dingfengnupt88/article/details/52875228  Android系统 ...

  6. android 系统(154)----OTA制作及升级过程

    OTA制作及升级过程 1.概述 1.1   文档概要 前段时间学习了AndroidRecovery模式及OTA升级过程,为加深理解和防止以后遗忘,所以写这篇文档进行一个总结和梳理,以便日后查阅回顾.文 ...

  7. Android 8.0 学习(23)---recovery 流程分析

    Android 8.0 recovery 流程分析 这里主要分析non A/B模式下的recovery流程  A/B模式下的recovery在boot中  后续会不断补充,如果有疏漏或者错误的地方,请 ...

  8. linux改狗命令,linux安装安全狗

    现在给很多用户安装了宝塔.但是怕不有攻击.所以安装个安全狗 使用wget方式下载发布包:wget http://down.safedog.cn/safedog_linux64.tar.gz 安装网站安 ...

  9. OTA制作及升级过程笔记

    1.概述 1.1   文档概要 前段时间学习了AndroidRecovery模式及OTA升级过程,为加深理解和防止以后遗忘,所以写这篇文档进行一个总结和梳理,以便日后查阅回顾.文档主要包括两部分,第一 ...

最新文章

  1. hdu-2199 Can you solve this equation?(二分+精度)
  2. 在Linux中如何查看文件的修改日期
  3. linux-vim-进入编辑模式的多种方法
  4. Mac下的命令行自动补全功能
  5. 6.6 AdaBoost实战
  6. 我是怎么用缠论在商品里边抢钱之二 (2019-07-12 15:10:10)
  7. mes选型与实施指南_六大类型MES企业大盘点告诉你如何选择正确选择MES
  8. MySQL连接问题 --- (1251:Client does not support ...)
  9. pickerView的简单使用
  10. 韦根协议-C编程实现
  11. 缓冲流、转换流、序列化流、装饰设计模式、comms-io工具包
  12. coreldraw x7如何禁网_出现问题如何修改和修复安装coreldraw x7
  13. IBus拼音无法选择候选词故障
  14. android测试基站,Android iPhone 手机查看基站信息
  15. JavaScript创建对象的方式
  16. canvas--放大镜效果
  17. 服务器内存16g显示8g可用,电脑安装内存16g可用8g怎么办
  18. TeamViewer远程的三种访问模式 (最方便的模式无需输入密码)
  19. 最大公约数gcd(m,n)=gcd(n,m%n)之证明
  20. zotero中文期刊论文题录中姓名被逗号分开

热门文章

  1. Android动态加载技术三个关键问题详解
  2. 深入理解 Android 的 IPC 机制--------Binder
  3. The new NDK support in Android Studio 1.3
  4. python timestamp和datetime之间的转换_python – 在datetime,Timestamp和datetime64之间转换
  5. Android 毛小软件,毛库官方app
  6. controller层没反应_埋地管道防腐层探测检漏仪FJ-10地下管线探测仪的说明及应用...
  7. promise then err_Promise 原理解析与实现(遵循Promise/A+规范)
  8. php post 渲染数据,php 程序内部post数据实现方法
  9. python post请求参数为list_浅谈python3发送post请求参数为空的情况
  10. The first curriculum design experiment report in spring 2019