yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] Tye:P:
USB OTG/NTFS (including RW functionality) working good here. Thanks GK.
[Galaxy S II Original Android Development] d_Schizzo:
Had also an SOD. I am on CM10
[Galaxy S II Original Android Development] *boy*racer*:
I just has a screen freeze. Had to pull the battery:(
[Galaxy S II Original Android Development] Siberian Tiger:
Please comments like these are not useful to dev .Post your ksmg to make his life easier.

But where is this ksmg?

With root explorer under proc-last_ksmg :)
[Galaxy S II Original Android Development] robertobsc:
This doesn't help either you guys or gm.

Attaching last_kmsg does.

Also only attach it if it's greater than 5k.

Enviado de meu GT-I9100 usando o Tapatalk 2
[Galaxy S II Original Android Development] *boy*racer*:
ey mate, thanks for the info.

Well I just changed to dreamkernel and then read this post, So I'm wondering if it's still the same file from siyah kernel?

Anyway, I'll post it.
[Galaxy S II Original Android Development] gokhanmoral:
I have updated the second post. please read it.
[Galaxy S II Original Android Development] d_Schizzo:
Ok, didnt know that. Here it is...:)
[Galaxy S II Original Android Development] switchgott:
Hi,

realy thanks for the best kernel!!

Question:

Why the GSM singal is so different between the kernel versions??

The best signal i get with 4.1.1, with 4.1.4 its realy worth.And i speek only from 2G!

Which parameter you set, or where i can set it?

Thanks for your help
[Galaxy S II Original Android Development] gokhanmoral:
there should not be any difference in terms of GSM signal. you are clearly missing something. maybe you flashed another ROM and it includes another modem, or it is your service provider, but not the kernel for sure.

the same modem driver is used in v4.1.1 and v4.1.4.
[Galaxy S II Original Android Development] switchgott:
Big thanks gokhanmoral for replay!

It is what i liked to know.

So you can change some parameters for modem inside the kernel?

But the modem file and ril are the part for the gsm signal.

I flashed a new cm10 yesterday.Then i flashed siyah 4.1.4 and have a bad signal with 2G,

After this small test, i flashed siyah 4.1.1 and get a realy good signal.

Now you see, why i asked you :)

Any idea?
[Galaxy S II Original Android Development] ithehappy:
Oh boy, I see some terrible English here :p

Sent from GT-i9100 via Tt
[Galaxy S II Original Android Development] pilgrim011:
Regarding people that have some freezes with 4.1.5. I've had that too, to be precise, it was with Apex launcher, while doing simple things such as moving shortcut from one place to another (on one of the homescreens). Anyway, after experiencing this, I reverted to 4.1.4 and everything was fine. After that, I have decided to reflash 4.1.5, but before that I have wiped cache & dalvik, and freezes are gone.

Hope this will be useful for some of you. :)
[Galaxy S II Original Android Development] switchgott:
Sorry for my bad english.

Please tell me what is wrong :(
[Galaxy S II Original Android Development] Many40:
Sorry for OT. Don't worry mate. I think that most important is to be here understandable passing relevant information to the others, but not necessarily using aesthetic language (of course it's always welcome).

As far as my person is concerned, I understood you very well :)

Regards.
[Galaxy S II Original Android Development] valentinrascu:
We are not all english here....

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Original Android Development] crisgen:
R: [KERNEL][ICS/JB][ExTweaks][All-in-1kernel][DualBoot][Eargasm] SiyahKernel v4.1.5

I've a Little problem with 4.1.5 so i roll Back To 4.1.4.

Last night I've let the cell charging and go to sleep. This morning i See that the cell never Gone in deep sleep but stable all the night to 200 mhz :confused:

Never happened with every SiyahKernel flashed before now.

All settings in default ;)

After have disconnect the charger the phone goes in deep sleep normally.

Inviato con la Topa Parlante
[Galaxy S II Original Android Development] Eclipse_Droid:
This is due to the phone charging. I once not on charge it will deep sleep correctly
[Galaxy S II Original Android Development] Many40:
Hi, if you would like to get an answer to your question post it again in NON-DEV thread HERE.

Regards

Edit: Guys, please don't answer NON-DEV questions here.

References:

1. 1st sentence in the 1st post

2. 4th bullet in 2nd post
[Galaxy S II Original Android Development] kewinh95:
Nice ! Siyah kernel the best kernel !!! imo

nice downloaded at work will flash it when i get home ! i love 4.1.4 :D with paranoid android version 2.10

