yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] deepongi:
The commits haven't still been merged, they are still up to review. [MENTION=3208754]codeworkx[/MENTION] made the initial commit regarding fixing the gps issue, and that one was merged. next build will be without those commits unless merged until then.
[Galaxy S II Android Development] subscope:
Someone is getting wakelocks constantly from powermanagerservice? I dont know what to do :/

Thank you :)
[Galaxy S II Android Development] endstille:
hmmmmmmm, i seem to be unable to compile the kernel, using linaro toolchain.

i adjusted my envsetup.sh and BoardConfig.mk, but in the end some files seem to be incompatible and if i google it, i find entries, that this kernel cannot be compilied, using linaro.

did i miss something? thanks for your help :)
[Galaxy S II Android Development] deepongi:
well, i urge you to google deeper... :)

use linaro eabi toolchain 4.7 or sabermod 4.7.4 toolchain for the kernel. you can not use 4.8.. it will break the build. i'm using sabermod for the kernel, that is nothing but an optimized and modded linaro toolchain.
[Galaxy S II Android Development] deepongi:
what happens with stock apps and gapps only? you must have some app calling the power management service for some reason, i think..
[Galaxy S II Android Development] light1988:
You are not alone...
[Galaxy S II Android Development] celderic:
+1
[Galaxy S II Android Development] danslinux:
Same Here
[Galaxy S II Android Development] aliander:
PowerManagerService:

If you click on the funky ?-Icon in BBS you will go to a page describing it as a placeholder/pool for all partial wakelocks from Userspace - and seems that Entropy had some part in it.

Just a quick look - don't have the time to dig deeper while working
[Galaxy S II Android Development] light1988:
i disabled gtalk. let's see what happens
[Galaxy S II Android Development] Maniac9331:
https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/PowerManagerService

---------- Post added at 11:45 AM ---------- Previous post was at 11:38 AM ----------

In partial wakelocks i have ActivityManager-Launch 255 counts 0.2% and Conectivity Services 436 counts 0.1% both are Android Services process
[Galaxy S II Android Development] deepongi:
easy mate ... ! :D you don't have to do all that stuff, you just complicating things and making it worse .. :)

your building breaks when it comes to compile the kernel..

i'll try to send during the afternoon a PM with a mini tutorial for you.

regards.
[Galaxy S II Android Development] leonardoroza:
+1 PM please? :) :thumbup:
[Galaxy S II Android Development] securecrt:
can you post it here?
[Galaxy S II Android Development] deepongi:
ok things you need to download first..

gcc linaro 4.8 2013.07, linaro android eabi 4.8 2013.06, or sabermod gcc 4.8/4.9 = rom code

arm-eabi-4.7 2013.05 (google, linaro, sabermod or dorimanx. dorimanx was working, made two test builds with it, but i exchanged it for sabermod and never used it again) = kernel code

place the rom compiler you want in "prebuilts/gcc/linux-x86/arm"

place the kernel compiler you want also in the same dir of the rom compiler plus also on "/prebuilt/linux-x86/toolchain"

edit envsetup.sh like this, and change whats in bold:

# The gcc toolchain does not exists for windows/cygwin. In this case, do not reference it.
export ANDROID_EABI_TOOLCHAIN=
local ARCH=$(get_build_var TARGET_ARCH)
case $ARCH in
x86) toolchaindir=x86/i686-linux-android-4.6/bin
;;
[B] arm) toolchaindir=arm/gcc-linaro-4.8-2013.07[/B]
;;
mips) toolchaindir=mips/mipsel-linux-android-4.6/bin
;;
*)
echo "Can't find toolchain for unknown architecture: $ARCH"
toolchaindir=xxxxxxxxx
;;
esac
if [ -d "$gccprebuiltdir/$toolchaindir" ]; then
export ANDROID_EABI_TOOLCHAIN=$gccprebuiltdir/$toolchaindir
fi

