yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] saszseb:
@DerTeufel,

you haven't deleted the 2. "mount("ext4", "EMMC", "/dev/lvpool/system", "/system")" in Hellybean_dualboot!
[Galaxy S I9000 Android Development] DerTeufel1980:
Thank you. Removed it for now

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] saszseb:
deleted.

---------- Post added at 10:54 AM ---------- Previous post was at 10:49 AM ----------

No,no! Sorry. My mistake. On the pic. you can see "mount("ext4", "EMMC", "/dev/lvpool/userdata", "/data" and not "system"!
[Galaxy S I9000 Android Development] DerTeufel1980:
Placed the file back. Didn't change the data mountpoint, because nothing gets extracted to data. For the future I should take care of it

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] saszseb:
There are some ROMs like Elite's, Creed, etc. These ROMs boot automatically up after the flashing process. I've just flashed Elite's beta6 as primary ROM. After the reboot, I went to recovery again and flashed the Devil_dual kernel, then reboot. As a second ROM I'm going to flash Slim_dual. I suppose I must flash Slim_gapps, too.
[Galaxy S I9000 Android Development] Senthurpandian.r:
Dual booting Stock and CM

Wow, I got an idea :cyclops:

If filesystem is the problem, will Fishers original partition layout form of CM roms be able to dual boot with Stock ROMs? :confused: :confused:

Sorry if its a noob question :cool:

Another question:

From my understanding only the primary kernel should be a 'Dual boot Devil Kernel' right? Secondary can be anything?

TIA
[Galaxy S I9000 Android Development] DerTeufel1980:
It is completely different. Cm uses mtd partitions, Samsung uses bml. The size doesn't matter at this point.

You can't have two kernels, too. Only my dual boot kernel recognises, that there is a secondary rom. If you flash another kernel, you'll only be able to boot the primary rom.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] kfheaven:
FYI.....FAIL on secondary boot for older version JB 4.1.2...... boot on JB 4.2.1
[Galaxy S I9000 Android Development] saszseb:
If you maintain 2 ROM-threads on XDA/android-hilfe/htcmania.
[Galaxy S I9000 Android Development] KUN1:
First of all AWESOME =D

But i always get an error when i try to install the second Rom.

Installing update....

assert failed: run_program("/tmp/mount_system.sh") == 0

E:Error in.......

Status (7)

Installation aborted

What do I wrong?

the mount_system script is in the Folder where Meta Inf etc is.
[Galaxy S I9000 Android Development] kfheaven:
wipes your data and system before you install the dual boot devil kernel
[Galaxy S I9000 Android Development] DerTeufel1980:
Did you choose mount secondary rom in the dual boot menu, before installing?

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] KUN1:
Yes of course :)
[Galaxy S I9000 Android Development] hertzschi:
Just installed the kernel and 2 different roms.

And I'm excited :victory:

This is genious, I can have my daily driver rom on the primary boot and can try out new Rom/Rom versions on the secondary

and have always a working system. Great. :good:

A little side note: I just found out, that the patched for secondary rom also installs on primary without problems.

So I don't have to store a patched and a untouched version of the Rom.

Big Thanks @DerTeufel :highfive: Great Work!
[Galaxy S I9000 Android Development] DerTeufel1980:
Please try my modded slim or Hellybean. If they work, compare the zip

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] KUN1:
I will try this, thank you :)

Is it maybe because i didnt do any paragraphs (absätze) between

and

?

Do i have to modify both update scripts and add format_system etc to both roms?

Edit: The one from you worked =D
[Galaxy S I9000 Android Development] saszseb:
A small issue:

- flashed Elite's ROM as primary ROM

- rebooted

- set google account and TB restore

- rebooted

All is OK.

- recovery

- dualboot menu

- mounting of secondary filesystem

- installed Slim_dual, slim_gapps, extra

- flashed Devil_dual

- reboot secondary system now

and now

- got back to recovery

- reboot primary system now

And SLIM_dual booted up.

Questions:

Where is/was my Elite ROM as primary filesystem?

What did I do wrong?
[Galaxy S I9000 Android Development] ugoms:
Got the same issue
[Galaxy S I9000 Android Development] DerRomtester:
Can we use the kernel without a secondary rom ?
[Galaxy S I9000 Android Development] saszseb:
Yes,yes...! It's working!

- flashed Elite's ROM as primary ROM

- rebooted