i really like it i love canging dpi when appstore apps doesn't say that the apps are not compatible! at least i haven't had that problem!

keep up the good work Gokhanmoral and D4rKn3sSyS :D !
[Galaxy S II Original Android Development] Many40:
Have you red my post above and first two posts of this thread? If not (it seems you haven't) pls do that. Regards
[Galaxy S II Original Android Development] ithehappy:
The spellings buddy. Don't take it seriously, I was having little fun.

Sent from GT-i9100 via Tt
[Galaxy S II Original Android Development] james_lpool:
I have just updated to Siyah 4.1.5, i cleared cache and dalvik cache, for some reason though i am not getting any vibration when i get a text, i have my phone set to vibrate and has been fine all day till i updated the kernel.

i read in the change log something about a change to vibration, has it been taken out completely?

I noticed that on the lock screen when i swipe to open the phone that also used to vibrate and now doesn't (which is fine), i just want the vibration back on my texts if anyone can help?

James
[Galaxy S II Original Android Development] Mr.Greg:
Your answer is on post 13133. Have a look.
[Galaxy S II Original Android Development] Tungstwenty:
Please refer to the message from Many40 a few posts back

(let's copy and paste this stuff ad nauseum :p)
[Galaxy S II Original Android Development] D4rKn3sSyS:
As gokhan requested us not to ask him directly stuff, I'll just throw the question on the air,

Anybody encountered issues while trying to use wired adb root?, I mean it stopped working since 4.1.4 or .3, still broken on 4.1.5, on my linux machine and my windows one.

Anything useful I can put there? kmsg, dmesg, logcat (I doubt it)?

Example output

d4rk@d4rk-ubuntu:~$ adb root
restarting adbd as root
d4rk@d4rk-ubuntu:~$ adb shell "busybox mount -o rw,remount /system"
mount: permission denied (are you root?)
d4rk@d4rk-ubuntu:~$

ps. In case someone thinks is the ROM, nope, is not, I have used 4.1.2 and adb root is working perfectly
[Galaxy S II Original Android Development] ROX77:
Encountered an issue on 4.1.5 only when charging:

If you stay fixed with the finger (for example during a scrolling) display starts to shake.

Even an older release had this issue (maybe 3.2.4), but after disappeared. Now it's came back.
[Galaxy S II Original Android Development] acidsulfurik:
Notmally u should wipe cache, and dalvik cache. Thats all :)

sent via Jelly Beaned awesomeness.
[Galaxy S II Original Android Development] ba32471:
Great Job

After cleaning dalvik cache everything works fine, even battery draining is very good :good:

I feel like, I wont touch the S2 until official JB is out...but I know I Will :D
[Galaxy S II Original Android Development] rainin:
Using Siyah v4.1.4. Selected Force to Mass Storage as USB connection mode in Extweaks but my SGS2 fails to go into Mass Storage mode whenever I connect the phone to my computer. Had no problem when I was using v3.5.2.

Is there any way to fix this? Or is this a bug in v4.1.4?
[Galaxy S II Original Android Development] d_Schizzo:
Had today an SOD with 4.1.5 and CM10 again.
[Galaxy S II Original Android Development] Bl@ck:
i've been using 4.1rc1 since last month and everything was working fine but since 3 days ago i'm having lots of SOD too, and i didn't even change rom. I'm gonna update and see the SOD stop appearing.
[Galaxy S II Original Android Development] Hitesh1802:
working flawlessly on stock 4.0.4...
[Galaxy S II Original Android Development] shantanuthatte:
Hi,

Gr8 job on Siyah !! been using it for a while and love it...

I would like to replace the default battery animation (while charging and phone is off)

I am currently using Paranoid Android 2.10 and SiyahKernel S2-v4.1.5.

On little digging i found out that images were under /res/images/charger/

I tried replacing them but they didn't work...

How can i do that ?

here are the images that i would like to replace with (made it myself): http://imgur.com/a/dF4Uk
[Galaxy S II Original Android Development] Tungstwenty:
The changes that you might make there will not persist, that part is always rebuilt from the original filesystem upon reboot (it's the initramfs).

The only way to do it is either building the kernel yourself, after having changed the contents of that initial filesystem, or instead taking the kernel image apart, replacing the files, and bundling it back together.

The first option is pretty easy provided you have the build environment to do it (linux box + a couple of packages). The other one might not be that easy, you'll need to look around for kernel repackaging scripts.

If you have a minimum set of tech skills, I advise you to compile the kernel yourself ;)
[Galaxy S II Original Android Development] dodikono:
Syiah 4.0.1 still the best for me.

PA 2.10 + 2nd rom RR 306

;)

