yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9500 Original Android Development] Bilal Shahid:
A guy posted this link in frapeti Q&A section

http://xdaforums.com/showthread.php?p=57393923

He says that the battery drain is due to WiFi not the modem. I have installed latest modem for my country and yes the battery life improved but still suffering the drain.

I recently switched back to frapeti 26/11 build and after using it for quite some time, there was no misc battery drain even on stock modem( which is not of my country ).

So I think it is due to changes made lately. Maybe we would have to wait for official update to make this bug gone for good.

P.S : My WiFi always scanning is turned off

I noticed a strange pattern in the graph of my battery life remaining with time. It seems when I turn the screen off and not use the phone for sometime, battery life percentage bounces back. Maybe this battery drain is due to wrong calibration.
[Galaxy S 4 i9500 Original Android Development] Bilal Shahid:
Screenshot
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Do not use this script. All is tweaked by default. All other tweaks won't be supported.
[Galaxy S 4 i9500 Original Android Development] asad007:
Ok thanks

BTW when increased the surface flinger velocities , the lag in the recent apps was not seen
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Do not use Torch, it isn't ready yet for our device.

Try next build and let me know. (compiling)

Any lag will be fixed on next build. (compiling)
[Galaxy S 4 i9500 Original Android Development] asad007:
Waiting eagerly

I'll remove the previous post :thumbup:
[Galaxy S 4 i9500 Original Android Development] melinerunen:
You're not alone!!
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Don't worry, it's coming ;) Here is 20:41, I'll release it before 23:30.
[Galaxy S 4 i9500 Original Android Development] asad007:
What's your time zone :confused:
[Galaxy S 4 i9500 Original Android Development] Alberto96:
UTC +1, Rome
[Galaxy S 4 i9500 Original Android Development] white7561:
finally fix my looping reboot. hope it last and i get that random reboot too. it dont reboot but like soft reboot. its annoying. i think its something so i move to TW lollipop rom. hope it not doing random reboots. and ya. it random reboots i clean install. i will use this rom after the bug dissapears. cause i love stock android with the custom things. :D
[Galaxy S 4 i9500 Original Android Development] andreskafe:
Thanks you [MENTION=2386505]Alberto96[/MENTION]! You are the best! I always had problems with TWRP, what did not work and I installed the touch within the recovery and me now with your version works perfectly! Please keep the support of it!

I love you mate [emoji7]
[Galaxy S 4 i9500 Original Android Development] dandemonic:
Clean flashed 02/22 build, 02/21 PA micro GApps, stock messaging app is working fine now for me, everything else working that I usually use, and seems stable and fast.

Lost sound as usually happens first reboot after clean flash, (titanium backup to reset android ID), making call didn't fix but another reboot did.

Thanks again for your time and effort, and for quick upload of new build after messaging fc fix :thumbup:
[Galaxy S 4 i9500 Original Android Development] kirankowshik:
Had the scare of my life when I was restoring backup with tb and the device rebooted itself and there was a null imei...rebooted again and then imei was restored..very nice and smooth build otherwise
[Galaxy S 4 i9500 Original Android Development] braulio_holtz:
It seems that the stock rom the battery with screen on reaches 5 hours, the mine until about 3 hours ... It would be great improvements in battery consumption ... It has no Samsung rom that is similar to the pure Android, always comes with Samsung Apps and such.
[Galaxy S 4 i9500 Original Android Development] T0rchlight:
Its not easy to do without Samsung releasing Lollipop kernel source for us. S4 Exynos chip is very power hungry. Btw theres a discussion thread for these: http://xdaforums.com/galaxy-s4/general/gearcm-optimized-cyanogenmod-12-t2975285
[Galaxy S 4 i9500 Original Android Development] Mogten:
To what numbers do I adjust the CPU for best battery life? Cos i cant find the power save option in performance settings, so i intend using system tuner. Thanks asad!
[Galaxy S 4 i9500 Original Android Development] asad007:
Keep max freq at 600Mhz and min to the lowest possible

That's what I always do :)
[Galaxy S 4 i9500 Original Android Development] white7561:
What recovery you use?
[Galaxy S 4 i9500 Original Android Development] asad007:
[MENTION=2386505]Alberto96[/MENTION] Can you add stweaks support in the kernel ?
[Galaxy S 4 i9500 Original Android Development] Mogten:
Thanks Assad, will do.
[Galaxy S 4 i9500 Original Android Development] melekbarca:
Only in stock tw rom i can reach 5h SOT but in stock lollipop 4h SOT
[Galaxy S 4 i9500 Original Android Development] shubham540:
[MENTION=2386505]Alberto96[/MENTION]

