yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] auiterwaal:
Wakelocks

Hi [MENTION=5464206]AntaresOne[/MENTION] and [MENTION=4899086]alucard_24[/MENTION]

First of all, thanks again for your amazing work. I´ve been using this ROM since day 1 and now it´s my daily driver.

Regarding wakelocks, I found some info that could be usefull and appears to be something on the kernel side.

On the screenshots attatched you can see that my phone is being kept awake for more than one hour with screen off. The main wakelock is the msm_hsic_host, PowerManager.Display and PowerManager.Wakelocks.

After a little research, I found this usefull info about the first one (http://xdaforums.com/showthread.php?t=2155461):

"The msm_hsic_host wakelock is because the 3G modem is connected to the phone as an external USB device controlled by the hsic host controller. When the modem wakes up for any reason (apps sync, location, tower ping, etc...) the wakelock is requested. The problem is that the hsic host controller doesn't go back into suspend mode properly, this is a problem with the kernel. The result is that because the hsic host controller isn't asleep the phone wont enter deep sleep while it waits for the hsic host to suspend.

There is the additional issue that if your signal is poor the operations that caused the wakelock in the first place take longer to complete thus lengthening the time the wakelock is held.

The issue is significantly reduced on WiFi for obvious reasons, all the data is transmitted via WiFi so the 3G modem doesn't need to wake up nearly as often, it still wakes up to deal with tower checks and that sort of thing to ensure that it has voice connectivity, but those events are much rarer.

There are kernels available that attempt to solve this problem, Harsh kernel as suggested by another user has fixes in it along with a lot of other changes, the fixed kernel I'm working on is stock with these changes as well, either should help, it's not possible to eliminate this wakelock completely without shutting down the 3G modem which would of course prevent data and voice use of the phone, but they will reduce the wakelock and may help with your battery life."

I haven´t been into this wakelock before last build, and I´m experiencing much less Screen On Time than I usually got with this ROM.

So, this is definatly NOT a post about a "misc" drain. Just a culprit that MAYBE something could be looked into on the kernel side to improve this.

About the other two wakelocks, I haven´t come into a conclusion.

Also, Netflix is not working (eternal loading).

EDIT: Added another screenshot. Maybe too many wakeups from AntaresOne Updater??

Hope this help in any way and I´m at your disposal for anything you need to know about this.

Regards!
[Galaxy S 4 i9505 Original Android Development] munkyvirus:
AICP has Lollipop nightlies.
[Galaxy S 4 i9505 Original Android Development] deflagmator:
Audio Alarm in SD card

I had the same clock problems. After reset clock app and set audio for alarms to default rom ones, clock works perfect. (before this i tried all the possibilities of clean installation).
[Galaxy S 4 i9505 Original Android Development] masj:
In STweaks, the UPDATE AD-B NOW give me a error message.

I have no problem with my connection. Tapatalk is working.
[Galaxy S 4 i9505 Original Android Development] Coldboot:
I had tried force stopping the app and clearing its cache and data--with no improvement. But I never touched the audio, mainly because it would freeze or flake out when going into the alarm settings--didn't even know they were set to non-default audio.
[Galaxy S 4 i9505 Original Android Development] bknez:
??? Of course is aicp 5.0 lollipop

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
It's a known issue Ad b hasn't worked for quite some time. Interesting that someone has only just noticed it, suggests that no one uses it anyway.

Perhaps it's time for it to be removed to make the kernel slimmer, after all most people have their own ways of blocking ads -personally I use adaway and have done for years ;)
[Galaxy S 4 i9505 Original Android Development] Vairn:
[MENTION=5464206]AntaresOne[/MENTION].

I think the bluetooth patch should be optional. Since it breaks another feature.

People can choose which is important for them.

I havent had any crashes with it and my headphones.

I did get the audio rerooted to the headphones once out of 10 times tho. No idea why. I shall investigate further.
[Galaxy S 4 i9505 Original Android Development] drnjstj:
Italian hours. ;)
[Galaxy S 4 i9505 Original Android Development] erghetto:
someone here has tried to give an explanation of misc bug. for me it's buggy. it doesn't seem to affect my battery (i have a great battery life, absolutely better than kitkat, maybe 1 hour of screen more), but today that misc, sometimes was there, sometimes not.. o.O is it's a feature of android l, it has to be present ALWAYS. just 1 hour ago, i looke at battery usage, and i was surprised because that voice was absent.

