yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
You're welcome :p

There isn't much progress on those idd, since I wait for CM hehe.

btw, made this mini benchmark just now, its handy to check your bionic score.

the output is something like this:

Bionic Benchmark
by broodplank

Waiting for device...
Device found

Starting benchmark...

Running Benchmark 1 of 5
>> MEMCMP [ ]
>> MEMCMP [x]

Running Benchmark 2 of 5
>> MEMCPY [ ]
>> MEMCPY [x]

Running Benchmark 3 of 5
>> MEMMOVE [ ]
>> MEMMOVE [x]

Running Benchmark 4 of 5
>> MEMSET [ ]
>> MEMSET [x]

Running Benchmark 5 of 5
>> STRLEN [ ]
>> STRLEN [X]

Benchmarks completed, pulling data to pc...

0 KB/s (72 bytes in 0.079s)
0 KB/s (72 bytes in 0.077s)
1 KB/s (72 bytes in 0.041s)
0 KB/s (72 bytes in 0.080s)
0 KB/s (72 bytes in 0.077s)

Processing data...

>>>>>>>>>> Score <<<<<<<<<<

- MEMCMP Score : 7294
- MEMCPU Score : 73528
- MEMMOVE Score : 71049
- MEMSET Score : 83814
- STRLEN Score : 16230

- Total Score : [B]251915[/B]

Done

Want to try it?

Download the attached zip and unpack it on your pc (sorry linux only atm)

give execute permission to bench and run it from shell.

if you run it for the first time make sure you enter "./bench --install" first to install the test binary.

then rerun it without parameters "./bench" and it will benchmark.

ADB connection required and Root is required (only for installation though)

someone with the custom bionic should try this one, i have the one compiled from source + patch installed atm
[Galaxy S 4 i9505 Original Android Development] HabueN:
Hi.

I have not read the other posts in this forum, but since the beta 6 update i have found 2 annoying bugs in this rom.

The first is that shazam cant get acces to the mic when trying to search for songs, and the other one is som sort of disturbance when playing music over bluetooth.

But appart from this, awesome rom! Very smooth and fast! Thanks :)
[Galaxy S 4 i9505 Original Android Development] jerkysh:
I'm curious about that too!
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Of course I don't give support on Shazam, but ill look if there is any strange message when using it. and yes idd the bluetooth playback isn't good yet, I hope to find the commit that fixes that, just that, instead of needing to use the whole bt framework of CM. edit: I think I found the issue, will post patch for testing very soon

Thats the launcher from google that probably caused it, I remember using GoogleHome.apk instead of Launcher3.apk in that version. please install GoogleHome.apk and test out :P
[Galaxy S 4 i9505 Original Android Development] devilpera64:
[MENTION=1698003]brood[/MENTION]! i'm happy to say you that now with new battery i've done 20h of usage with 4h screen on using all 4 cores setup on Ondemand.

Any news on new code? do you think that our Snap 600 can deliver more performance using better optimization? what about RAM overclock?
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Nice :) good you have solved it this easy, a new battery is always good :p

I just merged a bionic patch, it increases performance of memmove by about 15 times better then the original performance. I hope I come across more golden patches like these ;)

and ram overclock I believe thats not really possible afaik, there is pmem but we have 2gb pram which is plenty. I think the optimizations have to come from the compiler, bionic and the runtime. cm-11 has for some reason not merged any good patch yet, but I did :P

I just tested my own little bionic benchmarking tool and It seems that my new bionic scores the same as the one from moto x (boosterpack). so thats 1. now need to either find a real patch for dalvik or use the static one :crying: (only possibility atm)

Anyways, first want to get everything working correctly before I start focussing on optimization.

oh and for the people who have bluetooth audio issues, Please install my zip and report results!!
[Galaxy S 4 i9505 Original Android Development] boulder96:
I'm wondering that by default our s4 is set to output audio at 48kHz, would it be possible to force it to output in 44.1kHz instead? (Not asking you to do so) Is it a limitation of the hardware or the software? Just curious
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
I'm not sure tbh, but its sort of possible to force disable it, just use the /system/etc/media_codecs.xml file from Google Edtition and it will be disabled, maybe you need to update the /system/etc/snd_soc_msm dir as well.
[Galaxy S 4 i9505 Original Android Development] farfromovin:
Bluetooth Test WORKS! No more annoying pops, sounds like it should!
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
YES! :D:D

