Hello,
I just bought a Nexus Q off ebay. In the event that I screw it up while developing on / hacking it, where would I get a system image to restore it to factory?
I am new to Android development:
Is it possible to pull the image from the device over ADB?
Or is there a source code or image link somewhere on Google's developer webpage that I just can't find?
Or do we have to wait for the official release for Google to create a factory image?
Thanks!
DOes this help?
I found this at RootzWIki from ProTekk.
It's a stock unsecured boot image. There are no details in his post other than some short instructions and and link to the image file.
fastboot flash the factory image and install ota files.while restarted,the system encountered a error. manual restarted the system ver not 4.2.1.
it was still the original version
You need to flash the fixed 4.2 factory image from Google's site.
See this post: http://forum.xda-developers.com/showpost.php?p=34829307&postcount=144
How many sections are you going to post the same question in?????
2014.10.16.: Update!
MICa.fighter said:
Hy guys! As you might noticed, the links in the OP which are pointing to the official files on the CM server don't work any more thanks to CM. I was sure this will come, but i still wanted to use the official links as long as they are working. I would change the links to my mirrors in the OP, but @Spannaa already made mirrors in his thread: Mirrors for official CM11S roms & OTA updates. I don't see any reason to have 2 threads with mirrors of the same files, so i taught I would keep this thread as a discussion on how to use those official files. I will modify the OP in the coming days accordingly.
Click to expand...
Click to collapse
I will keep the OP as it is for now, and I will modify it a little in the coming days!
Hy guys, i have seen posts about different versions of CM11S, but I haven't seen a collection of them. I collect all the stock images i can, so i taught i would share it with you guys. As the thread title says, these are official and untouched images of the stock CM11S. I share the official links where it is available. I will share four kind of files:
1. Recovery flashable zips of the complete ROMz: these are the oldschool .zip images that you can flash through recovery.
2. Fastboot images of the complete ROMz: these are fastboot.zip files, that should be used through fastboot. You need to set up Android SDK for fastboot on your computer and you also need to unlock your phone's bootloader in order to use them. For setting up the Android SDK and unlocking your bootloader, please follow this guide: [GUIDE] OnePlus One - How to Unlock Bootloader, Install Custom Recovery and Root, until you complete the first step: 1. Unlocking Bootloader. After that you have to put the fastboot.zip file into your platform-tools folder (its explained in the previous link), and extract it there, but also keep the zip there because you need that too. After that, you may follow the instructions of the Open Post of this thread: CyanogenMod 11S.
Note: The conventional fastboot oem unlock which unlocks the bootloader will wipe your phone. You can make backup before that with Helium app or through adb. Neither of them requires root.
Note: The last command in the CyanogenMod 11S thread's open post is:
Code:
fastboot update -w cm-11.0-XNPH25R-bacon-signed-fastboot.zip
The command will wipe your phone because of the "-w" option.
Note: if you get the error message during flashing in fastboot:
Code:
FAILED (remote: data too large)
Then you are probably not on the latest Android SDK with the latest required tools: Android SDK Tools, Android SDK Platform-tools, Android Support Library, Google USB Driver.
Click to expand...
Click to collapse
3. Stock kernel images: these are .img files of the stock kernel images. You can flash these in fastboot like this:
Code:
fastboot flash boot boot.img
If the filename is for example g7389215.img then it looks like this:
Code:
fastboot flash boot g7389215.img
4. Latest OTA incremental update zip: I will also share the latest OTA zip file. The CM11S OTAs are incremental updates, that means you need to be on the latest version before applying an update. Incremental means it only updates the changed files since the last update.
So for example the latest OTA ATM is XNPH33R. Before that was the XNPH30O. If you want to use the XNPH33R OTA zip you need to be on XNPH30O, because that is the latest version before the XNPH33R OTA (check reference table below). If you apply the OTA on an earlier version (for example, XNHP25R), the installation will be aborted most probably. Or if you succeed with the installation, it will break stuff most probably.
You can also grab the latest OTA update zip after you recieved the OTA file and downloaded it. You can find it in the cache of your phone and you will need root access. If you want to make a copy you should do so before you install the OTA.
Wipe the cache then you can flash the OTA update zip through recovery.
Reference table
ROM version / release date / kernel version
XNPH22R / 2014.06.06. / dunno
XNPH25R / 2014.07.03. / geb9c0a5
XNPH30O / 2014.08.11. / g7389215
XNPH33R / 2014.08.21. / g0ad30e5
XNPH38R / 2014.10.07. / g33fa374
Links
1. Recovery flashable zips of the complete ROMz:
XNPH22R
XNPH25R
XNPH33R
2. Fastboot images of the complete ROMz:
XNPH22R
XNPH25R
XNPH30O
XNPH33R
XNPH38R
3. Stock kernel images:
XNPH22R
XNPH25R
XNPH30O
XNPH33R
XNPH38R / torrent magnet mirror
4. Latest OTA incremental update zip:
XNPH38R
Also here are the previous OTA incremental update zips:
same rule, check reference table, only use it if you are on the latest previous version! Its incremental.
XNPH33R
XNPH30O
Njoy!
You might also be interested in zephiK's modem collection of recovery flashable zips for the One: http://forum.xda-developers.com/oneplus-one/general/ref-oneplus-one-modem-collection-t2858734
Thanks was waiting for something like this.
While I appreciate this, the 33R Kernel isn't working... I tried flashing with fastboot and no go.... I'm on 33R from OTA. I'm rooted and I currently have Franco Kernel installed... (And TWRP recovery)
To reiterate, it flashes fine but when I go to boot up it stays at the One+ logo screen
How did you try it exactly?
MICa.fighter said:
How did you try it exactly?
Click to expand...
Click to collapse
flashing with adb through fastboot
You can use rashr app https://play.google.com/store/apps/details?id=de.mkrtchyan.recoverytools works like a charm
Nomelas said:
While I appreciate this, the 33R Kernel isn't working... I tried flashing with fastboot and no go.... I'm on 33R from OTA. I'm rooted and I currently have Franco Kernel installed... (And TWRP recovery)
To reiterate, it flashes fine but when I go to boot up it stays at the One+ logo screen
Click to expand...
Click to collapse
You are right, the file is broken, I'm sorry. I'm going to update the OP soon with working kernel image. I'm also going to share the latest OTA grabbed from cache.
Edit: updated OP with the new 33R links, and fixed the broken kernel image. I also explained how to use the kernel images.
Thank you so much
Great post op :good:
Waiting the recovery flashable zip of XNPH33R to download. ( I am currently on XNPH22R, unlocked bootloader, with TWRP)
I am going to flash the zip through recovery ( and then flash modem from zephiK's post).
I don't need to do anything with the kernel images ( I am guessing they are there for another reason), right?
mhxmhx said:
I don't need to do anything with the kernel images ( I am guessing they are there for another reason), right?
Click to expand...
Click to collapse
You don't need the kernel images.
All the rom zip files has a kernel (boot.img). The reason i posted the kernel images separately too because custom kernel users sometimes need them. If they want to go back to stock kernel or just want to keep a backup, they don't need to download ~460MB for just the kernel image, they can download only the kernel image which is 5-10 MB.
Thank you for your work!
Thanks a lot, after flashing few mods and custom kernel my phone feels laggy, I must go back to stock
After @zephiK modem list, this is one more most usefull thread Thanks !!
So could I just flash the 33r update from stock recovery if I'm on 25r? Or do I need to update to 30O then 33r
Added to OnePlus One Resources Compilation Roll-Up Thread
[INDEX]OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
jherring002 said:
So could I just flash the 33r update from stock recovery if I'm on 25r? Or do I need to update to 30O then 33r
Click to expand...
Click to collapse
The OTA Update is incremental, which means it only updates the files that changed from the last update, in this case XNPH30O. So you sould NOT try to flash the OTA Update of 33R if you are not on 30O.
If you want to update to 33R from 25R, there are a couple of options, for example:
A) update to 30O through OTA, then you can just flash the 33R OTA update, OR
B) download the 33R full rom zip, reboot to recovery, wipe cache and flash away OR
C) make a backup of your apps and settings, through adb, or Titanium Backup, or with Helium (TB requires root), then download the 33R fastboot.zip and flash through fastboot as described in the first post. If you already have the bootloader unlocked you can skip that step. After you are done, boot up the phone, then restore your backup. The flashing method described in the open post of CyanogenMod 11S thread will wipe your phone.
The "safest" method is A, the "cleanest" method is C.
timmaaa said:
Added to OnePlus One Resources Compilation Roll-Up Thread
[INDEX]OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
Click to expand...
Click to collapse
I'm out of thanks so i thank you here timmaaa :good:
Is there a flashable 30O file via recovery?
jherring002 said:
Is there a flashable 30O file via recovery?
Click to expand...
Click to collapse
Unfortunately no, but I can upload the 30O original OTA zip for you i grabbed that from cache too. You can flash it on 25R after a cache wipe. Or use it with the 25R recovery flashable zip: flash 25R zip then 30O OTA zip.
MICa.fighter said:
Unfortunately no, but I can upload the 30O original OTA zip for you i grabbed that from cache too. You can flash it on 25R after a cache wipe.
Click to expand...
Click to collapse
That would be nice. I went from 33r to 25r to see the difference in battery.
It's not that different so I wanted to go back, but when I check for ota there is not one. Says in up to date.
jherring002 said:
That would be nice. I went from 33r to 25r to see the difference in battery.
It's not that different so I wanted to go back, but when I check for ota there is not one. Says in up to date.
Click to expand...
Click to collapse
Okay I'm gonna upload the 30O OTA zip too, it will be available in the first post in a few minitues. If you want to go back to 33R you could also use the 33R full rom zip, just wipe cache and you can flash it on 25R. Make a backup before it, but i don't think there would be any problem.
Edit: Done!
Now Cyanogen have shut down, links to official roms, updates & kernels are no longer available so I've mirrored them all on AndroidFileHost and put the links in one post so that they're easy to find.
There are different files for each ROM: signed fastboot zips, signed zips, boot-debuggable images and OTA incremental update zips.
Signed fastboot zips: These contain the complete rom and can overwrite everything including your data partition. These cannot be flashed via recovery - extract their contents and flash via fastboot. There's a great guide by @Heisenberg here.
Signed flashable zips: Normal, stock or TWRP recovery flashable zips that won't overwrite your data partition.
Boot-debuggable images: These are boot images (kernels) that enable adb root and the developer menu options.
To be flashed via fastboot. (e.g.fastboot flash boot cm-11.0-XNPH05Q-bacon-boot-debuggable.img)
OTA incremental update zips: These are stock recovery flashable zips that update your rom to a newer version. To check which version you are running, look at the ro.build.version.incremental line in your \system\build.prop file and then update incrementally. Note: there are two different versions of some OTA updates.
Fastboot images
cm-13.1.2-ZNH2KAS3P0-bacon-signed-fastboot.zip
cm-13.1.1-ZNH2KAS2X1-bacon-signed-fastboot.zip
cm-13.1-ZNH2KAS254-bacon-signed-fastboot.zip
cm-13.1-ZNH2KAS1KN-bacon-signed-fastboot.zip
cm-13.0-ZNH0EAS2JK-bacon-signed-fastboot.zip
cm-12.1-YOG7DAS2K1-bacon-signed-fastboot.zip
cm-12.1-YOG4PAS3JL-bacon-signed-fastboot.zip
cm-12.1-YOG4PAS2QL-bacon-signed-fastboot.zip
cm-12.1-YOG4PAS1N0-bacon-signed-fastboot.zip
cm-12.0-YNG1TAS2XK-bacon-signed-fastboot.zip
cm-12.0-YNG1TAS2I3-bacon-signed-fastboot.zip
cm-12.0-YNG1TAS17L-bacon-signed-fastboot.zip
cm-12.0-YNG1TAS0YL-bacon-signed-fastboot.zip
cm-11.0-XNPH05Q-bacon-signed-fastboot.zip
cm-11.0-XNPH44S-bacon-signed-fastboot.zip
cm-11.0-XNPH38R-bacon-signed-fastboot.zip
cm-11.0-XNPH33R-bacon-signed-fastboot.zip
cm-11.0-XNPH30O-bacon-signed-fastboot.zip
cm-11.0-XNPH25R-bacon-signed-fastboot.zip
cm-11.0-XNPH22R-bacon-signed-fastboot.zip
cm-11.0-XNPH22Q-bacon-signed-fastboot.zip
Signed flashable zips
cm-13.1.2-ZNH2KAS3P0-bacon-signed.zip
cm-13.1.1-ZNH2KAS2X1-bacon-signed.zip
cm-13.1-ZNH2KAS254-bacon-signed.zip
cm-13.1-ZNH2KAS1KN-bacon-signed.zip
cm-13.0-ZNH0EAS2JK-bacon-signed.zip
cm-12.1-YOG7DAS2K1-bacon-signed.zip
cm-12.1-YOG4PAS3JL-bacon-signed.zip
cm-12.1-YOG4PAS2QL-bacon-signed.zip
cm-12.1-YOG4PAS1N0-bacon-signed.zip
cm-12.0-YNG1TAS2XK-bacon-signed.zip
cm-12.0-YNG1TAS2I3-bacon-signed.zip
cm-12.0-YNG1TAS17L-bacon-signed.zip
cm-12.0-YNG1TAS0YL-bacon-signed.zip
Unofficial-cm-11.0-XNPH05Q-bacon-signed.zip
Unofficial-cm-11.0-XNPH44S-bacon-signed.zip
Unofficial-cm-11.0-XNPH38R-bacon-signed.zip
cm-11.0-XNPH33R-bacon-signed.zip
cm-11.0-XNPH25R-bacon-signed.zip
cm-11.0-XNPH22R-bacon-signed.zip
Boot-debuggable images
cm-13.1.2-ZNH2KAS3P0-bacon-boot-debuggable.img
cm-13.1.1-ZNH2KAS2X1-bacon-boot-debuggable.img
cm-13.1-ZNH2KAS254-bacon-boot-debuggable.img
cm-13.1-ZNH2KAS1KN-bacon-boot-debuggable.img
cm-13.0-ZNH0EAS2JK-bacon-boot-debuggable.img
cm-12.1-YOG7DAS2K1-bacon-boot-debuggable.img
cm-12.1-YOG4PAS3JL-bacon-boot-debuggable.img
cm-12.1-YOG4PAS2QL-bacon-boot-debuggable.img
cm-12.1-YOG4PAS1N0-bacon-boot-debuggable.img
cm-12.0-YNG1TAS2XK-bacon-boot-debuggable.img
cm-12.0-YNG1TAS2I3-bacon-boot-debuggable.img
cm-12.0-YNG1TAS17L-bacon-boot-debuggable.img
cm-12.0-YNG1TAS0YL-bacon-boot-debuggable.img
cm-11.0-XNPH05Q-bacon-boot-debuggable.img
cm-11.0-XNPH44S-bacon-boot-debuggable.img
cm-11.0-XNPH38R-bacon-boot-debuggable.img
cm-11.0-XNPH33R-bacon-boot-debuggable.img
cm-11.0-XNPH30O-bacon-boot-debuggable.img
cm-11.0-XNPH25R-bacon-boot-debuggable.img
cm-11.0-XNPH22R-bacon-boot-debuggable.img
OTA incremental update zips
ZNH2KAS2X1 -> ZNH2KAS3P0: cm-bacon-3c3f0aca9b-to-2b5f277d1c-signed.zip
ZNH2KAS254 -> ZNH2KAS2X1: cm-bacon-9f339bddf2-to-3c3f0aca9b-signed.zip
ZNH2KAS1KN -> ZNH2KAS254: cm-bacon-ced5430fc0-to-9f339bddf2-signed.zip
ZNH0EAS2JK -> ZNH2KAS1KN: cm-bacon-64003595ee-to-ced5430fc0-signed.zip
ZNH0EAS26M -> ZNH0EAS2JK: cm-bacon-e36dd78050-to-64003595ee-signed.zip
YOG7DAS2K1 -> ZNH0EAS2JK: cm-bacon-cee4e8702d-to-64003595ee-signed.zip
YOG7DAS2K1 -> ZNH0EAS26M: cm-bacon-cee4e8702d-to-e36dd78050-signed.zip
YOG4PAS3JL -> YOG7DAS2K1: cm-bacon-d91bf047f5-to-cee4e8702d-signed.zip
YOG4PAS2QL -> YOG4PAS3JL: cm-bacon-49d90510ef-to-d91bf047f5-signed.zip
YOG4PAS1N0 -> YOG4PAS2QL: cm-bacon-7be76f9310-to-49d90510ef-signed.zip
YOG4PAS1N0 -> YOG4PAS2QL: cm-bacon-7c535cd450-to-49d90510ef-signed.zip
YNG1TAS2XK -> YOG4PAS1N0: cm-bacon-62151320e9-to-7be76f9310-signed.zip
YNG1TAS2I3 -> YOG4PAS1N0: cm-bacon-30bd462d41-to-7be76f9310-signed.zip
YNG1TAS2I3 -> YOG4PAS1N0: cm-bacon-30bd462d41-to-7c535cd450-signed.zip
YNG1TAS17L -> YNG1TAS2I3: cm-bacon-e816218e8a-to-30bd462d41-signed.zip
XNPH05Q -> XNPH05Q: cm-bacon-5229c4ef56-to-7ecda8da86-signed.zip
XNPH44S -> XNPH05Q: cm-bacon-5fa8c79c0b-to-5229c4ef56-signed.zip
XNPH38R -> XNPH44S: cm-bacon-ac1ccf7921-to-5fa8c79c0b-signed.zip
XNPH33R -> XNPH38R: cm-bacon-3628510d76-to-ac1ccf7921-signed.zip
XNPH30O -> XNPH33R: cm-bacon-4f280f505a-to-3628510d76-signed.zip
XNPH30O -> XNPH30O: cm-bacon-0428073396-to-4f280f505a-signed.zip
XNPH25R -> XNPH30O: cm-bacon-d22b777afa-to-4f280f505a-signed.zip
XNPH25R -> XNPH30O: cm-bacon-d22b777afa-to-0428073396-signed.zip
XNPH22R -> XNPH25R: cm-bacon-03d77315ea-to-d22b777afa-signed.zip
TWRP & SuperSU
Latest TWRP custom recovery
Latest Stable SuperSU
Really useful... Keep up!
TaP 1+1
Thank you for your work!
There's already a thread for this here:
http://forum.xda-developers.com/showthread.php?t=2857110
Transmitted via Bacon
timmaaa said:
There's already a thread for this here:
http://forum.xda-developers.com/showthread.php?t=2857110
Transmitted via Bacon
Click to expand...
Click to collapse
I know, but most of the older CM official links don't work anymore.
I've mirrored them and added a lot more if that's OK.
Sent from my OnePlus One...
Spannaa said:
I know.
Most of the official links don't work anymore - that's why I've mirrored them...
Sent from my OnePlus One...
Click to expand...
Click to collapse
Why not just work with the original OP instead of duplicating threads?
Transmitted via Bacon
timmaaa said:
Why not just work with the original OP instead of duplicating threads?
Click to expand...
Click to collapse
I did consider that but, since these links are all to mirrors of the originals rather than links to the original CM downloads themselves, I decided to keep it separate to avoid confusion.
If @MICa.fighter wants to use any of these links in his thread, he's more than welcome to.
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
Transmitted via Bacon
What's the debugble version is so diferent?
jgcaap said:
What's the debugble version is so diferent?
Click to expand...
Click to collapse
They're not the full ROM - boot-debuggable images are just boot images (kernels) that enable adb root and the developer menu options.
Spannaa said:
I did consider that but, since these links are all to mirrors of the originals rather than links to the original CM downloads themselves, I decided to keep it separate to avoid confusion.
If @MICa.fighter wants to use any of these links in his thread, he's more than welcome to.
Click to expand...
Click to collapse
Thank you for the mirrors.
I wanted to use the links to the original CM downloads as long as they are available, so it is unquestionable they are the official files.
Since you already made mirrors, i don't think there is any reason for me to make mirrors in the other thread. Maybe i will find a different purpose for that thread, for example using the official files.
MICa.fighter said:
Thank you for the mirrors.
I wanted to use the links to the original CM downloads as long as they are available, so it is unquestionable they are the official files.
Since you already made mirrors, i don't think there is any reason for me to make mirrors in the other thread. Maybe i will find a different purpose for that thread, for example using the official files.
Click to expand...
Click to collapse
Hopefully the official links will return at some point - official downloads are always better and more trusted than mirrors.
At least the official 33R & 38R fastboot links still work.
Shame that the 33R signed flashable doesn't and there isn't a 38R signed flashable yet.
Since CM don't appear to have released an official recovery flashable zip for 38R, I've put together an unofficial version in the same format as the 33R one but using the extracted system.img from the 38R fastboot zip and other files from both this zip and the OTA zip.
Unofficial-cm-11.0-XNPH38R-bacon-signed.zip
I've tested it a few times but the usual disclaimer still applies
if i install the unofficial 38r, will i recieve upcoming ota like usual ?
kimikim0 said:
if i install the unofficial 38r, will i recieve upcoming ota like usual ?
Click to expand...
Click to collapse
Yes, as long as you're on CM11S you should have no issues receiving updates.
Transmitted via Bacon
Added XNPH38R -> XNPH44S OTA incremental update zip to post #1
Thanks for the work, updated like a charm.
In on 25r and no updates OTA?
Sent from my One using Tapatalk
friendlybiker said:
In on 25r and no updates OTA?
Click to expand...
Click to collapse
If you're on 25R, you can update to whatever version you want by flashing consecutive OTA incremental update zips.
Just make sure that you flash the right ones in the right order and I'd recommend re-booting between each flash.
I just messed with power and volume down and looks like it goes to TWRP, how do I do a backup on stock prior to flashing?
Sent from my One using Tapatalk