yashsingh1/xdaforums huggingface dataset:
[Motorola Droid RAZR] Hashcode:
Dtrail1:

I took a look at the kernel sources tonight and ran through some various tests. Sorry, if I repeat anything that's been stated earlier in the thread.

Starting at today's kernel on JBX_STABLE using mapphone_OCE_defconfig, I was seeing some EHCI port 2 -110 reset errors in dmesg.

(If EHCI doesn't come up correctly, you won't get the wrigley LTE modem since it's using an interface on the EHCI port: cdc_ether)

On a good boot you'll see lines like this:

<6>[ 26.025115,0] usb 1-2: new high speed USB device number 2 using ehci-omap

...

<6>[ 26.186950,0] cdc_ether 1-2:1.0: usb1: register 'cdc_ether' at usb-ehci-omap.0-2, Motorola Wrigley LTE CDC Ethernet Device, xx:xx:xx:xx:xx:xx

..

<3>[ 30.666717,0] ehci-omap ehci-omap.0: Connection state changed

On a bad boot you'll lines like this:

<3>[ 25.651306,0] ehci-omap ehci-omap.0: port 2 reset error -110

...

<3>[ 28.665618,1] hub 1-0:1.0: Cannot enable port 2. Maybe the USB cable is bad?

So, from there I jumped back to the beginning on May where LTE was working fine on the mapphone_OCE_defconfig and tried various kernels going forward in time till I noticed it was broken. And it happened somewhere during the BSE/OCE kernel merge.

(It was fairly difficult to get a booting kernel due to changes in the merge to pinpoint which change exactly)

But, I noticed that during the merge you enabled the OMAP4430_VDD_MPU_OPP25_UV settings in both OCE and BSE.

I went to the following commit and started a new theory (it's right before the merge changes):

https://github.com/RAZR-K-Devs/andr...mmit/77813a6f737ede82999aee0a7164cc87625318c6

I tried both OCE and BSE configs at that commit (where mainly the difference is the OPP25 setting). And while BSE didn't boot up correctly for me (was looping on the anim) I was able to grab a dmesg log and see that the EHCI port had hit a reset error. And the OCE defconfig booted up fine w/ no errors on the EHCI port.

So this is my current theory:

I'm wondering if the OPP25 @ 100mhz is causing issues for EHCI timings?

NOTE: It could definitely be something else causing the EHCI errors. I just didn't get much more time to dig any deeper or isolate various changes.
[Motorola Droid RAZR] dtrail1:
Simply reboot.

Gesendet von meinem A100 mit Tapatalk 2
[Motorola Droid RAZR] maarawoe:
I have falshed RAZR_JBX-Kernel_0.2b.zip over jbx rom 2.0.3 (wiped caches) but the phone now behaves really terrible - I have LOT of freezes, stucks, bootloops, sometimes are some of my apps missing until I reboot (?????) etc.

Any recommended workaround?
[Motorola Droid RAZR] arnesottolo:
Hi dtrail, in updater-script of 0.2b (not bse) package you left written "JBX-Kernel 0.2c BSE edition"
[Motorola Droid RAZR] Vatazhka:
0.2c BSE: I tested it overnight. CPU was staying on the lowest frequency most of the time (I checked the stats once before I fell asleep), but I woke up to a dead device due to it not going into deep sleep at all.
[Motorola Droid RAZR] Merlinos1:
Wiping cache and Dalvik after flashing kernel - most problems should then be done

I did this every time i flashed anything and usually i got not the problems like other users talking about

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] maarawoe:
I wouldn't bother to moan here if I didn't wiped after flashing - in fact I am wiping everytime always when I flash anything. ;)

This problem occures even I wiped and the problems are horrible so I am asking here if there is some know bug etc... :(

I moved to 2c so I will see how it will be but 2b was totally unuseable...
[Motorola Droid RAZR] dtrail1:
Cache and dalvik will be wiped automatically while installation. That's not the problem. If you cannot get into deep sleep check your combination of governor and scheduler. When unsure let it as default (hotplug + noop). If deep sleep doesn't work, just reboot and check BBS after 30 min.
[Motorola Droid RAZR] maarawoe:
I am not changing governors etc. and I am fixing sleep by the restart but the problem is that it happens - its annoying to check it after each reboot hoping its working its working. Moreover its hard to not to forget to check it after every reboot.
[Motorola Droid RAZR] dtrail1:
*Fixed*

thx
[Motorola Droid RAZR] dtrail1:
Anyone still facing freezes when plug in USB?

I'm currently fixing hotplugging support for related governors... Update tonight.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] Jack'O:
Never seen here, everything seems to work like a charm. (XT910, CM10.1 build 04.10 on system1 with BMM 0.3.4)

Oh, and jbx02c-bse kernel obviously. :)
[Motorola Droid RAZR] mat9v:
I have some instability problems. Sometimes after entering sleep (by power button, not after timer runs out) it won't wake up, screen is black, only keys will light up. Few times I could not answer a call, screen lock would not react to touch, once phone entered a loop where it kept ringing and vibrating long after a caller gave up and called my other phone - the phone would not react to any actions, not even power+vol- could reset it. It restarted by itself after about 5 minutes.

