yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Active Android Development] spegelius:
Found the problem; init.d support had been removed while i updated device tree for 1.0.0 support. So added it again and now root works even on clean installs.

Started builds for 1.01 and 1.0.1-opt, should be available on the Gdrive in few hours
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Installed non-opt 1.01 today. I am GMT -8, Pacific Std. Time. It kept revering to GMT 0 no matter what I checked or unchecked in Settings, Date and Time. It would uncheck use network timezone and date /time, or revert.GMT from -8 to 0 if set manually.
[Galaxy S 4 Active Android Development] spegelius:
Works fine here. I suggest you format /system, /cache and dalvik-cache, resintall the rom and gapps
[Galaxy S 4 Active Android Development] elgorra:
AllStream reboots phone

Hi [MENTION=3876105]spegelius[/MENTION], I noticed that my Allstream https://play.google.com/store/apps/details?id=com.kineticgamestudios.airtunes.android (app that allows to stream music to airplay, chromecast, etc) just reboots my phone when I launch it. All the other apps that require root work just fine so I figured it was a problem with allstream

I contacted the developper who kindly answered the following:

-----------------------

Hi Rodrigo,

Ah, I see, this problem is caused by a bug in the CM11 kernel introduced in milestone 11. I've raised a bug with the CM team here: https://jira.cyanogenmod.org/browse/CYAN-6369.

Until it's fixed you could use M10 or possibly just downgrade the kernel to the one from M10, let me know if you'd like any help on doing that.

Kind regards,

Edd

------------------------

Do you know if this has been fixed. Would it be easy and worthwhile to go back to that M10 ? The camera is working much better on your latest release, would I lose that improvement if going back to the M10 Kernel?

Thanks as always.

Rodrigo
[Galaxy S 4 Active Android Development] spegelius:
There's no M10 kernel for jactive as there was no actual releases of CM11, only official nightlies. Only way to go back is to use latest 0.9.x version. I'll see if i find actual patch for the problem and make a new build. But if there's no patch, don't know if know how to fix the kernel.
[Galaxy S 4 Active Android Development] elgorra:
Downgraded to v 9.10, everything worked except that I couldn't get a phone signal. When I went to settings, got a message saying "Error while searching for network" I found no way to get around it so I went back to 1-0 using the full backup I had done with CWM.

If you do find a way to solve the Allstream issue let me know.

Another issue that I noticed with version 1.0 is that after a while of using the phone, it starts not asking for an unlock. This happens if you set a pattern as well as use the regular unlock circle. I turn it on and it goes straight to my home screen. It's not critical but it could be a security issue.

Kind regards

Rodrigo
[Galaxy S 4 Active Android Development] cesarguaro:
Working good here

Using the last release, is working great, full signal 4G on Claro Colombia, good rom, using xposed too

:D
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Updated to v. 0.7 this morning. It is running fine, no errors, however so many apps do not get notifications. Google Now does not update calendar appointments, travel time, sports, etc. I wonder if this is related to the Play Store auto restore of data with apps?

Other apps that have worked fine on your AOSP 4.3.1, on the VanirAOSP (that has major bugs) all my apps updated. I'm talking Twitter, Facebook, CBS Sports (and ESPN Scorecenter, The Score, Yahoo Sports), my Craigslist scanner, Tapatlk, Google Play Music. These will only update when I open them, background updates do not seem to work.

I wonder if the data restore from the Play Store is tied to the GCM functions and Google Play Services? I'm running the standalone ROM, not the dual boot.

edit -

I just remembered one other issue. I run many custom profiles with Tasker. One of those is a kind of "smart radio" where I have Tasker switch cellular to 2G when screen is off and back to 3G when screen is on. I have many weak signal areas in my rural locations, this saves battery yet allows notifications. Tasker tells me that thie ROM does not have 2G/3G radio switching available. I can change it manually, and the Gravity Box smart radio works fine, but Tasker will not. I'm stumped.

edit 2 - :D

This old post.

http://xdaforums.com/showpost.php?p=50407847&postcount=101

with this fix

http://jftr.de/2014/01/fairphone-and-android-backups-to-the-google-cloud/

solved the backup and some notifications, but not all.
[Galaxy S 4 Active Android Development] olarf:
I try it again with your 0.7.1 and geht the same error. This time i screenshoted it with my wifes phone and also after cleaning my phone with dualboot utilities it booted again fine into first Rom. Maybe it is something in the PAC build while PAC is in the compatibility list for dualboot.

