yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Active Original Android Development] LeJay:
The rom is pretty stable, save from some camera issues. I think it would make more sense to have a separate thread to discuss your development in. I'm still curious, did you make any improvements to the rom?
[Galaxy S 4 Active Original Android Development] br0adband:
But you're hijacking this thread about LeJay's ROM with hints and information about your ROM, hence the suggestion to create a new thread about your ROM which I agree with.

People have a hard enough time finding useful info about the GS4A already, no sense mucking things up and making it even tougher to get that useful info by burying it in random posts in unrelated threads.

If you have something to contribute in the form of a ROM or have intentions of creating a new one, even just for potential testing, then a thread dedicated to your efforts and that ROM are where all that stuff should be.
[Galaxy S 4 Active Original Android Development] :
Yes, I will make a thread, I just wanted to confirm boot of the rom before I post it, messing up peoples phones if it doesn't
[Galaxy S 4 Active Original Android Development] carmatic:
i have just installed this rom... the thing i like most about it is the small size , 200mb download vs 1.4gb for the stock rom ... also, more features in Xblast Tools work compared to the stock rom due to not having the Samsung UI

the thing i miss most from the stock sgs4a rom is turning on the torch by holding down the volume up key when the screen is off

also there are some sgs4 hardware-specific things i would like to see in a CM rom -

finger hovering ... in the stock rom this brings up a help dialogue with some setting menus but it also acts as a preview when playing videos and a magnifying glass in the stock browser... are 3rd party apps able to access this feature? the lock screen effect is pretty cool too but it is not important, showing off the phone being able to detect your finger without touching the screen

front sensor (air gestures)... when the screen is off bringing your hand to the sensor will show a status screen that can only be accessed this way, while in the stock browser waving your hand over the sensor vertically scrolls and waving side to side makes it go back and forth...altho i wish that it switched between tabs instead.... again, can 3rd party apps access this feature?
[Galaxy S 4 Active Original Android Development] Cederic:
Those features are from what I've found specific to the Samsung software, and doesn't work with 3rd party apps even on the stock phone. I doubt 3rd party support will surface anytime soon, if at all.
[Galaxy S 4 Active Original Android Development] moviecut:
hey LeJay, thank you so much for your work. i have some questions about this rom:

1) is mhl output working on this?

2) what are the next steps before this can get an official build with nightlys and so on? are there any plans?

3) how different is this rom in comparison to the original s4 rom? could it be possible to make only a patch.zip with display and camera libs, than can be patched over a s4-rom? sorry, if that is a dumb question ;)

Gesendet von meinem GT-I9295 mit Tapatalk 4
[Galaxy S 4 Active Original Android Development] uvbeenzaned:
Is it possible that that this ROM can be built for the regular actives kernel? Or is that out of the question completely? I'm kinda curious.

Sent from my Galaxy S4 Active.
[Galaxy S 4 Active Original Android Development] LeJay:
It doesn't boot with the standard kernel. Which means you can't use it with safe strap, which is unfortunate. I don't see any easy fix for this.
[Galaxy S 4 Active Original Android Development] LeJay:
1)

Don't know if mhl is working, I don't have the cables.

2)

I'm just a guy who put together a cm build because I wanted it myself and shared my work with people here. I haven't talked to anyone from the CM team. If they could unlock the bootloader from the american version (or get a custom kernel to run by other means) it would be a huge boost towards getting official support.

3)

That's a great question. The S4 active Cyanogenmod is very similar to the standard S4 Cyanogenmod rom. It shares a large part of the code. Essentially you need to replace the camera application, the camera libs and the kernel. So, yes, it would be possible to simply patch S4 roms IF they're based on CM.
[Galaxy S 4 Active Original Android Development] :
Could a CM 10.1 ROM be ported to resolve the kernel problem?

---------- Post added at 08:19 AM ---------- Previous post was at 08:02 AM ----------

I'll test if it's not too late.
[Galaxy S 4 Active Original Android Development] carmatic:
well, for what its worth ... http://stackoverflow.com/questions/16666965/floating-touch-on-galaxy-s4
[Galaxy S 4 Active Original Android Development] fkosa:
This one is my version based on LeJay's source. I use it in everyday work, so I think it's pretty reliable, but I would need some testers. Please feedback. Thx.

CM 10.2 unofficial 2013.10.10

https://db.tt/KVZe6cy8
[Galaxy S 4 Active Original Android Development] brotbuexe:
Installs fine. Not much tested yet. No issues so far.
[Galaxy S 4 Active Original Android Development] fkosa:
LeJay, are you not intterrested in porting OmniRom for the i9295?

