yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] darshanonline:
What does 'support for stock ROM' mean? stock ROM as real or virtual system?
[Defy Android Development] m11kkaa:
virtual, but real Stock-ROM should be no problem, too.
[Defy Android Development] 769151238:
Oh, I got it! You mean I should rename "fsimages", and name it like /sdcard/multiboot/CM9?
[Defy Android Development] Casper87:
You can rename to CM9. Each virtual ROM must have a separately folder on /sdcard/multiboot/ (Eg: /sdcard/multiboot/(virtual rom name)) . In (virtual rom name) you need to put cache.img, system.img, data.img
[Defy Android Development] 769151238:
Looks like we can install more than two system? BTW, when I go boot-->CM9-->it still boot MIUI
[Defy Android Development] Casper87:
you can install how many ROM's you want :). To boot on virtual rom restart phone, hit Vol - when LED get blue -> Boot -> 2nd System -> Your virtual sistem name ( Eg: CM9 )
[Defy Android Development] 769151238:
Oh yeah, I just done what you said, and When I get into bootmenu-->boot-->2nd boot--> CM9-->it still boot MIUI which is my original ROM.
[Defy Android Development] Casper87:
NOT "2nd-boot" , to boot in virtual system, hit the 2nd-system. I was said you one post above. :)Read posts carefully
[Defy Android Development] vuhothang:
with newest Epsylon nightly. i can return to bootmenu 1.1.8 and use multiboot with script in link http://www.nepotu.ro/2012/04/11/twrp-2-1-touch-recovery-pentru-motorola-defy-si-defy-plus/

Sorry, don't use this. When i use it, i can multiboot, twrp 2.1.1 but no connect wifi, my defy can't deep sleep. reflash 20120508
[Defy Android Development] darshanonline:
I was using multiboot with no problem until today when I flashed v0.5.5. Now when I select any virtual system, phone boots with real system. Multiboot manager however shows active with selected virtual system in red. Strange..!
[Defy Android Development] Euro_Rules:
Please help me with this ...... what this error means ?
[Defy Android Development] nepotu:
@vuhothang are you using CM9 as a base system?

@Euro_Rules can you provide more details? What ROM are you using as base ROM, what about the virtual one? Also it will be useful if you say how did you installed multiboot.
[Defy Android Development] DRu!D:
HELP!!

Screwed up flashing the second rom..

Seems the 'Main' rom got changed (i.e 2nd-init)

So i want to ask is now if i do 'Wipe data/factory' in custom recovery, will it just clear my img files that i created (pasted) in the /multiboot/NAME.. or my complete data that i had b4 trying to multiboot..

So i tried installing Pikachu edition as the second rom & now both 2nd-init & 2nd-boot are both booting that & experiencing bootloops..

Had Epsy's new CM9 initially as default 2nd-init..

Any advice on how should i proceed..

A quick(r) reply would be much appreciated.. Thanks (Simple defy)
[Defy Android Development] joydeep1985:
Well Pikachu / Whiterabbit arent Multiboot compatible . No offense for the developer though . And regarding multiboot It has been mentioned touch bootmenu is reportedly having some issues with Multiboot . I am yet to test what are the actual issues . So If you really want to go through multiboot I would suggest use multiboot v0.5.5 with bootmenu v1.1.8 . bootmenu v12.0.0 isnt compatible with v0.5.5 multiboot. Please have patience while M1kkaa solves this out :)
[Defy Android Development] Euro_Rules:
Thanks nepotu .... I am using WhiteRabbite Edition 1.5.1 and i follow all the instructions as given on first page of this post.When I install it say's Installation completed but when i boot with 2nd system its given me error that "Defy Multiboot Error" and I tried 30-40 times but every time same result :(
[Defy Android Development] DRu!D:
Yeah.. figured that out the hard way.

Touch bootmenu doesnt show the 2nd-system part, (keeps flickering).

I had to wipe everything & reinstall CM9 as 2nd-init (stable).