Thanks for the feedback!
[Galaxy S 4 i9505 Original Android Development] megagodx:
Awaiting Beta 7, this will work with the AT&T variant of the S4 with the Lokidoki patch, right?
[Galaxy S 4 i9505 Original Android Development] FrenchToast_:
yes i used it on my phone, best rom i've ever used but the camera is bugging me so im gonna wait for that to be fixed. kangabean is rly good atm, but screen lock bug is killin me.
[Galaxy S 4 i9505 Original Android Development] rommel76:
Hi, I'm on albinomans cm11 room ATM, and I really want to try this one. Can I use pa_gapps-odex-full-4.4-20131109a-signed.

The reason is that I've had no issues what do ever with that version of gapps.
[Galaxy S 4 i9505 Original Android Development] tatperson:
Hey guys, here I have is the LG Camera. Tried and tested, front and back camera works all perfect on beta 6. No green line or back cam hanging ;) Looks better than stock camera too. Give it a try!

(HDR is still screwed. And don't bother trying VR Panorama, dual shot and shot&clear, too)

SCREENSHOT:

DOWNLOAD:

https://docs.google.com/file/d/0B-8WLbj1j6IcSkR2Y1RZUXNXOWs/preview?pli=1

EDIT: EH... GREEN LINES ON FRONT CAM CAME BACK.. NEVERMIND...
[Galaxy S 4 i9505 Original Android Development] skeamznz:
The gapps in the OP work perfectly smaller package as well :).
[Galaxy S 4 i9505 Original Android Development] devilpera64:
Wow i like a lot your plans! i've a question..using bluetooth headset into my car, when i speak with my girlfriend, she always say me that always listens an "eco" of her voice..when i switch on external phone audio, it's ok. What can i do?

---------- Post added at 10:13 AM ---------- Previous post was at 10:10 AM ----------

i was using your same ROM since i discover this one...now it's totally another music :P
[Galaxy S 4 i9505 Original Android Development] thekaykev:
I have got some bootloops when i was trying to use it with the boosterpack but without it bluetooth is working perfectly.

Thank you for this fix. :laugh:
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Lol look what I just merged all from cm's frameworks base XD

https://github.com/AOSP-S4-KK/platform_frameworks_base/commits/kk-4.4?page=1

6 commits about MSM stuff, such as the audio software decoders etc. haha no I know why they weren't working.. XD missed so much
[Galaxy S 4 i9505 Original Android Development] jcdeoferio:
Can't wait for the next build! :laugh:
[Galaxy S 4 i9505 Original Android Development] boulder96:
Can't wait to test!!! :o Seems like its gonna be awesome! Maybe I can finally move on to the newer beta
[Galaxy S 4 i9505 Original Android Development] Esterra:
Yes. I will finnaly flash this rom if the next update will come out. :) And get rid of 4.3 :D
[Galaxy S 4 i9505 Original Android Development] failax:
I have a clear battery drain in every situation, how can I check the apps eating battery?
[Galaxy S 4 i9505 Original Android Development] Mennpiko:
Fantastic rom, very fast and smooth, only the audio reproduction was delayed by the bluetooth headset, but the patch fixes and bluetooth works fine, thank you very much for your work.

PD:With native kernel patch bluetooth works well with KT gives bootloop
[Galaxy S 4 i9505 Original Android Development] Esterra:
Use any battery monitoring app :)

I prefer Gsam battery monitor. :)
[Galaxy S 4 i9505 Original Android Development] Garner:
Has anyone been able to get photosphere working?
[Galaxy S 4 i9505 Original Android Development] Esterra:
Haven`t even flashed this rom. :cowboy: Waiting for an update.

I think that it`s not possible for now.
[Galaxy S 4 i9505 Original Android Development] Garner:
Lol sorry for the noob accidental quote :silly:
[Galaxy S 4 i9505 Original Android Development] fyre31:
is there any reason i shouldn't get LTE signal on this rom? i have LTE on tw and cm10.2. i'm using dxubmg5 modem, the same i used on the other roms
[Galaxy S 4 i9505 Original Android Development] HabueN:
The bluetooth audio is now working perfect :) Thanks for the great fix :D :good:

Saw you answerd my post about Shazam not working.. Did you say that it is on purpose its not working? Or is there something wrong? :)

thanks for the prev reply btw ;)

---------- Post added at 10:34 PM ---------- Previous post was at 10:33 PM ----------

I have LTE on my phone with this rom. :\ shure LTE is not turned off?
[Galaxy S 4 i9505 Original Android Development] manny05:
Yes! Bluetooth is working great. Nice job!

