yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] Bejda:
@Stachura5,

Sorry,I've been "out" for a moment after i asked you precisions.

I guess the critical point in all this,what makes secondary rom works or not (as long as it follows cm10.1 way of partitioning) is the kernel installation.

How was it?Did you have the three steps which are first install =error7 fail;second install= Device reboot itself to recovery/Dual Devil cwm; and third = third kernel installation that IMO has to be a long installation cause (asking this to DerTeufel) it's the kernel that create the 700mb data.img file (?)

Even if you have the three kernel installation steps i guess secondary rom won't work if you didn't had at some point (after err7 fail and auto reboot2recovery) the longer kernel install.

At this point i think you could try again kernel installation until it happens (long kernel install then).

If still the same i guess you better not waste time configuring your prime rom and flash a cm9 to try again from kind of clean base (reflash your primary rom from cm9 and starts the process again). If it's not the moment for you to do so (doesn't take long thought) you can just for now use your primary rom that will works just fine with any kernel you want just like it was before you tried dual boot and try again later,up to you.
[Galaxy S I9000 Android Development] GrippingSphere:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

The 2nd Rom will be edited by the dual boot kernel so it will take some time to boot.

Also once the Rom was already revised by the dual boot kernel, you cannot re- flash it again. You have to remove the revision or download a new zip.
[Galaxy S I9000 Android Development] Bejda:
Removed+edited above ..
[Galaxy S I9000 Android Development] Sithhy™:
So what I have to do? Should I reflash the kernel three times to get it working propetly? :eek:
[Galaxy S I9000 Android Development] Bejda:
Don't know,how was it when you first tried kernel? You had those three steps mentionned in OP? I guess the long kenel installation is mandatory to get things working as it should after (creation of the 700mb data.img file under /sdcard/.secondrom)..

If you had the three "fail,reboot recovery,third kernel install" steps when you installed the Dual kernel but not the longer kernel flash as third step (much longer than an usual kernel flash) i guess you could try to flash again Dual Devil to see if it happens now,and if it happens reflash a secondary rom (after mounting secd fs of course) and reboot secd fs to see if it's ok/boots now.

Sorry if i'm not clear :o
[Galaxy S I9000 Android Development] purpleraintoxicity:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

After two days of using without reboot, phone becomes show and a bit leggy.. This want the case in the former dual boot kernel, nor with all Helly bean ROMs

Edit: dynamic fsync's fault... Sorry. Now we good again
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

You are tight about the creation Of data.img

but it should get recreated at boot, if size is smaller than 650mb. Anyway, one can force this, by deleting the img.

I'll try to improve the creation for the next version.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] Sithhy™:
I don't know why but the .secondrom folder I have not on my sdcard but in my phone system files :eek:
[Galaxy S I9000 Android Development] Bejda:
Having two .secondrom folder should the normal/working way.

One on sdcard with the 700mb data.img file and one as you said on root "/" device that shows empty when you're running primary rom and shows sdcard contents when on secondary.

