yashsingh1/xdaforums huggingface dataset:
[Nexus S 4G Android Development] Igetlaughs:
Sorry for the noob question. How do u fix permission on ns tools. I can't change the governor either

Thanks in advance
[Nexus S 4G Android Development] androidforeve:
Hold your power button go to recovery advanced fix permissions hope that helped:D

---------- Post added at 04:56 AM ---------- Previous post was at 04:55 AM ----------

You don't do it from ns tools
[Nexus S 4G Android Development] :
Hit the wipe cache button in recovery while you're in there.
[Nexus S 4G Android Development] styckx:
Hiya bedalus, when you rolled back to the 4.8 state you also kept along with it the no MTP option for NS4G. :) 4.8.7 has no MTP

No biggie, just passing along the info.

Cheers
[Nexus S 4G Android Development] mdean1981:
Yes it does cause I am using it right now. Download USB Switcher for Galaxy SII from the market. It will work with any phone and see if it is set to mass storage or MTP. If you need further help refer to the very first post as there is a link to a tutorial. I can also help you if needed. Hope this helps.
[Nexus S 4G Android Development] styckx:
I know how to use it thanks.. It isn't in the init.herring.usb.rc for the CM version of 4.8.7 so I know for a fact it isn't in it.

Edit: Reflashed it.. It's working now..

Sorry, I'm cranky as hell this morning, I had to buy a new coffee maker cause mine broke mid-perk
[Nexus S 4G Android Development] mdean1981:
HA! I was about to say. Don't tell me it's not working when I'm using it right now..LOL It's cool. Have a cup of coffee on me. ;)
[Nexus S 4G Android Development] styckx:
Will do man. :) Thanks for understanding. I'm a rare one who doesn't shy away from admitting when I'm being unreasonable or having an attitude. Everyone is entitled to be wrong and I was..
[Nexus S 4G Android Development] mdean1981:
No problem. Technology can take us to frustration levels that are unheard of. It's a learning experience. I don't consider myself a novice but I do require some reminders from time to time. Although I think that's more due to the foggy memory I got.
[Nexus S 4G Android Development] :
Good attitude. Thanks
[Nexus S 4G Android Development] :
v5 is here: http://goo.gl/HvUrp

-Stable version. Several weeks in the making, thanks to all the brave testers! :D

-Disabled High Resolution Timers

Significant changes since v4.7

-Disabled high resolution timers

-Update to mainline linux 3.0.45

-Up-to-date with android-3.0/common

-there were unused frames in the frame buffer. Reclaiming it has given us 407MB! All credit to nightsky87!

-Add fastcharge

-Reduced 1GHz step volts from 1275mV (CM) to 1250mV (Samsung default)

