yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] dtrail1:
Well, did you read the current changelog? Or maybe the new features sxection? I have cleaned and updated the OP completely! :)

I've built in a new OPP table (frequency set with clocks and scalable voltage, set on smartreflex) for the display! That means the display is now able to scale down/up power as needed. On low usage the display will scale down to lower voltage and lower frequency (CPU). If you are doing other things while screen if off, such like calls, it's possible that these calls are climbing up in the table and are displayed above the display stats.

The overall battery life hasn't becomec much better compared to before, but at least it became a little bit better.

Sure, I have to work on this further to make it better....For that I am going to check the Motorola kernel configuration to see the differences. My goal is to reach at least stock kernels battery consumption + making it better!

But as I already said: The 0.4.6 release will be the last one for about one week - I want to give you some time for deeper testing period and give the device some time to settle in with the kernel so it will reach better battery life for sure - Flashing a new kernel is similar to flashing a new rom - both need some days to settle in before battery life becomes better.
[Motorola Droid RAZR] dtrail1:
Some users reported full stability using releases from 0.4.4 to the latest one 0.4.6 on Pac Man Rom. As you're using a 64gb SD you should check if it provides the required specs - I know that the RAZR doesn't support all 64gb SD Cards, it can't handle some of them! Check it and also check your settings (You might reasd the FAQ) and then we will look for the kernel.

EDIT: To all: You can download the latest Trickster Mod from GPlay! It is fully workng, no worries :)

Does aynone is experiencing lags on other roms than CM10.1?

Edit: SORRRYYYY! But Ihave to repuload kernels, because If ound out that I fixed the wrong thing. The lagging on other roms is not fixed, but it has decreased performance.....And both kernels are dirty-tagged. SO, let me reupload it and then you should load them again. Sorry!
[Motorola Droid RAZR] dubisz:
Ok, waiting for the new ones.
[Motorola Droid RAZR] brainwash123:
I added some .nomedia files inside some folders, ran a chkdsk through Windows for the external card and now everything seems to be working fine. Media scanner finishes in less than 3 minutes instead of more than 10.

After 8h or so of running (0.4.6 OCE + CM10.1) I has a strange thing happen: I got a [missed] phone call and when I went to see the stats in BBS the consumption went from 0.7/h to 1.7/h showing AudioOut running for 2h38m. Which means that from that ringer the audio never stopped somehow.

I pressed the volume buttons to see what happen and the [expanded] volume panel came up and stayed there, without making any sound. I could still operate the phone from behind the panel but it never went away. Then the phone got stuck while I was browsing trickster to enable remote adb. I pressed power and then power again but the phone did not awake and just rebooted after a few seconds.

It's probably a CM10.1 issue, but I'm reporting it anyway. Running nightly 08.05

Edit: I got this issue once as well with JBX2.0 but it never happened again. Maybe someone else had this happen to them.
[Motorola Droid RAZR] dtrail1:
A rebbot might fix it for now. But why are you running NIGHTLY and not the RC2?
[Motorola Droid RAZR] brainwash123:
A reboot fixes it always, but I wanted to catch some logcat or something before it had a chance to reboot.

I assume the nightly has more issues fixed than RC2, 08.05 was reported as being stable enough.

Edit: do you know why Trickster mod disappears for me after each kernel update?
[Motorola Droid RAZR] dtrail1:
Trickster Mod disappears? The kernel zips include a line which removes Trickster from /System/app just for the case someone had an older release installed prior to the update. But it doesn't affect any Trickster App which has been installed by Gplay or manually iunstalled to /data/app. And it also doesn't remove an usual Trickster app in System/app. It removes ONLY the trkm.apk from older KErnel releases. Just install Trickster from from Gplay and you're good, the new version works well.

Edit: It's done! Take a look to the OP and grab the new releases!

Changelog

- Added Dynamic Fsync Control

- Removed Fsync

- Added SIOPlus Scheduler

- replaced Lulzactive with Lulzactivew (still shown as lulzactive)

- Revert "page-writeback.c: subtract min_free_kbytes from dirtyable memory" - Means: FIXED the memleak issue

- Low memory killer JBX Mod restored

- Added assembler versions of AES and SHA1 for ARM platforms - provides up to 50% increasement of IPsec/TCP speed

- Small changes for DPLL setting - Just a little improvement for Live OC high freqs

