yashsingh1/xdaforums huggingface dataset:
[Vibrant Android Development] Dougfresh:
Thanks Der for bringing us a wonderful kernel! I'm sure the Vib community really appreciates your efforts!!
[Vibrant Android Development] DerTeufel1980:
rilj is dependet of your mobile network/signal

http://xdaforums.com/wiki/Wakelocks

maybe you have been at a place with low quality
[Vibrant Android Development] Blars1206:
Oh, well, I hadn't left home at all after flashing the new kernel, so I suppose I could have had a big drop in signal at some point and not noticed it. I absolutely love the kernel and recovery though. My phone is running well. Battery has been ok, but hard to determine that in such a short time. This is now one of my top three favorites with glitch and subzero. I will run it a little longer and see what happens. I also tried the live OC settings mentioned in the op and I am really liking them... Rock solid, so thanks for linking that and thanks for the kernel.
[Vibrant Android Development] sada23:
The kerenel is working great. I am on 0.67 and I Still I have problems with GPS after deep sleep.
[Vibrant Android Development] DerTeufel1980:
With or without deep idle activated?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] sada23:
I am sorry. I do not know about that. How can I check it? Please educate me.

Thanks.
[Vibrant Android Development] muleyman:
Q: How can I enable DeepIdle/Live_Oc?

A: You have to use NSTools. You find it on market. It's free.
[Vibrant Android Development] sada23:
Thanks

I have installed the NST tools.

---------- Post added at 12:14 PM ---------- Previous post was at 12:00 PM ----------

With Deep Idle off.
[Vibrant Android Development] DerTeufel1980:
Just check if deep idle is activated with nstools.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] sada23:
GPS does not work for me after deep sleep with deep Idle on or off.
[Vibrant Android Development] DerTeufel1980:
thanks for testing. i have to find out, what mr_psycho did to fix this issue....but this could last some days. sorry :(
[Vibrant Android Development] sada23:
Der,

dont worry about time. Take your time. I am not in any hurry. :)
[Vibrant Android Development] DerTeufel1980:
new kernel uploaded :)

gps still not fixed :(
[Vibrant Android Development] hurtz777:
Hells yeah another badass Vibrant ICS kernel with beautiful Voodoo Color. The latest 0.72 VC kernel is nice and smooth and GPS works great until deep sleep like expected. I also notice that the USB transfer speeds are extremely slow at around 1.5-2MB/sec write. On Subzero I get 6-10MB/sec write speed to internal sdcard. Is there anyway you can speed up USB transfers to make them fast like Subzero? Has MP been able to help you track down the GPS after deep sleep issue?
[Vibrant Android Development] DerTeufel1980:
updated op with link to latest devil.json file, for use with command center

too bad, no news about gps :(
[Vibrant Android Development] DerTeufel1980:
well, regarding to gps...could someone try, what happens if you set

echo 1 > sys/module/bcmdhd/parameters/uiFastWifi

i am just guessing here, but with default (0) wifi is using pm_max mode, which saves more power. maybe it is related to gps in some way.
[Vibrant Android Development] sada23:
Der,

Testing now. With Deep Idle off.

1. Via adb changed the value to 1 as instructed.

2. Rebooted the phone. Allowed it to settle down.

3. Made sure the phone is not id DS.

4. Got locks via GPS test app.

After DS, The GPS does not get initialized.

Turned on Deep Idle via NS tools and conducted the test again. Same results.
[Vibrant Android Development] helikido:
I can't get the 403mb Ram option to work. When I go to data/local/devil/ their is no bigmem folder?
[Vibrant Android Development] DerTeufel1980:
too bad :(

thanks for testing

just create the file within /data/local/devil and write value 2 into it, then reboot
[Vibrant Android Development] sada23:
What is this option?
[Vibrant Android Development] helikido:
What should the files name be?
[Vibrant Android Development] DerTeufel1980:
the file is named bigmem. the folder is /data/local/devil :)

@sada23: this gives you 403 mb of ram, but breaks 720p recording
[Vibrant Android Development] hkfan:
Is twrp working properly with Vibrant ? I am asking this because I do not see any official twrp build for vibrant. Is I enable it ...how can I revert back to CWR ?
[Vibrant Android Development] DerTeufel1980:
just reboot to android and delte the file created at /cache again.

you also can use the integrated filemanger of twrp to delte the file and then reboot recovery, or you wipe /cache.

i guess it is working, since no one has reported any issues till now. also, what could happen if it is not working? then you just have to reboot to android :)

are there any official builds for any of our samsung devices? if yes, where did you see them?
[Vibrant Android Development] helikido:
Thanks buddy ;) Works perfectly :) Anyways, what kind of ram setting should I have in from toolbox? Mild? Aggressive?
[Vibrant Android Development] mohamobo:
OP, i think init.rc inside "samsung-kernel-aries/usr/vibrantmtd_initramfs/ics_init" need to be edited with this https://github.com/mr-psycho/initramfs/blob/touch/root/init.rc for GPS deep sleep death.
[Vibrant Android Development] mr_psycho:
Also, you might want to diff the two files to look for relevant changes. This file also includes my implementation of running init.d scripts. Yours will most certainly be different, and I wouldn't want your init.d scripts running twice or cause other conflicts.

