yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Hey guys, I've also experienced these slow downs but only on my s4, not on my nexus4/5/7 or even my old s2, so this makes me think it's something to do with this phone. Have you guys experienced this on any other ROMs? I was thinking it might be to do with using nexus7 GPU drivers but reverting all that stuff is going to take some work and I'm just following cm with what there doing.

Regarding non intrusive call, I removed it because I wanted to add another feature were the call goes into the background so you can answer from the notification panel, this way if your doing something you can finish and then answer, with non intrusive the foreground app would still freeze so you couldn't really finish what you were doing.
[Galaxy S 4 i9505 Original Android Development] Socim:
I have never encountered the freeze yet. I am on latest 2/16 and alucards kernel.
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
I'm doing some work on the s4 this week, I'm going to be using it for the next few days, next build will be unified which means it will work on all variants thanks to cm, also some cool new additions to quick settings. I did think the slowdowns might be to do with all the notification panel options we have but because it doesn't happen on my other devices it cant be that.

I'm building a kernel with the orignal GPU drivers but I will have to revert the vendor blobs so if all goes well I might also release a test build original GPU drivers.
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
Hi,

I have experienced this issue with alot of S4 AOSP Roms

Hope this helps,

how about having the option to have non intrusive call dialog as the default caller? i love this dialog hate the slide to answer thing though! that would be very cool
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
[MENTION=4260913]CallumMarks77[/MENTION] seeing that you have experienced this on other ROMs makes me think it is to do with using nexus7 GPU drivers because most devs are following cm regarding this except Nameless ROM, I've started a build with the old GPU drivers I'll test it and if everything is working I'll upload it so you can test it.

I'll see what I can do about non intrusive but no promises.
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
That makes me think, when I was using nameless wrong ran it for like 3 days, it didn't freeze once now I think about it, so I think your right on that front

And no problem about the non Intrusive request :)

Best of luck on the new build, will defiantly test it for you :)
[Galaxy S 4 i9505 Original Android Development] kofe:
Do any of u have problem playing videos that were recorded using the camera apk??

I've tried playing them using bs player, mx player and stock video player, and the video won't play. It just stays at the first frame captured, then it FC's...

I will try on another rom and see if the problem persists.

As for non intrusive call, i really liked that option, so it would be nice to have it back.

LE: nevermind the thing about the video playing, after one reboot all returned to normal.

