[Q] Can't boot after Batterystats.bin wipe - HTC Inspire 4G

Alright, so to get to the point, I pretty much finally got my phone setup and stable, but when I tried to reset the batterystats.bin to hopefully lengthen my battery life, I found myself staring at the lovely HTC boot screen for 13 minutes straight before pulling the battery and just leaving it on the charger. Does anyone know what I did wrong, or what even went wrong?
ROM = LeeDroid 2.2.2
Kernel = LeeDroid 2.2.8

StarzSpirit said:
Alright, so to get to the point, I pretty much finally got my phone setup and stable, but when I tried to reset the batterystats.bin to hopefully lengthen my battery life, I found myself staring at the lovely HTC boot screen for 13 minutes straight before pulling the battery and just leaving it on the charger. Does anyone know what I did wrong, or what even went wrong?
ROM = LeeDroid 2.2.2
Kernel = LeeDroid 2.2.8
Click to expand...
Click to collapse
I read somewhere that you have to charge phone to 100% and then wipe. Not sure if that's the case.

Well if that's the case, I was at 100% according to the phone(after boot up), but the battery itself might of not been at 100%. I'll try charging it to 100 percent, before wiping it, but as of right now, I can't even turn off my phone. Well... I can, but clockwork keeps turning itself on and just sitting there, I can't like fully turn off the phone and let it charge.

StarzSpirit said:
Well if that's the case, I was at 100% according to the phone(after boot up), but the battery itself might of not been at 100%. I'll try charging it to 100 percent, before wiping it, but as of right now, I can't even turn off my phone. Well... I can, but clockwork keeps turning itself on and just sitting there, I can't like fully turn off the phone and let it charge.
Click to expand...
Click to collapse
Reflash to stock?

I can't afford to do all that work as of right now, I'm very busy, and I'm hoping that I can just get a simple reset of the battery. It seems pretty senseless that the whole ROM and Kernel must fall with simple reset of the battery. All I ask for, is a few more hours of life on my phone, not a nights work of re-doing everything that I have accomplished... If I must though, I will.

Don't you have a recent nandroid backup you can restore?

I do, but unfortunately, it's the downgrade that I used to S-OFF, Root, and all that other jazz, I never thought of doing a backup over something that seemed so measly. I guess I was wrong.

Related

13 Steps To A Calibrated Battery