You should have a secondary_system file on /dev/lvpool too, could you tell if you have it? (I won't know what to conclude if you have it or not lol but it may help DerTeufel for debug and all..)

Personally i never managed to (re)create the sdcard/.secondrom/(700mb) data.img file by deleting it/rebooting or even by flashing kernel again but maybe i only tested this on first dual devil version, can't remember ..

I guess the simplest way to try again would be cm9 flash> flash a 4.2 rom zip that you didn't ever try to flash as secondary rom and then follow again OP's instructions.
[Galaxy S I9000 Android Development] Sithhy™:
I have the secondary_system file in /dev/lvpool but I don't have any .secondrom folder on my sdcard
[Galaxy S I9000 Android Development] Bejda:
I understood this yeah (for sdcard),and nothing change after reboots or kernel reflash?
[Galaxy S I9000 Android Development] Sithhy™:
Nothing changed after reflashing kernel or rebooting :/
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Please use rootexplorer or similar, to delete data.img from sdcard. Then reboot secondary system. You should be stuck at kernel screen for about two minutes, while data.img gets recreated. Then secondary system should boot. (make sure, you really have 700 MB free at your sdcard, after deleting data.img, otherwise the kernel tries to recreat it forever.)

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] Sithhy™:
I deleted the data.img, rebooted to the secondary system, but my phone was stuck at the kernel screen for about 15 seconds? :(

P.S. Sorry for the late reply, no internet access.
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

And after you were stuck?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] Sithhy™:
And after I was stuck at the boot logo for 10-15 minutes, then I turned off my phone...
[Galaxy S I9000 Android Development] DerTeufel1980:
then i would need the logcat of the failing boot. at the moment i have no idea what could be wrong. you really have enough space at your sdcard for creating data.img?
[Galaxy S I9000 Android Development] Bejda:
Factory reset prime fs+install new primary rom went fine :)
[Galaxy S I9000 Android Development] theKingJan:
How can i delete the second partition on the sdcard?
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Are you talking about the secondary data? Then just delete the data.img from sdcard.

For the secondary system, I am going to build a reset kernel.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] chenthu:
Was waiting for Dual Boot for a very Very Long time... Sometimes even i myself tried getting into business when there was no one to do it but I have no knowledge about coding. Then I decided GT-I9000 is never gonna get it and stopped thinking about it.

But Now there you are..

You are a god

.... Thank you very much for this.. Love you Brother.
[Galaxy S I9000 Android Development] Sithhy™:
I give up, I don't want the kernel anymore, but thank you anyway for doing something this nice for our i9000 :)
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Do the following:

- open root explorer

- go /sdcard

- you need min. 700 Mb.

- go recovery

- flash Mackay kernel

- advanced

- reboot recovery (you'll be on Mackay recovery)

- factory reset

- reboot system now

then

- go recovery

- flash Devil dual kernel

- advanced

- reboot recovery

- flash Devil dual kernel

- reboot recovery

- flash Devil dual kernel

- dual boot menu

- enable mounting of prim. fs

- advanced

- reboot recovery

- factory reset

- dual boot menu

- enable mounting of sec. fs.

- advanced

- reboot recovery

- factory reset

- dual boot menu

- Mount prim. fs.

- install zip from sdcard

- choose zip from sdcard

- select "rom for prim. fs."

- flash e.g. Mackay ROM

- reboot prim. fs.

you'll get recovery back

- reboot prim. fs.

After booting up

- go recovery

- dual boot menu

- Mount sec. fs.

- install zip from....

- choose zip ....

- select "ROM for sec. fs."

- install e.g. CreedROM

( it takes you 3-5 mins)

- select "KERNEL"

- flash Devil dual kernel

- reboot sec. fs.

That's all.
[Galaxy S I9000 Android Development] bambam1978:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Great job on this kernel love being able to test new ROMs with no risk!

Thank you so much.

Sent from my GT-I9000 using Xparent Green Tapatalk 2
[Galaxy S I9000 Android Development] koko98:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

My primary Rom doesn't boot up. I have installed C-Rom Mix v5 I rebooted normally because it was very laggy but it stays in bootanimation. Tried reflashing with

wipe cache and Dalvik but it says installation aborted ( bad). Flashed elite but the same. It boots with mackay but it's stuck at bootanimation again... 2nd Rom boots correctly. What can I do? Please HELP!!

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Android Development] Sithhy™:
I installed it like you said, after all that I booted to the second ROM but it hangs on the boot logo for 7 minutes yet :eek:
[Galaxy S I9000 Android Development] koko98:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Help! If I install 4.1.2 maybe I can't boot it again...

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Android Development] blusydays:
@DerTeufel, can't wait for the 'normal' kernel without the dual boot :)
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Yes, because it's for 4.2.1.

Sent from my dualboot SGS1.

---------- Post added at 07:24 PM ---------- Previous post was at 07:19 PM ----------

I'd like to help you, but I can't. Today I've flashed 3 ROMs without any probs.

