yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
If anyone wants to try out HDR download the Camera2.apk I attached. it's from CM sources but HDR works :) (it's pretty damn annoying to just port this hdr function to the stock camera, every time I get new errors xD!)

Enjoy ;p

anways, still don't know what's so great about it, it has a slight larger color range but the quality is really crappy imo (1.5mb photos xD)
[Galaxy S 4 i9505 Original Android Development] nuumuun:
not until you asked. but i get the same results without wifi n :(
[Galaxy S 4 i9505 Original Android Development] thehacker911:
target thumb C++: mm-vdec-omx-test <= hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp
hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:56:0: warning: "LOG_TAG" redefined [enabled by default]
In file included from system/core/include/cutils/log.h:1:0,
from system/core/include/utils/Vector.h:24,
from frameworks/native/include/binder/IBinder.h:23,
from frameworks/native/include/binder/Binder.h:20,
from frameworks/native/include/binder/IInterface.h:21,
from frameworks/native/include/binder/IMemory.h:26,
from frameworks/native/include/binder/MemoryHeapBase.h:23,
from hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:51:
system/core/include/log/log.h:68:0: note: this is the location of the previous definition
hardware/qcom/media-caf/mm-video/vidc/vdec/test/omx_vdec_test.cpp:84:27: fatal error: linux/msm_mdp.h: No such file or directory
compilation terminated.
make: *** [/home/thehacker911/aosp/target/product/jfltexx/obj/EXECUTABLES/mm-vdec-omx-test_intermediates/test/omx_vdec_test.o] Fehler 1

Can you help me?
[Galaxy S 4 i9505 Original Android Development] Masami1975:
thank you Brood!!! Only for info are you waiting to fix date-time before rc3 or hdr?;)
[Galaxy S 4 i9505 Original Android Development] 00raq00:
Put hdr and non hdr sample from this apk, please.
[Galaxy S 4 i9505 Original Android Development] destevez:
I'm having issues with my router and ps4 with Wi-Fi n, seems there are differences on the standard and some manufacturers.

Anyway my Wi-Fi works with the same speed at computer (Mac, Windows & Linux) than my mobiles (s4, iPhone5 & L5)

(Only 10down/1up mb)

Sent from GT-I9505 using Tapatalk [KOT49H] broodplank pre-RC3
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
do 'make bootimage -j5' and then continue with 'make otapackage -j5' again, then it will unstuck ;)

I have an idea what the possible cause could be (in the kernel/rom), ill test it out. :P

for both, and some extra patches as well. rc3 will have a big list ;)

please try it yourself, as generally known (from previous cm) the photos have too little exposure, thats all I can say.
[Galaxy S 4 i9505 Original Android Development] thehacker911:
Nope same error. CM 11 source can i building, but aosp source can i no building :confused:
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
you have done a recent 'repo sync' ??
[Galaxy S 4 i9505 Original Android Development] thehacker911:
yes before i building today
[Galaxy S 4 i9505 Original Android Development] szucsi1996:
hey man! :)

How to enable battery percent? :D
[Galaxy S 4 i9505 Original Android Development] jerkysh:
Xposed + gravitybox
[Galaxy S 4 i9505 Original Android Development] HaGii:
I've already built a shortcut for this answer. :silly: :D :D :laugh: :laugh:
[Galaxy S 4 i9505 Original Android Development] 00raq00:
Problem with HDR is in used method convert yuv to rgb. I found better version, replace in file src/com/android/camera/util/CameraUtil.java

public static Bitmap decodeYUV422P(byte[] yuv422p, int width, int height)

into

public static Bitmap decodeYUV422P(byte[] data, int width, int height) throws NullPointerException, IllegalArgumentException {
int size = width*height;
int offset = size;
int[] pixels = new int[size];
int u, v, y1, y2, y3, y4;

// i along Y and the final pixels
// k along pixels U and V
for(int i=0, k=0; i < size; i+=2, k+=2) {
y1 = data[i ]&0xff;
y2 = data[i+1]&0xff;
y3 = data[width+i ]&0xff;
y4 = data[width+i+1]&0xff;

v = data[offset+k ]&0xff;
u = data[offset+k+1]&0xff;
v = v-128;
u = u-128;

pixels[i ] = convertYUVtoARGB(y1, u, v);
pixels[i+1] = convertYUVtoARGB(y2, u, v);
pixels[width+i ] = convertYUVtoARGB(y3, u, v);
pixels[width+i+1] = convertYUVtoARGB(y4, u, v);

if (i!=0 && (i+2)%width==0)
i+=width;
}
return Bitmap.createBitmap(pixels, width, height, Bitmap.Config.ARGB_8888);

}

