本文主要记录了如何在一台老国行S4 GT-i9508上安装新android发行版本。

android系统软硬件相关

android系统与刷机相关的部分是3块,

  • boot loader:硬件提供商提供的硬件启动模块,类似pc的BIOS
  • recovery:在引导android系统前提供额外的功能如恢复出厂设置,安装系统升级等
  • android 7.x.x:正常用户

准备工作

我们需要做的:
1. 将三星原生的Recovery 升级到第三方TWRP
2. 下载一个android 7.1.1 发行版
3. root 当前的手机系统
4. 将所有的文件放入external sdcard , backup all of your files (personal data).

升级Recovery

升级可用两个方法

  • 使用Odin在PDA(AP)选项下载twrp-3.x-0-jfltexx.img.tar ,Odin其他项不需要改变;作者的S4在通过odin3安装多次依然还是没有成功,表现为一直进原来的recovery的朴素的界面,始终没有进入第三方recovery,遂有了下面的方法。
  • 使用TWRP的官方APP 在手机端选择合适的img文件通过root安装。

关机后 ,Power +VolUp+Home 保持,出现几行小字后释放所有按钮,进入recovery,应该是这个样子

升级android系统

这里使用的是Optimized-LineageOS-14.1-20170213-Snapshot-beta5-jflte-AROMA版本,以及安装了google application,
here we just need to fellow xda forum’s guidence under TWRP environment.

FULL WIPE (with external microsd card)
= Move any files you want to keep to your External MicroSD Card - OR YOU WILL LOSE THEM.
= DOWNLOAD your Optimized LineageOS Rom and GApps Package
= Move your Optimized LineageOS Rom and GApps Package to the external microsd storage
= Boot into Recovery Mode (HOLD Volume UP, Home, and Power button for 1 second after the vibrate)
= Wipe > Advanced Wipe
= Select ON (enable tick) for Dalvik / Art Cache, System, Data, Internal Storage, Cache.
= SWIPE to Wipe at bottom of screen
= Back to MAIN START SCREEN
= Wipe > Format Data
= Type ‘YES’ and press blue checkmark at the bottom-right corner
= Back to MAIN START SCREEN
= INSTALL to install Rom and GApps
= AFTER you have finished installing the Rom and GApps > WIPE CACHE/DALVIK > SWIPE to Wipe
= REBOOT SYSTEM

.

Done

After reboot ,Enjoy this new mobile phone~
If it occurs problems, the more you Google,the more you’ll learn from Internet.

更多相关文章

  1. android framework层 学习笔记(一)
  2. 图解Android、iOS、WP7三大手机操作系统差别
  3. 【React Native开发】React Native For Android环境配置以及第一
  4. Android(安卓)系统启动过程详解
  5. Android开发_精准排布控件位置
  6. 浅谈Android中Activity的生命周期
  7. 源码学习总结《1》Android(安卓)系统启动流程
  8. 完美解决Android的Error:(26, 13) Failed to resolve: com.andro
  9. Android(安卓)应用程序开发环境搭建说明

随机推荐

  1. Android网络之HttpUrlConnection和Socket
  2. Android常用功能代码总结一
  3. android 隐藏ListView滚动条
  4. android通过程序收起通知栏
  5. Android问题总结
  6. Android热修复三部曲之动态加载补丁.dex
  7. Android textView点击滚动(跑马灯)效果
  8. Android(安卓)仿QQ好友列表功能实现
  9. 基于Android的音乐播放器项目
  10. Animation总结2