yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] stratosk:
New version 2.9.21

- Enable again android_ram_console (caused bootloops to some devices)

I'm sorry for the inconvenience.
[Galaxy S I9000 Android Development] ts1506:
Is it causing bootloop on i9000 too ? I made that change in cyancore , and the build runs perfect on my i9000.
[Galaxy S I9000 Android Development] wazza1991:
Thanks....so how is it supposed to work? If I swype away the phone app from recents will it still be running? Or I shouldn't swype it away from the recents? And will it work with all downloaded apps like Facebook or it works only with system apps?......when I'm multitaking and I press the home button the home screen takes a few seconds to load...I don't want that to happen...so what is the command for that? For example for the phone app the command is 'com.android.phone' for browser it is 'com.android.browser'.
[Galaxy S I9000 Android Development] James Bottomtooth III:
It is not causing any problems on my i9000 either. Perhaps the ram console is only required by the Samsung Captivate. Does the ram console make any difference in performance?
[Galaxy S I9000 Android Development] ts1506:
Not really.

It was disabled , cause it served no useful purpose.
[Galaxy S I9000 Android Development] eejee:
No bootloops with .20 on my i9000

Verstuurd van mijn GT-P5100 met Tapatalk
[Galaxy S I9000 Android Development] HenriFred:
Only some i9000 users (including myself) got into bootloop with 2.9.20s.

It's ok now with 2.9.21s.

Thanks again !
[Galaxy S I9000 Android Development] stratosk:
Recents list is unrelated with this.

Lowmemorykiller driver kills processes when the device run outs of memory.

With this patch you can make a white list of processes that you don't want to be killed.

You can add your launcher process in the white list. I put the phone in the white list, for example.

launcher process name depends of your... launcher. In CM:

com.cyanogenmod.trebuchet

Please note that you have to be careful with this. You have to leave the opportunity to system from free memory.

So, don't white list many 'heavy' processes.
[Galaxy S I9000 Android Development] wazza1991:
Thanks brother...so from where do I know the name of my launcher and other apps?
[Galaxy S I9000 Android Development] n8r:
Bluetooth keyboard fix: Add uhid driver to kernel

Hey stratosk,

I sent a pull request on github (my handle there is simonmelhart) with a fix for the Bluetooth keyboard issue bitblaster mentioned. I just brought in the uhid driver (was mentioned in the logcat) from pawitp's recent work, and that has fixed the issue on my Vibrant (checked under CM10.1 and SlimBean 4.2.2 Build 3).

I've attached zips of the modified 2.9.20 code to get more testing eyes on it.

n8r
[Galaxy S I9000 Android Development] Bejda:
It's packages names,you have a package browser under settings>Developer options>Launch Tools or you can use this to have a list on your sdcard (grabbed that one from Stratosk ;) )

pm list packages -f > /sdcard/packages.txt
[Galaxy S I9000 Android Development] dark_knight35:
Startosk :D
[Galaxy S I9000 Android Development] weazie:
Hi,

Just a quick question I couldn't find an answer to (sorry probably there is):

Is the lowmemorykiller in the kernel automatically active?

Cheers, weazie
[Galaxy S I9000 Android Development] ts1506:
LMK is a part of android as it is. Its always used.
[Galaxy S I9000 Android Development] weazie:
Thanks!
[Galaxy S I9000 Android Development] stratosk:
Hi,

Thanks, I will check it and let you know.
[Galaxy S I9000 Android Development] wazza1991:
What according to you people is the best way to close an app? Using the back button or the home button? And do you swype away the recent apps after closing them?

Stratosk, what would you suggest?
[Galaxy S I9000 Android Development] iall5tar:
Did you wipe init.d?? after install it??
[Galaxy S I9000 Android Development] albertobom:
Honestly I can´t remenber. Why?
[Galaxy S I9000 Android Development] iall5tar:
i always wipe the init.d after install a new kernel just to avoid issues...
[Galaxy S I9000 Android Development] albertobom:
Didn´t knew that. Thanks.