- set google account and TB restore

- rebooted

All is OK.

- recovery

- dualboot menu

- mounting of secondary filesystem

- installed Helly_dual without gapps !!

- flashed Devil_dual kernel

- reboot secondary system now

- after booting up

- recovery again

- mounting of secondary filesystem

- install gapps

- reboot secondary system now

That's all.

I think the prob was by flashing Slim: I flashed not only Slim_dual but addons (extra, gapps, voice dialer) too.
[Galaxy S I9000 Android Development] DerTeufel1980:
I'll check this

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] Driv:
If i would choose the wrong Rom like 10,1 with 9 (just an example) can it brick my phone :s ?
[Galaxy S I9000 Android Development] ts1506:
Most probably the secondary ROM wont boot at all, and the primary would work as usual.

But if you install the CM9 accidentally as primary , it should wipe the entire partitions and install itself as the only ROM.
[Galaxy S I9000 Android Development] tivac:
i tried mackay and elite for second rom but both of them stays on boot. i have tried clean install also but same happen.
[Galaxy S I9000 Android Development] Famzz:
Can i backup to external sdcard? Does devil dualboot support restore from external sdcard?
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

I'll try them, too. Can't imagine what could cause it.

Yes

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] Driv:
I have problems with installing the secondary rom

set_perm : some changes failed

E: Error in /sdcard/C-RoM mix v4.zip

Status 7

CM 10.1 Primary - C-Rom Second.

Can someone please have a look at my script :s
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

What did you do?

---------- Post added at 08:50 PM ---------- Previous post was at 08:43 PM ----------

Have you put the 2 files into the "/" partition of the ROM.zip?
[Galaxy S I9000 Android Development] Driv:
Yes
[Galaxy S I9000 Android Development] tivac:
yesterday i have installed pri cm10.1 and sec hb was succesfull.

today i have tried mackay and elite but same problem, i have followed instructions truly.

i added files (format_system.sh and mount_system.sh) in root

modified updater-script

mackay and elite updater script :
[Galaxy S I9000 Android Development] franzyroy:
Your udapter-script is with txt extension.. or this is just to send us?
[Galaxy S I9000 Android Development] Driv:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

Yes but the other 2 files are Wirth txt extension
[Galaxy S I9000 Android Development] dark_knight35:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

When you put a file without extension out of a ZIP, change and save it, notepad ++ adds a .txt extension to it. I think that happened to his updater-script.
[Galaxy S I9000 Android Development] franzyroy:
Which files?

- format_system.sh

- mount_system.sh

The files mustn't to have this extension!

No, not if you do of sort there's not extension.

@ DerTeufel:

What's new on Helly Bean 20130115 other that compiled the 01/15?
[Galaxy S I9000 Android Development] DerRomtester:
Does it wipe anything when i install only the kernel?
[Galaxy S I9000 Android Development] franzyroy:
Did you read the first post?
[Galaxy S I9000 Android Development] DerRomtester:
DerTeufel is it possible to OC only the GPU ?

Some people really need more performance for newer games. Can you include it? And can we customize it than with dkm?
[Galaxy S I9000 Android Development] KSLevel11:
Can we expect "normal" version of Devil Kernel as it was for 4.1.x ROMs?
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

I have added tablet ui

no, it's not possible.

Yes. I just want to fix the last bugs here.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] tivac:
i have tried to instal as a primary cm10.1 and as a secondary my first modified working hb. now i have a same problem secondary hb staying bootloop but same roms was working and i didn't change anything
[Galaxy S I9000 Android Development] Driv:
i still have problems .......

Primary = CM 10.1 SEC. = Hellybean Dualboot

I installed Cm 10.1 and than the kernel

after that i mounted the sec. filesystem and installed hellybean but when i try to install the kernel again

=

E: error in /external_sd/devil4.2 - dualboot......zip

Status 7
[Galaxy S I9000 Android Development] franzyroy:
I asked this because when I have tried to install it with my Aroma Rom, the installation stop at the system extraction, I don't understand, my modification seems correct and I have only put the system folder in my Aroma Rom like I have made usually.
[Galaxy S I9000 Android Development] Driv:
Now i flahed all again with no erros but i cant boot prim. or sec. it allways brings me in Recovery back

E .unknown volume for path [/system] ....and data
[Galaxy S I9000 Android Development] tivac:
dual boot is not working for me anymore, always bootloop. i don't have any idea about what happened
[Galaxy S I9000 Android Development] DerRomtester:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

