yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Hemuli:
It didn't work for me on twrp-3.0.2-0. It just gave me some error and exited the script. But it doesn't matter to me since it takes the same time to do it manually. My phone is encrypted and my sd card is used as adopted storage so that may account.
[Galaxy S 4 i9505 Original Android Development] psys-saiz:
I have the same problem, the scripts won't work with >= 3.0.0 with encryption and adopted storage. Version 3.0.2 (and 3.0.1 due to a different bug) doesn't seem to be able to mount my encrypted storage at all. However 3.0.0 does at least that, I have to manually choose the file to flash though. IIRC that's a known bug in TWRP on several platforms with a working fix and I thought it would be released soon ... but somehow it didn't.

The error-message in TWRP 3.0.0 is "Error installing zip file '@/cache/recovery/block.map

On another note: mpdecision on boot is now working for me with nightly 08/13.

(Edit: Sidenote on cmrecovery: Somehow my first encounter with it went horribly wrong and now I assume it is something that it is highly experimental and not ready for use. I can't remember the details but I think I will never use it again. ;) )
[Galaxy S 4 i9505 Original Android Development] A838:
Question this answered was already answered better, sorry
[Galaxy S 4 i9505 Original Android Development] tiran123:
I face those issues - when I go to settings -> privacy -> privacy guard -> advanced -> boot it gives "Unfortunately, Settings has stopped" and the settings reload in the main page of privacy guard. It happen on yesterday and today nightly. Clear install - wrap all partitions, except external sdcard, where is located the zip file. Recovery - TWRP 3.0.2.0. Other stuff is that I can't remove the pattern on lock screen - it always should the places under the tab(lock is pin as used). For sound during call it will be good to be stereo with headphones, but I didn't make call with them long time ago - it is better understandable w/o them. And the new dark theme is very nice.
[Galaxy S 4 i9505 Original Android Development] alex.ionut:
Hello! I have some questions regarding the Official CM13 rom.

I see that this rom is nightly and there are new versions every day.

What version should i install and do i have to reflash the rom every day ?

Is this rom stable?

I previously had JDC Optimized CM13 but i had camera crash issues and i want to try the official build.

Thank you for your help!
[Galaxy S 4 i9505 Original Android Development] Hemuli:
That was the error message while trying to update in TWRP 3.0.2 for me too. I also had some difficulties with adopted storage in TWRP but I can't recall which version I was on at that time. Adopted storage however works for me now on 3.0.2

I wonder if the internal updater checks the update files for integrity right after downloading, as there is a delay between download completion and the notification that asks you to install the update. I have learned to wait for that notification to save time if the downloaded file had been corrupted.
[Galaxy S 4 i9505 Original Android Development] A838:
I don't think I face any of your issues, from what I can understand, although for me calling with headphones, sometimes audio doesn't work. Post a log so that people can see what's wrong.

I always install the latest version. I normally check the change log to see if there are any new features that I desperately want to try, and since there normally is, I flash daily nightly;). Right now the ROM is very stable in my experience.
[Galaxy S 4 i9505 Original Android Development] ssamurai:
nice rom really smooth

but I wonder why the USSD codes are not working in this rom does anybody can made them work?
[Galaxy S 4 i9505 Original Android Development] sjamie:
I believe USSD codes only work on TW stock ROM.
[Galaxy S 4 i9505 Original Android Development] walttheboss:
Depends on the network provider. In Thailand they work great on one provider (True Move) . Can't use them in China. I think it is more modem and provider related than ROM . But [MENTION=4204995]sjamie[/MENTION] may be right also.
[Galaxy S 4 i9505 Original Android Development] ssamurai:
's

it doesn't depend on the network provider all the time I had kk it was working I switched to AOSP 6.0.1 ROM it was working also in another rom but in this one it doesnt work we need a confirmation from the fevelopper
[Galaxy S 4 i9505 Original Android Development] walttheboss:
Agreed.
[Galaxy S 4 i9505 Original Android Development] cheesesticks:
Not sure if this is happening to others, but any nightly I download via the OTA updater is corrupted and won't install.
[Galaxy S 4 i9505 Original Android Development] nico933:
Camera take my phone awake, happen to others ?
[Galaxy S 4 i9505 Original Android Development] a103:
Restart the phone
[Galaxy S 4 i9505 Original Android Development] nico933:
yeah ok but works only for a little time, after accours again.... i notice because the flash title disappear and the hpone stay awak, betterbatterystate tell my that the wakelock is caused by camera.