All this means (said in understandable words): Much better performance compared to yesterdays builds, even on BSE Kernel! Some features have been extended (like Fsync) and the memleak issue should be gone finally!
[Motorola Droid RAZR] dubisz:
Thanks for the info - BSE installed and working. Let the long term testing begin! ;) What are the changes in sio scheduler that it's called now sioplus?
[Motorola Droid RAZR] dtrail1:
Just some finetuning and extended IO handling.

https://github.com/RAZR-K-Devs/android_kernel_motorola_omap4-common/blob/JBX/README.md
[Motorola Droid RAZR] dtrail1:
OP: Added many screenshots :)
[Motorola Droid RAZR] emiliobadillio:
Battery issue solved: Left it off charging last night. It was charged to 100% this morning so I powered it on, and it said I had 40% battery. I plugged it back into the charger, and opened battery calibration. It made the ring noise after about 3 minutes saying the battery was charged to 100% and I could calibrate.

It seems to be running a little smoother this morning. One thing I noticed was it was getting very hot when using it last night. When the temperature increased, it got slower and battery drained fast. I'll try your updated BSE 0.4.6 today to test it more, but if I can't get it to play nicely today I have to switch.
[Motorola Droid RAZR] mat9v:
I have a strange issue, every time I install OCE kernel on the first boot the governor is set to performance. Is it me or is it some kernel default? Or maybe CM10.1 from 15.05?
[Motorola Droid RAZR] dtrail1:
Oh, thank you. I will fix this immediately!

Edit: Done!
[Motorola Droid RAZR] Brantuck84:
I'm having the same issue with battery not showing it charged and it getting very hot

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] dtrail1:
It doesn't show that it's charging? Could you be more specific, please? I don't know what you mean.

Here is another thing:

I will release NIGHTLIES today on new server storage. I am thinking about not publishing them because I want some people to use the latest release for a couple of days - deeper testing this time!

If I would release NIGHTLIES public, I guess most people would use it and I wouldn't get good test results. I don't yet how I will handle it... :)

Changes for NIGHTLIES:

- Enabled and (hopefully) fixed FAST CHARGE

- Added BLX (Battery Life Xtender: Users can set a charging limit to keep their battery healthy. Modern LI-ION batteries have to be kept between ~40% and ~90% to keep it healthy. Lower or very high charging stats will decrease the batteries capacity even more fast and result in big and bigger jumps of charging stats)

Damn, today I've learned a lot! :D Finally I got the knowledge for realizing my idea. I will write some new features for the kernel now as I just ported most of the current features from G-Nex kernels. I will create an interface for controlling the displays scaling level and ask Bigeyes to support it in Trickster Mod :)
[Motorola Droid RAZR] emiliobadillio:
First let me start out with an apology, I did read the OP many times, but did not check my settings to make sure they were clean as requested.

"- Remove any CPU init.d script from /System/etc/init.d"

I found some files in there, and removed them. Upon restarting, the phone is smooth as butter. I thought installing from scratch (Wiping Cache, Dalvik, and Data) would clear the System folder, but there must have been init.d scripts from when I used Pimp My Rom in the past (at least a month ago).

Deep sleep and hotplug are working great now so far. I'll continue to test BSE 0.4.6 today. Hope this helps others if they are switching kernels and ROMs and still having the same issues.
[Motorola Droid RAZR] dtrail1:
AHHHHHHHHHHH! :D

Thanks for getting smart at this point! :good: :laugh:

This should be a good lesson for some others who are facing similar problems. :highfive:

ANother thing related to fast charge! Found this in another kernel thread:

I'm not sure if this is meant for our fast charge too...will do some research, please let me know if you know more..
[Motorola Droid RAZR] dtrail1:
- Fixed Battery stats in latest NIGHTLY! It will show the correct charging value after reboot - finally! :)
[Motorola Droid RAZR] Brantuck84:
Sorry I'll try and be a little more specific. OK when I went to bed last night I put my phone on charge and I know it was charging b/c I seen the % go up while I waschecking my email but when I woke up up this morning my phone said it had only charged to 31% and that's after 7hrs on charge. Also I've noticed during g normal use twitter/tapatalk/sms/phone my device will get really hot. Looked in trickster and at one point it was at 46 degrees Celsius and normally it stays around 30-33 degrees and it does seem to lag and hang when it gets to that temp. Also I've noticed that when adding a widget from home page also will take very long to pull up after the long press.

Sent via Raven

"Dark Wings.....Dark Words"

---------- Post added at 10:01 AM ---------- Previous post was at 09:57 AM ----------

