yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Original Android Development] confusedmuse:
Gokhan, i like the idea of multiple booting... i always have at least 2 OS's on my PC. But to be honest, 99,9% of the time i boot just my main OS after all...

So it's good to have it, but i don't necessarily need it.

So if it can't be done without high RAM usage or install-to-sd capability, it maybe would be better to split it up into 2 Kernels from here on?

I know you don't like the idea of making different versions of the Kernel,

but in this case it is very dependend on the user's preference i think.

Don't want to say you can't get it all together, but sometimes even you have to make decisions i believe. :)

---------- Post added at 05:52 PM ---------- Previous post was at 05:47 PM ----------

You have 2 storages inside the phone, one partition with about 2 GB (phone storage) and one with about 12 GB. (internal storage)

I'm not speaking of the external micro-sd card.

You have to restore the app to phone storage instead of the internal storage, then it'll work.
[Galaxy S II Original Android Development] wini77:
I see, Roger that!

I'll try it.
[Galaxy S II Original Android Development] :
Similar issues as above in 3.1b1 without dual boot: huge ram consumption and scrolling has become jerky sometimes, where it didn't happen with 3.0.1 (sensitivity is perfect, I'm talking about smoothness; hope it's clear what I mean).
[Galaxy S II Original Android Development] Siberian Tiger:
Dear GM if i get this straight:

If my primary rom is Samsung based and the second AOKP or CM9,i won't be able to flash eg:nightly?

Thanks for your awesome work :)

Respect!!!
[Galaxy S II Original Android Development] veyka:
Correct.
[Galaxy S II Original Android Development] Siberian Tiger:
Thanks veyka for your quick answer and here is another one if you know.

Is this going to change in next releases so we can use CWM for the secondary rom too?
[Galaxy S II Original Android Development] ceftriaxone:
Dual boot working! Great work!!! Fabulous:D
[Galaxy S II Original Android Development] veyka:
I think its on the to-do if possible list.
[Galaxy S II Original Android Development] BrandoHD:
I stand corrected
[Galaxy S II Original Android Development] GLunPy:
Hardware video decoding not working is kernel problem or rom? Thanks
[Galaxy S II Original Android Development] :
Really? So I shouldn't UC the processor at 100mhz for a better battery life?
[Galaxy S II Original Android Development] veyka:
No, as it doesn't save any battery life, and is generally pointless, and will be removed in the future.
[Galaxy S II Original Android Development] yeahtyeaht:
yes minimum is 200 for a good battery life
[Galaxy S II Original Android Development] ephraim:
I get a prompt to boot into 2nd rom even though i did not clone my rom or anything.
[Galaxy S II Original Android Development] Hannibal226:
OK here my feedback.

First I tried to flash lite'ning rom beside SensatioN.

After done (without wipe) only first (SensatioN) boot, second=blackscreen.

Then I tried Cm9 beside SensatioN, where I did a full wipe.

First rom boots fine sec this time starts, too, but keeps in booting (don't really look like bootloop but think same effect here)

Now I delete data.img and caching from sdcard/.seconrom

Think there is something wrong which is crashing the second boot.

Gr8 work anyway and thanks a lot.

CHEERS ;-)

Sent from my Galaxy S2 - I9100 with SensatioN Rom!
[Galaxy S II Original Android Development] :
Thanks! I'm editing setting on Voltage Control :D
[Galaxy S II Original Android Development] manyakurt:
Recognized Contributor, as usual ;)
[Galaxy S II Original Android Development] yahyoh:
in v 3.0 i have used memory like 310 with opening some apps but in v 3.1 beta1 i have 487 without any apps O_o
[Galaxy S II Original Android Development] yeahtyeaht:
gökan are mdnie profiles already included in this kernel? cant find anything in the changelog
[Galaxy S II Original Android Development] :
Does anybody else have the problem that after some time on wifi tethering (like half an hour or more) s2 just falls into a sod and must be restarted by pressing the "on-button" for a long time?
[Galaxy S II Original Android Development] shr33kant:
I would also +1 for a kernel without the dual boot.. I am an aosp boy now and I don't think I can go back to samsung roms anymore :-P... Plus I kinda need the ram and stuff...I like to game on my 1:hr30min commute to and from work lol.

Sent from inside a black hole.
[Galaxy S II Original Android Development] tolis626:
Since I haven't seen anyone mentioning this,I'll do it.

3.1b1 causes some problems with apps in external sd.Nothing gets deleted,it just doesn't load the apps that are in the external sd,like big games.If I flash 3.0.1 back,it just works.Strange,yeah,but what can one do? ;)

