yashsingh1/xdaforums huggingface dataset:
[Galaxy Note II Q&A, Help & Troubleshooting] mrbobo1:
Rich, I am curious if you have been able to encrypt the second partition. My work requires that I use airwatch mdm agent and be unrooted/encrypted. I want to keep partition one for flashing 4.3 roms like pacman, and then have the second partition for work email etc. So far I have not been able to get encryption to work on that partition and it also seems to always be flagged as "rooted/compromised" in airwatch.

Currently, I have the stock rom on partition one with supersu removed and the su binary and was able to get it connected to work, but now I am sad because I can't flash a 4.3 rom on the second partition.

You mentioned using good mail or something for your work, does that require encryption or does it only look for supersu and the binary?

Thanks for this thread, I have been duel booting for a while now and loving it.
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Good checks for root but provides an encrypted container - AES256 so the file system does not need encryption. I've never tried to encrypt either partition.

I have removed root from the secondary partition with no problem using the fully remove root option within the superuser app. That doesn't work for you with airwatch? There is no point in encrypting if airwatch keeps detecting root - correct? Maybe it searches the whole device for the superuser apk? Have you tried a full wipe of the primary to remove that apk and check if airwatch still detects root?
[Galaxy Note II Q&A, Help & Troubleshooting] mrbobo1:
My workaround was to load up an older version of airwatch, it must be looking for other things to determine if it's rooted in the newer version. It does require encryption, I don't believe the recovery is set up properly for encryption to work on the second partition, it just hangs and never starts encrypting.

if you encrypt the first partition, the duel boot doesn't work anymore, you can't get into the second partition. I believe this is because the recovery would need to decrypt data to allow us to boot or update the second partition since it's on the data partition. TWRP recovery allows you to decrypt to work on an encrypted data but I don't think that option is part of cwm or this recovery.

Long story short I am back to not duel booting because of this, I think my situation is just crappy and my employer's policy is crappy.
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
I understood that it needs encryption. I was thinking there was no point in even looking into options if you couldn't get by the root detection issue which you apparently have. There might be creative ways to solve the encryption issue such as trying to move the second partition to the external sd (not supported currently) and encrypt it. Possibly using folder mounts, etc.
[Galaxy Note II Q&A, Help & Troubleshooting] moose1313:
im trying to get used to this recovery. I keep running into an issue, i cant flash any zip. Currently i have wiped everything besides sdcards. im trying to just instll primary. Ive downloaded this rom 3xs. I keep getting same error. error in sdcard/download/the_rom.zip (status 7) install aborted. If i can get past this im sweet any ideas?

EDIT TWRP recovery works fine with same download
[Galaxy Note II Q&A, Help & Troubleshooting] My1xT:
the Teufel Recovery is not so nice with Aroma and the like so I recommend that you flash it with a normal recover (CWM TWRP and such) and THEN flash devil again.

IF you want a second rom with complicated install scripts then flash it first then Teufel Recovery. make a Teufel Recovery Backup and restore it to second rom. flash CWM, flash primary, flash Teufel Recovery again. finish
[Galaxy Note II Q&A, Help & Troubleshooting] moose1313:
This doesn't have aroma. I'm trying to put 4.3 rom as primary but it gives me that error every time. No matter if I don't set partition up or not. Doesn't matter if it's on ext or internal. Or fs pri rom or zip
[Galaxy Note II Q&A, Help & Troubleshooting] My1xT:
but maybe the way round can still help...
[Galaxy Note II Q&A, Help & Troubleshooting] moose1313:
Trying it tonight thanks
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Status 7 is the ROM install script checking your build.prop to ensure you have the correct model phone for the ROM. Possibly there is a typo or your build.prop is specifying the wrong model. Twrp is probably just ignoring the check.