And this is not working anymore?
[Galaxy S I9000 Android Development] NDeaz:
anyone ever happened install

the rom 4.1 and 4.2? I just happened to

install both 4.2 ...
[Galaxy S I9000 Android Development] saszseb:
After installing CM10.1 as primary you should boot up your phone. Then go recovery again and flash Helly_dual as secondary without gapps. Reboot as sec. filesystem!
[Galaxy S I9000 Android Development] dark_knight35:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

GPU OC never worked.
[Galaxy S I9000 Android Development] Gingo21:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

DualBoot can work on Nexus S ?
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

Sorry, I didn't have much time yesterday. I think I can upload a new version today, with a better error handling in recovery.

Regarding elite rom, it is mounting data as well. I think I need to modify my mount script.

Regarding nexus s. I am very sure it would work. Till now I don't have a device for testing.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] saszseb:
Prim: Elite and sec.:Helly_dual are working fine.
[Galaxy S I9000 Android Development] saszseb:
Primary: Slim_Bean and secondary: CM10.1_nightly20130117 are working.

Yesterday I was on dualsystem: Elite and Helly_dual. I don't have any prob regarding working.

This morning I've tested the following:

- recovery

- factory reset

- flashed Mackay kernel

- reboot recovery

- factory reset and format system

- flashed Elite's beta6

So I got a "clean" system again.

and then:

I wanted to get Slim_Bean as primary ROM and CM10.1_nightly as secondary one.

- downloaded nightly

- opened the nightly.zip

- opened the Helly_dual.zip

- copy/paste "mount_system.sh" and "format_system.sh" from Helly_dual.zip into "/" root partition of nightly.zip

- copy/paste "updater-script" from Helly_dual.zip to modded nightly.zip (/META-INF/com/google/android/)

- saved the modded nightly

And now flashing:

- recovery

- flashed Devil_dual kernel

- reboot recovery

- dual boot menu

- mount primary filesystem

- installed slim_bean, slim_gapps, extra, etc.

- flashed Devil_dual kernel

- reboot primary system now

- after booting up

(I haven't done any wipe, so I got my all of data).

- recovery

- dual boot menu

- mount secondary filesystem

- installed modded nightly

- installed Devil_dual kernel

- reboot secondary filesystem

- after booting up

Now gapps should be flashing (optional):

- recovery

- dualboot menu

- mount secondary filesystem

- installed gapps

- reboot secondary filesystem

- after booting up

- setup your google account

That's all. :)
[Galaxy S I9000 Android Development] theKingJan:
For me i have installed the C-Rom as primary Rom and i would like to installed the newest CM10.1 Nightly as Secondly

But if i wanted to flash CM10.1 it says :

assert failed: run program("/tmp/mount_system.sh")==0 so the installation abored.

Whats wrong with it??
[Galaxy S I9000 Android Development] kfheaven:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

Did u mount secondary filesystem....
[Galaxy S I9000 Android Development] theKingJan:
yes i did...
[Galaxy S I9000 Android Development] hertzschi:
OK, I just wanted to ask why I have problems with booting the second system.

BTW, how can i get back to the original partition sizes?

Could you please create a update.zip for this.

Makes it also easier to the the new version of the kernel.

Thanks
[Galaxy S I9000 Android Development] saszseb:
No prob with the kernel!
[Galaxy S I9000 Android Development] theKingJan:
does the Recovery gives you any message when you mount the secondary filesystem in CWM??? My Recovery only go back to the main menu.
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

No, nothing.
[Galaxy S I9000 Android Development] theKingJan:
So i downt know why i cant install the CM10.1 as a secondary...
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

Have you read my post regarding CM10.1 as secondary ROM? (3-5 posts before)?
[Galaxy S I9000 Android Development] Gingo21:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

For Nexus S I can test. It will be awesome.
[Galaxy S I9000 Android Development] Driv:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

After rebooting Cm10.1 i'm in cm kernel !
[Galaxy S I9000 Android Development] purpleraintoxicity:
man...

i have no more money to donate!

trying it right now
[Galaxy S I9000 Android Development] slaid480:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

Great work dude!!
[Galaxy S I9000 Android Development] saszseb:
You should have flashed Devil_dual again!
[Galaxy S I9000 Android Development] purpleraintoxicity:
restoring data to primary rom isnt workig....

anybody knows why?
[Galaxy S I9000 Android Development] saszseb:
Are you talking about nandroid restore?
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

What's the error? Then I can try to fix it this evening.

Gesendet von meinem GT-I9000 mit Tapatalk 2
[Galaxy S I9000 Android Development] franzyroy:
I know there is a lot of reading but look that!
[Galaxy S I9000 Android Development] theKingJan:
I ll give it a try..

;)
[Galaxy S I9000 Android Development] saszseb:
1. He knows that, therefore he talked about restore.

