yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Active Android Development] mythi:
I expected this after the github commits ;)
[Galaxy S 4 Active Android Development] olarf:
I allow unknown sources but can't install any apk. Therefore it is very uncomfortable to switch ROMs. Beside this I think a file browser could be good as basic part in the aosp build. Switching via cwm works fine so in general everything runs good expect from installing apks. Can it be a result from don't installing gaps on second ROM?

Gesendet von meinem GT-I9295 mit Tapatalk
[Galaxy S 4 Active Android Development] spegelius:
Well i'm trying to keep this as close as possible to stock AOSP, so only addition so far is the SuperSU. But a file browser of some kind would be good. Just don't know how it is with integrating an app from play store to ROM on legal side...

I actually don't know if installing an apk should be possible without gapps... could be, as there aren't any google play framework.
[Galaxy S 4 Active Android Development] mythi:
you can include any app from from the play store as long as its free and you provide credits , i dont think there is a relation between sideloading apps and google framework , but could be google messing with its tail :mad:
[Galaxy S 4 Active Android Development] Pkt_Lnt:
This is excellent! I finally was able to get time to install after your 4.3.1 AOSP. Please keep it clean AOSP. Nice to finally have a 4.4.4 rom that boots and will deep sleep. My last attempt was very frustrating, as updates broke things and I could not get any help with it. I'll throw another donation your way soon.
[Galaxy S 4 Active Android Development] spegelius:
Yeah, vamilla AOSP is my aim with this one. If there's some modifications, i'll propably release a different version of the rom altogether, that way there's possibility to choose.

I think i'll include the Dualboot patcher app at least on the dualboot variants. That way it's easier to switch back to main rom. And maybe some free file manager app. I've been using ES File Manager myself.

Not being able to install apk is strange, it could be that there's some framework tidbit missing from vanilla AOSP and installing gapps installs it also. I'll need to test this some time. Also, i forgot to mention that the 0.6 has updated bionic from CM which caused recompile of most of the code and lot's of FC's before doing a clean installation.
[Galaxy S 4 Active Android Development] 6783:
Hello, how can i get\enable root for this rom?
[Galaxy S 4 Active Android Development] spegelius:
Yes, SuperSU is included and working
[Galaxy S 4 Active Android Development] olarf:
I run a pacrom (4.1.2 I think) for a while without gapps and installing APS was no problem. However this don't mean that it can be the reason in your clean aosp build as PAC is a full flavoured mix ;) To embedded switcher app and file browser is a great idea anyway, make things more easy for dualboot user.

Gesendet von meinem GT-I9295 mit Tapatalk
[Galaxy S 4 Active Android Development] spegelius:
Ver 0.7 up:

Updated SuperSU to 2.0.1

Updated su install scripts to match SuperSU CWM scripts (hopefully...)

Added ES FIle Explorer

Added DualBootPatcher ver 7.0.0 app
[Galaxy S 4 Active Android Development] olarf:
I try to install the dualboot Version but it fails!? Cwm told me that the ZIP file is not OK after beeing nearly ready. When i want to reboot then, cwm tell me that su is damaged and offer me to fix it. Then PAC boots Ingo Logo, stuck there and after switching it off and in it bootloops. So i flash PAC again and it was fine. Can there be something in the build or is my file maybe corrupt?

Gesendet von meinem GT-I9295 mit Tapatalk
[Galaxy S 4 Active Android Development] spegelius:
Strange, i flashed the 0.7 dualboot fine. Previous versions gave some errors because i was tweaking the updater-script to set proper permissions for su and other stuff + selinux context. You wouldn't happen to remember waht the error was? I'll have to check the zip that it has proper updater-script...

Edit: scripts are fine. I have a hunch that these lines are causing the problems:

run_program("/system/bin/toolbox", "chcon", "u:object_r:system_file:s0", "/system/bin/.ext/.su");