Will wait for the issues to get fixed..

BTW great work M1kkaa.. Thanks!!

P.S: Is there a thread for the different versions of bootmenu.. (download) or i have to install 2ndInit Recovery Installer again (had installed it b4 getting on custom rom)..?? This is confusing.. sorry!!
[Defy Android Development] vuhothang:
Yes, i'm using Epsylon CM9 build 20120508 as a base system
[Defy Android Development] m11kkaa:
Multiboot does not work with TouchBootmenu, because it doesn't stops drawing on the screen. Nothing big, I will fix it in the evening today.
[Defy Android Development] darshanonline:
Where could I find flashable zip for bootmenu 1.1.8?
[Defy Android Development] vuhothang:
This link http://www.nepotu.ro/2012/04/11/twrp-2-1-touch-recovery-pentru-motorola-defy-si-defy-plus/

But it included twrp 2.1.1 recovery, multiboot 0.5.5

Thanks to m11kkaa, waiting ur fix
[Defy Android Development] m11kkaa:
So, here is the fix for touch-bootmenu so it doesn't overlay the multiboot-gui.

Please just install this if you are on CM9 because it only contains an updated binary.

I think in the next nightly from epsy you won't need this anymore because he always merges my changes into his repo.
[Defy Android Development] MarcinRN:
Any idea why am I unable to get multiboot working?

I'm on CM7.2 Defy+ nightly using this kernel: http://m.cfa.aero/misc/CM9_Kernel-signed.zip

I installed multiboot 0.5.5 via recovery, added new VFS in MultiBoot manager then I went to the recovery, chose VFS and then errors were prompted like this:

E: can't mount cache/recovery/command and recovery/log

But I installed latest CM9 GB build anyway, it even booted but it said something about errors and that data is damaged and it rebooted and data was wiped.
[Defy Android Development] DRu!D:
Thanks!!

Worked well for a initial few boots.. flickering again..
[Defy Android Development] vuhothang:
Thanks. I will try ur fix
[Defy Android Development] m11kkaa:
Then you updated or overwrote your NAND's rom.
[Defy Android Development] vuhothang:
Hi m11kkaa, with fresh cm9 epsylon i was cwm multiboot 0.5.5 and cwm multibootfix but touch bootmenu still draw over. Does i need cwm 0.5.5 before cwm fix or just cwm multiboot fix only?
[Defy Android Development] duo64:
Hi

Is it possible to resize img files?

I have only 50M free of 292M, and cannot install apps.

Using multiboot on green lensed defy.

Thanks!
[Defy Android Development] darshanonline:
Can the problem with aroma installer be fixed?
[Defy Android Development] m11kkaa:
I don't know something about a problem with AROMA-installer.

If you guys don't create tickets at github the possibillity, that I read about these issues is not as high like when you create a ticket, because I don't read every post here.

If you don't know how to use github or you don't want todo that,

maybe someone can make a thread with a central bug-list in OP.
[Defy Android Development] Ptikjp:
Hi,

Just wondering if you are planning to implement the time out or a default boot option for automatic startup?

Thanks in advance.

:)
[Defy Android Development] miziel:
Almost same here. Ive got CM9 as stock by Quarx for Defy + and i cant mount cashe for multiboot (exactly cashe/recovery) any ideas?
[Defy Android Development] vuhothang:
Same to me. i flash Epsylon CM9 120514. any solution to test WIUI 2.5.11 in virtual OS
[Defy Android Development] cyrusct82:
Does anyone knows why i'm having problems with the phone calls in CM9, CM7 when i boot from SDCARD?

I receive 1 or 2 calls and after that my phone is not ringing sounds like is closed but the phone is on

if i try to call same problem

I have: - stock rom on NAND

- CM9 - Quarx as multiboot on sdcard

My phone is Defy+
[Defy Android Development] DRu!D:
Noob q'n lvl 1000