I am sorry for giving wrong review for your 22/02 test build, its stable and working great, I am currently using it since yesterday, i just want to report that "Settings FC" when I tap on Advanced in Display Settings Menu, can you plz fix this in next build? BTW what are the option available in that "Advanced" (Screenshot Attached)

Anybody know??
[Galaxy S 4 i9500 Original Android Development] Meza1:
Bluetooth in-car bad sound quality

I see there have been bluetooth updates, but I'm still having big issues with bluetooth phone audio.

In car when I make a call (initiated from phone or from car) initially there is no sound. By switching the call audio between bluetooth / earpiece / speaker a few time gets the audio through to the car bluetooth.

However - the audio quality is really bad. It sounds very distorted for both me and the other party.

I hope the bluetooth can be cleared up soon, as this ROM is getting better (14th Feb version).
[Galaxy S 4 i9500 Original Android Development] Alberto96:
20150224 Test Build: https://www.androidfilehost.com/?fid=95916177934534011

Only Updated CM Sources
[Galaxy S 4 i9500 Original Android Development] pr0ject.ftw:
[MENTION=2386505]Alberto96[/MENTION] i need help, I can not install the rom.. I get an error referred to EXT4
[Galaxy S 4 i9500 Original Android Development] AndresSanzH:
I have the exact same issue. I hate touchwiz, but I have to use it because there's a 1100 dollars fine for driving while talking on the phone here where I live xD
[Galaxy S 4 i9500 Original Android Development] tanqueta207:
[MENTION=2386505]Alberto96[/MENTION] what about this bug?

"Manual network operator search (xmm6360 baseband seems to handle it differently than xmm626x)"

I have that modem board (xmm6360) and I can't register to network. I tried everything and nothing seems to work. Even the lollipop official samsung bootloader. Will be able to use CM12 someday on my phone?

Nice ROM even if I can't use it. ha.

Thanks in advance!
[Galaxy S 4 i9500 Original Android Development] shubham540:
While flashing this build through TWRP, the first script says SE LINUX is enabled/protected with SELINUX or something like that i don't know exactly, but after flashing done, when i go to "about phone" it still shows "SE Linux" status as " Disabled"

Anybody knows??
[Galaxy S 4 i9500 Original Android Development] Mogten:
Is it just me or anybody else experiences occasional freezes on this ROM? Say while another app is opened, the phone freezes on incoming calls.
[Galaxy S 4 i9500 Original Android Development] hajyihia:
i flashed the rom last night, the 20150214 version, so far the rom is very smooth, a month ago i flashed frapeti rom and it had lag in recent apps, opening camera, and app drawer, in this though all of these are smooth, no lags at all, the only lag that i have found so far is when playing fun run 2, its not smooth, it lags more than TW roms...i dont know why, can someone help? THANKS

EDIT: its fine now, i dont know if its something i did, i just disabled in the developers options "force 2d gpu....", i hope it doesnt affect anything else...

EDIT: i found another bug, when playing a video the colors are wrong ( known bug) but also the video plays very slowly...
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
rom is smooth always thnks

plz increase speaker volume

and fix ambient display plz
[Galaxy S 4 i9500 Original Android Development] MrComputerRevo:
OK so for me sound doesn't work at all on the latest build... Tried rebooting a thousand times but still doesn't work. It does work on frapeti's build though, but very distorted.
[Galaxy S 4 i9500 Original Android Development] brunotux:
if you call someone or just start your phone to call someone, the sound comes back :)
[Galaxy S 4 i9500 Original Android Development] melekbarca:
the main reason that keep me away to use this rom as daily driver is the speaker volume .
[Galaxy S 4 i9500 Original Android Development] MrComputerRevo:
You can increase the volume by messing with mixer_paths.xml I think. At least that's how I lowered the volume in frapeti's build. The sound just doesn't work on GearCM for me without calling someone first. And that's annoying.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Ok, i'll add it :)

Uhm...it seems CM Sources related. Eleven (Music Player) on CM12 is still WIP.

Explain it a bit better.

No.

CM12 Music Player is still WIP. I'll increase speaker volume on next build.

I highly doubt it :/

It works like on Nexus 6 except for touch-to-open-notification.

1) CM Sources Related

2) CM Sources Related

3) Uhm...have you tried latest build?

Already implemented ;)

Have you tried latest build?

Well battery life depends on many factors so it can't be easily compared with other ROMs because each ROM has different characteristics.