I remember seeing something similar when i was using newer CWM and tried to make a CWM script using older updater-scripts, some commands parameters were changed. Currently i'm on 6.0.4.7, you are propably running newer?
[Galaxy S 4 Active Android Development] spegelius:
I'll remove those lines for now, su has been working ok without them in the past. Let's see how it goes...
[Galaxy S 4 Active Android Development] olarf:
I use 6.0.4.7 aswell. However, I will download it again after dinner, try again and if the error appear again, I will report it 100% exact. Thanks for taking a look into it!

Gesendet von meinem GT-I9295 mit Tapatalk
[Galaxy S 4 Active Android Development] spegelius:
Yeah, i left unoptimized build with gcc 4.7 building last night. I did try unoptimized version few days ago, but i didn't do full wipe (and i think i'll need to check Jenkins settings for that build just in case...).

I've always built kernel as part of the rom. I guess it's using same GCC and optimizations as rest of the rom?

I hate these kind of bugs, now i've spent at least a week trying to get this working, and i thought it would be just to enable few things and make a build... :mad:
[Galaxy S 4 Active Android Development] allram:
when i build i use 4.7 for kernel and 4.8 for rom, might not be the proper way, but it works:)

like this:

<project name="JustArchi/linaro.git" path="prebuilts/gcc/linux-x86/arm/arm-eabi-4.8" remote="github" revision="4.7-eabi" />
<project name="JustArchi/linaro.git" path="prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8" remote="github" revision="4.8-androideabi" />
[Galaxy S 4 Active Android Development] spegelius:
Nope, just nope. Vanilla build, i.e. no optimizations (gcc 4.7 and google's default build flags) and no exfat workie. Shieeet...
[Galaxy S 4 Active Android Development] spegelius:
And it's fixed. Sepolicy was the key after all, i just had omitted all the sepolicy .te files on CM11's vendor/cm/sepolicy folder... :eek:. Well i hope i've at least learned something now... ;). Phew, that took WAY too much time. Oh well...

Non-optimized dev build available in gdrives dev-folder AOSP_4.4.4_r2_I9295_spegelius_v0.9.7-d23.zip. I'll be doing actual release tomorrow if nothing has broken, i'll need to do some inventory about all the changes before that...
[Galaxy S 4 Active Android Development] elgorra:
Couldn't resist the temptation! Installed v0.9.7-d23.zip Been playing with it for some minutes.

So far everything working great!

Front camera works

Switching between front and back works

Google Hangouts video calls work

Google Goggles (QR Code Reader) work

Google Camera (the one you download) still crashes but who cares

Great job [MENTION=3876105]spegelius[/MENTION] !!!!!
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Installed, seems good, maybe a little more smooth than -od8. Will test well tomorrow with camera and phone calls. My VoIP calls at home work fine, normal and speakerphone.
[Galaxy S 4 Active Android Development] spegelius:
0.9.7 released. Changes:

camera fixes: front camera should work now

exfat is now writable

external sdcard write restrictions relaxed

selinux rules updated from CM11

updater_script: properly set permissions and selinux metadata (may need CWM update)

kernel: Firmware files from TW KK kernel

kernel: Exfat 1.2.6 from TW KK kernel

kernel: Added f2fs

blobs: Wifi, NFC and Bluetooth from NE5

This is mostly the same as the d23 build, just built on Jenkins "officially" :rolleyes:
[Galaxy S 4 Active Android Development] SamuTnT:
Hi guys, been out for a while, has the BT issues been solved?

Can't find 0.9.7 on the gdrive, i see only the od8 in the dev folder..

EDIT: lol right after i wrote 0.9.7 showed up.. foing to test it ;)

Litttle question: what's the difference, using the phone as "normal user", between opt and nonopt?
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Well, I know you say it is the same as -d23, but in terms of all screen interactions, srolling, opening apps, everything is more responsive. I can flick long scroll lists and it just goes and goes and goes. Flicking sideways screen to screen in the Google Now launcher is fast and smooth. I do'nt know what you did, but you did good!! :good:
[Galaxy S 4 Active Android Development] spegelius:
I haven't done anything regars BT, so ... dunno?