I´ve flash devil kernel and solve my problem.
[Galaxy S I9000 Android Development] RlndVt:
Then you aren't on the new CM10 builds that use the new partition layout.

Please read warnings before flashing. 2.0.5 and up currently only support CM10 0817 and 0818.
[Galaxy S I9000 Android Development] albertobom:
Lol!

I have used the devil to recover the CWM. I know isn't to CM10.

Sent from my GT-I9000
[Galaxy S I9000 Android Development] elitevet:
Try the link in my sig

sent from CM10 powered SGS
[Galaxy S I9000 Android Development] senotrius:
ROM:slimbean 2.01.

kernel:semaphore 2.03.

video recording not working.gallery has stopped.

photo capture working.

big memory option not used.

kernel related or ROM related?

tried clearing data/cache and restart .
[Galaxy S I9000 Android Development] stratosk:
You have to use Semaphore 2.0.3s. Please try it and check if issue persists.
[Galaxy S I9000 Android Development] AngelsCharlie:
Hi stratosk,

Great work on the Kernel. I'm just having some issues with Gallery FC when switching to video mode as well. Not sure if it's kernel related or CM10 related.

ROM: CM10 Nightly 20120820

Kernel: 2.0.6

I have attached logcat output below. Don't know if it'll be of any help.

Thanks!
[Galaxy S I9000 Android Development] yaatzek:
It also happens for me, but only at bigmem configuration enabled. Maybe something with libs? Video playback works, but can't use video recorder due gallery fc.
[Galaxy S I9000 Android Development] MoneyFace =p:
Yes i do get similar problem. :(
[Galaxy S I9000 Android Development] dongfangri:
Go back to stock kernel and change video recorder resolution to 480P,

Then you can switch to big mem kernel now.
[Galaxy S I9000 Android Development] MoneyFace =p:
And it is possible to include fsync control in your future iterations?
[Galaxy S I9000 Android Development] Skkip:
Actually there is no problem with a process holding the cpu. Th current implementation tries to keep the cpu speed high to prevent games and other apps, which are cpu-dependant for a long time, from lagging but it delays race-to-idle with normal applications.

i.e. if you change between google reader articles cpu will ramp up to 1ghz and than stay there for at least 4 * 0,02sec with the current implementation. resulting in 0,1 second on 1ghz where it would only need 0,02sec and then 0,08sec of idling @ 100mhz...

This is the main problem here increasing temperature on normal use. I hope that i wrote in an understandable way and that you perhaps consider a switch for "adaptive sampling_down_factor" or something like that.

THX in advance :)
[Galaxy S I9000 Android Development] AngelsCharlie:
I haven't really tried different configs, but here are my ticked options:

smooth ui

o/c 1140 (tested stable)

deep idle

bigmem
[Galaxy S I9000 Android Development] senotrius:
yes stratosk,that is the version I'm using.I've been using ur kernels for a long time ;)

so is it something that can be rectified at your end?this version will be coming in slimbean 2.1 too.I haven't enabled big memory option.
[Galaxy S I9000 Android Development] stratosk:
Actually, sampling down factor is "driven" by sampling_down_momentum is ondemand (in Semaphore). You may read about this tunable in my website: http://www.semaphore.gr/80-latests/80-sampling-down-momentum

You may still tune ondemand according to your needs. Just copy the script that selects ondemand from /res/scripts, modify it and save it to /sdcard/SemaphoreScripts/ with name S10enable_gov_yourname. Then you may select it from Semaphore application. Please let me know if you need help on this.

Bigmem breaks 720p video recording. If you have enabled bigmem without changing the video recording option to 480p first, you will have this issue.
[Galaxy S I9000 Android Development] stratosk:
I'm sorry, not in my plans.

Then, please try to clear data from gallery app. Maybe this works?
[Galaxy S I9000 Android Development] senotrius:
things I tried

clear data from gallery.cache