-Reduced 1.2GHz step from 1350mV to 1300mV in accordance with my calculations (see: http://goo.gl/mEMfW)

-More memory from Ezekeel's bigmem tweak

-Fixed MTP on 4G

-Completly removed deadline

-Removed all debug stuff (separate debug builds available

-Stability fixes

-55 files modified and maybe a hundred odd individual fixes. Most compiler warnings were meaningless, but some genuine errors solved

-Fixed colours, users without voodoo should now have a decent experience

-Added BLN modes (see OP for link to settings)
[Nexus S 4G Android Development] androidforeve:
Just downloaded it so far so good everything seems nice and smooth will test GPS later
[Nexus S 4G Android Development] :
This feels like a decent release to me. But feel free to report any issues, however minor (or major! :p)
[Nexus S 4G Android Development] androidforeve:
GPS locks quick faster then 4.8 on my phone anyways :D
[Nexus S 4G Android Development] :
That's good news! Do you use your GPS a lot?
[Nexus S 4G Android Development] androidforeve:
I do that's why first thing I do is test GPS the rest I slowly test
[Nexus S 4G Android Development] mdean1981:
Running your kernel is like having a stable nightly every night with a weekly stable stable build..

Just flashed. My lid is licked.. HA!
[Nexus S 4G Android Development] :
It's important to keep your lid licked.
[Nexus S 4G Android Development] styckx:
4.8.7 just as stable as 4.8.1.. Love it.. Thanks for your work!
[Nexus S 4G Android Development] mdean1981:
Well said.

Did you do more color tweaking? This build seems more vivid to me.
[Nexus S 4G Android Development] lurtis:
Dammit and I just flashed 4.8.7..... Just figured out mtp! Dunno why I never tried before! Holy fast usb transfers! Filled up my 11gigs of sdcard in under 20 minutes

Sent from my Rasbean rocket.
[Nexus S 4G Android Development] :
If you're not using voodoo, i tried to get the balance right. As natural as possible even at low brightness. If you use voodoo app (or script, see OP in other thread for examples) you can tweak to preference.
[Nexus S 4G Android Development] mdean1981:
It is installed but I haven't done anything with it yet. I think it looks good just as it is really.
[Nexus S 4G Android Development] androidforeve:
Bedalus so far no reboots everything working good as usual been running it pretty hard amazing job as usual man
[Nexus S 4G Android Development] srthimsen:
Been running 4.8.7, just had a reboot today with a clean install of 10-10 rasbeanjelly. Had just opened a new SMS message to write.

http://db.tt/0CIA0pTU

Had severe android os drain since using this version (staying awake for 7-8 hours), don't know if it just so happened to start when I upgraded to 4.8.7 or not. My assumption is that it was a ROM issue, not kernel.
[Nexus S 4G Android Development] Snuffalofagus:
I'm still on 4.5 LOL! What am I missing out on?
[Nexus S 4G Android Development] FAFS:
I'm also getting high os drain
[Nexus S 4G Android Development] :
Did you see this post?
[Nexus S 4G Android Development] :
Android OS drain is proportional to your ratio of screen on time to system uptime.

If it's high and you've not had much screen on time, but your device has been running a long time, eg you flashed before bedtime, you'll see high Android OS, which is normal.

But if you see high Android OS and you've been using your device, then you might want to consider disabling Google location & search, and/or Google Now.
[Nexus S 4G Android Development] styckx:
4.8.7

You can't beat this kind of screen off performance.. Only 15 minutes screen on time. (the little blip at the end is me plugging it in to copy a file this morning)

OEM Battery
[Nexus S 4G Android Development] mdean1981:
I'm having a hard time wrapping my head around your screenshot here. What use is a smartphone you never use? You said so yourself a 15 minute screen on time. I mean most of us if we shut radios off and never used our phones could get that kinda life. I'm not really seeing how this is great battery life if you aren't using your phone for much more then a paperweight. Maybe it's just me but I'd rather see this kinda battery life under moderate use rather then not using my phone much at all so I got a kick ass screenshot to put on XDA. To each their own I guess.
[Nexus S 4G Android Development] styckx:
What it is doing when I'm not using it is just as important to me as what it is doing when I am using it. They go hand in hand. I've seen many complain about losing XX amount of battery life in XX period of time without even using their phone. Screen off performance is a great measuring tool.
[Nexus S 4G Android Development] mdean1981:
I can understand that but at the same time who wants a phone that when you do use it drops 10% in a matter of minutes. I agree screen off time should be very good but not at the expense of poor battery when it is on. I'd be happier with 8 hours of good use then 16 hours of no use. I also think people want these batteries to last days like the old analog days when we all had the Nokia with the pop on customization covers that went 3 to 5 days on battery. Those days are gone.
[Nexus S 4G Android Development] mdean1981:
So I reflashed BlackBean 5 last night with marmite 5 and I'm not sure if the kernel is not playing as well as 4.87 or if BB5 is giving me the issue. What can I do to narrow it down? Battery life has seem to drop about 50% and I haven't really used my phone any more then normal, which is usually moderately.
[Nexus S 4G Android Development] :
Idle drain at 0.5% is as good as it gets. 1-1.5% is more usual in jellybean.
[Nexus S 4G Android Development] :
Wipe cache and dalvic and fix permissions, should probably solve it. Let me know!
[Nexus S 4G Android Development] mdean1981:
I did this and immediately within the hour I noticed a difference which is weird cause I did it twice before with no change. However as dumb as this sounds I think I may be running the wrong kernel. I run BlackBean 5 and correct me if I am wrong but isn't that CM based? So should I be running the CM kernel or the all other roms version? Or are they even backwards compatible?
[Nexus S 4G Android Development] :
One won't work on the other!
[Nexus S 4G Android Development] FAFS:
Android os is still sucking my battery, I have disabled apps, wiped cache and dalvik, fixed permissions, even did a full wipe and flashed a different rom. Running v5 anything more advice?
[Nexus S 4G Android Development] FAFS:
Battery
[Nexus S 4G Android Development] mdean1981:
Here is my stats on 5.0. I took the phone off the charger just before I went to bed. Does the deep sleep time look like it is draining to much battery compared to the awakes? To wake up 9 hours later to find myself at 56% was kinda surprising. What do you all think?
[Nexus S 4G Android Development] :
Yes, if you wiped your /data partition, your system will be rebuilding it's media metadata, and once it's finished the OS usage will return to near zero.
[Nexus S 4G Android Development] :
Follow the same procedure as FAFS and give it a bit of time to settle.
[Nexus S 4G Android Development] mdean1981:
I'm in the settling stage then I guess. I'll report back after another charge cycle or two.
[Nexus S 4G Android Development] Igetlaughs:
Sorry I looked in OP for link to BLN settings and can't find it. V5 is running to perfection

Thanks in advance
[Nexus S 4G Android Development] Igetlaughs:
Forget it. After a reboot BLN works fine
[Nexus S 4G Android Development] srthimsen:
V5 reboot, running 4g rascarlo (port by rustyjay) 10-11.

Was downloading the 10-15 update, had plugged in my phone, checked status, then walked away. Don't know if it was a soft or hard reboot, as it was at android logo when I got back.

http://db.tt/0CIA0pTU
[Nexus S 4G Android Development] styckx:
5.0 just as stable as the rest.. Great job
[Nexus S 4G Android Development] :
It's a PVR problem again. I've altered something called PVR linux shared memory area, which may help. That will be in version 5.2, which I will upload shortly.
[Nexus S 4G Android Development] ebs512:
my job is complete thanks to the testers marmite is working on both crespo devices and crespo4g be on the lookout for bb6 :D:D:D
[Nexus S 4G Android Development] rawr703:
I'm also having a battery drain issue, the difference I think between my experience and the recent posts is that mine starts out great, then gets progressively worse.

I'm running 4.8.2 and CNA 3.6.6 Rom. I flashed my current set up 10/5 and had great battery life, no issues until 3-4 days ago. I haven't made any changes to settings or installed any new apps. NFC, Google's location service, location & Google search unchecked in settings. View attachment 1410297View attachment 1410298

I haven't tried wiping, fixing permissions, or reflashing as yet because as its a progressive problem, I wonder if there's a different cause. It could also be a rom issue, but as I saw other posts about drain I am trying here first. Any advice appreciated.

---------- Post added at 09:42 PM ---------- Previous post was at 09:35 PM ----------

http://db.tt/1Vt9nlLc

http://db.tt/XxIjgWst

These are dropbox links to screen shots, as I don't think attachments to my previous post worked.
[Nexus S 4G Android Development] ebs512:
tried a reboot after having 5.1 installed to get BLN working, reboot didnt fix it, will upgrading to 5.2 fix this, tried with ns tools, any thoughts?

Edit: Switched to 5.2 last night on bb6 beta, so I don't know how accurate my analysis is going to be but from running 5.1 after a day on bb6 beta I had major battery drain, no WiFi on, semi regular use, the thing that I found was odd is I was at 17% at the beginning of class last night and I had USB charged my phone in class on the PC and the charge decreased faster, by the end of class my phone was dead. Here is a screenshot of my battery stats but like I said I just flashed 5.2 last night from 5.1 so could be mixed stats, also BLN works for me on 5.2, also I have not changed any governor settings or clocking settings, everything default, min cpu freq 200 max cpu freq 1000
[Nexus S 4G Android Development] :
I mentioned this to my friend in the other Non 4G thread, if your search for your username rawr703 in that thread, you'll probably find his response there, a few posts later.
[Nexus S 4G Android Development] :
here is v6: http://goo.gl/HvUrp

-Fixed the wifi-reboot issue

-Added custom voltage only at 1.2GHz

-A couple of compiler warning fixes (thalamus)

-Re-add kallsyms

I've bumped to version 6 to reflect the new feature of custom voltage, but this is still strictly a test version due to compiling with v3.0.47-rc1. When the mainline is officially released, I'll dump this patch and merge the official.

Please continue to report any bugs, and upload last_kmsges, which are very useful. I look at all of them, and if I haven't responded to you personally, it doesn't mean you didn't help! Thanks! :D
[Nexus S 4G Android Development] mdean1981:
Sweet. I had to roll back to 4.8.7 For some reason 5.0 brought back the Android OS bug back and was just murdering battery life on my phone. 4.8.7 seemed to run superb for my device. May make a nandroid and give v6 series a go. As always great work and great help to us ;)
[Nexus S 4G Android Development] PapaDocta:
Very smooth kernel.. No more laggy phone with this kernel.. Thanks for the great work :)
[Nexus S 4G Android Development] ebs512:
Flashed 6.0.1 and oc to 1200 increased +25 voltages across the board no issues to report right now, if my crespo testers have no issues and this is going to be an official stable, I will update the default unless 6.0.2 is going to be the official stable?
[Nexus S 4G Android Development] :
v6.1 will be the next official stable, because I may have nuked ADB and also, I need to double check that I actually increased the FSB to 220MHz, which I'm not sure I did correctly. If I'm satisfied with the results, v6.1 might arrive quite soon. This evening maybe!
[Nexus S 4G Android Development] mdean1981:
Waiting impatiently..LOL
[Nexus S 4G Android Development] DMardroid:
V6.0.1 + SlimBean = :thumbup::thumbup:
[Nexus S 4G Android Development] styckx:
You rule
[Nexus S 4G Android Development] mdean1981:
Are we still waiting for 6.1? I see there has been a 6.0.3 release. What is differing in this release compared to 6.1 that was mentioned bedalus?
[Nexus S 4G Android Development] :
There may not be a difference, because for 6.1 it's just a mainline kernel update, but I've got 3.0.47-rc1 merged in already.

