Enable OEM Unlocking/Debloat Script for Tmobile/Sprint - OnePlus 8 Guides, News, & Discussion

all you have to do is extract the zip file, make sure your phone has adb debugging enabled, plug it into the computer, and run the script and it will debloat your phone and enable you to slide the oem unlocking toggle in developer options that was previously greyed out
********WARNING*********
this script will remove the keyboard app from your phone leaving you without a way to type, i dont know which exact package it is but you can always look them up and just remove that line from the script. otherwise make sure you have a usb-otg cable and keyboard to use or a program like Vysor/scrcpy or you wont be able to type. just reinstall gboard or whatever other keyboard you use and it will be fine

PrivyetCyka said:
Thank you. Tested is working to enable the OEM unlocking on T-Mobile phone.
Click to expand...
Click to collapse

Just getting the unlock token from Oneplus. Successfully flash and unlocked bootloader. Is it have any way to unlock network?
Update:
Have been flash global rom 10.5.7 and the update to beta global rom, network still locked.
Fastboot erase modemst1 and modemst2 also can't unlock network.

Hey does this mean what I think it means. Can you unlock a bootloader and convert to global if your phone is network locked? Can someone explain how I can unlock bootloader after enabling oem unlocking?

Yes, can covert to Global but sim remain locked.
Follow this link to covert.

Thank you. I went ahead to start the process and the oem unlock switch worked after some trouble having my pc recognize my phone in fastboot. Submitted it through oneplus and waiting on an unlock token. OP has my thanks for creating this script. Been waiting for this since I got the device. Surprised there isn't more interaction on this thread.
hendavi said:
Yes, can covert to Global but sim remain locked.
Follow this link to covert.
Click to expand...
Click to collapse

I don't know why this script doesn't work on my device and can't unlock my device OEM. Do you need to pay attention to when using this script? Does the device need to disconnect the network?

runcieliao said:
I don't know why this script doesn't work on my device and can't unlock my device OEM. Do you need to pay attention to when using this script? Does the device need to disconnect the network?
Click to expand...
Click to collapse
As I done before if you have wipe all data and start your phone without sign in google account it wont work. You need to sign in a google account then run the script.

hendavi said:
正如我之前所做的那样,如果您已擦除所有数据并在不登录 Google 帐户的情况下启动手机,它将无法正常工作。您需要登录一个 google 帐户,然后运行该脚本。
Click to expand...
Click to collapse
thankyou

Does anyone know if this works on Android 11?
Edit: Just wound up going for it and it worked flawlessly, Ungrayed the OEM Unlocking on my T-Mobile device that they wouldn't unlock

hendavi said:
Yes, can covert to Global but sim remain locked.
Follow this link to covert.
Click to expand...
Click to collapse
Anyone know what actually locks the sim slot? And how can it persist even on Global rom? On Tmo devices there is a "Device Unlock" app that gets deleted after you sim unlock the phone by carrier.
But global rom doesn't have the proprietary unlock app, so what is actually keeping it locked? Does the modem have the locking instructions in it?

Yes, something like that which is impossible to remove.

SimplisticXDA said:
Yes, something like that which is impossible to remove.
Click to expand...
Click to collapse
The previous OP devices it was possible after flashing Int. rom.
Question is where/how did they place the restrictions now. It had something to do with the modem after the t-mo app unlocks the phone.
But I don't think backing up and restoring a modem from an unlocked OP8 and flash it to locked OP8 will work as intended anymore.
I guess no one cared enough to reverse engineer this again

hendavi said:
Just getting the unlock token from Oneplus. Successfully flash and unlocked bootloader. Is it have any way to unlock network? View attachment 5421891
Update:
Have been flash global rom 10.5.7 and the update to beta global rom, network still locked.
Fastboot erase modemst1 and modemst2 also can't unlock network.
Click to expand...
Click to collapse
what does your unlock bin look like cause mine looks like jibberish? tried flashing mine and it said it cant verify it

Snekxs said:
what does your unlock bin look like cause mine looks like jibberish? tried flashing mine and it said it cant verify it
Click to expand...
Click to collapse
I think is same if open with notepad

hendavi said:
I think is same if open with notepad
Click to expand...
Click to collapse
Yeah mine looks the same. Did you flash it from your computer or flashed from your device's storage?