clear dalvik cache(don't know why)

restart camera.

reboot with the above said.

factory reset.along with reflash.

big mem disabled.

like i said.I tried the usual solutions.maybe the gallery app has issues??

q:ur opinion about adding screen off max CPU frequency?
[Galaxy S I9000 Android Development] 99x:
Pressing home doesn't close the app, pressing back usually closes the app. The recent apps list shows recent and running apps, if you swype away a running app it will be closed.

Either way the android LMK will close running background apps as and when it needs to.
[Galaxy S I9000 Android Development] ziporpor:
LMK white list

Hi all,

I am having some issues with the LMK white list feature that was added in the 2.9.20 version...

I am using the terminal emulator in the following manner:

su

cd /sys/module/lowmemorykiller/parameters

echo "mobi.beyondpod" > w_list

I don't get any error message but when I try to view the file, it seems that it is still empty...

Any idea what I am doing wrong?

Thanks!
[Galaxy S I9000 Android Development] Bejda:
cd command is kinda "move to",echo command will create file and write on it.

Edit: Oops,I'm answering **** it seems, gone make me some coffee and I'm back :)
[Galaxy S I9000 Android Development] elhennig:
I think the command should be:

echo `pidof mobi.beyondpod` > /sys/module/lowmemorykiller/parameters/w_list

viewing the file you should use

cat /sys/module/lowmemorykiller/parameters/w_list
[Galaxy S I9000 Android Development] ziporpor:
Thanks elhennig,

I tried that too but still with no success...

All that happens is that the marker in the terminal jumps to the next line (no error message) but nothing is actually changing in the 'w_list' file...
[Galaxy S I9000 Android Development] elhennig:
Of course this will only work if the process mobi.beyondpod exists in the process table. Check this with

ps | grep beyondpod
[Galaxy S I9000 Android Development] gverma1:
Hi Stratosk. Hope the issue with Smartassv2 as mentioned above is now solved in 2.9.21.
[Galaxy S I9000 Android Development] stratosk:
I'm ill in bed, but I'm pretty happy because I'm writing this post from my N4!

Yes, it's finally here!

I want to thank everybody who helped me to do this with their donation but also thanks to everybody that supports me and give me the motivation to continue and expand this project to other device.

Special thanks to a German friend that he helped me to buy the N4. He delayed the delivery but life is weird and plays games sometimes. After some time, I was thinking that he would never send the device, but I was wrong. And I'm sorry for that.
[Galaxy S I9000 Android Development] malcho:
Enjoy my friend you deserve it.

Look how far u get with this.

Wish you all the best
[Galaxy S I9000 Android Development] Alberto96:
Great man :) Enjoy your Nexus, but don't forget us ;)
[Galaxy S I9000 Android Development] Necromancer3:
startosk sadly i have to report that 2nd degree polynomial equation will not be possible as it heavily relies on floats.

for example a graph going through (0,0) (2500,150) and ending in (3000,255) which means

(0,0) - when the lux is 0, brightness = 0

(2500,150) - when the lux hit 2500, the brightness is 150

and when the lux hit 3000 the brightness is 255/Max

requires

a=0.00005

b = -0.065

and is

brightness = 0.00005*lux^2 - 0.065*lux

so only linear solutions :crying:
[Galaxy S I9000 Android Development] tsatomas:
Strato good news I read. Get well soon. Περαστικα
[Galaxy S I9000 Android Development] aopvet:
Enjoy your new phone. You deserve it 100%. Περαστικά κι από εμένα.

Στάλθηκε από το Nexus 7 μου χρησιμοποιώντας Tapatalk 2
[Galaxy S I9000 Android Development] franzyroy:
Finally!!! I'm happy for you... Enjoy with your N4!
[Galaxy S I9000 Android Development] jelle2503:
dear god YES, my N4 arrived today as well. Already rooted and custom kernel on it, 2 hours after unpack. Felt handicapped without root.

Seriously N4 needs a guy like you, making quality kernel and app =)
[Galaxy S I9000 Android Development] rkaede:
so semaphore 3.0 will be for N4. :D

