yashsingh1/xdaforums huggingface dataset:
[Oppo Find 5] maxwen:
ok - actually the problem with this lies most of the time in the

governors code not doing properly locking while governor start/stop

which is actually a requirement for governors

I fixed this already in some governors - or took the fix from upstream

but I will see from the log then

regarding ondemand there are two fixes from upstream which you should take a look at

https://github.com/maxwen/android_kernel_oppo_find5/commit/20ad1febfcce118b2bd9196acbfff7b820cf4673

https://github.com/maxwen/android_kernel_oppo_find5/commit/afb656cf9e4d863f46232d0090c2fb5d33fdb893

both can lead to problems when switching governors and also cause other

issues :)
[Oppo Find 5] Entropy512:
90/40, default other than that right now I think.

Changing freq_step from 5 to 10 will double how fast it transitions through the frequencies. One thing to note about conservative - it adjusts a target frequency that is not quantized to the nearest freq step. e.g. the gov can decide to go 384, 400, 416, etc. if it wants to - and won't actually increase frequency until it decides on 486 or whatever the next step is. freq_step is the percentage of max that it'll transition - so 5 = around 75 MHz per polling interval, 10 = 150 MHz per polling interval.

Conservative without the fixes has serious issues in that its minimum interval is 100 ms on most devices - one transition every 100ms = suck!
[Oppo Find 5] Hrc4u:
ok..just had to check on color rom my BT phonebook/car issue...works there...

incl. log when activating car system...(btw god damn color rom is constantly donig something...so log never rests.. :P )

don't know if that log will be of any help...?...well atleast...log included....any clues?..plodey?....entropy?..or max? =O)

cheers anyway!/H

old log cm test: http://xdaforums.com/attachment.php?attachmentid=2171729&d=1375878828

log on color rom latest:
[Oppo Find 5] maxwen:
Did you use chinese 4.2 or international 4.1 rom?
[Oppo Find 5] Entropy512:
If all goes well, tomorrow's nightly will include the new kernel. I'm going to work on figuring out a recovery that doesn't update the TS firmware sometime in the next few days - until then, beware that older recoveries will tak 3-4 minutes to boot (and any build with the new kernel will do the same) due to touchscreen firmware updates.

Should resolve all radio initialization and graphics/display issues. Assuming that the process of pushing various kernel branches around didn't derp - the other possibility is a nightly that won't boot or even build. ;)
[Oppo Find 5] Hrc4u:
hi! i used this one:X909EROM_Beta_V1.0.0_3323E_full..guess it's international.....had it's installed like 10min..:P

/H
[Oppo Find 5] maxwen:
well - the problem is that this is a 4.1 rom which has

completely different BT impl then 4.2
[Oppo Find 5] Hrc4u:
just had to check if it works on stock......and it did.. :)

cheers devs!/H
[Oppo Find 5] graffixnyc:
[MENTION=2162789]XpLoDWilD[/MENTION] looking forward to flashing this on my new Oppo 5. You should have came out with us after dinner. We are still out. Hahha
[Oppo Find 5] EnemyOfGlaDOS:
I wish I had known! 8AM is gonna come quick ;)
[Oppo Find 5] ficino:
Camera: failed tot connect to camera in nighty 0810
[Oppo Find 5] whatsek:
Camera not working in cm10-8 confirmed.

Verstuurd vanaf mijn Find 5 met Tapatalk 4
[Oppo Find 5] Hrc4u:
hmm...i just flashed the new recovery and running the cm test build...i still have 2-3min stuck att oppo logo..:confused:

cheers!/H

oh btw! after using color rom yesterday it changed something on boot....well atleast boot logo now says Oppo Find...?
[Oppo Find 5] albinowalrus:
Are you running the latest nightly (0810)? If so, then then you'll have to stick to the 0809 nightly (or earlier) with the old kernel, until Entropy512 fixes the recovery. That's if you don't want to wait a few minutes for the phone to boot.