I'm really not sure what is in this section that would break/fix gps deep sleep issues, but if it works, then great. lol

MP
[Vibrant Android Development] DerTeufel1980:
just compared his with mine. the init.rc is almost the same. seems not to be realted :(
[Vibrant Android Development] mohamobo:
But it help on cm9 kernel.
[Vibrant Android Development] DerTeufel1980:
you mean compiling the cm9 kernel just with this solved the issue? then i'll try it tomorrow. it's almost 1 am here. have to sleep...
[Vibrant Android Development] FaultException:
Can you try compiling yours with the stock init.rc mohamobo? That way you can check if it is related.
[Vibrant Android Development] HeavyA:
I've noticed that my battery usage is more stable with .72, the phone is now using less juice.

Also, the GPS works great, although there is still the deep sleep issue (but that's not a huge deal.)

MP will get you on the right track there.

The last great kernel that also had fully functional GPS was subzero #80, so he knows what he's doing.
[Vibrant Android Development] hkfan:
Will you be adding Linaro's build optimisations in your kernel ?
[Vibrant Android Development] mohamobo:
GPS DS death.

OP, take a look my find out here http://xdaforums.com/showpost.php?p=27320063&postcount=1382
[Vibrant Android Development] DerTeufel1980:
Great found my friend. Going to try it tomorrow.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] samsgun357:
Just flashed this kernel, really diggin it. I want to let all the novice users know, don't be afraid to flash this. It looks a little intimidating because of all the functions etc but its really not. Give it a try, you will be pleased!

What are you looking at shortbus......
[Vibrant Android Development] FaultException:
edit: nevermind :p
[Vibrant Android Development] thachosenone:
My gps works after deep sleep. Just navigated about 20 miles, with no loss of gps signal.
[Vibrant Android Development] FaultException:
* Activation of GPS after deep sleep has already occurred.

Der, found the problem.

It's the Address Space Layout Randomization that's killing it. This line:

write /proc/sys/kernel/randomize_va_space 2

It's a security feature I guess and I'm working on a ROM-based solution for CM9 (and that other ROMs can copy) that should work with any kernel, yours included, and we can keep the randomization. So you don't really have to do anything.
[Vibrant Android Development] DerTeufel1980:
Great. I already thought about this line, but I did not know what it is used for. I think I remove it today, to get the kernel working correctly, and add it back, as soon as you have fixed it.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] Dougfresh:
That's great news FE! I hope you guys have finally squashed the bs GPS problem that has plagued this phone since eternity ;)
[Vibrant Android Development] FaultException:
Actually it's just the ICS problem. :)

Everyone go hit mohamobo's Thanks button for finding out that SZ's init.rc was required for it to work.
[Vibrant Android Development] Dougfresh:
It should hold true in GB also. Most of us had sub par GPS performance on 2.3.x?
[Vibrant Android Development] FaultException:
Yeah but AFAIK the CM7 kernel didn't have ASLR.

Anyone running CM9 try out this build:

http://xdaforums.com/showpost.php?p=27340004&postcount=1397

You can reflash Devil afterwards and test if it GPS still works after deep sleep as well.
[Vibrant Android Development] mohamobo:
Lol.. thanks FE. I'm just another noob try to figure out why gps work in SZ but not in cm9 after deep sleep.
[Vibrant Android Development] sada23:
guys,

Here's a thought.

As FE mentioned, its possible to fix the GPS issue in ROM code and he is going to do it.

How about solving the need for enabling GPS immediately after reboot and before DS, so that GPS could be made available even after DS?

If enabling GPS immediately after reboot and before DS is absolutely necessary, could we enable GPS automatically after reboot, get a GPS lock and disable GPS automatically?

This would remove the need for voluntarily enabling, getting GPS lock and then disabling the GPS after reboot.
[Vibrant Android Development] mohamobo:
Did you try test rom above? Maybe GPS death before lock/DS solve too..
[Vibrant Android Development] Mattymat:
This kernel rocks! I just flashed it on Chimera and it is flippin fast. Definitely recommend that others check this out. As others have said, this is nothing to be scared of. Just a hell of a lot of options.

