Nexus 6

How to Flash Factory Image

Method 1

- Extract the archive you downloaded

- Power off your phone.

- Boot it in fastboot(bootloader mode) by pressing and holding Power Button + Volume Down at the same time.

- Connect your phone to your PC through your USB cable.

sh flash-all.sh

- Wait for everything to flash.

- After everything finished, select "Recovery" using the volume buttons.

- When a small dead Android appears, press Power Button + Volume UP.

- Select "Wipe data/factory data reset"

- Reboot. Your phone should be stock.

Method 2

Extract everything!

- Power off your phone.

- Boot it in fastboot(bootloader mode) by pressing and holding Power Button + Volume Down at the same time.

fastboot flash bootloader bootloader-shamu-moto-apq8084-71.10.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-shamu-d4.0-9625-02.101.img
fastboot reboot-bootloader
sleep 5
#fastboot -w update image-shamu-lmy48i.zip
# unzip image-shamu-lmy48i.zip
fastboot flash recovery recovery.img
fastboot reboot-bootloader
sleep 5
fastboot flash boot boot.img
fastboot reboot-bootloader
sleep 5
fastboot flash system system.img
fastboot reboot-bootloader
sleep 5
fastboot flash cache cache.img
fastboot flash userdata userdata.img

fastboot reboot

- After everything finished, select "Recovery" using the volume buttons.

- When a small Android appears, press Power Button + Volume UP.

- Select "Wipe data/factory data reset"

- Reboot. Your phone should be stock.

ByPass the Setup wizard without a sim

  1. Launch adb shell
  2. echo "ro.setupwizard.mode=DISABLED" >> /system/build.prop

  3. Exit shell and issue an adb reboot.

http://www.smartmobilephonesolutions.com/content/android-stuck-startup-boot-loop

gapps how to

There are 2 things you can do that are almost always guaranteed to fix these types of problems. Please do not post a support request until you have tried these first.

A 'Clean' install consists of the following:

NOTE: YOU WILL LOSE ALL OF YOUR DATA AND APPLICATION SETTINGS using this method. Be sure to do a nandroid backup prior in case you want to restore later.

adb shell command to make Android package uninstall dialog appear

adb shell pm uninstall -k com.google.android.gms

ROOT & twrp

  adb reboot bootloader
  tools/fastboot-linux boot image/CF-Auto-Root-shamu-shamu-nexus6.img
  adb reboot bootloader
  fastboot flash recovery twrp-2.8.7.1-shamu.img 

http://www.ibtimes.co.uk/how-install-android-5-1-build-lmy47e-stock-firmware-nexus-6-1492430

# disable !
adb shell settings put global captive_portal_detection_enabled 0
# enable !
adb shell settings put global captive_portal_detection_enabled 1

# Factory Shamu images download
http://0s.mrsxmzlmn5ygk4tt.m5xw6z3mmuxgg33n.erenta.ru/android/nexus/images#shamu
https://dl.google.com/dl/android/aosp/shamu-lmy48m-factory-336efdae.tgz
http://forum.xda-developers.com/nexus-6/general/nightly-rom-stock-cm12-builds-t2995039
http://opengapps.org/
https://github.com/cgapps/vendor_google/tree/builds/arm
http://forum.xda-developers.com/nexus-6/development/rom-cleancore-vomer-100-lean-stock-03-t3059199

LTE how to

http://bbs.gfan.com/android-7795111-1-1.html

References

https://github.com/opengapps/opengapps/wiki/FAQ

désert/Linux/Nexus (last edited 2016-10-14 17:20:16 by localhost)