Best regard,.
[Galaxy S II Original Android Development] yahyoh:
Any one feel stuttering with ondemand and pegasusq on app drawer + browser scrolling + tapatalk

Its not happening with conservative

BTW I'm using latest cm10 nightly + 4.1.5

Sent from another galaxy powered by CM10 & Syiah
[Galaxy S II Original Android Development] pikachu01:
Can you try using ThunderBolt!'s implementation of pegasusq settings? You'll need to install the main CWM.
[Galaxy S II Original Android Development] shantanuthatte:
Thanks... Any thread or tutorial on doing that so that I may not get certain things wrong... I mean some where I can follow steps... i know how to compile on linux but a kinda checklist will b gr8... after all will be compiling a kernel for first time...
[Galaxy S II Original Android Development] yahyoh:
i will try :p
[Galaxy S II Original Android Development] Tungstwenty:
Here are some very quick steps.

Prepare the environment:

# Create structure for Siyah compilation
mkdir -p ~/android/siyah
cd ~/android/siyah

# Clone sources from GM's github
git clone https://github.com/gokhanmoral/siyahkernel3.git siyahkernel3
git clone https://github.com/gokhanmoral/initramfs3.git initramfs3

# Fetch linaro 4.7 2012.08 toolchain from https://android-build.linaro.org/
# Unpack it so the contents are available in e.g. ~/android/toolchains/android-toolchain-eabi-linaro-4.7-2012.08

# Prepare a script to set the environment before building
cat << EOT > ~/android/siyah/set_env.sh
export CROSS_COMPILE=~/android/toolchains/android-toolchain-eabi-linaro-4.7-2012.08/bin/arm-linux-androideabi-
echo ""
echo "Siyah build environment set (toolchain env variable)"
echo ""
EOT

Whenever wanting to compile:

# Update the sources from github, but you need to handle the local modifications yourself
cd ~/android/siyah/siyahkernel3
git pull
cd ~/android/siyah/initramfs3
git pull

# Prepare environment for compilation
. ~/android/siyah/set_env.sh

# Compile
cd ~/android/siyah/siyahkernel3
./build_kernel.sh

# The zImage file on the siyahkernel3 root folder is the one to be flashed

Note that you might need to install additional packages on your linux instance to make it work (e.g. git if you don't have it yet, etc.)

Good luck ;)
[Galaxy S II Original Android Development] shantanuthatte:
Thanks... currently creating the GIT clone.. its taking a long time.. but yeah.. i'll let it run for a while now...

So when compiling i do a git pull, then replace the images... and continue with compile... right ??

Also how can I make CWMRecovery zip file ??

UPDATE: NM i'm just gonna replace the the zImage in the original zip file... Also would i need to clone and compile other repositories like android_prebuilt, xxLiblight ?? or the new compiled zImage will replace just the kernel and nothing else ??
[Galaxy S II Original Android Development] Kaldius:
I have problems with my camera after using the 4.0+ version of this kernel, force closing or just saying media scanning completed and camera app closes. I've done clear cache and dalvik cache and reset extweaks. Going back to version 3.3.2 fixes the problem.
[Galaxy S II Original Android Development] shantanuthatte:
Okay, so i finished setting up every thing and going for my first build... I noticed that there are only 6 levels which is reported i the battery.. can i increase it to 10 ?? if so how do i do that ??
[Galaxy S II Original Android Development] Computoncio:
Clear data of the camera and/or install from play store Rescan media root and click on Re-scan media scanner.

It will fix you problem.
[Galaxy S II Original Android Development] Tungstwenty:
Yes, that's if you want to catch up with any updates from GM on the repository.

Otherwise just update the files you want and recompile, without pulling changes from github.

Yes, just use one of the already existing zips and replace the zImage file with your own. Make sure to rename the zip to know it has your version inside otherwise it will be confusing :)

You don't need to clone any other repos like android_prebuilt, etc., as initramfs already contains the binaries that are required.

Also, by preparing the toolchain yourself, you don't need to get it from the AOSP source tree.

That's up to the ROM.

The kernel merely reports the battery voltage level (the remaining charge is inferred from that, either by the kernel as well of by the ROM, I'm not sure).

The ROM then reads the voltage and battery level and draws whatever it likes on the status bar. The kernel has nothing to do with it.
[Galaxy S II Original Android Development] shantanuthatte:
No I meant the battery images (PNGs) that are displayed when the phone is switched off and charging... i guess its the binary called "charger" in root... If so where can I get the source so i can modify it...
[Galaxy S II Original Android Development] Tungstwenty:
Ah, sorry I misinterpreted your question :)