few minutes ago i have controlled again, and it was again there -.-

as a user said before, it can't be at first place constantly. screen is what uses most battery.
[Galaxy S 4 i9505 Original Android Development] masj:
In the previous ROM im my s4 (http://xdaforums.com/galaxy-s4/i9505-develop/rom-cyanogenmod-11-built-justarchi-t2846082) it worked. No problem. Here I go to Adaway again [emoji3]
[Galaxy S 4 i9505 Original Android Development] kapiszon53:
Thanks for fast answer

I'm on latest build, didn't change kernel or any settings, and according to cpu-z, I'm on alucard governor.
[Galaxy S 4 i9505 Original Android Development] reb1995:
I am on the KT Kernel (which also has a little bit of sound distortion when the screen is off, although I think it my adjustments that made it an issue.) so I can't help at the moment.

Hopefully someone will be able to help now that they know your setup and issue.
[Galaxy S 4 i9505 Original Android Development] The assasin:
My battery stat...

Mobile net, wifi, bluetooth, gps, 20% screen brightness, etc.. was off only text and call. From 100% i used it in a day still 52% remain... good enough:D

But with open mobile network while browsing and a little download on playstore, my 50% battery last only in less than an hour. BBS Screenshot was taken on 1% battery....

12/9 BUILD...
[Galaxy S 4 i9505 Original Android Development] N!KE26:
According to bbs you did a boot only some minutes before taking screenshot. The problem is that bbs is resetting the values when you do a boot so the stats you sheared are only 5mins of usage so they dont tell anything. Only thing I recommend you to do is freeze all apps you dont use and the updater app also. Battery life should improve after you do that.
[Galaxy S 4 i9505 Original Android Development] dcillusions77:
Just noticed when I sent a picture I took with Google camera and then went into gallery and sent it through messaging that it didn't give me the "message not sent" error. Just thought I'd share that
[Galaxy S 4 i9505 Original Android Development] mmkadrlik:
Anyone else been having problems with widgets hanging? Looks like a Google issue, but wanted to get an idea from others.
[Galaxy S 4 i9505 Original Android Development] reb1995:
Can also confirm that sending mms does not give a message not sent error.
[Galaxy S 4 i9505 Original Android Development] carole6m:
MMS has never given a message not sent error. It was SMS that shows the failed message.
[Galaxy S 4 i9505 Original Android Development] yurividal:
For everyone having issues with gmail push notifications (and other google push notifications), here is a possible fix:

- Grab latest google play services apk from apk mirror

- install it

- go to settings, account, and completely remove your google account

- reboot

- go to settings, account, and add your google account.

Seems to have solved for me. Will keep reporting.
[Galaxy S 4 i9505 Original Android Development] GrndSers-Rcng:
Anybody having problems with adb debugging going off as soon as you turn it on?
[Galaxy S 4 i9505 Original Android Development] tkruijer:
I9505G gets it's Lollipop update, it's 5.0.0 though, not 5.0.1 xd

http://feedproxy.google.com/~r/androidcentral/~3/rzF7rEXV8d0/story01.htm
[Galaxy S 4 i9505 Original Android Development] Bacx:
Could this official update help with the bad speaker sound on the S4 in any way?
[Galaxy S 4 i9505 Original Android Development] tkruijer:
You should try the Q&A thread, and ask for it there :) http://xdaforums.com/showthread.php?t=2946574
[Galaxy S 4 i9505 Original Android Development] mohammedtaherpatla:
Well hello to all

first i would like to thank you all for releasing this rom i just love android 5.0, ya this rom has some bugs which i hope will be fixed soon

now what i was telling is as this is the galaxy s4 it would be good if you could put the s-view feature in it which is there in the stock rom , i do not like the apps available as they work on the light sensor(i guess) as when i cover my hand on top (usually while watching videos ) the app runs screen goes blank ,and on to top it all it is very lagging it would be really great if i could get this feature in the rom or a appropriate app please