private static int convertYUVtoARGB(int y, int u, int v) {
int r,g,b;

r = y + (int)(1.402f*u);
g = y - (int)(0.344f*v + 0.714f*u);
b = y + (int)(1.772f*v);
r = r>255? 255 : r<0 ? 0 : r;
g = g>255? 255 : g<0 ? 0 : g;
b = b>255? 255 : b<0 ? 0 : b;
return 0xff000000 | (r<<16) | (g<<8) | b;
}
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
I appreciate your help, but the result with this patch is far worse then the result with the patch I used before. using this patch results in to green/purple bars over the image. so not really nice :P thanks anyway
[Galaxy S 4 i9505 Original Android Development] 00raq00:
What is the brightness? Higher than patch from the repository?
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
No not really, it's the same I think, but then with artifacts, anyways, the problem is the exposure that is set incorrectly at some point.
[Galaxy S 4 i9505 Original Android Development] Spineshankumb:
Is it easier to port the Samsung Camera instead of HDR fix?
[Galaxy S 4 i9505 Original Android Development] 00raq00:
What the size of input array of yuv ? Is it width * height*3 ? If it is more bigger, maybe camera return array of 3 photos.
[Galaxy S 4 i9505 Original Android Development] sajk12345:
I've been reading through the thread but haven't really found out if there is anything wrong with RC2. Im running one of the beta versions and am quite happy with it except for the lack of mic in Skype and frontcam quality. Im guessing that these problems have been solved but is there any problems with RC2 and would I be better of with just waiting for the final version?
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Yes it is, but I don't want all the CM camera features since it's so NOT aosp. but until it's properly integrated in the aosp camera2 package I think I will use the one from cm sources.

final int frameSize = width * height;

along with:

int up = frameSize + (j * (width/2)), u = 0, v = 0;

int vp = ((int)(frameSize*1.5) + (j*(width/2)));

but I don't know much about this, else I would have fixed it a long time ago already :silly:

In RC2 mic in skype works and frontcam quality is forced to no additional jpeg compression. (100% jpeg quality)

waiting for a final may take a month or even 2. so I wouldn't wait for that xd
[Galaxy S 4 i9505 Original Android Development] :
The cm HDR Patch is in her github and next nightly now.
[Galaxy S 4 i9505 Original Android Development] djsolidsnake86:
bootloop at kitkat logo, how solve please??
[Galaxy S 4 i9505 Original Android Development] destevez:
1.—Remove the battery an boot.

2.—reboot in recovery and boot system from there.

3.—If your system don't boot ...Reboot recovery, wipe cache, dalvik &, system and flash the Rom again

Good luck.

Sent from GT-I9505 using Tapatalk [KOT49H] broodplank pre-RC3
[Galaxy S 4 i9505 Original Android Development] djsolidsnake86:
i must remove the battery when kitkat boot?
[Galaxy S 4 i9505 Original Android Development] destevez:
Nah, i said bad.. I wanted to mean. Follow that steps in case you cycle don't boot properly.

Sent from GT-I9505 using Tapatalk [KOT49H] broodplank pre-RC3
[Galaxy S 4 i9505 Original Android Development] sajk12345:
Just a quick question before flashing the RC2. Where can I find a compatible version of Gapps to go with it. Also is the boosterpack a must-have with the RC2? I've been reading about some battery drains without the boosterpack.
[Galaxy S 4 i9505 Original Android Development] expl0de:
Read the 1st post, it's there.
[Galaxy S 4 i9505 Original Android Development] Me Gusta:
[MENTION=1211621]danny_and_2[/MENTION] I remember you were making a kernel right ;) any news on it?

Me Gusta!
[Galaxy S 4 i9505 Original Android Development] TemporaryTester:
I personally use the ParanoidAndroid package.
[Galaxy S 4 i9505 Original Android Development] danny_and_2:
I have had some trouble with the WIFI not being able to "Turn ON", which I thought was because of my kernel implantats, but actually turned out to be because of the rom. The fix for that was this: GitHub Fix

The kernel is still under development and is now included in the up-comming rom BroodROM

What [MENTION=4354408]broodplank1337[/MENTION] and me has found out so far, is that our OC of CPU is somehow decreasing our score, which needs to be investigated deeper in the kernel.

Other than that we just need some I/O scheds govs and some CPU govs, which I will take care of tomorrow.

& of course a lot of cleaning up + maybe some additional tweaks for maximum peformance. I'm sure [MENTION=4354408]broodplank1337[/MENTION] can fill the blank spots on this one. ;)
[Galaxy S 4 i9505 Original Android Development] Brotuck:
There is a /d folder on my sdcard. With a lot of stuff inside. I presume this is debugging info. Running pre-rc3 can i switch this off ?