Snekxs said:
Yeah mine looks the same. Did you flash it from your computer or flashed from your device's storage?
Click to expand...
Click to collapse
Flash from computer. ..

hendavi said:
Flash from computer. ..
Click to expand...
Click to collapse
weird been doing that and no luck at all

Related

Stuck on Google Logo, Can't Unlock Bootloader

Hey there.
So I tried to use the Nexus Root Toolkit to sideload the OTA, but now when I try to boot my phone it just shows the white google screen and doesn't do anything. I can use ADB and fastboot and get into the bootloader but I can't flash the factory image because I never checked the "Allow OEM Unlock" tick since I didn't plan on unlocking the bootloader. Can anyone help me out here?
Durvid said:
Hey there.
So I tried to use the Nexus Root Toolkit to sideload the OTA, but now when I try to boot my phone it just shows the white google screen and doesn't do anything. I can use ADB and fastboot and get into the bootloader but I can't flash the factory image because I never checked the "Allow OEM Unlock" tick since I didn't plan on unlocking the bootloader. Can anyone help me out here?
Click to expand...
Click to collapse
This is exactly why you should never mess with updates or flashing anything with a locked bootloader. If a factory reset doesn't fix it you're likely out of luck.
if your bootloader is locked still I can't see how flashing an OTA would effect this.
Have you tried to flash just the original bootloader from the android version on your device ( not the version you wish to update to )
Fastboot flash bootloader bootloader.img
DON'T USE A TOOL KIT ! UNLESS YOU KNOW WHAT YOU ARE DOING ! There where clear instructions on how to flash OTA's on this site and likely in the toolkit.
Unfortunately this is a case of NOT reading before doing things, I have yet to see anyone recover from this.
Best of luck tho, but it might be a lesson learned the hardway a.k.a RMA
hutzdani said:
if your bootloader is locked still I can't see how flashing an OTA would effect this.
Have you tried to flash just the original bootloader from the android version on your device ( not the version you wish to update to )
Fastboot flash bootloader bootloader.img
DON'T USE A TOOL KIT ! UNLESS YOU KNOW WHAT YOU ARE DOING ! There where clear instructions on how to flash OTA's on this site and likely in the toolkit.
Unfortunately this is a case of NOT reading before doing things, I have yet to see anyone recover from this.
Best of luck tho, but it might be a lesson learned the hardway a.k.a RMA
Click to expand...
Click to collapse
I'll attempt this. Weirdly enough when I look at device info in adb it shows it as being on the newest version. But Yeah I'll attempt to flash what I was on before.
Yeah, I mean I've done this before with no issues on my Nexus 6 and there were no issues but that was unlocked when I got it. I just thought you didn't have to unlock the bootloader to sideload OTA's? I may be wrong.
hutzdani said:
if your bootloader is locked still I can't see how flashing an OTA would effect this.
Have you tried to flash just the original bootloader from the android version on your device ( not the version you wish to update to )
Fastboot flash bootloader bootloader.img
Click to expand...
Click to collapse
Yeah like I thought, "Device is locked. Cannot Flash Images"
I wish I had known they added that "Allow OEM Unlock" Switch in Lollipop. Would have solved my problem if I had that toggled.
Durvid said:
Yeah like I thought, "Device is locked. Cannot Flash Images"
I wish I had known they added that "Allow OEM Unlock" Switch in Lollipop. Would have solved my problem if I had that toggled.
Click to expand...
Click to collapse
You just said you had a nexus 6 unlocked, how did you not know the switch existed?
hutzdani said:
if your bootloader is locked still I can't see how flashing an OTA would effect this.
Have you tried to flash just the original bootloader from the android version on your device ( not the version you wish to update to )
Fastboot flash bootloader bootloader.img
DON'T USE A TOOL KIT ! UNLESS YOU KNOW WHAT YOU ARE DOING ! There where clear instructions on how to flash OTA's on this site and likely in the toolkit.
Unfortunately this is a case of NOT reading before doing things, I have yet to see anyone recover from this.
Best of luck tho, but it might be a lesson learned the hardway a.k.a RMA
Click to expand...
Click to collapse
akellar said:
You just said you had a nexus 6 unlocked, how did you not know the switch existed?
Click to expand...
Click to collapse
I bought it used on /r/hardwareswap and whoever I got it from had already unlocked it.
I know someone advised you to try to flash a bootloader, but it isn't going to work of your bootloader is locked. What build were you on and which OTA zip did you try to flash?
Heisenberg said:
I know someone advised you to try to flash a bootloader, but it isn't going to work of your bootloader is locked. What build were you on and which OTA zip did you try to flash?
Click to expand...
Click to collapse
I started on 6.0 MDB08L and was trying to flash 6.1 MMB29M
Durvid said:
I started on 6.0 MDB08L and was trying to flash 6.1 MMB29M
Click to expand...
Click to collapse
OK, but I need the name of the zip please.
Heisenberg said:
OK, but I need the name of the zip please.
Click to expand...
Click to collapse
Sorry, it's
533df5ddfa4297997634a8553f0122be5cca4c09.signed-angler-MMB29M-from-MDB08L.zip.
Grabbed it from here: https://www.reddit.com/r/Nexus6P/comments/3w6qzd/easy_how_to_sideload_ota_601/
Durvid said:
Sorry, it's
533df5ddfa4297997634a8553f0122be5cca4c09.signed-angler-MMB29M-from-MDB08L.zip.
Grabbed it from here: https://www.reddit.com/r/Nexus6P/comments/3w6qzd/easy_how_to_sideload_ota_601/
Click to expand...
Click to collapse
OK, just needed to make sure you had the right one. What have you done to troubleshoot so far?
Heisenberg said:
OK, just needed to make sure you had the right one. What have you done to troubleshoot so far?
Click to expand...
Click to collapse
I've tied to flash stock, but can't do that due to the bootloader being locked, tried to just hard reset but it just does the same thing where it gets stuck on the Google logo. I checked the manufacture info in the toolkit and everything is clean. Tried to flash the old bootloader but like you said I can't flash since I'm locked. Not really sure what else to do :/
Durvid said:
I've tied to flash stock, but can't do that due to the bootloader being locked, tried to just hard reset but it just does the same thing where it gets stuck on the Google logo. I checked the manufacture info in the toolkit and everything is clean. Tried to flash the old bootloader but like you said I can't flash since I'm locked. Not really sure what else to do :/
Click to expand...
Click to collapse
Honestly, I think you're pretty much screwed unfortunately. You could talk to Google support and see if they'll RMA the phone.
Heisenberg said:
Honestly, I think you're pretty much screwed unfortunately. You could talk to Google support and see if they'll RMA the phone.
Click to expand...
Click to collapse
Yeah I think they would do it since I technically didn't void any warrantys or anything. I appreciate the help. What do I need to make sure to do if I do this again in the future? Definitely "Allow OEM Unlock", and do I have to unlock the bootloader? I was under the impression that you didn't have to to flash an OTA.
Durvid said:
Yeah I think they would do it since I technically didn't void any warrantys or anything. I appreciate the help. What do I need to make sure to do if I do this again in the future? Definitely "Allow OEM Unlock", and do I have to unlock the bootloader? I was under the impression that you didn't have to to flash an OTA.
Click to expand...
Click to collapse
Definitely unlock the bootloader, it isn't needed to flash an update via the stock recovery, but it is needed to get out of sticky situations like this. If your bootloader was unlocked now you'd be up and running in ten minutes.
Durvid said:
Sorry, it's
533df5ddfa4297997634a8553f0122be5cca4c09.signed-angler-MMB29M-from-MDB08L.zip.
Grabbed it from here: https://www.reddit.com/r/Nexus6P/comments/3w6qzd/easy_how_to_sideload_ota_601/
Click to expand...
Click to collapse
Hilarious that the top comment is mine telling you why doing this is a bad idea
Heisenberg said:
Definitely unlock the bootloader, it isn't needed to flash an update via the stock recovery, but it is needed to get out of sticky situations like this. If your bootloader was unlocked now you'd be up and running in ten minutes.
Click to expand...
Click to collapse
Yeah, I'll probably wait for the update over the air for a while and maybe if I feel reallly eager I'll just make sure I unlock and such. Annoying that you can't unlock via fastboot anymore without that toggle. I get that Google is trying to make Android super secure but It's not too useful for folks like us. Sure it's bricked a lot of devices.
akellar said:
Hilarious that the top comment is mine telling you why doing this is a bad idea
Click to expand...
Click to collapse
I've done it before with other devices. I wouldn't say it's inherently bad. It's just that there was one toggle that I wasn't aware of that caused the issue. You live and you learn.
THIS IS NOT MY IDEA !
I found this in a N9 thread and it worked according to the user with the issue, apply this with the correct t factory image ( do it with the version you have on your device not the one you tried to update to ! )
This might not work but its worth a try ! Before doing this read about ADB and Fastboot !!!!!!!!!!!!!!!! Try and understand the basics and know what the commands are doing to help backtrack e.C.t
If it does work - go to settings and allow OEM Unlock and USB debug !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Then go read from reputable sources how to flash images manually via adb !!!!!!!!!!!!!!!!!!!!!!!
I'd follow vomers guides.
Had this problem with another device cool thing to remeber is that on locked devices the only thing that is different is that there is a signature before the MAGIC header so the solution is to pull the android stock images from https://developers.google.com/android/nexus/images. Once done extract the images in both the zip and the tar that is inside the zip. You will see recovery.img inside the tar. One thing about the boot process of TWRP is that it enables adb in preboot meaning while in the boot loop you should have access to adb. With access to adb all you need to do is dd the images over the corresponding partitions: i.e.
PLEASE NOTE NOT FOR THE FEINT OF HEART. I AM NOT RESPONSIBLE FOR YOU BRICKING YOUR DEVICE.
Quote:
adb push recovery.img recovery.img
adb shell dd if=recovery.img of=/dev/block/<recoverymmcblock>
I dont know if the default recovery has adb push update so id probably recommend doing this on every partition thats inside the tar, i.e. system, boot.