Dual-booting works fine though.As advertised,one would say. ;)
[Galaxy S II Original Android Development] Megabit:
I too have tried all RC and final version, I think the best with my ROM (stock LPS) is RC2 for less battery, good touch sensitivity and RAM consumption (~364MB on start up). Missing only the dual boot :)
[Galaxy S II Original Android Development] inouext:
Hi, Im Having this same issue.

Thanks.
[Galaxy S II Original Android Development] Shm33g:
Pressed thanks instead of quote... oooops :confused:

As far as I know the RAM bug is going to be fixed, it is not a penalty of having a dual boot kernel; i'm happy to be corrected though.
[Galaxy S II Original Android Development] MistahBungle:
??

I haven't seen Gokhan even acknowledge there is a problem, tho it doesn't seem to be uncommon (yes I experienced the problem as well before I went back to 3.0.1).
[Galaxy S II Original Android Development] xvxvx:
USB DAC

Dear Gokhan,

I know that you've made the best Kernel for the Galaxy S2!

But is it possible to enable USB AUDIO so that i can use my smartphone with an external, audiophile DAC over USB?

As I've read a file like usbaudio.o which is part of the ALSA project is missing in the kernel. Once I recieve my DAC, I'll post it here the dmesg output, if it helps you.

Robert Kiel
[Galaxy S II Original Android Development] bleuxeon:
My post will probably sounds outdated but I have amazing battery life with this combo : CM9 2012-04-02 and Siyah v3.0

Ok its allmost standby times but I have never reach such idle time!

This is the reason why I haven't update yet CM9 and Siyah : I wait to see how long my GS2 will last:)
[Galaxy S II Original Android Development] scanja500:
Have anyone a solution for the blackscreen any fail to boot in the secundary rom?
[Galaxy S II Original Android Development] pp085ster:
Im still having problems flashing various .zip files thru CWM! Am i doing something wrong or is it a bug?
[Galaxy S II Original Android Development] marcosxd:
You are having "amazing" battery life because you are not using it... for what it seems, you could be using it as a paperweight... cheers though!
[Galaxy S II Original Android Development] hirak99:
+1. I can't think of any practical situation where I'll like to dual boot on phone, consequently if it comes with any compromise then I'd prefer to have a pure kernel without that capability.
[Galaxy S II Original Android Development] sahibunlimited:
Its not an issue, its just like that
[Galaxy S II Original Android Development] marcosxd:
Coming from gm site:

SiyahKernel v3.1beta2

Posted on April 11, 2012

Changelog:

fixed high memory usage

not released yet.

Posted in Uncategorized
[Galaxy S II Original Android Development] sahibunlimited:
Tried cm9 as primary rom and MIUI 4 as secondary rom but only results black screen for me(tried it 2 times)

Will try cm9 with sensation rom once
[Galaxy S II Original Android Development] Shm33g:
I meant seeing as the problem appears to be a major one, it is likely going to be fixed quite soon. And I don't think it's likely that having dual boot capabilities on a kernel could result in a problem like this, the unused ROM is just a file on your phone like all the others, it shouldn't affect ram while using the alternate ROM.

I have also reverted to 3.0.1 for now, at least until I see an update from Gokhan as to what the problem is and how serious it is.

Edit: Have just saw the post by marcosxd, looking forward to fiddling with dual boot :)
[Galaxy S II Original Android Development] scanja500:
Have tryed cm9 with sensation rom as 2.rom with no luck
[Galaxy S II Original Android Development] gokhanmoral:
3.1 is in beta and there are bugs.

I have already fixed high memory usage problem.

for those who expect new features:

I will add new features and fixes as my time permits.

I try to read all posts even when I am mobile.

but repeating the requests won't help me.

and don't expect the order of my priorities to be the same as yours.

I will first try to fix problems with dual booting, then implement new features considering common requests and needs.

I will try to fix all known dual-booting related problems today. but some of them cannot be fixed. for example you cannot flash any update to second rom using CWM Manager. or you won't be able to restore the same apps to sdcard in both primary and secondary roms. you can have an app installed to sdcard in only one of them.

and another note: if you prefer to ask me directly via PM instead of asking a question in this thread I will ignore you.

you can't imagine how many messages, emails (yes, even emails to almost all of my email addresses) and PMs I receive daily.

if I try to reply all of them I won't have time to do anything else.

if your are not patient do not use this kernel or the latest beta.

I am always open to suggestions but please try to help me instead of slowing me down.

by the way, I want to thank to all who answer questions in this thread. It is impossible for me to answer everything.
[Galaxy S II Original Android Development] inouext:
Maybe not a issue, but Gokha said:

"If you do not make any cloning you won’t be prompted to boot the second ROM."

and every boot it appears
[Galaxy S II Original Android Development] marcosxd:
And this is how a remarkable dev answers and asks for his community to and not to do something.

Congratulations for your huge patience. Keep the good work coming!
[Galaxy S II Original Android Development] edint3000:
First off all congratulations on the best kernel ever!

Just a temporary fix suggestion altho im not sure its completely doable.

I have seen in Desire HD forums guys edited \META-INF\com\google\android\updater-script of an update zip file,

so the file would be installed to secondary rom partitions by default.

So we would just need new mount points instead of these...

mmcblk0p9 /system - mmcblk0p12

mmcblk0p7 /cache

mmcblk0p10 /data

Its just an idea, hope i could help.

edit: http://xdaforums.com/showthread.php?t=1173309

edit2: system partion only needed for updating MIUI roms
[Galaxy S II Original Android Development] gokhanmoral:
right, all we need to replace those mount points.

but we have a block device only for the system partition of the second rom, the others are files and I don't know if CWM recovery can mount files to directories using loopback devices. I may need to modify that part a little.

I will make some more modifications in CWM recovery later to let you flash updates to second rom. I am thinking about something like "switch mode" to switch between primary and secondary modes. you will see the mode in the header, and I will mount the correct device/file by parsing the script such as "if in secondrom mode, use mmcblk0p12 instead of mmcblk0p9"...

but it is not my #1 priority. I will give implementing bln w/o wakelock another try first.
[Galaxy S II Original Android Development] mrsilva1986:
I have a question, maybe stupid but... Is it possible to install cm7 as second rom? Because cm7 have an option on sip to change the user agent that i need and can't implement in other roms!

Thanks in advance.

Sent from my GT-I9100
[Galaxy S II Original Android Development] ephraim:
Nope, CM7 is based on GB AOSP and this kernel is only for ICS and the primary and secondary rom uses only one kernel.
[Galaxy S II Original Android Development] coloxim:
no
[Galaxy S II Original Android Development] Lennyuk:
Had to go back to 3.0.1 could not install apps to sd on beta 1
[Galaxy S II Original Android Development] ephraim:
How'd you reply with only 2 letters? Is it possible now? :D
[Galaxy S II Original Android Development] nickmax1:
i had to revert back from this beta, i was getting a battery drain between 15-20% an hour!!
[Galaxy S II Original Android Development] Rinoko72:
I've changed back to v3.0, but I'm still seeing the "dual boot" part in recovery..

I though that it would be gone after flashing back to v3.0 :confused:
[Galaxy S II Original Android Development] zoneeee:
Same conclusion for me, must be an italian issue ;)

A short question for everyone : better conversative or ondemand for battery life?
[Galaxy S II Original Android Development] rauschkugl:
The part was already there in gb kernel but it shouldn't work now. Just placeholders.
[Galaxy S II Original Android Development] sahibunlimited:
Offtopic:Using tapatalk or xda app use can make a post with atleast 2 chars
[Galaxy S II Original Android Development] JAG131990:
Maybe this is just me but I can't hold home and switch apps anymore...
[Galaxy S II Original Android Development] stormtroopercs:
Rom problem. Mine works
[Galaxy S II Original Android Development] Tye:P:
post deleted
[Galaxy S II Original Android Development] gokhanmoral:
beta2 is released before I sleep.

not everything is fixed, but the most serious ones (high memory usage and booting samsung rom as second rom) are fixed.

I can move apps to sd in my primary rom.

if there is a problem with that I will try to reproduce it tomorrow.

if you experience any problems please give details (rom, settings, apps, actions to reproduce the issue etc)
[Galaxy S II Original Android Development] Vaedryn:
Thank you Gokhan :)
[Galaxy S II Original Android Development] JAG131990:
I'm on resurrection remix 1.2
[Galaxy S II Original Android Development] tolis626:
I'm awake solving problems in physics for tomorrow's class(Yes,in Easter! :mad: -I hate Newton) and I was bored to death.Now I have something worth taking a break for.Thank you! :p

EDIT:Apps that are installed in the external SD still don't show up in 3.1b2...Wtf can this be caused by?
[Galaxy S II Original Android Development] edint3000:
Replacing mmcblk0p9 with mmcblk0p12 in

\META-INF\com\google\android\updater-script

worked for MIUI rom. I just needed to reflash Siyah kernel again.