anyway congratz for ur new toy.
[Galaxy S I9000 Android Development] zedbg:
Enjoy your new toy, its a great phone, im loving mine. Cant wait for Sema4 kernel :)
[Galaxy S I9000 Android Development] superkoal:
You can approximate polynomial functions, for example with multiple linear areas - a simple value table with linear approximation in between your fixed points.

Also you can implement exponential behaviour with a simple digital low pass.

So relax, not all hope is lost if you really want to optimize the auto brightness characteristics ;)

EDIT: you can also avoid floating point operations if you use fix-comma calculations with variable data ranges.
[Galaxy S I9000 Android Development] Necromancer3:
what do you mean?
[Galaxy S I9000 Android Development] ts1506:
Enjoy the device. The guys at the n4 section are really lucky.

Sent from my cyanogenized tab 10.1
[Galaxy S I9000 Android Development] grinder777:
Congratulations! Never loose hope :) ...at least!

So this planet now has some more lucky people - at N4 sec... :good:

I wish you HAPPY DEVELOPING my friend and always GOOD LUCK!

Cheers

md p9516 - root -waiting for cwm -- thnx2all
[Galaxy S I9000 Android Development] a g bell:
Had my n4 two days done well so far lost my ROM stuck in recovery but that's another story :eek:
[Galaxy S I9000 Android Development] Ahmad_Ashraf:
God speed your recovery :)

Good luck with your N4 :)
[Galaxy S I9000 Android Development] TheeWolf:
stratosk, you are to report immediately to the Nexus 4 development forum! :)

Just kidding, hope you get well soon :) Enjoy your new monster of a phone and hope to see you soon at the N4 forums.
[Galaxy S I9000 Android Development] stratosk:
Soon my friend... :)
[Galaxy S I9000 Android Development] benkya:
Wow, that fast... cant wait get my hand on my own nexus 4. On my country it sold just like another phone on phone store and its official but price more exspensive about $ 600, i think worth to buy :)

Sent from my GT-I9000 Galaxy S

Rom : CM 10.1 JB 4.2.2 all stock
[Galaxy S I9000 Android Development] Turtuga:
Nooooooooo please suport i9000 loool
[Galaxy S I9000 Android Development] HiKsFiles:
I'm happy to hear you finally got hold of a N4.

You've been talking about it for so long now. héhéhé

Anyhow, I dropped by to see what's going on here and, from what I see, I guess my good old i9000 is now set to officially be considered EOL unless you plan on supporting the device for a little while.

Regardless of your decision, I want to let you know of how much I appreciated the time you invested in providing us your excellent kernel.

I wish you the best as, just like me, you'll be spending less time in this device's forum from now on.

Here's to you my friend! :highfive:

P.S. : Hope you get well soon! :)
[Galaxy S I9000 Android Development] alb3rtt:
Man that is unfair. Here in Aus (Which is very close to indonesia) It is only $350 brand new from google.
[Galaxy S I9000 Android Development] aopvet:
Now that you finally got your N4 what is your intention about semaphore kernel for our modest galaxy s phone? Hope you continue support otherwise we would have to buy a N4 :)

Thanks again for all your time and effort to give life to our phone.
[Galaxy S I9000 Android Development] rkaede:
which country is that? 600$ if its usd its not worth.
[Galaxy S I9000 Android Development] bitblaster:
NOOOOOOOOOOOOOOOOOOO!!

Thank you n8r!!!!

This was the only bug of this kernel for me!!!

But the advantages was so many that I sadly put the bluetooth keyboard in a drawer...

This evening I will try it and report my experience (i cross my fingers!).

Please stratosk consider to accept this pull request.

Thank you again

Bit
[Galaxy S I9000 Android Development] Xenon0816:
I'll just ask, as my search on the board didn't bring in any good results.

It's the first time for me, falshing a kernel to the SGS1 (I just got the phone used on eBay for 80 Bucks :)). So, I am running CM10.1 (some nightly from the beginning of April) and am quite happy with it. I want to test this kernel though...

Is it possible to just flash the new kernel, without doing any wipes? Or will it affect my sytem that I run now.