My boot logo has always shown Oppo Find. Not sure if that's the case for anyone else though.
[Oppo Find 5] Hrc4u:
i'm running the test build posted few pages back...

my boot logo just showed Oppo and nothing else before... :P

Edit!..got it working..seems my computer is doing some funny things...showed it flashed the new recovery..but it didn't!

flashed with the recovery tools app from play store....and voila! now works!.. =)

cheers!/H
[Oppo Find 5] whatsek:
Running stock cm10.1 10-8, scrollling seems much smoother now. Focal als not working.

Verstuurd vanaf mijn Find 5 met Tapatalk 4
[Oppo Find 5] csapdani:
Camera doesn't work on 0810. Cannot connect to the camera. Reverting to 0809 fixed it. Hopefully this will be fixed in the next version.
[Oppo Find 5] j3di:
In still on the Test firmware posted by [MENTION=591147]Entropy512[/MENTION] as some are having camera issues with the latest nightly. Apart from that issue, will the latest nightly kernel include all that was in the last Test one?
[Oppo Find 5] Entropy512:
There's one kernel patch which hasn't been merged, partly because I want to understand what (if anything) it's doing. http://review.cyanogenmod.org/#/c/47103/ - as far as I can tell, the code being removed does nothing (if you're wakelocked, you shouldn't hit this codepath anyway), so I want to put some debugging code in to figure out when (if ever) it gets triggered.

I forgot to push the blob updates, which is why cam broke. Should work in tomorrow's nightly.
[Oppo Find 5] Hrc4u:
had some spare time so investigated further on my BT-car-phonebook issue...

i tried it with [ROM] [FIND5] [4.2.2] [cfX-Toolchain 4.8.y+]codefireXperiment ....latest...and it worked on that one :confused:

will that info maybe help anything..maybe look at how his/theirs rom/kernel are built? =)

cheers!/H
[Oppo Find 5] ynnek63:
Thanks for all your time and effort! I really love CM and am excited to see how it evolves on the Find 5.
[Oppo Find 5] maxwen:
oh nice

that's very valuable information

so you used the build with the new kernel?

can you create another logcat with that one please?
[Oppo Find 5] andril:
Greatful & Concerned

Not being impatient, just warning others before they make the update - fix will be in next update :D

I am just very concerned when it comes to my Find 5 as well are others. And I believe a warm device is something to be worried about.
[Oppo Find 5] Hrc4u:
yeah i think it was the one he posted today....

i kneeeew i forgot something...crap!...i forgot take log!.. oh well..i'll install the rom again..back in a while! :P

cheers/H
[Oppo Find 5] maxwen:
Dont hurry

I will take a look if i can spot something obvious
[Oppo Find 5] Entropy512:
Also up for review:

http://review.cyanogenmod.org/#/c/47563/ - Should fix remaining dark preview issues, seems to work here with no negative effects - replace /system/lib/hw/camera.msm8960.so with http://d-h.st/N02 to test

The updated wrapper should work with all nightlies (except of course tonight's) old or new, and with my test builds.

http://review.cyanogenmod.org/#/c/47561/ - should display to users when a touchscreen firmware update is going (untested)

No problems with device heat here, and camera has already been discussed.
[Oppo Find 5] mitchmao:
I now there are more important issues pon the table at the moment but I need to report that Bluetooth keyboards do not connect properly on CM 808.

I tried both MS Wedge Keyboard and Logitech K810. Both act the same way: the device is paired properly (I can insert the PIN correctly on the BT keyboard and the devices are correctly paired).

However, after pairing, I'm unable to connect. The devices both work properly with PCs.

There must be something happening after pairing (which goes OK).

Any ideas?

Thanks.

edit: when trying to connect by tapping the device name, the phone says "connecting" for 2 or 3 seconds then nothing happens.

edit 2: USB otg is not working either... any idea on how I can connect a keyboard to the phone somehow?
[Oppo Find 5] Hrc4u:
no problems at all.. =) heres the log from codefire rom..hope you find something useful!.. =O)