Just wondering... :rolleyes:
[Galaxy S 4 Active Original Android Development] brotbuexe:
Glove mode would be nice ( http://xdaforums.com/showthread.php?t=2383143 ).

And the button back light stuff should be removed. Creating errors in love at.
[Galaxy S 4 Active Original Android Development] injenue:
Hi, installed and using it day to day. No bugs so far. Everything works fine!
[Galaxy S 4 Active Original Android Development] uvbeenzaned:
For which phone? International?

Sent from my Galaxy S4 Active.
[Galaxy S 4 Active Original Android Development] whizz:
What is the difference with LeJay's version? Does HDR work on the camera? How about recording video's? :) Any known issues?
[Galaxy S 4 Active Original Android Development] fkosa:
Yes, This one is for the international one, i9295.

---------- Post added at 05:19 AM ---------- Previous post was at 05:13 AM ----------

I did not change anything, except for upgrading the cm-tree, so this one is 'newer'.

The latest one is https://www.dropbox.com/s/lsoxm232swqnz54/cm-10.2-20131018-UNOFFICIAL-jactiveltexx.zip

The HDR camera and video recording issues are the same as in LeJay's, but you can use Focal instead (Focal is not part of the cm-tree anymore, you can download it from Google Play).

I have some compiling issues since 2013.10.18, after a Mac OS upgrade I will try to figure it out. Any help is well appreciated. :)

hardware/qcom/media-caf/mm-video/vidc/vdec/src/omx_vdec.cpp:10244:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
[Galaxy S 4 Active Original Android Development] whizz:
Thanks, I will probably try it this weekend.

As to your warning, there is a difference between warnings and errors. Errors stop compilation, because it cannot go further. What you get is a warning, which should still compile.. Your warning is saying that somebody has programmed something in that file, at line 10244, character 27, where a comparison between two different types of numbers takes place (one can be nagative, the other can't). It's just a hint to the developer that he should not compare these two directly.
[Galaxy S 4 Active Original Android Development] fkosa:
I understand the warning, but just do not understand why the compile process stops here... :( There's no error message.
[Galaxy S 4 Active Original Android Development] fkosa:
I have found the error message:

"hardware/qcom/display-caf/liboverlay/overlayUtils.h:481:14: error: 'MDP_YCBYCR_H2V1' was not declared in this scope"

Anybody knows what this is?

---------- Post added at 08:46 PM ---------- Previous post was at 08:42 PM ----------

Meanwhile I found out that there are issues in automatic (GSM) network select while roaming. Actually automatic selection does not work, and the phone does not display network names only codes. Is this a cm related bug, or device related?
[Galaxy S 4 Active Original Android Development] whizz:
Maybe this is of any help? http://xdaforums.com/showpost.php?p=46633325&postcount=4793&nocache=1&z=8380852232307839
[Galaxy S 4 Active Original Android Development] fkosa:
Problem resolved: I had to add the variable MDP_YCBYCR_H2V1 to msm_mdp.h in LeJay's source.

So here's what I cooked today:

https://www.dropbox.com/s/57ltwizpz5oild1/cm-10.2-20131025-UNOFFICIAL-jactiveltexx.zip

Good apetite! ;)

But don't forget: I take no responsibilities for your devices!
[Galaxy S 4 Active Original Android Development] fkosa:
This build does not boot. I'm working on it.
[Galaxy S 4 Active Original Android Development] nasaprinsloo:
Hi [MENTION=3912380]LeJay[/MENTION]

are you still Active on this port?

Just got my S4A intl yesterday and already rooted - coming from S2 with 10.2 nightlies.

I would be available to test anything needed.

Just wanted to check if someone is still doing this 10.2 for this phone before I install the CyanogenMod 10.2 - 20130917 (more than one month ago)

thanks
[Galaxy S 4 Active Original Android Development] nasaprinsloo:
Anyone running this ROM?
[Galaxy S 4 Active Original Android Development] injenue:
Video recording doesn't work with Focal either.
[Galaxy S 4 Active Original Android Development] fkosa:
What do you mean 'doesn't work'?

For me the preview have resolution issues, but the resolution is fine during playback.

Can you record the video?
[Galaxy S 4 Active Original Android Development] injenue:
On my device, focal doesn't allow video recording. It says can't connect to camera or something like that.
[Galaxy S 4 Active Original Android Development] whizz:
Is it possible to enable installing apps to SD in any way?
[Galaxy S 4 Active Original Android Development] br.ruan:
I don't know if he is actively working on this, but his 20130917 build works very well - I have it currently installed on my device.

I am busy syncing source with Cyanogenmod, (I have a really slow connection..) to build an updated version for me.

If it's done building I might upload it here if it works well

NOTE: Video recording sometimes outputs bad image on 20130917.. hard to describe but its no good.

EDIT: I don't use Focal.. Using stock camera app
[Galaxy S 4 Active Original Android Development] leonpr:
I've been using this as my daily rom for a month or so now with zero issues.
[Galaxy S 4 Active Original Android Development] nasaprinsloo:
Thank you both for the reply. I came from i9100 CM10.2. Since the first week of getting it I got into CM. And i'm not big on camera or issues. For me daily use is some calls and internet/apps. The rest is extra. And the battery usage i'm getting from the stock(compared to 1600) is awesome. So i can only imagine the benefits in up-time with CM.

I will download and install this tomorrow.
[Galaxy S 4 Active Original Android Development] br.ruan:
I'm also coming from the I9100 actually, and it's a 1650 mAh Battery :p

Anyway battery life is great :)