Sent from my Samsung Galaxy S4
[Galaxy S 4 i9505 Original Android Development] fyre31:
i checked in settings. it has LTE selected
[Galaxy S 4 i9505 Original Android Development] skeamznz:
Battery life is great. Connected to WiFi or LTE the whole time 45mins of 3d gaming. The first photo is 29hrs
[Galaxy S 4 i9505 Original Android Development] failax:
Sometimes Hangouts messages arrive me hours later.
[Galaxy S 4 i9505 Original Android Development] dublinz:
Same thing happens for twiz roms so it is safe to t that it is Hangout issue, not of this rom
[Galaxy S 4 i9505 Original Android Development] override182:
Wipe hangouts apk and sign out/signin again. More of an issue where GCM doesn't auto trigger. Not ROM issue.
[Galaxy S 4 i9505 Original Android Development] swa100:
I've noticed that core0 is always on 1890 mhz. when the screen is on. This causes a lot of unnecessary battery loss. Anyone else noticed this?
[Galaxy S 4 i9505 Original Android Development] drnjstj:
True. It takes a lot of seconds before the speed goes down.
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
This is typical CPU Z behavior.. look at this when I go to adb shell and ask for the cur freq:

root@jfltexx:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_freq

384000

root@jfltexx:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_freq

384000

root@jfltexx:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_freq

384000

root@jfltexx:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_freq

384000

root@jfltexx:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_freq

384000

root@jfltexx:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_freq

384000

root@jfltexx:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_freq

384000

root@jfltexx:/sys/devices/system/cpu/cpu0/cpufreq # cat scaling_cur_freq

384000

Its only on max when you use CPU Z so actually that app sucks balls :P
[Galaxy S 4 i9505 Original Android Development] drnjstj:
True brood. The kernel tuner app shows different behavior.
[Galaxy S 4 i9505 Original Android Development] swa100:
Here are some cpy spy stats:
[Galaxy S 4 i9505 Original Android Development] swa100:
After a reset:

See? It just jumps from 384 mhz to 1890 mhz on little load.
[Galaxy S 4 i9505 Original Android Development] devilpera64:
[Guide] How to set propely governor for CPU1/2/3

I've studied a lot this thing... Only CPU0 has applied current governor..CPU1/2/3 use always Interactive gov, ramping always on higher freq (using hotplug help to reduce consumption). However the only thing that i suggest is to download "SManager" and create new script as:

Into the directory "cpu freq" you will find the folder named as the governor selected, where there are all parameters inside. If you want change every single parameter, you have to write those strings over :

As you can imagine, this is very usefull! Infact you can decide to turn totally off 1 or 2 cores, and collect battery saving playing beyond Governor for the only active CPU!
[Galaxy S 4 i9505 Original Android Development] swa100:
But cpu0 is part of the problem. It's always on 384 mhz or 1890 mhz. So the governor must be bugged or something? Right?
[Galaxy S 4 i9505 Original Android Development] ph3n0mII:
[MENTION=4354408]broodplank1337[/MENTION] and others,

Any thoughts on this - http://www.usofttech.com/t127730.html ?
[Galaxy S 4 i9505 Original Android Development] Me Gusta:
Did you try?

Me Gusta!
[Galaxy S 4 i9505 Original Android Development] Esterra:
This is allready mentioned few pages back. ;) And there is a boostpack. :)
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Those are included in the booster pack I posted a while ago. But I won't add them in main releases. since I'd rather have libraries built from source than static libs from some other phone. I first have to concentrate on fixing the camera completely and some other minor issues before I start optimizing it.
[Galaxy S 4 i9505 Original Android Development] Tozenator:
I've noticed the same behavior of my core 0. It always jumps between 300 and 1900mhz every few seconds. The same thing is present on every GPE rom there is (though not so severe on 4.2.2). Curious.
[Galaxy S 4 i9505 Original Android Development] Faschoda:
[MENTION=1698003]brood[/MENTION] can you take a look at it?

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Thanks to the idea of [MENTION=1211621]danny_and_2[/MENTION] which is to use the non zsl camera but use the camera.msm8960.so from GE we have a working camera in next build, no green lines, main cam doesn't freeze. only hdr still doesn't work.

the build also will have:

- optimized bionic (from source not motox)

- optimized dalvik (from source not motox)

- egl libs from GE

- time daemon but this time properly working

- bluetooth audio fixes

- audio fixes in general

- codec fixes

- kernel update to 3.4.71