To be clear, no overclocking/underclocking/undervolting is present, kernel is 02c-bse. Not even one overclocking app installed, no system setting is modified, governor is hotplug / noop, no gpu overclock.

System installed on formatted partitions, no titanium restore, apps are from play store.
[Motorola Droid RAZR] dtrail1:
Thank you.

I had the same problem sometimes but now it's been a longer time since it happened the last time.

Could you do me a favor and grab a log? Use the logcat method from the faq to keep it running in background and after a crash when you've rebooted please grab also a dmesg and PM those to me.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] mat9v:
will do
[Motorola Droid RAZR] brainwash123:
Just a question: does the phone ever enter deep sleep while charging? Every time I check the SpeedDaemon stats it shows that the phone has never entered deep sleep. What's even stranger is that after I disconnect the charger and let the phone sit for a while the deep sleep counter show more time than it has actually passed since unplugging. I haven't tested with other apps, I'm not using BBS anymore. I suspect that somehow the deep sleep counter is not updated while the phone is charging.

I get sporadic music interruptions while playing via A2DP and the screen is off. I haven't touched any CPU/GPU settings, just stock 0.2BSE. Judging by Speed Daemon stats the CPU is running at 100 or 200Mhz while in the music playing state and this might be too low for some higher rate (320kbps) mp3 files.

Other than that the CPU settings seem very balanced, with the previous kernel the CPU values were all over the place and the phone did not seem to run as smooth.
[Motorola Droid RAZR] dtrail1:
Phone never enters deep sleep while charging except you set it specifically.

Deep sleep also won't work while playing music. And I don't recommend to use speed daemon when settings are triggered with trickster mod. Also there is still a bug in all kexec kernels which causes to remove user settings related to CPU max/min frequencies.

But please tell me more about these interruptions.

The older kernel has some more bugs of course, so just don't use it.

Edit: this is a temporary solution for ad2p: http://xdaforums.com/showthread.php?p=40282228

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] altus:
:D :D
[Motorola Droid RAZR] brainwash123:
I made the suggested modifications to A2DP, will report tomorrow how it performs.

I'm not touching the CPU control bits, I'm just using Speed Daemon to READ the values. I try to keep things as stock as you supply them otherwise I might be creating new bugs.

Yes, I know the phone does not deep sleep during music but I was suspecting the CPU speed might be too low (200Mhz). But I guess it somehow buffers music ahead with a higher CPU speed and then it just streams the raw values. I haven't checked the code to see how it actually performs, maybe a dev can enlighten me.

I'm saying this because on another phone (U8510) if I set the min CPU to 160 MHz the music skips but if set to 245 Mhz it works properly.

Using 0.2c BSE kernel, of course.

If no one is testing and reporting bugs how can something be bug-free? I do trust JBX enough to be my daily driver.
[Motorola Droid RAZR] Hashcode:
FYI, to grab a crash log (from the previous boot) try this:

adb pull /dev/block/kpanic

use a hex editor to view

This may or may not work for sleep of death issues tho.
[Motorola Droid RAZR] ghost_razr:
Solution for Deep Sleep issue!!

i dont know if some one already suggested this or not, but i am using an app from playstore deep sleep battery saver and my razr is finally having deep sleep for the first time after switching to JB, i confirmed it through better battery stats.

BTW i am on Verizon 98.72.16 so cannot confirm if it will work with this kernel.
[Motorola Droid RAZR] dtrail1:
Thank you so much! You're the man!

I'm, I can tell you why BSE didn't boot: in voltage.c the vp_timeout was set to u16 (from u8) in one of your commits (ion changes, etc). This causes the kernel to boot only when defined not more than 7 efuses for mpu. This time BSE had 10. But I figured out that we can define efuses in opp4xxx_data and probe them to the existing ones (5 in control.h), this fixes all mpu related issues and it boots.

Regarding to these "lines in case of a good boot", I see them when booting the kernel on my device. It seems it boots well on some devices.... On some it doesn't.