Dont know will it work for other roms... :D
[Galaxy S II Original Android Development] gavin-phelan:
Beta 2 out
[Galaxy S II Original Android Development] zoneeee:
reapplied ondemandx patch (I forgot to put it back in v3.0 release. it should be the reason of having more battery drain with 3.0 than 3.0rc2)

This is great.

To benefit from this change do i need to set ondemand governor?
[Galaxy S II Original Android Development] gavin-phelan:
Please dont give out but did i not hear something about updated kernel to allow applying an update to secondary rom??
[Galaxy S II Original Android Development] Tye:P:
This is the first time I've used Siyah and just wanted to ask a couple of questions. I've read the last 20 pages or so, just a little confused and wanted some clarification.

Is it ok for me to setup the ROM I want as secondary with all my apps before I move it?

Is there anything important related to apps and they way they work under the dual-boot configuration that I should know?

(especially in regards to Gameloft games, App2SD and the way the Internal SD Card partition functions).

Thanks.
[Galaxy S II Original Android Development] veyka:
Yes, as its an ondemand patch, only effects ondemand.
[Galaxy S II Original Android Development] antt00:
I confirm that apps on external SD are not detected even though it is installed. Got this with both beta 1 and beta 2. Flashing back to 3.0.1, the apps will show up again. On hydrog3n 0410 rom. Had not setup any dual boot yet.

Edit: Also I get the choice to boot into second rom at startup even though I had not set it up yet on both Beta 1 and Beta 2.
[Galaxy S II Original Android Development] braudrist:
'Siyah Kernel — the way it's meant to be'
[Galaxy S II Original Android Development] ultramic:
The time and date stamp when performing a backup is wrong, this never happened when going through CWM Manager. Much appreciated if you could look into this.

I know I can manually change the date and time, but I thought I would point it out as it is pickung it up something incorrectly.
[Galaxy S II Original Android Development] Alson McLaren:
Guys,,,

what is WRONG with the Wi Fi toggle??!!!!!

still not working for me and i have to restart my phone!!!

and some times it gives me Kernel Panic!!!

back in GB version it was thankfully flawless but this time the toggle becomes very very annoying!!!
[Galaxy S II Original Android Development] Radikaal:
Work and worked flawlessy for me on 3.0rc2 and now on 3.1b2. Maybe its your ROM?

And thanks for fixing the ram issue, was the only reason going from 3.0rc2 for me which was perfect in all other ways.
[Galaxy S II Original Android Development] Alson McLaren:
^^^

I'm using the Sensation rom by cysis and it is not a rom issue...