OK I'm gonna load it and run it for a day or two

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] pseudoheld:
lol how do you expect us to test the stable releases for a week if you add stuff like this to the nightlies XD
[Motorola Droid RAZR] Brantuck84:
Hmmm when I turn my device off and plug in charger it reads 100% but when I boot up it shows that I only have 56%

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] emiliobadillio:
1. Install Battery Calibration app from the play store.

2. Plug phone into charger.

3. Run Battery Calibration app.

4. Leave app open until it says 100% charged.

5. Click Battery Calibration button.

6. Unplug charger.

7. Enjoy!
[Motorola Droid RAZR] Brantuck84:
Been there done that even ran zepplinrocks battery cal script nothing changes phone will not charge past 56%

Sent via Raven

"Dark Wings.....Dark Words"

---------- Post added at 11:47 AM ---------- Previous post was at 11:46 AM ----------

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] dtrail1:
Problems like that are not related to my work..sorry. It seems that you have to be more nice to your battery ;)

AND: Referring to the "Battery Calibration App", it don't recommend to use it because it wipes the battery stats (nor not?). Callibrate it manually by performing the following steps:

- Use the phone and let it drain to 0, until it goes off.

- Keep it OFF and let it charge until 100%

- Keep the AC cable plugged and boot into stock system

- Check if it shows you 100% in Android

- Plug off the charger

- Use the phone until 30% and from here charge it up to 90% (NOT higher!)

- Better charge it twice a day - e.g. before you go to sleep charge it until 90% (it doesn't matter if it's at 60% when you plug in the AC cable. It just may not reach very deep charge or very high charge)

- Don't charge it over night!

- Don't let it die!

- Repeat the steps above ONCE in a month! (let it die, keep it off while charging up to 100, etc...)

- In the meanwhile always keep it between 30% and 90% and your battery will be happy! :)
[Motorola Droid RAZR] dtrail1:
It's done. New nighties online. You may test the latest release or nightly.

Fast charge is gone a and I won't add it again. It can cause damage..

Added BLX to nighties and some experimental changes.

Now have fun with one week of testing! After that time we'll know if th e nightly stuff provides better battery than 0.4.6...

Gesendet von meinem A101 mit Tapatalk 2
[Motorola Droid RAZR] Brantuck84:
Thanks for the advice though I know all of that and do try and practice but the whole reason I bought a Max was so that I didnt have to stay tethered to the charger :D also not that I'm trying to discredit your work or anything i greatly appreciate all you do but I have never had this problem until I manually loaded that release you did a few days ago since then I have been having battery trouble. I have even tried these newer releases with cm10 with the same results it may be that I just need to do as you suggest and calibrate by killing batt and charging while off and then running stock until I reach 30% and then charge to 90% and then flash my ROM and your kernel I think my batt has just got thrown out of wack with all the flashing I've done lately

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] 1droidmod:
dtrail1! Which ROM are you running? Saw you have a couple [MENTION=4657833]crackflasher[/MENTION]s.. Was gunna try one... Iam on tapatalk, out of town working so i dont see your signature. Thanks!! My "thanks" button is used up... ha ha

XT912 CDMA Pac Man 4.2.2
[Motorola Droid RAZR] dtrail1:
I'm using CM10.1 RC2..None of my Roms are compatible with my kernel yet.

I noticed a huge improvement in battery life on latest nightly 0.4.7..seems my experiment worked.. Performance is also great.

I'm very happy as this kernel becomes usable and stable these days..

Edit: an interesting view on hotplugging and power saving: http://xdaforums.com/showthread.php?p=41501336

Maybe a governor which only suspends second core in idle mode is really better?
[Motorola Droid RAZR] ricardofago:
I'm impressed, I'm still on 0.4.6 BSE, left home 07h00 in the morning with full charge. Now it's 19h46 and I still have 76% left with light to moderate use (a few hours of music, texting and mobile data enabled all day long). Got used to pegasusq + sio before but hotplug + row seems to be doing great now. For a common XT910, it's more than I could ever ask for. And if 0.4.7 is better, I don't even have the words for it.

So if fast charge is dangerous, I'm wondering if it is or not included in 0.4.6... I searched for it but I got confused with everyone talking about it.

:confused:
[Motorola Droid RAZR] dtrail1:
Many thanks! :) some nice words after that disgusting post before (not you, in other thread ) :)

Well, fast charge was enabled in test builds of 0.4.6. I removed it as it crashes when keeping device active while charging on USB - and it could damage the usb port for some reason. I really don't want to answer to users who got a damaged phone because of my work :)

