yashsingh1/xdaforums huggingface dataset:
[Defy Android Development] m11kkaa:
I can't believe, that all the problems with the cache-partition(there were more but they didn't had an effect) where caused, because loop-device will be resetted when you unmount them.

I just wrote a dirty hook which prevents loopdevice-resets globally...

Recovery is working just fine with my new hooking-methods but I still have problems booting a rom. I'll keep you updated.
[Defy Android Development] fiskenigaten:
Hooray! Thanks a lot! :D keep up the good work!
[Defy Android Development] m11kkaa:
Ok now I can boot roms with the new kernel-hooking-method and it's working just fine. I didn't try stock-roms yet. I'll release the new version soon.
[Defy Android Development] ela1103:
thanks m11kkaa

thanks m11kkaa
[Defy Android Development] kanpurite:
will it be possible to boot rom's with different kernel ?

like here:-

http://xdaforums.com/showthread.php?t=1522024
[Defy Android Development] Moises_sto_zn:
This is possible in defy?
[Defy Android Development] maniac103:
Can you include yet another fix there? ;)

Currently, multiboot mounts the sdcard in non-UTF8 mode, which causes mediascanner to misinterpret umlauts in file names. Fix is just to use -o rw,utf8 instead of -o rw when mounting the sdcard.

Thanks.
[Defy Android Development] m11kkaa:
Released Version 0.6 with big improvements. See OP for more info.

@maniac103: I will take a look at that.
[Defy Android Development] skeevydude:
Nope, kexec on Defy causes the 3g radio to reboot on a new kernel activation which in turn reboots the system entirely -- we'd probably have custom kernels by now if that wasn't for that issue, among others.

I suppose a script to flash a different kernel\bootloader depending on which multiboot rom you select might be possible; but it would be brick dangerous if set up\used improperly.

Its never really been an issue to me, but my phone only has one kernel....Damn Bravo with its BL3 froyo and 9.12 bootloader...
[Defy Android Development] dams161:
+1 up please
[Defy Android Development] ccav2000:
Hello,

I tried to install multiboot v0.6 today so I can finally try ICS on my DEFY. Unfortunately, I had no success at all. I copied the pre-created images I found in the 1st post into /sdcard/multiboot/ICS/, installed multiboot, reboot, then tried to go to CWM of the new system, but I always get an error:

I/[Wed Jun 13 08:42:46 GMT 2012]: Started fshook.
I/[Wed Jun 13 08:42:46 GMT 2012]: Initializing...
D/[Wed Jun 13 08:42:46 GMT 2012]: mounting ramdisk rw...
D/[Wed Jun 13 08:42:46 GMT 2012]: copy multiboot-files to ramdisk...
D/[Wed Jun 13 08:42:46 GMT 2012]: mounting data-partition...
D/[Wed Jun 13 08:42:46 GMT 2012]: mounting cache-partition...
D/[Wed Jun 13 08:42:46 GMT 2012]: setup paths...
D/[Wed Jun 13 08:42:46 GMT 2012]: mounting imageSrc-partition...
D/[Wed Jun 13 08:42:46 GMT 2012]: search for virtual systems...
D/[Wed Jun 13 08:42:46 GMT 2012]: found /fshook/mounts/imageSrc/multiboot/ICS!
I/[Wed Jun 13 08:42:46 GMT 2012]: starting GUI...
D/[Wed Jun 13 08:42:52 GMT 2012]: GUI returned: recovery ICS
D/[Wed Jun 13 08:42:52 GMT 2012]: parsing results of GUI...
D/[Wed Jun 13 08:42:52 GMT 2012]: virtual system: /multiboot/ICS
D/[Wed Jun 13 08:42:52 GMT 2012]: path-setup done!
I/[Wed Jun 13 08:42:52 GMT 2012]: bootmode: recovery
I/[Wed Jun 13 08:42:52 GMT 2012]: Booting recovery for virtual system...
D/[Wed Jun 13 08:42:52 GMT 2012]: Saving environment...
D/[Wed Jun 13 08:42:52 GMT 2012]: running script /fshook/files/fshook.edit_devtree.sh...
D/[Wed Jun 13 08:42:52 GMT 2012]: Loading environment...
I/[Wed Jun 13 08:42:52 GMT 2012]: Patching devtree...
D/[Wed Jun 13 08:42:52 GMT 2012]: Loading kernel_modules
D/[Wed Jun 13 08:42:52 GMT 2012]: Setting up loop-devices...
D/[Wed Jun 13 08:42:52 GMT 2012]: backup partition /dev/block/mmcblk1p1 to /fshook/mounts/imageSrc/multiboot/.nand/mmcblk1p1.img...
D/[Wed Jun 13 08:42:52 GMT 2012]: Replacing partition /fshook/nodes/mmcblk1p1 with loop8 with image '/multiboot/.nand/mmcblk1p1.img'...
D/[Wed Jun 13 08:42:52 GMT 2012]: Creating /dev/block/loop8...
D/[Wed Jun 13 08:42:52 GMT 2012]: setup loop...
E/[Wed Jun 13 08:42:52 GMT 2012]: Error: 1