Hello Everyone,
I have been asked to put together an instruction on how to correctly calibrate
your Sammy Charge battery... so here it goes.
First of all you need to be ROOTED there are plenty of roms and kernels here
for you to pick from so get the package you want Odin or Clockwork whatever you want.
-i will be referring to Clockwork Recovery Mod as 'cwr' from now on-
I am currently running IMNUTS 710 Non-Overclock Kernel and Humble 1.4.2 ROM. Humble ROM comes with a battery calibration app that you might find helpful for this task.
The kernel or rom you have doesnt matter for calibration but you must have the latest cwr witch is bundled with any of IMNUTS' Kernels.
You may have heard of the term 'Bump Charging' this only needs to be done before you calibrate (so you Chargers that are doing this every full charge, you are wasting your time). I will explain what this is if you do not know.
Here are the steps:
1.Turn your phone ON and charge it to 100%
2Turn your phone OFF and leave it plugged in. (you will notice that the battery will begin to
charge again but it will not be at 100% anymore it will show something like 95%.
3.LEt your phone get back to 100% (it will vibrate when it is done)
4.Unplug your phone, wait 30 seconds, and plug it back in.
5.WTH! it is back to 95% again!dont panic... LEt it charge again to 100% (2-5 minutes)
6.Now do it again. (unplug wait 30 seconds, plug in, let charge to 100%)
continue this until it shows 100% after 10-20 seconds on plug in. (it took me 15 times,
although i have seen upwards of 20 times)
- some users are saying that the time does not decrease to 100% while doing step 6, 20 times is good enough as all phones/batteries are not from the same mold-
7.Now boot into cwr (if you dont know how then you shouldnt be here)
8.Go to the advanced menu and 'wipe battery stats'
9.Reboot phone via cwr
(((this is where it will differ from the other posts or whatever)))'
10.Drain your phone to 0% and immediately plug it in. (others will tell you to let it die completely and shut itself off... YOUR PHONE WILL NOT LOG CHARGING INFORMATION IF IT IS OFF!!! ((I suggest you do a little troubleshooting to see when your phone will actually turn off. Mine turns off after being at 0% for a few mins. Your's may shut off at anywhere between 10%-0%. If it does shut off just turn it on again and plug it in)). Basically what u am saying is make sure your phone is ON during charging while doing these steps.
11.Charge to 100% (DO NOT UNPLUG IT WHILE IT IS CHARGING... if you get a call or a txt it is fine to use it a bit (and for clearification on 'proper charging' I contacted Samsung it is OKAY to use phone while charging (my bad)).
12.I did this full charge and full drain, plug in at 0% -ON charging, 4 times.
13.Charge it whenever you want.
The android OS logs 'battery stats' and charging habits based on a small window of use. Following these directions will let your phone lock in enough information to max out your battery life.
With strong 4G signal expect 18-20 hours of light use. If you are in a known 4G deadzone download LTE Switch from the Market, it lets you turn off the 4G radio and run only 3G. I personally turn off mobile data unless i need it and have no syncing actions automated. My best uptime was 41 hours and 12 minutes to 0%. Dont forget that all roms and kernels are different so your results will vary. If you are on your phone all the time... playing games, on the net, making calls you will of course have less time.. with heavy use i can burn 10%-15% an hour easy. Get rid of your 'antivirus' crap, your monitoring apps all that shat... it will only sacrifice your battery and it is unnecessary.
For those wondering about LAGFIX:
AlexDeGruven states-
'RFS is the bastard child of FAT and a Samsung developer who didn't understand how modern filesystems work with NAND storage. It has nothing to do with battery usage. For data access, the longer it takes to access the data, the longer the processor is waiting and running wasted cycles. The faster the data is returned from storage, the less battery gets used.'
So turn it on or leave it off, up to you.
I hope this helps everyone get calibrated.
Let me know if you have any questions.
(916) 877-4460 or forum it up!
Reserved for updates
Nice. Hopefully this will stop clogging the forums a little bit.
Sent from my Droid Charge running Humble 1.42
Why is this in the dev forum?
suzook said:
Why is this in the dev forum?
Click to expand...
Click to collapse
...because everyone asks in the rom threads. Im just trying to be helpful so we don't see the same questions over and over again by those who refuse to actually look for info. This way they don't have to go too far.
Thanks criticalhit. If the mods have a problem with the location of this thread...I'm sure they'll move it. Thanks again for the tutorial.
tkm20 said:
Thanks criticalhit. If the mods have a problem with the location of this thread...I'm sure they'll move it. Thanks again for the tutorial.
Click to expand...
Click to collapse
I pmd the mod in charge of the charge dev forums already with reasoning why it should stay.. so we shall see.
I <3 Humble 142!
I went to 100% let it die. next day i used it normal and it was "ok". today my phone has been off the charge for 16 hours now and im still at 39%. Display took 80% of my battery so I'm sure i could easily idle for a few days. the whole time i had 4g and gps on. btw im at stock voltages and oc'd to 1.1ghz
gogreenbay07 said:
I went to 100% let it die. next day i used it normal and it was "ok". today my phone has been off the charge for 16 hours now and im still at 39%. Display took 80% of my battery so I'm sure i could easily idle for a few days. the whole time i had 4g and gps on. btw im at stock voltages and oc'd to 1.1ghz
Click to expand...
Click to collapse
Yeah display burns it up fast. And if you don't have strong 4g 4-5 bars it will constantly 'look' for a better signal where is cycles from 3g to 1x to 4g... eventually someone will write an app or make a system change to combat this.. (I hope). I wish I had the knowledge to do this and make our phones satisfied with low signal strength. :/
I <3 Humble 142!
Well written post... thank you
Sent from my Fascinate (soon to be Charge) via Tapatalk
JOrtenzi said:
Well written post... thank you
Sent from my Fascinate (soon to be Charge) via Tapatalk
Click to expand...
Click to collapse
Hey thanks mang! Im going to do a 3g only all day tomorrow to see what kind of life I get... will update on findings (I usually data off completely).
I <3 Humble 142!
This is exceptional. Great job. Appreciate it man.
Sent from my SCH-I510 using Tapatalk
I am finally getting some decent life
Thanks for writing this and for all the other posts you have spread about your methods, yes I read them.
Today was my best day by far. I was 11hrs and 20 minutes unplugged today when I got home and still had 25% of my battery left. I work in a 4G market, and for the first time today I left 4G off and only had mobile data on a few times. I had 1 hr 30 minutes of cell talking ( thats a lot for me) and had my display on 1hr and 48 minutes. This is on the same ROM and Kernal CritalHits is running (with lagfix enabled).
For those of you that think you can't carry this phone around without a charger, you are wrong (glad I finally beleive this). You just can't have your foot on the Hemi throttle all day and expect to get Prius mileage.
Ya I have at least 4 bars of 4g all over my town. I saw 3g once and it changed back to 4g right away
Sent from my SCH-I510 using XDA App
Awesome post. I've read a couple other posts on battery calibration. They've been somewhat similar (except for the last part, like you pointed out), but not as clear.
I do have a question though: Are battery stats erased along with data and other stuff when you flash a new rom, for example? I'm just wondering if this is something you should do every time you flash a new rom and require a data/cache reset. I'm assuming so, since you mentioned that each rom's battery level may vary.
Anyway, thanks again!
leenephi said:
Awesome post. I've read a couple other posts on battery calibration. They've been somewhat similar (except for the last part, like you pointed out), but not as clear.
I do have a question though: Are battery stats erased along with data and other stuff when you flash a new rom, for example? I'm just wondering if this is something you should do every time you flash a new rom and require a data/cache reset. I'm assuming so, since you mentioned that each rom's battery level may vary.
Anyway, thanks again!
Click to expand...
Click to collapse
yes, every time you wipe data, cache and delvik...recalibrate. Good method. This was the same method posted a year ago or so to help the Dinc get better battery life.
If the battery is properly calibrated shouldn't it make sense to only have to bump charge once?
Sent from my Droid Charge running Humble 1.42
This is the right place for this thread. The Charge forum moderator specifically said "*Only ROM Development, Hacks, Mods, Fixes, Reference, and Tutorials go in the Dev Section"
This is clearly a tutorial, and clearly belongs here.
http://forum.xda-developers.com/showthread.php?t=1074281
criticalhit said:
(((this is where it will differ from the other posts or whatever)))'
10.Drain your phone to 0% and immediately plug it in. (others will tell you to let it die completely and shut itself off... DO NOT LET IT DIE! YOUR PHONE WILL NOT LOG CHARGING INFORMATION IF IT IS OFF!!!
11.Charge to 100% (DO NOT USE OR UNPLUG IT WHILE IT IS CHARGING... if you get a call or a txt ignore it).
Click to expand...
Click to collapse
There's a problem with your process, and it is step 10. Some Charges will shutdown prior to hitting 0% battery level. I've seen my Charge auto-shutdown at 5%, 3%, 2% and 1%.
Also, I don't see the point of letting it drain to zero then charging it back up to 100% without any use. One more thing, you didn't specify whether you wanted the phone off or on during step 11's charge process, but I'll assume you want the device on considering the fact that you mentioned getting calls/texts.
OP, please explain comments about lagfix
What does "lagfix" do? Are you saying that it causes the battery to be used at a faster rate?
I thought lagfix involved making at least some of your on-phone partitions into ext4 rather than Samsung's format.
Thanks for the clear instructions, it includes a detail that makes a lot of sense, except wouldn't the phone shut itself down gracefully when the battery was gone, saving the battery stats?

Battery discrepancy between booted and 4EXT

Noticed this morning after a full night of charging that when booting into recovery my battery says it is only at 81%. When I was booted into my ROM the screen read fully charged! I wiped battery stats YESTERDAY. Can anyone tell em what I might be seeing here?
Running KANG 4.1.1 8-12 build and using 4EXT. Stock kernel.
shahkam said:
Yeah I think recovery has some issue reading the battery ..
Sent from my HTC Sensation 4G using xda app-developers app
Click to expand...
Click to collapse
It just got a little weirder...
So first the phone said full and recovery said 71, went ahead and wiped battery stats again and rebooted the phone. After that they matched. I turned my phone off to let it charge up a little faster. When I rebooted I went straight to recovery where it said full, a welcome change to my previous issue. But then when I booted up, my battery was LOWER THAN BEFORE! Down to 68%?!?! All this after a good 20 minutes of phone off charging.
Maybe I'm worried about nothing, but the phone is over a year old now. Is it time for a new battery? Or do you still think it is just a number and there is nothing to worry about?
awacker89 said:
It just got a little weirder...
So first the phone said full and recovery said 71, went ahead and wiped battery stats again and rebooted the phone. After that they matched. I turned my phone off to let it charge up a little faster. When I rebooted I went straight to recovery where it said full, a welcome change to my previous issue. But then when I booted up, my battery was LOWER THAN BEFORE! Down to 68%?!?! All this after a good 20 minutes of phone off charging.
Maybe I'm worried about nothing, but the phone is over a year old now. Is it time for a new battery? Or do you still think it is just a number and there is nothing to worry about?
Click to expand...
Click to collapse
Can you please google the "Deleting battery stats myth android" and then read the google plus post by the google engineer.
Wiping battery stats doesnt solve/create any issues, it gets deleted everytime phone is charged to ~90% by the OS anyway
I'd love to take a look at that, although I gotta say I'm positive after the way the rest of my morning went that there is definitely SOMETHING going on. After repeating this full battery followed by a stats wipe again I was at 82% immediately after the power up and it took 3 hours to reach fully charged status again. Oh well, I can see I've irritated someone so I'll just sleep well in the fact that my phone is running like a dream on JB, strange battery stats aside.
Sent from my HTC Sensation using xda app-developers app
awacker89 said:
I'd love to take a look at that, although I gotta say I'm positive after the way the rest of my morning went that there is definitely SOMETHING going on. After repeating this full battery followed by a stats wipe again I was at 82% immediately after the power up and it took 3 hours to reach fully charged status again. Oh well, I can see I've irritated someone so I'll just sleep well in the fact that my phone is running like a dream on JB, strange battery stats aside.
Sent from my HTC Sensation using xda app-developers app
Click to expand...
Click to collapse
Recovery and OS always report slightly different values. I would take the recovery as the true value but after ~5 of the OS booted the battery level quickly drops to the same level as the recovery, closer to the true value

[Q] JB (bruce cm10 kang) battery won't charge following flash

I just flashed a new revision of the rom [ROM][CM10][Kang][Pyramid][Beta][28 Sept]: http://forum.xda-developers.com/showthread.php?t=1782009, actually the 9/24 version, not today's build. I flashed it over an earlier revision, probably 9/4 or thereabouts. Never had battery charging problems with this phone before. The problem, is that since then, the phone has not charge. The reason that I don't think it's a physical problem is that the charging LED comes on, and the OS thinks that it is charging (shows up in the battery settings dialog). The battery seems to be draining normally, i.e. I might get a full day out of the charge (if I'm lucky, anyway).
So...am at 23% after leaving it on the charger for a few hours during the day and thinking WTF. I just powered the phone off to see if it'll charge that way. Maybe in 15 min, I'll know if that'll work. Oh, yes, I tried wiping battery stats, no help.
I thought of posting in the rom thread, but did not intentionally because it's so hard to keep up with those dev threads (I did search first of course), and I don't know that it's a ROM issue. It may be, please let me know if you think I need to be posting there.
Any ideas? I'm also downloading the 9/28 revision and will flash that after I figure out if the phone will charge while off.
Crap! Not charging while off. That sounds like hardware to me. :<
Weird. Flashed today's ROM and it's charging. Nevermind...
Glad that version fixed it! Sounds like the kernel was freaking out!

[SOLVED] [Q] Starting from scratch

I'm having issues of the phone rebooting by itself and consequently draining ~90% of the battery when it does so. I've tried flashing a bunch of different ROMS to see if I can stop it from happening, but to no avail. I'd like to go completely from scratch and hopefully I can get to a point where the phone works for an entire day without crashing. I've been using the HD2 instead of the SGS4G for a couple months now, so I'm a bit rusty, which is why I came here to ask for suggestions. This is what I was planning on doing:
- Flash one of these stock ROMs in order to get back to where I started.
- Format my SD card completely and let the phone convert it back to EXT4
- And then flash either Barebone or Valhalla
Do you guys think this would be sufficient enough to remove the problem that's causing these reboot & battery drains?
I would flash eollies kj6 with the blastoff v2 if your not planning on going to ics after because that's the latest gb kernel available and then flash Valhalla or barebones (then you might have to flash blastoff again can't remember right now but it should say in the op of each rom). And I'm pretty sure when you one click back to gb that will convert back ext4 so I would format SD card and reload it before you one click back. Good luck friend
Sent from my mutt hp touchpad using Tapatalk 2
Thanks for your input! Do you think the gremlin remover is necessary, or is it overkill in the context of what I'm doing?
If you want quick and easy use my one click the other two listed is just kernels.
As for getting battery life on ICS flavored roms, well take the time using BBS and STT to figure out whats killing your battery. As long as Im not jumping between wifi and mobile data I can go around 15 hours on a battery. And I havent spent tons of time to figure out why Im not getting more battery life. But others like jeffsf has. And with that I can honestly say if your not getting battery life comparable to GB roms its YOUR fault not the rom. Most ICS roms have stuff built in that you have to use a app for. Therefore a GB rom with nothing installed will get better battery life. But once you put your stuff on and start running the battery life is not being compared properly. The reason for this is most people will keep a app just because they are use to it and not even know the ICS rom has it built in.
I personally think most of our batteries - if still using the one that came with the phone - are starting to run their course. New batteries are inexpensive on Amazon.
I think you guys are misunderstanding my issue. My problem isn't the battery draining quickly over a certain amount of time due to regular use. My problem is that once my phone crashes and reboots, the battery will literally go from whatever percentage I was at, all the way down to below 10%. I can be at 90% battery, and if my phone crashes, it will be on low battery once it powers back up. I'm not sure what's causing the crashes, which is why I'm just trying to start at step 1 and work my way from there.
To test if it was the battery simply draining out very quickly, I turned brightness to 100% and turned WiFi & GPS on, and disallowed the screen from turning off. The battery drained normally.
That happens to me... It gets fixed by shutting down and taking out the battery for 30 seconds.
Sounds like a bad battery
i had the same issue and also would get diff battery levels when booting with or without charger plugged in...i used a toool from market to calibrate battery. i cant remember exact app but will post back if i find it.
edit:
it was "Battery Calibration"
by NéMa
and i had to do it a couple of times to get it to set in.
Like thecontroller stated its a bug and you should be able to correct it by pulling the battery out and waiting a few extra seconds. If it does it still hold the power button down for a little while with the battery out.
Do this next time you have a crash on ics. Time how long it takes for the phone to restart. It is seems abnormally long you could have some scripts that are running on boot that is causing issues.
Calibrating the battery can be done manually. All you have to do is delete the batterystat.bin file. That is all those apps do. And really If you fully charge your battery it should be deleting itself.
http://forum.xda-developers.com/showthread.php?t=1445698
Quote:
Originally Posted by kalel29 So,all the battery calibration tutorials are useless???????
In a nutshell, yes. You are only putting extra stress on your battery by "tricking" it according to various calibration guides. Batterystats.bin file is generated for a reason. Batterystats.bin is in /data partition, so after you install a new ROM that wipes your previous data, it gets wiped too. So, "Wipe battery stats after installing a new ROM", which is a cliche among those guides, is pointless. Last but not least, batterystats file is simply a logging tool that monitors your battery behavior. The "stats" part is pretty self-explanatory. The actual Power Manager lies in kernel, not in /data partition which accessible to anyone.
SBD all that info is true. But if you use the aroma installer it will backup and restore the data partition. Not sure if it will restore the batterystat.bin file or not. That is why I posted what I did. I do not believe in calibrating batteries as much as making sure they file is not storing data that is out of date.
As you guys mentioned earlier ...hard resets are the best ....I find our batteries do go bad. And when they do....they do all kinds of odd things to the device
m4127440 said:
i had the same issue and also would get diff battery levels when booting with or without charger plugged in...i used a toool from market to calibrate battery. i cant remember exact app but will post back if i find it.
edit:
it was "Battery Calibration"
by NéMa
and i had to do it a couple of times to get it to set in.
Click to expand...
Click to collapse
Battery calibrations are garbage. They do nothing. The file that any battery calibration app deletes is deleted by Android anytime you do a full charge anyway.
Sent from my SGH-T959V using xda premium
lumin30 said:
I personally think most of our batteries - if still using the one that came with the phone - are starting to run their course. New batteries are inexpensive on Amazon.
Click to expand...
Click to collapse
Not to mention the screen. Was in Costco last week, saw the old T959V on display and held mine up to it. Screen is faded bad I don't know if any of you else have noticed that lol
Sent from my SGH-T959V using xda app-developers app
Okay, so I formatted my SD card, and flashed Eollie's KJ6 using Heimdall. After that, I flashed Raver's Valhalla Black.
Initially, I didn't install anything extra other than updating gmail and superuser. Everything worked fine, apart from one random reboot. Once it booted back up, everything was normal. Today, I installed around 5 apps. I was using one of those apps (Reddit Is Fun), and while using it, the phone crashed. Once my phone booted back up this time, everything force closed, and log provider force closed over and over. I had someone text me, and right after they did my phone just crashed. I tried fixing permissions, but that didn't do anything.
Any suggestions?
--edit--
I just factory reset and tried reflashing Valhalla Black, but everything just force closes again even on a fresh install.
Boy I don't know what the hell you're doing but you are doing something very wrong.
Flash back to stock (complete stock). http://forum.xda-developers.com/showthread.php?t=1358498
Then flash AntonX http://forum.xda-developers.com/showpost.php?p=19601810&postcount=2
Once you do that, flash a ROM.
I just went through the same issue. This was going on rarely for several weeks then got more frequent. I have a couple of extra batteries that T-Mobile sent me when I first got the phone....swapped in one and its been 10 days without a single issue. Before posting here tonight I put my old battery back in and guess what? Symptoms came back within 30 minutes....so....
Sent from my SGH-T959V using xda app-developers app
Then there's your answer, you need a new battery my friend
Just so weird, I don't see how a battery can affect the OS in that way haha. I've ordered a new battery anyway, they're only like $5 on Amazon, but I'm gonna try your steps anyway, controller. Thanks a lot guys.

Help getting battery to charge to 100%

Hi There. I started having trouble with battery usage. Some services were using SO much power...battery would last an hour or two. It had been a good while, so I went ahead and wiped the phone and flashed a new rom. I was on CM10, now I'm on SlimBean 3.1.0 (also CM10).
I have a few batteries, and just replaced a third party one with actual an Samsung. Using new or old battery, they charge to 75% and stop.
I'm pretty sure they're charging all the way..once I start using them, it'll stay around 70% for a WHILE before droping below that.
I'm guessing there is some combination of draining/charging/resetting stats, but I have not found it yet. I tried resetting stats when the battery was full (at least.. around 75% and not increasing). Maybe I should drain it and then reset? I'll try that next...
Has anyone been through this with a Blaze that can offer some clues?
themdg said:
Hi There. I started having trouble with battery usage. Some services were using SO much power...battery would last an hour or two. It had been a good while, so I went ahead and wiped the phone and flashed a new rom. I was on CM10, now I'm on SlimBean 3.1.0 (also CM10).
I have a few batteries, and just replaced a third party one with actual an Samsung. Using new or old battery, they charge to 75% and stop.
I'm pretty sure they're charging all the way..once I start using them, it'll stay around 70% for a WHILE before droping below that.
I'm guessing there is some combination of draining/charging/resetting stats, but I have not found it yet. I tried resetting stats when the battery was full (at least.. around 75% and not increasing). Maybe I should drain it and then reset? I'll try that next...
Has anyone been through this with a Blaze that can offer some clues?
Click to expand...
Click to collapse
Does not belong in Development. Use General next time for questions.
theiency sat
xWolf13 said:
Does not belong in Development. Use General next time for questions.
Click to expand...
Click to collapse
Craaaaap. I thought I had moved out of the dev forum. I'm retarded. Thanks for pointing that out.
Try pulling the battery, sim, and sdcard.
Let phone sit for about 5 minutes.
Pick up phone and hold the power and volume buttons for about 30 seconds.
Place phone down for another 5 minutes.
Put sim, sdcard, and battery back in phone.
Charge for about 30 minutes to an hour.
Turn phone on and let charge completely.
It's best to do this with a battery that is less than 50%.
Don't allow your battery to die completely if you can avoid it.
This trick also helps with laptop batteries.
NEVER, drop your phone in the toilet no matter how pissed you are at it...
Good luck, hope this helps, and next time make sure you are in the right section please.
Thanks. I'll try this.
Ugh...embarrassed. Will do.

Categories

Resources