LE 2: It happened again :( tried to watch a video made with my phone on sunday, and gallery fc. Tried to open with a different player but still no go... Can anyone confirm?
[Galaxy S 4 i9505 Original Android Development] kofe:
Just tested another AOSP rom (this one) and i had no freeze till now, and i am using it for a couple of hours. Will keep testing it till tomorrow.

And about that video playback of the films captured with the camera apk, on this rom it works flawless with all 3 video players mentioned before. I think it might be related to the GPU drivers...
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
A couple of hours is too early to tell anyway because these freezes are very random also seeing that the ROM you have switched to is based on cm it is most definitely using flo GPU drivers, regarding video playback there have been some camera updates since I released and video playback is fine for me so maybe try the next build when I release it.

Little update, I've made a build with the orignal GPU drivers and I'm testing now for a few days to see if I experience these slow downs. One thing you guys will have to note is that if I stick with using the orignal GPU drivers most if not all custom kernels will stop working because they are all using cm kernel as a base.
[Galaxy S 4 i9505 Original Android Development] kofe:
Will keep testing it for a day or two and see the results.

As for the GPU drivers i don;t know what to say, but it's no fun not being able to use custom kernels :(

Isn't there a middle way?
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
Will you be able to get your experimental kernel to work or maybe even the kt kernel?
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Oh yeah I made sure I built my kernel first because I use it myself ☺, I don't think KT will work because the last time I checked his github he was using the new gpu drivers but you can always try it.
[Galaxy S 4 i9505 Original Android Development] Duendes:
Using this ROM for first time with default kernel (ondemand) and works all perfect.

I like it very much. No lags using Themer Beta and good batery life. Congrats.
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
If you want a custom kernel try the experimental one the links in the op, also try intelliactive governor.
[Galaxy S 4 i9505 Original Android Development] Chelonee:
I'm using KT Kernel with this Rom and only have freezes (about 2 - 3 seconds) when booting to the system the first time after a fresh install. But apart from that I never experienced any minor or major freezes. But on the other hand I'm using art instead of dalvik.

Wouldn't that be a clue that it is not the GPU drivers fault? I really like Mahdi Rom and for me it works flawless with KT Kernel. :)
[Galaxy S 4 i9505 Original Android Development] Socim:
I am also using art and no freeze yet.
[Galaxy S 4 i9505 Original Android Development] kofe:
Can I use art if i'm also using xposed?
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Sadly no. :( It is either art and no xposed framework or dalvik with xposed framework. The dev of xposed has to rewrite the app to make it work with art.

But nevertheless, I can really recommend you to try it a while. :) Using art now over a month and it works great! I'm missing a few of the xposed mods, but well it's not too bad.
[Galaxy S 4 i9505 Original Android Development] kofe:
[MENTION=4593553]Mahdi786[/MENTION] i managed to get a log file when i try playing a video recorded with camera apk. You can find it here

Also i have some news (don;t know if there are good or bad) about the rom i was testing: i got a small freeze with it too, when trying to open a whatsapp notification, the notification panel freezed about half way dow for few seconds...

So it's not your rom only.

Hope the log helps you and me also :)
[Galaxy S 4 i9505 Original Android Development] dsmitty166:
Hey guys, a few kinks being worked out on the server. Mainly waiting for a dns update to happen. Until then, please use this redirect. http://mahdi-rom.androidfilesharing.com

Team Mahdi-Rom
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Camera has had some update since this build so best to test the new version when its out, my videos are playing fine but I am using a newer build with updates.

Regarding the slowdown, they are definitely to do with using flo GPU drivers and most ROMs following cm will have these slowdowns, I've been running my build with the original GPU drivers for 3days now and not one slowdown, if you use omni or nameless ROM you will notice they don't have these slowdowns either because they are not using flo GPU drivers. I've already seen a log of the slowdown but I couldn't get anything useful from it.
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
Sounds like we're going to the other drivers with your experimental kernel
[Galaxy S 4 i9505 Original Android Development] :
Can I flash on T-Mobile s4?
[Galaxy S 4 i9505 Original Android Development] ench18:
Any new updates coming soon Mahdi? I was thinking of using the new Firmware leak that came out and which ever new update you make (Rom and Kernel)? I can't seem to go back to regular TW LOL :laugh:
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
The next build will be unified which means it will work on all variants like cm

Updates come every week so maybe Saturday or Sunday.
[Galaxy S 4 i9505 Original Android Development] ench18:
Sweet man :D Once the update is out, i'll give the new leak and your rom and kernel a go. :good: Thank you again.
[Galaxy S 4 i9505 Original Android Development] iT0mm0:
great rom thanks

just a couple of irritating niggles

everytime i reboot the nav bars show up, any way of perm disabling them ?

and again when i reboot the phone switches to LTE

any help appreciated
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Most of the times the navbar bug is gravitybox related. Do you have it installed? If yes, try to disable the nav bar in Gravitybox. If that alone doesn't help, another user reported this bug can be dealt with by going into the Gravitybox settings and setting the navigation bar height to 0. :)

For the LTE thing: In settings > more (2 options under wifi) > preferred networks you can set the network you want to use.

I hope that helps :)
[Galaxy S 4 i9505 Original Android Development] Socim:
I have just found the feature from setting of the phone app, excellent! Thank you very much.
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
Hi mahidi seeing though we have the call back ground now with the notification can we have a notification icon for it?
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
This new build should fix the problems with the navbar

What do you mean a new icon? When a call comes in you get the phone icon that appears in the status bar.