2. Having flashed Devil_dual didn't delete my data.
[Galaxy S I9000 Android Development] purpleraintoxicity:
no error. is says it restored with success

but when i boot to primary rom it has some features ive enabled. but land is english, no gapps, no apps.

just clean rom with a bit of my old settings..

anf media process FC

wil try to restore old nandroid and see

my procedure was:

going too recovery

dualboot menue

restore (and data only too once)

reinstall dual boot kernel

reboot primary rom

EDIT: my bacups made with Devil kernel from latest HB. maybe the backup procedure is wrong?

EDIT2: old backup givesthe same. will try without mounting the primary system and see
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

Did you follow these steps?

"How to create/restore a nandroid:

1.) go to dual boot menu

2.) select "enable mounting of pri. fs" or select "enable mounting of sec. fs"

3.) reboot to recovery

4.) backup or restore your nandroid, depending on your previous choise, you'll backup/restore the primary or secondary system

5.) consider to rename your backup, to something like primary_date or secondary_date".
[Galaxy S I9000 Android Development] franzyroy:
It's not what I meant! If purpleraintoxicity have made his backup of apps before (with a rom without dual boot), and he try now to restore it on a rom with dual boot, may be, it doesn't work because:
[Galaxy S I9000 Android Development] purpleraintoxicity:
trying again

EDIT: work now

silly me. ive chose the wrong option

thanx!
[Galaxy S I9000 Android Development] Alberto96:
Der_Teufel should make a menu in recovery for dual boot as is on Galaxy S2 Siyah Kernel, without modding updater-script and kernel reflash. But for a first version, this is great :)
[Galaxy S I9000 Android Development] Bejda:
Hello all,

I had issues too but my report may won't be 100% exact now,was yesterday and I didn't had time at that moment to post ..i don't remember exactly every parts of what I've done..

For the sure part:

I was on first kernel version,Helly as primary/pre-edited Slim as second and everything was fine.

I upgraded kernel version,still fine (no changes except kernel upgrade then).

I wanted to install a new secondary rom but with testing a wipe data/factory reset on secondary file system.

Mount secd fs and did factory reset but noticed an E unknown volume for data error in recovery,remount secd fs and flashed edited Mackay rom.

Flash went fine,reboot secd fs fine too but all data and datadata was there it was the primary rom that had its datadata and rest wiped except data (with known issues in that case such as no lockscreen anymore, home button not working anymore except for waking up phone,extended power menu becoming reduced power menu with only power off and reboot options).

Mounting prim fs + factory reset was giving same E unknown data volume so I couldn't solves that.

For the not so sure part I think I've tried factory reset without mounting prim or secd fs and factory reset went fine for primary rom (+no unknown data volume error shown in cwm) this way i could solved my "only datadata wiped" issue on primary Helly rom but I can't say how things are on secondary Mackay rom cause it stayed stuck at bootanim when I wanted to reboot secd fs,could be normal but now i'm always stuck on bootanim every time I try to reflash it again (+kernel and all,the whole process to be sure).

I always end with a 0 octets data.img on sdcard/.secondrom

At some point I deleted manually sdcard/.secondrom folder to see if it was recreated and works better but I guess not,I had to recreate the folder again and can't even say if I noticed that 0 octets data.img before or after I delete/recreate that sdcard/.secondrom folder...

Not sure any infos can be noticed in my mess except for the first "sure part" with factory reset on secd fs maybe but i think i'll start again from scratch later tonight (french) with repartitioning and continue experiments.

I guess if I had flash Mackay second ROM on top of Slim without trying a factory reset I would still be enjoying dual boot at the moment and maybe I did something wrong first in the way I tried factory reset on secd fs (flash another secd rom first and then secd fs factory reset before reboot maybe)..Someone tried this?