I'm not sure whether the "charger" binary that Gokhan uses is the stock one from the AOSP sources, but looking at its source the loaded image names are exactly the same, and its hardcoded in the source code.

You can follow the steps from http://source.android.com/source/initializing.html to download the AOSP sources (prepare for a long download), and once having that stuff you can run ". build/envsetup.sh" followed by "make charger" to build your own changed code just for that binary, not the full android project.
[Galaxy S II Original Android Development] shantanuthatte:
Thanks... I'll load up a VPS since the source is approx 8.5 GB..!! I'll get onto that and report back.. :D

UPDATE: I have completed setting up the dev env... but now the prob is i am not able to find the source for "charger"... I used a VPS as its faster in terms of getting the AOSP source loaded... So all I need to know is where is charger.c or whatever the name might be is, since i'm unfamiliar with the dir structure of AOSP.. then i can do "make charger" ...

UPDATE 2: I think i found it.. its at "WORKING_DIRECTORY/system/core/charger"
[Galaxy S II Original Android Development] shantanuthatte:
UPDATE 3: And i did change the "charger.c" file found there... made only small changes as adding additional frames (as they are referred to) to make total of 10 levels... and kept the same naming scheme... i did "make clean" and then "make charger".. generating output (binary) in "/out/target/product/generic/root"... I then copied this binary to "initramfs" folder for siyahkernel and compiled it.. loaded the zImage generated and using CWM applied it... the phone boots... ES File Manager show the modified date for "charger" binary.. so does the /res/images folder... which have new images... and the build timestamp in "About Phone" is also correct... but when I power off and connect the charger.. it doesn't work... it just stops at the battery with the loading circle and doesn't start the charger binary (I think)... In the .c file there were debug function calls as LOGE("..."); which were actually macro for "KLOG_ERROR("charger", ...);" ... Any way I can pull up those logs from the phone itself ?? Also is there any device specific changes that I need to do to the AOSP dev env ?? Or any other things that I'm missing...

I am using two machines for building...

1. A VPS for AOSP running Ubuntu 12.04 and Java6 (and all the pre-req from android site)

2. My PC for Siyah running BT5 (had successful build earlier when I just replaced the images of battery)
[Galaxy S II Original Android Development] Tungstwenty:
Based on your description, your changes are there. The charger binary is in the updated initramfs and obviously you're running your own kernel, as shown by the timestamp in About (and probably the kernel description also has your user and machine name).

Building the binary should work if the make process did produce the output and didn't stop with any errors. I have recently build one other artifact (app_process) and posted the result here; it's working properly so at least that part worked fine.

For the klogs, you can cat /proc/kmsg to see what's being written there.

If the problem is the binary not being launched (unlikely, unless you modified lpm.rc), you might also wait for adb to be available when charging, and then run the binary directly from a shell.
[Galaxy S II Original Android Development] Many40:
Pls check my answer in nod-dev (discussion) THREAD