Thanks, DerTeufel1980

Mat
[Vibrant Android Development] sada23:
No I havent tried the ROM. Will look for it. Who built that ROM?
[Vibrant Android Development] mohamobo:
CM9 Vibrant maintainer!
[Vibrant Android Development] DerTeufel1980:
here comes a new test kernel:

i have made some changes to the cwm recovery (/sdcard and /emmc mounting). all should be fine, but please make a backup of your sd cards (both) if you want to partition one of them (just in case not the wrong one gets partitioned)

also reverted some commits to idle balancer and commited some others (more stability?)

fixed gps

and the big change:

added ultra ksm (metioned by zach :) thx for this my friend)

what is ksm? http://en.wikipedia.org/wiki/Kernel_SamePage_Merging_(KSM)

uksm is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage

if you want stop uksm run:

echo 0 > /sys/kernel/mm/uksm/run

for (re)activating:

echo 1 > /sys/kernel/mm/uksm/run

more details:

http://kerneldedup.org/en/projects/uksm/uksmdoc/usage/

i have added seperate gpu oc from jt1134's galaxy_tab (to switch between 200 and 250 mhz), but i did not get any improvements in antutu...further tests needed

echo 1 > /sys/kernel/pvr_oc/pvr_oc (for 250 mhz)

echo 0 > /sys/kernel/pvr_oc/pvr_oc (for 200 mhz), no reboot needed

and also have changend default screen refreshrate from 60 to 56, with the possibility to change it:

echo 1 > /sys/kernel/refreshrate/enable (60 hz)

echo 0 > /sys/kernel/refreshrate/enable (56 hz)

this needs a reboot, like bigmem hack from stratosk
[Vibrant Android Development] sada23:
Alright. can try. A link would have been better :)
[Vibrant Android Development] hurtz777:
DerTeufel1980 can we get a 0.75 test kernel with Voodoo Color please? This Devil kernel is definitely the fastest ICS for Samsung Vibrant right now and it seems very stable with awesome wifi and now fixed GPS. You da man!
[Vibrant Android Development] Globespy:
You are getting a consistent, fast gps locks after deep sleep? How long does it take for the lock after DS? I What ROM?

Thanks.
[Vibrant Android Development] lorendroll:
Getting GPS lock after deep sleep. It takes 30 seconds to find satellites and 10-30 seconds to lock. Infinitum lbr rom. Same behavior with subzero kernels. Great kernel, thank you man.
[Vibrant Android Development] hurtz777:
Using Devil 0.75 kernel on a fresh boot before deep sleep I get 8-10 locked satellites in about 10 secs with up to 4m accuracy outdoors. After deep sleep of a couple of hours it takes about 30 secs to find satellite and another 30 secs to start locking the satellites. The accuracy meters are always higher on the GPS lock after deep sleep then before deep sleep, but it consistently locks after deep sleep now every time.
[Vibrant Android Development] sada23:
Where is the kernel?
[Vibrant Android Development] hurtz777:
One page back. Post #99.
[Vibrant Android Development] Panamon:
LoL
[Vibrant Android Development] HeavyA:
Not sure if this is an issue or just something weird with my phone, but the recovery menu item for Advanced/Fix Permissions goes to the data size menu instead.

Can anyone else confirm this?

I'm using the latest .75 version.
[Vibrant Android Development] sada23:
Tried 0.75.

Results in brief.

1. GPS locks after reboot before DS>

2. GPS locks after DS if locked before DS.

3. GPS does not lock after reboot and DS.
[Vibrant Android Development] samsgun357:
Yea same here .75 advanced/fix permissions goes to data size

What are you looking at shortbus......
[Vibrant Android Development] thachosenone:
Same here...Hope this gets fixed in the next update
[Vibrant Android Development] DerTeufel1980:
thank you all for reporting. got it already fixed. put a wrong if into the recovery...sorry
[Vibrant Android Development] DerTeufel1980:
here comes again a new test kernel.

no new features added, just bugfixing:

- fixed recovery (fix permissions)

- fixed init script

- fixed cpu spy issue with live_oc

- fixed/added back support for rom manger (reboot recovery)
[Vibrant Android Development] Who Am I?:
2 updates in 1 day, nice!!
[Vibrant Android Development] Dougfresh:
I'm not able to get my cellular services to kick in after the new update. Reflashed and still stuck on emergency calls only..
[Vibrant Android Development] hkfan:
then I ll wait...i was about to flash
[Vibrant Android Development] mryounghc:
toggle airplane mode and see if it comes back
[Vibrant Android Development] samsgun357:
I just flashed it, all is fine for me.