cheers!/H

edit:oppz...should read whole log before posting...:P all my contacts showed there...uno momento! :P

edit #2..now removed phonebook entries... :P you all know people like beyonce....lopez etc...don't want their nr public!.. :D ..(yeah i'm dreaming....)
[Oppo Find 5] maxwen:
thanks - will give it a try asap

I was already playing with that setting but this "version" not :)

---------- Post added at 10:46 PM ---------- Previous post was at 10:43 PM ----------

known issue - will be fixed soon

http://xdaforums.com/showpost.php?p=44452645&postcount=784

---------- Post added at 11:02 PM ---------- Previous post was at 10:46 PM ----------

can you tell me the build date of the CM10.1 version that you use on your

samsung device where it works?

There have been some changes in the CM bluetooth app which are related

to phonebook access
[Oppo Find 5] Hrc4u:
version i am on my i9100...is an old infected build from 2013.07.17...it's my work phone so haven't updated it since i went on vacation.. :P

http://xdaforums.com/showthread.php?t=2339377
[Oppo Find 5] maxwen:
Well that is not really old - most of the changes regarding phonebook

acces are older then that

Is this a nightly build or a release build?

Actually I am just trying to find out which changes from the bluetooth app repo

are in this build or not to see if any of those can be the reason

EDIT: but here is the issue

I can build you a bluetooth apk without all those changes

but of course only for my ROM. If you would take the effort

and do the testing then :)

I dont know right now what code cfxe is using for this

but actually I would think prolly AOSP
[Oppo Find 5] Hrc4u:
not been following his thread for a while......but think he is only compiling straight from cm sources..though with linaro.bla bla....tool chain...newest..bla bla..and so on...don't ask me about the android terms! :P

anyway his room is faster than stock cm.....

so answer is he releases nightlys...when ever cm releases one... :)

---------- Post added at 11:33 PM ---------- Previous post was at 11:28 PM ----------

shure! hit me with your rom!....we have to figure this out! :)
[Oppo Find 5] maxwen:
there are 3 things involved here AFAIKS

-kernel

-bluedroid

-bluetooth app

kernel - cfxe kernel is the same as stock oppo so the same CM and I have

bluedroid - I am using CM version but there are not much changes compared

to AOSP code so actually I doubt this could be the reason

bluetooth app - here is the biggest chance of a diff

I use an older version of the CM one but also with some phonebook changes

I dont know what cfxe is using - need to ask

-

---------- Post added at 11:36 PM ---------- Previous post was at 11:35 PM ----------

You can already install latest - I will PM you the changed files then
[Oppo Find 5] anders3408:
My nighty builds is not related to when cm does it. I release when I have time and normally there should be nightys from the build server. But those hubs are stopped ATM. If you looked at links to sources you will see its not cm sources. Take a look at codefirex.com and github.com/codefirexperiment.

Maxwen iirc we use aosp for BT app.
[Oppo Find 5] maxwen:
Yes you do - just saw it - thanks

Ok then confusion is growing cause I just got Hrc4u a plain AOSP

build of that app without success

So I need to look at the other parts too or I am missing something

relevent for this at all :)
[Oppo Find 5] anders3408:
Check out the manifest also, as not all repos is from cfx github, its jb-devel-release I use for now.

Hrc4u FYI: cfx is not a clean cm, its much more like aosp with a lot of optimization.
[Oppo Find 5] Hrc4u:
my respons was to the rom i use on my i9100 samsung....=)

strangely enough my BT/car/phonebook issues also works on your room!.. :)

cheers!/Hh
[Oppo Find 5] anders3408:
fair enough :) just wanted to let you know :)
[Oppo Find 5] Hrc4u:
:) just to make it clear to avoid confusions.. =)