Main system is CM7 (maniac's latest nightly). What am I doing wrong?
[Defy Android Development] desihu:
Got it working! Green Defy w/Nand-Fuzz_ CM9

I presently have Bootmenu 2.0beta running Fuzz_ CM9 10 June on Green Defy with Froyo kernel. Do I still need to flash the bm_cwm_mb_v0.8-signed.zip as mentioned by Joydeep in his tut to downgrade the bm to 118?

I however reflashed the new v6 of mutibootmgr and redid the steps. This time the error along with a message that check error.log in the dir. After rebooting into nand however I cud not find any such file!

Update:20120614

As mentioned by MarcinRN, I also installed the bm_cwm_mb_v0.8-signed.zip overwriting my existing bootmanager, and VOILA all multiboot starting working, may be the magic app is the TWRP built into the bm.

Steps I did (as also mentioned by Joy in page 53) ->

My Workbench - Defy Green Froyo kernel nand running Fuzz_ CM9 June 10 ROM

1. Create folder /sdcard/multiboot

2. Extract fsimages into folder under /sdcard/multiboot/fsimages

3. Boot into Bootmenu

4. Choose either Custom or Stable Recovery

5. Flash bm_cwm_mb_v0.8-signed.zip and reboot

6. Again enter Bootmenu

7. In boot menu select 2nd system .

8. Under 2nd system, below the list of folder fsimages, select Recovery CWM

9. Then select fsimgs

10. After a 2-5 secs you see the TWRP menu

11. Select Install to install the custom roms follwing the std procedure.

12. On restart you could boot into the SD card rom from the Bootmenu > Boot > 2nd system > fsimages

To install more rom on sd make a new folder like fsimgs2 under multiboot and follow the same precedure from step 7 - 12
[Defy Android Development] Math43:
Hello,

Could somebody update this package bm_cwm_mb_v0.8-signed.zip with new multiboot 0.6 version ?

Thanks !
[Defy Android Development] cyrusct82:
i haved the same problem

But I have reinstalled 2init after this I have flashed v 0.55 installed CM9 and after this flashed the new v0.6 and now is working
[Defy Android Development] ccav2000:
I did something similar, flashed down to 0.55, then 0.60 and it worked. Seems that 0.60 is not working correctly when flashed in a clean system than never had multiboot before.

I have another problem though, in CM9 I do not get the root option, anyone ever managed to solve this??
[Defy Android Development] cyrusct82:
For me is working perfectly
[Defy Android Development] m11kkaa:
Here's a new (test-)build with some more logging.

This should show us the real error-messages.
[Defy Android Development] m11kkaa:
I fixed the bug :) Just install v0.6.1 ...

Please report about your experiences with v0.6.1, especially about rom compatibility.
[Defy Android Development] wizwin:
CM9 working again

Awesome work m11kkaa.

I was not able to run CM9 for a long time. I was faced with 'Encryption Unsuccessful' error when ever I booted into CM9 virtual system after I purchaced a new 32 GB SD Card (Class 4).

Just now I updated from Multiboot 0.5.5 to 0.6.1 and voila!!!