What are you looking at shortbus......
[Vibrant Android Development] Who Am I?:
I just made a call fine. Shows service but doesnt say 3G
[Vibrant Android Development] hkfan:
Network is fine for me also
[Vibrant Android Development] Dougfresh:
It's probably an issue on my end, so don't be hesitant to flash away. At work I borrow my buddies LG power cable and for some reason, my phone acts a little bonkers with his cable and I forgot to disconnect it when I flashed the update..
[Vibrant Android Development] creepinm3:
With the .75 YouTube wouldn't work for me. Going to try .76

Update. .76 rebooted into recovery. Wouldn't boot ROM. Basically went back to .75

Sent from my SGH-T959
[Vibrant Android Development] DerTeufel1980:
If it boots to recovery by itself, please wipe cache. This should fix it.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] creepinm3:
Thank you.

Wipe Dalvik cache AND cache. I just wiped Cache and it didn't work when I wiped Dalvik it booted

Update = no signal now. Toggled airplane mode and rebooted

Sent from my SGH-T959
[Vibrant Android Development] DerTeufel1980:
Maybe reboot again. I only fixed live oc cpu spy stats. All the rest was changing code outside the kernel.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] sada23:
am on .76. No issues at all.
[Vibrant Android Development] jrafael:
+10000 same here
[Vibrant Android Development] samsgun357:
Same .76 good, running gummy 1.26

What are you looking at shortbus......
[Vibrant Android Development] samsgun357:
Will we see a new .76 with voodoo color?

What are you looking at shortbus......
[Vibrant Android Development] Dougfresh:
Man I just went on a mission because I wiped cache and dalvik and wouldn't go past the bootanimation..Flashed SZ and nothing. I had to flash a backup for it to work. I believe it's the wiping of dalvik that's causing the problems
[Vibrant Android Development] creepinm3:
I wiped my Dalvik and it booted just fine

Sent from my SGH-T959
[Vibrant Android Development] Dougfresh:
Maybe it doesn't play well with ICZen
[Vibrant Android Development] Drjjones426:
I'm running Iczen I'll give it a test to confirm

Edit: wiped cache/dalvik flashed kernel and rebooted and booted right up on Zen 1.8.2
[Vibrant Android Development] DerTeufel1980:
finally there is a devil kernel app available:

http://xdaforums.com/showthread.php?t=1715383

it's not my work, so don't thank me for it.
[Vibrant Android Development] DerTeufel1980:
new kernel online
[Vibrant Android Development] hurtz777:
Build 0.79 VC running smooth and stable with no green flash on CM9 0618 nightly. Thanks man!
[Vibrant Android Development] sada23:
Der,

GPS works even after DS in this. This kernel is fast and smooth too. I am using the Devil Kernel apk and its very nice.

You have GPS does not work after DS in the post #3. Since GPS works now, could you please modify it or just remove it?

Thanks
[Vibrant Android Development] hkfan:
Still needs GPS lock at reboot to make it work after DS ?
[Vibrant Android Development] sada23:
GPS work only if you get locks immediately after the phone is booted and before it gets into DS. Once it gets lock, it works after DS until next reboot.
[Vibrant Android Development] methyl:
Getting ste gps wakelock even when turned off gps.
[Vibrant Android Development] FaultException:
Der, have you enabled ASLR for your kernel again? If not I have suggestion, to enable ASLR for ROMs with the gpsd wrapper, but disable on ones without:

Write an init.d script to check for the existence of samsung-gpsd, and if it exists, enable ASLR:

if [ -e "/system/vendor/bin/samsung-gpsd" ]; then
echo 2 > /proc/sys/kernel/randomize_va_space
fi
[Vibrant Android Development] thachosenone:
I'm getting an unresponsive phone after a phone call with 0.79. Gps was pretty solid though.
[Vibrant Android Development] helikido:
Which is better zram on 150mb or swap?
[Vibrant Android Development] DerTeufel1980:
Thanks. Great idea. I'll make it this way in the next build.

after every call? What exactly is "unresponsive"? Black screen, and you have to force reboot?

What are your other settings, oc, scheduler, idle...