Gesendet von meinem GT-I9295 mit Tapatalk
[Galaxy S 4 Active Android Development] O-T:
Your flash file name is strange.

The file name you are flashing for single boot should be this:

AOSP_4.4.4_r2_I9295_spegelius_v0.7.1.zip

182.61 Mb

md5 = 4d2378093ee87e720a60bed8beeeadfa

Downloaded using Google Disk.

I also suspect something is not right inside this zip ; 2 system folders, 2 META-INF,...

Sent from my GT-I9295
[Galaxy S 4 Active Android Development] spegelius:
I'll have to check about the norifications, so far i've gotten all i need, but then again i'm usually disabling a lot of them.

And the Google backup fix should be working out of the box, i copied to overlay from Googles own example device tree so meh... i think i'll need to do a clean install just to test these things.

Hmm, not the lines i suspected, but propably permission changes for SuperSU files are causing this... did you do full wipe install? My updater-scripts doesn't wipe system prior install... i might need to add system format if this keeps happening.

Please elaborate, the file name is excatly that? What's the problem with it?

If you are looking the contents of the zip with Google Drive web page's view, then it shows a lot of stuff in messed up form and i don't know why. But i do need to check how the zip is made as i suspect that when i run the zip creations script and previous zip file exists, it doesn't delete it and stuff that shouldn't be there, might be left in it.
[Galaxy S 4 Active Android Development] O-T:
Look at screen shot from olarf... lot of letters /digits.

Root Explorer show dual folders

ES File Explorer show suspected folders

Suggest to spend 3 mins and check content and create md5 along with zip to aid testers verify healthy download :)

Sent from my GT-I9295
[Galaxy S 4 Active Android Development] spegelius:
Ah, i noticed that too. I wonder if that's a result from some download manager or something else?

Adding md5sum is a good idea. Adding it for next upload.

7zip shows only one folder. But then again it's in Windows...

ES File Browser shows only one folder. But Root Explorer does show two folders... strange.

Had a look at my scripts and the prevously existing zip isn't actually updated; AOSP build generated ota-package is first copied to target name, overwriting previous file. To that zip, updated META-INFO and system/ contents are zipped. Now, zip does complain about CRC not matching for file or two, but no ill effects have been seen. So i wonder if i'm missing some key argument in zip command to force updating the files instead of adding another item with same frickin' name... i'll need to dig out how the build system creates the zip and see if it does something peculiar.

And dig more about zip format in general. Basically allowing multiple items with same name shouldn't be a problem as in this case, the folders and files have different modification times etc. One way to fix this would be to extract all to work directory, update what needs updating and zip that. But it's slower...
[Galaxy S 4 Active Android Development] SamuTnT:
Hi [MENTION=3876105]spegelius[/MENTION] ! i've tried to flash your rom 0.7.1 (non dualboot) but i get stuck on the android logo on boot, i've tried cm11 and pac-rom and both of them runs fine but with this one i can't boot, i've tried with gpass from cm11, pa-gapps and without gapps at all, always stuck at boot.. what can it be?

Thanks!
[Galaxy S 4 Active Android Development] spegelius:
Full wipe or not? Remember, system isn't formatted when flashing this and ll the old crap is left behind, so manually format /system at least
[Galaxy S 4 Active Android Development] SamuTnT:
Full wipe! I always do: Factory reset, wipe cache, wipe dalvik cache and format /system, for every rom. ;)
[Galaxy S 4 Active Android Development] spegelius:
Ok good. If you can, get a logcat of the boot, if it allows to take that. Can't really think of anything why it would not boot... personally i haven't tried to non-dualboot version, but it's the same rom, only the mounts are different...

About the notifications: yesterday i installed a lot of old apps from Titanium backups. I also added a calendar event etc. and every notification has come through, no problems.

Mobile connectivity: since yesterday, my phone wasn't on LTE for some reason. Today i got to settings and noticed that the preferred network was set to GSM/WCDMA even though i remember setting it to LTE/CDMA/EvDp/GSM/WCDMA the last time i was there (and LTE was shown after that time). So i switched it back: Phone FCs. Had to set it to LTE/GSM/WCDMA and now it's working again. Another thing to check someday
[Galaxy S 4 Active Android Development] SamuTnT:
Ok, since it is the first logcat that i take, when should i enter the command in the terminal on my pc? as soon as the phone boots or when it is on the "Android" logo (stuck)?