Better disabled it and everything's well.
[Motorola Droid RAZR] dtrail1:
Yeah! This time I will reach the 4 hours with kexec for the first time! bse 0.4.7. has brought me one hour of battery more than 0.4.6.
[Motorola Droid RAZR] 1droidmod:
:thumbup:
[Motorola Droid RAZR] BOSS__DAWG:
Question

If I am looking for the best battery life and still want good performance, which kernel would you flash? And then which Governor and Scheduler would you run to make it perform the best?

Thanks in advance
[Motorola Droid RAZR] dubisz:
If your priority is battery life, the choice of kernel is quite obvious - BSE. With hotplug governor and sioplus scheduler the performance is enough for daily use. U may want to change the governor to lulzactive for example if you need more power, but it'll drain your battery more.
[Motorola Droid RAZR] monkteo:
@ dtrail1, I put in LiquidSmooth 2.3 classic , your kernel 0.4.5(I have 72% battery after 1d27m and no problems so far)

good job, thank you
[Motorola Droid RAZR] dtrail1:
I would suggest you to youe 0.4.6 or 0.4.7.

Guys, I want you to do something! :)

Please each user pick a kernel release (0.4.5 / 0.4.6 / 0.4.7) and keep it using for one week. After that period of time each user posts his longest amount of battery life and screen on time (screenshots) and then each user posts whether quadrant scores or Antutu Benchmark - Only one, we have to be unique in what we will use so we can compare it.

This will help me a lot to know about what changes are good or bad and much more! Thank you all!
[Motorola Droid RAZR] monkteo:
I will take 0.4.5 because I have already installed !

OK ? Antutu Benchmark !
[Motorola Droid RAZR] dubisz:
Ok, I'm on 0.4.7 BSE.
[Motorola Droid RAZR] Jack'O:
Me to on CM 10.1 nightly 0516 and will do this test, anyway i seems that everyone experiencing more of a day of battery lasting, does not use so much as me 3G navigation, could it be?

Edit: My 3G navigation time is about 1 or 2 hours a day.
[Motorola Droid RAZR] mat9v:
I'm on cm10.1 5/16. Will be using it for a week. Wifi will be on 100%, 2G only because 3G here is very weak. Kernel oce nightly 0.4.7 governor sakuractive and sio+ overclocked to 1498.
[Motorola Droid RAZR] pseudoheld:
just had a crash with bse 0.4.6 on rc2.

when i got a phone call it froze up, i couldn't hear the caller or speak to the caller.

switched to OCE now...
[Motorola Droid RAZR] garywojdan81:
OCE 4.7 nightly running well with the 5/16 carbon nightly and crossbreeder mod.
[Motorola Droid RAZR] Brantuck84:
OK I finally got my battery at a full charge and it actually shows that is I will run the 4.7 nightly with carbon clocked 1404 ( I get better bench scores at that rather than 1498) using hot plug and vr will run for a week with this setup and report back. [MENTION=4287139]dtrail1[/MENTION] great job on these kernels man you are doing good work for us I can't thank you enough. Dtrail1=RAZR kernel guru :D

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] mrxrsd:
I'm not a hard user, I only know how to flash a zip file. If I only flash your kernel, will I see benefits? Or it´s something I need to config a lot of options
[Motorola Droid RAZR] dubisz:
First of all, what rom are you using? Cause if it's not a kexec rom, these kernels aren't for you. And as for your question - you don't have to tweak anything to see improvements, but tweaking and playing with settings makes it better.
[Motorola Droid RAZR] mrxrsd:
I'm using avatar rom, since it's CM based I think there is no problem, right?

tks
[Motorola Droid RAZR] dubisz:
Yeah, it's a kexec rom. I've heard of some compatibility problems concerning JBX kernel and Avatar rom though. But I suppose it's worth a try - if you backup your old rom, you're not risking anything.
[Motorola Droid RAZR] dtrail1:
Please test it on Avatar! I want to know if it works. Oh, and use 0.4.7, please.
[Motorola Droid RAZR] dtrail1:
You like BSE more I guess, why don't using 0.4.7?

BTW: D-WiZ JBX 2.1 Rom got an big update today! Kernel is 0.4.7.
[Motorola Droid RAZR] brainwash123:
To clarify the fast charge vs USB stuff: high amperages (>500mA) COULD damage the USB (2.0) port on a computer. I've seen this happen to two laptops and an older desktop. However, nearly everything these days is designed to be plugged in and charged from a computer and the power supplies for the USB ports are getting beefier to cope with this.