Is it necessary to wipe data/factory reset, during flashing a new rom as ur 2nd-system.. since as far as what i have read, the rom affects the img files that we make & store in sd card..

So logically thinking, the normal stable rom data should be left untouched even if i try a multiboot CMW flashing.. ??
[Defy Android Development] cyrusct82:
I have flashed the latest build for defy+ by Epsylon3 and is working.
[Defy Android Development] ziki:
Yes, a timeout with a configurable default boot is a must also for me.

Hope it will be implemented.
[Defy Android Development] MarcinRN:
m11kkaa can you confirm wheter is multiboot compatible with GB kernels or not?
[Defy Android Development] coolgame:
The only problem I am facing is that the multiboot roms return to stock after every reboot .is anyone else facing this problem?
[Defy Android Development] joydeep1985:
yes GB is compatiable with Multiboot provided you have both GB kernel in Nand + sdcard (virtual rom )

Set 2nd-system as default boot . It should take you to the multiboot list menu
[Defy Android Development] coolgame:
I have set 2nd system as default only. Yet every time I boot I cm 7 or Ms2ginger it takes me to the welcome screen. I am using multiboot manager app
[Defy Android Development] MarcinRN:
Can you tell me then why am I unable to get it working? I'm on Quarx's latest Defy+ CM7.2 nigtly, installed multiboot 0.5.5 via stable recovery, created VFS with Multiboot Manager and when I boot to recovery (CM9 VFS) I get errors:

E:Can't mount /cache/ Can't open /cache etc.

Tried with both CM9 and DHT-22 kernel - same errors. Few other members reported the same issue. Can someone look into it? :)
[Defy Android Development] joydeep1985:
I think you are missing something . Please go through the tutorial in my signature and post if such problems occur again . find the attachments as well .

I guess your VFS is corrupted . Please use the fsimages Dont create VFS via multiboot manager and check it again if its causing you the trouble .And also the kernel in VFS should be a GB kernel rom ( since you are using Defy+ build) you should use the kernel-gb-234-451-134-signed.zip , Its GB kernel for CM9 . So you should flash that kernel into virtual rom before you start using CM9 from VFS. If there still are any problem .Follow the tutorial in my link . I think that should clear any problem for you .
[Defy Android Development] MarcinRN:
No matter which fsimages I use the same error is printed. About this kernel, my phone is Defy with Bayer module and I'm on Defy+ CM7.2 nightly by Quarx (+DHT-22 kernel) are you sure I need to use kernel you mentioned?
[Defy Android Development] joydeep1985:
well I mentioned that kernel should be for CM9 . albeit not CM7 defy+ :) ... I m still not sure abt ur setup .. if you are having a problem pm me stating you setup for Nand and virtual system . and how did you proceed . :)
[Defy Android Development] DRu!D:
I am experiencing the same error..

"E:Can't mount /cache/ Can't open /cache etc."

I'm on Green lens froyo.. CM9 (CM7 kernel)

So should i flash the froyo 222 kernel frm http://defy.wdscript.fr/kernel/ ?? N try again??

Hope it doesnt mess the stable CM9..
[Defy Android Development] MarcinRN:
Don't flash this kernel since you are on Froyo build. Flash this instead:

bm_cwm_mb_v0.8-signed.zip

It contains updated Bootmenu, TWRP recovery and multiboot, flashing this will fix these errors and make multiboot work again!

Follow this guide as well: http://xdaforums.com/showpost.php?p=24237176&postcount=524

Thanks and regards to Joydeep1985 :)
[Defy Android Development] m11kkaa:
I've added a bug-list in first post.
[Defy Android Development] Sidz4u:
Oh.. thanks for the before hand warning.

What else shall i do then ?
[Defy Android Development] m11kkaa:
If you habe empty images you don't need to wipe.

Otherwise backup your android_secure-folder.

I try to find a solution to this problem.
[Defy Android Development] free2live:
I have the same error like tejus.k.v