Guys I've started a new build I'll upload when it's done, remember this build is running the old GPU drivers so your favorite kernels won't work.
[Galaxy S 4 i9505 Original Android Development] JRW 28:
Will the new build still be universal for all S4 users?
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Yes
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
My bad dude, never noticed it until just now, sorry

Old GPU means no more fr eyes correct? Will your exp kernel work... Been running it for a while and really smooth and without the freezes will be amazing?
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
No problem, glad your enjoying this feature.
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
Dam you replied before I modified my comment haha, question regarding the gpu and exp kernel in previous post
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Yes I've been running it for nearly a week now with no freezes, I've added faux's simple GPU governor and some neon patches, also merged Linux 3.4.81 the experimental kernel is very good.
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
Will flash later on, what is chamber of secrets?
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Basically you can create a shortcut for any setting you want but you need to know the string for the setting, its quite an advance feature.
[Galaxy S 4 i9505 Original Android Development] kevin95:
When I restore data from my nandroid, I get a message saying "com.android.phone has stopped unexpectedly" and I lose and regain signal every time the message appears. Any ideas why? This is my first time on this rom.
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Your restoring data from another ROMs nanroid?

Best to clean install if your coming from another ROM.
[Galaxy S 4 i9505 Original Android Development] kevin95:
I did. Wiped data/cache & formatted system. Then I did a custom restore of the data on my nandroid,
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
That is the problem your restoring data from another ROM, don't restore the data and it should be fine.
[Galaxy S 4 i9505 Original Android Development] kevin95:
Well, I tried restoring the individual apps from nandroid manager and titanium backup but it just ends up getting stuck mid way.
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
You have to note were its getting stuck, it must be a specific app that is causing a problem, also its never a good idea to restore system data from another ROM.
[Galaxy S 4 i9505 Original Android Development] kevin95:
I didn't restore any apps from the system partition. Just the data partition. I've done it a lot of times before but this is the first time I've encountered this problem.
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Ok, there must be a specific app that is causing the problem. Nothing to do with the ROM.
[Galaxy S 4 i9505 Original Android Development] vakaviti:
Flashed latest build thanks mahdi I'll keep so far so good. No more status bar freezes yet :) fingers crossed I don't jinx it

Sent from my island home
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Thanks, did you flash the experimental kernel?
[Galaxy S 4 i9505 Original Android Development] vakaviti:
No not yet I'm going to see how it runs with stock kernel first then I'll flash experimental kernel :)

Sent from my island home
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Cool, try it out its very smooth.
[Galaxy S 4 i9505 Original Android Development] Socim:
Can you please merge the power off alarm feature to deskclock as well? Thanks.
[Galaxy S 4 i9505 Original Android Development] CallumMarks77:
Wow, what a great build, no freezing running exp kernel, all set up and working great!

Thank you
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Hi Mahdi, thank you for the update! I was a bit sceptical since I always used your Rom in combination with KT Kernel and that is not possible anymore because of the different gpu drivers. But you convinced me! I dirty flashed the update together with your experimental kernel and it is really a notable difference regarding the smoothness and the overall speed of the rom. :highfive:

Do you recommend any specific settings for your experimental kernel besides using ondemand govenor?
[Galaxy S 4 i9505 Original Android Development] Socim:
I can confirm latest ROM works with alucards.
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Nice, thank you for confirming! :highfive:

This is the Omni Rom version of alucards kernel, right?
[Galaxy S 4 i9505 Original Android Development] Socim:
No, it's aosp version.

---------- Post added at 02:53 PM ---------- Previous post was at 02:43 PM ----------

I am afraid of explosion so I prefer UV instead of OC, as sometimes I found the CPU temperature could almost reach 100℃...
[Galaxy S 4 i9505 Original Android Development] Duendes:
Yes, me too with Alucard AOSP and work perfect.
[Galaxy S 4 i9505 Original Android Development] Chelonee:
One last question :D

I see you use the version gfoc, but the only one I can find is AOSP gfo. Is the version you are using a newer one or just gfo with Selinux? And where can I find gfoc?