Edit: the latest build head default min frequency of 300mhz, means the opp25 isn't used by default. But earlier BSE kernel had also working lte, and there was opp25 too.

M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.5a - Tapatalk4

Edit: Now back on computer :)

I was probably not clear enough. The efuses were in early BSE versions completely redefined. I created virtual fuses in control.h. Since the vp_timeout in voltage was set to u16 (bit?) the kernel has become much more stable - but it won't boot when there are more than 7 efuses defined. In the latest builds there are only the (stock default) 5 efuses and the other OPPs are probed to these fuses. I browsed through the whole sopurce, created several branches for testing, performed a git hard reset to head of working LTE state and searched every single commit and changes. And there is in fact nothing which explains that.

You wrote:

This is what I get on each boot. So if I had an LTE device it would work. It's also weird that it works for some users and for some others it doesn't.

I don't think that the OPP25_UV is responsible for the malfunction. This OPP was also existing in ealier builds - which had working LTE - and in new builds this OPP is disabled by default. The user has to select it if he wants to use it.

But I may be wrong here.... what do you think?

But I just want to say thank you very much for your help and your time!! I'm glad someone has a look at this!!
[Motorola Droid RAZR] Dallo28:
hi guys!

2 days ago i have tried for the first time jbx kernels..simply amazing !! i tried 0.46 oce and it worked very well, even in benchmarks(antutu) today i have installed the new 0.5x but i can't understand why, it is not as good as 0.46 oce ( i mean with benchmark's results) i tried to downgrade again to 0.46 oce but it doesn't work as well as it did after the first installation...i have even wiped dalvik cache and fixed permission..can someone help me?

in the first post the link for trickster reset doesn't work..
[Motorola Droid RAZR] Brantuck84:
Come to the discussion thread and I will be happy to help

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] mat9v:
If you are trying to benchmark using Antutu, it's no use. I get anything from 9500 up to 9980 @1498Mhz and performance governor using 0.5X kernel. The biggest difference lies in 3D benchmark part of it, it's completely "random" from 2500 to 2900 points. I just gave up on this program. Quadrant is even worse, in this case I/O benchmarks are so random it's not even funny, also they account for most of the final score - changing governor can kill a score from 4200 points down to 3300. No repeatability here too.
[Motorola Droid RAZR] dtrail1:
In fact nobody needs a benchmark when the phone is running great.

M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.5a - Tapatalk4
[Motorola Droid RAZR] Dallo28:
i know that is not important, but i found a very big difference between 0.46 oce and 0.5x especially in the graphic part of the benchmark

i also know that antutu and benchmark in general are useless..just numbers that means nothing...

i just asked :good: maybe i could have a done a wrong installation or something else which is the cause of this problem :laugh:
[Motorola Droid RAZR] dtrail1:
Those without 4G may try PPP widget from Gplay and try to override apn settings. This "solution" was taken from someone who couldn't get 3G on another kexec Rom.

M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.5x - Tapatalk4
[Motorola Droid RAZR] 1droidmod:
Anyone with lte issues try this mentioned above? Does this work for you?
[Motorola Droid RAZR] garywojdan81:
Waiting for a full charge
[Motorola Droid RAZR] Brantuck84:
I DL the app but I'm not sure how this helps this is for connecting to a USB modem correct me if I'm wrong

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] 1droidmod:
[MENTION=4287139]dtrail1 [/MENTION] http://xdaforums.com/showthread.php?t=2301493

[ROM][CDMA/GSM][OFFICIAL] PACman V02 - Android 4.2.2][02-06-2013]

I cannot get any KERNEL build to boot:mad: Does this have anything to do with ROM being in slot2 ss3.11? Or more simple, ROM is not compatible with JBX KERNEL.. Droid RAZR xt912 SpYdEr CDMA... I really want your KERNEL on here.. Would work with earlier PACman versions...
[Motorola Droid RAZR] h0324879:
Sorry for annoying.

My phone really become laggy by chance when I now use the 0.5x kernel.

Such situation does not happen when I was in 0.4.6/7 kernel.