thanks
[Galaxy S 4 i9505 Original Android Development] adelancker:
I tried to replicate what you did, because I thought my battery drain was all down to the BT wakelocks, but I am experiencing the same as you are: as long as data is turned off battery life is in fact very reasonable! :D
[Galaxy S 4 i9505 Original Android Development] N!KE26:
Try with another modem.
[Galaxy S 4 i9505 Original Android Development] cawa5:
http://www.randomphantasmagoria.com/firmware/galaxy-s4/jgedlteue/
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Is a good news, I'm already updating blobs from GPE 5.0 for this ROM!!
[Galaxy S 4 i9505 Original Android Development] yurividal:
Edit: thought it worked. But it did not. Still no gmail push
[Galaxy S 4 i9505 Original Android Development] dwarfer66:
Hang on my post and another just disappeared.
[Galaxy S 4 i9505 Original Android Development] jd1001:
Were they development related? If not moderator probably cleaned the thread.
[Galaxy S 4 i9505 Original Android Development] Tkkg1994:
Hey guys our Galaxy S4 Google Play Edition is getting the Android Lollipop update! Check here:

www.sammobile.com/2014/12/13/samsun...starts-receiving-android-5-0-lollipop-update/

Edit: Saw that Antares already posted it. Sorry mates... :(
[Galaxy S 4 i9505 Original Android Development] Madalinsuny:
Sorry for my mob questions: in first post says that the last update is from 12.12.2014, but on host file the last build is from 9.12.2014. The update is available only from de update apk from the Rom?!
[Galaxy S 4 i9505 Original Android Development] jd1001:
Search back through the thread for the download link.
[Galaxy S 4 i9505 Original Android Development] erghetto:
Yesterday he said that he would have given us a new build, but till now nothing. Maybe he is busy. We can only wait for his great work. Last update is 9/12
[Galaxy S 4 i9505 Original Android Development] Madalinsuny:
Jd1001 say to look for the download link. .you say the last update is from 9.12.2014..what should I understand? !
[Galaxy S 4 i9505 Original Android Development] DSA:
09/12 build

Clean install

formatted to f2fs via philz

Browser rotation fc

12-13 15:25:43.430 E/AndroidRuntime(20740): FATAL EXCEPTION: main
12-13 15:25:43.430 E/AndroidRuntime(20740): Process: com.android.browser, PID: 20740
12-13 15:25:43.430 E/AndroidRuntime(20740): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
12-13 15:25:43.430 E/AndroidRuntime(20740):	at com.android.browser.NavScreen.init(NavScreen.java:142)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at com.android.browser.NavScreen.onConfigurationChanged(NavScreen.java:105)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.view.View.dispatchConfigurationChanged(View.java:8776)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1278)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1282)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1282)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1282)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.view.ViewGroup.dispatchConfigurationChanged(ViewGroup.java:1282)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.view.ViewRootImpl.updateConfiguration(ViewRootImpl.java:2973)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3116)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.os.Handler.dispatchMessage(Handler.java:102)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.os.Looper.loop(Looper.java:135)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at android.app.ActivityThread.main(ActivityThread.java:5221)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at java.lang.reflect.Method.invoke(Native Method)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at java.lang.reflect.Method.invoke(Method.java:372)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
12-13 15:25:43.430 E/AndroidRuntime(20740):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
[Galaxy S 4 i9505 Original Android Development] jd1001:
The latest builds are posted in the thread. You need to look back through to find them.
[Galaxy S 4 i9505 Original Android Development] N!KE26:
The last build is 9.12. I think he changed the last update to 12.12 because he added new TWRP version to the OP.
[Galaxy S 4 i9505 Original Android Development] treibstoff:
https://github.com/AntaresOne?tab=activity

here you can see what he is doing at the moment...... very useful
[Galaxy S 4 i9505 Original Android Development] Madalinsuny:
Thanks!
[Galaxy S 4 i9505 Original Android Development] jd1001:
What happened? There was a new build posted and then it disappeared!
[Galaxy S 4 i9505 Original Android Development] nesor85:
What you just said happened. Maybe a bug was found or something similar.
[Galaxy S 4 i9505 Original Android Development] VanGolfer:
We have the AOSP GE available: GOOGLE EDITION 5.0 by Danvdh. [MENTION=5464206]AntaresOne[/MENTION]: you may think of the GPE version or make a poll to see which one would be more popular.
[Galaxy S 4 i9505 Original Android Development] Piksou:
The two have little in common, so I don't see your point.
[Galaxy S 4 i9505 Original Android Development] VanGolfer:
Some people like myself likes pure google better ?
[Galaxy S 4 i9505 Original Android Development] Negroid:
Question: I heard to use the lollipop camera APIs, drivers had to be released by the manufacturer. Previously, only a few nexus devices have those. Since the official GPE rom for the S4 has been released, we'll those contain the needed parts to use the new camera APIs for lollipop, and if so can those portions be integrated into this rom? I'd love to try them out. Lol thanks. Loving this rom ?
[Galaxy S 4 i9505 Original Android Development] Inelukis:
I think that's the reason Antares is waiting to release the new build! With the GPE update released we have official and more optimized drivers
[Galaxy S 4 i9505 Original Android Development] N!KE26:
Agree, I think he is making something amazing for us.
[Galaxy S 4 i9505 Original Android Development] Inelukis:
By now, the only problem with this rom is the huge drain using 3g.. I hope this will be fixed in this build, after so many work by Antares!