unset ARM_EABI_TOOLCHAIN ARM_EABI_TOOLCHAIN_PATH
case $ARCH in
arm)
[B] toolchaindir=arm/sabermod-arm-eabi-4.7-master/bin[/B]
if [ -d "$gccprebuiltdir/$toolchaindir" ]; then
export ARM_EABI_TOOLCHAIN="$gccprebuiltdir/$toolchaindir"
ARM_EABI_TOOLCHAIN_PATH=":$gccprebuiltdir/$toolchaindir"
fi
;;

i used gcc linaro and sabermod for this example to compile rom and kernel code, but you can do combinations to see what works best for you. DON'T forget to "make clobber" and delete CCACHE dir, everytime a build breaks and you are testing the toolchains.

edit the boardconfig.mk file in /device/samsung/i9100 and add the line, according to the toolchain you placed in /prebuilt:

# Inline kernel building
TARGET_KERNEL_SOURCE := kernel/samsung/smdk4412
TARGET_KERNEL_CONFIG := cyanogenmod_i9100_defconfig
[B]TARGET_KERNEL_CUSTOM_TOOLCHAIN := sabermod-arm-eabi-4.7-master[/B]

The kernel compiler on prebuilts and prebuilt must be the same!

final step if using linaro. edit select.mk in /build/core/combo and add -O3 optimization flag:

$(combo_target)RELEASE_CFLAGS := -O3 -g -fno-strict-aliasing

and you are done, ready to compile CM or any other AOSP ROM with custom toolchains..

regards.
[Galaxy S II Android Development] light1988:
worst battery life ever! someone help please!
[Galaxy S II Android Development] danslinux:
Mine isn't good but not that bad. I froze hangouts a couple of hours ago though. 1 hour screen on use so far.
[Galaxy S II Android Development] Karpfenhai:
And what exactly makes you think it's the roms fault?

Grow up, do your homework, get familiar with bbs, post a dump in the

right

thread if you need help.

No offense.

Tapatalked from my Galaxy SII
[Galaxy S II Android Development] subscope:
Powermanagerservice is waking up your phone too -.- it is like mine i dont understand what causes it! I will do full wipe to see if it stays normal... Battery is running out quickly :/

Btw [MENTION=1077833]infected_[/MENTION] what is your baseband? ;)
[Galaxy S II Android Development] deepongi:
well already posted, and some other users too, screens of our battery usage and they are really good... 5-6h screen uptimes ..

do like you said. wipe and clean/fresh install. install only gapps and if you want more precise baterry stats, install also bbs, and let it run for one or two battery cycle.. you'll see that is some app causing it.

PS: baseband/modem = BULP8 | ICS 4.0.4 portuguese vodafone modem .. :D
[Galaxy S II Android Development] deepongi:
Anyone good with adobe Photoshop or corel paint shop pro that would like to make the OP, second post and sig more beautiful ?! :angel: i would be very thankful, and give proper credits of course.. :)

Anyone willing to do so, please send me a PM.

Many thanks :)

EDIT: build 20130717 is ONLINE ! :cowboy:
[Galaxy S II Android Development] Karpfenhai:
I'm not going to ignore you :D

It could be your setup, do you use a current modem?

Which version of gapps are you on?

So you have latest maps installed(7.x)?

I recommend a fresh start, clean Rom, New gapps. If it's still bad, then blame the Rom. Afai experience, battery is slightly better as on cm10.1 "stock" Rom.

Regards

Tapatalked from my Galaxy SII
[Galaxy S II Android Development] danslinux:
Latest nightly I have a drain of about 3.5% a hour which is pretty amazing. Normal usage. Stock kernel etc. Will stop posting these now but again a big thank you for the excellent rom.
[Galaxy S II Android Development] fatlus:
Hey guys, i am on the 16.07 build with the siyah kernel from 16.07. I have some problems with battery draining and CPU states. First it seems that the phone sometimes hangs on 200MHz. The phone is very laggy and the sound output stutters in some cases. I am on ondemand and row. The other problem is the battery draining. I lost in approx. 2h 30% battery and only hear some poweramp music und wrote some whatsapp messages. I did a wipe and a fresh install a few days ago. Better battery stats shows me no special wakelocks or processes. Google now is deactivated. What takes my attention is, that the battery system overviews shows me that GPS is active. But i deactivate it via quick tile. Or is it the wifi location service?