cleanflashed and nothing changes updating the rom
[Galaxy S 4 i9505 Original Android Development] kridster:
Last kernel message from latest nightly (14th):

[ 169.594207] [] (v7_flush_dcache_louis+0x4/0x1c) from [] (v7_flush_kern_cache_louis+0x8/0x18)

[ 169.594757] Code: e3a00000 ee070f11 e1a0f00e f57ff05f (e6100f00)

[ 169.595306] ---[ end trace 88be1bd2a84a5500 ]---

[ 169.595611] Kernel panic - not syncing: Fatal exception

[ 169.997741] Rebooting in 5 seconds..

[ 175.017181] Going down for restart now

[ 175.017761] msm_restart : clear reset flag

No errors detected
[Galaxy S 4 i9505 Original Android Development] totopesce:
The music doesnt play on 12-08-2016, tried with poweramp and the one that comes with the rom and it doesnt play it stays in 0 secs

Update: Also nothing sounds, apps dont make a sound even when volume at max

Update2: youtube videos dont play either, most likely videos in general and music doesnt play ant stays at 0 secs with the its playing icon
[Galaxy S 4 i9505 Original Android Development] a103:
Revert to your woking nandroid back up
[Galaxy S 4 i9505 Original Android Development] totopesce:
Dont have it anymore, dont know what happened to dropbox, but I had it there and now theres nothing in it
[Galaxy S 4 i9505 Original Android Development] totopesce:
Installed the latest one, 14-08-2016 and still no sound, it works on calls and in hands free, but not on apps, and music and videos dont start
[Galaxy S 4 i9505 Original Android Development] totopesce:
Clean flashed 12-08-2016 and 14-08-2016, wiped everything except for micro sd, installed gapps 6.0.1 nano, as it says on the first post, and still music and videos dont play they stay in playing at 0 secs, the speakers work because when I call I can use the hands free and before flashing it worked
[Galaxy S 4 i9505 Original Android Development] Mastroaldo70:
very warm where a sim and sd

Hi, I have a problem with this rom , very warm where allocated sim and sd , and low battery "in fretta" fast , modem problem?

Vodafone italia for helpme..
[Galaxy S 4 i9505 Original Android Development] A838:
Try playing media, then create a log (help on first post). Make sure your device is the GT-i9505, but I don't think it would let you flash this ROM if you weren't.
[Galaxy S 4 i9505 Original Android Development] scanferr:
Yes, this happens to me as well. CPU reaches above 60ºC.
[Galaxy S 4 i9505 Original Android Development] wrase:
Since the last few nightlies it feels like the apps will refresh earlier. With older nightlies it was able to keep 5-7 apps (with a game) in the RAM. with the latest nightly it only keeps 3-4 apps in RAM
[Galaxy S 4 i9505 Original Android Development] Heathered:
Currently have same version and all about music/sound working without any problem...
[Galaxy S 4 i9505 Original Android Development] zwliew:
All CM-supported Galaxy S4 variants are currently queued for our first CM 13 snapshot release :)
[Galaxy S 4 i9505 Original Android Development] ts_firehawk:
Thats amazing! Thank you!
[Galaxy S 4 i9505 Original Android Development] iRoger:
Hi guys.

Im new on it, and i need to know if a Root is needed... My device is a i9505 From Brazil, 4GLTE, 5.1 STOCK rom instaled and not rooted. I dont have any recovery on my device, and i want to know how do i install this ROM on my device, what steps do i need to follow first? Can someone help me? All the inicial infos r generical to me, is there any full tuto that i can follow? Ty anyway and sus.
[Galaxy S 4 i9505 Original Android Development] abdelkader azhar:
Finally we have cm13 snapshot

Thank you guys
[Galaxy S 4 i9505 Original Android Development] totopesce:
I did the syslog, hope its usefull

The only log with info where event and logcat.
[Galaxy S 4 i9505 Original Android Development] Black Manta:
This rom is very stable. First I had that many apps crashed, but its gone. My S4 also runs very cooler since the last few builds.

But I want voltage control on this kernel and even the lockscreen-to-launcher animation is gone.
[Galaxy S 4 i9505 Original Android Development] iambjeanc:
yeh, you need a rooted phone. There's a brazilian YT channel that helped me a lot with that. It's called PCdoctorTI. You'll find all the info you need about the right recovery *TWRP recommended* and the ROMs to install. I have the same phone as yours and have been using that ROM since March. Never going back to stock again. Lol. I'm not sure if I can send links here, so I'm not sharing the YT channel, but if you need help on that I can help you through.
[Galaxy S 4 i9505 Original Android Development] Jeffyjeffrey:
Nvm I figured out my problem. Lol.
[Galaxy S 4 i9505 Original Android Development] laupuy:
Thanks :good:

More info about CM 13.0 Release – ZNH5Y: http://www.cyanogenmod.org/blog/cm-13-0-release-znh5y

;)
[Galaxy S 4 i9505 Original Android Development] Gunnar_Schulz:
The file size for todays snapshot is only 34MB. I should be around 10x bigger,correct?
[Galaxy S 4 i9505 Original Android Development] aksdroid:
Of all Galaxy S4 variants only jflteatt snapshot built successfully according to CM Jenkins page.

Snapshot of jfltexx variant appears on CM download page but zip archive is corrupted unfortunately (size is 33.6MB instead of expected 325.6MB).

[MENTION=5604178]zwliew[/MENTION], any chance of relaunching jfltexx snapshot build or at least copying the full zip archive to CM download page please ?
[Galaxy S 4 i9505 Original Android Development] luptatorul:
The hype is real! I have waited SO LONG for this moment, for a snapshot to be finally released. I was right, [MENTION=5604178]zwliew[/MENTION], you showed up and you made wonders! Many thanks to you and to the whole CM13 team! Hope the link will be fixed today so I can install the heck out of this ROM!

---------- Post added at 03:09 PM ---------- Previous post was at 03:09 PM ----------

The hype is real! I have waited SO LONG for this moment, for a snapshot to be finally released. I was right, [MENTION=5604178]zwliew[/MENTION], you showed up and you made wonders! Many thanks to you and to the whole CM13 team! Hope the link will be fixed today so I can install the heck out of this ROM!
[Galaxy S 4 i9505 Original Android Development] Corduroysack:
think its ok now just downloaded again showing 339,469kb now
[Galaxy S 4 i9505 Original Android Development] zwliew:
Do you know how long this issue has been present for? As a rough guesstimate, was it present before July?

The uploads are kinda derped, probably due to a timeout during the uploading process. Nothing we can do now until the zifnab (the server admin) fixes it.
[Galaxy S 4 i9505 Original Android Development] Obscure Reference:
The zip seems to be corrupted though. It's listed as aborted on Jenkins as well. Did something go wrong?
[Galaxy S 4 i9505 Original Android Development] nico933:
I can't see the update in the update center, This is because I can't update from nightly to snapshot using OTA or simply need seem time more to get it within ota?
[Galaxy S 4 i9505 Original Android Development] aksdroid:
Ok, we all have to wait it out until it's fixed then. Thanks [MENTION=5604178]zwliew[/MENTION] for your responsiveness :).
[Galaxy S 4 i9505 Original Android Development] luciolo0:
Hi, I have on my phone Cyano official 12.1 via ota arrived new update, if download it all my apps and gapps remain on my phone or I have to reinstall? Thanks for reply.
[Galaxy S 4 i9505 Original Android Development] Rhoban:
Depends.

Dirty install: Apps stay, gapps go.

Clean install: Everything goes.
[Galaxy S 4 i9505 Original Android Development] scanferr:
Same here
[Galaxy S 4 i9505 Original Android Development] luciolo0:
Ah okey, is not like an update by a stock rom via OTA
[Galaxy S 4 i9505 Original Android Development] Corduroysack:
So I'm guessing the snapshot download is a no go ATM?
[Galaxy S 4 i9505 Original Android Development] aksdroid:
Snapshot for all Galaxy S4 variants are now available *EXCEPT* for jfltexx at the moment (snapshot builds for this variant always seem problematic...) :(

The build has been relaunched, and looking at the CM Jenkins queue it should be available at some point tomorrow (august 17th), *if* everything goes well :).
[Galaxy S 4 i9505 Original Android Development] tiran123:
I still have problems with settings that crash when I go to settings->privacy->Privacy Guard->advance->bootup.

this is from logcat:

logcat -c - to clean previous logs, after that go to settings->privacy->Privacy Guard->advance->bootup , it crash and take the logs with logcat -d

--------- beginning of main

08-16 22:03:57.258 8398 8398 D Terminal: setColors(0xffffffff, 0xff000000)

08-16 22:03:57.335 8398 8398 D Terminal: resize(51, 67, 100)

08-16 22:03:57.340 8398 8398 D Terminal: Bound to service with 1 active terminals