cheers! keep up the nice job devs!.. =O)
[Oppo Find 5] TatesMan:
after updating to the latest cm I get "Can't connect to camera" error when opening camera app, solutions?
[Oppo Find 5] DarK_MischieF:
Read the thread before asking such questions, its literally a few posts before yours.
[Oppo Find 5] Entropy512:
I changed it in a defconfig somewhere, don't remember if I submitted to gerrit... kinda drunk now. :P

i'll at least submit it to gerrit tomorrow, may take a bit longer to test... I do have a BT keyboard Ic ould play with though.
[Oppo Find 5] s0h0punk:
I believe I may have bricked my phone...

was updating to the latest & greatest nightly build,

installed it, rebooted, 'optimizing applications'.

then when I looked back a few hours later... nothing. just a black screen

it's been on the charger all night & still doesn't feel like starting. (shows nothing while plugged in either)

so basically, the power button does nothing. (no vibration, no oppo logo, no recovery, no nothing)

any suggestions?

Edit: never mind, after trying a few times it has now started up. Still strange that it didn't charge overnight. Thx once again for your great work!
[Oppo Find 5] ficino:
Camera is ok! Nightly 0811 thanx!
[Oppo Find 5] mitchmao:
thank you very much for this. I'm looking forward to test any changes, since I just bought a Logitech K810 for other uses and I would be glad to use it with the Oppo as well.
[Oppo Find 5] maxwen:
I gave video HDR another try

Kernel log will show this error on "startup" of video HDR mode

Or maybe any of the other CM experts have already seen this

...

<3>[ 55.384282] irq	rdi2 regUpdateIrq

<3>[ 55.386662] vfe32_process_rdi2_reg_update_irq: RDI2

<3>[ 55.548817] path_irq irq - no free buffer for rdi2!

...

Maybe you can make anything out of this information :)

The rdi2 buffer should be allocated by an IOCTL call before which

seems to be never called - need to add some tracing code there

to make sure

I am not sure if this should be called from user-space or not

so it could be a new prop lib we are missing
[Oppo Find 5] TatesMan:
The cam is very laggy on 811, just reporting...
[Oppo Find 5] maxwen:
lag where?

please be more specific :)

please also provide a logcat

I have an idea but need a logcat to make sure
[Oppo Find 5] Entropy512:
Hmm interesting, will take a look sometime this week.

That and support for slowmo video are the only cam things missing now I think... Slowmo video will probably have to wait for CM10.2

Working fine for me here.
[Oppo Find 5] maxwen:
could come from mdp bw overflow log spilling thats why I would like to get a log

oppo has done some strange edits there

instead of simply cherry picking those commits from CAF they hacked the changes into the code

I reverted all of their edits and pulled in the correct CAF changes. Still I had to adjust bw values to get rid of bw overflows that happened sometimes e.g. also in cam preview
[Oppo Find 5] Manya3084:
Just to clarify, the current nightlies now include the new kernel? Only ask because I only see device commits, no kernel ones on review.CyanogenMod. org
[Oppo Find 5] Hrc4u:
should be yepps!.. =)
[Oppo Find 5] j3di:
[MENTION=2743413]Hrc4u[/MENTION]

^ This is the only patch not yet in the Nightlies (but was in the test kernel). ^
[Oppo Find 5] Hrc4u:
why am i quoted?...never asked about wakelocks.. :P (recently anyway... :) )
[Oppo Find 5] j3di:
Haha, sorry!

Of course I meant [MENTION=3018712]Manya3084[/MENTION] :)
[Oppo Find 5] Entropy512:
Gerrit has no way to review a major merge or rebase in a clean way - so when changing to a completely different branch/baseline, the only option is to do a force push of the branch that bypasses review. It's something that is generally avoided unless it really has to be done.

There have been a number of commits against the new kernel made since it was pushed though.