And basic camera functionality works fine though.
[Galaxy S 4 Active Original Android Development] snadge:
Accelerometer / Direction sensor woes

Im about to go on a trip overseas, and thought I'd have a go at trying to figure out why the orientation sensor is all screwy on my S4 active. The firmware it came with was UAMF5, and in an attempt to try and fix this issue I have updated it to UAMH3. On the stock rom, my direction sensor now works properly. Happy days. But now in CM 10.2, I get no gravity or linear acceleration sensor readings in the AndroSensor app (on play store), and hence no orientation reading either.. These things used to at least give readings on the old baseband, albeit incorrect ones most of the time.

For the time being, I'm going to revert to the stock UAMH3 TW rom with working directional sensor. If anyone else is having this issue and has any ideas how to fix it, i'm all ears. :confused:

*edit* .. Here's the messages I'm seeing in logcat

E/Sensors ( 783): GyroSensor: unknown code (code=6)

E/Sensors ( 783): GyroSensor: unknown code (code=7)

E/Sensors ( 783): GyroSensor: unknown code (code=8)

Repeated over and over again.

I have tried replacing: jf-common/proprietary/lib/hw sensorhubs.msm8960.so and sensors.msm8960.so

With newer versions I've found on github, and also from the updated TW rom itself, but had no success with that. Error messages went away, but still no gravity/linear acceleration inputs. :(
[Galaxy S 4 Active Original Android Development] givemeaname:
The same here.I switched back to stock rom because of this problem.

I recognized:

- only the software sensors are affected. for example linear acceleration or gravity sensor. the hardware sensors work as expected

- if i shake the device strongly i got sensor values for linear acceleration BUT the values look like a sine wave which keeps moving even if the device is not accelerating
[Galaxy S 4 Active Original Android Development] brotbuexe:
NFC service stopped

Is anyone using NFC with this builds?

I'm using the 2013.10.10 build, bought some nfc tags to play with (http://www.amazon.de/dp/B008TOHMVE/ref=pe_386171_38075861_TE_item) and all I get is a nfc service fc.

The tags are "NFC Forum Type 2 Tag - ISO 14 443-2 A, ISO 14 443-3 A" with 168 byte memory.

My logcat: https://docs.google.com/file/d/0B8NrUksLGljUNnRrLWdOZkdtZkk/edit?usp=sharing&pli=1
[Galaxy S 4 Active Original Android Development] brotbuexe:
Okay, the issue is only when the nfc tag is empty.

When I write something on it, for example with the App "Trigger", there is no more fc.

Another thing. The current imdb app version is crashing. Any idea for a workaround? Cannot find the "kindle version" as an apk file.

