yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
New build out!!

Beta 4

MD5 - d970bf197226a8168d74fca975540a2c

Device:

Removed CM bugreport service

Kernel:

Many code updates (details: https://github.com/Alucard24/Alucard-Kernel-jfltexx/commits/my-aospv2-5.1)

ROM:

MultiROM compatibility

More system stability

Added prebuilt libjni for AOSP keyboard gesture typing

Added some new APNs & updates

Fixed back/menu keys remaining awake for a little time after screen lock

Set Android M wallpaper as default

Various code updates

Further details: here - here - here

This may solve the random black screen issue. :)

Download: https://romhut.com/versions/cm-12-1-20150616-optimized-jflte-zip

1- Proximity sensor works very well, probably yours is failing. Try this app and see if the plant reacts

2- Sweep2wake is not in this kernel, that's just an issue with the back/menu touch keys which remain awake for 2 seconds after you lock... It's fixed in this build

3- I lose wifi network sometimes and when happens it's only after a system crash (not all of them break WiFi passwords)... It's hard to take a logcat of this because you can't expect when will happen

4- Bluetooth stopped? Where is the log? :good:

5- Logs, logs, logs!!! :silly:

6- I never experienced a big slowdown, [MENTION=3835154]gkkovacs[/MENTION] and [MENTION=4682631]aapje1299[/MENTION] what were you doing when you experienced slowdown?

7- This happens to me as well, under investigation :cowboy:

8- Emails app draining battery, cause of a push service. Pretty normal, not a ROM issue

9- That's an issue with deep sleep caused by some app installed by the user, check wakelocks with BBS
[Galaxy S 4 i9505 Original Android Development] Technical:
Thanks.

Does this mean that we can use TWRP 2.8.0.6 and not 2.8.0.4 as before? Or, on contrary, we need to downgrade to 2.8.0.4 if we want to use MultiROM?
[Galaxy S 4 i9505 Original Android Development] stephendt0:
Awesome, will give this update a go. I got the OTA notification and proceeded to download.... and this happened.

[IMG="OTA Downloader FC"]https://drive.google.com/uc?export=download&id=1dRtm42g8R2cbX6yCtECGGfZBb_1BezDK8Q[/IMG]

The download still continued to run in the background but it seems like the the OTA downloader needs an OTA :p
[Galaxy S 4 i9505 Original Android Development] ** A - R **:
Odin Mode

AnyOne, For Download Mode, Doesn't need to press Home Button

Coz, For Me It Works With Only Power+Vol' Up = Download Mode.

I've been reading alot about Download Mode of Pressing 3 Buttons !
[Galaxy S 4 i9505 Original Android Development] :
Your message makes sense.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
I'm very sorry mate...

This is an important question: did you have a custom theme instead of system stock?

Mate you can use what you want for this even if 2.8.6.0 is suggested for the best 5.1 compatibility. For MultiROM, head over its thread :)

I updated it to v32+new recovery 2.8.6.0

I added MultiROM compatibility to this ROM, with my implementations the installation process is different than other ROMs so this willl exclusively affect only this. Which is now working on MultiROM :)

BEWARE!! If you install a build until the 2 June one in MultiROM as secondary it will also wipe your /system partition, making primary ROM unbootable! Starting from this latest update, every new build will be compatible as well

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] Kippy51:
Sim card not detected

Downloading the new build right now, but running 0602 I experienced the last week that suddenly, without doing anything, I got the message 'sim card removed/not detected. Insert sim and restart.' This happens at random. Sometimes 2 a day, sometimes 1. And sometimes I have to reboot 2x or more, to get network back. Haven't had this before the 0602-build. :confused:

I have a Stweaks-log, right after it happenend, but I don't know if I can attach it (too few posts). Would [MENTION=5464206]AntaresOne[/MENTION] mind if I attach it to a PM??

Anyone any ideas??
[Galaxy S 4 i9505 Original Android Development] smeroni68:
Save the log on dropbox or any other file share and copy here the link to download it.
[Galaxy S 4 i9505 Original Android Development] Kippy51:
First ever time I used Dropbox .... Does this work?? **xxx.dropbox.com/s/es4h7yvolk0xp7r/alucard_debug.zip?dl=0**

Had to modify (remove https-www), because I can't post links either ...
[Galaxy S 4 i9505 Original Android Development] smeroni68:
This seems to me a common hardware issue on Sammy phones. Is like the sim contacts are lost and the phone is unable to detect the sim card... I suggest for your check, to install temporarely a different rom (like a stock one TW) and check this issue. If it still happens, probably you need an assistance center...
[Galaxy S 4 i9505 Original Android Development] monkteo:
Man your rom it's one of the best CM.