[How to] flash Global to China Mi6 without UBL

I bought the MI6 and find out that without tools or unlock bootloader, there is no way to flash a global rom to china rom. My Mimax convenient EDL cannot be used in Mi6.
Unlock is easy, but since mine is new and under warranty, i prefer a Xiaomi rom.
Luckily i fond this tool:
https://drive.google.com/uc?export=download&id=0BwypTnSm1wlhTkp0ai1LUXZKdkk
Credit to the dev http://en.miui.com/forum.php?mod=viewthread&tid=663972&highlight=xiaomitool
Download this, run, and follow the screen.
it will check your boot, recovery, then list the rom that possible to install.
Choose global, lets it download, choose recovery and the tool do the rest.
Thank you. I will give it a try on " bricked" mi5 and new mi6.
This tool make unlock bootloader automatically... so your warranty is gone after
psxsnake said:
This tool make unlock bootloader automatically... so your warranty is gone after
Click to expand...
Click to collapse
I checked the unlock status in developer, mine is still locked.
i think this tool somehow by pass the recovery to install the global rom.
mali301262 said:
Thank you. I will give it a try on " bricked" mi5 and new mi6.
Click to expand...
Click to collapse
Did it work on Mi5? I would like to flash my Mi5 with locked bootloader
Ok it works
It is not working locked bootloader
Just ask for permission to unlock bootloader, usually takes a week or so. Unlock > flash > lock again. No need to experiment with some tools or whatnot official.
pi4a7a said:
Just ask for permission to unlock bootloader, usually takes a week or so. Unlock > flash > lock again. No need to experiment with some tools or whatnot official.
Click to expand...
Click to collapse
But my device is semi brick. My device id and IMEI are NULL. So, I couldn't unlock my device? i need know other way to unlock it.
dtosun said:
But my device is semi brick. My device id and IMEI are NULL. So, I couldn't unlock my device i need know other way to unlock it.
Click to expand...
Click to collapse
In that case - http://en.miui.com/thread-299790-1-1.html
I don't know what device you have but probably the Engineering Flash Cable will work.
Follow that topic and maybe you will be good. Good luck.
pi4a7a said:
Just ask for permission to unlock bootloader, usually takes a week or so. Unlock > flash > lock again. No need to experiment with some tools or whatnot official.
Click to expand...
Click to collapse
Took 4 hours for me.
NickTheSickDick said:
Took 4 hours for me.
Click to expand...
Click to collapse
you must be a gold star member ofr xiaomi.eu...or something or the sort..normal is a 3 day wait
Tech_Savvy said:
you must be a gold star member ofr xiaomi.eu...or something or the sort..normal is a 3 day wait
Click to expand...
Click to collapse
Well, eu don't give permissions... However it can take from immediately to month/s .
Tech_Savvy said:
you must be a gold star member ofr xiaomi.eu...or something or the sort..normal is a 3 day wait
Click to expand...
Click to collapse
I already had been using the phone for long enough, the permission took 4 hours to go through. Never been an active user of their services either.
Actually I am looking for a way to wipe whole partition as my second-hand mi6 is binding with a mi account which is not mine.
Flashing in EDL mode is easy to flash any official from you want but asking to unlock the device after setting up.
Though there is some tricks can be done to bypass the checking, I cannot log on my mi account or even restart device.
I had just had a tried as this thread: https://forum.xda-developers.com/mi-max/how-to/installing-twrp-locked-bootloader-t3406501
To flash TWRP directly by MiFlash. But fail to boot in it with a 'the system has been corrupted'.
Just wanna give more ways to flash or unlock with the limitation of officially unlock BL