Read previous reply ;)

I can't improve screen-on time, it depends on your usage. I can only improve screen-off (idle) battery drain.

Probably RIL/Modem Interface works a lot to search networks when there's no signal...i don't know if this can be fixed sincerely. I'll check if it happens also with LL Kernel Sources (not released yet).

I'll increase mic volume.

Yes, on next build.

Let me know if Stock LL is working fine for you.

You'll have to change manually the file system using latest GearCM recovery. (for /data and /cache)

As i said before, i can't improve screen-on time (it would mean make the rom slower).

Our sound chipset has a over-heating protection so it will always happen on first boot. (due to ART Cache process).

I'll work on something different ASAP ;)

It will be used for a WIP feature, just ignore it. :)

Have you tried latest build?

Explain it better.

Have you tried to leave your phone for 5 minutes idle after clean flash?

1) I'll try to debug Fun Run 2.

2) Make a call or reboot your phone to restore audio chipset. (known bug)

1) Read previous reply

2) Working on it. (it is a partial fix, because it works except touch)
[Galaxy S 4 i9500 Original Android Development] hajyihia:
what i understood is that ambient display works, at least it shows the notifications, but i cant get it to work...i am on the 20150214 build...
[Galaxy S 4 i9500 Original Android Development] andreskafe:
[MENTION=2386505]Alberto96[/MENTION]

May the Gear CM Recovery based on TWRP 2.8.5.0 to flash roms or restore backups present problems with the root? It also freezes a few seconds to select reboot system.

Thanks for your Gear TWRP is the only what works for me.

Powered by Google Translate
[Galaxy S 4 i9500 Original Android Development] tanqueta207:
[MENTION=2386505]Alberto96[/MENTION] about the modem and network registration. I install the ROM and some programs, use it maybe about half an hour, but network doesn't work. It worked one or two times that my network providers name appear on the lock screen but only for about 1 or 2 seconds. Manual network search doesn't show anything. I'm on Prism Barebone ROM (http://xdaforums.com/showthread.php?t=2537515) and networks works just fine.
[Galaxy S 4 i9500 Original Android Development] AndresSanzH:
Hows battery life compared with frapetis build ???
[Galaxy S 4 i9500 Original Android Development] TheAmazingAbudi:
Could someone guide me on how to increase the speaker volume through mixer_paths.xml? I did some googling, found the file, but I can't understand which lines to change. All tutorials on the net are about the nexus 5, which only seems to have one line about the speaker volume. In my mixer_paths.xml, there's so many lines about different volumes, idk what to change. Help please?
[Galaxy S 4 i9500 Original Android Development] shubham540:
Can you please wait for his upcoming build release, he increased speaker volume in it!! :)
[Galaxy S 4 i9500 Original Android Development] rachanta:
MultiROM support?

Just install Feb 14 version. Thanks for the great work [MENTION=2386505]Alberto96[/MENTION] :good::good::good:

Working very well so far, though I am still testing

Are there any custom kernels with multi-rom enabled?
[Galaxy S 4 i9500 Original Android Development] hajyihia:
should the ambient display work even without notifications or just when there is??
[Galaxy S 4 i9500 Original Android Development] .hackman.:
Only when u have notifications.
[Galaxy S 4 i9500 Original Android Development] asad007:
[MENTION=2386505]Alberto96[/MENTION]

May I dare to ask what is that ? ( with reference to stweaks)
[Galaxy S 4 i9500 Original Android Development] shubham540:
New 27/02 Test Build now available

New Test Build is Up now!! :o :good:

Grab it = https://www.androidfilehost.com/?fid=95916177934535007
[Galaxy S 4 i9500 Original Android Development] Alberto96:
New Test Build 20150227: https://www.androidfilehost.com/?fid=95916177934535007

Changelog and Replies soon :)
[Galaxy S 4 i9500 Original Android Development] jack9394:
xdaforums.com/showthread.php?t=2634729 what about this mod ?
[Galaxy S 4 i9500 Original Android Development] jafffar98:
No Sound at all , Only notification sounds are working:confused:
[Galaxy S 4 i9500 Original Android Development] MrComputerRevo:
Same here. Plus no in-call sound unless on speakerphone and proximity sensor in-call doesn't work... This is such a shame because the advanced display settings now work and they are very nice. If you make the sound work I am definitely switching from Frapeti's. But for now can't do that... Very sad :(
[Galaxy S 4 i9500 Original Android Development] shubham540:
Here, All Sounds working great for me, infact improved than before! Clean Flash the ROM again & then try!! :)
[Galaxy S 4 i9500 Original Android Development] MrComputerRevo:
That's exactly what I've done. I don't dirty flash ever. It seems that for some people sounds just don't work and for some people everything works perfectly. I wonder what determines that...
[Galaxy S 4 i9500 Original Android Development] shubham540:
Strange!! But seriously, for me, all sounds working great, now i am listening music through stock headphones :D
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Do this: reduce ringtone volume until phone vibrates (with volume buttons on home screen) and then increase it as it was before. It should unlock (4ever) speaker sound for media stuff. Something in CM sources introduced this bug.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
New Test Build 20150227v2: https://www.androidfilehost.com/?fid=95916177934535120