08-16 22:03:57.585 8398 8398 D Terminal: resize(46, 67, 100)

08-16 22:03:58.309 8398 8398 D Terminal: resize(27, 67, 100)

08-16 22:04:15.630 8398 8513 I Terminal: DING!

after that I restart device, go again to settings->privacy->Privacy Guard->advance->bootup, it crash and this is full output from logcat -d

--------- beginning of main

08-16 22:08:09.097 2589 2589 I LoadedApk: No resource references to update in package common

08-16 22:08:09.097 2589 2589 I LoadedApk: No resource references to update in package org.cyanogenmod.hexolibre

08-16 22:08:09.098 2589 2589 I LoadedApk: No resource references to update in package org.cyanogenmod.hexolibre

08-16 22:08:09.257 2589 2613 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true

08-16 22:08:09.381 2589 2613 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb

08-16 22:08:09.389 2589 2613 I OpenGLRenderer: Initialized EGL, version 1.4

08-16 22:08:09.437 2589 2589 D Terminal: Bound to service with 0 active terminals

08-16 22:08:09.482 2589 2621 D Terminal: entering read() loop

08-16 22:08:09.492 2589 2589 D Terminal: setColors(0xffffffff, 0xff000000)

08-16 22:08:09.531 2589 2589 D Terminal: resize(51, 67, 100)

08-16 22:08:09.867 2589 2589 D Terminal: resize(53, 67, 100)

08-16 22:08:10.450 2589 2589 D Terminal: resize(27, 67, 100)

It is clean install. Even right after clean install of the Cyanogenmod, no gaps and so on, this settings crash.
[Galaxy S 4 i9505 Original Android Development] zwliew:
There isn't anything useful from this log, not even the crash. Could you simply reboot your device, reproduce the crash, then upload a logcat (no -d argument) without cleaning the logs?

The 'd' argument filters out just about everything useful from the logcat.

The previous user is not quite correct. Updating via the CM Updater preserves all your data, just like a normal OTA.
[Galaxy S 4 i9505 Original Android Development] tiran123:
looks like, I forget to switch to root in previous logs. And this fix the issue. If the root is enabled for applications in development options bootup in privacy guard is working. If it is set root to disable in development options, bootup tab is crashing. Logs for event can be found in attached file(good long logs :D ).
[Galaxy S 4 i9505 Original Android Development] Creeper36:
.

If you want to install SuperSU 2.76 in the Official CM13 nightly or snapshot

you will need to change the kernel (SELinux Status) from enforcing to permissive.

I have included the patch below to do this.

Flash the "MakePermissive" patch in TWRP first, THEN

Flash SuperSU in TWRP *OR* install thru the Play Store.

If installing thru the Play Store be sure you change to 'APPS and ADB' in 'Settings' > 'Delevoper Options' > 'Root Access'.

To access 'Developer Options' you must tap 'Build Number' 7 times in 'Settings' > 'About Phone'.

I have fully tested this to work with all the major variants of the Galaxy S4.

Make Permissive Patch >> https://www.androidfilehost.com/?fid=24459283995316447

.
[Galaxy S 4 i9505 Original Android Development] tiran123:
In my previous post the logs has been not attached.
[Galaxy S 4 i9505 Original Android Development] ts_firehawk:
I'm gonna be honest: I looked at your script before flashing because I thought it could be something shady. Sorry about that! But I flashed it and everything is OK, kernel is now permissive!
[Galaxy S 4 i9505 Original Android Development] luptatorul:
Is the snapshot basically the latest nightly? Or a new snapshot will be built?
[Galaxy S 4 i9505 Original Android Development] aksdroid:
New snapshot will be built, should be available soon.
[Galaxy S 4 i9505 Original Android Development] Creeper36:
Its ok.. Thanks for the reply.. I did not write this script.. I found it somewhere but updated it a little.. It does work perfectly.
[Galaxy S 4 i9505 Original Android Development] robertogl:
Well, I've install supersu 2.76 on official nightly with the stock enforcing kernel without any problem.

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S 4 i9505 Original Android Development] Heathered:
Same here, Super SU working without any problem... :)
[Galaxy S 4 i9505 Original Android Development] Jeffyjeffrey:
But why would you want super su so bad? Cm root works perfectly fine.
[Galaxy S 4 i9505 Original Android Development] Obscure Reference:
The snapshot is available for download now and seems to have the correct size as well.

