Flash-all.bat errors - Nexus 5 Q&A, Help & Troubleshooting

I have not been able to use the flash-all.bat since 5.0.1. I've tried on 2 different computers. One windows 32 bit the other 64 bit. I have tried updating the drivers, installing Android Studio and the SDK, installing the 15 second adb/fastboot 1.4.2 and nothing seems to work. Error messages I have gotten are the missing system error, the malloc not able to generate image, and now the latest is failing to send and flash userdata. What is going on here?
I know how to and have been manually flashing the past few months but I'd like to get the flash-all.bat capability back. I searched on and off for months now and have not found a consise answer on how to fix this.

Solved
After trying everything mentioned above I decided to start from scratch again and download everything straight from Google. Finally was able to use flash all without errors for the first time in months.

Related

[Q] Variety of issues (unlocking bootloader, randomly rebooting phone, etc) [Resolved

Hi! I realise this if my first post I'd like to tread lightly; but I'm about 4 days into solving my issues and I just want to finish it...
I've had my Nexus i9020a (bought from Koodo) since ~May 2012. I upgraded to ICS sometime in the summer and sometime in the last few weeks it has started rebooting. I hadn't been installing new apps, etc. I'm not sure what the cause is. I 'Factory Reset' today in an attempt to resolve the issue, thinking it may be a program gone AWOL; but it has rebooted a few times since. I *just* looked through rebooting FAQ on this site and have edited the first few features listed there. I'm not sure if it has worked yet, but I'll get back to you on that. For the record, the only programs I have installed now are Swiftkey 3, Handcent and Beats (DDR simulator, updated in November).
In the meantime, before I found the solutions here, I decided to take another shot at unlocking the bootloader and try installing... probably CyanogenMod.
Specs: Windows 7 64 bit with Nexus S I9020a (Koodo) running 4.0.4 (4.1.1/2 OTA haven't come through, despite dozens of attempts at clearing the GSF cache, etc)
So I've been using the Nexus S: Full Update Guide found at:
hxxp://wiki.cyanogenmod.org/wiki/Nexus_S:_Full_Update_Guide
(It won't let me post the link)
I've followed the guide for installing the Android SDK, gone to CMD and typed 'adb devices' and had it show up. Theoretically, the SDK should be running fine.
Next, I turned on the USB debug mode. Then I booted up the bootloader, plugged the NS into the PC... and despite not having issue when the it's turned on (driver installed properly) windows says drivers have not been found for the device. Thus, when I type fastboot devices, it comes up with nothing.
I've been, and will continue perusing forums for this, but so far I haven't seen anyone with this specific problem.
Edit: I have also gone to the directory with fastboot/adb and used cmd to reboot into the bootloader, only to have windows 'ding ding ding' an unrecognised device.
2nd Edit.
I've gotten a stage further! I'll keep the thread open because I may come across something and it's nice to write my issues down. Seems my head can wrap around the problem a bit better. Anyway, I installed PDAnet and BAM, it works. Onto getting CWM installed! Thanks for the, uh, help!
3rd Edit.
CyanogenMod 10.0 stable is booting for the first time!! It's taking a while... but I appear to be on the home stretch! Also, my phone didn't reboot for a few hours before I installed CM. So if I don't end up somehow bricking it... and I mean, this first boot is taking a heck of a long time... The animation sets me at least a bit at ease... maybe 4.0.4 will work out...
Edit 4
I forgot to clear the app and cache data before flashing the ROM to the phone and thus the issue... after a VERY tension filled moment of pulling the battery during first boot... I rebooted, cleared said data and reflashed the ROM. After a boot, I realised I forgot the GAPPS zip and fixed that. Now I'm running CM10 Stable!! I'm stoked that after months of putting it off cuz last time I did it I didn't get anywhere after many days, but now it's done!! Thanks again for such an awesome site!
Thanks for sharing your experience instead of just saying "Mods please delete this i solved my own problem" :good:

CM 11 cripples Moto G, can't use ADB/fastboot to install CM 10

I installed Cyanogen Mod (cm-11-20140504-SNAPSHOT-M6-falcon.zip) on my 1st generation Moto G using TWRP. When I boot into CM, I keep getting the message that "Unfortunately, the process com.android.systemui has stopped". Every time I banish that popup, I get a split second of usage before it pops up again. After some troubleshooting and web searching, I found that I have to revert to CM 10. The details are documented at androidforums.com/threads/windows-mtb-usb-device-driver-error-when-moto-g-running-twrp.901001 and forum.xda-developers.com/chef-central/android/windows-mtb-usb-device-driver-error-t3022946
I haven't searched for CM 10 yet, but I'm scouting out the process to push it to the device. I can't find a way to get ADB to see the device, even after enable USB debugging (www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android and android.stackexchange.com/questions/67249/how-to-enter-usb-debugging-mode-in-cyanogenmod). Given that I only have a split second after banishing each error message, that took forever, but I confirmed that USB debugging is enabled after rebooting.
The only alternative I know to ADB is fastboot. According to forum.xda-developers.com/showthread.php?t=702069, it is theoretically possible for fastboot to flash a ROM, but the zip file should contain a data.img and system.img. I checked the CM 11 zip file to see what I can expect from CM 10, and found no such img files.
Given that ADB and fastboot processes don't work for me (at least the the degree that I've explored them), what other options are there for flashing CM 10?
P.S. Does anyone know how to get exit (say) Settings or the browser and get back to the cyanogenmod start page? There is no home button, and web searching refers an icon with 3 bars on the top, which I don't have. I basically have to reboot.
my1stSmartPhone said:
I installed Cyanogen Mod (cm-11-20140504-SNAPSHOT-M6-falcon.zip) on my 1st generation Moto G using TWRP. When I boot into CM, I keep getting the message that "Unfortunately, the process com.android.systemui has stopped". Every time I banish that popup, I get a split second of usage before it pops up again. After some troubleshooting and web searching, I found that I have to revert to CM 10. The details are documented at androidforums.com/threads/windows-mtb-usb-device-driver-error-when-moto-g-running-twrp.901001 and forum.xda-developers.com/chef-central/android/windows-mtb-usb-device-driver-error-t3022946
I haven't searched for CM 10 yet, but I'm scouting out the process to push it to the device. I can't find a way to get ADB to see the device, even after enable USB debugging (www.addictivetips.com/mobile/what-is-adb-and-how-to-install-it-android and android.stackexchange.com/questions/67249/how-to-enter-usb-debugging-mode-in-cyanogenmod). Given that I only have a split second after banishing each error message, that took forever, but I confirmed that USB debugging is enabled after rebooting.
The only alternative I know to ADB is fastboot. According to forum.xda-developers.com/showthread.php?t=702069, it is theoretically possible for fastboot to flash a ROM, but the zip file should contain a data.img and system.img. I checked the CM 11 zip file to see what I can expect from CM 10, and found no such img files.
Given that ADB and fastboot processes don't work for me (at least the the degree that I've explored them), what other options are there for flashing CM 10?
P.S. Does anyone know how to get exit (say) Settings or the browser and get back to the cyanogenmod start page? There is no home button, and web searching refers an icon with 3 bars on the top, which I don't have. I basically have to reboot.
Click to expand...
Click to collapse
This is the wrong forum to post this in. Also, Snapshot M6 is almost a year old. Flash the latest nightly. That will work better. There's no CM10 for this device since it shipped with Android 4.3, so you'd be wasting your time looking for it. Even though systemui is crashing, mtp will still work, so you can transfer files to your phone normally. Also, this should teach you, that it is dangerous to experiment with your phone without a legitimate way out of issues or a backup.
As you able to flash a custom rom via custom recovery?
Press and hold power and volume down button together till 10 secs after your phone is turned off. You will go to bootloader menu. Connect it via USB to access fastboot.
@audit13: Re. whether I can flash via custom recovery, the short answer is no. I haven't been able to get CWM working, but with TWRP, I could flash CM 11 if I first push the zip file to /sdcard with the device booted up normally. TWRP has a problem with MTP drivers (seems endemic, from what I've been able to find online), and ADB on my laptop can't see the device when it is running TWRP. I've documented this in the 1st 2 links of paragraph 1 in my original post. Unfortunately, with CM 11 installed, the laptop can't see the device at all, so no push is possible. That is the reason why I was trying to find info on flashing via fastboot in my original post. Please note that I also haven't been able to get TWRP to sideload, probably due to the invisibility of the device to the laptop.
@i_rnb: I can get into bootloader OK, but my concern is how to use fastboot to flash an OS rather than a recover. According to forum.xda-developers.com/showthread.php?t=702069, it is theoretically possible for fastboot to flash a ROM, but the zip file should contain a data.img and system.img. I checked the CM 11 zip file to see what I can expect from CM 10, and found no such img files.
Did you try the latest Philz from here: https://goo.im/devs/philz_touch/CWM_Advanced_Edition/falcon/
That's what I used on my xt1032 and it's fine for install ROMs via OTG and internal SD card.
Flashing via fastboot should work as long as you are able to boot into fastboot mode and the proper drivers are installed.
Stock ROMs with have the system.img or data.img files you need where as custom ROMs do not.
my1stSmartPhone said:
@audit13: Re. whether I can flash via custom recovery, the short answer is no. I haven't been able to get CWM working, but with TWRP, I could flash CM 11 if I first push the zip file to /sdcard with the device booted up normally. TWRP has a problem with MTP drivers (seems endemic, from what I've been able to find online), and ADB on my laptop can't see the device when it is running TWRP. I've documented this in the 1st 2 links of paragraph 1 in my original post. Unfortunately, with CM 11 installed, the laptop can't see the device at all, so no push is possible. That is the reason why I was trying to find info on flashing via fastboot in my original post. Please note that I also haven't been able to get TWRP to sideload, probably due to the invisibility of the device to the laptop.
@i_rnb: I can get into bootloader OK, but my concern is how to use fastboot to flash an OS rather than a recover. According to forum.xda-developers.com/showthread.php?t=702069, it is theoretically possible for fastboot to flash a ROM, but the zip file should contain a data.img and system.img. I checked the CM 11 zip file to see what I can expect from CM 10, and found no such img files.
Click to expand...
Click to collapse
I'm sorry, but you're misunderstanding/reading the wrong things. You WILL NEVER find CM10 for the Moto G because CM 10 simply never existed for this device. You need to look for issues which are device specific and not just general issues all over the internet. Also, you WILL NEVER find a system.img and data.img in a CM11 zip. Those are only found in the stock ROM meant specifically for flashing via fastboot. All that information can be found by looking around the Moto G XDA forums itself. You'll find a lot of helpful stuff in the General section. You can also push a zip to /sdcard. You need to boot into bootloader and then push via ADB. MTP works on the latest TWRP recovery. So you can transfer it to your phone that way too.
audit13 said:
Did you try the latest Philz from here: https://goo.im/devs/philz_touch/CWM_Advanced_Edition/falcon/
That's what I used on my xt1032 and it's fine for install ROMs via OTG and internal SD card.
Flashing via fastboot should work as long as you are able to boot into fastboot mode and the proper drivers are installed.
Stock ROMs with have the system.img or data.img files you need where as custom ROMs do not.
Click to expand...
Click to collapse
I need to become familiar with Philz. Being a newcomer to smartphones, it's not familiar to me. One of the fundamental requirements that I established at the outset of my search for a smartphone was to have the provider of the OS & phone be trustworthy or, failing that, go to open source so that it has the eyes of the world on it. It is also why I seek to be familiar with the source of ROMs, tools, etc. So far, I tried to download to from main sites for CWM, TWRP, and CM 11.
I know, it sounds odd these days, but I'm spoiled from before the internet days, when you can store any personal info you want on electronic organizers that had no connection, wired or wireless, to computers or the internet (which didn't exist). These days, it seems that you have to be very careful if you wish store any personal info on these personal devices. Either that, or carry a paper organizer around for the personal stuff (and I don't want to do that).
Thanks for confirming flashability via fastboot even without system.img and data.img. As it turns out, however, it isn't as promising a way ahead for me because I found out that the reversion back to CM 10 was a mistake (www.reddit.com/r/cyanogenmod/comments/2gvmqu/cm11moto_g_comandroidsystemui_is_crashing_after). The OP meant M10 snapshot, not CM 10. Which is odd, since the Moto G has no M10 snapshot (download.cyanogenmod.org/?type=snapshot&device=falcon). There's no M10 in the names of the nightly snapshots either (though that's less of a concern for me as I don't want to wander into nightly territory until I get the confidence of having my first attempt working).
I'll mull over Philz after some web search. I also distinctly recall backing up the stock Carrier ROM, so perhaps another way out is to find it and go through the details of restoring it.
my1stSmartPhone said:
@i_rnb: I can get into bootloader OK, but my concern is how to use fastboot to flash an OS rather than a recover. According to forum.xda-developers.com/showthread.php?t=702069, it is theoretically possible for fastboot to flash a ROM, but the zip file should contain a data.img and system.img. I checked the CM 11 zip file to see what I can expect from CM 10, and found no such img files.
Click to expand...
Click to collapse
1. Boot into Fastboot.
2. Flash TWRP recovery via Fastboot.
3.. Select Recovery from the menu and boot to TWRP recovery.
4. Put the ROM zip in a USB OTG drive.
5. Connect it to your device and mount it from recovery menu.
6. Install the zip via TWRP recovery from USB OTG.
DONE !
This is very odd.
I could not restore from my pre-CyanogenMod backups because when I browse to the date+time-stamped folders, it was empty. However, I had previously copied to contents of at least one date+time-stamped folder to my laptop.
I used fastboot to uprade TWRP from 2.8.3 to 2.8.4 in hopes of getting past the MTP driver problem, which would enable me to copy the files back to the device. Halleluya, it did allow the device to be seen in Windows Explorer. But I didn't need to use the copy on the laptop because moving to 2.8.4 also allowed the backups to be seen on the device.
I gleefully restored the backup. It said "failed", but I rebooted anyway. Unfortunately, the failed restoration was real, and I was still with CyanogenMod. I interrupted the boot process to get back to bootloader.
I reverted back to TWRP 2.8.3, hoping that it would still see the backup. I was hoping that 2.8.3 would properly restore the backup because it was created using 2.8.3. It did indeed see the backup, but the restoration still resulted in "failed", and a reboot still led to the CyanogenMod bootup.
Oddly, CyanogenMod booted properly this time without the repeated systemui popups. It's great! Though I wonder if I somehow affected CyanogenMod with the failed attempts at restoring the stock carrier's ROM. Not that I care right now. CyanogenMod awaits exploration.
But there are a couple of things that I hope someone can comment on. What might cause CyanogenMod to boot properly after upgrading TWRP and reverting back, failing to restore the stock carrier ROM with both versions? Could CyanogenMod now be corrupt? And why won't my backups restore? How can I ensure that I create good backups?
P.S. Thanks to i_rnb for the tip about USB OTG. I did not go that route because I only have the cable that came with the device.
P.P.S. I'm a bit (or rather, quite) unsettled by the randomness with which things work...
I downloaded the CyanogenMod nightly for Moto G, cm-12-20150213-NIGHTLY-falcon.zip. I got it working. Pretty robust so far, so I want to enjoy it a bit before clobbering it by attempting to restore the Carrier stock ROM. I admit that I will have to do that at some point because I need to ensure that my backups are good.
I would like to take this opportunity to recount how I got around the problems I faced. I think that others may run into this, and my story may help them get back to a working phone when it looks like it is bricked.
The problem was that CM 11 was crippled by the repeated systemui popup messages. I thought it went away, but it came back. I still don't know what triggers it. And my backups of the carrier OS either failed to restore (twrp 2.8.3) or were not visible (twrp 2.8.4). I had spent so many days trying to think of a way ahead that simply didn't care about bricking the phone anymore. After all, it wasn't doing a whole lot of good as-is. So in one of my attempts of trying something, I erased the OS in the process of re-installing CM 11. And the re-install failed. Not a good situation, since ADB worked only when an OS was running (not when a recovery was running), and the MTP driver errors prevented the device from being accessed from windows when recovery was running. It didn't matter whether I was running twrp 2.8.3, 2.8.4, or CWM. So sideload didn't work in any of those recoveries.
There was basically no way to push *any* new OS to the phone. I forgot the details, but the CM 11 imag file that was on the phone might not have been visible to the one or more of the recoveries I tried. I was so out of options that I even tried fastboot to flash to OS, and that did not succeed.
Here is what I found worked. I don't know what particular detail was responsible for the success, so it requires experimentation.
First, I un-installed re-installed the SDK tool set for installing custom ROMs, making sure that I included Google USB drivers. The subsequent update required many more things to be installed, so that might have been part of the solution. I then looked for Motorola driver apps in Windows's Programs menu, uninstalled both, and re-installed. I don't know what contribution it had to the success, as I never got the Device Manager running. Whenever I launched it, it searched for updates, came back and reported no updates and that my device was uknown, then quit. Maybe because no OS on the device was running.
The one thing that seemed to help was that, even though the device was otherwise incommunicato from the laptop, I was able to fastboot flash recoveries. After the above re-installs, a re-install of twrp 2.8.4 allowed the computer to see the device in Windows Explorer. I believe it had something to do with better-functioning MTP USB drivers in the re-install, but I can't be sure. So I was able to copy the nightly CM 12 to the device, then use one of the recoveries to install it.
But the story didn't end there. Even after the CM install, I was still getting repeated popups. This time, however, it was something other than systemui, but otherwise, the symptoms were the same. At that point, I had pretty well concluded that my experiment with Moto G was at its end, and that I would look at Blackberry (now that they committed to stay in the handset market). But I did half-heartedly experiment a bit more. Good thing, too, because the 2nd attempt at re-installing CM 12 seems to have worked. No repeated popups so far. What I made sure that I did was to wipe out anything for which there was a check box, e.g., any cache, data partition, OS, etc. Since it was a virgin phone, I could do this with impunity, so I'm not sure how well this "solution" would fit someone else's situation. Also, I did try to wipe things in past attempts, just not with so much thoroughness.
So there you have it. I hope this helps someone.

[Q] Issues returning M8 to Stock [S-off/Unlocked]

My phone info:
HTC One M8 (Verizon)
CID-VZW__001
HBOOT-3.19.0.0000
RADIO-1.09.20.926
OpenDSP-v46.2.2-00564-M8974_FO.0811
OS-4.17.605.5
eMMC-boot 2048MB
I am using the new Viper One OS – which is based on Lollipop.
Before I start, let me say that I have been tirelessly searching these forums, in addition to googling, various ways to try to fix my issues. Unfortunately, the “fixes” I keep finding are not working for me. As a result, I am seeking additional help/input before I lose my mind.
Background:
A few days ago, I made a huge mistake while wiping my phone in preparation to install a new custom rom. I was not paying enough attention and wiped KK off of my phone – my phone no longer had an OS and I had NO backup file. I tried downloading stock recoveries and flashing them to no avail – they would fail from TWRP. In addition, adb would NOT sideload them.
When I try to flash the stock rom from TWRP, it says there is no MD5 file and fails. When I try to use adb sideload, it looks like it is starting to transfer, but then freezes at “0.0 xfer”. Somehow, I was able to get the Viper One OS to flash and load onto my phone so that I can use it. However, I am having issues with the wifi consistently disconnecting at random – a known issue with this OS upgrade.
Because I was able to get Viper One on my phone and use it, I gave up trying to restore my OS to stock. But now, because of the wifi issues, I would like to restore my phone to stock with Lollipop (while maintaining s-off/unlocked), and leave it the hell alone.
Issues:
1. Now, my biggest issue is with adb not working. I have downloaded adb/fastboot via Android SDK directly from Google – I figured this would be the most current version. When I use adb, it says that the server is out of date and refuses to sideload or I get the “ack” error. I kill the adb.exe process and restart it, and then the same thing happens. It DOES detect my phone. It says it is adb version 1.0.32. I feel like if I can get this to work, I can potentially fix the other issues. I have deleted and reinstalled adb but I get the same errors.
2. Why won’t TWRP flash from my external sd? Why do I keep getting the MD5 error?
3. Can I use someone else's nandroid backup to recover my phone if the above keeps failing? If so, does someone have one that would work with my phone, and let me download it?
Can someone please help? At this point, I am even willing to download Teamviewer to have someone assist.
I have downloaded the recoveries from the following link: http://forum.xda-developers.com/newthread.php?do=newthread&f=3052
I have also tried these solutions as well as one that involves downloading a FUU and trying to flash that way: http://www.droidviews.com/restore-verizon-htc-one-m8-to-stock-rom-with-ruu/
The_LC said:
My phone info:
HTC One M8 (Verizon)
CID-VZW__001
HBOOT-3.19.0.0000
RADIO-1.09.20.926
OpenDSP-v46.2.2-00564-M8974_FO.0811
OS-4.17.605.5
eMMC-boot 2048MB
I am using the new Viper One OS – which is based on Lollipop.
Before I start, let me say that I have been tirelessly searching these forums, in addition to googling, various ways to try to fix my issues. Unfortunately, the “fixes” I keep finding are not working for me. As a result, I am seeking additional help/input before I lose my mind.
Background:
A few days ago, I made a huge mistake while wiping my phone in preparation to install a new custom rom. I was not paying enough attention and wiped KK off of my phone – my phone no longer had an OS and I had NO backup file. I tried downloading stock recoveries and flashing them to no avail – they would fail from TWRP. In addition, adb would NOT sideload them.
When I try to flash the stock rom from TWRP, it says there is no MD5 file and fails. When I try to use adb sideload, it looks like it is starting to transfer, but then freezes at “0.0 xfer”. Somehow, I was able to get the Viper One OS to flash and load onto my phone so that I can use it. However, I am having issues with the wifi consistently disconnecting at random – a known issue with this OS upgrade.
Because I was able to get Viper One on my phone and use it, I gave up trying to restore my OS to stock. But now, because of the wifi issues, I would like to restore my phone to stock with Lollipop (while maintaining s-off/unlocked), and leave it the hell alone.
Issues:
1. Now, my biggest issue is with adb not working. I have downloaded adb/fastboot via Android SDK directly from Google – I figured this would be the most current version. When I use adb, it says that the server is out of date and refuses to sideload or I get the “ack” error. I kill the adb.exe process and restart it, and then the same thing happens. It DOES detect my phone. It says it is adb version 1.0.32. I feel like if I can get this to work, I can potentially fix the other issues. I have deleted and reinstalled adb but I get the same errors.
2. Why won’t TWRP flash from my external sd? Why do I keep getting the MD5 error?
3. Can I use someone else's nandroid backup to recover my phone if the above keeps failing? If so, does someone have one that would work with my phone, and let me download it?
Can someone please help? At this point, I am even willing to download Teamviewer to have someone assist.
I have downloaded the recoveries from the following link: http://forum.xda-developers.com/newthread.php?do=newthread&f=3052
I have also tried these solutions as well as one that involves downloading a FUU and trying to flash that way: http://www.droidviews.com/restore-verizon-htc-one-m8-to-stock-rom-with-ruu/
Click to expand...
Click to collapse
Read through this thread and see if it would help. I used option 1 when I couldn't get 5.0 the update the "factory" way and then again when I messed up and xml file right after upgrading lol
http://forum.xda-developers.com/ver...zip-ruu-m8vzw-5-0-1-s-off-onlynewest-t3047103

(HELP) Actually impossible on Asus Zenhpone 2 Laser ZE550KL

Before stating my problem I have already serched in other xda Posts but all that I was able to do it to identity my problem and know that my Phone is one of a kind
SO
after trying to install a rom on my device and after failing every time getting error 7 with twrp I tried deleting the device id check in the update-script but after doing that the rom still would not install.
After deleting everything on my phone (yes I deleted the system too) I tried installing the stock firmware from the official website but still no luck and in the update-script in th stock rom was too complicated
SO
i tried installing my rom by sideload but whenever I enter that my device would disapper
I have read different posts watched different videos tried different methods but nothing. The phone is old and if this will not work I will probably throw it from the windows but at this point, since I have been trying for almost 2 weeks, is basically a battle between me and my phone wich it seems I can't win
Thanks!!

Problems installing ota updates

I've recently been playing around on my shield tablet with a couple of different roms and rooting, but I ended going back to stock - albeit with root and twrp installed. I downloaded the stock image from Nvidia's own download site and everything well and now it wants to install 5.4 over OTA. I figured that was fine, I'd have to re-root and, possibly, reinstall twrp, but that's not a hassle so I went ahead with the update.
Unfortunately, when it rebooted to install it actually rebooted into twrp. I figured that was OK, since I could just flash the update manually. I found it from /data/data/com/nvidia.ota/ and went to flash it. It failed, however, with error e3003 - complaining about the update file being older that the existing system file. The only solution I could find on googling was to make suer you went through the updates systematically and in order. Since my tablet had been restored to 5.2 I tried flashing the 5.3 update, but it gave me the same error.
I'm now somewhat stumped as to how I can actually go about getting my tablet back up to date again...

Categories

Resources