Regards
[Galaxy S II Original Android Development] shantanuthatte:
Well if there were any errors the build would have stopped.. But its not the case, since the build of charger completed.. Just now i tried "./charger" as root on terminal emulator... It started running and as in the coding when u press the power button the phone starts (reboots in this case) and I get back to splash screen (with yellow triangle -_-" )... I'll pull up a adb shell and then start the "charger" to see what output it generates...
[Galaxy S II Original Android Development] shantanuthatte:
Okay here's the output:

root@android:/ # ./charger
./charger
Illegal instruction
132|root@android:/ # ./charger

So maybe I'm missing something while compiling or doing it wrong... And now I have no clue what I'm doing wrong...
[Galaxy S II Original Android Development] Shahrokh.KING:
hi, i want to change sched_mc value, how can i do this? it not in extweaks anymore
[Galaxy S II Original Android Development] shri_chanakya:
what does paramter echo "100" > /sys/module/stand_hotplug/parameters/loadh1 means? I understood loadh0 and loadl0. Is it when the second core will switch on when screen is off?
[Galaxy S II Original Android Development] Many40:
Hi, with all respect, just a reminder (also for the others posting here non-dev questions): if you would like to get an answer to your question post it again in NON-DEV thread HERE.

Regards

References:

1. 1st sentence in the 1st post

2. 4th bullet in 2nd post
[Galaxy S II Original Android Development] topiratiko:
@ GM

What do you think about making a modified version of pegasusq setting its sweet spot@800mhz instead of 500mhz while awake? Conservative and lulzactiveq provide increased smoothness when scrolling/swiping but devour battery seems like they're always at 1200mhz...I think 800mhz would smooth it out and and not take a big battery hit. Maybe name it PegasusHP or something. Anyone else would like this?

Sent from my AT&T Samsung Galaxy SII

CM 9.1/Siyah 4.1.5/PegasusQ/Sio
[Galaxy S II Original Android Development] robertobsc:
Hi Gm,

I was looking in sched_features and found NO_ARCH_POWER inside.

It was the opposite before... did you intended to change it or it was a mistake?

Cheers

Enviado de meu GT-I9100 usando o Tapatalk 2
[Galaxy S II Original Android Development] Tungstwenty:
Your quest for an answer is progressing. Please check post #13171 for your next clue.
[Galaxy S II Original Android Development] topiratiko:
Tungstwenty your big time around these parts...do you think my request for pegasusq a post or two back is feasible or is it wasting time?

Sent from my AT&T Samsung Galaxy SII

CM 9.1/Siyah 4.1.5/PegasusQ/Noop
[Galaxy S II Original Android Development] Tungstwenty:
Illegal instruction makes me wonder whether the right toolchain settings were used (i.e. ARM code) and if the correct family was selected / used.

Can you email me the binary, images and sources (or PM me a link for them)? I can try to have a look during the weekend to see if I get the same result.

---------- Post added at 10:36 PM ---------- Previous post was at 10:31 PM ----------

I read your suggestion and creating a new governor just to change the sweet spot doesn't make sense, it's the kind of think that *looks* like just another configuration parameter for pegasusq.

Anyway, governors aren't a thing I really grasp well (even from the usage point of view :D) so I think GM or other devs could state their opinion.
[Galaxy S II Original Android Development] robertobsc:
If I understood well what you want... Well, look my awnser at non dev thread.

Enviado de meu GT-I9100 usando o Tapatalk 2
[Galaxy S II Original Android Development] m4dbra1n:
+1 with the same kernel, don't know with the latest 4.1.5
[Galaxy S II Original Android Development] shri_chanakya:
Thanks will post in the non-dev forum.
[Galaxy S II Original Android Development] macdaddyau:
With happened ? I just flashes 4.1.5 and all my videos and pics are gone ?
[Galaxy S II Original Android Development] Debadatta:
I guess this is not a development question, please troubleshoot general errors in the non development thread. Here ->http://xdaforums.com/showthread.php?t=1658647
[Galaxy S II Original Android Development] katestar:
gokhanmoral you said that your friend had the an s2 with the gpu overclocking problem and they you were going to try to take a look at it to see if you could find the problem, as like my s2, your s2 didn't have the kernel panic problem. May I ask if you have had any time to take a look at the probelm? As I have to say that 330mhz was very nice :)
[Galaxy S II Original Android Development] pangiotis24:
can anybody tell me what should i change on the source if i want to change the image that appears when the promt to boot first or second rom appears.i will compile it alone and i want to change that image
[Galaxy S II Original Android Development] Eagle3386:
I'm sure this was posted somewhere, but even after 2 hours of searching the forums _and_ Google, I'm still out of luck on my quest for an answer about why JB removed /sdcard and /emmc. :confused:

Please, if someone knows the answer: share your answer and extend my knowledge. :fingers-crossed:
[Galaxy S II Original Android Development] MemoryController:
Check the initramfs folder

Sent from my GT-I9100 running CM10
[Galaxy S II Original Android Development] shantanuthatte:
Find it in "initramfs" under "/res/images"....
[Galaxy S II Original Android Development] switchgott:
Question:

Is VSync enabled inside kernel??

Cm10 bings the vsync now for sgs2.
[Galaxy S II Original Android Development] luizlee86:
Can someone help me please?

I didn't notice it before, but when the screen dims, the touchky lights turn on... is that normal? Is there a way to disable it or disable the dim?

If it is not kernel related, sorry. But I think it is... =D
[Galaxy S II Original Android Development] Tungstwenty:
Even if it's kernel related, it certainly isn't a development question (check the big red letters right at the start of the OP).

Please post this on the discussion thread.
[Galaxy S II Original Android Development] Eagle3386:
Well, my questions seems quite development-related - but still, I got no answer. :-/
[Galaxy S II Original Android Development] luizlee86:
OMG! Sorry! =/