cuze b4 i flash siyah kernel the toggle was fine but after flashing...:(

sorry gokhan i didn't mean to be RUDE cuze ur kernel is the best but the toggle issue is just annoying...

I'll try to flash the latest siyah and try the toggle...:)
[Galaxy S II Original Android Development] Orka82:
I can't install some apps from Play. The apps was there before upgrade but disappeared when upgraded. Trying to reinstall them gives this:

Installed the latest CM9 nightly and after that the latest siyahkernel. Not sure if it is kernel or rom related.
[Galaxy S II Original Android Development] JAG131990:
Everything seems to be working really good now,

Resurrection 1.3 with 3.1beta1 siyah.

Only one complaint, RILJ (the phone dialer) seems to be causing a constant never ending wake lock
[Galaxy S II Original Android Development] elite_gamer04:
Not wanting to use Dual-Boot but updating to SiyahKernel v3.1beta2 because of 'OnDemand' patch - I should be fine, won't have any 'negative' affects except for bugs obviously being a beta correct? Is there a way I can maybe apply the 'OnDemand' patch to v3.0 manually?

If I decide to upgrade, flashing .ZIP, clearing Cache/Dalvik and ExTweak settings are all that I need to do?

Great work Siyah - keep it up buddy!
[Galaxy S II Original Android Development] muoino:
i think it's kernel related. I tried 3.1b1&2 but had the same error when installing apps from market. Beside that some existing apps disappeared from app drawer and marked as not installed in market. I went back to 3.0.1 and all work fine again. I'm using Bezke AOKP.
[Galaxy S II Original Android Development] Orka82:
"Good" to hear that I'm not alone. Thanks :-)
[Galaxy S II Original Android Development] eric-filth:
I report my sucess with dual boot

Stock XWLP7 + Hydrogen 10-04

How i did?

Im was using Hydrogen so i enter cwm recovery and clone to second partition

Enter hydrogen using first partition and install xwlp7 using mobile odin pro with full wipe.

Done.

First partition is xwlp7

Second hydrogen

Really simple.

Gokhan very very thanks.
[Galaxy S II Original Android Development] bajee11:
All those on HyDrOG3N, how's beta 2? Read a few issues with play store, and apps not recognized on sdcard, any other feedback? thanks
[Galaxy S II Original Android Development] Sepharite:
Sorry but is there a tutorial for dualbooting? I don't want to screw up my Primary ROM. Thank you!

Also, what's a good ROM to try alongside CM9 ;)
[Galaxy S II Original Android Development] eric-filth:
I made one for my forum in brasil.

I will translate for you but using google translator ok?
[Galaxy S II Original Android Development] eric-filth:
Here. Third post.

translate.google.com.br/translate?s...lhores-custom-kernels-tutorial-dual-boot.html
[Galaxy S II Original Android Development] arch-angel:
Read a few pages back, there's post by Droidphile
[Galaxy S II Original Android Development] BULL3TPR00F:
running the exact same setup with the exact same problems. 3.0.1 is fine, issues only started with 3.1. must have something to do with hydrog3n rom communicating with the kernel
[Galaxy S II Original Android Development] Doodalicious:
With hydrogen I can't move apps to SD card too with latest
[Galaxy S II Original Android Development] JAG131990:
No one else is having wakelock?
[Galaxy S II Original Android Development] scanja500:
Thx...

with beta2 sammy roms boots excelllent on secound rom!!!
[Galaxy S II Original Android Development] windowsxelvis:
Waiting for regular version of v3.1 :D
[Galaxy S II Original Android Development] Shm33g:
On Hydrog3n 10.04, can't move or install apps to SD. Fortunately I don't need to, but still... :confused:

Edit: Also currently dual booting Hydrog3n-ics and MIUI V4. Simply cloned, wiped and flashed, working oerfectly except for known bug.
[Galaxy S II Original Android Development] gokhanmoral:
I have just installed hydrog3n ics as my primary rom to fix that problem.

I hope it will be fixed today. it is the only serious problem that I know in v3.1.
[Galaxy S II Original Android Development] eric-filth:
For some reason i dont know why my second rom was gone. The files are there .secrom/*.img but dont enter.

Checking dual boot options into cwm touch in "info" say is not have but i did nothing and files from second rom are there. Anyone know about?

I suspect nandroidbackup is reason.
[Galaxy S II Original Android Development] Shm33g:
I tend to keep all my apps off the SD card for a reason I've forgotten about but it means I can use dual booting without worry :D

I've still got Foxhound and the latest CM9 nightly to try, being able to make slim nandroids of each ROM and save so much time backing up and restoring is a dream come true :p
[Galaxy S II Original Android Development] rlorange:
+1 this is a great suggestion. There are a few commits from the sgs1 community that should be easy to add
[Galaxy S II Original Android Development] rlorange:
Gohkan:

Ok so this is the ONLY config kernel change that needs to be made to allow GB compatibility for mice/keyboards and hdd.

Also to disable the whitelist change this line of the .config file for the kernel:

from:
CONFIG_USB_SEC_WHITELIST=y
to:
# CONFIG_USB_SEC_WHITELIST is not set

[/QUOTE]
[Galaxy S II Original Android Development] forfrossensvart:
dual boot with miui 2.4.6 german as secondary rom works great now with new v3.1beta2

cm9 as primary!
[Galaxy S II Original Android Development] gokhanmoral:


it is for GB kernel. and I have made that change in GB kernel months ago to get it working.

if you can "please" look at the sources and current config you will see we don't have that config enabled.

if it was that easy I would have done it already.

so, please stop requesting that feature obsessively and give me some time to finish what I am working on so that I will spend some time to fix it.

or please come with a proven solution such as "this and that kernel supports that, can you look at their source and incorporate the necessary changes".

I also want to get it work and I have already stated this countless times.
[Galaxy S II Original Android Development] eric-filth:
Gokhan where i can find command lines to read /sdcard/.secondrom ?

Because files are there and i didn't nothing to no work more my second boot
[Galaxy S II Original Android Development] spelaben:
I installed beta 3 together with the HyDrOG3N-ICS 20.03 ROM which was just released and my phone is booting perfectly well. :)
[Galaxy S II Original Android Development] tolis626:
The answer to your problem is 2 posts above yours and was posted 3 minutes before you posted.Now tell me,would you sweat while trying to find it?
[Galaxy S II Original Android Development] ithehappy:
Asking this to GM and others, well I was creating a percentage battery mod in UOT kitchen by uploading my LPQ framework and systemUI.apk. But now when I boot into recovery and flash that zip it's showing the following error,

Running Siyah Beta 3-3.

Thanks in advance for a solution.

Swyping from my GT-I9100 via Tt