About the new api, API2, probably we won't be able to use them at their full potential because of our limited bandwith.
[Galaxy S 4 i9505 Original Android Development] jamesmcuk:
Come on Antares - You little tinker lol - Give us a little something lol! Its killing me! Do you really want a death on your hands? :)

PS: do you have a donate Paypal addy?
[Galaxy S 4 i9505 Original Android Development] N!KE26:
Have you tried with new modem?
[Galaxy S 4 i9505 Original Android Development] zubyro:
what is the new modem ?
[Galaxy S 4 i9505 Original Android Development] N!KE26:
I meant new/another modem. Like newer than you have right now.:D
[Galaxy S 4 i9505 Original Android Development] MartelKombat:
It could be... But how long did it took samsung to update the sourcecode to everyone the last times (4.3/4.4.x)... I think he has weekend and some other things todo
[Galaxy S 4 i9505 Original Android Development] Yousvel:
I jumped from [MENTION=5464206]AntaresOne[/MENTION]'s to the Official GPE, I have to admit they are two different roms.

BTW, I like it though. But I love AntaresOne's one.
[Galaxy S 4 i9505 Original Android Development] BakedTator:
I tried the gpe version and I couldn't get cell service...guess its where I'm CDMA
[Galaxy S 4 i9505 Original Android Development] MartelKombat:
Oh, i didn't read the wohle threat again...
[Galaxy S 4 i9505 Original Android Development] munichsfinest:
On Danvdh's GE ROM I have 2G network, so it's definitely a CM problem. Too bad :(
[Galaxy S 4 i9505 Original Android Development] fabix95:
the volume is low, the music and calls feel low. how to solve?
[Galaxy S 4 i9505 Original Android Development] Mox512:
Have starange floating bug with camera.

You push the button to make a shot but nothing happens. Openning camera settings and closing and it is working again, i am using Google camera.
[Galaxy S 4 i9505 Original Android Development] knuckles1978:
I also had that happen recently..
[Galaxy S 4 i9505 Original Android Development] Yousvel:
[MENTION=5464206]AntaresOne[/MENTION] is an amazing developer!
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Indeed, the weekend lol

It's not the only thing, I worked hardly on this ROM in last 4 days, and now I'm just waiting that Samsung releases GPE 5.0's kernel source. I may bring you an update today including a lot of stuff (mostly our work in last days) but still without updated kernel stuff from GPE (damn, Samsung!!)

No I don't want a death on my hands! :p

You can find it in my xda profile or just press "donate to me" (you find this button by reading a my post on browser instead of Tapatalk/xda app. Otherwise is mattia.dalleva@live.it

Thanks in advance :) donations are always highly appreciated since the huge work that I do on ROM (alucard on the kernel) in almost all my free time, electricity consumption...

Thanks :)

Inviato dal mio GT-I9505
[Galaxy S 4 i9505 Original Android Development] lucsbran:
[MENTION=5464206]AntaresOne[/MENTION]

Confirmation number: 3ES73601RE360911N

Here a few beers for this awesome work. It's not a fortune but if everyone uses this fantastic ROM donates, you would be a millionaire now. ;)

Thanks, keep up the great work.
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
Thanks!! :)

I'm always happy to receive them, especially because it's always nice to get something for what you do, hours on hours of development to bring you the best stuff :)