You can see all the things in the attached screenshots.

Another thing: Sometimes i have the problem that the screen brightness is set to the lowest value after waking up the screen instead of using the previous value set by me. Auto brightness is off.

Gesendet von meinem GT-I9100 mit Tapatalk 4 Beta
[Galaxy S II Android Development] deepongi:
install latest nightly 20130717 and Gustavo CM kernel 1707 and see what happens. try with stock apps and bbs only first.
[Galaxy S II Android Development] CRXed:
That happens sometimes and then you need to reboot.

Also, BBS screenshots/logs are useless if you use the screen that much and use apps that keep your phone awake, like playing music.
[Galaxy S II Android Development] Karpfenhai:
"Hanging" @200 mhz does usually indicate something is still running while screen is off, please post an idle dump from bbs with root features enabled in the desired thread.

Regards

Tapatalked from my Galaxy SII
[Galaxy S II Android Development] deepongi:
and thats a situation in Gustavo kernel. i think he fixed it on build 1707..

regards.
[Galaxy S II Android Development] fatlus:
Wow, many many many thanks for your fast responses. I will update to the newest build and kernel and make some diagnostics. I appreciate this forum sooo much! How can i gift you a beer, guys? :P
[Galaxy S II Android Development] jrn2k:
Runs great on my i9100 ! new life for my old phone.

And thx for the help and advice on building my own rom threw PM , i now build my own linaro builds for my Nexus 4! :good:
[Galaxy S II Android Development] endstille:
I just wanted to say: thank you!!!

it worked like a charm :)

Best Regards

Marc
[Galaxy S II Android Development] subscope:
Well after a gull wipe and using same radio as you [MENTION=1077833]infected_[/MENTION] i still get powermanagerservices on fire -.- i just installed facebook, facebook messenger and chrome nothing more ... I dont know ehy i get this :/
[Galaxy S II Android Development] deepongi:
and without those apps?
[Galaxy S II Android Development] Maniac9331:
Are u on extreme battery profile on dorimanx kernel?? Cos if u are that might be it, i also have that kernel wakelock but my battery last around 45 hours it's 2000 mah battery soo i dont mind..:D
[Galaxy S II Android Development] Maniac9331:
View attachment 2123565View attachment 2123567

But what is media scanner service??
[Galaxy S II Android Development] eradicator006:
Is anybody experiencing any gps issue on the latest build? I've been having issues for a while now. It takes quite a while to get a lock. A while back there was a flashable zip posted that contained a static gps lib. That fixed things for me. In recent CM builds the gps issue was supposedly fixed. My gps is behaving quite weird. When I flash a new CM update OR clear the cache in CWM my gps will work fine for a day. The next day it will take minutes to get a lock. One thing to note is that I'm not using the static gps lib anymore. I haven't used that since the fixes were merged in to CM.

BTW I'm loving the linaro builds. Battery life seems to be quite a bit better than stock CM.

Thanks.
[Galaxy S II Android Development] deepongi:
you aren't using AGPS aid?
[Galaxy S II Android Development] subscope:
Same thing withou these apps ... I dont know the real problem :/ no1 have this wakelocks?
[Galaxy S II Android Development] deepongi:
nop.. i don't have that wakelock.

PS: build 20130718 UPLOADING..
[Galaxy S II Android Development] eradicator006:
Yes I'm using agps. I use GPS status and have agps to update when it's older than an hour.

I did a full wipe and reinstall today. We'll see how GPS is tomorrow.
[Galaxy S II Android Development] Vahooli:
infected ,

now im on 0714 version for 3 days and my battery is so better than 0708 and 0711 versions. thank u :)
[Galaxy S II Android Development] aliander:
hm...anyone else expierencing a noticable lag after some hours of use (next day at the latest)?