You can edit the install script to remove the check but you need to ensure you flash a ROM meant for your phone or you can brick it.
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Delete
[Galaxy Note II Q&A, Help & Troubleshooting] moose1313:
I believe I got it just a little hassle moving to twrp to get to ROM then back to db recovery to do backup. But I was s able go through all steps successfully with just using nandroids and restore them on PRI and SEC . so now what? Lol does it automatically save things you do in one ROM then when you eventually boot back to that ROM things are like you just did a reboot? Scenario ; I send message to friend on PRI. I then boot to sec just to mess around. Then boot back to PRI. Is the message I sent still there or does it go back to what it was for the nandroid? Also say that friend messaged me back while I was on sec. Will his message be there when I return to PRI? Thanks in advanced sorry for questions first time I actually saw this option and attempted it.
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Each ROM will work just like they normally would. Everything will save as normal.
[Galaxy Note II Q&A, Help & Troubleshooting] moose1313:
Bada** Thanks for tutorial working flawlessly. Any word if 4.3 can be moved to sec though. Im using twiz as sec just because I want a 4.3 rom and twiz is so big as it is. I thought 1.5gb was as big as the partition would go? My secondrom folder is it at 2.5gb currently and everything still operating properly
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Sorry but I have no idea when 4.3 on secondary will be supported. Samsung is supposed to release 4.3 for the Note2 in November so with kernel source maybe it will happen soon after???? Just total speculation on my part
[Galaxy Note II Q&A, Help & Troubleshooting] moose1313:
Any idea about the partition? Why is my secondrom folder allowed to be 2.5gb big when the partition Is only 1.5?
[Galaxy Note II Q&A, Help & Troubleshooting] cyrax2013:
Can i use Android 4.3 Rom(the leaked MI6 ROM for N7100) as my primary ROM ??

Can i use Android 4.3 TW Rom(the leaked MI6 ROM for N7100) as my primary ROM ?? and the regular 4.1.2 TW ROM (MG1 ROM) as my secondary ROM or vice versa ??
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
DerTeufel has said his kernel does not support the leaked 4.3 (at least not yet)
[Galaxy Note II Q&A, Help & Troubleshooting] mor_1228:
till 29 step all was fine and i followed everything after reboot in step 29 it got stuck at devil kernel samsung galaxy logo no futher. any possible fix ?

i used android revolution rom HD 19.0
[Galaxy Note II Q&A, Help & Troubleshooting] mor_1228:
i am facing this issue and it doesnt allow me ROM to secondary always show error "Something went wrong". how to solve this error ?
[Galaxy Note II Q&A, Help & Troubleshooting] mor_1228:
Huge Problem​

after step 19 when i want to go into recovery again to make backup but device goes into bootloop recovery gets corrupted then i have to flash philz recovery file from odin to make it boot into philz recovery ( NOTE if i again flash dual recovery after this step of odin then same thing happens same bootloop)

and it behaves like this in the video below.

i have tried 5 times and same thing happens please help where is the problem can be ?

i cant even boot my device normally even if i dont go into recovery but i can boot device normally if i use philz recovery my both roms are compatible with ur kernel and i am flashing 4.1.2.

idiot youtube uploading is slow so i am posting pictures these images are shown this happens exactly.

i dont have log cat because it doesnt go into recovery

Video http://www.youtube.com/watch?v=DRC3Wbe57UQ

​

These are the images of after restoring 1st rom to 2nd partiton and new rom to 1st partition after flashing again dual boot recovery :
[Galaxy Note II Q&A, Help & Troubleshooting] DirkStorck:
Hi I need some help please...I just have installed your kernel and booted into my 2nd CM10.2 based ROM. After the device was booted my Win 7 tried to install the drivers vor "SAMSUNG_Android" (I guess for adb) but it failed and it seems I cant install the drivers if I use "d:\Programmieren\android-sdk\extras\google\usb_driver"

And help please :)

EDIT: Restored backup to 2nd ROM now adb is working again :)

EDIT2: Now I have another problem. I don't have WiFi ! :( It shows that it is connected but if I open Play Store I get an timeout. :(

EDIT3: Damn I am getting crazy...connected to my 2nd Wifi and now have access!
[Galaxy Note II Q&A, Help & Troubleshooting] MunkinDrunky:
I was hoping to understand the procedure a little better. This isn't me diving head first and needing help of recovery, but more of a necessary reflection of after the fact. I've got got the dual booting working without problems (trans-nebula tab 2.0 on secondary and pacman on primary for the sch-i605), which worried me because i never saw a mount primary/secondary option in recovery.

1) I never saw the 'enable mount primary' or 'enable mount secondary' (not sure exact wording the menu item would have- i never saw it).