11-08 18:53:03.119 W/System.err(12317): java.lang.RuntimeException:
11-08 18:53:03.119 W/System.err(12317): ======================================================
11-08 18:53:03.119 W/System.err(12317): YOU ARE TRYING TO RUN THE APP ON THE WRONG DEVICE
11-08 18:53:03.119 W/System.err(12317): This is a Kindle Fire device, you must build the app for a kindle-* target
11-08 18:53:03.119 W/System.err(12317): Either run ant with the correct target, or in local.properties change eclipse.config
11-08 18:53:03.119 W/System.err(12317): Changing the target to "anything-eng" will allow you to run the app on all devices
11-08 18:53:03.119 W/System.err(12317): ======================================================
11-08 18:53:03.119 W/System.err(12317):	at com.imdb.mobile.devices.BuildValidator.abortApplication(BuildValidator.java:82)
11-08 18:53:03.119 W/System.err(12317):	at com.imdb.mobile.devices.BuildValidator.validate(BuildValidator.java:59)
11-08 18:53:03.119 W/System.err(12317):	at com.imdb.mobile.util.ApplicationInitializer.doNowOnThisThread(ApplicationInitializer.java:138)
11-08 18:53:03.119 W/System.err(12317):	at com.imdb.mobile.util.ApplicationInitializer.initialize(ApplicationInitializer.java:95)
11-08 18:53:03.119 W/System.err(12317):	at com.imdb.mobile.HomeActivity$1.run(HomeActivity.java:59)
11-08 18:53:03.119 W/System.err(12317):	at android.os.Handler.handleCallback(Handler.java:725)
11-08 18:53:03.119 W/System.err(12317):	at android.os.Handler.dispatchMessage(Handler.java:92)
11-08 18:53:03.119 W/System.err(12317):	at android.os.Looper.loop(Looper.java:137)
11-08 18:53:03.119 W/System.err(12317):	at android.app.ActivityThread.main(ActivityThread.java:5227)
11-08 18:53:03.119 W/System.err(12317):	at java.lang.reflect.Method.invokeNative(Native Method)
11-08 18:53:03.119 W/System.err(12317):	at java.lang.reflect.Method.invoke(Method.java:511)
11-08 18:53:03.119 W/System.err(12317):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
11-08 18:53:03.119 W/System.err(12317):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
11-08 18:53:03.119 W/System.err(12317):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
11-08 18:53:03.119 W/System.err(12317):	at dalvik.system.NativeStart.main(Native Method)
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Hey!

I finally tried this Rom and it's running awesome so far. Wi-Fi, Gps, Phone.. Cam as mentioned, but I found 1080p recording is very ok, no problems.

Now, pressing thanks could have been enough but I need to ask one thing, on my i9100, Developers where fighting the damn devil Exynos but now, even Dead Trigger 2 runs very good, seems to be running even better than on stock.. I am confused, the i9295 isn't using Exynos chip, is it?! The information I found where about Galaxy S4 with 3 different cpu's..

So, what is it?

Thanks, thanks, thanks!!!

Greetings

Thomas
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Nevermind, found the answer.
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
[MENTION=3912380]LeJay[/MENTION],

I've been using this Rom for a while now and it works pretty good. The Cam gives me some trouble but the basics are ok so that's ok.

I don't have the Hardware to compile Cyanogenmod myself so I have to ask, you presented this version to us, wouldn't it be possible to keep this up to date?

Don't think we need 4.4 in any way but a more actual build of 4.3 would be awesome.

In this build, the hardware of the active seems to be kind of unleashed, way better than in Samsung Stock..

I don't have much but I am willing to donate and I'm sure there will be more people.

Thanks

Thomas
[Galaxy S 4 Active Original Android Development] Devo7v:
Can somebody extract the S4A kernel from CM10.2 and post it here as a flashable zip? I'm wondering if it's possible to flash CM10.2 based ROMs for the i9505 and then flash the S4A kernel on top of it as a way to get i9505 ROMs to work on the S4A.
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
I don't think this will work but you may try this:

-Flash this Rom from op

-Backup Rom

-Install another 10.2 Rom

-Advanced Restore Boot..

But as there are always/often changes made to the Kernel,I really don't think this will work.

Greetings

Thomas
[Galaxy S 4 Active Original Android Development] DiaboluZ:
Support for updated build?

(warning: noob here)

Hi, I'm trying to build an updated version but I am getting same error error in different installations of ubuntu 12.04

xxx/android/system$ brunch jactiveltexx
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/jactiveltexx/cm.mk]]: "vendor/samsung/jf-common/jf-common-vendor.mk" does not exist. Stop.
Device jactiveltexx not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for jactiveltexx not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifests/roomservice.xml.
build/core/product_config.mk:238: *** _nic.PRODUCTS.[[device/samsung/jactiveltexx/cm.mk]]: "vendor/samsung/jf-common/jf-common-vendor.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_jactiveltexx'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

CM 10.2 is my preferred choice for S4A, even with currently known bugs, I just can't stand Samsung standard versions.

Any help to make it possible to finish the build will be greatly appreciated :fingers-crossed:
[Galaxy S 4 Active Original Android Development] br.ruan:
Did you follow the instructions on the OP exactly?
[Galaxy S 4 Active Original Android Development] DiaboluZ:
Yes, OP and CyanogenMod guide from S4
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Looks like the 'roomservice.xml' isn't in the right place?