Bypass lock code?

So I sold this phone on swappa fully functional and the buyer managed to get some kind of lock code on the device and returned it. Anyway how do I fix this since I can't even get to settings or anything without this code? It's not a FRP, it boots to the lockscreen but when you unlock instead of going home it goes to this screen where it asks for a code. What do I do?
Does it show how many digits it's asking for? Is it sprint variant or open market?
enigma2446 said:
Does it show how many digits it's asking for? Is it sprint variant or open market?
Click to expand...
Click to collapse
Sprint variant and no it doesn't show the number of digits so I have no idea on that.
nascar48 said:
Sprint variant and no it doesn't show the number of digits so I have no idea on that.
Click to expand...
Click to collapse
Is there a non sprint sim in it? It might be networked locked now via the customer messing around.
enigma2446 said:
Is there a non sprint sim in it? It might be networked locked now via the customer messing around.
Click to expand...
Click to collapse
I kind of do think it is asking for a netowork unlock code most likely. However, I don't really know how to bypass it because I can't get to the settings to enable USB debugging or anything.
I would suggest trying the Back to Stock zips on it because it wipes everything and see if that works. You can also try and load TWRP and use it to delete the lock screen password files and then flash the boot image so it boots normally and then you should be able to swipe to dismiss the lock screen. Hope this helps you out
nascar48 said:
I kind of do think it is asking for a netowork unlock code most likely. However, I don't really know how to bypass it because I can't get to the settings to enable USB debugging or anything.
Click to expand...
Click to collapse
I believe in fastboot mode you don't need usb debugging. In fastboot is where the network unlocking happens.