I haven't checked yet, but if there's no difference between 3.0.47-rc1 and 3.0.47 official then 6.0.3 will just be renamed 6.1
[Nexus S 4G Android Development] mdean1981:
Sounds like a safe bet to flash then. Time to hit the nandroid backup! ;)
[Nexus S 4G Android Development] genaro12543:
Is there a way to get fast charge to stick after a reboot? Everything else does with nstools cept fast charge
[Nexus S 4G Android Development] sceptor:
Absolutely agree
[Nexus S 4G Android Development] :
There's a widget, it might work, but I've never tested it. You need to find it in the market. I think the dev is called chad froebel but off the top of my head i probably spelled it wrong
[Nexus S 4G Android Development] styckx:
Hey bedalus, the geek is causing this question to fester in my head. I have general idea of why but want to know from the horses mouth. Can you explain why the max overclock of 1096 instead of the previous 1.2? Does it have to do with you bumping the GPU up to 220?

Again, not undermining your work, just the tech geek in me wanting to know the details behind it. :)
[Nexus S 4G Android Development] genaro12543:
Doesn't stick after reboot but it is more convenient thank you
[Nexus S 4G Android Development] ebs512:
Switched back to 5.2 because 6.0.3 kept giving me random reboots from trying to access my screenshot option in the power menu
[Nexus S 4G Android Development] polobunny:
Wouldn't one be able to switch it from init.d?
[Nexus S 4G Android Development] mikegleave13:
This did not happen to me on Rasbean. ROM related?
[Nexus S 4G Android Development] ebs512:
I was overclocked using custom voltages +25 across the board, also random reboot when in phone call and also dynasty had a reboot when using the flash in the camera, 5.2 is good for me and is what I will most likely keep default in bb6, no reboots :rolleyes:
[Nexus S 4G Android Development] :
Just don't overclock!