Sorry,nub,too, just a wild guess after reading your error message.
[Galaxy S 4 Active Original Android Development] uvbeenzaned:
Wait, so you are trying to build a compatible version for the att phone? Or am I missing part of the conversation?

Sent from my Galaxy S4 Active.
[Galaxy S 4 Active Original Android Development] DiaboluZ:
roomservice.xml is at /android/system/.repo/local_manifests/

---------- Post added at 12:28 AM ---------- Previous post was at 12:25 AM ----------

no, just trying to rebuild, I'm on I9295
[Galaxy S 4 Active Original Android Development] uvbeenzaned:
I so wish we could have one for the attached version. I so miss cm on my phone.

Sent from my Galaxy S4 Active.
[Galaxy S 4 Active Original Android Development] DiaboluZ:
I hate to bump, but does anybody seems any chances of getting updates here or in Darkman's ROMs?

It is a pity to see more movement at locked bootloader threads, I9295 is a for sure a very good device, water proof/resistant is a plus comparing to I950X. :cool:
[Galaxy S 4 Active Original Android Development] jott_st:
DId you get past your error yet?

I tried to build it too, but I getting the following error while building:
[Galaxy S 4 Active Original Android Development] DiaboluZ:
Nope, still stuck at beginning of brunch jactiveltexx. Is your error happening at brunch/breakfast too?
[Galaxy S 4 Active Original Android Development] jott_st:
Mine happens during brunching. It starts to build and breaks at this point.

I actually ran into the error you described as well. But I don't remember what I did to get it to work.

I think I added the roomservice.xml to lacal_manifest, redid a repo sync, added the prorietary files, ran "source build/envsetup.sh", then brunch jactiveltexx and it started to build.
[Galaxy S 4 Active Original Android Development] spegelius:
I got it built, took some fiddling. My first CM build ever :). And it works (well boots and seems to work...). The process was somewhat like yours:

- repo init 10.2

- add roomservice.xml to local_manifests

- repo sync

- source build/envsetup.sh

- extract_files.sh in android/system/device/samsung/jactiveltexx

- edit few sources

- brunch jactiveltexx

At some point i had a problem building, it complained about No rule to make libsomehing... fixed this with rerunning the extract_files.sh

Also the second change shown below, i'm not entirely sure that's correct, as now the struct has two entropysel items, other is just longentropysel. I originally did try to change longentropysel to long entropysel, but longentropysel is used somewhere in the code. I might backtrack and see if longentropysel something sensible, or just a typo in two places...

Edited file diffs:

project kernel/samsung/jactiveltexx/
diff --git a/include/linux/msm_mdp.h b/include/linux/msm_mdp.h
index 246e92b..a12e808 100644
--- a/include/linux/msm_mdp.h
+++ b/include/linux/msm_mdp.h
@@ -111,6 +111,7 @@ enum {
MDP_Y_CBCR_H1V1, /* Y and CbCr, pseduo planer w/ Cb is in MSB */
MDP_YCRCB_H1V1, /* YCrCb interleave */
MDP_YCBCR_H1V1, /* YCbCr interleave */
+ MDP_YCBYCR_H2V1,
MDP_BGR_565, /* BGR 565 planer */
MDP_IMGTYPE_LIMIT,
MDP_RGB_BORDERFILL, /* border fill pipe */
diff --git a/include/linux/msm_vidc_enc.h b/include/linux/msm_vidc_enc.h
index 6c7ceec..82e90de 100644
--- a/include/linux/msm_vidc_enc.h
+++ b/include/linux/msm_vidc_enc.h
@@ -607,6 +607,7 @@ struct venc_capability{
};

struct venc_entropycfg{
+ unsigned long entropysel;
unsigned longentropysel;
unsigned long cabacmodel;
};
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
Very nice to see this :)

I'm willing to test and report, pm me or quote this so I will notice.

Greetings

Thomas
[Galaxy S 4 Active Original Android Development] jott_st:
Thanks, that looks like the part where my build broke. I'll try to get mine to build too.

unsigned longentropysel; does look like a typo.
[Galaxy S 4 Active Original Android Development] spegelius:
Video recording fcs as soon as i try to switch to video mode. I suspect this is something to do with the longentropysel, at least the filename points to video encoding... i could be wrong. I'll try to debug this more as soon as i have time. If someone wants, i can upload the build to Dropbox and share the link...
[Galaxy S 4 Active Original Android Development] ohwarumbloss:
We can always try. I don't think that I'm the person who can fix such problems but if it's only the video, that'll be great already.