A technique sometimes used is to push to an alternate branch, tell people about it, and people can submit patches against the new branch. That's what I did with cm-10.1-new - but when it was time to take the kernel live, I pushed cm-10.1 to cm-10.1-old, and then force-pushed cm-10.1-new over cm-10.1, and that doesn't show up in gerrit.

Another trick sometimes used is if there's a major pile of patches, a squashed patch is put up on gerrit for test and review, but instead of merging the squashed patch, once it has gone through review, the individual commits are direct-pushed.
[Oppo Find 5] 0xE0:
New problem found.

Find5 can't detect some types of wired headphones and aux cable.
[Oppo Find 5] Entropy512:
Not new... I believe you'll encounter the same issue on stock. Oppo's headset detection code is really funky.

It doesn't work in my Subaru for example, and it's proving to be a real ***** to figure out because the code involved is so convoluted.
[Oppo Find 5] 0xE0:
Yep, stock got same issue. This module android_kernel_oppo_find5 / drivers / switch?
[Oppo Find 5] Entropy512:
The hacks are all over sound/soc/ :(

It's one of the areas where Oppo diverged the most from CAF.
[Oppo Find 5] maxwen:
well - I just reviewed their changes in display again. Not only did they hacked later CAF changes incomplete into the code

they also replaced the pr_warn of mdp buffer overflow with pr_debug :)

so actually with their changes you would get mdp overflow warnings all the time :)
[Oppo Find 5] Entropy512:
Yeah. I've noticed occasionally that it seems like display gets stuck in an "off" state, with zero errors I could see in any of the logs. One of my big worries before flagging for stable.

There's a bunch of stuff that would be "nice to have" but probably won't make it for 10.1 RC/stable - for 10.2 I really want to do a full rebase.
[Oppo Find 5] ficino:
Is the new kernel optimized for the krait retention states by faux? At least It's possible to activate them.

Edit never mind. Is already been discussed.
[Oppo Find 5] maxwen:
yes - has full rention support and it is also enabled by default in the ramdisk
[Oppo Find 5] vitorugo-8:
anyone with problems with an hotmail account? on the stock e-mail app i just can't access my hotmail account, it tell's me to wait a few moments but never works, only happens on CM10 rom!
[Oppo Find 5] Entropy512:
New test build: http://d-h.st/mCP

Compared with the nightlies with the new kernel:

http://review.cyanogenmod.org/47561 - Should display something on the screen when the touchscreen is updating

http://review.cyanogenmod.org/47634 - Should make ondemand behave a little more nicely. Yes, we do occasionally get contributions to CM from mainline kernel developers. :)

http://review.cyanogenmod.org/47750 and http://review.cyanogenmod.org/47751 - Should hopefully fix the occasional "hung on black screen" that has been happening to me 1-2 times a day with the new kernel. (It's a display-only hang - ADB still works, as does tethering if active.)

Also http://review.cyanogenmod.org/#/c/47103/ - Still no clue if this actually does anything at all. My instincts say it does nothing, since you shouldn't be hitting that code path if wakelocked. Although if it does nothing, the code does nothing, and should be yanked.

I'm looking for feedback on whether this test build solves the issues described above here so I can decide whether to merge.
[Oppo Find 5] csapdani:
The camera is working again in 0812 \o/

Also, "Add lockscreen rotation as an optional rotation setting" in the next nightly will be cool :cool:
[Oppo Find 5] 0xE0:
Proper "y" makes bluetooth HID keyboard and mouse work fine. But what about CONFIG_INPUT_JOYDEV (CONFIG_INPUT_JOYSTICK support is very limited)?
[Oppo Find 5] maxwen:
why you want to have this?
[Oppo Find 5] anders3408:
i see that our BT module should have support for FM radio, has anyone looked at that part for the find 5 ? could be nice to have :)
[Oppo Find 5] HaTeNL:
You mean we could be able to receive fm radio? That would be awesome
[Oppo Find 5] anders3408:
It looks Loke the BT module in our phone supports that. Other devices with same module has FM radio.
[Oppo Find 5] mitchmao:
I've tried latest nightly but BT keyboard still does not connect.