As this is emerges after some time, I'm not sure if this is a bug (memory leak?) in the ROM, kernel or some misbehaving app - so asking this here is pretty much just a shot in the dark ;)
[Galaxy S II Android Development] deepongi:
kernel used?
[Galaxy S II Android Development] papakitou:
Phoneapp

And powermanagerservice wakelocks all the time

Kernel gustavo siyah based

Yesterdays builds.

Dafuq

*mobile
[Galaxy S II Android Development] subscope:
[MENTION=1077833]infected_[/MENTION] dude powermanagerservice is waking up my phone and never stop... When you do full wipe in your phone what you do? What you install? I dont know why this sh*t is waking my phone :/

Thanks dude ;)
[Galaxy S II Android Development] eradicator006:
An update on my issue.

After a full format of all partitions the GPS is still working great. I think I had some corruption some where because when I would reboot my phone I would always get the "Android is upgrading" message. Now I don't get that message.
[Galaxy S II Android Development] deepongi:
http://xdaforums.com/showpost.php?p=26812810&postcount=10

http://asksven.github.io/BetterBatteryStats-Knowledge-Base/howto.html
[Galaxy S II Android Development] deepongi:
Big update coming up... 45 commits so far. Most of them related to the same, but still.. the biggest update since a few days back.
[Galaxy S II Android Development] Maniac9331:
Ok, powermanagerservice was not a problem untill everyone start useing bbs, that wakelock is the sum of all partial wakelocks and its normal, if u do a full batteri cycle ull see that the wakelock will go under 1% soo its normal is not a problem. Thing is that only some devices make a sum of all partial wakelocks and in result will pe a kernel wakelock named powermanagerservices.

Cheers!!
[Galaxy S II Android Development] mpbtejada:
Hi Guys. Was able to successfully flash the latest flash. Is way faster compared to the previous stock-bsaed ROM I was using. Problem is, contacts keeps on FC. Did a full wipe prior to install and wiped cache and dalvik as well. Even tried fixing permissions but nothing. Any help would be appreciated. Thanks.
[Galaxy S II Android Development] deepongi:
try format /system partition.

PS: build 20130719 is ONLINE!
[Galaxy S II Android Development] mpbtejada:
Did a clear data on both Contacts and Contacts Storage. That did the trick!﻿

Didn't see the PS! Downloading now. Thanks a lot for the quick updates.
[Galaxy S II Android Development] jrn2k:
Why are there 4 19th builds on your medafire account?:p
[Galaxy S II Android Development] aliander:
Sorry, saw it to late. Using Gustavos kernel with ondemand gov and row scheduler. Did a complete wipe and format of /system

Runs well after reboot or fresh flash, but then ... sometimes it's nearly not possible to just type stuff, because the keyboard isn't recognizing touches anymore :/

---------- Post added at 08:01 AM ---------- Previous post was at 07:59 AM ----------

Are the 49 commits merged into your build?

Thx btw :)
[Galaxy S II Android Development] deepongi:
yeah... i left it uploading and went to sleep, and the upload hanged at 100% ... So MediaFire did the kind job of uploading 3 extra times the build... :rolleyes:

already delete those.

regards.

Edit: well, still 28 people saw that was a mistake and downloaded the build "#1" .. :D going to update the project stats in a while... need caffeine first... :cool:
[Galaxy S II Android Development] deepongi:
yes, all commits of the official CM 10.1 build 1907 are also in this build.

regards.

PS: try reverting Gustavo kernel to 1207.. seems people are reporting "bugs" on latest 1707..
[Galaxy S II Android Development] danslinux:
Media scanner battery usage went a but nuts on latest build. Reran media scanner from developer tools and OK again now. Not the ROMs fault just have too much crap on my SD card. Just mentioning in case anyone else had the same issue. But another excellent build and thank you again.
[Galaxy S II Android Development] deepongi:
38 builds (nightly builds/test builds) = 4051 downloads total !! :p

Thanks guys.. :)
[Galaxy S II Android Development] danslinux:
Excellent work thank you and congratulations
[Galaxy S II Android Development] papakitou:
Battery everyday gets worse..