I can't tell for sure, but zram can easily be tested by just activating it and then reboot once.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] hkfan:
Not sure what happened....My phone was working perfectly fine till last night. When I woke up all apps were Fcs. So I rebooted it thinking that it might just need a reboot. Phone gave me bootloop and didnt work. So I formated cache and dalvin cache...still boot loop. I changed the kernel and same thing. I flashed the ROM again without wipe and same thing. IN order to make it work I had to format all partitions and install ROM again......Any idea what happened here ?
[Vibrant Android Development] motitas:
I have an unresponsive phone after phone calls as well. It is a black screen and I have to force reboot or pull the battery. I'm not overclocked, I'm running slim rom, my governor is smartassV2, and I have zram enabled at 150mb, cfq scheduler, ultra ksm enabled, and running .79 kernel. Thanks for your development on this kernel.

UPDATE: settings are identical as above but with CPU scheduler as "sio" no more issues. Btw GPS locks in about 5 seconds for me!
[Vibrant Android Development] DerTeufel1980:
I guess you are also not using deep idle? The previous kernel were working well for you?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] serendipityguy:
What is ksm?

What is ksm? http://en.wikipedia.org/wiki/Kernel_...e_Merging_(KSM)
[Vibrant Android Development] DerTeufel1980:
Thanks for the update. I think it is /was caused by fiops implementation because this needs modifications to cfq, too.

Hi :-) is this meant to be an information, or do you have a question to this?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] Smartassassin:
Did you accidentally wipe system as opposed to cache?

Sent from my phone, not yours.
[Vibrant Android Development] Who Am I?:
I put Slim + Devil Kernel on my Vibrant last week. Been working great and its been lasting 19-26 hours on a full charge with moderate use. Twice it has died through the night and it had at least 70% left when I fell asleep around midnight.

Charged it up last night to 100% at 7:30p and by 8am it was off, who knows when it died. Plug it in and the charging symbol comes up but the battery filling wont it doesnt power on. Tried pulling the battery and nothing. Have to get into CWM to reboot and then its fine. Really weird...

I live in the foothills where service is not good at all so maybe it is dying trying to find service? I think Ill put it on airplane mode at night for a week and see if that fixes it unless this is a known issue?

Badassbatt says 53.6% of battery life is Apps. Kernel is 19.6% of that. Seem high? Screen 31.6%, Phone Radio is 14%
[Vibrant Android Development] hkfan:
No...even before wipe I was getting boot loop
[Vibrant Android Development] xriderx66:
Great kernel! Just flashed the newest version and running great.

I was just wondering about that TouchWake feature.

I'm currently on my phone and honestly don't want to read that TouchWake link you provided, but anyways. If I put the touchwake delay time to 0, it works, but lets say if i put it to 10,000MS, after 10 seconds, it should work, no?

Or am I getting MS mixed up with something else? MS= Milliseconds right?
[Vibrant Android Development] kaintfm:
I think you skipped a step there. Did you try restoring your most recent backup? I find a quick Clockworkmod restore fixes 99% of problems.
[Vibrant Android Development] samsgun357:
Can you change scheduler in app or do you need NSTools app?

Posse magnet......
[Vibrant Android Development] DerTeufel1980:
It should work before the 10 seconds are over.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] ancifil:
Great kernel. This is first kernel which makes GPS working on my vibrant.(CM9_Nightly->Boot->Reboot->Kernel cleaning script->Devil3_0.79->Yagf2+XperiaGPS)

Thanks for this!
[Vibrant Android Development] DerTeufel1980:
Without mohamobo and mr_psycho and also FaultException, I would not have the GPS get fixed.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] lorendroll:
Sometimes deep sleep mode stops working after charging and it causes great battery loss
[Vibrant Android Development] DerTeufel1980:
It has ever been this way. After the charger was plugged in, you have to reboot once, to make deep idle work again.

Too bad, I have no idea how to fix it

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Vibrant Android Development] DerTeufel1980:
puhhh, after two days of trying, i finally got it now :)

here comes my new test kernel (no, it does not have linaro magic :p ), but i have updated the linux block subsystem (io scheduler and related stuff) to linux 3.3 (thx to faux123 for his awesome sources).

hopefully fiops also is stable now.

mounting usb to pc is not working within twrp recovery....i have to check their latest changes to find the issue.
[Vibrant Android Development] sada23:
Works good.

GPS works before and after DS if GPS is started immediately after reboot. The name of kernel as seen in CPU spy still says Linux 3.1.10
[Vibrant Android Development] helikido:
I have a question. How do I enable swap and configure how big the swap file is?
[Vibrant Android Development] BradleyR2010:
My app its almost ready, only a few missing features that ill work on them soon. Hope it help someone here :)

Devil Kernel Manager

​

​

My thread here at XDA http://xdaforums.com/showthread.php?t=1723222