Thanks! :)
[Galaxy S 4 i9505 Original Android Development] AndroidInsanity:
Will I be OK installing this if am on a new bootloader coming from 4.4 kit kat touchwiz?
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Shouldn't be a problem. :)

Just make sure to make a nandroid backup.
[Galaxy S 4 i9505 Original Android Development] jarule08_2008:
I got 2 bugs first when I open gallery phone reboot and I CNT receive or make call
[Galaxy S 4 i9505 Original Android Development] Chelonee:
I tried both and making and receiving calls works for me. Did you dirty flash the rom?

Easiest solution would be performing a clean install and test if calls work for you. :)
[Galaxy S 4 i9505 Original Android Development] jarule08_2008:
I reflash 3 times with full wipe and same bugs
[Galaxy S 4 i9505 Original Android Development] JohnnyBlack10:
Sorry but my video in this room is weird. Allot! On YouTube and browser too :/
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Then you could try something else. In the nexus 5 thread if Mahdi rom I read about a few users, who had problems when they did a clean install.

Download and flash mahdi-2.5-jfltexx-20140216. Try if making and receiving calls work there (I'm pretty sure it will). After that, go back to recovery and dirty flash the newest version on top (just wipe cache/dalvik).

I hope that helps to get rid of this bug. :)

---------- Post added at 07:07 PM ---------- Previous post was at 07:01 PM ----------

Do you mean you have black stripes/artifacts in the video? I have the same problem, but I guess it is because I use alucards kernel. What kernel are you using right now?
[Galaxy S 4 i9505 Original Android Development] JohnnyBlack10:
Yes dude! Stupid stripes ...I am with build kernen in ROM. All original :)
[Galaxy S 4 i9505 Original Android Development] jarule08_2008:
I use the 20140216 and it great I will make a try with ur solution hope will fine ...until now I flash my phone more than 10 and same bugs thxx again will see
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Stock kernel? Didn't test youtube before I flashed alucards kernel. Did you try the experimental kernel from mahdi?

I hope that fixes the issue. Please report back if it works that way, I'm curious. :fingers-crossed:
[Galaxy S 4 i9505 Original Android Development] JohnnyBlack10:
Exactly ....no experiment....I flash ROM nothing touch.....if touch then is aaauch for me :(
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Mahdi created another kernel called "experimental kernel". This one should work a bit better on the rom :)

Flash Mahdis experimental kernel and then try if youtube works. :)
[Galaxy S 4 i9505 Original Android Development] JohnnyBlack10:
Oki doki you are my guardian!

---------- Post added at 07:33 PM ---------- Previous post was at 07:25 PM ----------

Damn ...I am angry now....no luck....with exp. Kernel the same ****:(

---------- Post added at 07:40 PM ---------- Previous post was at 07:33 PM ----------

What is my next step? Who know?
[Galaxy S 4 i9505 Original Android Development] Chelonee:
I'm sorry it didn't help. :( I guess this bug can only be fixed by Mahdi then.
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Just tested many different kernels and noticed that: In youtube app I always have some graphic bugs, but when I use the AOSP Browser everything is fine. Which browser are you using?

And try if another app helps. :) Like Video Tube in the playstore for example.
[Galaxy S 4 i9505 Original Android Development] JohnnyBlack10:
Stock Browser. Result is the same... I see only half video.
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
In your build prop can you find this line

mm.enable.smoothstreaming=true

Can you change it to false and then reboot try YouTube see if it helps, its all working fine for me on my kernel.
[Galaxy S 4 i9505 Original Android Development] Chelonee:
I changed it to false, but the bug is still there. I'm using stock kernel right now.

For me it looks like this:
[Galaxy S 4 i9505 Original Android Development] JohnnyBlack10:
Ys yes yes...now its fine :)))))))))))
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
For you its not working

with it set to true or false, that's weird.

Glad it worked for you, which variant s4 are you guys using?
[Galaxy S 4 i9505 Original Android Development] Chelonee:
Sorry, i guess it didn't save the change in build.prop. I tried again and now it sticks to false and youtube Videos are working!