trouble unlocking tmobile bootloader

I SIM unlocked my T-Mobile one plus 6t and went to OnpePlus website and followed the directions to get my T-Mobile unlock code but when I put my phone in bootloader mode and executed fastboot command it's stuck on waiting on device. The phone says device is locked on bootloader screen.
Follow this guide and you should be fine you are likely missing drivers or something simple
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
bladestonez said:
Follow this guide and you should be fine you are likely missing drivers or something simple
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
Click to expand...
Click to collapse
Thank you, I will try updating my adb and fast boot drivers and see if that works. Adb worked fine as it listed my device.
bladestonez said:
Follow this guide and you should be fine you are likely missing drivers or something simple
https://forum.xda-developers.com/oneplus-6t/how-to/guide-oneplus-6t-unlock-bootloader-t3851789
Click to expand...
Click to collapse
Hey I just want to give you a big THANKS! I updated my adb and fasboot drivers and binary and sent in my OEM unlock code. I know there is other ways to switch it to the international version but I'm playing it safe. Again thank you
spasecowboi77 said:
Hey I just want to give you a big THANKS! I updated my adb and fasboot drivers and binary and sent in my OEM unlock code. I know there is other ways to switch it to the international version but I'm playing it safe. Again thank you
Click to expand...
Click to collapse
Not a problem happy to help.

Question Bootloader unlocking