Edit:Lol,"someone tried this?" I mean factory reset for prim or secd fs before flashing a new prim or secd rom.
[Galaxy S I9000 Android Development] saszseb:
Re: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

@Bejda

My opinion:

My primary ROM: Slim_Bean.

SB uses 658 MB and has 440 MB free space on /data partition.

My sec. ROM is CM10.1.

It uses 436 MB and has 218 MB free space on /data.

So, CM10.1 uses /data of Slim-Bean data partition.

Doing a factory reset on one of the both ROM means that you have deleted the whole /data partition of BOTH ROM.
[Galaxy S I9000 Android Development] They Drew First Blood:
Devil4.2_DualBoot on Captivate SGH-i897

I have this kernel installed and working successfully on my Cappy. Booting into both primary and secondary roms without issue. I am trying my hardest to get Hellybean 4.1.2 alongside one of the 4.2.1 roms, but no luck so far :( Might be a lost cause but it is fun to try at least :)

I was able to install my Helly_4.1.2 version, then upgrade it to 4.2.1 and keep most of my settings and whatnot (but after further testing I realize it is pretty messed up, so not recommended- I'm going to keep trying though, maybe port over fishears rom for different partition layout...might be even messier? We'll see...).

I also had no issues loading an old Nandroid backup to get back to the regular partitioning/single-boot configuration.

I have not tried a Nandroid restore while in this DualBoot configuration- will report back when I do.

Many thanks once again DerTeufel! Other users in this thread have made very helpful posts as well! :highfive:
[Galaxy S I9000 Android Development] Famzz:
HELP!!!

Help. I restored my nandroid but it didn't restore my system or data. I can boot into my secondary ROM. I went into the backup and the system and data.tars are 0bytes but there are files called system.ext4.tar.a and data.ext4.tar.a which have memory in them.

BTW: I backuped on my external SD and did it with semaphore.
[Galaxy S I9000 Android Development] theKingJan:
Nice, its now working for me ;) C-Rom and CM10.1
[Galaxy S I9000 Android Development] Trainer_H:
where is the different to semaphore kernel? is that the same one like in helly beans 4.2.1 ROM?
[Galaxy S I9000 Android Development] fefuzzo:
i'm using cyanAOSP v0.5.2 as primary rom and AndroSlim v2.1 as secodary rom......all works fine!! it's fantastic! in primary rom i have 200+ apps installed and the secondary rom works fabulously!! :fingers-crossed: :p
[Galaxy S I9000 Android Development] theKingJan:
I was wrong, it doesnt work...

It installs CM10.1 as secondary but it boots and boots....
[Galaxy S I9000 Android Development] DerTeufel1980:
AW: [KERNEL]DualBoot - Devil4.2 (16-Jan-2013)

I am working on install to primary or secondary. This should fix most problems. But now I have to sleep

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

You have to sleep in IDLE not the same thing. ;)
[Galaxy S I9000 Android Development] Famzz:
Anyone?
[Galaxy S I9000 Android Development] They Drew First Blood:
Re: Help

I will preface this by saying I am no expert- I still am unsure how Nandroid would work with a secondary rom. OK, I checked in my two backups and I have files called data.ext4.dup and system.ext4.dup in both of them, and both were made with Devil kernel. I wouldn't think Semaphore would create backups in a different format, but unfortunately I have erased the backups of roms I was running Semaphore with. The last backups I tried to make with Semaphore did however give me an error when attempting to generate the md5 at the final step, and that was why I deleted them. I am wondering if your backup is corrupt? If it was me though, I would try an advanced restore and attempt system and data separately. I would also try making copies of the four files you mentioned (I always make copies before screwing around with files), then rename the ".tar.a" files to just ".tar" and replacing the 0byte files and try restoring those renamed files. Hope that makes sense and good luck. If all else fails, I would try to Nandroid back to an older backup and do not reflash the dualboot kernel- maybe wipe /data and /system- but I would not want to recommend anything that would lose your files. Luckily I have a backup on my PC so I am not afraid to just wipe and start fresh. If you can get back to an older rom/kernel combo, flash a regular Devil kernel and make a new Nandroid to see if the format is the same. Gosh, tl;dr, sorry for the length but again good luck :)

Edit: Also make sure to mount the file system too, before restoring- see steps at the end of 2nd post which saszseb has re-posted here http://xdaforums.com/showpost.php?p=36870646&postcount=144