- fm radio should work (but it doesn't btw)

- more that I forgot atm
[Galaxy S 4 i9505 Original Android Development] fedef12evo:
nice changelog :good: for the optimized bionic and dalvik,will them be good as motox one? im talking about benchmarks
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
no not as good as those unfortunately. :rolleyes:
[Galaxy S 4 i9505 Original Android Development] Me Gusta:
FM radio works, but it doesn't? WO don't have FM radio so how could it possibly work :what::D I think the changelog is awesome to be honest :D

Me Gusta!
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
It's enabled now but it just doesn't pick up any signal when I tried with Spirit FM Free.

But did a build with make installclean before, and I think for board changes I need to fully wipe the out dir.

I'm going to rebuild now and Ill check it out :P
[Galaxy S 4 i9505 Original Android Development] Me Gusta:
:p would have been awesome if it somehow worked

Me Gusta!
[Galaxy S 4 i9505 Original Android Development] ph3n0mII:
Cheers for the info, my tired eyes must have skimmed more than I though.

Best of luck with the cam stuff, it seems to be the most neglected thing on all aosp's lately (presumably due to what's involved?)

Looking forward to testing the next build and maybe the booster pack :good:
[Galaxy S 4 i9505 Original Android Development] CraigHardy:
[MENTION=4354408]broodplank1337[/MENTION]

Does this apply http://xdaforums.com/showpost.php?p=40952026&postcount=6001
[Galaxy S 4 i9505 Original Android Development] dejong12:
I didn't know we had a FM radio in our i9505?
[Galaxy S 4 i9505 Original Android Development] newcastle9:
This fixes the green lines in the front cam http://xdaforums.com/showthread.php?p=47986742
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Hmm I didn't saw that :( I think it does apply

I thought we had, but I may be wrong xd

Yes I know, i mentioned that earlier, the file will be included in next release.
[Galaxy S 4 i9505 Original Android Development] jusada:
Brood, do you have any idea how and if sview could work on this rom? I know you won't add this as your keeping this rom pure. Just looking for some advice.
[Galaxy S 4 i9505 Original Android Development] devilpera64:
Battery!

First full battery usage (still improving it)

Near 5h Screen On for now :)
[Galaxy S 4 i9505 Original Android Development] Faschoda:
Can anyone pls tell me how to set up my mobile Internet?

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
it should be automatic. you can go to settings > more > mobile networks > apns, it should be there, select the right one. if it doesn't exist you have to add it yourself

btw the cpu0 will be the same as on 4.3, its because of the merge with cyanogenmod.. I will just copy over drivers/cpufreq from 4.3 to 4.4 :P
[Galaxy S 4 i9505 Original Android Development] swa100:
Hey Brood,

Did you take a look at the cpu spy stats I posted? You can see that it's always on 384 mhz or 1890, nothing inbetween. So it's not a cpu z bug. Do you have any idea how to fix this? Maybe a custom kernel? I've read this happens on more aosp or gpe roms.
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
I just merged the cpufreq folder of 4.3 which worked correctly so I think that will fix it
[Galaxy S 4 i9505 Original Android Development] swa100:
I have seen this behavior before an GPe 4.3 Rom's, so are you sure it will fix it?

Greets,

swa100
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
I'm not talking about a GPE rom but about my AOSP 4.3 ;)
[Galaxy S 4 i9505 Original Android Development] swa100:
Ah, sorry, my bad. Ok, I'm curious, haha. Hope to see beta 7 soon!

Keep up the great work!
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
Tried to boot the rom with cwm 6.0.3.3 and couldn't manage to get it to work. is the recovery not compatible with kitkat? i used the s4 of a friend of mine, with mine (usin 6.0.3.8) it worked. :cool:

any clues?
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
I think its just to old, nothing less nothing more :P
[Galaxy S 4 i9505 Original Android Development] DuckMcQUack:
will upgrade and try again ;)
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
ok ;P

btw, just update the kernels gpu drivers, it supports the new egl libs from nexus 5 :) hope this will increase 3d performance :>
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Explain that egl nexus 5 stuff :)

Is it already in cm1?

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Look, the nexus 5 uses brand new egl libraries (for 3d), but normally the kernel of s4 doesn't support them, but I just merged all commits that add the support and replaced the blobs as well with the ones from nexus 5 ;)

https://github.com/AOSP-S4-KK/platform_kernel_samsung_jf/commits/kk-4.4_new

https://github.com/AOSP-S4-KK/platf...mmit/d4008aec3339a92568c406c769458365d2a330b4

