yashsingh1/xdaforums huggingface dataset:
[ONE Android Development] uudruid74:
Danger Long Post.

I'm a Unix admin. My Dhcp server gives a specific IP based on Mac address. Replacing the dhcpcd client with the older one from CM11 will give me the IP I've assigned.

Maybe not, but the result is that the phone will keep chewing through available IPs and somehow leaves the old ones assigned. It becomes a DoS. It used to drop connections as well, but that much is fixed.

Reverting to the old one fixes it, so why are they distributing a new one that fails? What is so important about this new code that they refuse to remove it, at least until they get it stable?

No, I have to fix dhcpcd after every flash. I know there is way to script it, but now I have to learn and debug MORE stuff.

The media server one? It shows up differently based on the app. Basically something in the Media queue or database gets corrupted and it croaks. If I just let it play its fine. Changes to the queue or switching songs will cause a problem and eventually it hangs. Phonograph deals with it best. Simpler apps often need a reboot to clear the queue and they'll die as quickly as adding my whole database to the queue. If that doesn't kill it using the next song feature like a mad money will kill it in under a dozen taps. Phonograph wont die that way, but I can randomly kill it. I've used 8-10 apps and they all die. That new encore one dies the moment I run it and then tries to restart itself and dies again so quickly that I can't use my phone and have to reboot it.

If I set 'Performance' over 'Balanced', shouldn't this only change the governor and only affect interactive tasks? Whats changing that this has such an effect on benchmarks? I'll have to crank yours up to Performance for the next test so that I can compare without the throttling.

I understand tradeoffs! Its just like the classic bandwitdth vs latency, or size vs speed, or does unrolling loops still fit in the cache, etc

This is why I'm interested in testing a BFS based kernel, but I can't find one for bacon and don't have the time to merge in the patches. It should be fairly clean to patch, but my intuition says I'll need to do some sort of manual fiddling and I would need to build it twice, once without the BFS to isolate the build system as a variable.

Let me remind you that I only have satellite and LTE, both limited bandwidth. I try not to do a lot of downloads, and when I flash a ROM I only run it bare if there is a problem I need to test and isolate. Otherwise, there is Viper, and a camera, and an ad blocker and all sorts of stuff that all has to be merged in. And for a clean flash gapps is added to that list and busybox.

And I dunno how my clock is messed up, but have to manually install it every time as the gapps config is still not fixing that, which means deinstalling the old (the way it is now it crashes). Then my dhcp binary must be reverted. ROM Settings backup doesn't save everything and my OmniSwitcher gets turned off and doesn't turn on the stock switcher, si that gets manually fixed. And Viper will need an extra reboot to install its library, etc. That's a lot of work to switch ROMs.
[ONE Android Development] cih997:
Hi Guys. Im on 20150809 and my phone is unlocking in my pocket all the time. This has not happened in any other ROM before. Is it known issue or is it just my device?
[ONE Android Development] Setting.Out:
Turn on prevent accidental wake up in your display settings..
[ONE Android Development] cih997:
Thanks but I have this option enabled.

Any other ideas?
[ONE Android Development] Setting.Out:
Turn off wake controls (dt2w, camera, torch), and turn off ambient display..
[ONE Android Development] jgcaap:
I was asking about the DHCP. You say that the ip isn't respected when you assign it? But the kitkat version is? That's interesting. Need to check the source.

The rest is on my todo list. Like I said... If users help me find commits which think are use full I'll include. I am also interested to learn about the bfs. But I'm doing this slowly.
[ONE Android Development] cih997:
All of those but dt2w is disabled. I will disable dt2w and see if it help.
[ONE Android Development] Setting.Out:
Might want to update as well...
[ONE Android Development] bigdogbts:
Upgraded to the latest "stable" build from the previous version. Phone seemed to run more slowly, and wifi tethering (which I use alot) also seemed to be slower. Downgraded back to 20150811. Just an FYI.
[ONE Android Development] uudruid74:
IP is assigned by the router based on MAC. This bug has been floating around since most people with problems never knew it was a bug, so it went unreported for awhile. Many people don't know where to report it. Basically, if all you do is surf the web and your phone drops its connection and then gets a new IP, would you notice or think it was just the web site being a little slow for a second?