Better switching back and wait for more stable kernel.
[Motorola Droid RAZR] garywojdan81:
Tried this today with .5x & buttered AOKP on slot1, still no 4g :(
[Motorola Droid RAZR] 1droidmod:
[MENTION=2831164]garywojdan81[/MENTION] Did u ever get JBX KERNEL to boot PACman?
[Motorola Droid RAZR] dtrail1:
All 0.4 kernels are very buggy compared to the latest builds. When the Rom gets laggy, just change its min free values and you're good.

M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.5x - Tapatalk4
[Motorola Droid RAZR] garywojdan81:
Nope
[Motorola Droid RAZR] dtrail1:
OP updated and introducing the very awesome Kernel Guide written by Placca!! YOu can view it directly in your browser, download it as PDF or CHM (Compiled HTML). It includes many informations about governors, IO schdulers, the installation, usage of Trickster (pictured guide) and the whole FAQ with pictures! It should answer and help everyone to get to know more about the kernel and its benefits. Thanks Placca!!
[Motorola Droid RAZR] dubisz:
A very useful thing! However not all governors are described (I was hoping to read something more about hyper, cause I couldn't find almost anything about it).
[Motorola Droid RAZR] 1droidmod:
Placca guide under requirements PACman is listed, as of now ROM will not boot with your precious baby(JBXkErNel) installed, I know you probly already know this and if not, then this is news to you.. Here is PACman build we cant boot with JBX:confused::eek:

http://xdaforums.com/showthread.php?t=2301493

[ROM][CDMA/GSM][OFFICIAL] PACman V02 - Android 4.2.2][02-06-2013]
[Motorola Droid RAZR] Brantuck84:
So I was reading this new guide and it says that the lte connection was fixed but I'm sorry that's just not true I still know of several people who can not get 4g and really only know of 1 or 2 maybe that can

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] 1droidmod:
<--- venting.. Some weird things going on with new ROM builds, safestrap, lte, guide, Feels like a DEAD-END. :thumbdown:
[Motorola Droid RAZR] Brantuck84:
I'm on an old ROM build from 31st haven't touched new builds of anything but yeah it does feel like a dead end

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] ins5736:
I flashed on liquid smooth. It ran nicely for a few hours, and then data, gps, and even phone service died.

Sent from my OG RAZR
[Motorola Droid RAZR] ryankliber:
Carbon 5-31 .5x 4g no tricks needed just a little bit of time for the signal to go out and come a couple times. Anyways that's nothing new for me, I came here to post that better battery stats says 100% on "No or Unknown Signal" pretty sure my phone thinks I'm always roaming when in fact I'm not.
[Motorola Droid RAZR] dtrail1:
I just found the reason why some newer builds don't work with JBX. There are some config changes.... I am working on this today.
[Motorola Droid RAZR] dtrail1:
I have uploaded a test kernel of JBX 0.5x in Nighlties folder.Please test it with Pac or whatevery you want. I am going to test it with Pac.
[Motorola Droid RAZR] Brantuck84:
[MENTION=4287139]dtrail1[/MENTION] did you upload a kernel b4 the test kernel available now I can't get it to boot on 5/31 carbon and I seen where [MENTION=4215407]ryankliber[/MENTION] did could by chance send me a link to the one he booted

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] dtrail1:
Rebuilding the kernel now... I had to learn about the new configuration system..New test build will be available within 5 minutes
[Motorola Droid RAZR] 1droidmod:
[MENTION=4287139]dtrail1[/MENTION] Test KERNEL- Fresh install PACVO3 created slot and No boot.. many trys...razr xt912 cdma
[Motorola Droid RAZR] dtrail1:
Edit: I STILL have to learn how that new config system works...

SOrry, I can't fix it now. Have to wait until someone answers my PM.. -.-
[Motorola Droid RAZR] 1droidmod:
O.K... sounds good!!! BSE i need u in my life again... For sure noticed a difference in battery life since i went off JBX KERNEL
[Motorola Droid RAZR] dtrail1:
Anyone who's running the kernel on any build (e.g. Buttered AOKP 27/5) please test JBX-Kernel 0.5x-Hybrid_TEST.zip for LTE (not the TEST-0/2/3 builds!)

M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.5x - Tapatalk4
[Motorola Droid RAZR] Brantuck84:
I'm running carbon 5/31 and downloading the .5x test with the newest time

Sent via Raven

"Dark Wings.....Dark Words"

---------- Post added at 11:43 AM ---------- Previous post was at 11:39 AM ----------

I'm just gonna DL all that has been released today its real confusing dling these on my phone when they all have the same name

Sent via Raven

"Dark Wings.....Dark Words"

---------- Post added at 11:44 AM ---------- Previous post was at 11:43 AM ----------

OK now I see the diff

Sent via Raven

"Dark Wings.....Dark Words"

---------- Post added at 12:07 PM ---------- Previous post was at 11:44 AM ----------

@dtrail1 sorry man still no 4g

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] DigitalJosee:
Hey [MENTION=4287139]dtrail1[/MENTION],