opt and nonopt: http://xdaforums.com/showthread.php?t=2754997

Simply put, newer gcc and build flags, should improve performance. There's a possibility that something crashes when built with optimizations, but i've been using optimzed builds for months now without problems.

Now tah you mention it, there's some changes realted to panel and msm framebuffer that i haven't pushed to github. Might be the reason...
[Galaxy S 4 Active Android Development] pen²:
One question, maybe spegelius can help - I have a problem with every cm or aosp s4a rom for the last 3 months at least (not sure when it started). I have a German Vodafone reseller contract which offers me H+ but no LTE access. When I am in cities where I know H+ is possible, I only get "G" with these builds.

When I enter *#*#4636#*#* and go to phone, it says "GSM auto (PRL)". only when I change this to "WCDMA only", I will get H+. Then I can switch to WCDMA preferred and H+ stays for a while. After maybe half an hour, sometimes later, I am back at "G". I look again and the phone is set to GSM auto (PRL).

What mechanism is responsible for this change? I have great reception (4-5 bars at H+), so there is no need to go back to G. What can I do to find out more?
[Galaxy S 4 Active Android Development] Pkt_Lnt:
On this rom, you can access this via Settings, Wireless & Networks > More > Mobile Networks >Preferred Network Type. You will see 2G, 3G, and LTE only, but you can control all the choices via intents sent from Tasker, Llama, or some of the "smart radio" apps out there. Here is the list of choices by setting the number via intent:

0: WCDMA Preferred

1: GSM only <-- This would be "2G" on GSM networks

2: WCDMA only <--WCDMA is "3G" on GSM networks. You may know it as HSPA

3: GSM auto (PRL)

4: CDMA auto (PRL)

5: CDMA only <-- This would be "2G" on CDMA networks

6: EvDo only <-- EvDo is "3G" on CDMA networks

7: GSM/CDMA auto (PRL)

8: LTE/CDMA auto (PRL)

9: LTE/GSM auto (PRL)

10: LTE/GSM/CDMA auto (PRL) <-- Known as "Global"

11: LTE only

12: "unknown"
[Galaxy S 4 Active Android Development] pen²:
Hi,

thanks for your reply, but these settings don't stick and I wonder why. I'm set to 3g in the" official "settings - and the" hidden menu" shows this still as GSM auto (prl) and I get G only. And while I might create a tasker task which switches to wcdma only and then to wcdma preferred (the only way to get H+ where possible while having edge as a fallback where it is not) every n minutes, this switching always breaks the current connection.

As this has not always been like that with cm or aosp, there might be a commit which can be identified as the culprit and maybe this behavior could be fixed.
[Galaxy S 4 Active Android Development] spegelius:
I have no experience about those settings. However, some time ago the mobile network settings started to malfunction, Phone crashed when some of the network options were selected. I noticed this in CM and on AOSP and was fixed in AOSP by removing the overlay which controls what options are shown on the selection. Now there's only LTE(recommended), 3G and 2G. Previously there was a lot more settings. Dunno what happened on CM to break these, on AOSP it's propably those settings missing in the code or something...
[Galaxy S 4 Active Android Development] Pkt_Lnt:
This is something about 4.4 roms. I saw it in the VanirAOSP that I ran for a few weeks. The overlay is the problem that others have stated as well. That is why I posted the list of settings that can be controlled by intents, those stick and do not change for me. I use an AT&T mvno called Straight Talk here in the USA, and do not have 4G/LTE in the rural coastal California area where I live, so the 3G auto works great for me.

[MENTION=1261842]pen²[/MENTION] if you run Xposed, look at Gravity Box for its smart radio feature that works great, might help, might not. Or try these to see if they can keep your settings. I've used them both with success.

https://play.google.com/store/apps/details?id=com.xorware.network.s2g3g.xposed.switcher&hl=en