I will do a nandroid backup first anyways, in case anything goes wrong... It does backup the kernel aswell right?

Greetz, Xenon
[Galaxy S I9000 Android Development] James Bottomtooth III:
Changing the kernel does not affect your system files. By all means do a backup if you really want to, though.
[Galaxy S I9000 Android Development] benkya:
Yes, google not yet selling to my country i think lg selling it like another lg phone, so here we must take price from lg.

Indonesia :), more less that price if convert to our money.

Sorry for OT.

No comment to semaphore kernel, last build for me more perfect

Thanks stratosk.

Sent from my GT-I9000 Galaxy S

Rom : CM 10.1 JB 4.2.2 all stock
[Galaxy S I9000 Android Development] Xenon0816:
Alright! Did a backup, flashed the kernel and installed semaphore manager. It's working fine so far.

Is there anything I really need to change, to get a better experience with this phone (like better battery life, perfomance boost etc.)

What I did so far is: Set LiveOC to 120 (seems to be working fine) and set the governor to SmartassV2 (did not touch the settings of smartass though)...

Thanks btw for the quick reply earlier!
[Galaxy S I9000 Android Development] Full HD:
Sorryyy, really Off Topic :angel: :p

Prices in € . :D
[Galaxy S I9000 Android Development] rmsinaga:
That's a great news that you have a Nexus 4 now :thumbup:

I hope you still have time to maintain 2 devices as I still have to stick to the old SGS for a little while.

Many thanks for your great work till date.
[Galaxy S I9000 Android Development] frydroid:
+1
[Galaxy S I9000 Android Development] idCyber:
Nice to hear you finally have you Nexus 4 in hour hands. Hope you will not lose interest in SGS for a while :D
[Galaxy S I9000 Android Development] dark_knight35:
I didn't know that we have to pay almost 400€ for it. I guess I'll never buy it.
[Galaxy S I9000 Android Development] alb3rtt:
Deleted.
[Galaxy S I9000 Android Development] ramas123:
Oh com on guys, please stop this bullsh..it! The real price in google play store in the usa is 349+taxes. Its is abuot 400usd. Tey sell nexus4 in a few contries here in Europe in google play store, but prices are in euros +taxes. LG tries to sell it like regular LG ****t..y phone for about 600euros in other european contries. It is a total rip off!!!

Hope the first and the last NEXUS phone from lg.
[Galaxy S I9000 Android Development] DarkSorcerer:
So happy for you. Really. You deserve it, Stratos.
[Galaxy S I9000 Android Development] prbassplayer:
Duno don't have any complaints with n4 except for availability in the beginning. Nice solid device. I'm sure innerspring lack dome shielding and impact zone, simply because it's a cheaper device. Also I just went to LG grace and Egypt and you can't buy it off them. Where does LG ask for more money? Mind you Gnex cost about $500 on release... So don't know why you are surprised.
[Galaxy S I9000 Android Development] ts1506:
In India , Nexus 4 costs about 600-650 USD for 16GB , and about 550 USD for 8GB.

All competing phones are cheaper than this one.

Thats why indians import the Nexus 4 through US Play Store and PPObox and get it for about 400 USD for 16GB and 330 for the 8GB
[Galaxy S I9000 Android Development] prbassplayer:
But sold by LG or through a middle man?

Edit: According to LG India site they don't sell Nexus 4 there they sell its brother Optimus G. So why blame this on LG?
[Galaxy S I9000 Android Development] ts1506:
OFF TOPIC

It is sold by a middle man , thats why its costly.

Those middle men import it from the US for 400$ each , and make a neat profit of 200-250$ per unit.
[Galaxy S I9000 Android Development] prbassplayer:
Ya I thought so. I just don't understand the "hate" against LG I hated their devices, still do in general, however N4 is a good device and its cheap for those regions where its available. Anyway last post on this topic, derailed this thread enough lol (sorry Stratos)
[Galaxy S I9000 Android Development] benkya:
LOL, Dont worry stratosk had made new forum at nexus 4 lounge.
[Galaxy S I9000 Android Development] stratosk:
I also follow SGS threads and continue maintenance of SGS kernel. :)
[Galaxy S I9000 Android Development] ts1506:
Thats quite good news for us.
[Galaxy S I9000 Android Development] Turtuga:
thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks thanks
[Galaxy S I9000 Android Development] bitblaster:
Sorry, tried and doesn't work... :(