In the latest DT recovery is this no longer needed/ has been omitted? Perhaps I am simply misunderstanding and these are the two main

menu items: reboot into primary/secondary? (i doubt this possibility) Or is the 'enable mount primary/secondary' synonymous for going into

>mounts and storage>mounting system, etc...? (thought this was only for flashing gapps or other similar zips).

2) If one is using xposed in a rom that was to go on secondary, should that rom be installed first to primary, set up with all wanted modules, backed up, and then restored to secondary? Or will it be fine to just skip setting up the desired modules and do that while in the secondary rom normally as if one were just using a single rom without the dual boot kernel?

Anyways I never got into trouble, but that might have been blind luck and simple familiarity with flashing. Otherwise I am seeking to understand this better. Final note: question 2 I could more or less work out myself if I understood the answer to the first question. I will send thanks to anyone who is willing to be patient and help out with an answer.
[Galaxy Note II Q&A, Help & Troubleshooting] soapbox23:
Hi All,

I was successfully able to dual boot months ago following the steps of the OP. I haven't touched dual booting in a while, but since KitKat builds came out, I've wanted to do so. I downloaded the latest kernel 1.8.3 and the latest recovery, but haven't been able to get past the boot animation of any ROM as a secondary. I've tried clean installs and restores from previous backups, all of which hang at the boot animation. Can anyone assist? not sure I can provide a logcat but here's what I can offer:

Phone: T-Mobile Note 2

Primary ROM: ParanoidAndroid 3.99

Secondary ROM: Tried CM11/OmniROM and even my PA Primary
[Galaxy Note II Q&A, Help & Troubleshooting] MunkinDrunky:
I believe there was an update today for the kernel to 1.8.5.
[Galaxy Note II Q&A, Help & Troubleshooting] Indiwiz:
Asking here because I got no answer in the main thread, but has anyone been able to get beanstalk (4.4) working on the secondary partition? It gets stuck in a bootloop and DerTeufel couldn't find any errors in the logcat .
[Galaxy Note II Q&A, Help & Troubleshooting] qtwrk:
i search by word "remove" but didn't see anything

how can i remove secondary ROM to free my space ? seems simply creating secondary ROM is already took over 1GB spaces ...
[Galaxy Note II Q&A, Help & Troubleshooting] jeremiahEJ54:
This is in the OP, should be what you are after!

Q.) Can I revert back to a configuration without dual-boot and how do you do it?

A.) Yes. Use a file manager with root access on the primary ROM to delete the /data/media/.secondrom folder which contains the 1.5GB file and the data folder. Flash another recovery (CWM or TWRP) and flash as you normally would.
[Galaxy Note II Q&A, Help & Troubleshooting] qtwrk:
oh my , sorry for that , ok , thanks
[Galaxy Note II Q&A, Help & Troubleshooting] Opt1kal:
I never see these options either. Following the step-by-step - found here: http://xdaforums.com/showpost.php?p=41992232&postcount=13 - did you just skip those steps and move on? If not what did you do in-place of them?
[Galaxy Note II Q&A, Help & Troubleshooting] MunkinDrunky:
In that link to that post, the steps I just skipped were 9 and 23. Im guessing maybe step 9 for example isnt a step but really steps 10 and 11 are actually done.
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
This FAQ is terribly outdated since I became extremely busy the last few months. The recovery has been updated and the same steps are not always applicable. Over the next week or so I hope to do a full revamp to make it relevant again.
[Galaxy Note II Q&A, Help & Troubleshooting] greenguggu:
not able to run omni 4.4.2 with the kernel man!!!help plz!!
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Do you have a boot logo bootloop? What exactly is the problem - freezing, etc.?
[Galaxy Note II Q&A, Help & Troubleshooting] greenguggu:
The devil kernel logo appears and then blank screen...nothing else!
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Have you tried an earlier version of the kernel (such as below) to see if it boots? Then if it does, flash the latest right over it without wiping anything.

30.11.2013 part2:

+ fixed boot for omni rom again

I've never run omni rom so I'm not sure. This FAQ was mainly to help with getting dual-boot working. - I can try to help with compatibility with certain ROMs but I haven't kept up to date recently.
[Galaxy Note II Q&A, Help & Troubleshooting] MunkinDrunky:
Thanks again.