I have theme installed and a lot of apk and programs (and I have dualboot) your rom work perfect on multislot1.

THX you are really THE ONE
[Galaxy S 4 i9505 Original Android Development] gkai:
Just dirty flashed new version...so far everything is working nicely :)
[Galaxy S 4 i9505 Original Android Development] Mystikal57:
Never had response from my report of back/menu keys bug, and you correct it ! you are the best ! :good::highfive:
[Galaxy S 4 i9505 Original Android Development] Luigi_T:
Thank you for your reply. But the most strange thing is after a signal drop I try to reboot and then my phone dies after the boot animation and I'm obliged to do a clean installation every time, almost once a day from three days.
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Unfortunately, still exchange service stopped working is here. It is only annoying because once you get it, it will spam you with that error for a couple of times.
[Galaxy S 4 i9505 Original Android Development] baldmosher:
I'm so happy with 2nd June build, that I don't know if I want to risk yesterday's update! :)

[IMG="battery stats"]http://i.imgur.com/SCP8aPb.png[/img]

Some random double quick drains going on but I think that's Facebook.
[Galaxy S 4 i9505 Original Android Development] Chibbo:
I have hot reboot sometimes when I plug in usb otg, how should I proceed about the log?
[Galaxy S 4 i9505 Original Android Development] Lennyz1988:
Regarding the losing of wifi passwords:

I had that issue in the past. But not anymore since I swapped my battery. My battery was getting faulty and it was sometimes shutting down due to lack of battery. When I booted my phone my wifi password were gone. But this didn't happen anymore since I got a new battery. So maybe it happens due to a premature power off. Don't know if this info is usefull.

Regarding the big slowdowns:

I had big slowdowns while listening to music with my headphones plugged in and then sending/receiving a message trough Whatsapp. I switched to AwesomePlayer and haven't had a single slowdown as of far. So maybe it's an idea to select AwesomePlayer as the default player instead of NuPlayer in your future builds.
[Galaxy S 4 i9505 Original Android Development] s3icc0:
The battery issue could probably explain my last loss of wifi passwords when my phone suddenly turned off when 7% battery - anyway my battery is diagnosed as in good condition and also the performance of the battery is still perfect (like a new one). But now and also in the past the loss was always connected with phone random reboot.
[Galaxy S 4 i9505 Original Android Development] mit02:
[MENTION=5464206]AntaresOne[/MENTION], it seems that the WiFi off when in off the screen. Because when I take my phone unlock the screen, there is no WiFi icon, only LTE mobile data icon, and only later appears WiFi icon. WiFi settings all for default, WiFi in Sleep mode does not turn off. How can I check it's just the icon disappears or wifi connection. Last build 16 june. modem HOE4.

UPD

I checked the information on my router, WiFi turned off on the phone some time after switching off the screen ((

Thanks.
[Galaxy S 4 i9505 Original Android Development] eTaurus:
There is an option in advanced WiFi settings "Keep WiFi on during sleep" . If you want to have WiFi on even when screen is off, set it accordingly. Maybe it is set to "only when plugged in".
[Galaxy S 4 i9505 Original Android Development] mit02:
I know that, I have set the option "don't to switch off in sleep mode". Now I make a backup, make absolutely clean install, and see how it works WiFi.
[Galaxy S 4 i9505 Original Android Development] stephendt0:
Quick question - is Viper4android working in the latest update? I know there were some issues with recent vanilla CM12.1 builds so I'm wondering if I'll run into problems if I update.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Mattia

Why this link is never functionnal for me? I can't download it!:(
[Galaxy S 4 i9505 Original Android Development] _Bon_Bon:
It might be a problem with your browser

Which one are you using? Im using cm browser and they always work for me.

Hope I helped :3
[Galaxy S 4 i9505 Original Android Development] franzyroy:
I do it on PC with IE or Chrome.

---------- Post added at 11:17 AM ---------- Previous post was at 11:11 AM ----------

. [MENTION=6082440]_Bon_Bon[/MENTION]

Well done!;)

I didn't think to download it with my phone.
[Galaxy S 4 i9505 Original Android Development] ilfrick:
Having BIG issues restoring apps with TiBu 7.2.0.1 after clean flash. TiBu is unable to restore several apps, it just hangs there with no more progress...

Anybody else having the same problem?
[Galaxy S 4 i9505 Original Android Development] mooyaart:
My TiBu restore is going fine, but on other roms I have occasionally had it take over an hour to restore my apps (~100). You just have to wait as stopping it and then restarting it - it will still go at the same speed.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Flash SuperSU in case of Titanium Backup issues. :)

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] stephendt0:
If it's restoring sms messages, that's known to take a really long time.
[Galaxy S 4 i9505 Original Android Development] Morkovich:
Same issue here! Using v6.2.02.