https://play.google.com/store/apps/details?id=com.voidvapps.intelli3g&hl=en

On another note,I changed to the 0.9.7-opt yesterday and the smoothness and scrolling are slightly better (or I swallowed a big sugar pill!). I have found nothing in my day to day use of this rom that does not work. I don't use camera much and no video,
[Galaxy S 4 Active Android Development] Michse222:
Hi pen,

I'm on FYVE (also german vodafone reseller) and checked it a few times today. Every time I checked it stated H+ or at least H. I did get G or E when on the road and reception was low.

So far my phone runs great, GPS, music via BT, IR blaster, viper4android FX, a lot of Xposed modules and back (as well as front) camera are working.

[MENTION=3876105]spegelius[/MENTION]

Many many thanks to you for your work! Ever since rooting and upgrading to kitkat this is the best rom experience I had :D
[Galaxy S 4 Active Android Development] pen²:
Hi,

Thanks for your feedback. What does *#*#4636#*#* show under phone? Gsm auto prl or wcdma preferred? What radio do you use? Unfortunately, I couldn't find a way to have this setting sticky, neither with gravity box nor with one of the apps :-\
[Galaxy S 4 Active Android Development] spegelius:
0.9.8 released. Changes:

camera: fixed exposure setting

added proper network operator name list
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Very Nice,Thanks!! And the new modems in the CM11 thread.

More coffee, beer, whatever to keep you going. :good:

Confirmation number: 6P8747177V3095849
[Galaxy S 4 Active Android Development] elgorra:
Great job [MENTION=3876105]spegelius[/MENTION] !!!! THANK YOU THANK YOU THANK YOU !!!!

Played around with camera apps a little bit with great success

Stock camera works much better and never freezes. Changed to HDR and no problem. Amazing job!!!

Google camera (the one you download from app store) crashed when I changed to HDR bue then works flawless and lets you take pictures in 16:9 6Megapixels that the stock camera doesn't

INSTAGRAM BUILT-IN CAMERA NOW WORKS!!! (it crashed all previous builds)

Can't think of anything else to fix. Read about some BT problems but I've used bluetooth with my car stereo for hours now and never had a single problem.

Thanks again, using your ROM really increases my overall happiness.
[Galaxy S 4 Active Android Development] pen²:
Which radio is recommended?
[Galaxy S 4 Active Android Development] Pkt_Lnt:
I am on NE5 and they work, but spegelius states that the new NH2 works well as well. Take a look here and down a few messages. New modems linked there as well. I have the NH2 and will try them in a few hours when I get time.

http://xdaforums.com/showpost.php?p=55354308&postcount=755
[Galaxy S 4 Active Android Development] pen²:
Thanks, I'm on NE4 at the moment, will try the others ;)
[Galaxy S 4 Active Android Development] Pkt_Lnt:
The NH2 modems gave me about 3db better weak 3G signal inside my house. I live in a very weak signal area in my town. I actually use the phone as a VoIP at home, but this is slightly better for me from NE5 to NL2.
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Hmmmmm. No deep sleep now. Only thing I changed was NH2 modem.bin and NON-HLOS.bin, could that be why? Seems odd, but battery is dropping faster today, but no wakelocks or anything I can find in BBS or WLD. I'll revert to NE5 and see.
[Galaxy S 4 Active Android Development] O-T:
Long time out of signal (connection with GSM/3G) drain the battery.

It's a phone ;) priority one is call function.

Check Battery - Cell Standby

Simple deep sleep check = no bars of battery usage when screen off, not in use.
[Galaxy S 4 Active Android Development] spegelius:
Don't know... speculating, different mobile characteristics might so something, no real knowledge about that. For me, business as usual on NH2. 1d 5h on battery, an hour or so charging and 56% left. Btw, i'm not sure how to chck that my phone is deep sleeping... never thought about it when battery has been working ok.
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Right now every day is the same forme,and it really dropped off today, I looked at Battery Settings. I also use Better Battery Stats, and nothing shosed a clue.