CM9 is up and running. Thanks a lot! :)
[Defy Android Development] darshanonline:
I don't know if this has been discussed but I think there should be a choice of cwm & twrp for virtual system to use cwm instead of twrp to restore cwm backup in virtual system. What do you say..?

PS: Thanks for update . :-)
[Defy Android Development] m11kkaa:
I think this would be a feature-request to bootmenu.

Multiboot does not include CWM, it just uses that preinstalled with bootmenu.

Edit: I just saw, that bootmenu can choose between CWM and TWRP via Stable/Custom. It should be no problem to include this feature.
[Defy Android Development] darshanonline:
Just one more question.. Does the problem with aroma installer still exist?

Sorry, i never used github and I'm on my mobile so can't report there..
[Defy Android Development] m11kkaa:
I don't know about a problem with AROMA-installer.

During development of v0.6 I installed PikachuEdition via AROMA and ist just worked fine.

If you still have problems, please report them.
[Defy Android Development] darshanonline:
I had problem a week ago (black screen). Now you've tested it, so must be solved. I can't test it now coz I'm using gb kernel.
[Defy Android Development] joydeep1985:
Hi M1kkaa . Just saw the changes today . Really cool work . I wanna ask does this include the changes for shared battery stat ? Though it would be really nice . And I guess shared data also really is a good deal to work with .... Some time back I opposed the fact . But later on I thot the system partition only which might screw up . But data part doesnt . The only downside is ICS apps would work on ICS only and GB / Froyo Apps would continue to work as usual .

Can you put some light on these two features ?
[Defy Android Development] m11kkaa:
Redirecting single files is still very unstable and especially shared batterystats are really hard. Sorry about that.
[Defy Android Development] cyrusct82:
The new version 0.6.1 is not working when the overclock is on.

Show err 17

If i reset settings for overclock (reinstall 2init) multiboot is working.
[Defy Android Development] m11kkaa:
please provide more information(nand and virtual system) and the errorlog is important. You can find it in "/cache/multiboot/error.log".

BTW: Multiboot-Touchbootmenu-Integration will come soon :)
[Defy Android Development] xblosa:
Was just about to reinstall because of this. With .61 its working again. Happened out of the blue: no sd-card change.
[Defy Android Development] m11kkaa:
Maybe the kernel is incompatible with the multiboot-module.

Can I flash the kernel only or does it need BL7 for executing?

Edit: No I can't :P Maybe try loading the modules symsearch and multiboot manually and see which error-message comes.
[Defy Android Development] fiskenigaten:
@m11kkaa, just wondering... what do you use as base rom?

Also, maybe you should update the thread title from 2012/04/13 to 2012/06/13 :rolleyes:
[Defy Android Development] m11kkaa:
changed the title :D

I'm using CM9-Froyo. I've compiled the kernel-module with the froyo-kernel sources.

I flashed a Gingerbread-Kernel and after I loaded the module a kernel-exception was thrown and the device rebooted.

I tried to compile the gingerbread-kernel from the CyanogenDefy-repos but I had no success. Maybe I need to checkout another branch.
[Defy Android Development] ela1103:
We are waiting thank you so much for the Multiboot-Touchbootmenu

BTW: Multiboot-Touchbootmenu-Integration will come soon :)[/QUOTE]
[Defy Android Development] antukubo:
Does it work with nandroid CM7? Or just for CM9?
[Defy Android Development] m11kkaa:
It will replace your bootmenu with touchbootmenu.

The only thing which I have to look at is the compatibility with stock roms as base.
[Defy Android Development] vuhothang:
thanks m11kkaa!

with 0.6.1 i can running again multiboot my defy Quarx 20120609+/ GB kernel and virtual epsylon 20120613+
[Defy Android Development] hackergnome:
I've got error while entering recoveries...

http://db.tt/0ywsF7ee <---- error.log

Hope u find the solution...

ROM name is in my sig...
[Defy Android Development] m11kkaa:
Maybe you have not enough free space on your sdcard?
[Defy Android Development] hackergnome:
2gig left...

also cache part is 4mb is it ok
[Defy Android Development] m11kkaa:
Yes I just thought about sdcard-space not about image-space.