Sent from my dualboot SGS1.
[Galaxy S I9000 Android Development] GrippingSphere:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

In flashing of the secondary Rom, it is being edited/revised by the dual boot kernel. Once it was already revised, i think you cannot re-flash it again. You have to use a fresh or untouched Rom zip file.
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

If you install it as primary rom, it gets re edited as it used to be

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] saszseb:
There are some ROMs like Elite's and CreedROM, etc having another ROM structure. Getting these ROMs you need to flash Devil_dual after the ROM.zip. ( After flashing Elite's ROMs, phone will boot up automatically, therefore I delete the last line in the updater-script and the phone won't boot up automatically and you'll be able to flash Devil_dual kernel at once.
[Galaxy S I9000 Android Development] koko98:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

I found the problem. CWM wasnt writing anything on /system. Installed another kernel and done

Enviado desde mi GT-I9000 usando Tapatalk 2
[Galaxy S I9000 Android Development] Bejda:
I had primary rom stuck at bootanimation too,happened two times after power on/off (changing battery) on two differents rom.

I could use the same rom's zip after on a no-dual boot configuration (and about same apps and settings restored),tried power on/off many times but it didn't happen again.

http://dl.dropbox.com/u/25071013/bootanimStuckRevolt.txt

http://dl.dropbox.com/u/25071013/xyboot.txt
[Galaxy S I9000 Android Development] ash5618:
any way yet to flash 4.1.2 in dual kernel?
[Galaxy S I9000 Android Development] ugoms:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Not supported.
[Galaxy S I9000 Android Development] MintiIceCream:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Dear Dev, will you do support for gingerbread?
[Galaxy S I9000 Android Development] purpleraintoxicity:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Add far as I know, it can't be happen due to partitions
[Galaxy S I9000 Android Development] MintiIceCream:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Partitions can be other I think we could modify it. :)
[Galaxy S I9000 Android Development] purpleraintoxicity:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

So go ahead, modify gb partitions to match cm ones

Also, my guess that bootloaders does the problem too
[Galaxy S I9000 Android Development] MintiIceCream:
I'm not a developer yet, but i think it is possible, that is all :)
[Galaxy S I9000 Android Development] purpleraintoxicity:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

I believe DerTeufel. When he say its not optional now...

But it would be a great thing if ut will work
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

If you are talking about cm7, partition wouldn't matter. Anyway, there have been many driver changes, which make it impossible to use one kernel.

If you meant Samsung gb, you need to modify the rom, to use mtd partitions instead of bml (which isn't possible) and then solve the driver issues.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] ash5618:
how can i install the elites rom with dual boot kernel?

same as others?
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

You just need to reflash the dualboot kernel after installing elite rom

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] MintiIceCream:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

I'm taking about CM7 of course :)

Maybe Cm6 later on : )
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

<=RC1: you're right.

RC2: not needed.
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Thanks, didn't know, elite already has changed it :)

Then one just needs to flash

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Boot.img has already been in /.
[Galaxy S I9000 Android Development] lassieee:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

First of all I'd like to express my gratitude for creating such an awesome and in my opinion must have kernel for everyone who flashes roms.

I've been flashing numerous times since yesterday and I finally got it working all though not exactly the way I wanted. I wanted to have slim bean rc1 as primary rom and c-rom bean v6 as second. I was able to get the first rom working but after flashing the second rom, the second rom (c-rom bean) started as first rom. Because it wasn't 100% the way I wanted I started testing some more just to be confident I could flash a new ROM in the future without messing everything up :)

I was able to flash slim bean as first and second rom and that worked great (obviously I changed some settings in the roms so I could confirm the right one was booted). After that I tried to flash hellybean as first and slim bean as second but it didn't work. First rom booted second stayed at boot screen. I decided to undo all traces and try from the beginning so I flashed Mackay kernel and did a fact reset and format system. I flashed a 4.1.2 rom just to check if that worked. After that I flashed devil kernel but it succeeded the first time. It's supposed to give an error the first time right? I used the file manager to remove the dual boot dir and the .IMG file which was only 7.5mb. I've been flashing stuff all morning now but it seems I am unable to get the second ROM tom work.

