惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
N
Netflix TechBlog - Medium
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
V
Visual Studio Blog
H
Help Net Security
Engineering at Meta
Engineering at Meta
Hugging Face - Blog
Hugging Face - Blog
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
博客园 - 【当耐特】
B
Blog
Stack Overflow Blog
Stack Overflow Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
大猫的无限游戏
大猫的无限游戏
GbyAI
GbyAI
博客园 - 司徒正美
博客园 - 叶小钗
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
酷 壳 – CoolShell
酷 壳 – CoolShell

ashishb.net

A day in Luxembourg - the richest country in the world I was asked to install malware during a fake interview Book summary: Breakneck - China's quest to engineer the future by Dan Wang Book summary: How to Teach Your Baby to Read Book Summary: The Discontented Little Baby Book by Pamela Douglas Introducing Amazing Sandbox - run third-party tools and AI agents securely on your machine Why software outsourcing gets a bad reputation? Book summary: The Natural Baby Sleep Solution by Polly Moore A day in Antwerp, Belgium Journey of online influencers Two days in Brussels, Belgium Shortcuts - when we love them and when we don't A visit to Rakhigarhi Three days in overhyped Paris Empty Japan, crowded Tokyo The real lock-in in GitHub is not the code, but the stars 11-day Norwegian Breakaway East Caribbean cruise Sanskrit and Sri Lankan Air Force Use REST with Open API The Achilles heel of American capitalism Costa Rica in 4 days At a juice stall in Sri Lanka A short stay at Warsaw, Poland Best practices for using Python & uv inside Docker Two days in Vilnius, Lithuania How IntelliJ IDEs waste disk space Pregnancy Why there aren't many digital nomads from India Two days in Riga, Latvia To keep your machine secure, run third-party tools inside Docker
How to upgrade Nexus 4 to Android 4.4 Kitkat
Ashish Bhatia · 2013-11-16 · via ashishb.net

Some experience with adb and fastboot preferred (they are part of android SDK)

  1. Download latest factory image from https://developers.google.com/android/nexus/images#occamkrt16o and untar them. The extracted images ends up in occam-krt16o directory. tar xvf occam-krt16o-factory-75ccae7a.tgz

  2. Backup

    1. SMS/call log etc. using SMS backup+ to Gmail.
    2. All apks using adb backup -f ashishb_nov_15_backup.ab -apk -obb -noshared -all -nosystem (I mistakenly backed up and restored with -system and that was a bad idea). This takes a bit of time, my total backup size was ~550MB.
  3. Install the new image

    1. Boot into boot loader mode. adb reboot-bootloader
    2. Unlock the bootloader, this will delete all data in device (that’s why we took backup in the first place). This takes about 30 seconds. fastboot oem unlock
    3. Install the new boot loader image. fastboot flash bootloader bootloader-mako-makoz20i.img
    4. Reboot to use the new bootloader fastboot reboot-bootloader
    5. Install the new radio image. This takes about 5 seconds. fastboot flash radio radio-mako-m9615a-cefwmazm-2.0.1700.84.img
    6. Install the new system, recovery and boot image. This takes about 80 seconds. fastboot -w update image-occam-krt16o.zip
  4. Restore

    1. All apks (I use Nova Launcher so, it restores my launcher screens as well) adb restore ashishb_nov_15_backup.ab
    2. Restore SMS and phone calls.