And custom voltage is disabled for 100/200/400/800/1000MHz. It's only available for the 1.1GHz step.
[Nexus S 4G Android Development] mdean1981:
Not sure if anyone else experienced a GPS issue but I flashed the latest 6.0.3 and could not get a lock. I rolled back to 4.8.7 and locked immediately. It could of been specific to my phone but I was on the road with it so I didn't have much time to play around with it.
[Nexus S 4G Android Development] :
I've not changed any GPS code.
[Nexus S 4G Android Development] mdean1981:
Odd. I will reflash the newer build and give it a better run. Like I said I didn't take time to fool with it because I was on the road and needed my navigation so I just restored my nandroid and away it went..
[Nexus S 4G Android Development] 8616v:
any plans to have a version where the gpu isn't overclocked? some of our phones just can't handle it.
[Nexus S 4G Android Development] genaro12543:
Prolly no need. Wipe cache and dalvik in recovery. Get GPS test and make sure your phone is seeing and using at least more than 5 satellites if not go to the app settings. Clear agps, update it after and give it like 5 seconds so the arrows aren't moving anymore in the signal icon. Check satellites again and it should lock pretty quick. Then go to maps and test it and it should lock there too

Edit: devs usually say there are no adverse effects to not wiping cache and dalvik but I have noticed if it affects anything its the GPS but that's it but I use that same procedure and it works every time. If it doesn't its always a bug with the kernel or kernel/ROM combo. Hope this helps !!
[Nexus S 4G Android Development] :
The current version only OC's the GPU if you also OC the CPU. Stick to 1GHz and you'll be fine.