Your base-rom is "CyanogenMod9 Skankwich Defy+", right? I'm just asking because I can see from your error-log that you named your virtual-system the same.
[Defy Android Development] hackergnome:
yup... I used to do tests on virtual...

I'll try with more cache size... what should be the minimum?
[Defy Android Development] m11kkaa:
Within recovery your partition-size shouldn't matter.

The problem is, that the virtual devices can't be setup.

Oh wait: While I'm writing this I saw, that you're using Multiboot v0.6

This version has a big bug so it can't work with newly created systems. Please upgrade to v0.6.1!
[Defy Android Development] hackergnome:
Oh yeah!!! derp!! downloaded it but didn't flash!!! lol... will try after flash...
[Defy Android Development] m11kkaa:
Updated to v0.7, which now comes with a full bootmenu.

Your init-scripts, configuration and TWRP(if installed) will be kept.
[Defy Android Development] claudiobastos:
Where is the link for 0.7?

Froyo Red 525 xda premium
[Defy Android Development] bharaththeunique:
A few questions here .....I am gonna try this for d first time.....

1. A few weeks back I had read that there were problems with wajkiui as base rom..... has dat been fixed..????...I am presently on latest wajkiui v4 build...

2. On virtual partition I want to run cm9 skankwich by fuzz....coz dat is updated more regularly.....for dat what is the partition sizes I will require????..will d fsimages given in first post be enough?????presently I have used 211mb of /data partition

....most of the apps I want r there .....

Oh btw....I have defy + running bl6 froyo....dats why tapatalk shows my phone to be mb525.....so every rom I am gonna use will be froyo based.....
[Defy Android Development] m11kkaa:
The Download has the name "touchbootmenuV2.0beta_multibootV0.7-20120618-signed.zip".

But I made a new section "Download" above the installation-instructions where always will be the newest download-link.

@bharaththeunique: The only problem could be the GB-kernel. Because the kernel-modules are made for Froyo-kernel. I need to make some more tests on GB-kernel so I can write a fix.
[Defy Android Development] bharaththeunique:
but now i am on a froyo kernel....so dat shouldnt be a problem rt??????
[Defy Android Development] m11kkaa:
No, it should'nt be a problem but it's always recommed to make a nandroid-backup before flashing multiboot in case you brick your bootmenu.
[Defy Android Development] bharaththeunique:
OK....if I brick d boot menu.....how am I supposed to restore the backup?????
[Defy Android Development] antukubo:
Another 2 issues...

1- 1st virtual runs ok but got problem on 2nd virtual. Can't boot into it. Plus not working during 2nd-system recovery. Both actions will reboot my phone back to nandroid.

2- On previous bootmenu, 2nd-system recovery will bring user to twrp. But new touch boomenu will bring user back to the old school method, which have to use vol+, vol- & power button.

Anyone got the same issues? Or it's just me?
[Defy Android Development] m11kkaa:
@bharaththeunique: flash an sbf, root your phone, install 2ndinit und restore the backup - the usual way.

1) I need more information: base system, virtual-system, error-log

2) You have noticed, that you have two choises for entering multiboot-recovery? stable and custom. stable should start TWRP(if installed).
[Defy Android Development] bharaththeunique:
Oh nooooo........I am scared whenever sbf may be involved.....not that I don't know how to....but coz I don't have access to a PC at all times.....n the thing that a cafe charges 45 inr (about a dollar) just to plug my phone...idiots.......what should I do...?????....no probs rt with multi boot????:confused:
[Defy Android Development] m11kkaa:
Normally your bootmenu shouldn't be bricked but I just wanted to warn you just in case you manage todo it anyway.
[Defy Android Development] antukubo:
nandroid - CM7.2 Stable

1st virtual - CM9 Epsylon3 120617 (ok)

2nd virtual - CM9 Quarx 120308-Defy-hwa (not ok)

I reverted to my previous bootmenu and both virtual runs ok. Reinstall touch bootmenu and the same problem happens again

This is my previous system (using bm_cwm_mb_v0.6-signed.zip)