What do you mean by "proper 'y'"? sorry if I missed something in the thread.
[Oppo Find 5] Entropy512:
The FM support components are often not wired... Does it support FM on stock?
[Oppo Find 5] michiil:
Nope no fm on stock.

Gesendet von meinem Find 5
[Oppo Find 5] anders3408:
ahh didnt knew that one. hmmm...
[Oppo Find 5] maxwen:
I have already tried :)

no fm radio for find5

actually you can setup it and spiritfm will just start fine but you will get no reception only white noise
[Oppo Find 5] anders3408:
What did dmesg says when booting? If something hw related is missing, it should send out an error or something?
[Oppo Find 5] maxwen:
no error - just no reception

both kernel and user-space are just fine
[Oppo Find 5] anders3408:
hmm, asked oppo for some info on the HW part. perhaps the antenna is not connected :)
[Oppo Find 5] Entropy512:
That's usually the case - antenna and/or other RF support electronics (filters, etc.) not populated.
[Oppo Find 5] 0xE0:
Want a full joystick support
[Oppo Find 5] maxwen:
do you have a device that doesnt work properly without it?
[Oppo Find 5] anders3408:
Let's hope that it is added :)
[Oppo Find 5] HaTeNL:
I still can't use video talk on Hangouts anymore, the app crashes when I start a video talk. Here is the logcat: https://docs.google.com/file/d/0B79eMwZPkHrmMnpid3Vta0RqUTg/edit?usp=sharing

I'm using the testbuild released today.

I'm pretty sure it worked with the old kernel.
[Oppo Find 5] maxwen:
[MENTION=591147]Entropy512[/MENTION]

Just FYI - think I isolated the oppo changes in display that are really required

additional to CAF - its still not the final call cause the issues are rather random

https://github.com/maxwen/android_kernel_oppo_find5/commit/ac830efa5777063da31e223f496a7c5b796827c1

without those testers have reported screen flickering (buffer underrun)

sometimes only when battery gets low. I suspect the panel timing play

a role here and their "hacked" clk calculation

So when you consider a rebase you can actually replace all the other changes

with CAF commits except those
[Oppo Find 5] Entropy512:
That was my plan. :)

Rebase is not going to happen until I finalize 10.1 and switch to 10.2 - While it would be "nice" to clean up a bunch of Oppo's stuff for 10.1, it's not necessary to achieve stable, and I don't want 10.1 RC/stable delayed for too long - I just want to finish it up so I can focus 100% on 10.2 :)
[Oppo Find 5] Redfoox:
Nu

Ondemand was still stuck with 1.5Ghz at boot, sorry no logcat :(. Or it was due to I was only startup after ~1min but only core 1 was 100% and all others idle. But I switched to conservative as I think is better with use of all steps and performance wise not much different for me.

I didn't have "hung on black screen" with this new kernel and with this patch I didn't see them as well. Thus ok I think.
[Oppo Find 5] 0xE0:
Y? Look for changes in kernel config. BT pairing does not work or connect? Works well for me.

Tested on chinese ipega, buttons works fine, mouse mode too. Axles does not work in joystick mode (cat /dev/input/event5 displays chars on axis movement) Maybe edited keylayout could help?
[Oppo Find 5] HaTeNL:
Test build report

So after testing one day, I can conclude that I don't really see any difference with the nightly before this test build.

I already had my touchscreen updated, so I couldn't test that. Ondemand is still behaving bad, since it still only changes between 1512MHz and 348MHz, but I don't know if that's really bad.

I never had the "hung on black screen" issue, so couldn't test that either. I can say that I don't have it on this test build either.

Only issue I have with the ROM is that Hangouts crashes when starting a video call: http://pastebin.com/pJvh6mTj
[Oppo Find 5] eliaspizarro:
Default ondemand steps doesnt work properly