yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Active Original Android Development] Devo7v:
I'm not sure if this helps or not, but [MENTION=5322235]Globel[/MENTION] posted a camera that he said has HD video preview. It might be worth checking out. Maybe somebody more proficient than myself can decompile it and see what's going on in there. View the post here.
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
http://forum.slimroms.net/topic/100-galaxy-s4-active/#entry3936

That's what I tried today. Maybe somebody may join me there ;)

22km bike ride today with Runtastic Roadbike without any problems.

So, for me, the build of spegelius is my perfect daily driver and I will keep it till we get support of a Dev.

But this Rom is pretty much perfect, at least I found nothing to moan about, been using it since day one.

Greetings

Thomas
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
That's all I can do, now I hope someone will help :)

http://xdaforums.com/showthread.php?t=2566929
[Galaxy S 4 Active Original Android Development] spegelius:
Phew, finally some time to catch up with some Android development. Only one more week and then a week long vacation, duly needed :).

Anyways:

nice to hear it's working good :good:. I have similar experience, nothing wrong except the 720p recording

but, synced latest changes from CM repos and built another rom. Saw that gallery had some changes some had some hopes that it might fix or at least change the 720p video recording somehow. Well, it did change, but now both 720p and 1080p are broken... dayymn But anyways, that gives us a clue that the problem is not in camera drivers, but with the app itself. I'll have a look at the latest changes in gallery/camera code, hopefully i learn something :confused:.

that SlimRom seems doable; they have repo available, so in perfect world it would be just to clone it and use roomservice.xml to make a build. Propably have time to try this during sunday, if i survive saturday's christmas party... ;)

but before that i need to get some more space for my laptop, these repos are huge! Current CM10.2 repo takes 38G after build. And i have only SSD's, which are speedy, but not spacey :silly:. Oh well, maybe i'll spend my last money on larger disk. I do have a external disk, but i'm developing on Crunchbang linux, running as VirtualBox guest (host OS is Win 8.1) and judging from previous experienced with VirtualBox and USB, i certainly think NOT to trust it. And with Windows host i need to use USB1.1 mode, so it would propably take a week to get that amount of data to the disk, not to mention built etc. :rolleyes:
[Galaxy S 4 Active Original Android Development] moviecut:
Awesome! My donation-list becomes longer... Do we need an official maintainer for aosp? Should we set up a donation for the one who will officially help us getting full aosp Support? I am willing to spend 20-30 bucks for it and i think i am not alone here....

Gesendet von meinem GT-I9295 mit Tapatalk
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
I bet you deserve it !

I don´t care to much about 720p recording and the really important things are working so what? ;)

This is strange. But even with Focal there are the same Problems so a) it uses the same code or b) there may be still a problem with some kind of drivers.

Real Life comes first. Period. Yesterday I got a verbal punch to my Face from my youngest Son because I wasn´t reachable for hours when I tried to get that ugly "kind-of" patch running. Well, he was right ;)

My wife finished 2 Videos on Youtube and I have good chances to use her Laptop more. Checked the Space, 108gb free on her Laptop, if I don´t stumble into bigger Problems I will try with SlimRom so you can Focus on Cyanogenmod. But I can not promise Success as this is my first attempt ;)
[Galaxy S 4 Active Original Android Development] spegelius:
Heh, 720 i'll propably never use but nevertheless i don't like loose ends. Had quick look about the changes to frameworks/av and packages/Gallery2 code changes, but nothing seemed related. And now that i tested the newest build (12/12) again, 1080p recording works! Is it a timing problem or something else, i don't know. I took some logcat (adb logcat) when recording the video, but there's quite a lot of data, i'll have skim through it later. I saw a lot of cache invalidation failures, dunno if they are related... But the newest version seems good to use, it's on the dropbox link for the brave to try out. Been running it since 12th.

Setting up the SlimRom build should be similar as CM. Only problems i can see are:

- we most likely need to use cm-10.2 branch, not kitkat

- previously pointed out code changes need to be implemented on the jactiveltexx sources

- unforeseen incompabilities with code related to SlimRom. Hopefully there wont be any, i hope that SlimRom differences versus CM aren't related to kernel...
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
You're right about the loose ends ;) but generally this Rom is running so much better than Stock in any Point that I easily can forget about 720p.

What is 720p!?