No visible link on get.cm yet for some reason but here's a direct link that works: http://get.cm/get/jenkins/174725/cm-13.0-20160817-SNAPSHOT-ZNH5YAO0GF-jfltexx.zip
[Galaxy S 4 i9505 Original Android Development] nico933:
Can I upload using OTA? (when is available)or is better clean flash?
[Galaxy S 4 i9505 Original Android Development] Gunnar_Schulz:
It is not in the list, but the link is accessible with "Download Latest Release"
[Galaxy S 4 i9505 Original Android Development] luptatorul:
Why does the latest nightly have 336 MB and the snapshot only 326? Does the nightly have more features, or something? #odd
[Galaxy S 4 i9505 Original Android Development] jimbomodder:
Possibly new features that are as yet unstable maybe?

Sent from my GT-I9505
[Galaxy S 4 i9505 Original Android Development] Obscure Reference:
The snapshots tend to branch a while back, say a week or two so anything added or changed after that will only be present in the nightlies.
[Galaxy S 4 i9505 Original Android Development] luptatorul:
What if some of the latest changes are what made the rom a bit more stable? :D We'd have to compare the latest nightly to the snapshot, in this case?
[Galaxy S 4 i9505 Original Android Development] Obscure Reference:
That can happen and is why some prefer the nightlies over the snapshots.

I'm giving the snapshot a chance though!
[Galaxy S 4 i9505 Original Android Development] nico933:
For me camera problem is still here And is very annoing , everything else works perfectly :)
[Galaxy S 4 i9505 Original Android Development] luptatorul:
Well, I'll wait a bit, maybe [MENTION=5604178]zwliew[/MENTION] can enlighten us with what changes the snapshot doesn't and does have :D. Guys, please report back after using the latest nightlies and the snapshot. Thanks a lot, and many thanks to our developers!
[Galaxy S 4 i9505 Original Android Development] Heathered:
Snapshot is live... :)
[Galaxy S 4 i9505 Original Android Development] laupuy:
Development channel:

a.k.a. Nightlies, usually generated every 24 hours, experimental, newest features, unstable!

Release channel:

a.k.a. Milestones or Snapshots, all or nearly all issues resolved, stable for daily use

source:

https://wiki.cyanogenmod.org/w/Jfltexx_Info

;)
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
It's good news from a security point of view if this ROM has SELinux set to "enforcing."

Thanks!

But is it really true? Some people seem to have doubts (as they could install SuperSU without disabling it)?

(I haven't installed a recent build, so I can't check myself...)
[Galaxy S 4 i9505 Original Android Development] sjamie:
What camera issues are you having on the snapshot?
[Galaxy S 4 i9505 Original Android Development] nico933:
quite often after i use the camera, it crash, flash title disappear and camera dosen't work (unable to connect to the camera(or something like that)) untile i reboot the phone, camera also keep the phone awake

sometimes happen also that when i'm using the camera and i press the home button, the camera crash and the last thing that the camera was pointing become the home background

in both cases i have to reboot the phone to solve the problem

i had this probm with the last nightly and the snapshot release and also with optimized cm 13 stable 2

---------- Post added at 11:00 PM ---------- Previous post was at 10:58 PM ----------

Stock one
[Galaxy S 4 i9505 Original Android Development] nico933:
i always clean flashed....
[Galaxy S 4 i9505 Original Android Development] nikatapi:
How's battery life on the snapshot? Also, does camera support HDR?
[Galaxy S 4 i9505 Original Android Development] evlo:
Well i'm most interested if issue with sound and mic during calls is finally resolved in snapshot :) ... Lets try.

BTW i had very similar camera crashes as described above even with latest 5.1 stable/snapshot, but it is just camera app i guess, not drivers or anything, then i just started using open camera as workaround.
[Galaxy S 4 i9505 Original Android Development] vman10:
First of all, great ROM! Thank you for all the hard work.

I just want to point out a few issues I have faced with Snapshot.

I have also had similar Snap Camera issues as those in the past. Switching to 9.6MP (16:9) does not FC as other builds have (changing resolution). However, when i take a picture and click on the preview and then going back to camera will freeze it. Pressing the home button gets out of it with the last picture taken set as wallpaper. After a while it will set back to normal wallpaper but only a reboot will make Snap Camera work again.

Another issue I came across is with the External SD card. At the start, I was not able to copy any file to the card whilst plugged in to my Laptop (File transfers chosen). Once i took a picture with location on SD Card, I was able to copy across but after some time, I would get an error that the device has stopped responding or is no longer connected. Never had this issue before.

Install procedure: Factory reset > Advanced wipe (everything including internal and external sd)