its not yet merged in cm :p
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
Are those merged in the rom itself, not the kernel?

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
In both the kernel and the rom
[Galaxy S 4 i9505 Original Android Development] farfromovin:
Can't wait to test the next build, functionality and speed updates!
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Ok guys so I have tested the flo adreno libs with the updated gpu drivers, and I must say the overal smoothness of the phone has really increased, but it's mostly the 2d performance, i ran several tests and I scored higher with the previous libs, But I think the overall usage / smoothness is more important then just a bit more fps on 3d.

it feels so amazing just browsing through android now :P I can't even imagine the smoothness with the booster pack installed :D

going to post this release very soon ^^
[Galaxy S 4 i9505 Original Android Development] iamnotkurtcobain:
2D smoothness is better than 2-3 fps more in 3D games.. So cam is fixed in the new build and what about the laggy brightness slider? It isn't smooth when I adjust my brightness manually.. Beta 6 had the lag.

Gesendet von meinem SGH-M919 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
its still not 100% lagfree xd, but i dont know if it got any better.

Anyways, what I'm not so excited about on this build is that still a lot of videos (mostly h264,mkv) cannot be played. now there won't be a lot of people who watch movies on their phones but still. Also the cpu still isn't perfect. it chooses some side steps now (aside 1890mhz) but still it goes to fast to 1890mhz I think. but the other things all work nicely :)
[Galaxy S 4 i9505 Original Android Development] devilpera64:
on Beta 6 i'm using Cross Breeder and Lag are gone :P [MENTION=1698003]brood[/MENTION] can you include it?
[Galaxy S 4 i9505 Original Android Development] Esterra:
[MENTION=1698003]brood[/MENTION] Said few pages back that he will not add even the booster pack. That means that, no tweaks will be added for now. If you want them, you can flash them manualy. :)
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Beta 07 has been released

Changes:

- Not using legacy sensors anymore, new sensors (hexedited "mCompEngine is NULL" message out of sensors.msm8960.so)

- Fix USB Audio HAL

- Some Vold patches

- Bluetooth 48KHz playback (fixes BT audio)

- Enabled Qcom BSP

- Many audio patches / playback patches

- Time daemon now works 100%, this fixes Calendar sync issues etc

- Dalvik merged with codeauora

- Camera now works correctly, only HDR pics are bugged

- Update kernel to 3.4.71 with new GPU drivers

- Fix audio playback through docking stations

- Merge frameworks/av with CyanogenMod

- Merge frameworks/native with CyanogenMod

- Use Adreno Libs of Nexus 5 (Butter smooth)

- Bionic optimizations

- Added some missing packages

- Fixed browser FC on Site Settings

Download:

http://www.broodplank.net/files/aosp44-i9505-Beta-7.zip
[Galaxy S 4 i9505 Original Android Development] Tylog:
Let's go:D thanks Brood :)

Edit : the phone is flying, it's so fast, perfect update.

Amazing job brood, it's fantastic.

GT-I9505 / Nexus 5
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Nice, good to hear that, its idd very smooth with nexus 5 libs :D
[Galaxy S 4 i9505 Original Android Development] Tylog:
Yes :) I have both phones S4/N5 and I feel no difference. It feels perfect and much better then the GE Roms. Camera is fine too, no freeze, no green lines.

It's a masterpiece and no beta:p

GT-I9505 / Nexus 5
[Galaxy S 4 i9505 Original Android Development] GalaxyS49505:
I notice "2 BUGS"

In the lockscreen animation i very buggy.When change screen brightness also is very buggy.

Update:

I try ART but when reboot stuck on GALAXY S4 logo.
[Galaxy S 4 i9505 Original Android Development] fedef12evo:
bootloop with booster pack :silly:
[Galaxy S 4 i9505 Original Android Development] Tylog:
I disable animations, I don't like it, can't say anything about it. What do you mean with brightness looks buggy ? No problem here with brightness, auto/self settings, works fine.

GT-I9505 / Nexus 5
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Nice! that's what I'm going for!

It's out of beta phase when all video playback works ^^

In the lockscreen? not having that try wiping cache and dalvik-cache, and there is a difference between buggy and laggy :P

And art just takes very long on first boot, it's normal

yes thats true don't flash it, i have to rebuild the kernel first. its not compatible with the egl libs
[Galaxy S 4 i9505 Original Android Development] GalaxyS49505:
In the lockscreen animation (circle) itself is buggy.

However good job dev.Rom is fast.Keep it good working.
[Galaxy S 4 i9505 Original Android Development] Raiken_:
Gonna flash this for the first time, is this good enough for a daily driver? :)