Now SSH in somewhere and when your phone changes its IP suddenly and your SSH session dies, let me know how pissed you get. Hundreds of people have reported this, its been in forums, its had older bugs opened and incorrectly closed, and had multiple duplicates. Its a mess. And now 12.1 is released and they still refuse to go back to the working one. The new one is bigger and unstable, so what benefit is there to using it?

https://jira.cyanogenmod.org/browse/BACON-3269

There are no patches against kernel 3.4, but there are patches against 3.5 (and just about every other release besides 3.4), including 4.x if you go with a 4.x kernel. Kernel Patched for 3.x

Not sure about commits., sorry

I can give you my top ROM features, which I consider to more than just frills and don't exist in Lollipop (everything is nice and cool and all that).

stability - dhcp & music player need to work

phone numbers on my lock screen (dial a lost phone)

Privacy Guard (Cyanogen feature)

Omniswitcher: I need the ROM to make ME faster - an extra 1% performance doesn't help if I have to tap more buttons to get what I need.

The switch to turn off Notifications that privacy guard is active I already mentioned - its a big sign that says "your device is normal". Its like the signs on Texas highways that say "Obey All Signs".

BFS = https://en.wikipedia.org/wiki/Brain_****_Scheduler

Google tried it and said it didn't improve the user experience, but assume it can cut latency in half. A response of 100ms down to 50ms won't be noticed by a user, no improvement. If you are doing pro audio, cutting audio latency from 50ms to 25ms would be awesome!

My goal is to port jack (Samsung's ProAudio SDK = Linux jack) and run it with a BFS-based kernel on a ROM that is stable and responsive. Maybe it makes more sense now why I always benchmark with heavy background audio processing. Typical Phone Latencies

Apple iPhone about 7ms

Samsung SM-T800 (ProAudioSDK/jack) 16ms

Samsung (all others running Pro/jack) 25ms

OnePlus One (no jack) 60ms

Nexus 5 (5.1 and Android M) 45ms

Galaxy Note 4 (no jack) 164ms
[ONE Android Development] ksss:
Jgcaap.

Seems that CAF roms has problem now. Saw in another kernel thread that it is not so good as it was before.

/ks
[ONE Android Development] johnb380:
Man you really know how to fill threads up everywhere you go.
[ONE Android Development] uudruid74:
Starting some more crap? Really? Troll elsewhere.
[ONE Android Development] johnb380:
I just dont understand why every reply you have has to be 20 paragraphs man. It's just to much to read. I'm not starting anything you know I'm right that's why your mad. This is xda not your personal blog it's supposed to be short and to the point not an essay. I bet you killed it in writing class in college. Never had to worry about minimum word count huh.
[ONE Android Development] uudruid74:
Funny, I'm not mad, but my long posts were on topic. These personal attacks are not.
[ONE Android Development] jgcaap:
Just arrived home will have a look. Thank you for this share , i believe is informative. :)

sultanxda will solve it. The guy is pretty smart and knows what he is doing. Matter of time.
[ONE Android Development] jgcaap:
For me it's ok. I know we are not used to it. But It's important his share since has alot information and ideas. It'll be a very slow job as i am the only one developing the rom over CM base. But i'll have a look to everything. Thanks :)

Reading right now about the BFS first. :P
[ONE Android Development] jgcaap:
one question, music player doesn't work?
[ONE Android Development] uudruid74:
It works, but all music players crash or lock up with a high frequency
[ONE Android Development] jgcaap:
Interesting. Could you grab me a log example with a Dmsg for me to have a look?

About dhcpcd we have latest google code. The commits they added are not important or fixes (3commits).

https://android.googlesource.com/platform/external/dhcpcd/

edit: after reading a bit seems there is some changes. Lets try build dhcp from google source and ignore CM and see if works.

2 hours and test build is up on test folder
[ONE Android Development] uudruid74:
Re: Dhcp - Wow. Let me know when you have something ready for test. In fact, it may be faster to just post the binary and I can copy it over. I'd hate to download a whole ROM just to check my router dhcp lease log and see if it works.

Re: Music player. Looks like the default cyanogen eleven player acts just like phonograph. Steps to reproduce: Shuffle All (about 2000) then press skip track button until user interface crashes (Oddly it keeps playing with no way to stop it and I can start another player and play another song simultaneously). Sounds like its an app bug, but all music players crash like this. Even clean flash of CM nightlies. Will test non CM later. Attaching logs.
[ONE Android Development] jgcaap:
But with other music player how does it handle? I removed eleven app from cm as I also believe it needs to be improved. There are other solutions around the Google play.