Yes, I have much weak 3G in the rural hilly coastal area where I live, and spend as much time as possible on Wi-Fi, It is just a dramatic drop today.

I highly recommend this app.

http://xdaforums.com/showthread.php?t=1740622
[Galaxy S 4 Active Android Development] elgorra:
Camera still has some rough edges. After a while it gets the phone warm and camera starts freezing again. And then other cameras like Instagram and google camera stop working. Stock camera freezes a little but doesn't crash.
[Galaxy S 4 Active Android Development] Grinface:
Tried AOSP_4.4.4_r2_I9295_spegelius_v0.9.8-opt_dual.zip, but WLAN didn't work.

In general, doesn't AOSP contain any nice tweaks like themes etc (just asking, cause it's my first aosp, had only CM)?

Grinface
[Galaxy S 4 Active Android Development] spegelius:
Well AOSP is the base of all other roms so there's only the bare minimum. No fancy stuff here, move along... As for the WLAN, did you format /system?
[Galaxy S 4 Active Android Development] Grinface:
Jep, everything via DualBoot Utils 3.3. Tried again after second reboot, no change. I've used your file, didn't build it by myself. I'm using Dualboot 8.

Edit: Just tried the non opt version. Same, WLAN not working...
[Galaxy S 4 Active Android Development] spegelius:
Hmm, strange. Can you get a logcat of togglinh wlan on and off? Newer builds are using NE5 blobs for WLAN, BT and NFC...
[Galaxy S 4 Active Android Development] Michse222:
Hi,

Sry for the delay - was moving and no Internet connection for days is really hard -.-

I'm on NE5, flashed via official german sammy stock rom long time ago. *#*#4636#*#* shows gsm auto prl.

Edit:

Just noticed that one and I have the same problem:

http://xdaforums.com/galaxy-s4-active/help/lock-glonass-kitkat-t2870507#post55418439

Anyone else?
[Galaxy S 4 Active Android Development] moviecut:
You can install xposed framework and install some modules like gravity box. Reeeally recommend it!

Gesendet von meinem GT-I9295 mit Tapatalk
[Galaxy S 4 Active Android Development] Grinface:
Maybe ;) I've no idea how to do it. I have no Eclipse installed. Some hints?
[Galaxy S 4 Active Android Development] spegelius:
You need adb and phone connected with usb. Then issue cmd:

adb logcat -c (clears log)
adb logcat > somefile.log
ctrl + c to stop capture
[Galaxy S 4 Active Android Development] Grinface:
This is the part with wlan (if something is missing, I can upload the whole file)
[Galaxy S 4 Active Android Development] spegelius:
Well 'Failed to load driver' would be clear reason why it doesn't work. But the question is why... i've been running with those blobs for a month now on various versions of this AOSP rom and no problem. On one development version i got no wifi, i was implementing some kernel stuff from Samsgun KK kernel and wifi just wouldn't start. I didn't investigate then, because i was already building noather dev version and never saw the problem again.

So you formatted /system and did factory reset before installing? What version of CWM are you running?
[Galaxy S 4 Active Android Development] Grinface:
Weird...

I've used DualBoot Utils 3.3, formatted System, Data, Cache (the all in one option within Dualboot Utils), installed your Image, Gapps, boot.

Using CWM 6.0.4.7.

Before trying aosp I've used PAC ROM on secondary without problems...
[Galaxy S 4 Active Android Development] spegelius:
Hmm i haven't tested the dualboot variants since 8.x if i remember correctly, but updater-scripts hasn't changed from those times... i'll do a test install once i get some time off CM11 stuff.
[Galaxy S 4 Active Android Development] O-T:
Native dualboot was implemented in CWM 6.0.4.8, Apr 9, 2014.

http://review.cyanogenmod.org/#/c/61955/ http://review.cyanogenmod.org/#/c/61955/