Another thing, can you point me to download the appropriate gapps for this rom plz?

Thanks!

Edit:

I was trying to flash the rom and get the logcat but i ended up with the same error as [MENTION=4481095]olarf[/MENTION] and i noticed a strange (to me) thing, if you see the screenshot ( olarf's one has the same issue) the .zip file is located into /sdcard/0/AOSP_4.4.4_r2_I9295_spegelius_v0.7.zip but when the script tries to "Setting permissions..." it says that the error is in /data/media/0/AOSP_4.4.4_r2_I9295_spegelius_v0.7.zip ...is this normal?

upload immagini gratis
[Galaxy S 4 Active Android Development] spegelius:
Just run adb logcat when you boot the phone. It should show 'waiting for device' and then the log output, if it allows the adb connection (it's set to secure mode so i'm not sure if it's working during boot...). If there's problems with device permissions etc. i think there's tutorials about adb usage on net... for linux, set the udev rules or start (and maybe run) adb as root

I use regular gapps, found a link somewhere in the CM11 thread.

Edit: /data/media/0 is propably a symlink to /sdcard/, which might be a symlink to somewhere else or something. Not on my own machine so cannot use adb and check. I'm net very in the knowledge with the android's mount target hierarchy...
[Galaxy S 4 Active Android Development] SamuTnT:
ok, adb is ok, i've already tested it, i was only wondering when is the right time to send the command ;)

..talking about the flashing, i'm now stuck with that error so i think i'll wait for the 0.8 version to try again :)
[Galaxy S 4 Active Android Development] spegelius:
Ok, i don't know what line exactly is causing the flashing problem so i'm propably not gonna do anything to it. But you said that you've had it installed before? Did you do a /system format before flashing 0.7?
[Galaxy S 4 Active Android Development] SamuTnT:
Honestly i think that the "stuck at boot" problem i had before can be related to this flashing problem, i was a littlebit distracted when i flash the 0.7.1 this morning so i think that i probably tried to boot the rom with the flash problem already there.. :-/ btw yes before flash 0.7 i did a full wipe as i told you in the other post..forgot to mention that i'm on int'l i9252, not the at&t one..
[Galaxy S 4 Active Android Development] spegelius:
Did a factory reset and tried to install the non-dualboot version; set_perms error. Luckily now i could debug and found out that i had copied /system/bin/.ext/su, but it needs to be .su and set_perms failed because of missing file. Funny that it works beatifully with the dualboot version... oh well.

I also added md5sum generation and zips shouldn;t have duplicate folders anymore. I create the zips from scratch now, updating seems to do funny things, even though the files seem to work anyways.

I'll post a new version once i test few things.
[Galaxy S 4 Active Android Development] spegelius:
Ver 0.8 uploading, changes:

update scripts fixed

md5sums added

zips cleaned

Preferred network-setting now has only Lte, 3G and 2G. Default is 3G, change it if needed. This is work in progress

Qualcom init script updates from CM jflte (sdcard read/write speedup etc.)

Google backup working
[Galaxy S 4 Active Android Development] olarf:
I will try 0.8 now. 0.7.1 failed again after cleanining /wiping everything.

About the file Name, I had this time by time also with allrams files, seems to be gdrive related. However, it never affect flashing AS the content is always fine, just strange Name.

Edit: 0.8 works fine :) Thanks spegelius! Is es Browser i can See internal and external SD card. I can also install apks now. The only issue is that the phone dont reboot Form Rom switcher app. The switching itself works fine.

Gesendet von meinem GT-I9295 mit Tapatalk
[Galaxy S 4 Active Android Development] spegelius:
Good, i was beginning to fear that supersu permission problems would be related to selinux or something else, but luckily just a matter of packaking error on my part. As for the reboot, happens to me also. I remember not being able to run reboot in adb shell some time ago, might be related (error was something along the lines 'no such command restart'). Propably something is not included in the rom.

I'm thinking about applying JustArchi's optimizations and releasing it as separate build for those who like to live on the edge, so to speak. There seems to be some problems with the oprimizations, so better to have it as optional version.