I've set up a Ubuntu 12.04 LTS system now on the PC of my oldest Son. My first thought was Slimbean but then I thought it may be better to follow the Cyanogenmod tutorial as close as possible. I'm totally nub in Linux, so this was an adventure in itself lol but now the repo is syncing. My connection is slow but I'm not in a hurry ;)

If I get CM running I will post my build here or another thread, maybe it's more clean to create another one and keep this up-to-date in op. Or not? I don't know, you tell me ;)

The next step will be Slimbean :) but for now I'm learning by doing! Once I got a little more practise, I'm also very interested in AOKP. But that's just future dreaming for now ;)

In the Slim Github, just change the branch to 4.3, it's all there (dropdown menu)

Been using Android since the Google G1(HTC Dream) but never ever tried this myself. Kind of exciting lol

Have a nice weekend!

PS. Runtastic Roadbike is working fine. 40 km (it's cold) without problems, very accurate.
[Galaxy S 4 Active Original Android Development] marciozh:
I am using the latest version (12/12) and it works great!

My Active is flying ...

The only problem encountered is the 720p video (not important).

spegelius and ohwarumbloss, Thank you so much for your work !!:laugh:
[Galaxy S 4 Active Original Android Development] phoenixg36:
Hi spegelius, thx for your work.

I try your recovery and it works great. Now I have access to the exFAT SDCARD :D.

But the MD5 checksum didn´t mach. Do you rename the file after you generate it?

I make the file new and append it.
[Galaxy S 4 Active Original Android Development] spegelius:
I think it's just lower resolution, codecs'n stuff should be the same?

That's how it starts, you try something and learn stuff (with Linux it might be the hard way sometimes... ;). If it doesn't kill you, it'll make you smarter :D. Building CM is a good starting point, there's good instructions for it and proven to work. About the new post, well, as long as we aren't doing any actual development, i.e. adding features different to CM, this thread should do fine.

Oh good, didn't notice the pulldown for branches, thanks. Bought 500GB disk, should get it installed tomorrow.

I second the observation about GPS, it seems to be very accurate and fast to get a lock. But i only do 4km bike trips, riding to work :). And so far the winter has been really sh!tty here in Finland, raining water and +2 or so...

---------- Post added at 09:00 PM ---------- Previous post was at 08:57 PM ----------

Hmm, i flashed it with Odin 3.04 and it didn't complain about anything. But thanks for the report, i'll look into this. It might very well be that i renamed after generating...
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
I never get behind that error. And now I had to give the PC back so for now I failed :(
[Galaxy S 4 Active Original Android Development] spegelius:
Did you make the code changes posted previously? Also you need to run repo sync after you have copied the roomservice.xml to .repo/local_manifests.

HD installed, leaving repo to sync SlimRom for the night. Shall tackle with it tomorrow.
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Yes I did.

Also:

- Edited the mentioned files after "repo diff"

- Tried different Repos for "media-caf" and "display-caf"

- All updates to Ubuntu

- All updates to java

- repo update

- "repo sync" 2 times

It always ended with this error. Everything else was fine, pulling files from phone and so on. Maybe I'm more an end user..

My Son needed his PC back but I still have complete Ubuntu on my own HD, going to try again soon, I don't like giving up ;)

Wish you good luck with Slimbean and always ready to test and report :)
[Galaxy S 4 Active Original Android Development] pen²:
Sorry if the answer is obvious, but where is the original posting for 12/12 and/or a download link? I searched with tapatalk and couldn't find anything...
[Galaxy S 4 Active Original Android Development] marciozh:
Here:

https://www.dropbox.com/sh/e1w3hs9s2f8zdzz/AkZg-JQ2Zn

:D
[Galaxy S 4 Active Original Android Development] woodyby:
Stupid question : do you have the changelog with the previous version ?

Thank you
[Galaxy S 4 Active Original Android Development] fabbiotto:
Hi guys thank you has all for your work and I can finally install CyanogenMod on my device:good:

Small ot seems that Samsung has abandoned our s4 active, and see what has been officially released 4.3 for s3 and s4 active for our at all. He did not even have a cover for charging wirelles:(

Sorry for the outburst but we wanted.
[Galaxy S 4 Active Original Android Development] fabbiotto:
Hello I would like to report a bug in settings other mobile networks, network mode, if I want to just set wcdma me error (com.android.phone) but if I select td-scdma/gsm/lte me as mode wcdma preferred network.

sorry but I use a translator
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
This maybe a problem as long as we don´t really have one Person/Team buildung one Version ;)