I dont know what is going on..

A little audioout wakelocks.

*mobile
[Galaxy S II Android Development] CRXed:
Not the ROMs fault...
[Galaxy S II Android Development] papakitou:
Im really trying with all my "spy" programs to find out the problem.
[Galaxy S II Android Development] wolfmenace:
I had a similar problem and I ended up formating the internal memory.....

Just a tip - backup everything you need on your external SD + the ROM you need to flash, and when you are going to format everything remove your External SD Card just to avoid formating the SD Card as well :P

It was a hassle to do it but now everything is ok..... :good:

Btw this rom doesnt have the developer options ? I want to enable usb debugging and I cant find it.. :o
[Galaxy S II Android Development] papakitou:
Which tool /way did you use to format internal?
[Galaxy S II Android Development] pimser:
you have to tab build info in about phone several times and voila there are the options ;)
[Galaxy S II Android Development] deepongi:
you have in storage section of the settings or in cwm recovery. no need for 3rd party tools..
[Galaxy S II Android Development] papakitou:
Alright..

Do you plan to announce build today?

Im planning a fresh installation

*mobile
[Galaxy S II Android Development] deepongi:
its not worth make a full build just for 2 commits..

let's see if more are made during day.

regards.
[Galaxy S II Android Development] Maniac9331:
Yo [MENTION=440006]iNFECTED[/MENTION] i had a strange keyboard fail(not responding) after i tryed to upload a photo on xda app, but not sure if its the app, thing is never happend before on other roms, btw check out this baby sleep over night on ur build awesome thumbs up!!View attachment 2129849
[Galaxy S II Android Development] TheSpaceManatee:
When you see the 'S' word you'll **** bricks
[Galaxy S II Android Development] deepongi:
nightly build 20130721 is ONLINE ! :)
[Galaxy S II Android Development] feedtheducks:
This is the best cm10.1!!! Thanks infected!!!
[Galaxy S II Android Development] Shyciii:
Can I use Apollo JB 4.8 kernel with this CM10.1 rom (about BLN support)?
[Galaxy S II Android Development] danslinux:
No. Apollo is Sammy ROMs only I believe
[Galaxy S II Android Development] Shyciii:
Thx.
[Galaxy S II Android Development] mpbtejada:
Guys, do i also need to update radio coming from a sammy-based rom? currently using DXLS8. I mean everything is working fine except that sometimes I seem to drop signal in places of proven high signal. Thanks.
[Galaxy S II Android Development] Maniac9331:
That's what i'm talking about!! Gj infected!!!View attachment 2133276View attachment 2133277
[Galaxy S II Android Development] wolfmenace:
Can you please specify some more details of your settings?

Kernel/Kernel Settings ?

Modem/ril?

3G Enable/Disable?...etc
[Galaxy S II Android Development] Maniac9331:
Stock kernel with stock settings,

Modem XXMS3 witch is working great for me.. And 20130719 infected build, wifi only data connection, i never use mobile data from my network provider cos it saks:D cheer
[Galaxy S II Android Development] danslinux:
Pretty excellent.

Mines not quite as good. But still very good. All stock.
[Galaxy S II Android Development] deepongi:
Build 20130722 is ONLINE :)
[Galaxy S II Android Development] kewinh0727:
which is the lowest recommended battery percentage when flashing an update ?

because i always charge up to 100% battery and can be pretty annoying sometimes or maybe it is best to to it at 100% battery :) ?
[Galaxy S II Android Development] alb3rtt:
I have flashed at 5% before. Nothing bad has every happened but if you want to be 100% safe, it needs to be over 50% and over 75% is recommended.
[Galaxy S II Android Development] Vahooli:
everytime i backup then flash new rom i loose about 10 12 battery
[Galaxy S II Android Development] Maniac9331:
3% was the lowest for me but risky soo dont do it..
[Galaxy S II Android Development] danslinux:
I'm having trouble getting the latest nightly to work. I've redownloaded it but it gets stuck at the Samsung logo. Anyone have the same problem?
[Galaxy S II Android Development] wolfmenace:
Yeap I can confirm that there is a problem with cm-10.1-20130722-INFECTED-i9100.zip !!!