Inviato dal mio GT-I9505G
[Galaxy S 4 i9505 Original Android Development] johnadelic:
I sent you a little something as well. Just a small token of my appreciation for all your hard work.
[Galaxy S 4 i9505 Original Android Development] Android-Desire:
Maybe stop pressing the update button when there is no update?
[Galaxy S 4 i9505 Original Android Development] Inelukis:
Antares, an new build is a new one! And it's always appreciated! Also because samsung is really slow, you know..
[Galaxy S 4 i9505 Original Android Development] dafabsl:
I wrote you a personal message, i would really appreciate your answer !

I made a new OTA updating app for this version !
[Galaxy S 4 i9505 Original Android Development] jamesmcuk:
[MENTION=5464206]AntaresOne[/MENTION] Never even noticed that little donate button on your posts. Shows how observant I am doesn't it LOL. Anyway sent you a donation 9M519979G6295905X
[Galaxy S 4 i9505 Original Android Development] side:
great work man...i turned from stock rom to your rom...its nice and stable BUT ,i miss some things

1)i would like to have silence mode button on notification bar.data enable/disable is missing too....(multiwindow too but i dont know if it is easy to be made)

2)can i use the camera apk from stock rom ?

3)how can i config the Stweaks to make it faster as possible ? (i dont care for battery consumption,but i dont want my phone toasted :P )

4)i would like to see an AUTO brightness button on notification bar

are these possible to be made?

ROM is great though,but i will go to stock again if next update cant cover my needs
[Galaxy S 4 i9505 Original Android Development] dajumper:
The latest Rom is not installing! Get error while flashing
[Galaxy S 4 i9505 Original Android Development] Soufiansky:
I'm checking for updates every hour , i'm impatient for another build with more features :D
[MENTION=5464206]AntaresOne[/MENTION] : thank you for all your hard work , one of the best developpers here ;)
[Galaxy S 4 i9505 Original Android Development] lucsbran:
I grabbed the camera2.apk from CM11 (latest nightly) and installed it in this awesome ROM but ... camera stopped. I would like to have the original camera2 because that one gives you a lot more than the latest (Google) in this ROM. I mis panoramic, save on SDcard.

Is there no possibility to get this "old" camera2 into CM12 build?
[Galaxy S 4 i9505 Original Android Development] ZiCoN:
Hmm... Got some sync issues with this build. Eg my calendar won't even show in sync.
[Galaxy S 4 i9505 Original Android Development] fabix95:
up
[Galaxy S 4 i9505 Original Android Development] Piksou:
Chat I am saying is that they have little in common by design.

GPE is built by Samsung & Google, it's well tested, only issues can come from I9505G/I9505 differences

CM is built from source, it's available earlier but can be more buggy at first. But teh source flexibility allow adding more functions.

More importantly work put into one can't really be used for the other, thgey a few inputs in common (like drivers from GPE for CM) but the work AntaresOne is doing is very different from what is needed for GPE port and vice versa.
[Galaxy S 4 i9505 Original Android Development] Jsilver73:
To everyone asking questions about how do I do this, is it possible to do that etc..........

I can answer all of your questions - when you ask them in the right place, that is when you stop cluttering this 'ORIGINAL ANDROID DEVELOPMENT' thread up and ask in the correct place which would be the q&a thread ;) here
[Galaxy S 4 i9505 Original Android Development] jeancca:
[MENTION=5464206]AntaresOne[/MENTION] do you really need to wait for the GPE kernel?
[Galaxy S 4 i9505 Original Android Development] AntaresOne:
To update some stuff, but I'm already building an update now

Inviato dal mio GT-I9505G
[Galaxy S 4 i9505 Original Android Development] ShinySide:
Just fyi, for users, to help out by sending a simple email, requesting release of the kernel source, you can visit

http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=i9505g

and in the upper right hand corner there's an email link. Just fill out the request forum with device model and what firmware version you are requesting, and they'll post it quicker. In my experience in requesting sources from Samsung they usually post it within 48 hours of request. Samsung is actually really awesome at fulfilling a request in a timely manner.
[Galaxy S 4 i9505 Original Android Development] tkruijer:
Guys and girls, like [MENTION=5580710]ShinySide[/MENTION] has said before: if we all request Samsung to release the Source Code of the latest I9505G Lollipop update, we have a better chance of them actually releasing the source code.

So please go to this link (http://opensource.samsung.com/reception/receptionSub.do?method=inquiryView), and fill in a request of releasing the Lollipop Sourcecode for the I9505G :)

Thanks all!