It's now online and ready to be tested.
[ONE Android Development] uudruid74:
I've tried at least 8, but I picked the CM one since everyone has it. I normally use Phonograph.

What's onlne now where?
[ONE Android Development] jgcaap:
http://www.drdevs.com/devs/jgcaap/oneplus/rom/test
[ONE Android Development] uudruid74:
I burned through some bandwidth downloading this and gave a quick test. To avoid tediousness, I dirty flashed. Again, no UI crashes, no play services dying on initial boot. The UI feels a bit sluggish on loading apps but that could be because I just booted.

DHCP: I thought it didn't flash it because I saw a 60+K file instead of a 80+K file. However, I checked the md5 sum and this is NOT the CM11 dhcp that I've been using. It doesn't show the extended long format ID string that the CM12 version uses (my mind laptop also shows the longer format). So, this basically seems to funtion identical to the CM11 version. And so far it seems to be working correctly.

While I'm here, I cranked the phone to 'performance' and scoring over 4150+ on Vellamo, same test conditions. That's almost 200 points over Temasek. And the 'balanced' mode averages over 460 points over Temasek.

4150 is pretty good for doing mobile hotspot and Viper's processing. Normally, Viper will kill benchmarks. Actually, this is faster than my older Vellamo score from a couple months back which wasn't doing any processing at all.

Excellent work on all 3 points!

---------- Post added at 12:42 AM ---------- Previous post was at 12:39 AM ----------

Does this ROM not have the automatic speakerphone mode (put phone down for speakerphone and pick it up to turn off)? I thought that was a Lollipop feature.
[ONE Android Development] Setting.Out:
No, only a couple ROMs can do this feature..
[ONE Android Development] jgcaap:
You did test the ip? It doesn't change? Maybe we'll stay all way aosp on DHCP.
[ONE Android Development] uudruid74:
Tested. Working great so far. I would keep it until the CM bug gets closed.

I'm not sure of what CM did to break it, but I'm thinking its maybe an accellerator. Basically, a hack that bypasses part of the protocol, the same sort of iffy crap that Pottering's systemd does. Works great unless your environment isn't exactly the same as the author's.

http://xdaforums.com/android/software/wifi-dhcp-accelerator-t3023534
[ONE Android Development] jgcaap:
Has nothing to do with CM. That tweak was added over cm source.

I saw that cm source is 100% based on aosp. But Google updated their source. Perhaps the latest code for clang solved a compiler issue.

Give it a proper test
[ONE Android Development] uudruid74:
That tweak was for an older version I think. I'm wondering if CM included it. And if its a compiler issue, then I'd be surprised as bugs like that would affect more things or would be isolated to specific settings. Temasek's ROMs vary in compiler used, but exhibit the same bug.

There has to be some difference between the version I just tested and the latest CM sources. It displays the clientID strings differently. The CM11 and the last one you sent use the Mac address as the client ID. The CM one will use the Mac address plus some extended information which is all wrong and one of the bytes changes... this is WRONG. The whole point is that client ID should not change.

Client ID can differ from the Mac if you have a unique ID that wont change and the Mac might' For example, a PC could have it's network card replaced. On a phone, you could send the serial number, but I fail to see how the Mac address would change. You might as well use the Mac. If this ID ever changes, you'll get a new IP but your dhcp server is now really confused because you just told it you are a different client, but your mac is the same! So if you assign IP based on MAC you have a problem.

The dhcp server might ignore the Client ID and give the IP for that MAC, which means you wont see this bug, but dhcp servers that do so will run the risk of network collisions since the original clientid could come back online and its lease on that IP is still good.

The dhcp server should give out an unassigned IP from the available pool when the IP for that Mac is already leased by an existing clientID. So, first connection, you get the right IP, and every connection drop you'll get a new one. This is what my dhcp server does (dnsmasq).

I can see that the client ID is the Mac, so we're doing it right. That doesn't answer what CM changed or why, or why they refuse to revert the change until the issue is resolved. It should be a simple fix, but I have enough on my plate!
[ONE Android Development] jgcaap:
That accelerator was added over cm source/aosp source. It is not that.