The updated camera also has added features ! Not only hdr is added...

Will test this tomorrow !
[Galaxy S 4 i9505 Original Android Development] Chi Ahrens:
Well, in the desktop cpu overclocking world, underclock is the new overclock. Theory is, that current desktop cpus can maintain a higher clock speed when not pushed to the limit which would cause the cpu to slow when the max temp is reached. Looking at logcat, I would imagine that the same is true for mobile processors.
[Galaxy S 4 i9505 Original Android Development] corb06:
After doing a clean install with RC3 I have had 1 random reboot when I was watching a video posted on facebook. First time it went ok, then when I pressed replay, the phone went black and rebooted.

The lagging seem to be gone I think.
[Galaxy S 4 i9505 Original Android Development] Me Gusta:
Would the cause of the lower score be this: you increase CPU clock, thermal throttling reached faster than at normal CPU speed, CPU slowed down to slower level that normal, lower benchmark scores?

Me Gusta!
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
As we have since KitKat the onscreen menubutton always shown anyone interested in swapping the hardware menu key to a recent apps key?

L

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] nuumuun:
i change the menu key to recents with exposed additions. long-press menu = menu :)
[Galaxy S 4 i9505 Original Android Development] 9Lukas5:
I edited a system file as I use ART and xposed isn't compatible with that^^

L

Gesendet von meinem GT-I9505 mit Tapatalk
[Galaxy S 4 i9505 Original Android Development] Masami1975:
please guys video player issue is fixed or not with pre-RC3 or not? I'm on a safe RC2 before flashing...
[Galaxy S 4 i9505 Original Android Development] droid_1989:
Haven't checked yet, the main reason for me to flash pre-RC3 was because of this reason. Will check and get back to you
[Galaxy S 4 i9505 Original Android Development] danny_and_2:
Proberly yes, the temp is the cause of this problem, I/we were aiming at a 2.3 GHz mark which may be a bit to much, if we gotta keep the phone "cool" so it can reach's it fully potential. Maybe a max OC clock between 2.0-2.2GHz and slighty less mV will resolve the problem + additional tweaks. Also we are looking into implant some thermal throttling settings, were people can set a min/max for when it should kick in, (like in ktoonsez kernel).

A test run earlier today gave me a 30264 in antutu, but we are aiming to get an higher score. :)
[Galaxy S 4 i9505 Original Android Development] ChaoticUnreality:
Not to derail the thread but has anyone had any boot loop issues with the newest gravity box (2.9.1). I updated from 2.8.6 and my phone refused to boot. Someone else on the GB thread has said they had an issue but didn't say the rom they were using. Wondering if its something to do with the ROM since the author of GB seems to think it is.
[Galaxy S 4 i9505 Original Android Development] Me Gusta:
I'm so excited.

And I just can't hide it.

I'm about to lose control.

And I think I like it.

Yeah.

Yeah.

:D