- Bootmenu v1.1.8 --> boot --> 2nd system

- bring me to Defy Multiboot v0.1 --> recovery (cwm) --> [choose virtual]

- bring me to TWRP v2.1.0 --> this is where i flash nightlies zip

The new touch system

- Bootmenu v2.0-beta --> multiboot --> recovery --> custom recovery

- bring me to Bootmenu Recovery v5.0.6-jordan (which have to use vol & power button)
[Defy Android Development] cyrusct82:
I have the same problem.

Try to reset the overclock settings from the overclock menu after this should work.

P.s. You are on GB kernel?
[Defy Android Development] m11kkaa:
Thats the problem. You have to use:

- Bootmenu v2.0-beta --> multiboot --> recovery --> stable recovery
[Defy Android Development] bharaththeunique:
@m11kkaa......i installed the zip.....went to 2nd system ....selected wiuiv4(my choice).....and den d screen has stayed black fr 15 mins now.......but the capacitive buttons are still on.......what should i do.........?????

scrap that above post....pulled d battery after 20+ confusing and heart in the mouth minutes......blue led came up luckily....went to bootmenu>multiboot and selected my virtual 1....now running simply fine.......

but still i am not able to access twrp from cirtual system....flashed twrp from both real and virtual recovery....but still stable recovery takes me back to cwm 5.6.6.......thsi is kind of an issue coz my wiui backup was from twrp....n its gonna be a long process to restore all my apps manually...............any help??????
[Defy Android Development] m11kkaa:
I still need your error.log so I can say more.

And I can't reproduce your problems with TWRP. Maybe a copy of the folder /system/bootmenu of a not working configuration would be helpful.
[Defy Android Development] antukubo:
Opss... my fault :o . Now entering TWRP...:D

But my 2nd virtual still problem. Error.log as per your request.
[Defy Android Development] m11kkaa:
multiboot has a problem with your foldername. he shows following(the browser does not show this that's why I made a screenshot):
[Defy Android Development] antukubo:
You are right :eek:

At first i use CM9-Quarx - failed.

Rename to CM9-Quarxx - failed.

Rename to CM9-Quar - also failed.

Rename to CM9-Q - working for both recovery & booting!

Huh? weird issue here :p Seems like it can't read a few characters.

Anyway, thanks m11kkaa. You're totally helpful :D
[Defy Android Development] m11kkaa:
For me it does work. The problem were the two binary characters at the end of the name. I don't know how the got there. Maybe a multiboot-manager-bug?
[Defy Android Development] N34S:
hey m11kkaa when will you release a multiboot version which can shift the kernel? :)
[Defy Android Development] m11kkaa:
Currently there are no plans for this or other big features because this needs much work and I never got donations or something which could keep me motivated.
[Defy Android Development] bharaththeunique:
The most I can do for now is a big thanx....wait for two more yrs n I will surely donate!!!!( I am only 16 now!!!!)....

Oh btw....had to revert back from multi boot .....ran out of space in data folder within an hr of restoring....will create my own images when I get access to PC.....multi boot is too good to b left alone ..!!!!!!:thumbup:
[Defy Android Development] espaciosalter20:
Lol... And there it's much to do! Like rewrite recovery to make it prettier and touchy ;)

Enviado desde mi MB526 usando Tapatalk 2
[Defy Android Development] bharaththeunique:
Will d vfs created using mbm v1.42a work with latest multi boot 0.7......i had to use dat to create vfs of a large size...300mb not enough for me.....if not ...can anyone pls create vfs of following sizes and zip dem up n upload from me....??

Cache:250mb

Data: 800mb

System:500mb
[Defy Android Development] brajesh.sharma87:
use the windows app from this thread to make ur own .imgs
[Defy Android Development] SkyKOG:
Well this is my second time coming to multiboot.... even last time had faced this problem.... I'm using latest epsilon build on 2nd system.... the problem is I can't access my SD card contents neither apollo or gallery can scan any media... accessing through file manager works though....

Pls help....