I've also completely forgotten that Samsung released their kk kernel source few weeks back, gonna take a look at it. Hopefully some improvements to camera.
[Galaxy S 4 Active Android Development] SamuTnT:
Got it installed and working!! Great job [MENTION=3876105]spegelius[/MENTION] ! I've found only one little bug for now, the Mobile Operator name doesn't shows up, i have 22201 instead of TIM (just a cosmethic bug..nothing relevant), also a question, power menù shows only Power OFF and Airplane Mode, and the ringtone settings, is this right?

Many many thanks! if you need some testing just ask! (i don't use dualboot so maybe can help someway :D)
[Galaxy S 4 Active Android Development] spegelius:
For me, operator name (DNA) is shown on lockscreen and quick settings, but in Mobile network settings->network operators all are shown as numeric codes. I'll have a look at it someday. I have included the apns conf file, but it might need something on the code also...

There's no reboot and andvanced reboot because those options aren't in aosp source (or the overlay settings CM is using don't match). I might add them someday, those features need to be added to Settings-app.

Testing is best done by using the phone and reporting the problems ;). I've been using some of the latest builds as daily for few weeks now and nothing major hasn't popped up so i'd say it's quite solid already.
[Galaxy S 4 Active Android Development] SamuTnT:
OK i'm using it as daily ROM so you will be updated ;) I've installed gravitybox for xposed as workaround for power menu, running smooth! I have only one question ATM, I was cleaning up the apps with titanium (only removed dual boot patcher) and found this:

What is it? Is it safe to remove?

Thanks again!
[Galaxy S 4 Active Android Development] spegelius:
The strange app seems to be this: https://play.google.com/store/apps/details?id=com.google.android.inputmethod.japanese&hl=en. The version on this rom is just compiled from AOSP sources by default.
[Galaxy S 4 Active Android Development] SamuTnT:
..so if i don't use japanes ad input language it's safe to remove? i'll make a backup of it and try ;)
[Galaxy S 4 Active Android Development] spegelius:
I suppose so, don't think that the framework actually needs it. Backup is always a good idea, though
[Galaxy S 4 Active Android Development] SamuTnT:
So here i am after some hours of testing.. so far i can tell that the rom is quite stable but i've come thru some problems, the camera crashes when i try to take a picture, it's all ok until i hit the shutter button, then it freezes and crashes in the end, another thing i've tested is google sound search that crashes on tap on the widget... anyone experienced these bugs?
[Galaxy S 4 Active Android Development] spegelius:
If HDR is on, camera is sure to crash. I haven't had camera crash in other modes since early CM10.2.

What widget is this? Is it the google search bar? Works for me
[Galaxy S 4 Active Android Development] SamuTnT:
HDR was off, I tried some combination of settings, front camera is OK but back camera crashes..

The widget is the Google's song recognition widget (Sound Search I think is its name).

Edit: regarding the carrier name not showing, i'm now on cm11 latest build (23-07) from allram and the bug is not present, the carrier name displays correctly..don't know if this can help ;)
[Galaxy S 4 Active Android Development] spegelius:
Hmm back camera... haven't tried that in a while.

Sound search bug confirmed, gonna have a look at logcat as soon as i get my work pc to run with adb (f*cking VirtualBox nonworking USB with Windows host, and Windows driver mess in general :( ). Ah, got it:

E/AndroidRuntime( 4525): java.lang.UnsatisfiedLinkError: Couldn't load vorbisencoder from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/system/app/GoogleEars.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]]: findLibrary returned null

I wonder if the vorbisencoder should be a part of the rom or provided by gapps?

edit: it's a gapps problem, look at the comments here: https://jira.cyanogenmod.org/browse/CYAN-3891

Samsung kk kernel: did a compare yesterday and it's not gonna be easy to get all the good bits, there's lots of changes. But in regards to the camera, things like voltage settings caught my eye and that got me thinking that could the camera freezing be somehow related to too low operating voltage? Yesterday i did some updates to HDR settings in CameraWrapper (turn off flash and ZLS if HDR on) and camera was still hanging instantly when changing to HDR or taking a picture in HDR mode. During the testing, camera was really hot (and weather is currently hot here in Finland). Normally with HDR i can take at least one picture before it going bonkers. And now that the camera is lot cooler, i could take one picture before it hanged itself.

There's also the way the camera hang is shown in logcat; suddenly camera related prints just stop for a little while and then camera daemon or driver starts printing about streaming error, in 7 second intervals (that's the timeout). So the camera just stops responding, without any error message. I'll have a better look when i get more time, rest of the week i'm bit busy
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Ok, after days of searching, testing, and finally shear dumb luck :highfive: I got all my Google Now information to display by installing Google Calendar and freezing the AOSP calendar. How wierd is that?