Test properly if the bug still exists. If doesn't then it'll be merged what's missing.

Btw new build online with notification of privacy app option included
[ONE Android Development] uudruid74:
AWESOME. Will be awake at 2am to download this. This ROM may just become my daily driver. Is there a way to steal the dialer from another ROM? I mean, can I just save the APK to my SdCard, uninstall the default and install the other? I want the speakerphone cause often I'm busy programming and I just set the phone down and go back to work.

Re: dhcp Already have mentioned that I verified that the dhcp server shows the MAC address and not the longer clientID string. What other test would you like?
[ONE Android Development] jgcaap:
Test everything to see if works everything properly. Maybe cm needs only to update theirtheir code.
[ONE Android Development] jgcaap:
Stability = 36 C

Finally.
[ONE Android Development] uudruid74:
Wow. Impressive. I was usually running between 42 and 45. I just turned on the temp overlay and typing this is between 34 and 35. That's Awesome! That's a 10 degree difference. And I'm playing music through Viper effects out the Bluetooth, so its not an idle system!

I think this just became my daily driver! Ill be begging for OmniSwitcher inclusion :)
[ONE Android Development] xdavidc:
Which build you guys talking about? Latest /test or latest /rom?
[ONE Android Development] jgcaap:
Latest rom in my case :)
[ONE Android Development] jgcaap:
I need to study the costs of that feature. Because I want to change very few stuff on cm. In case there is no problem I'll include.
[ONE Android Development] jgcaap:
https://github.com/CyanogenMod/andr...mmit/39958fb036aa8d475d421e5a41e913eba0c8a595

Maybe this answers to your lag issues on high use :)
[ONE Android Development] uudruid74:
I totally understand. It can be invasive and will look like bloat to anyone that prefers to keep things "stock Android". I just wish it could be added as an APK or something so I could add without cluttering up the ROM, because I really Iove it (hence the shameless begging). Probably appeals more to people that multitask a lot.

In anycase, this appears to be the fastest ROM, the most stable ROM, and the best supported. MUCH appreciated, and I'm sticking with it, OmniSwitcher or not.
[ONE Android Development] jgcaap:
Haha enjoy

Is not a matter of bloat. The switcher I need to study in order to understand the side effects. If there is no issues I'll include it.

I'm thinking on reorganized the whole settings menu to become more praticle for users. But will do that after knowing better some java tricks. Perhaps in a month I'll be able to launch my first free app for you guys.

Test if cfs improves your multi task experience. Is a less aggressive scheduler. I completely forgot about fiops, also have had that experience. The best solutions and most stable for mobile are cfs and row schedulers. The others is to forget.

It is this : https://youtu.be/mTaRhQ48PsE

?
[ONE Android Development] jgcaap:
I like more this concept : https://youtu.be/zG8tNZZwYXI
[ONE Android Development] jgcaap:
Another app to try : https://play.google.com/store/apps/details?id=mohammad.adib.switchr
[ONE Android Development] jgcaap:
Another nice one to test : https://play.google.com/store/apps/details?id=com.lazyswipe
[ONE Android Development] jgcaap:
Used this one in the best... Great one for multi task. https://play.google.com/store/apps/details?id=mobi.conduction.swipepad.android
[ONE Android Development] uudruid74:
That was one thing I never had problems with. There is am option to open notifications in a floating window which I kinda like and use despite the fact that it doesn't always work, but that was the only thing that gave me problems.

I think CFQ is standard for desktops as well.

And for, I can probably help a bit there as soon as I get other stuff off my plate.

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

Tapatalk didn't show me this at first. Yes, that's it, but its showing an older version I think. The way it was integrated into Temasek, I had the option to replace the stock app switcher and it had the option to only show running apps rather than recents which saves you from wading through tons of apps you've already backed out of. I set the slider button to the area adjacent to volume up so its real easy to hit with my thumb. Very fast!

---------- Post added at 11:20 PM ---------- Previous post was at 10:56 PM ----------

Re List of apps