Not sure exactly how fast charge operates in your kernel but you can check the logcat for something like 'charging_rate', cannot remember, it was in an older long post of mine. By default the Razr should negotiate with the computer the charge rate and should not exceed the port capabilities. That is, if you are using USB 2.0, that number should not go above 500 mA.

As long as that auto-negotiation is happening no USB ports should be damaged. I'm not even sure it has to be enabled in the kernel, I think it goes on on a lower level and the kernel just logs the messages.

Alright, I've almost had it with all the gadget problems these days. It seems that at my parents' house there are some weird fields or something that is crashing and corrupting everything I use. Now I've had all of a sudden the home and search keys not working after TiBu restore, or bootloops after a clean install of ANY kernel. My laptop's SSD is losing data or programs and the tablet restarts randomly. No explanation for this.

I cannot reliably test anything until I return home next week.
[Motorola Droid RAZR] Steven87:
Where is 4.7 ? I cant find it ... :(

Edit: found it :)
[Motorola Droid RAZR] dubisz:
Right here:

http://dtrailer.de/kernel/NIGHTLIES/
[Motorola Droid RAZR] dtrail1:
Uhhh...Seems like you're living in the middle of the Bermuda Triangle.. :D Weird..

Fast Charge: It will exceed 500mA because it works the following way:

------------------------
| Kernel Code |
------------------------
/
--------------------
| USB DRIVER |
-------------------
|
-----------------------
| DETECT USB CABLE |
----------------------
/ \
------------------ -------------------
|FAST CHARGE OFF| | FAST CHARGE ON|
------------------ ------------------
| |
--------------------- ---------------------
|DETECTS USB CABLE | | DETECTS AC CABLE |
--------------------- ---------------------
| |
[Usual IRQ handler: 500mA] [Usual IRQ Handler: > 600mA && <= 1000mA]

I could rewrite the whole fast charge code to stay on 500mA while fast charge is ON, but this would be no fast charging anymore! So the best solution is to keep it OFF. ;)
[Motorola Droid RAZR] pseudoheld:
sorry i got mixed up. i was using 0.4.7 (hard to keep up with all the updates ;) )

yeah i prefer bse because battery saving it important to me but then again being able to use the phone as a phone is also "quite" important ;)

so im back on oce 0.4.7. still giving better battery life than stock kexec....
[Motorola Droid RAZR] dtrail1:
Ok, this makes things clear :)

0.4.7 is a NIGHTLY build, so it may cause something weird behavior as I oncluded experimental code. I included it in D-WiZ latest update because I get test results by many people this way :D But if it goes wrong for too much people I will revert to 0.4.6 then... Btw, for me 0.4.7 runs very stable without any issue since Wednesday.

In latest D-WiZ JBX Rom there is also the battery issue after reboot fixed! :D This means it was caused by the kernel.
[Motorola Droid RAZR] DelGreco:
I just installed 0.4.7 BSE but I can not change IO. I put Trickster MOD and it's the same thing.
[Motorola Droid RAZR] dtrail1:
Are you sure? Did you tick the hook in the right upper corner after changed IO Scheduler?
[Motorola Droid RAZR] DelGreco:
The problem is that I have no IO Scheduler, the list is empty.
[Motorola Droid RAZR] ricardofago:
Testing 0.4.7 BSE nightly on hotplug + sioplus. I have a feeling that performance is slightly lower than 0.4.6 BSE running hotplug + row and battery life seems a little bit better, but I can't really see a big difference. Perhaps I need more time (flashed a few hours ago) or a harder usage. Anyway, excellent work, this is pretty stable and daily usable, it works way better for me than stock.
[Motorola Droid RAZR] dtrail1:
Thx.

Regarding to battery life: This is similar to flashing roms. Your device needs one week to settle in. After that period you can talk about battery life :) But of course, if it changed significantly you will notice it very early.

For better performance AND power saving: Change Multicore power saving mode to "1" and use SioPlus scheduler. Set any governor which doesn't hotplug that fast like hotplug does, e.g. Hyper or lulzactive.
[Motorola Droid RAZR] Brantuck84:
Running 4.7 nightly and carbon just crashed when phone call came in don't know if its kernel or ROM related so I switched to P.U.B A.O.K.P with 4.7 nightly and everything seems fine call came through with no trouble. Just thought I'd report that

Sent via Raven

"Dark Wings.....Dark Words"

---------- Post added at 11:15 AM ---------- Previous post was at 11:00 AM ----------

Well now on AOKP it soft rebooted when a text came in could this be kernel related or am I just having bad luck with roms

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] allenlo83:
After installing the kernel, the default value for multicore power saving mode is? and how to set it to 1? :)