GearRecovery 20150227: https://www.androidfilehost.com/?fid=95916177934535119

Changelog:

- Updated CM Sources

- Fixed VOIP apps (Skype, Viber... should work fine)

- Reduced Headset mic volume

- Increased Speaker volume (yes, now it is higher but distorced at maximum volume)

- Re-introduced non-PIE binaries support

- Added Advanced Display settings

- Increased External Storage speed access

- Fixed lags on some games (e.g. Fun Run 2)

- Disabled Wi-Fi background scan (no one uses it and if enabled it causes battery to drain on idle)

- Optimized Auto-Brightness values

- Reduced battery safe temperature (before 60 degrees, now 55)

- Using Nexus 5 MMS User Profile

- Fixed Ambient Display touch-on-notifications

- Disabled Equalizer Visualizer on Music app by default (laggy)
[Galaxy S 4 i9500 Original Android Development] jack9394:
anyway to make cyandelta work with your rom? [MENTION=2386505]Alberto96[/MENTION]
[Galaxy S 4 i9500 Original Android Development] AndresSanzH:
Cant get the sound yo work on the last build. I did the volume trick but it doesnt work

---------- Post added at 05:20 PM ---------- Previous post was at 04:45 PM ----------

Proximity sensor not working neither
[Galaxy S 4 i9500 Original Android Development] shubham540:
Hey [MENTION=2386505]Alberto96[/MENTION]

I am using 20140227v1 Build, it works great for me, So, is it necessarily needed to flash v2 build?? Did you recommend it over v1???
[Galaxy S 4 i9500 Original Android Development] shubham540:
+1

[MENTION=2386505]Alberto96[/MENTION] Call Sound & Proximity Sensor both not working on latest 20140227v2 Build, due to this, i need to put that call on loudspeaker instead, now reverting back to 20140224 Build again :(
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
yup not working bro also

sound is distorted at full volume

i chk value 126 in std 132 gives nice sound
[Galaxy S 4 i9500 Original Android Development] andreskafe:
[MENTION=2386505]Alberto96[/MENTION]

I like TWRP and can only use the Recovery Gear version but I have problems with the root and is solved in part by fixing permission to restore applications but some give me FC's.

Using Prism Barebone 14.5

Powered by Google Translate
[Galaxy S 4 i9500 Original Android Development] speed s:
For some reasons, the phone is reacting like the earphones is plugged and that's why sound and proximity sensors re not working. So plug the earphone, play some music and then unplug the earphone so both sound and proximity sensors will work like it should be.

The v2 of 27 is just perfect...
[Galaxy S 4 i9500 Original Android Development] shubham540:
Now i flashed 24/02 Build, btw even i restarted my phone 3-4 times but still proximity and calls not working, i hope [MENTION=2386505]Alberto96[/MENTION] will release a new build soon, i also agree 20140227v2 Build is perfect, but due to this problem, i am not using it!!
[Galaxy S 4 i9500 Original Android Development] speed s:
Hey! You didn't read what i wrote. I gave the solution to get back sound and proximity sensors...

Just plug earphones, play some music then unplug and all will be fine
[Galaxy S 4 i9500 Original Android Development] Vinesandroid:
20150227v2 flashing with gearRecovery 20150227 .. Clean instal .... Wipe system. data. Cache. Dalvik. Done

Reboot manully untill 3 times.. And set up the ROM.. Feel better performance..

. I found some bugs in Sound speaker.. No sound when reboot.. I have to plug and unplug an earphone to get aound.. Also backlight setting.. Illuminate button is not work. Backlight always On..
[Galaxy S 4 i9500 Original Android Development] shubham540:
Yeah bro, i read what do you want to say, but now i don't want to flash the build again! Okay i am trying, actually i downloaded so many apps & few heavy games, and restoring them back take alot time thats why..

hehehe :D
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
go to developers option and enable root
[Galaxy S 4 i9500 Original Android Development] shubham540:
Every time i reboot, i need to plug/unplug earphones in order to fix proximity sensor and call sound!! :(
[Galaxy S 4 i9500 Original Android Development] speed s:
Oh sorry! I just noticed that :(

Just don't reboot your phone [emoji12]
[Galaxy S 4 i9500 Original Android Development] shubham540:
No problem bro! I can understand, but I faced some other issues in the latest test build v2:

1. While Playing Boom Beach, suddenly screen gone blank, phone itself switched off! After that, i m unable to power on it by pressing power key for seconds. Seems completely dead [workaround- plug charger and then its display turned on]

2. Loadspeaker Sound is so disorted on highest volume level, previous values are much better than current mixerpatch settings. [20140224 Build settings are good enough]

3. Sometimes Dialer not responding after listening any call or make a call to someone else.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Wait next build. Something broke headphone detection.
[Galaxy S 4 i9500 Original Android Development] body150165:
I had the same problems. Root was enabled in the Dev options. Didn't change anything. Back to CM11
[Galaxy S 4 i9500 Original Android Development] shubham540:
Sir, plz also restore loudspeaker level to default (appropriate values), its disorted! :)

We are eagerly waiting for the upcoming build :D
[Galaxy S 4 i9500 Original Android Development] MANNSAAB:
edit mixer path by root explorer and made speaker volume 126 its perfect sound quailty u got
[Galaxy S 4 i9500 Original Android Development] andreskafe:
Sorry...

I am use Prism Barebone 14.5... the rom is pre rooted.

Powered by Google Translate
[Galaxy S 4 i9500 Original Android Development] Quasar:
[MENTION=2386505]Alberto96[/MENTION] Have you tried extracting new camera blobs from the stock firmware and making a hack to get the camera working? I'm currently trying this out. Since I don't have the sources synced, could you run a test build?
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Compiling new test build with lower speaker volume and fixed audio :)

1) That is called "Emergency Shutdown". Probably your phone was too hot.

