I flashed clockworkmod recovery. I then proceeded to backup my rom. I went to my computer to transfer the backup to a safe place, but it wasn't there. I tried again, went back to the folder on my sd card, but the only thing there is in the clockworkmod folder is a "Salted.hash" file. Nothing else. Yes, I'm rooted.
l33t p1mp said:
I flashed clockworkmod recovery. I then proceeded to backup my rom. I went to my computer to transfer the backup to a safe place, but it wasn't there. I tried again, went back to the folder on my sd card, but the only thing there is in the clockworkmod folder is a "Salted.hash" file. Nothing else. Yes, I'm rooted.
Click to expand...
Click to collapse
If you have an external sdcard it will be there, not the internal.
That folder is on my external SD card, but it doesn't have anything else in it.
I have a clockworkmod folder on my external SD card but it's empty as well. My backups are saved to /sdcard/clockworkmod/backup. Did you check there?
Quick question: when doing a backup with rom manager should you place device in airplane mode? Just wondering what, if anything happens if a call, text, email crimes in while doing a backup, or does cwm disable connections when backing up, or does it not matter either way? Thanks!
delgadodelbarrio said:
Quick question: when doing a backup with rom manager should you place device in airplane mode? Just wondering what, if anything happens if a call, text, email crimes in while doing a backup, or does cwm disable connections when backing up, or does it not matter either way? Thanks!
Click to expand...
Click to collapse
Doesn't matter, the actual OS isn't booted when in cwm
Sent from my SGH-T989
When you are in recovery mode you will not receive calls, etc. as you haven't fully booted Android. Once the backup is complete reboot as normal to resume using the phone itself.
Problem solved. For some reason, clockworkmod stuck the backup in the internal SD. I'm now running Cyanogen 7.
Related
Hi all,
I'm currently using DeFrost 2.4d (thanks Richard), but I dont think it is because of the ROM that this is happening. Every time I flash a new ROM the clockwordmod recovery seems to disappear. I've noticed this from within ROM Manager. I have to reflash the recovery everytime. Now this isnt an urgent problem since I can reflash it through rom manager each time, I'm just concerned about if something goes wrong and im unable to boot into a real recovery to fix it, as in not the ! recovery.
Thanks
Install ClockworkMod Recovery using unrEVOked so it stays there forever, well until you flash an official RUU. It seems like your formatting your sd card everytime you flash a ROM so update.zip disappears from sd card .
Hmm, no, I'm definitely not doing that. I have things stored on my SD Card, and they dont get deleted. Im not sure whether clockworkmod itself is going, or whether ROM manager is just reporting it as such. Any way to check?
chemaleon said:
Hmm, no, I'm definitely not doing that. I have things stored on my SD Card, and they dont get deleted. Im not sure whether clockworkmod itself is going, or whether ROM manager is just reporting it as such. Any way to check?
Click to expand...
Click to collapse
This feature occurs because the file is copied to /cache/update.zip for a fast boot, when you flash a new row, cache is wiped and this file deleted.
I think that this is the "error" you have.
Oh. So, what are the implications of this, should this be happening, does this happen to everyone? Is the clockworkmod always there? And on a side note, how do i get to clockworkmod from the ! screen?
Clockworkmod is the update.zip that you have in the root of you SD card. Use Astro or similar filemanager to view the content of your SD card after you flash a new rom. If the update.zip is still there then you have clockworkmod..
You get to the clockwork mod from the ! screen by pressing Volume + and Power button. Then selecting install update.zip
Ok I have made the stupidest and idiotic attempt to upgrade from 4.0.4 to 4.1 jelly bean on GSM Galaxy Nexus.
Basically, my phone was already rooted and unlocked, so I made a nandroid copy and off I went into recovery mode, trying to install the yakju zip file to manually update the firmware.
After I installed it and rebooted, it seems like it wasn't installed on some sort of internal storage that was only 66mb and I have lost my SD card and no user settings can be saved onto it. I realised this because if I went into recovery mode again and reboot normally, I will have to go through the initial setup all over again!!! At this point, if I tried to go back to nandroid copy, I could have done so easily.
BUT I made the mistake of trying to wipe all user data again and now everything on my SD card has been wiped out, including my nandroid copy and the ability to restore my nandroid back up!!! So if i tried to flash clockwork recovery image and restore, there is nothing in there for me to restore.... and I don't have access to the 13gb SD storage from phone or computer!!
Someone please help??!! At least I just want my old ICS system back!
Post 3 of my guide.
Push a rom and flash it.
Or flash stock images.
Jubakuba said:
Post 3 of my guide.
Push a rom and flash it.
Or flash stock images.
Click to expand...
Click to collapse
Could you be a bit more specific because I don't know how to push a rom or flash it and I can't find my SD card storage either
you clearly didnt read post 3 of juba's guide
I'll try to sum Jubakuba's guide up for you.
1. Boot into bootloader.
2. Select recovery.
3. adb push a ROM-Zip-file from your PC to /data/media/ (adb push $(/path/to/ROM.zip) /data/media/
3.1 Reboot recovery. (adb reboot recovery)
4. Install it like you'd install any other ROM.
---------
Sorry for my bad English.
amethyst_lyre said:
Ok I have made the stupidest and idiotic attempt to upgrade from 4.0.4 to 4.1 jelly bean on GSM Galaxy Nexus.
Basically, my phone was already rooted and unlocked, so I made a nandroid copy and off I went into recovery mode, trying to install the yakju zip file to manually update the firmware.
After I installed it and rebooted, it seems like it wasn't installed on some sort of internal storage that was only 66mb and I have lost my SD card and no user settings can be saved onto it. I realised this because if I went into recovery mode again and reboot normally, I will have to go through the initial setup all over again!!! At this point, if I tried to go back to nandroid copy, I could have done so easily.
BUT I made the mistake of trying to wipe all user data again and now everything on my SD card has been wiped out, including my nandroid copy and the ability to restore my nandroid back up!!! So if i tried to flash clockwork recovery image and restore, there is nothing in there for me to restore.... and I don't have access to the 13gb SD storage from phone or computer!!
Someone please help??!! At least I just want my old ICS system back!
Click to expand...
Click to collapse
You can start the phone and go through the initial set up?
The trouble is your sd is wiped and you can't see it on your computer?
gpfnzl said:
You can start the phone and go through the initial set up?
The trouble is your sd is wiped and you can't see it on your computer?
Click to expand...
Click to collapse
Humn, I read it as he couldn't do anything.
But if that isn't the case...
Yeah, dude...your data is gone.
Jubakuba said:
Humn, I read it as he couldn't do anything.
But if that isn't the case...
Yeah, dude...your data is gone.
Click to expand...
Click to collapse
Yip, i think he data wiped after flashing the up date = data gone and will have to start new.
Should still be able to see sd on computer.
Wiping data doesn't wipe the sd card, where did the upgrade come from? this may have wiped the card.
Try re-flashing a stock rom, root, unlock, flash recovery.
The GNex Toolkit makes it easy to do all these.
Hi all,
I have had my Note II for a day now and I love it but I seem to have an issue. I rooted and installed CWM 6.0.1.5 (modified version by Phil I believe) using Odin and I of course made a backup of my stock rooted ROM before I started flashing anything but when I tried to restore my Nand it says that it cant find the files and cant open the location. The CWM backup file IS there cause I can see it when I plug my phone into my computer but it wont restore and yes... I've tried EVERY restore option there is in CWM - Restore, Advanced Restore, Restore from External, Advanced Restore from External, so on and so on...
Can anyone tell my why I cant restore my Nandroid? This concerns me as well should I ever need to restore my backed up EFS as again, it just wont restore anything from CWM.
Anyone else with this issue or know what to do about it?
Also,
When I choose to flash anything from Internal SD it is now taking me to a list that shows /0, /obb and /legacy (or something like that) and then I have to choose /0 in order to gain access to my actual Internal files.
I actually have 2 of these sets of folders some how after flashing so now when I try and flash from Internal SD I have to choose /0 AND THEN ANOTHER /0 to access the internal card from CWM. This is quite weird and annoying to say the least. This behavior is also shown when searching my device using ANY file explorer and when I connect my phone to my computer as well - IE. I have all of these extra folders showing.
Can ANYONE explain why this is happening and how to avoid it if at all possible? Is this just something new in 4.2? I am currently running Jellybam 3.52 - 4.2.1 ROM.
Thanks,
Is your Nandroid backup from CWM or TWRP?
I've seen articles regarding the backup function of CWM, the backup files have to be in the following path on either the Internal or External SD Card. I'll use the below path as an example for an external SD card.
externalsdcard/clockworkmod/backup/[What ever you want the backup to be]
When you use the restore function from CWM and navigate to Restore from External/Internal SD Card. It should come up with the name of the folder you chose in [What ever you want the backup to be] and be able to restore your Nandroid backup.
Jonnit said:
Is your Nandroid backup from CWM or TWRP?
I've seen articles regarding the backup function of CWM, the backup files have to be in the following path on either the Internal or External SD Card. I'll use the below path as an example for an external SD card.
externalsdcard/clockworkmod/backup/[What ever you want the backup to be]
When you use the restore function from CWM and navigate to Restore from External/Internal SD Card. It should come up with the name of the folder you chose in [What ever you want the backup to be] and be able to restore your Nandroid backup.
Click to expand...
Click to collapse
My Nand is in CWM. I dont use TWRP.
As I said... My backup is on my internal sd card in the exact same format as you described but when I go to CWM and try to restore it first says "cannot open directory" and then immediately says "no files found"
Ive been using CWM since my original SGS and I have never seen this happen before. I can see it in my File Explorer, I can see it on my computer when I plug in the device but I cant get CWM to find the file to restore it.
Im about as confused as it gets...
Im testing something right now... I am making a new backup of my Jellybeer ROM to my External SD card to see what happens. IF it will find the files after its done I will advise but I still dont get why it wont restore from my internal card...?
*EDIT* So it seems to have backed up to the ext. sd card and I can see this file when I choose to restore from ext. sd but... it was the FASTEST backup Ive ever seen. It literally took like 45 seconds if that so I hope its a full back up!
IF my memory serves me correctly... When I backed up my stock ROM (my initial back up), I checked for the restore when it was done and it was there but then I flashed Hyperdroid and then I flashed PACman and then tried to restore my original Nand and it wouldn't let me so I wonder if I flash something else (which i don't want to do right now cause Jellybeer is serving me well at the moment) am I going to lose the ability to flash my Nand again?
Small bump...
yiannisthegreek said:
Small bump...
Click to expand...
Click to collapse
Ok so... NEW ISSUE!!!
I tried to restore the nand I made yesterday to my ext sd card (as I mentioned 2 posts back) and it said MD5 mismatch?! WTF?! How is that even possible? Can anyone please advise why my CWM is acting so weird?! Is there another version I can download perhaps? I am at a complete loss...
yiannisthegreek said:
Ok so... NEW ISSUE!!!
I tried to restore the nand I made yesterday to my ext sd card (as I mentioned 2 posts back) and it said MD5 mismatch?! WTF?! How is that even possible? Can anyone please advise why my CWM is acting so weird?! Is there another version I can download perhaps? I am at a complete loss...
Click to expand...
Click to collapse
Is there really no one who can help me with on this or give me some advice?
Md5 corrupted. ..
I.e your backup are corrupted.
Do factory reset then flash stock rom
Sent from my GT-N7100 using xda app-developers app
UtkarshGupta said:
Md5 corrupted. ..
I.e your backup are corrupted.
Do factory reset then flash stock rom
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply but... What would cause this to happen? Did you read my post where I backed up to my external sd card? Like I said... The backup literally only took like 45 seconds to complete which is weird unto itself.
What will flashing a stock ROM do to fix this? And when you say "stock" do you mean like "stock - unrooted"?
did u install cm 10. just read it propyl with cm 10.1 ie jb 4.2 creates a 0 folder all ur files get put in there
put anither rom on card delete the 0 folder then go to this link http://forum.xda-developers.com/showthread.php?t=1896696
every thing there you need to flash another rom or recovery
try chenglu recovery
dr ketan has done a very good usefull thread
hope it helps,,sounds like your backup is corrupt
sloppy1 said:
did u install cm 10. just read it propyl with cm 10.1 ie jb 4.2 creates a 0 folder all ur files get put in there
put anither rom on card delete the 0 folder then go to this link http://forum.xda-developers.com/showthread.php?t=1896696
every thing there you need to flash another rom or recovery
try chenglu recovery
dr ketan has done a very good usefull thread
hope it helps,,sounds like your backup is corrupt
Click to expand...
Click to collapse
Chenglu is the one I used when I rooted my device by using Dr. Ketans guide and now I cant get ANY of my NAND backups to restore...
With regard to the /0 file issue - Yes... I am running a 4.2.+ CM10.1 based ROM so I understand that it creates those /0 files but it just keeps on creating them after flashing anything new!!!
Your issue is related to the new JB 4.2 and multi-user feature. CWM cannot find backups since they are moved to a different folder
The day you need your backup, just install a JB 4.1.2, move your /0 folder to root of sdcard and run your nandroid
Phil3759 said:
Your issue is related to the new JB 4.2 and multi-user feature. CWM cannot find backups since they are moved to a different folder
The day you need your backup, just install a JB 4.1.2, move your /0 folder to root of sdcard and run your nandroid
Click to expand...
Click to collapse
Hi Phil,
Thanks for the reply my friend! So...you're saying that IF and when I need to restore my nand that I will have to install a 4.1.2 ROM first and then follow your instructions to move the /0 folder to the root of my sd card (i assume by using a file explorer of some kind in the 4.1.2 ROM itself?) and then flash my nand? Is that correct? Should I keep just any old 4.1.2 ROM on my device at all times for this purpose?
If so then what if I have multiple /0 files created as I do now? Currently I have 2 /0 folders and this seems to grow as I flash anything new. Do I then move ALL of the /0 folders to the root of my sd card before I can restore my nandroid backup?
Also... Why was I not able to restore from my external sd card using the option in your recovery either? I made a simple backup of my current 4.2.+ ROM to my external card and when I tried to restore it last night to test it said MD5 mismatch. Is this related to the 4.2 ROM issue as well?
yiannisthegreek said:
Chenglu is the one I used when I rooted my device by using Dr. Ketans guide and now I cant get ANY of my NAND backups to restore...
With regard to the /0 file issue - Yes... I am running a 4.2.+ CM10.1 based ROM so I understand that it creates those /0 files but it just keeps on creating them after flashing anything new!!!
Click to expand...
Click to collapse
delete 0 folder
flash cwm recovery with odin go into mounts
wipe caches and format system when done
power down then go into download mode
then flash stock img
that worked for me
sloppy1 said:
delete 0 folder
flash cwm recovery with odin go into mounts
wipe caches and format system when done
power down then go into download mode
then flash stock img
that worked for me
Click to expand...
Click to collapse
Im sorry but I dont know if I understand you completely...
Flash CWM with odin and then go into mounts? Firstly, what version of CWM are you saying to flash and then I assume you mean once thats done that I should then boot into recovery and then go into mounts? And then wipe caches, format system?
Can you clarify?
yiannisthegreek said:
Im sorry but I dont know if I understand you completely...
Flash CWM with odin and then go into mounts? Firstly, what version of CWM are you saying to flash and then I assume you mean once thats done that I should then boot into recovery and then go into mounts? And then wipe caches, format system?
Can you clarify?
Click to expand...
Click to collapse
re-dload chenglu recovery
when in recovery wipe data n dalvik then go into mounts then format system
then power down,
then download mode,
use odin to flash stock img
---------- Post added at 11:11 PM ---------- Previous post was at 11:06 PM ----------
try this 1st
connect fone to pc,
open up 0 folder inside 0 fokder will be clockwork folder, drag it to root of sd card,
try restore it from there that might work
sloppy1 said:
re-dload chenglu recovery
when in recovery wipe data n dalvik then go into mounts then format system
then power down,
then download mode,
use odin to flash stock img
---------- Post added at 11:11 PM ---------- Previous post was at 11:06 PM ----------
try this 1st
connect fone to pc,
open up 0 folder inside 0 fokder will be clockwork folder, drag it to root of sd card,
try restore it from there that might work
Click to expand...
Click to collapse
What I did was... I flashed v6.0.2.7 via ODIN (which has 4.2.+ ROM support) and I am now FINALLY able to restore my Nand back ups!!! The only thing now is that I apparently have 3 /0 folders on my device and I REALLY just want to know how to get rid of the extra folders and to know how to keep them from being created altogether!!!
I have one that has ALL of the original .zip files, gapps, etc that I installed on my device, then I have one that has an efs backup on it somehow and has a couple of application folders in it and then I have one that is like stock.
Why are these being created and how can I get rid of them? This is driving me CRAZY!!!
I had the same issue this morning.
I fixed it by installing the aroma file manager addon in Phil's CWM recovery and using aroma to copy the clockworkmod folder out of the /0 folder and back to the root of the sd card.
Then when I went into backup and restore the backup was visible again.
Once you have a rom installed you shoudl just be able to plug in via usb and just browse the sd card on your computer to move everything back out of the /0 folder
yiannisthegreek said:
Ok so... NEW ISSUE!!!
I tried to restore the nand I made yesterday to my ext sd card (as I mentioned 2 posts back) and it said MD5 mismatch?! WTF?! How is that even possible? Can anyone please advise why my CWM is acting so weird?! Is there another version I can download perhaps? I am at a complete loss...
Click to expand...
Click to collapse
You can install nandroid manager from playstore and you can fix nandroid md5 mismatch there or you can use terminal emulator to generate new md5 file in your nandroid (google it because i cant remember the command)
yiannisthegreek said:
Hi all,
I have had my Note II for a day now and I love it but I seem to have an issue. I rooted and installed CWM 6.0.1.5 (modified version by Phil I believe) using Odin and I of course made a backup of my stock rooted ROM before I started flashing anything but when I tried to restore my Nand it says that it cant find the files and cant open the location. The CWM backup file IS there cause I can see it when I plug my phone into my computer but it wont restore and yes... I've tried EVERY restore option there is in CWM - Restore, Advanced Restore, Restore from External, Advanced Restore from External, so on and so on...
Can anyone tell my why I cant restore my Nandroid? This concerns me as well should I ever need to restore my backed up EFS as again, it just wont restore anything from CWM.
Anyone else with this issue or know what to do about it?
Also,
When I choose to flash anything from Internal SD it is now taking me to a list that shows /0, /obb and /legacy (or something like that) and then I have to choose /0 in order to gain access to my actual Internal files.
I actually have 2 of these sets of folders some how after flashing so now when I try and flash from Internal SD I have to choose /0 AND THEN ANOTHER /0 to access the internal card from CWM. This is quite weird and annoying to say the least. This behavior is also shown when searching my device using ANY file explorer and when I connect my phone to my computer as well - IE. I have all of these extra folders showing.
Can ANYONE explain why this is happening and how to avoid it if at all possible? Is this just something new in 4.2? I am currently running Jellybam 3.52 - 4.2.1 ROM.
Thanks,
Click to expand...
Click to collapse
Is that cwm recovery on sdcard??? Please move it on your ext card and recover .
Or you got an md5 mismatch ? Use mismatch fixer or see my thread http://forum.xda-developers.com/showthread.php?t=2681072
Sent from my GT-S7562 using XDA Premium 4 mobile app
Hey quick question,
so I make a backup of my system for flashing. Then I move the backup onto a folder to my computer same with my titanium backup folder. So when I wipe and flash a new rom, I have all of my files for my system backup and my titanium backup on my phone. After I restore all of my apps after flashing the new rom, can I move the backup files and leave them on the computer as well as the system backup to save space? Is there anyway that I can still restore the system if it gets stuck in a bootloop - (besides flashing a new stock one)?
basically I want to store the system backup and the titanium backup on my computer so they are safe and because they take up about 4 gb of space on my phone.
I tried to be clear but let me know if I should further explain
Thanks
I wouldn't backup system apps with titanium, because they can vary from rom to rom. As long as you properly wipe your phone before flashing, you shouldn't get bootloops(can still happen). If you get a bootloop, try pulling the battery 1st. If your phone still bootloops, you have to use download mode and ODIN to flash stock ROM.
sent from somewhere
right which I have done before. I just want to know that if my phone does get stuck somewhere (has happened before, and I had to flash a stock rom and lost everything - lost backup) Would I be able to move my system restore and titanium backup files from my computer to my phone to be able to recover?
Basically store backups on computer, then if something happens, be able to transfer them back to phone
Thanks for the help
Generally it's good to leave backups someplace where they won't get easily corrupted or lost. Since the S3 has a microsd slot, sure, keep them on your computer and move them over if necessary.
My SOP is to keep the current backup on the microsd, and store the backups on my computer. Then if I need to reflash/nandroid back, they're there, and if my microsd is corrupted I have a known good backup.
b11aze said:
right which I have done before. I just want to know that if my phone does get stuck somewhere (has happened before, and I had to flash a stock rom and lost everything - lost backup) Would I be able to move my system restore and titanium backup files from my computer to my phone to be able to recover?
Basically store backups on computer, then if something happens, be able to transfer them back to phone
Thanks for the help
Click to expand...
Click to collapse
As long as you can get into your custom recovery after anything happens, backups will work. Make sure to backup system, data, and boot. If not and you have to flash using ODIN, like starting from scratch, you may have issues such as md5 mismatches.
sent from somewhere
ok I was just looking to see if it was possible or not to transfer backups from computer to phone if the phone cant turn on ie. stuck in download mode or recovery mode.
After a dead battery earlier today, my phone is stuck at the 'X' bootup screen. The phone is rooted and has a custom ROM on it that I did not do myself, someone else did it over a year ago.
I got into recovery mode and clockworkmod recovery v6.0.0.5. I tried wipe cache which did not fix the problem. I assume that I have to do the wipe data/factory reset option, is that right?
If so, how can I get my pictures and videos off the phone first? A fuller backup with SMS and so on would be nice as well.
I did a 'Nandroid' backup just now in CWM and it completed successfully, but I don't know where it went, it talked about an sd card but of course there is none. I would think whatever backup I made will be wiped away if I do the factory reset option.
When I plug in the USB in this recovery mode, my PC says it could not install the drivers correctly. I tried installing the drivers from samsung's website and it did not help.
Any help is greatly appreciated!
Ok, I have made a little progress I think. I got drivers and fastboot and adb files. I can now connect over fastboot in the bootloader and adb in clockworkmod. Now I am trying to figure out how to get my files.
Also I'm not clear on what is next. Can I just use the factory reset option in CWM and then everything will be fine?
Success! I used adb pull and got my entire sdcard directory which at least includes pics and vids.
Now what about SMS and MMS? And is there any chance of restoring all my apps and settings and everything? I assume that replicating everything would run the risk of just having another boot loop error! Not sure what to do or if I need to figure out how to flash a new ROM or what.
thor_ said:
I assume that replicating everything would increase the risk of just having another boot loop error!
Click to expand...
Click to collapse
Correct.
a maguro wrote this.
thor_ said:
Success! I used adb pull and got my entire sdcard directory which at least includes pics and vids.
Now what about SMS and MMS? And is there any chance of restoring all my apps and settings and everything? I assume that replicating everything would run the risk of just having another boot loop error! Not sure what to do or if I need to figure out how to flash a new ROM or what.
Click to expand...
Click to collapse
A factory reset erases everything on your phone EXCEPT nandroid backups and pics, music, etc on your sd card. You say you have no sd card but it is probably just not removable on your phone. Nandroid backups are saved on the sd card where they wont be erased. Texts, call history, etc are gone...just let them go, nbd. For future reference there are tons of apps that back up everything you want and you can set them to back up your stuff every day (titanium backup, eg).
sd0070 said:
A factory reset erases everything on your phone EXCEPT nandroid backups and pics, music, etc on your sd card. You say you have no sd card but it is probably just not removable on your phone. Nandroid backups are saved on the sd card where they wont be erased. Texts, call history, etc are gone...just let them go, nbd. For future reference there are tons of apps that back up everything you want and you can set them to back up your stuff every day (titanium backup, eg).
Click to expand...
Click to collapse
Thank you so much for the replies.
To confirm: I now have to adb push a rom file to my sdcard and then install from CWM.
What I have been trying to figure out is whether there is a stock ROM I can flash using this method? If not some other rom will be fine.
sd0070 said:
A factory reset erases everything on your phone EXCEPT nandroid backups and pics, music, etc on your sd card.
Click to expand...
Click to collapse
not true.
a factory reset in a custom recovery leaves these items, if you had stock recovery, it would wipe the device.
---------- Post added at 09:56 AM ---------- Previous post was at 09:55 AM ----------
thor_ said:
Thank you so much for the replies.
To confirm: I now have to adb push a rom file to my sdcard and then install from CWM.
What I have been trying to figure out is whether there is a stock ROM I can flash using this method? If not some other rom will be fine.
Click to expand...
Click to collapse
if you want to flash the stock rom, use fastboot and the factory google images
you can adb push a custom rom over and flash it that way.