---------- Post added at 11:28 AM ---------- Previous post was at 11:20 AM ----------

Solved. Reboot after opening SuperSU..
[Galaxy S 4 i9505 Original Android Development] Mystikal57:
Arg.. back/menu keys bug still present :(
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
No mate, check better please, it's really solved! :)

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] Elancastro:
Help me!!

I have a question, they could help me?

Suddenly every time I do I upgrade or cleaning the cahe from TWRP recovery 2.8.6.0 F2FS to start the blue LED is lit, it is that? when before I did not ... ???? I'm in trouble?: Dedos cruzados:
[Galaxy S 4 i9505 Original Android Development] pjkiener:
Lol, same here. Only problem with June 2--- and it might even be a problem with my modem, not the ROM--- is my data signal disappearing. Everything else is perfect! Sticking with June 2nd. It's the most stable ROM I've used in months!
[Galaxy S 4 i9505 Original Android Development] Specht77:
Yes, I was using Blacked Out // Regresion+
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Something strange happened, 16th june rom is not that stable. My phone freezed 3 times, I was doing nothing, just screen on, once on youtube. After I rebooted it, everything is gone form the screen. Only wallpaper is visible. I can't unlock my phone, guess I have to reflash rom.
[Galaxy S 4 i9505 Original Android Development] stegalli:
for now is working well, and I have done , for the third time ,a dirty flash ... a wipe is recommended?
[Galaxy S 4 i9505 Original Android Development] r0ckarong:
This was a feature introduced in CM12 at some point. Whenever you booted, the blue LED would come one. In the official builds there apparently was a bug (experienced it myself) that the LED would not turn off after boot was finished. I'm assuming the DEVCON guys fixed this behavior and put it in the optimized builds again. For me when I upgrade the blue LED is lit until Android has fully booted. This is normal behavior afaik.
[Galaxy S 4 i9505 Original Android Development] Elancastro:
Seriously !!

Thank you very much for your help. I hope to remove that functionality, it is very annoying XD

Thanks friend!

: Dedos cruzados:
[Galaxy S 4 i9505 Original Android Development] stephendt0:
So far the update has been hit and miss for me. It feels a little smoother but still getting random heavy lag, some minor audio stuttering and MMS messages still don't send. Probably time for a full wipe...

Edit: Just had a system UI FC after trying to unlock as well

Edit edit: Viper4android seems ok, just installed. Audio stuttering is still there though.
[Galaxy S 4 i9505 Original Android Development] stevvie:
Do you use exchange service? if not just remove it with root uninstaller as i do, but only if you don't use it

---------- Post added at 03:21 PM ---------- Previous post was at 03:14 PM ----------

My TIBU doesn't like the built in SU root application.. As soon as I install one from the play store it works perfectly.
[Galaxy S 4 i9505 Original Android Development] franzyroy:
The blue LED is normal, it's also on the STOCK version (TouchWizz), it's there to confirm that the phone normally boots by slow and steady blinking as could be a heart. This is what a friend had explained me.

I don't find it annoying!:eek:
[Galaxy S 4 i9505 Original Android Development] Elancastro:
Perhaps as this feature was not present in previous versions I was accustomed XD

So I said that ...

But already clarified the situation, no problem !! thanks
[Galaxy S 4 i9505 Original Android Development] franzyroy:
Weird that you said to doesn't see it in the previous versions, I've always seen it! But no matter :cool: ....

Edit

:

It has even been Red during the christmas.
[Galaxy S 4 i9505 Original Android Development] _Bon_Bon:
If the led turns off after your phone has boot, you're fine. Its nothing to worry about

Hope I helped :3
[Galaxy S 4 i9505 Original Android Development] r0ckarong:
Goes to show how long I've been using custom builds. I've never even seen stock Lollipop on my phone so I first saw this when CM 12 introduced it, albeit in the broken state.
[Galaxy S 4 i9505 Original Android Development] ciborio:
audio recording too low and fuzzy

audio recording with microphone, is fuzzy and too low (audio message with whatsapp)

WORKAROUND: you can increase the microphone gain with stweaks, the sound is more high but still fuzzy.