I also plan to add 1.2GHz with no GPU OC
[Nexus S 4G Android Development] 8616v:
thanks. I guess thats what I was actually asking.
[Nexus S 4G Android Development] mdean1981:
I haven't had time to reflash yet but I will. If the problem is still there I will give this a try. Thanks!
[Nexus S 4G Android Development] mikegleave13:
Thanks for All the hard work! 6.2 running great no issues. :)
[Nexus S 4G Android Development] mdean1981:
I found it. Got the 1st download. Already flashed booted up and lid is licked! :laugh:
[Nexus S 4G Android Development] styckx:
I had my first crash and burn with marmite.. :crying:

6.2.1 @ 1.2.. Just completely out of no where lockup of the device literally minutes after booting up right after setting the speed.. Screen stayed on, completely unresponsive.. No USB, notta. Put it back down to 1096 and we'll see how that works out.

As a side note.. There did seem to be a conflict of interest between what the device was actually running at and what SetCPU reported it running at Perfmon (great floating app) reports clock speeds being ramped up to 1.2 but SetCPU would only show 1100.. A few other apps reported the CPU clocking up to 1.2ghz also but SetCPU never budged above 1100.

So.. I don't know if the 1.2ghz overclock is unstable, or the conflict of interest going on with SetCPU was the cause.
[Nexus S 4G Android Development] :
I'm going to release an update today v6.2.2 might solve problems because I had a mistake in the overclocking code.
[Nexus S 4G Android Development] mdean1981:
Ok so I don't know if this is something with my phone or what. I have said here a few times GPS issues are plaguing me. I am running 6.2 and everything is smooth and battery last quite awhile. Yesterday I did a GPS test and although it took about 2 minutes to lock it found 8 satelittes and worked just fine. I checked it again before putting it on the charger overnight and got the same results. I get up this morning and now I am lucky if I get 1 satellite and the GPS doesn't lock. I haven't rebooted because I know when I do it will most likely fix the problem. Which is great to know but there is no reason I can think makes since of why it just stops locking. Bedalus you say it's not the kernel yet it has only done it on yours. I switch to another kernel and I have no issues but battery life and smoothness goes to the toilet. Whether it be a kernel issue or not I need some help.

Edit: Update, I went ahead and did a reboot and did another GPS test and immediately 8 in view and locked on 6. As I type 6 are in view and 6 are in use. Rest assured though in a few hours it will quit. I'm hesitant to think it could be a ROM issue cause that doesn't make sense to me and it has done it on Slim, BB, and AOKP.

Edit 2: It has been a little over 7 hours since I rebooted and got my GPS to lock and it is now doing it again.
[Nexus S 4G Android Development] :
I like your signature :p

I don't think it's a kernel issue but I could be wrong. Would you be willing to continue to test (no reboot) and see if it ever improves? I think if you can cope with leaving it to run overnight, then testing it the next day, that would be useful. If it's still poor, reboot and let me know if it locks again straight away.

I know there's a few threads out there about GPS, but I personally don't use it, so I've never had to troubleshoot it.
[Nexus S 4G Android Development] :
That sounds like a good idea. Go for it! Let me know if you get stuck.

I have a terrible hang over, but I didn't let that get in the way of me building a new kernel this morning.

I've made a guess at what might have caused the battery to drain, and have uploaded the cm and cm (4G) versions if people want to have a little test. If it turns out that I didn't fix the problem, then flash back to a previous version and everything will be fine.

Edit: links removed. Bad drain not fixed!
[Nexus S 4G Android Development] mdean1981:
I've tried multiple different "GPS fixes" I have found around the board and Google. The only fix I have found is rebooting. I rebooted before bed last night and it locked with 8 sattelites. I get up this morning and no lock. Immediate reboot and bam locks in a matter of second.

Edit: I am gonna do a quick few hour test on Matr1x see if it happens in a few hours with it. Not sure why it would matter but I have been testing the big ones most use as a staple. Matr1x is the only one left. I will report back.

Yes love the signature..LOL
[Nexus S 4G Android Development] :
Cool, let me know how it goes.
[Nexus S 4G Android Development] :
Hmmm. I think the massive battery drain I was getting was in fact due to some bad behaviour from an app. Just to make sure there's no battery drain issue, I'll just ask for a few people to test this CM version, and report back if they notice battery draining abnormally:

http://d-h.st/KBr

Can you wipe your battery stats while in CWM recovery when you flash this please? When you boot the phone, can you power off the screen asap and leave it for 15 minutes then switch on and go straight to the battery usage screen and make a note (or take a screenshot) of your stats, and report back please? Thanks!
[Nexus S 4G Android Development] kalico17:
on it lol