ii / iiphone

A build of software for phones (probably cyanogenmod) that can install itself to other phones via usb
MIT License
1 stars 0 forks source link

flash phones from phone by getting fastboot running on cyanogenmod #2

Closed hh closed 1 week ago

hh commented 9 years ago

We should be able to flash phones from phones

Images here: https://developers.google.com/android/nexus/images

Particularly for my Nexus 6: https://dl.google.com/dl/android/aosp/shamu-lmy47i-factory-c8afc588.tgz

Inside there is a flash-all.sh:

Seems like all you need to do to flash a nexus is fastboot:

$ grep -v \# flash-all.sh 
fastboot flash bootloader bootloader-shamu-moto-apq8084-71.08.img
fastboot reboot-bootloader
sleep 5
fastboot flash radio radio-shamu-d4.0-9625-02.95.img
fastboot reboot-bootloader
sleep 5
fastboot -w update image-shamu-lmy47i.zip