Sent using xda premium from Defy ~＠^_^＠~
[Defy Android Development] @non4:
I'm having an issue with the new touch multiboot. I use CM7 euroskank version which has touch bootmenu by default, the problem is I flashed a rom (euroskank cm9) with no problems in the multiboot recovery, but I can't actually get it to boot. I select 2nd system, then it reboots into my main system. Any idea what I did wrong or is it a bug? I used multiboot/recovery/custom recovery, stable kept freezing during flashing process

Sent from the real world by hacking into the matrix
[Defy Android Development] antukubo:
one of my virtual is using MBM 1.42a and the other one is using fsimages. Both are working fine with multiboot 0.7 ;)
[Defy Android Development] bharaththeunique:
Ya.....thnx.....already tried n working awesome now.....d windows application gave me a blank folder though.....
[Defy Android Development] m11kkaa:
Are you using GB-Kernel? This is not supported.
[Defy Android Development] @non4:
No I use froyo kernel

Sent from the real world by hacking into the matrix
[Defy Android Development] SkyKOG:
Pls somebody kindly help with the SD card issue.... thnx ....

Sent using xda premium from Defy ~＠^_^＠~
[Defy Android Development] brajesh.sharma87:
I dont know, what this bug is but I never had this issue.

Nand - CM9

Virtual - CM7

both skank build.
[Defy Android Development] aribis:
cannot access SD card from usb in virtual system

now i am facing a situation where i am using CM9 as my real system and CM7 as virtual sys ...and when i am booted into my virtual sys i cannot access my SD card through usb...real sys is working fine...what might be the problem guys?

CM7 is Skank

CM9 is Epsylon 17th June

Green lense defy
[Defy Android Development] aribis:
No reply?...guess this problem is normal...or is no one listening?
[Defy Android Development] UEman:
You need to unmount your sdcard to use it at the pc, however you can't do that because the virtual system runs on it... :P
[Defy Android Development] brajesh.sharma87:
what? the sd card is always accessible on PC) from both real and virtual system.

Edit: I was wrong :D
[Defy Android Development] TweetyPeety:
Got some motivation

Gesendet von meinem Optimus 2X mit Tapatalk 2
[Defy Android Development] aribis:
need help with Froyo 2nd boot

hi

i would like to install SEA Froyo as my 2nd system under multiboot environ...can someone help me with the procedure please?

i have tried to restore from nand backup of Froyo under 2nd system recovery but that gave me an error with "problem while restoring system"

i am currently on CM9 Skank build an my main system and CM7 Skank as my second boot...

Green lens here...anyone any idea?
[Defy Android Development] fiskenigaten:
How big is the system.img? Try to make it bigger! E.g. 400mb :)
[Defy Android Development] aribis:
will try that...thnx...i am trying with 300mb for sys.img...but my question is can we install Froyo under multiboot as second sys from a nand backup...if not where can i get a Froyo build as zip installable...i have tried one from Pays Rom but that zip is no longer supported as i get the depricated coding error while install zip...
[Defy Android Development] m11kkaa:
Froyo-roms should work, too

Theoretically, everything should work if you are using the right kernel.
[Defy Android Development] aribis:
Am using Froyo CM7 kernel-signed.zip used for CM9 installation...do i need to change kernels?

---------------------------------------------------------------------------------------

ok guys got it working...system.img increase to 500mb solved the problem...was able to restore from nand backup..!

Thanks @fiskenigaten

And thanks m11kkaa...i got back my Froyo (without losing CM9) for you...thanks a lot!
[Defy Android Development] Kurt Krummbein:
No 'Root control' in Developer options of CM9 with multiboot?

Hi there,

i'm running Epsy's CM9 nightly 20120617 multibootet. Looks like the 'Root control' is lost when bootet with multiboot.

Any hints?

Ciao

Kurt
[Defy Android Development] SkyKOG:
Does wipe data on virtual still cause removal of base ROM data ??? ... i have latest mutiboot and TWRP ...

sorry little outdated ...

thnx ...
[Defy Android Development] brajesh.sharma87:
what r u saying? The answer is NO.

was this bug there in any previous version? :O
[Defy Android Development] m11kkaa:
He talks about the ".android_secure"-folder (App2SD).

Since I didn't found a working solution this still happens.