Most if these are launchers not switchers (which Omnswitch adds to the second line). Some of this stuff was cool but I never found myself using any of them. One of the links was to a switched, but isn't compat w/Android 5. I appreciate you checking though, but I've looked :)
[ONE Android Development] jgcaap:
Alright guys... More good ideas for the rom?
[ONE Android Development] Setting.Out:
Can you keep the stock calendar app.. :)
[ONE Android Development] uudruid74:
I did something evil to your ROM. I attempted to graft the dialer w/automatic speaker phone and the OmniSwitcher into it myself. Not sure why the dialer features aren't picking up, but the Omniswitcher works! I don't have the ability to replace the standard app-switcher (like a long press on home) but can activate it from its on-screen controls.

Working dhcp and omniswitcher. I'm going to try destroying and rebuilding my media database again. Maybe it will work on this ROM
[ONE Android Development] jgcaap:
You can't do that... You need to recompile some parts to work properly... Or it'll fc. Such as frameworks.jar
[ONE Android Development] laca77:
Hello

I am on the 13/08 build. On this build (and other roms too) if i try to push the power button or use the double tap to wake, the phone doesn't do anyting. But the second try success and the phone wake up. If i check the log via USB debug, the first try doesn't generate any events but the second do. The "prevent accidental wake-up" is on. Now i try to switch it off and check it works better or not. I am the only one who have this problem? It presented on my previous OPO and the corrrent too with official and unofficial roms to...

Thanks
[ONE Android Development] gwindlord:
Reboot/Recovery tile

framework, settings

Lockscreen shortcuts (damn, just checked - this one requires too many dependencies)

framework, settings1, settings2

Ability to hide superuser status bar icon

framework, settings

Non-intrusive incoming calls UI (showing incoming call as just a heads-up)

framework, telephony

Would be really nice to have please :)
[ONE Android Development] Setting.Out:
No need for SU switch, unless you want root apps to show.. I don't have an ugly icon with root apps running.. ;)
[ONE Android Development] gwindlord:
Well, I thought I've closed the necessary ones, but the sign is still there :) Maybe greenify or something else - not sure if it's worth to look for it, then close it and probably get some issues after that. Also I don't like xposed :) And how did you do that?
[ONE Android Development] Setting.Out:
What version are you on?.. No apps give me ugly SU status bar icons..
[ONE Android Development] gwindlord:
I'm on the latest source, built it today. All ROMs I've tried showed this icon unless I turn it off manually. But I've dirty flashed from another CM, that may influence.
[ONE Android Development] Setting.Out:
My theme may affect it too?.. Having no support for ugly icons?.. Lol
[ONE Android Development] sdbgl:
[MENTION=2040569]jgcaap[/MENTION] I am having issues with connectivity.. When connection switches from WiFi to data, "!" Symbol comes.. Attached screenshot.. Also I have to reboot to connect properly..
[ONE Android Development] sdbgl:
Clean installed 3 Sep version
[ONE Android Development] gerciolisz:
Hi [MENTION=2040569]jgcaap[/MENTION] i am using 03.09 build and overall experience is awesome but audio latency is 106 compared to 60 from your 01.08..

And it is little annoying because this huge latency destroys plasure od using soundseeder APP which streams music to many devices via wifi... (Opo (server) is later than others (speakers))

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Android Development] jgcaap:
That is problably related to something else. When you turn on Wifi and appears the ! simbol means that you are not beeing able to achieve any connection. Which means or is your wifi configuration , or internet connection which is failing, not the rom. But try get logs for this please. thanks

Audio latency? How do you measure that? I have not changed anything on audio part, everything is exactly the same.
[ONE Android Development] gerciolisz:
http://superpowered.com/latency/#axzz3kmsagqSk

BTW there should be latency 60 ...

I am on clean install just flashed gapps..

Sorry but previous build was 01.08 i had a lot of work meanwhile and did not follow this thread and All builds...

I'll try to mess a little with kernel settings.

Wysłane z mojego A0001 przy użyciu Tapatalka
[ONE Android Development] uudruid74:
No FCs yet. Do you mean the dialer? Not made any calls but the UI is fine.

Re: Dhcpd Did the version in /rom have the bug fix? Since the last flash, bug came back
[ONE Android Development] jgcaap:
That will depend alot on Hardware built quality and drivers from manufacturer.
[ONE Android Development] jgcaap:
yes. What rom did you flash? todays? don't touch todays please!
[ONE Android Development] gerciolisz:
in a link which i provided there is and app which testing audio latency.... i am using it to measure not just a data listed on their website.