Me Gusta!
[Galaxy S 4 i9505 Original Android Development] skeamznz:
I also had this took me 9 times to boot eventually I just left it for 10mins and it booted. I have now completely uninstalled no boot problems and my battery life is far better.
[Galaxy S 4 i9505 Original Android Development] droid_1989:
Video player works fine. Only thing bugging me is the date/time reset after reboot - it's the chance I took for Pre-RC3...
[Galaxy S 4 i9505 Original Android Development] rommel76:
Is there a way to follow the progress of broodrom?
[Galaxy S 4 i9505 Original Android Development] torres76:
battery life on pre rc3 was terrible compared to rc2 :(
[Galaxy S 4 i9505 Original Android Development] DavraZ:
Aye, I even tried turning it off and let the app ask me to turn it on. But either way it asks me to turn it on. It's not a major problem but is there anything you can check out? (regarding GPS lock etc)

I'm afraid I cannot find anything in logs or changing system files, I only know how to wipe and flash tbh. :P
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
That should always work when you're coming from the same rom :)

What exactly does it say? that you need to put wifi on? since you can just check the box and click cancel, and it will be fixed. and please try a GPS test (https://play.google.com/store/apps/details?id=com.chartcross.gpstest) and share the results.

as you see there is nothing wrong.
[Galaxy S 4 i9505 Original Android Development] morpheus302:
This ROM is amazing but i have also the same problem with GPS.

It's Wifi and mobile network location that are not working. Every app asks me to turn that option on although it is ticked.

Please try release a fix for that and your rom will be perfect. Good luck.
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Thanks, can you show me a screenshot?? I really need to see what message you guys are getting.

Im currently testing WIfi + GPS (maps) and it works correctly.

Anyways, I just merged the definitive wifi fix (that bugged the wifi state). so hope next build will be more wifi friendly :P

Try opening the google apps settings, and go to location, there you have to make sure "access to location" is checked, but "Location notice" (or so) is off. with those settings it works perfectly for me, anyways, new build coming soon with new patches

next build should have this fixed:

- Low volume recording on video recording

- Wifi fixed (bug that makes you unable to reconnect until wpa_supplicant removed)

- Possible SIM card blackouts on some models

- Fix memory corruption when switching NFC off

- Fixes for Video Editor

- Fixed HTML5 full screen video player not playing

- Improved performance of libstagefright

- And again more aosp repo's then before.

- but still no HDR (I think) haha. xd
[Galaxy S 4 i9505 Original Android Development] maximoz:
Woohoo ... Yes more flashing :D
[Galaxy S 4 i9505 Original Android Development] InvisibleBow:
When do you think it will be up? Sorry for asking... :P
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
:P Whenever I have merged a new set of patches I will make a new build

Uh, I think in 30 to 60 min it will be uploaded :p
[Galaxy S 4 i9505 Original Android Development] InvisibleBow:
Awesome!! :)
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
will take a bit longer then expected, its building llvm and clang without ccache.. so rom builder will know the pain (atleast webkit got in ccached lol)
[Galaxy S 4 i9505 Original Android Development] rommel76:
Here's a example of gps/location issues. Google now asks me to turn on gps but when I click it it's already in.
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Build 5:

- Fixed Low volume recording on video recording (it should use the right mic now)

- Wifi fixed (bug that makes you unable to reconnect until wpa_supplicant removed)

- Possible SIM card blackouts on some models

- Fix memory corruption when switching NFC off

- Fixes for Video Editor

- Fixed HTML5 full screen video player not playing

- Improved performance of libstagefright

http://www.broodplank.net/files/aosp43-i9505-allworking-R5.zip
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
check the screen. set it like that. and it should work, anyways try the new build ;)
[Galaxy S 4 i9505 Original Android Development] rommel76:
Yup it's set like that and still some apps don't get access.

---------- Post added at 02:53 PM ---------- Previous post was at 02:45 PM ----------

And I have the same issue in build 5.
[Galaxy S 4 i9505 Original Android Development] DavraZ:
Pic

I have attached several screenshots related to my problems. I encounter another problem with GPS in the Chrome Browser. When browsing to Google it asks if it may check/know my location for better results. When I click 'yes' i get a soft reboot. Too bad I can not put in a logcat from my phone.

But it is good to see more people have the same issue on R4.

And I see build 5 is up. Good work. Will flash this asap. :)

Edit: can only insert 1 attachment? Meh.
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
have you tried reinstalling gapps??

Lol a soft reboot! wtf. i really have zero problems with anything location/wifi related. how is this even possible.

I bet reinstalling the rom with data wipe will fix it 100%. its really some gapps issue i think. I use gapps-jb43-20130726-dmd151.zip

what version do you guys use?
[Galaxy S 4 i9505 Original Android Development] rommel76:
I flash gapps with every build.
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
do you have "location notification" off?

Google Settings > Location > Location notification > swipe to off.

i really think google is just jealous of my aosp and there for screwing some devices up on purpose :silly::silly: xd
[Galaxy S 4 i9505 Original Android Development] Piero88:
Do you think you can come up with a fix for HDR?
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
someday It will come XD just like BT took a long time, just haven't found out what to merge exactly to make it work. (most recent merges from cm are system/media and external/jpeg but still don't seem to have effect :/)
[Galaxy S 4 i9505 Original Android Development] Piero88:
HDR doesnt work on CM either
[Galaxy S 4 i9505 Original Android Development] skeamznz:
Really I haven't found that I hit 6hrs screen on. And I'm hitting over 5hrs even when gaming with NDS emulator
[Galaxy S 4 i9505 Original Android Development] drnjstj:
rc2 has better battery life then pre-rc3, I agree.
[Galaxy S 4 i9505 Original Android Development] corb06:
I have awesome standby time with rc3. Check this out, only 11 min screen time during these 7,5 hours
[Galaxy S 4 i9505 Original Android Development] jerkysh:
I get some random lags and freezes on preRC3
[Galaxy S 4 i9505 Original Android Development] 0kti:
No freezes and lag here
[Galaxy S 4 i9505 Original Android Development] corb06:
USB Mass Storage

Is it possible to enable/activate USB Mass Storage in this rom?