I was doing a fresh install of the transnebula tab 2.0 rom (by Deckoz2302 & Lacoursiere18) it has the older devil recovery (sorry forgot to check which version- i got off asap b/c my 64 gb sd isnt supported for that version, no exfat) baked into aroma and indeed the option for mount pri and mount sec under option 2: dual boot menu is there. For the latest recovery (I am using the verizon one, Devil-t0ltecdma something: http://xdaforums.com/showthread.php?t=2299261 ) there is no option to mount pri or sec under dual boot menu. Instead you no longer mount pri or sec just go down to Mounts and Storage, select primary or secondary file system, then under that menu select to mount sys, efs, data, cache, and sdcard1 (this is extsdcard).

When would I not need to mount extsdcard? Just wondering if I forget to and what that would change.

Ill edit this if needed to clarify somethings. I think I called everything correctly.
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
The reason for mount primary or secondary options is that Derteufel has code to handle (redirect) zip or rom installs to the secondary partition. I explained in more detail in the OP. There is no reason to list the external since you don't install to it.

If you wanted to use the browse functionality then maybe you would have to manually Mount the external sd - not sure
[Galaxy Note II Q&A, Help & Troubleshooting] MunkinDrunky:
Ah of course it must be done if flashing zips from extsdcard.
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Nope - I do it all the time and I never have to manually mount the external card. I imagine as soon as you select install from sdcard1 (external) it mounts it automatically for you.
[Galaxy Note II Q&A, Help & Troubleshooting] greenguggu:
I did dualboot my phone once succesfully....with the old kernel and recovery....but im getting nowhere with this one!
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Have you tried dual-booting with other ROMs (other than OMNI) just to get it working and then you can determine if there is just a compatibility issue with OMNI?
[Galaxy Note II Q&A, Help & Troubleshooting] greenguggu:
I did flash it with 4.3 phoenix rom....same result!
[Galaxy Note II Q&A, Help & Troubleshooting] MunkinDrunky:
Is there a way to wipe cache without wipe data/factory reset? Maybe im blind. I see wipe dalvik is separate though. Ive been using this recovery for a week now but only doing full wipes, now im ready to settle to the configuration i like. I do want to wipe cache and dalvik for the future though, when flashing zips.

edit: im dumb could it be format cache?

edit: still unsure format isnt the same as wipe but its the only close option
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
Under mounts and storage - format cache
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
[MENTION=4739515]greenguggu[/MENTION]

I can try to help get dual-boot working for you but I need more info.

1) After you have one of your ROMs working properly (even using TWRP, etc.) can you flash this kernel and have it still working correctly?

2) After you install the latest recovery, can you backup that ROM and restore it to the secondary partition - after creating the secondary of course

3) When you flash another ROM as primary, does it work initially?

4) What happens when you flash this kernel again? Keep in mind it is one kernel for both.