After flashing the devil kernel I mount the 1st fs and flash a ROM. I reboot to recovery and mount the 2nd fs and flash another ROM. After that I tried booting 1st or 2nd ROM but 2nd doesn't work. I also tried flashing the devil kernel after flashing the 2nd ROM but that didn't work either.

I read just about every comment in this thread and tried the various steps provided.

Can anyone tell me how I can go back to the point where installing the devil kernel for the first time fails and installing it for the third time takes longer so the .IMG gets created?

Thanks in advance

Edit: a huge story and still didn't ask all i wanted to ask lol. So just to be sure, do I need to edit a ROM before I want to flash it? And do I need to flash the devil dual boot kernel after flashing the second ROM?
[Galaxy S I9000 Android Development] GrippingSphere:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Only on the first time of Dual Boot kernel installation will take take a long time. Once the kernel is already installed, re installing it will be immediate, no more delays.

For the secondary Rom, it is important to use a fresh / unedited Rom zip file. AFAIK this secondary Rom zip will be edited by the dual boot kernel and cannot be re flashed again as secondary Rom.
[Galaxy S I9000 Android Development] lassieee:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Tnx, can anyone confirm this?
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

For the secondary is only one thing important: boot.img should be in "/". If it isn't in "/" of the ROM.zip, you should flash the Devil-dual again!
[Galaxy S I9000 Android Development] lassieee:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

OK, tnx, so just to be sure it wouldnt hurt to flash the devil kernel every time after flashing the second rom, right? Or might that break something?

It seems so easy and very intuitive but I'm not sure where I go wrong. I'll keep trying, thanks for your replies.
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

No, it doesn't hurt.

I ll try to upload a new version today. This should fix some remaining issues. Currently the error detection is not working. If something goes wrong, a rom just gets flashed as primary :mad:

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] lassieee:
Re: [KERNEL]DualBoot - Devil4.2 (24-Jan-2013)

Ah OK, that's what I experienced yesterday. Thank you for all the time and effort you put in this!!
[Galaxy S I9000 Android Development] DerTeufel1980:
new kernel online :)

there also is a "revert" kernel now, which is available here:

http://rootaxbox.no-ip.org/derteufel/jellybean4.2.x/

if one isn't using the dualboot kernel, the "revert" kernel doesn't revert anything, but is a normal single boot kernel, with the same features as the dualboot one.

still, if one is flashing the dualboot kernel the first time, you need to flash it three times all in all ( please read the output while flashing).

if one is flashing reset kernel after dualboot, also you need to flash it three times.

this new version of dualboot kernel is creating an addional "devil" partition of 20 mb. it currently isn't used, but i am preparing already for later (boot.img is limited to 7.5 mb in size because of the boot partition size), because the dualboot kernel needs to include more files as the stock one, and for 4.1.2 support, i even need to include more...
[Galaxy S I9000 Android Development] lassieee:
Super awesome!! It works great! Thank you for your hard work!

Sent from my dual boot i9000!
[Galaxy S I9000 Android Development] nommy:
AW: [KERNEL]DualBoot - Devil4.2 (04-Feb-2013)

Does the revert-kernel wipe data or can I use my primary rom without reinstalling apps after flashing?
[Galaxy S I9000 Android Development] The_Wolf91:
R: [KERNEL]DualBoot - Devil4.2 (04-Feb-2013)

You can use it without any problem, it doesn't wipe data. It's like our old Devil Kernel.