But what's even better, i can still use KT Kernel and the Rom runs smoother and faster than ever.

Thank you, i'm really really happy with the new Version! :)

I use the international GT-I9505.
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
That's good, I'll change that for the next build. I'm very surprised that these custom kernels still work, let me know if you have any freezes.
[Galaxy S 4 i9505 Original Android Development] Socim:
It's the latest version, I built myself with selinux. PM sent.
[Galaxy S 4 i9505 Original Android Development] soyusado:
I'm really happy with the newest version, it's running quite great alongside latest KT kernel.

Thanks for your work.
[Galaxy S 4 i9505 Original Android Development] kofe:
Flashed latest build an hour ago.

Till now no freeze, will continue monitoring.

Also changed the build.prop line in order to make the video playing smooth.

Flashed KT kernel, and running ok.
[Galaxy S 4 i9505 Original Android Development] s1l3nt:
rom is running great so far on my ATT galaxy s4. Once i heard the builds were unified, i had to flash it and give it a try. Also running it with KT kernel
[Galaxy S 4 i9505 Original Android Development] Mahdi786:
Nice, good to know its running on other variants. You could get the word out there. ☺
[Galaxy S 4 i9505 Original Android Development] s1l3nt:
alright, will do.
[Galaxy S 4 i9505 Original Android Development] PiggySmalls:
Working beautifully on T-Mobile variant, with [MENTION=4325945]ktoonsez[/MENTION] kernel. Love this ROM, use it on Flo, and loving it on S4 as well. Thanks for everything.
[Galaxy S 4 i9505 Original Android Development] Socim:
Hi [MENTION=4593553]Mahdi786[/MENTION], is it possible to merge this commit to our ROM? Thanks.

https://github.com/CyanogenMod/andr...mmit/10ca9e19a17cc2bd4b61975290b006d61e3622d5
[Galaxy S 4 i9505 Original Android Development] emu1982:
Always been a fan of the Mahdi Rom and awesome work.

However im having an issue with the latest build, I cant make or receive calls, when I do I alsways get an android.incallui

process error and the phone errors until the call has finished. unable to do anything whilst in a call or when a call comes

in. Anyone else having issues?

Thanks
[Galaxy S 4 i9505 Original Android Development] Diabl0z:
Yes me all u need is clear data dailer
[Galaxy S 4 i9505 Original Android Development] Socim:
Works perfect for me. Have you tried to wipe dalvik cache?
[Galaxy S 4 i9505 Original Android Development] emu1982:
This is from a fresh install, Tried both of those methods but still the same issue...

Thanks for the ideas though..
[Galaxy S 4 i9505 Original Android Development] Socim:
Are you on latest radio firmware? I don't know if it affect but I'm on XXUFNAD.
[Galaxy S 4 i9505 Original Android Development] emu1982:
I was on the one you have and have also switched to the official I9505XXUFNB8 to see if that helped but nothing. :(

Appreciate your help.
[Galaxy S 4 i9505 Original Android Development] ItzMar:
Does anyone know how to hide the battery icon in status bar?

As im using gravity box's battery icons (for colour mods).

Id like to remove the system one so i dont have two batteries in my status bar.

:cyclops:
[Galaxy S 4 i9505 Original Android Development] kofe:
You can`t hide it. At least not from the settings menu. Sorry
[Galaxy S 4 i9505 Original Android Development] iT0mm0:
latest rom and experimental kernel are running extremely smooth :good:

could i make a request

on the lockscreen shortcuts would it be possible to use custom icons instead of system or holo ?

ive no idea how much work that would take but it would (for me) really make this rom stand out from the crowd

many thanks :eek:
[Galaxy S 4 i9505 Original Android Development] Chelonee:
I'm not sure if this will work, but you could try this:

Flash Mahdi Build mahdi-2.5-jfltexx-20140216.zip, boot into the rom and see if everything works as it should.

Then reboot to recovery and dirty flash the newest version.

I dirty flashed every update and didn't experience any major bugs, so this might be worth a try. :)

+1 :D