5) Are you doing full wipes (system, cache, dalvik, factory reset, etc.)?
[Galaxy Note II Q&A, Help & Troubleshooting] MunkinDrunky:
I'm guessing when flashing radios (since the option is similar to kernel or recovery) the radio will be for both roms? If so would it be recommended to do all the mounts (proper order of course) for 1st and 2nd roms to clear out cache and dalvik for both?
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
No need. The cache and dalvik are for apps - not the modem or kernel. I have never cleared them for both ROMs and I never had a problem.
[Galaxy Note II Q&A, Help & Troubleshooting] danfist:
I've installed DT Kernel, boot and all needed, but I'm stuck at trying to mount Secondary System. :eek:
[Galaxy Note II Q&A, Help & Troubleshooting] 8thphloor:
Anyone has an idea to solve this? Thanks a lot ;) http://xdaforums.com/showthread.php?p=49242810
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
How much SD card space does he have? After creating it the first time where there was a problem, did he try deleting the /data/media/.secondrom folder where the secondary partition resides? You need at least 1.5GB free on the SD card. What model is it?
[Galaxy Note II Q&A, Help & Troubleshooting] 8thphloor:
He tried to delete the data/media.... but no chance to recreate it. He has 6gb free on sd...what can be done to restart process? Put another recovery and kernel and then try again? Now I ask to him what type of sd has...must be formatted to fat32, right? Thank you very much for trying to help ;)
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
You only have fomatting options for an external SD as far as I have seen. The secondary partition is only supported on the internal SD. Does he have anything like a config to swap internal and external SD, etc? Additionally, are you sure he has the right recovery for his model phone? I would try backing up the internal, flash TWRP and wipe all data (where you have to type yes) and then flash the latest dual-boot for his model. After it works, he could copy everything back.
[Galaxy Note II Q&A, Help & Troubleshooting] 8thphloor:
I'm so sorry for misunderstanding :p...i just read your message too quickly and thought you asked me which model of ext sd card he has :banghead:..i was driving and didn't think why...yes he has right recovery for his model (n7100 t03g) and doesn't have config to swap sd. But i will tell him to follow your steps to try again to dualboot. Thanks a lot ;)
[Galaxy Note II Q&A, Help & Troubleshooting] MunkinDrunky:
If mounting secondary is what you want go to mounts and storage select secondary partition and hit mount system, data, cache, efs (the first 4)
[Galaxy Note II Q&A, Help & Troubleshooting] JustClass00:
I can't it please simple expiation I want removed secondary please help me

GT-I9300 cihazımdan Tapatalk kullanılarak gönderildi
[Galaxy Note II Q&A, Help & Troubleshooting] 8thphloor:
Just to say that following your suggestions he finally was able to create second fs and had a fully working dualboot! Thank you again for your help and your great F.A.Q. ;)
[Galaxy Note II Q&A, Help & Troubleshooting] RichMD:
^^ Glad I could help. :D

Sent from my pocket computer running SkyNote
[Galaxy Note II Q&A, Help & Troubleshooting] scote:
I'm having no luck with this dual boot stuff. I was trying to setup a second rom image to use my online banking on an unrooted system.

was running DN3 rom with devil kernel and twrp recovery fine, did a nandroid of that, then flashed devil recovery and a stock 4.3 style rom that did not have the 4.3 bootloader or knox to the second rom, then flashed devil kernel now neither rom boots. both get stuck at the samsung logo: I get the model number splash, devil kernel splash, then the glowing samsung logo and never get past that.

no I did not do "install" zip, I did install rom.

tried reflashing both the december and january versions of devil kernel - no luck.

I am still on the 4.1 bootloader.

its a 7105

given up for now and trying to get back where I started from, just wondered what the likely cause might be?
[Galaxy Note II Q&A, Help & Troubleshooting] tetakpatak:
4.1 bootloader should work fine.

But what do you mean with "stock style 4.3"? Dr.Ketan V6 deodexed?

If yes- it has an installer that could cause problems on the second ROM partition. It is also quite big (1.3GB ) and if you have another 200MB apps or data it can work only in the 1st partition.

TWRP backup isn't restorable with devil/CWM/PhilZ AMAIK

EDIT: [MENTION=453028]scote[/MENTION] mate, read DerTeufel's post in the kernel thread from 22:31 CET, I was close.....
[Galaxy Note II Q&A, Help & Troubleshooting] scote:
The second rom was mawrick26 which is a stock 4.3 rom without the bootloader and knox. I don't think it uses any complex installer and devil recovery modifies the zip accordingly.

There is an option to restore twrp from devil recovery. It restored my back but the phone would not boot from it. Probably this was because the version of twrp used to create it was too old because twrp old or new did the same.

I have been following the kernel thread.
[Galaxy Note II Q&A, Help & Troubleshooting] tetakpatak:
Yes, that could be the reason: also with CWM backups done with 5xxx aren't restorable with 6xxx

But you obviously didn't check two things:

- as OP post of this thread says: only the zips for the second rom partition get modified

- DerTeufel wrote yesterday that no sammy rom can boot from the second partition

In your case the workflow would be clear: now unbrick by Odin flashing of some stock rom (just without knox) and after that install your prefered custom rom, your older TWRP and restore your backup. After that, flash devil kernel and devil recovery. After that, make a nandroid of the custom rom and restore it to second rom partition. After that install your stock based rom to the first partition, flash the same devil kernel while still in recovery and you're done :)