The initial Release by LeJay was 4.3 I think while Spegelius´ build is 4.3.1, kind of final 4.3 CyanogenMod, if I get that right.

Don´t get bitter, get better. Our only chance is to get our Device run CyanogenMod/Open Source, for now. But that´s not really a Problem. If you compare stock Samsung 4.2 with Speglius´ 4.3 build you will recognize :

- Less Battery drain while idle

- Better Performance while gaming

- Zero Bloatware/annoying Commercials (who wants that on a 500€ Device?!)

- Rock stable System

- and and and ;)

I am only using standard Settings so I never got that Problem but it seems to be a Network/Provider Problem?

--

Entered wife´s Laptop again and setting up a new build enviroment lol I need to get that running or I will never sleep again :D

Greetings

Thomas
[Galaxy S 4 Active Original Android Development] fabbiotto:
I have 720p video and 1080 does not work:(
[Galaxy S 4 Active Original Android Development] fabbiotto:
edit 1080p ok after a reboot
[Galaxy S 4 Active Original Android Development] marciozh:
I agree with you!

This version is better and more stable than Samsung´s 4.2.2 stock.

Faster and less battery consumption. No bugs!:)
[Galaxy S 4 Active Original Android Development] spegelius:
Hmm, it shouldn't be other than jactiveltexx sources... maybe do repo init -b cm-10.2 and then repo sync just in case? Could you post your command history related to this build (run 'history'), edit unrelated stuff out maybe...

About SlimRom:

- repo sync fine

- had to edit roomservice.xml to point to SlimRoms repos

- created local versions of LeJays jactiveltexx repos so i can use them when repo syncing and my own changes aren't lost. Need to push these to github at some point, but not sure if it's ok to just use LeJays sources... with credits maybe?

- added slim.mk for jactiveltexx

- lunch slim_jactiveltexx-userdebug works :)

- make -j 6 bacon, building as we speak

- has problems with some libraries not being found by framkeworks/av/libstagefright and whatnot. Luckily they are in hardware/qcom/soemthing and can be copied over, but don't think that's the proper way to do it

- this just might work :D

I also had a look at LeJay's github and there's a repository for proprietary files. At quick glance there were libs i haven't seen in the CM build. I'll need to some comparing and testing, to see if they help with the camera.

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

Sorry, nope. Been thinking about that, i guess one way would be to write a script to go through all the projects and take every commit later than last build. Propably someone has already done it, would just need find it.

Don't know if there's changelogs on the internets that aren't device dependent. There shouldn't be any S4 Active related changes, as LEJay hasn't updated the sources nor have i since the second build.

---------- Post added at 10:48 PM ---------- Previous post was at 10:41 PM ----------

Didn't get that error, but i don't have LTE, only WCDMA. But this might be more like CM related problem...? Dunno.

---------- Post added at 10:51 PM ---------- Previous post was at 10:48 PM ----------

Yeah, i noticed that sometimes (usually after flashing some CM build), the first time i use camera app it does that. But second time it works ok. Need to run logcat sometime to see if i can make any sense of it (if i remember:) )
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Just finished setting up a new build enviroment, after several discussions with my wife ;)

Now I´m back in Virtual Box and syncing the CM repo. Will try to follow all advices again and this time post my errors here, maybe that will help getting help ;)

One actual question, is it needed to pull the vendor files from device or is it possible to get these files somewhere ? I am not able to connect the s4a to the virtual box but finally managed to connect guest and host to use /shared folders.. found it, d´oh...

Will pop in again when I ran into errors lol

Good luck with Slimbean, would be awesome!

Greetings

Thomas
[Galaxy S 4 Active Original Android Development] fabbiotto:
but the edit panel of notifications if I use the togle 2g​​-3g or only 3g or 2g only, it's all ok.:good:

---------- Post added at 11:01 PM ---------- Previous post was at 10:57 PM ----------

Hello excuse to demand a bit stupid but slimbean and a rom for our s4 active?:confused:
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
spegelius is trying it :) we will see what happens..
[Galaxy S 4 Active Original Android Development] fabbiotto:
ok :good:
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Error

Here is my Error :