Is anyone tried to unlock bootloader of there nothing phone 1
hasnainali2404 said:
Is anyone tried to unlock bootloader of there nothing phone 1
Click to expand...
Click to collapse
I can't wait to get my hands on the device.
Think you can unlock the bootloader with fastboot/adb (same as with Nexus/Pixel/Oneplus-devices) no?
Hey!
After enabling OEM Unlock in the developer options, the commands to unlock it are:
fastboot flashing unlock
fastboot flashing unlock_critical
Hope this helps.
What about relocking?
Krullendhaar said:
What about relocking?
Click to expand...
Click to collapse
same commands, just change "unlock" with "lock" ^^.
I like old OnePlus brand/Carl Pei for that, Root Friendly
No Knox, No 169 hours Waiting Period or Forbidden Unloack Bootloader.
It's premature to say whether this will be possible or not, as the Phone(1) was released only 5 days ago.
But knowing Carl, I think that everything will be allowed on this smartphone so that it can be used by many people.
It will be a while before we have a custom recovery and therefore can develop around the Phone(1).
But the kernel is already available for developers which is a good sign.
Post with link for Phone(1) Kernel
@gigantino said:
Hey!
After enabling OEM Unlock in the developer options, the commands to unlock it are:
fastboot flashing unlock
fastboot flashing unlock_critical
Hope this helps.
Click to expand...
Click to collapse
Thanks man, definitely helps
Sib64 said:
It's premature to say whether this will be possible or not, as the Phone(1) was released only 5 days ago.
But knowing Carl, I think that everything will be allowed on this smartphone so that it can be used by many people.
It will be a while before we have a custom recovery and therefore can develop around the Phone(1).
But the kernel is already available for developers which is a good sign.
Post with link for Phone(1) Kernel
Click to expand...
Click to collapse
if you're a developer ,know this, I love you guys for the stuff you domake us proud
Does unlocking bootloader wipe my data? If yes, is there a way to circumvent this?
abrattic said:
Does unlocking bootloader wipe my data? If yes, is there a way to circumvent this?
Click to expand...
Click to collapse
Yes!! No!!
abrattic said:
Does unlocking bootloader wipe my data? If yes, is there a way to circumvent this?
Click to expand...
Click to collapse
Yes! Unlocking your phone will always wipe your data!
And No! if you want to unlock your phone, there is no way around the data wipe at the moment
Is it able to retain L1 status after unlock?
After unlocking (without root, unmodified partitions):
I still have L1 wildvine ("DRM Info").
Safetynet CTS profile match fails.
I'm missing play protect certification.
I can still apply OTAs. (just did 1.1.0 -> 1.1.2)
dedors said:
After unlocking (without root, unmodified partitions):
I still have L1 wildvine ("DRM Info").
Safetynet CTS profile match fails.
I'm missing play protect certification.
I can still apply OTAs. (just did 1.1.0 -> 1.1.2)
Click to expand...
Click to collapse
You need to install Magisk (and also root your device) in order to install Universal safetynet fix module and ofc actually pass safetynet. Worked fine on my device.
I have unlocked many phones but never used this command "fastboot flashing unlock_critical"
Why do we have to use that command aswell?
bariz143 said:
I have unlocked many phones but never used this command "fastboot flashing unlock_critical"
Why do we have to use that command aswell?
Click to expand...
Click to collapse
You don't need to.
bariz143 said:
I have unlocked many phones but never used this command "fastboot flashing unlock_critical"
Why do we have to use that command aswell?
Click to expand...
Click to collapse
If you have read my tuto with all the process and explanations , you would have seen this point that concerns your question:
12-Once you’re on the bootloader menu, you’ll now have to switch to using fastboot command to communicate with your device. To unlock the Nothing Phone 1’s bootloader, enter the following command: fastboot flashing unlock
In case you need to flash low-level firmware partitions like the bootloader images, you will have to execute another command afterwards: fastboot flashing unlock_critical
Click to expand...
Click to collapse
Sib64 said:
If you have read my tuto with all the process and explanations , you would have seen this point that concerns your question:
Click to expand...
Click to collapse
So as long as I flash ROMS i don't have to use that command. Only for modem.and so on.
bariz143 said:
So as long as I flash ROMS i don't have to use that command. Only for modem.and so on.
Click to expand...
Click to collapse
Since my HTC Hero, it's the 1st time that I have inserted this command

Categories

Resources