Can confirm that the Sound Search for Google Play crashes, looks like you have a lead on that one. And I have not tried HDR but the camera works and it works for some bar code scanners and QR code apps I use.

So happy that I can run this full time with the features I need.
[Galaxy S 4 Active Android Development] spegelius:
There seems to be some problems on different versions of gapps. For example, Sound Search fix is this: uninstall and install from Play Store. Then it works. So if you have problems with any of the Google Apps, check the gapps package. Try to reinstall the app from play store.

Edit: there's problems with tethering, WiFi AP cannot be seen even though it starts without errors. Also USB tethering doesn't seem to work properly, even though i can ping stuff on the net through it o.O. Also i made a dev build 0.8.2 with some camera and kernel updates, HDR is still a problem. Actually it seems the thing that crashes the phone is toogling the flash off (i added automated flash off if in HDR mode). Kernel is the jf unified with some updates from tw kk kernel. Test it if you will,
[Galaxy S 4 Active Android Development] spegelius:
Actually usb tethering seems to work, i just didn't have correct proxy settings (testing on work pc on company network...)
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Dev build will show in the Drive folder when complete?
[Galaxy S 4 Active Android Development] spegelius:
There's dev folder on gdrive with a couple of builds there, but be aware that they might break more stuff than fix...
[Galaxy S 4 Active Android Development] spegelius:
The WiFi AP problem is a damn annoying one; looking at logcat and comparing to CM11 logcat, everything seems to work ok. wpasuplicant does it's thing, Tethering etc. print same messages and conf files are same. But the result is that on CM11 the AP wifi network is seen almost instantly by other devices, but on this rom, it doesn't show up.

Also there's another bug, date resets to 1970 when phone is rebooted. It's corrected almost instantly whhen either mobile or wifi connection is available. This is a problem when you need to reboot your phone and cannot activate mobile or other networks when phone starts. Googling the problem shows that it's not a new one, but no real solution was given. Logcat shows that QC-timeservices reads incorrect genoff offset and adjusts time wrongly:

D/QC-time-services( 374): Daemon:Value read from RTC seconds = 1406543639000
D/QC-time-services( 374): Daemon:Value read from RTC seconds = 1406543639000
D/QC-time-services( 374): Daemon:Value read from generif offset = -49061789000
D/QC-time-services( 374): Daemon:Final Time = 1357481850000
D/QC-time-services( 374): Daemon:genoff_boot_tod_init: Setting system time to sec =1357481850, nsec =0
[Galaxy S 4 Active Android Development] Pkt_Lnt:
That is half the fun. Grabbing dev 8.8 now.
[Galaxy S 4 Active Android Development] spegelius:
True dat, but there's at least one build uploaded which keeps crashing, can you find witch one ;)

And 0.9 is uploading, changes:

wifi & gps settings from msm8960 (from cm jflte)

stepdetector and -count sensor permission xmls (from cm jflte)

init network tuning (from cm jflte)

charger update (from cm jflte)

wifi settings moved out (from cm msm8960)

gps setting moved out (from cm msm8960)

charger change for kk bootloaders (from cm msm8960)

kernel: using new unified jf kernel http://review.cyanogenmod.org/#/c/67429/

kernel: enabled CONFIG_DISPLAY_DISABLE_TEST_KEY

kernel: enabled CONFIG_CFG80211_REG_NOT_UPDATED

kernel: enabled CONFIG_SENSORS_HALL

QC time services: fixed time resetting to wrong value when rebooting
[Galaxy S 4 Active Android Development] spegelius:
And since things seem to be going my way today, ver 0.9.1 uploading:

added bash, ebtables, ntfs-3g, vim

updated sqlite and zlib

fixed wifi ap
[Galaxy S 4 Active Android Development] Pkt_Lnt:
Both dev-8.8 and 0.91 give me status 6 errors trying to update. Is it this?

http://boardreader.com/thread/update_zip_error_status_6_677jjXi0hq.html

I am not using dual boot, but stand alone ROM.