Reinstalling boot menu
[Defy Android Development] TJKV:
for me the prob was that I put the img files in sdcard root instead of in the folder fsimages (first post)
[Defy Android Development] [] AL []:
Hey m11kkaa wassup?

1st of thanks for this thread and all your help I greatly appreiate this.

About a week ago or so, I first read someone asking if dual boot would be possible and thought that it would take a while to come through.. Until 2 days ago, someone suggest me to use it: perfect timmming for ICS alpha builds and just plain awesome!!

OK, just to be safe before my 3rd ICS builds multiboot install.., cache and Dalvik cache wipes should not cause problem aren't they?

That's it! Thanks again.
[Defy Android Development] m11kkaa:
I think this should be safe but I didn't try it.

The safest way would be to backup/rename the folder before wiping :)
[Defy Android Development] geffersons:
sorry my english google translator

I tried using the various forms here ms2ginger as stable and as miui latest CM7 or did not get in any more

ms2ginger stable in the works there put one in there when I walk into latest 2nd-boot and it turns red LED does not turn the other rom pq know someone, or if only the CM7 and miui that work?
[Defy Android Development] pbjhon:
Same problem, I think both the ROMs should use the same kernel. ms2ginger uses a different kernel than cm7,cm9 and miui.
[Defy Android Development] m11kkaa:
Yes, that's the limitation of the Defy. You can only use one kernel.

Maybe you find a kernel which works with both rom's.
[Defy Android Development] [] AL []:
Good to know.

Here CM7/ICS works fine and I just I just wiped cache and Dalvik cache before install and no biggie except that the recovery has a tendency to give black screens on "go back" selections. --> just a long press the power button and menu's back.

ICs finally has sound and phone signal: cool stuff!!
[Defy Android Development] krd_medico:
Is it possible to use cm7 as real rom and ms2ginger as virtual rom ?
[Defy Android Development] Cassinander:
Already i'm using in real Cm7 and in virtual Cm9 Test 111129, i want to install Cm9 111130 in virtual now, how do i this? Wipe data only? Wipe data/ Dalvik cache? This done is in Custom Recovery or Stable? Thanks
[Defy Android Development] Gazm4n:
The answer is only 4-5 posts above: no, because these ROMs use differrent kernel and there´s no way to change the kernel on a running system.
[Defy Android Development] m11kkaa:
Theoretically you could replace Stock Recovery with an boot-image with another kernel.

Then you would have to hold down Vol-Down to boot.

I didn't tried that but it really could work. This way you would have 2 kernels on Defy :D:D:D
[Defy Android Development] bobo9900:
I believe the easiest way to clean install to virtual, is to boot into real system (CM7), replace system.img, data.img and cache.img in /sdcard/fsimages with a clean one from first page.
[Defy Android Development] m11kkaa:
@Cassinander: If you are comfortable with ADB you can boot into Latest/Custom Recovery, enable ADB, go into mounts&stoarge and mount data and cache and then execute the following commands via ADB:

rm -Rf /data/*
rm -Rf /cache/*
[Defy Android Development] Cassinander:
Thanks, thanks for fast answer for me, but dont know work with ADB, if you teach

me can i do this, or other way?
[Defy Android Development] m11kkaa:
I think replacing the fsimages like bobo9900 said is the easiest way for you.
[Defy Android Development] Cassinander:
1- I replace with some 3 files of before instalation, posted in first post?

2- If i to want do by ADB, where is this? In the Recovery Reboot, see unmount options, but no mount data/cache options. Help me learn, please.
[Defy Android Development] be_on_edge:
I don't have "Stable" recovery but only "Custom" and "Stock". I did try with different version but only this two are shown.

If I use Custom recovery to install the multiboot then i'm stuck on a black screen when booting the virtual system.

What can i do to have the "Stable" option in the recovery ?

Thanks

Francesco
[Defy Android Development] desihu:
i too am in the same boat..

presently running CM9 30 May release of FuZZ_ on my Green Defy nand

followed the steps by joy in page 53

but as soon as I enter the list of ROMs with no CMW option I get the similar error as

E:Can't mount /cache/ Can't open /cache etc.

though I am sure I have not missed something, and do want to take the risk to install the virtual roms without hampering my nand installation as in past some weeks back I have had the displeasure of overwriting the main rom with the supposedly virtual rom.

hope I am able to get this right with your help.
[Defy Android Development] MarcinRN:
Did you flash this too as joydeep's guide says?

bm_cwm_mb_v0.8-signed.zip
[Defy Android Development] fiskenigaten:
It works, but I need cwm recovery to restore some cwm backups to my VFS. Anyway, what's wrong with those new bootmenus? Why don't they work anymore? :-/
[Defy Android Development] Euro_Rules:
after using "bm_cwm_mb_v0.8-signed.zip" still getting same error

E:Can't mount /cache/ Can't open /cache etc.

:(
[Defy Android Development] be_on_edge:
Anybody can help on this ?
[Defy Android Development] Euro_Rules:
M11kkaa any solution for this ???3

""E:Can't mount /cache/ Can't open /cache etc.""
[Defy Android Development] joydeep1985:
Most probably your cache.img is corrupted . Please extract the fsimages properly and copy it onto /sdcard/multiboot/<your rom name> folder. and I need to know which version of rom you are using for multiboot ? Is it CM9 or CM7 ? I guess you should try with these two first . both should be froyo rom . I guess that should solve your problem . After that you can flash any rom on multiboot.

And also please let me know if you are using bootmenu v2.0 or touch bootmenu .
[Defy Android Development] Euro_Rules:
Currently I am using CM7.2 Euroshank by FuZz on my Defy+ & I am on GB Kernel and not Froyo. I tried all Gb kernel ROM but getting same error. I also tried my current ROM as multiboot but same result. :(

When I install CM9 as multiboot it gave me Defy Multiboot Error .
[Defy Android Development] joydeep1985:
Pm me with what files have you flashed and the method u followed .... I mean to say which CM9 Rom file u flashed and Which bm_mb_cwm file u flashed ... including all details .. how u have proceeded .

---------- Post added at 07:35 PM ---------- Previous post was at 07:33 PM ----------

The latest bootmenu works firmly .. I m on touch bootmenu on 0206 Defy build on red lens Defy :)
[Defy Android Development] hackergnome:
What u flash isnt important...

Dont know what the issue is on GB kernel...

Wont dig around until I get back home...

See ya
[Defy Android Development] joydeep1985:
Well atleast for me there are no issues ... on both kernels.... Now it depends on user wht they are actually using . If they are on defy+ lot of user tend to flash CM9 kernel ( whc is absolutely not recommended ) .Now if they are already running CM9 on Nand . The Defy+ version of CM7.2 should work on multiboot .

In case the user is a defy user . If they are using CM9 froyo kernel on Nand and they want CM7 on multiboot. They can follow my guide , flash CM7 from multiboot and it should be buttery smooth with the zips i have attached there and notes i have provided .

If they using Red lens defy and they using Defy+ version of CM9 . Then they should try any GB kernel rom like Defy+ CM7 , Mookee or walters MS2Ginger . In case of GB rom for Red lens they have to flash CM9 kernel ...

I dont know these are clear instructions provided in my tutorial . People shouldnt be confused :( its as simple as that :(

If there are still any issues feel free to pm me :) or any senior member for help :) . But please dont forget to mention the steps you have followd and the Roms you are using for Nand and virtual . They are the most important parts . Majority of people are suffering from either bootmenu issues or else kernel issues .
[Defy Android Development] Euro_Rules:
Pmed.
[Defy Android Development] diamond_4g64:
I am seiing all these new tablets comming out with multi boot new windows platform and android and i know that on older windows mobile phones could do this installing android as second boot so you must see where i am getting. Is it possible to multi boot different programs on the defy??? Its been a while now that i have been asking myself this and i saw the rumors of ios but it seems to be bull. I'm no pro but i get around and i dont know why you cant install ios but is it possible with win7 and how?
[Defy Android Development] Euro_Rules:
Thanks joydeep1985 for Helping me

My multiboot Works ... :D
[Defy Android Development] m11kkaa:
@diamond: Its not possible because the defy has a locked bootloader...
[Defy Android Development] joydeep1985:
You are most welcome :) :p
[Defy Android Development] K3n H1mur4:
Not possible because of a few reasons:

1) locked bootloader - The Defy can only run ROMs signed by Motorola, unsigned ROMs won't boot. CFW for Defy are workarounds on this matter (recovery runs on a 2nd-boot scheme, which runs after the original bootloader), but our phone can only boot on kernels made by Motorola, by now. This cuts off the possibility for OSs like Windows, which rely on 3rd party drivers (read the reason below), but need a compatible boot system, and linux distributions (currently, as far as I remember, one can boot Ubuntu from the SD card), because Motorola's kernel isn't compatible with them.

2) drivers - a system like iOS or BBOS is closed to specific hardware, made by the same manufacturer of the OS, so it's kinda impossible to build drivers to run such OSs on different phones than the ones they were built to. Windows Phone is as unlikely because it needs signed hardware (HTC HD2 is able to do so because its hardware, as far as I know, is almost identical to HD7's). It IS possible to do so with Android on many devices because it's open source, so it's relatively easy to build drivers for it.

There may be other reasons, but I'm not a dev, and I can't remember any others right now.
[Defy Android Development] diamond_4g64:
Ok thanks this really helps me with the question and i asked a friend that is in the develloping stuff and it was exactly what he was telling me. So the problem is the hardware that is not what the software ment to understand and that it is written to function by the specific hardware specs... thats a bummer.

Sent from my FrankenDefy!
[Defy Android Development] hackergnome:
In my case i cant mount cache in recovery so i cant flash or wipe...

Maybe a corrupt partition... not sure... tried m11kaa's cache partition and also the one generated by MBM...
[Defy Android Development] joydeep1985:
well the same case happened with me as well . I tried to use MBM . But unfortunately it resulted in corrupted cache or data. I dont remember specifically . So to avoid that possibility I just suggested to use the fsimages from the 1st post only . I guess that solved lots of problems for many people . Although I m not sure whats the actual problem with MBM . Havent got to see the logcat yet .
[Defy Android Development] hackergnome:
I used fsimg cache img.... still the dame issue
[Defy Android Development] royale1223:
Are you using TWRP?
[Defy Android Development] kanpurite:
cant mount cache in recovery

flash this.it solved my problem.
[Defy Android Development] joydeep1985:
infact i was guessing the same thing . Since he is using the latest one . for that the guy just above me posted a zip created by nepotu solved problem for many .@nogoodusername U may like to try that .
[Defy Android Development] m11kkaa:
I had success writing an kernel-module which hooks and redirects access to filesystems. This could push rom-compatibility of multiboot to 99%(I never say 100 :P ) and we could have shared battery-stats.

I will try to implement this module in multiboot soon.
[Defy Android Development] joydeep1985:
Thanks mate tht was I looking for quite a long time especially shared battery-stats :)
[Defy Android Development] monkichi1987:
sorry to reply you ! i want to know this tool weather can use on xt615？

if not ,can you give me some help ?
[Defy Android Development] m11kkaa:
I tried to analyse that bug with mounting the cache-partition for hours and: thats the hell :mad:

I can't see a logic why this won't be mounted. If I do that manually it works.
[Defy Android Development] ela1103:
how to install latest touch boot menu

how to install latest touch boot menu
[Defy Android Development] ela1103:
please enable the touch mutiboot system

please enable the touch mutiboot system.it will use for the our defy without using power button and volume button