This problem was also present with CM 10 and CM10.1, (I have not tested CM11 )
[Galaxy S 4 i9505 Original Android Development] franzyroy:
:confused: I already saw it. But well, we will not procrastinate endlessly.:laugh:
[Galaxy S 4 i9505 Original Android Development] jackburnt:
Bluetooth Stack is crashing non-stop on a fresh install.
[Galaxy S 4 i9505 Original Android Development] gkkovacs:
IIRC it happened only with the last few builds, and usually after using the phone without reboot for 2-3 days. First sign was that waking up the phone (with power button or incoming call) took longer than usual, then after a couple of hours phone took 10 seconds to wake up, everything became lagging for 5-10 seconds. Killing all apps helped a little, but only full reboot solved it.

I have tried switching to intelliactive governor as suggested by a post, but it happened just the same with it.

I have a few Stweaks settings, but I don't think they are related (some CPU and GPU undervolting mainly, as I'm using Alucard governor and hotplug).

Is there any documentation about Stweaks beside the text in the app? I'm especially interested in:

- gentle fair sleepers

- arch power

- power efficient workqueues

- cortexbrain and cortex tweaks (memory, cpu, etc.)

what are these, and what is their status in vanilla CM12.1?
[Galaxy S 4 i9505 Original Android Development] oran3e1:
Strange... I haven't run into any boot issues, do you use xposed? And what modem and bootloader do you have?
[Galaxy S 4 i9505 Original Android Development] Jeffie1970:
So far all good :)

I can't thank you enough for your work on the S4....I'm using a SGH-1337m, Telus canadian version...and there really is no other rom that works this well!

June 6, 2015 was a excellent rom, as I'm expecting this new update to be!

One question..the June 6 update set my Applications page into an alphabet order view...is there a way to get it back to icon view?

Again, ty for all the hard work, it really is APPRECIATED!
[Galaxy S 4 i9505 Original Android Development] stephendt0:
I'd recommend switching to a totally different launcher. Nova launcher is my pick - lot more flexibility.
[Galaxy S 4 i9505 Original Android Development] jccrawfo:
I've been having the same issue on the two builds prior to the latest but haven't been using the 16 June one long enough for the issue to crop up. Always had perfectly smooth performance prior to that and haven't been using any new apps that would cause it. Perhaps something to do with memory management? I saw the Google Search app at almost 500mb at one point, which seems a bit high.
[Galaxy S 4 i9505 Original Android Development] Elancastro:
Thanks !!

Maybe I had not noticed XD

Thank so much ...
[Galaxy S 4 i9505 Original Android Development] baudbox:
For your information: toggle 2G/LTE shell command

Hi there,

As information, for those who are using automation tools (like tasker), and like to toggle 2G/LTE for reducing the battery juice, I came to this post and found/tested successfully following commands on our latest favorite rom (version 20150616):

Non stock rom

am broadcast -a com.android.internal.telephony.MODIFY_NETWORK_MODE --ei networkMode *VALUE*

Value table

0: WCDMA preferred
1: GSM only
2: WCDMA only
3: GSM auto (PRL)
3: CDMA auto (PRL)
4: CDMA only
5: EvDo only
6: GSM/CDMA auto (PRL)
7: LTE/CDMA auto (PRL)
8: LTE/GSM auto (PRL)
9: LTE/GSM/CDMA auto (PRL)
10: LTE only

Hope that helps for some of you :)
[Galaxy S 4 i9505 Original Android Development] Specht77:
while on homescreen, tap the menu button, 3 buttons will appear on the bottom of the screen, wallpaper, widgets, settings.... grab this and slide your finger up, search for "Layout", it'll be VERTICAL, tap it and it'll be PAGED
[Galaxy S 4 i9505 Original Android Development] :
Just working here.

---------- Post added at 06:27 PM ---------- Previous post was at 06:22 PM ----------

Yes. Worked in previous ones too
[Galaxy S 4 i9505 Original Android Development] protik77:
Error while flashing

My flash is failing for 15 June build. I tried both dirty & clean install. I am using TWRP v2.8.6.0-F2FS.

The error message is shown as

Error flashing zip '/external_sd/ROMs/cm-12.1-20150616-OPTIMIZED-jflte.zip'

Updating partition details...

...done