It doesnt boot , stucks on Samsung Galaxy Logo

so a warning........

DONT DOWNLOAD & INSTALL THE cm-10.1-20130722-INFECTED-i9100.zip

unless we have a confirmation from Infected that the problem is fixed.....
[Galaxy S II Android Development] nasaprinsloo:
Same here - it does however work if you plan to do a full wipe.

was stuck on Samsung logo - wiped data /factory reset and installed. working fine
[Galaxy S II Android Development] jaji87:
Yeah!! i get that too!!
[Galaxy S II Android Development] deepongi:
yep, confirmed. going to compile a new build. don't know what happened ... :confused:

easy mate... these are nightly builds... never forget that. and no need for large font and bold style "DANGER, DANGER"... i just remove it from the folder, like i did, ok? :)

that didn't worked for me.

a new build freshly synced is compiling. i'll test it and then upload it.

those who already flashed nightly 2207, flash previous build and problem solved.

regards.
[Galaxy S II Android Development] ph3n0mII:
Dirty flash worked for me fine. Was i lucky enough to wake up to cm-10.1-20130722-INFECTED-i9100.zip v2?

Few people on cm-10.1-20130722-NIGHTLY-i9100 having the problem too though.
[Galaxy S II Android Development] deepongi:
there's no v2... that was the only 2207 build... i'm compiling already a new one.. you maycall it v2 if you want.. :)
[Galaxy S II Android Development] ph3n0mII:
Ok cool, i must have bee lucky then :)

I.m going to call it v1.01a ok :D

Thanks again for your work!:good::good:
[Galaxy S II Android Development] deepongi:
yep.. seems problem with initramfs and/or kernel. if you flash a normal cm kernel or other compatible kernel, it will boot.
[Galaxy S II Android Development] ph3n0mII:
Ok cool, i must have bee lucky then :)

Thanks again for your work!:good::good:

BTW i missed your question somehow a while back. I still get entire signal dropouts on stock 2.3.3, 2.3.6 and 4.0.3.

Just I don't get the logs on 4.0.3 or lower because i think Samsung didnt enable logcat output until 4.1?

My droupouts are always in high signal conditions, 3 or 4 bars of H+, usually testing at speeds of around 8-9 Mbit through speedtest.net app or website around the drouput times.

I have noticed i barely get any dropouts until I use a game called Urban Terror (based on quake3 engine) and sometimes when using Teamviewer.

Also sometimes i get call dropouts when leaving wifi tethering on while making a phonecall (even if no data is being transferred)

I suspect it might be partially caused by wifi driver, and also related to android UDP buffer size or something, but I dont know why it can run fine for hours, then crash when the UDP connection is terminated, barely ever during UDP session. Its like closing the UDP socket is crashing the modem or something somehow.

Anyway I won't ramble too mucha bout it, but its would be a very specific and biased hardware problem if it really is hardware related.

BTW i noticed my pings are lower with XXMS2
[Galaxy S II Android Development] deepongi:
well if it happened on 2.3.3, 2.3.6 and 4.0.3 (sure you tested on 4.0.4 and 4.1.2) and now 4.2.2 on CM 10.1, and i'm pretty sure you already tested several modems, could it be related to your mobile provider? or even a faulty hardware on the i9100, since you got those dropouts since the beginning..?
[Galaxy S II Android Development] CRXed:
People are reporting the same problem, not booting, for i9300.
[Galaxy S II Android Development] deepongi:
downloaded official CM. going to test it. probably the same problem... made two builds, both same problem also..

EDIT: SAME problem... !! todays nightly code is messed up... no mater the way you compile its broken anyway.
[Galaxy S II Android Development] nasaprinsloo:
Running fine after format.

Either wait for the problem to be fixed, or try and flash a kernel afterwards. Maybe that will work

Cheers
[Galaxy S II Android Development] deepongi:
yeah, i know that... i said it in previous post ... :)