2) Read my previous reply.

3) CM Sources Related.
[Galaxy S 4 i9500 Original Android Development] shubham540:
New Stable 20140228 Build is now available!! downloading!! :D :o :)

Grab it from here = https://www.androidfilehost.com/?fid=95916177934535412
[Galaxy S 4 i9500 Original Android Development] Alberto96:
New Stable Build is up!

Enjoy :)
[Galaxy S 4 i9500 Original Android Development] Mogten:
+1.... [MENTION=2386505]Alberto96[/MENTION], can you please look into this? Its almost as if the recovery breaks the root on pre-rooted roms.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
GearRecovery is only for GearCM. (so it is intended to be used only together with GearCM).
[Galaxy S 4 i9500 Original Android Development] MrComputerRevo:
Sad to say but sound doesn't work at all... In-call sound doesn't work either. And if I call someone they can't hear me and the sound doesn't come back like on previous builds. Also I just plugged in my headphones and phone completely froze.
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Tested headset 5 minutes ago, all worked perfectly. Try to do a clean flash with latest build.
[Galaxy S 4 i9500 Original Android Development] MrComputerRevo:
Unfortunately that's exactly what I did... I am going to try get some logcats later

UPDATE: Flashed it again and now it is working... But in-call microphone is still quiet. Otherwise working great! The speaker volume is perfect now.
[Galaxy S 4 i9500 Original Android Development] Mogten:
Alright. Thanks for this! Any chance u can make it more elaborate to cover other roms as well? The regular twrp does not respond to touch on our phones, but yours does... Plus, everything installs perfectly, just the rooting aspect. Thanks so much!
[Galaxy S 4 i9500 Original Android Development] Alberto96:
No sorry, i don't have time to work on something "universal".
[Galaxy S 4 i9500 Original Android Development] Mogten:
Alright. Thanks for your time and efforts! Your work really stands out!
[Galaxy S 4 i9500 Original Android Development] MrComputerRevo:
Nope. There is definitely something wrong with it. Every other reboot sound just disappears and if you plug in headphones the phone just hangs up and reboots. And after that it's completely random if you get sound or not...
[Galaxy S 4 i9500 Original Android Development] Alberto96:
Uhm...have you tried to make a call to restore audio as specified on first post?
[Galaxy S 4 i9500 Original Android Development] MrComputerRevo:
If I make a call at that time there is no in-call audio and nothing comes back after.

And I get this in logcat constantly

02-28 22:28:04.906: E/audio_hw_primary(2509): get_next_buffer() pcm_read error -16