Your kernel support Pac-Man rom?

In guide it's says "yes", but me and others peoples have tried and doesn't boot.
[Motorola Droid RAZR] garywojdan81:
He's working on it
[Motorola Droid RAZR] dtrail1:
It will be fixed soon. Hashcode spends some of his time to help me! :)

Unfortunately my Internet at home broke down.... Maybe I can continue at Monday.

M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.5x - Tapatalk4
[Motorola Droid RAZR] Hashcode:
Dtrail1: Here is the new flash .zip of kernel + modules for JBX-Kernel 0.5x Hybrid that I described to you on GTalk.

I know your internet isn't great this weekend. Let me know if you have questions.

http://d-h.st/bEZ

md5sum: d158e15f0148198d5524adc1c6066e8a

As always with kernel .zip files, flash after whatever ROM.zip you're using.

NOTE: I did NOTHING to this kernel. It is *ALL* dtrail1's work. The only change is how I built it, and I think Dtrail1 may try this new build style later when his internet is better.
[Motorola Droid RAZR] Brantuck84:
Thanks hash

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] oguzpasa:
i have a question about this kernel.

with this kernel battery life is better or worst thn stock kernel(.16)
[Motorola Droid RAZR] Brantuck84:
Well I had really hoped hash had the magic touch but I still can't get 4g

Sent via Raven

"Dark Wings.....Dark Words"
[Motorola Droid RAZR] Hashcode:
I didn't include any fixes for 4G in that test .zip ... that's coming :)
[Motorola Droid RAZR] tydiamond11:
Will this work on cm10.1?

---------- Post added at 09:20 PM ---------- Previous post was at 09:20 PM ----------

I mean thus post by hash code? Anything thanks
[Motorola Droid RAZR] dtrail1:
Yes it works for all Roms now - at least I tested it successfully on PAC and AOKP.

Thanks Hashcode!!!

M.o.t.o.r.o.l.a.R.a.z.r - JBX-Kernel 0.5x - Tapatalk4
[Motorola Droid RAZR] oguzpasa:
any answer?
[Motorola Droid RAZR] Steven87:
I think its better
[Motorola Droid RAZR] dubisz:
You won't get an answer, cause everything's in the OP. READ IT.
[Motorola Droid RAZR] oguzpasa:
did u even read the question or last page?
[Motorola Droid RAZR] dtrail1:
What's the matter? Did you really read the OP??

Just try it! And yes, battery life can be better with this kernel, because besides of the features I made it exactly for that!

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] oguzpasa:
u said that in twitter.thats the matter and that s the reason why i asked that question....
[Motorola Droid RAZR] dtrail1:
That was a longer time ago. In the mean time the kernel became much better! Now stock kernel isn't better anymore.

But I don't understand why people must ask these lot of questions, because it can be different for each user. It depends on the kind of usage, running apps and what the user wants - high performance or battery life.

BUT: this kernel cannot be used with any stock rom!

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] oguzpasa:
yep that answer is what im expectng when i askd the question. u didnt tweet anythng about comparing (or i couldnt find) kernels so i asked that.ty for your reply.keep up the good work.
[Motorola Droid RAZR] dtrail1:
No worries :)

It's better to follow the thread here because sometimes it's too much to keep all threads updated (there are more other threads as well).

If you want to know how the kernel works for you, test it.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] Mr-Glass:
dtrail1 - I just wanted to mention something and I am sure it does not affect a lot of users - I have tried most of your kernels through the stages.. I am an odd ball when it comes to using my XT912 - The Razr is only used on wifi - it is only constantly.. I have noticed always that my wifi usage is more than double on your kernel than the kernel that comes with CM10.1 and the Liquidsmooth Rom, so my battery life is half as much. Any ideas as to why? I always try your kernels but end up going back..
[Motorola Droid RAZR] dtrail1:
Hmmm.... I don't have this problem, and most others at least didn't mention it. How are your wifi settings in the rom?

And let me look into the wifi driver later this day.

Gesendet von meinem XT910 mit Tapatalk 2
[Motorola Droid RAZR] yogi77:
What is the difference between the various "test" builds / hashcode build ? If I'm not mistaken, the build from hashcode is your original kernel just build with another method? why is the file size different to the "test" builds?

Sorry for so many questions :o
[Motorola Droid RAZR] ghost_razr:
So great to see some combined effort going on here. Always felt this project has so much potential

well i sold my razr after having it for 1 year, still haven't decided which device i will be moving on to...
[Motorola Droid RAZR] dtrail1:
What?? A RAZR - again! :D