I'm only having some problem setting it with devil kernel manager app, i.e. I can't set the devil idle as automatic (because it says there isn't "such file or directory") or set the blx (there is a red error message).

Inviato dal mio GT-I9000 con Tapatalk 2
[Galaxy S I9000 Android Development] nommy:
I have just installed the recovery-kernel and it did wipe my rom (I came from dualboot-kernel). Had a nandroid, of course.

My internal-sd mounting issues are finally fixed with this kernel. Thanks a lot!! :good:
[Galaxy S I9000 Android Development] blusydays:
Any chance to get a Voodoo Color version with this single boot kernel ?
[Galaxy S I9000 Android Development] lassieee:
This is so awesome! You are a legend DerTeufel1980!

Sent from my dual boot i9000!
[Galaxy S I9000 Android Development] The_Wolf91:
Hi DerTeufel, I was using you Revert kernel's version and today I flashed the new CM10.1 Nightly. All working well, until I decided to reboot my phone.... Galaxy s I9000's logo and Devil Kernel's logo appear and then my phone reboot again (:confused:): Galaxy S logo, Devil Kernel logo and CM10.1's bootanimation, where I'm actually stuck. My phone doesn't boot anymore, it stucks on Bootanimation. I also tried to flash Semaphore [always wiping cache and dalvik cache, also when I flashed new Nightly] in order to get it boot properly, but it also stuck on bootanimation... What's going on?

Here are my Logcat and last_kmsg. I hope you can help me or I'll have to restore my nandroid backup.
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (04-Feb-2013)

The revert kernel itself is a normal kernel. The revert is done during flashing by the script.

I guess it is a corrupted data. I'll check the log, when I'm at home. Of course, just wiping data should fix it aswell

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] pamarakos:
Nice to have a live oc + cpu oc kernel:)

Now since I ve installed revert kernel as a single kernel use I can only get into cwm if I normally choose from shutdown menu the recovery option

3 button combo does not work, it just flashes devil logo twice then restarts the phone with samsung logo, devil logo again, my bootanimation after that and normal boot!!!

Can I try something??

Thanks
[Galaxy S I9000 Android Development] Bejda:
You activated XL (or bigmem?) RAM setting i presume?

I noticed that too while running dual boot kernel but it was reported as well on Helly Bean thread with normal Devil version.

I guess it wasn't the case before and appeared recently,it's not safe cause if for any reason your rom can't boot the only way left to access recovery is "adb reboot recovery" while bootanim.
[Galaxy S I9000 Android Development] pamarakos:
I had exactly this issue (because I set oc settings apply on boot) so I flashed via odin another kernel to have phone functioning all day so later tonight I ll make my experiments with devil again:)

Of course now without xl mem enabled:)

Thanks for pointing...
[Galaxy S I9000 Android Development] KSLevel11:
Odp: [KERNEL]DualBoot - Devil4.2 (04-Feb-2013)

@DerTeufel

Maybe you create new, alone thread for "normal" version of Devil Kernel?

Wysyłane z mojego GT-I9000 za pomocą Tapatalk 2
[Galaxy S I9000 Android Development] senotrius:
yes badly needed here.request to add screen off/on CPU frequencies in the next normal kernel release as well.
[Galaxy S I9000 Android Development] pamarakos:
I have a "weird" not booting situation....

I'm on CM10.1 and installed devil kernel...it's booting fine first time and I can set through Nstools or Devil manager app everything fine let's say even oc max 1.4ghz+live oc max 1200 mhz and work the phone fine!!

But as soon as I restart the phone, it gets stuck to the boot animation nearly at the end of it!! Really stuck, not just boot animation keeps playing, it freezes!!

I'm not setting nstools or Devil manager to be applied at boot!!

Any ideas?

Thanks!

P.S. Yes please open a new thread for the normal DKernel:)
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (04-Feb-2013)

Please post a logcat, to see what's going on.

Another thread coming soon

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] pamarakos:
Let me check how to do it...:)

Thanks
[Galaxy S I9000 Android Development] pamarakos:
Is there any way this kernel conflicts with mpengine from lenarox??
[Galaxy S I9000 Android Development] saszseb:
Where is the modem.bin in " dual-Slim"?

---------- Post added at 11:52 PM ---------- Previous post was at 11:48 PM ----------

- How did you flash the primary ROM?

- have you edited something in it?