Then it goes back to old build & I need to setup everything from scratch. Any help?
[Galaxy S 4 i9505 Original Android Development] N!KE26:
Try to download again, maybe bad download.
[Galaxy S 4 i9505 Original Android Development] eTaurus:
Doing a dirty re-flash without wiping cache och Dalvik helped me with the build 2/6. Don't flash other zips, just reboot. Maybe doesn't work with the latest build.
[Galaxy S 4 i9505 Original Android Development] android_patrizian:
Alternative: Toggle Data app that can be controlled from Tasker, Llama and used as widget.
[Galaxy S 4 i9505 Original Android Development] stevvie:
There's only 2 things I miss on this rom compared to omega's sammy rom.

1, bluetooth jabra street or sony bt headphones buttons dont register for next/previous track

2, NFC still not working for me. I double checked my equipment and did a twrp backup and back to omega and NFC is just fine on omega. As soon as i put this CM12.1 on NO NFC.
[Galaxy S 4 i9505 Original Android Development] baudbox:
Correct toggle data is working (at least was working, didn't test it). But the one which controls 2G/LTE switch (that I used) is "Toggle Network Type" from [MENTION=5253144]cygery[/MENTION] which didn't work on this rom build.
[Galaxy S 4 i9505 Original Android Development] protik77:
Tried both from the OTA update app & the romhut site. Still the same.
[Galaxy S 4 i9505 Original Android Development] Luigi_T:
No. I don't. I don't know which modem/bootloader I have. How to check?
[Galaxy S 4 i9505 Original Android Development] :
Only just got on to this ROM as gone from S2 to S4, pretty slick :D

Got up 3 hours late though cos there doesn't appear to be any alarm sound when set to randomly lol
[Galaxy S 4 i9505 Original Android Development] eTaurus:
Check your baseband under Settings - About phone.

For checking bootloader install a terminal emulator app and type

su

getprop ro.bootloader
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Hmm... I found that SystemUI process persistently dies and *may* be related to the Theme Engine... If happens again please go to recovery (TWRP) and do: advanced->file manager->navigate to /data/system and delete "theme" folder. I'll try this as well if happens again here

Hmm.. Mate, next time that happens could you open Terminal (Developer options->enable Terminal->now showed in app drawer) and type free -m? Paste output here

here at paragraph 1 explanation of CFS tweaks (gentle fair sleepers and arch power)

Power efficient workqueue, from kernel/power/Kconfig:

"Per-cpu workqueues are generally preferred because they show better performance thanks to cache locality; unfortunately, per-cpu workqueues tend to be more power hungry than unbound workqueues. Enabling workqueue.power_efficient kernel parameter makes the per-cpu workqueues which were observed to contribute significantly to power consumption unbound, leading to measurably lower power usage at the cost of small performance overhead."

For further details about cortexbrain tweaks I suggest to talk with our kernel developer [MENTION=4899086]alucard_24[/MENTION], he can explain way better than me :)

This in RAM usage (practically impossible) or in storage used by that? If second, clear app cache

Please check the md5 of the downloaded file

1- probably some keylayout might be is missing in this ROM, I'll compare with stock Lollipop

2- NFC is working, I use tags and even used Root Browser to send a file through Android Beam on a Galaxy S3 right today

Mate that app shouldn't point to /mnt/media_rw.. Basically cannot read/write files if going through this path, it must use legacy paths like /sdcard and /storage/sdcard0 for internal storage and /external_Sd or /storage/sdcard1, definitely app's fault

If use.dedicated.device.for.voip=false solves voip calls I'll add it by default for the next build. About call recording seems that in the past days the feature has been fixed in CM, and those flags are overlays for the framework (must be added in sources and build), I'll add it and test if recording is really working now

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] Luigi_T:
My baseband version is: I9505xxugnj3

Is it the "correct" one?
[Galaxy S 4 i9505 Original Android Development] FPSUsername:
Not for lollipop. Lollipop modems for our phone start with I9505XX

UHO

Latest available for I9505 is I9505XXUHOE4

This all is the same for the bootloader
[Galaxy S 4 i9505 Original Android Development] Luigi_T:
Thank you! I will try to update it.
[Galaxy S 4 i9505 Original Android Development] Maremagnum:
Thanks i'll try to talk with them, anyway i'm not sure if it should crash the daemon when trying to access such path, is a dangerous action since it could corrupt data being written, and that's not the app doing.

I have noticed something else, although i haven't tested thoroughly, on settings, display and leds, "LiveDisplay", if i manually change between day, night or disabled mode it works and sets the new colour tone properly, however the auto mode doesn't work, i'm on spain and it seems to enable the night mode when is night-time on the united states, i'm not sure if it is always enabled too, but it certainly never works on the local night, i guess this has to do with the global CM code and not just this branch, but i don't know