Sources for CWM are now 6.0.5.1 while i9295 users have 6.0.3.5 (v1.2) from [MENTION=3912380]LeJay[/MENTION], 6.0.4.7 [MENTION=3876105]spegelius[/MENTION] , or the untested 6.0.5.0 from [MENTION=5150212]mythi[/MENTION].

6048 http://review.cyanogenmod.org/#/c/62381/

6049 http://review.cyanogenmod.org/#/c/65162/

6050 http://review.cyanogenmod.org/#/c/67163/

6051 http://review.cyanogenmod.org/#/c/73035/

Whish I had the guts to maintain CWM for i9295 :o
[Galaxy S 4 Active Android Development] Grinface:
I just tried an older version, 0.9.6 opt - WLAN is working fine...

:confused:
[Galaxy S 4 Active Android Development] SamuTnT:
I'm using 6.0.5.0 from [MENTION=5150212]mythi[/MENTION] since i have the i9295 (from july) and so far everything has worked without problems.

EDIT: on CM11's Gdrive folder there is a "recovery_6.0.5.0_EXPERIMENTAL.tar.md5"...what about that? is a test version made by [MENTION=3876105]spegelius[/MENTION] ?
[Galaxy S 4 Active Android Development] spegelius:
Ok, nice find. At quick glance, the dualboot options is enabled in makefile on device tree. I'll test this once things quiet down with CM11...

Is this a dualboot version? 0.9.6 has older WiFi blobs... hey, what modem do you have? Might be that newer blobs don't work well with older modems :confused:

Every time CM is built, also recovery is build. So i took the recovery, installed and saw it was good and uploaded to gdrive. The differences to mythi's recovery is all the changes that have happened in between mythi's build and mine. Remember, recovery is built using same kernel as rest of the rom and other tools, so if there's updatesto those, then recovery has them also.
[Galaxy S 4 Active Android Development] O-T:
Rename [MENTION=3876105]spegelius[/MENTION] CWM to recovery_6.0.5.0.tar.md5 (to restore md5 check) and Odin flash as AP. I've used this as base.

As [MENTION=3876105]spegelius[/MENTION] noted this includes changes merged up to 20140817. Any open commits later can be found using review.cyanogenmod.org keyword "recovery"
[Galaxy S 4 Active Android Development] SamuTnT:
Ok thanks, going to try that!
[Galaxy S 4 Active Android Development] Pkt_Lnt:
delete
[Galaxy S 4 Active Android Development] SamuTnT:
Ehm i was talking about the CWM... ;) i'm now on mythi's 6.0.5.0 but if this one is built with CM should be better to use that as now i'm on CM11 build 0912 from [MENTION=3876105]spegelius[/MENTION] and since this morning is running great, doesn't have the BT bug that i still have with AOSP (0.9.8 also). I'm not experiencing random reboots luckily.
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Sorry medical treatments have me fuzzy. /done
[Galaxy S 4 Active Android Development] Grinface:
Jep, your dualboot version. I didn't flash a specific modem, just use your file.

I've chosen this old version especially for the old blobs.

My first ROM is Allrams CM11 version as of 07-25.

Does anybody else figured out the problem with non working WLAN?
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Mine works great, but I only run the regular AOSP, no dual boot.
[Galaxy S 4 Active Android Development] Grinface:
There's a big security issue in the aosp browser.

[MENTION=3876105]spegelius[/MENTION]: Which browser is used?

https://community.rapid7.com/community/metasploit/blog/2014/09/15/major-android-bug-is-a-privacy-disaster-cve-2014-6041

Grinface
[Galaxy S 4 Active Android Development] spegelius:
AOSP default. I have a look at that when i have some time...
[Galaxy S 4 Active Android Development] O-T:
The article say this only exist in AOSP browser before 4.4.x
[Galaxy S 4 Active Android Development] mythi:
Cm browser =/= Aosp browser
[Galaxy S 4 Active Android Development] Pkt_Lnt:
This is the AOSP build thread, not the CM11 build thread.