The behaviour is as before: The keyboard is visible in the bluetooth settings, i can pair it, i also can enter the pair code (!) and the phone shows the blue connected bluetooth icon on the status bar.

But pressing any key has no effect...

This is the logcat when i turn on the keyboard (which auto-connects to the phone):

02:06:28.166 Warning bt-btif 2735 info:x0
02:06:28.166 Info HeadsetService 1293 Headset=false; Bluetooth=false
02:06:29.041 Error bt-btm 2735 tBTM_SEC_DEV:0x51c24f34 rs_disc_pending=0
02:06:29.150 Warning bt-btif 2735 bta_dm_check_av:0
02:06:29.150 Warning bt-btif 2735 btif_dm_cback : unhandled event (14)
02:06:29.150 Warning bt-btif 2735 bta_hh_co_open: Found an existing device with the same handle dev_status = 2
02:06:29.150 Warning bt-btif 2735 bta_hh_co_open: bd_addr = [98:9A:20:10:22:]
02:06:29.150 Warning bt-btif 2735 bta_hh_co_open: attr_mask = 0x8045, sub_class = 0x40, app_id = 2
02:06:29.151 Warning bt-btif 2735 new conn_srvc id:23, app_id:2
02:06:29.151 Warning bt-btif 2735 btif_hh_upstreams_evt: BTA_HH_OPN_EVT: handle=0, status =0
02:06:29.151 Warning bt-btif 2735 BTA_HH_OPEN_EVT: Found device...Getting dscp info for handle ... 0
02:06:29.151 Warning bt-btif 2735 BTA_HH_GET_DSCP_EVT: status = 172, handle = 5
02:06:29.258 Warning bt-btif 2735 btif_hh_upstreams_evt: name = Broadcom Bluetooth HID
02:06:29.258 Warning bt-btif 2735 bta_hh_co_send_hid_info: fd = 71, name = [Broadcom Bluetooth HID], dscp_len = 256
02:06:29.258 Warning bt-btif 2735 bta_hh_co_send_hid_info: vendor_id = 0x05ac, product_id = 0x0239, version= 0x001b,ctry_code=0x00
02:06:29.258 Warning bt-btif 2735 bta_hh_co_send_hid_info: fd = 71, dscp_len = 256, result = 0
02:06:29.258 Warning bt-btif 2735 Device 98:9A:20:10:22:D4 already added
02:06:29.259 Warning bt-btif 2735 btif_hh_upstreams_evt: Device already added
02:06:29.259 Debug HidService 2735 Connection state 98:9A:20:10:22:D4: 0->2
02:06:29.259 Debug CachedBluetoothDevice 2668 onProfileStateChanged: profile HID newProfileState 2
02:06:29.259 Debug BluetoothAdapterService 1087361472 getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40cfeb00
02:06:29.259 Debug BluetoothAdapterService 1087361472 getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40cfeb00
02:06:29.259 Debug BluetoothAdapterService 1087361472 getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@40cfeb00
02:06:29.259 Debug BluetoothAdapterProperties 2735 CONNECTION_STATE_CHANGE: 98:9A:20:10:22:D4: 0 -> 2
02:06:29.259 Debug BluetoothAdapterService 1087361472 Get Bonded Devices being called

Thank you however, hope one day this will finally work!

Bit
[Galaxy S I9000 Android Development] ziporpor:
process white list feature

Hi Stratosk,

It seems like I just can't nail the whole white list initialization, can you please provide a bit more detailed explanation as to how to use it?

(i.e, what are the exact commands to use in the terminal emulator, are the selected processess should be running during the list creation, etc.)

This is a much needed feature and I would be very happy to succeed in using it :)

Many thanks for your magnificent work!