Im trying to connect my phone to the USB-plug in my car, but it only accept usb mass storage and FAT 32 SD card...
[Galaxy S 4 i9505 Original Android Development] Laggalot:
i just decided to let go off dalvik (and xposed) to use ART and i love it!!! its so damn smooth !!!! changing and opening apps is so fast *-* although i had to download a fresher Gapps zip for some reason (kept crashing on RC2)

sent from my i9505 or nexus 7(2013)
[Galaxy S 4 i9505 Original Android Development] Barthlon:
You get 2% per hour. It's not as bad as an old battery, but I lose 4-5% in a night (7-8 hours.... even more awesome?

No extreme tweaking or anything.
[Galaxy S 4 i9505 Original Android Development] D!3G0 #1:
I have a problem.! wipe the rom install RC2 and now I can not install the apk IR universal remote control
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Why not? Please give me more info.

btw, people, I can say that RC3 is 99% ready :D testing now before releasing.
[Galaxy S 4 i9505 Original Android Development] :
my build server is already running. guess he we still need approximately 1 hour.

then tested. :D:cowboy:
[Galaxy S 4 i9505 Original Android Development] D!3G0 #1:
I wanted to try the rom curious jamal GE theme by kernels of around 29k according to developers and found that the same is not it all the same I got this rom 26k practically no heat consumption thereof. I use your ROM with the kernel chronic gives me very good results is very fast and has lots of flow moves well all games, achieve good convinacion. and well I wanted to go back to business as usual istalar with corresponding good wipes and I find this problem ..

sorry for my English:)
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Nice :) This build is really awesome @ ART, check out this performance without boosterpack, using stock kernel 3.4.76 on ART mode

Really high quadrant score ^^

rc3 online within 1 hour!
[Galaxy S 4 i9505 Original Android Development] D!3G0 #1:
broodplank that wipes me recommendations? I'll wait so download it before I go to sleep!
[Galaxy S 4 i9505 Original Android Development] :
My build server is ready now.

I install it on my s4 and test it.
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
Release Candidate 3 has been released!

Changes:

- Bionic Optimizations (RAM memmove performance increased by ~300%)

- Dalvik Optimizations (DBM optimize)

- Using real Audio-CAF now with working Mic on VOIP

- Camera wrapper fixes

- Camera app from CM11 (temporary) with working HDR

- Skia optimizations (Neon blit optimizations from Samsung)

- Updated neon-vfp instructions (libclang)

- Updates for RIL

- FLAC playback fixed

- Added DOLBY DD+ decoding

- Added Compressed VoIP format support

- Video playback fixes, HW/SW Decoder fixed and Smooth-streaming video playback enabled

- Fixes for HWComposer, Surfaceflinger and Memtrack

- Bluetooth updates

- Tethering regex updates

- Redundant modules removed

- Blue pulsing led on boot

- New ramdisk based on GE ramdisk

- Linux kernel updated to 3.4.76

Download:

http://www.broodplank.net/files/AOSP442-i9505-RC-3.zip
[Galaxy S 4 i9505 Original Android Development] skeamznz:
Awesome :D can't wait to test will you be releasing a booster pack at any point for RC3 or are all the optimizations built in? Thank you.

edit: installed running great using ART and man is it smooth.
[Galaxy S 4 i9505 Original Android Development] zorkis:
Hello! I have RC1. Can I just update to RC3? I have xposed and bionic optimization, will they cause trouble for the update?

Skickat från min GT-I9505 via Tapatalk
[Galaxy S 4 i9505 Original Android Development] broodplank1337:
I'm not sure when a newboosterpack will release. I'm currently waiting for the broodROM kernel to be ready (by: [MENTION=1211621]danny_and_2[/MENTION] ), then I will release it. and no not all optimizations are inside, the bionic optimization is about the same, but dalvik from boosterpack is better.

Yes you can update to RC3. xposed / bionic optimizations are in system, and during install the system dir is fully wiped so no they won't cause any trouble

btw I updated my app broodParts Lite :)

check it out:

(to enable init.d use my init.d toggler https://play.google.com/store/apps/details?id=com.broodplank.initdtoggler)

Attached APK!

(changes on market not live yet https://play.google.com/store/apps/details?id=com.broodplank.broodpartslite)
[Galaxy S 4 i9505 Original Android Development] Brotuck:
RC3 is out ! I am so pleased with the performance and stability of this Rom. (of previous releases)

Thank you !

Do have one question, how do i enable fast-charge ?
[Galaxy S 4 i9505 Original Android Development] Lither:
ART is working on RC3? If I switch from Dalvik to ART and some apps doesn't support ART, they will FC?