In file included from hardware/qcom/display-caf/libhwcomposer/hwc_utils.h:32:0,
from hardware/qcom/display-caf/libexternal/external.cpp:33:
hardware/qcom/display-caf/liboverlay/overlayUtils.h: In function 'bool overlay::utils::isYuv(uint32_t)':
hardware/qcom/display-caf/liboverlay/overlayUtils.h:486:14: error: 'MDP_YCBYCR_H2V1' was not declared in this scope
make: *** [/home/thomas/android/system/out/target/product/jactiveltexx/obj/SHARED_LIBRARIES/libexternal_intermediates/external.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
thomas@thomas-EP35-DS3:

and I edited all Files so :

thomas@thomas-EP35-DS3:~/android/system$ repo diff

project build/
diff --git a/target/board/generic/BoardConfig.mk b/target/board/generic/BoardConfig.mk
index 34ef89f..fcba4f4 100644
--- a/target/board/generic/BoardConfig.mk
+++ b/target/board/generic/BoardConfig.mk
@@ -45,7 +45,7 @@ BUILD_EMULATOR_OPENGL_DRIVER := true
# Build and enable the OpenGL ES View renderer. When running on the emulator,
# the GLES renderer disables itself if host GL acceleration isn't available.
USE_OPENGL_RENDERER := true
-
+TARGET_KERNEL_CONFIG := cyanogenmod_goldfish_defconfig
TARGET_USERIMAGES_USE_EXT4 := true
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
BOARD_USERDATAIMAGE_PARTITION_SIZE := 209715200
thomas@thomas-EP35-DS3:~/android/system$

No clue... :(
[Galaxy S 4 Active Original Android Development] spegelius:
Hmm, it seems that you aren't building jactiveltexx build, but some generic build? Did you build by issuing

brunch jactiveltexx

You can also run:

lunch cm_jactiveltexx-userdebug
make -j x bacon

where x is the number of cores you want to use.

But apparently brunch does those things for you.

SlimRom built ok, but doesn't boot :(. Gonna try to get some logs out of it, just don't know how yet... :). PC doesn't recognize it so adb logcat doesn't work. Maybe there's some log that is stored on the device. Maybe build the debug version...
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
For SlimRoms,did you try to restore Kernel from previous CM build ? Like in ->advanced Restore-> restore boot.img ? Then wipe caches and reboot ? Thats how I got it at least to boot up w/o Camera..

For my build, did you actually "repo diff", then edit the Files so there are no differences or delete the red Files and add the green ones ? I'm totally confused. My brain already started to delete important parts of "normal" life to make room for all this...like "gettin tired"or"need food"or"press spacebar between words..." ;)
[Galaxy S 4 Active Original Android Development] spegelius:
Hmm, didn't try the boot.img restore, i'll give it a try. Had to restore CM backup, need my phone in working order for a while.

Heh, yeah i've been balancing between normality and tech stuff for more than 10 years, being sw developer by trade and being a geek ;). But there are days when those two lifes don't mix :eek:.

Actually i left the changes as they are, i didn't add or commit anything. It shouldn't matter as the only command that cares about that is repo. You can make changes to code and make builds, changed files are built

So the commands i run if starting from scratch:

cd ~/android/system
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.2

mkdir .repo/local_manifests
cp roomservice.xml .repo/local_manifests
repo sync

cd ~/android/system/vendor/cm
./get-prebuilts

cd ~/android/system/device/samsung/jactiveltexx
./extract-files.sh

(at this point i edit the source files)

cd ~/android/system
repo sync (just for kicks)

source build/envsetup.sh
brunch jactiveltexx
.
.
profit :P

After the env is set up, consequent builds happen like this:

cd ~/android/system
make clean
repo sync (to get latest CM stuff)
brunch jactiveltexx
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
I left you a red mark I don't understand and thank you very much for your time!

Here is my latest failure :

hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp: In member function 'bool venc_dev::venc_max_allowed_bitrate_check(OMX_U32)':
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3227:120: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3248:118: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3260:120: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat]
hardware/qcom/media-caf/mm-video/vidc/venc/src/video_encoder_device.cpp:3270:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make: *** [/home/thomas/android/system/out/target/product/jactiveltexx/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/video_encoder_device.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...

thomas@thomas-EP35-DS3:~/android/system$
[Galaxy S 4 Active Original Android Development] spegelius:
Ah, ok. The files are in ~/android/system/kernel/samsung/jactiveltexx:

diff --git a/drivers/video/msm/vidc/common/enc/venc_internal.c b/drivers/video/msm/vidc/common/enc/venc_internal.c
index 9d9fdc1..61504c7 100644
--- a/drivers/video/msm/vidc/common/enc/venc_internal.c
+++ b/drivers/video/msm/vidc/common/enc/venc_internal.c
@@ -971,7 +971,7 @@ u32 vid_enc_set_get_entropy_cfg(struct video_client_ctx *client_ctx,
vcd_property_hdr.sz =
sizeof(struct vcd_property_entropy_control);
if (set_flag) {
- switch (entropy_cfg->longentropysel) {
+ switch (entropy_cfg->entropysel) {
case VEN_ENTROPY_MODEL_CAVLC:
control.entropy_sel = VCD_ENTROPY_SEL_CAVLC;
break;
diff --git a/include/linux/msm_mdp.h b/include/linux/msm_mdp.h
index 246e92b..befe377 100644
--- a/include/linux/msm_mdp.h
+++ b/include/linux/msm_mdp.h
@@ -94,6 +94,7 @@ enum {
MDP_ARGB_8888, /* ARGB 888 */
MDP_RGB_888, /* RGB 888 planer */
MDP_Y_CRCB_H2V2, /* Y and CrCb, pseudo planer w/ Cr is in MSB */
+ MDP_YCBYCR_H2V1, /* YCbYCr interleave */
MDP_YCRYCB_H2V1, /* YCrYCb interleave */
MDP_Y_CRCB_H2V1, /* Y and CrCb, pseduo planer w/ Cr is in MSB */
MDP_Y_CBCR_H2V1, /* Y and CrCb, pseduo planer w/ Cr is in MSB */
diff --git a/include/linux/msm_vidc_enc.h b/include/linux/msm_vidc_enc.h
index 6c7ceec..e4f973f 100644
--- a/include/linux/msm_vidc_enc.h
+++ b/include/linux/msm_vidc_enc.h
@@ -607,7 +607,7 @@ struct venc_capability{
};

struct venc_entropycfg{
- unsigned longentropysel;
+ unsigned long entropysel;
unsigned long cabacmodel;
};

That latest output shows only warnings, which don't stop the build. There's propably an error further back. That's the nice thing about parallel compilation, each thread spews stuff to the screen...
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Ok, I'll give up for today..

I got a finished build, at least it stopped with :

but there is no whatevercyanogenunofficial.zip in /out

There ARE many in /out/target/product/jactiveltexx like,,

- boot.img

- /system

- /recovery

and and and but no .zip and no META-INF

But there where no Errors..

Going to give it one more try, tomorrow..

Thanks for your help in any way :)

Greetings

Thomas

---------- Post added at 10:27 PM ---------- Previous post was at 09:30 PM ----------

I did it once again, step by step as you mentioned and now it works :)

Thank you very much for your help!!

Will upload soon my very own first Cyanogenmod YES!!!! ;) DONE :D

The Name of the Baby : cm-10.2-20131219-UNOFFICIAL-jactiveltexx.zip

(MD5 a52ead5adb9fe5adba1be1d7ee51b517)

Wohooo :)

Feel free to download, use, modify, eat, smoke or just install it on your Samsung Galaxy S4 Active (i9295) but what ever you do, be aware, you're doing it on your own risk! I've tested it on my Device but...bla bla, Download, flash & use at your own risk. Period.

Oh, video recording in 720p works but the playback is green and broken. 1080p works fine but the sound seems to be a bit low..

What is 720p ? ;)

More bugs? You tell me/us.

Greetings

Thomas
[Galaxy S 4 Active Original Android Development] marcelser:
recovery does not boot

Hi I also tried this new recovery. The old CWM 1.2 booted perfectly, but when I extract the md5 from the zip file and flash it through odin recovery no longer boots. After I see "booting recovery" on the GS4 boot logo device goes black (then I have to power down it by pressing power button for 4 seconds twice). Is maybe something wrong with the display driver. It seems nearly like it's running hence I have to press power button for 4 seconds twice.

Is there anything to clear or do before flashing it through odin, or do I have to flash the zip through cwm 1.2?

Thanks for any help, cause I also need exfat support in recovery but had to re-flash 1.2 in order to get CWM back and working again
[Galaxy S 4 Active Original Android Development] fabbiotto:
hello I also have the same problem I tried several times but I have not solved, so someone can enlighten us on this kind inconvenience.:(
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Are you sure that you're using an unlocked Samsung Galaxy S4 Active (i9295)?? Because I have zero Problems with the recovery and have no clue what happened there..
[Galaxy S 4 Active Original Android Development] fabbiotto:
hello, the recovery 1.2 and ok, however if I try to install the 6.0.4.5 I have a black screen.