yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Original Android Development] munjeni:
Sorry but whole comunity in our thread was very silent, only few guys reported things! I need more testers because I can not trust only few guys which have slow boot bug or which have no network signal or which have no skills for installing bootmenu! :( I must be double sure for these bugs since I am not sure if bugs is bootmenu related or users related or phone model related...! I need detailed report, for example:

1. my device is D6903

2. I have slow bug

3. slow bug is only on rom blabla

4. slow bug is not on rom blabla

5. no network on blablablah rom

6. etc...etc

Thats how our development must go, without great testers (mean - I want experienced users and no noobs) I can not fix things, sorry. Whole community looks like "not interesting" for our bootmenu :( No other devs to help...etc :(

I not abandoned our project, I have started improving boot menu, got some improvements like "no need for reboot in bootmenu" since now menuentries is addedd and refreshed automaticaly... will add submenu - option for rom removal, allso I have plan to use bind mounts instead of using loop mounts...etc. By now only problem is kexec for jellybean roms since I am unable to load jellybean kernel (have no idea why), allso have no way to load recovery for example with cm kernel, but abble to load recovery with stock kernel (strange) ...etc, some stock roms with jb kernel unable to boot...etc. I will try something for jb kernels (probably uncompresed kernels will work since I think compresor cause some problems). Hope some one help here! I am waiting and will not release anything until some one (bit experienced) get interested here.
[Xperia Z1 Original Android Development] abbychauhan:
Ya ur right.. Actually everyone want a thing which is working perfectly.. But what to do, its a common thinking, particularly me.. Following this with all the support.. Matter of fact most of the DEVs are already busy with there own thing and most of the people doesn't Own Xperia Device..

But its good to hear from you
[Xperia Z1 Original Android Development] ntmohammad:
i have c6903 , and on official rom 14.1.G.1.534 (android 4.2.2) .and i did mainrom step with sony official kernel ,,, and mainrom booted with no slow boot bug !
[Xperia Z1 Original Android Development] Chocolatetrain:
The problem is with

Doomkernel
[Xperia Z1 Original Android Development] abbychauhan:
Slow boot bug has been removed.. Now u try second part and see if u can boot a AOSP ROM as Secondary ROM
[Xperia Z1 Original Android Development] SafiXS:
Ok, thats true.

I will do my very best to report you bugs i've found or I confrim users reports.

Progress for tonight: Installing Bootmenu once again :D

Thats would be very bad if you stop this project, this is the only one way to have the both (Sony & CM) features at the same time on our device. Maybe someone don't know what Multiboot is :D

Regards SafiXS
[Xperia Z1 Original Android Development] munjeni:
Well, let me know if my recovery is working on Z1 :)
[Xperia Z1 Original Android Development] SafiXS:
On my C9603 it boot nice and do the things who have to do like installing zip, wipe data/system...

---------- Post added at 11:56 PM ---------- Previous post was at 11:23 PM ----------

Installed Successfully.

I've flashed the Stock .757 (Doomkernel) as primary and latest CM11 Nightly (Stock Kernel) as secondary Rom.

I've noticed my primary Rom takes some time (30 seconds) to get the kernel Bootlogo everything else work as it should.

Is there a way to Flash .zips on Secondary rom like rom updates, kernels or customisations?

Regards and thanks for your efforts

SafiXS
[Xperia Z1 Original Android Development] abbychauhan:
http://xdaforums.com/showthread.php?p=53076327

Page - 28 Post #277
[Xperia Z1 Original Android Development] dolly.anupriya:
Can v try.. U say No noobs :(
[Xperia Z1 Original Android Development] SafiXS:
i realy have problem to understand what you want to say
[Xperia Z1 Original Android Development] Ashray_Vk:
It's not as hard as it looks, [MENTION=5618877]abbychauhan[/MENTION] guided me through whatsapp and he guided me very well :)
[Xperia Z1 Original Android Development] munjeni:
By now update packages seems not supported since it will make a new menu entry if you gona patch them! I sugest to all to patch updates manualy by looking into my tutorial here -> http://xdaforums.com/showpost.php?p=51946219&postcount=18 thats all you need to modify for UPDATE packages! If you gona install superuser and similar packages, you must know these packages is no-standard since updater_script is empy and all things in moved to the updater_binary! I no gona add support for UPDATE packages from these reason! Only complete ROM packages is supported in my 2 click solution. Maybe I will investigate and add update packages support but I not promising since I have no idea how to parse all of them propertly since some of the packages "as I say" is in no-standard flashable format! :)
[Xperia Z1 Original Android Development] munjeni:
Before I give you a new bootmenu and bootmenu_honami please do some tests for me. Please let me know if my recovery is working by kexec! How to test:

1. rename your mainrom folder to mainrom_bak (to make posibility to restore them later)

2. put my recovery.img (http://xdaforums.com/showpost.php?p=53213487&postcount=341) to the mainrom folder and rename them to boot.img

3. copy settings.ini to your local hard drive, rename settings.ini to settings.ini.bak on your phone (to make restore them easily after recovery test)

4. reboot to bootmenu and do mainrom step

5. reboot again to bootmenu, your bootmenu will get new menuentry: mainrom (that will be only rom entry you can see)

6. boot into "mainrom" and let me know if my recovery can boot

7. restore everything to the "your old state" (mean: delete new mainrom folder and rename back mainrom_bak to mainrom, rename settings.ini.bak to the previous state "settings.ini" or use adb shell to restore your settings.ini to the old working state by command:

adb push settings.ini /data/media/0/bootmenu/

adb shell rm -rf /data/media/0/bootmenu/mainrom

adb shell mv /data/media/0/bootmenu/mainrom_bak /data/media/0/bootmenu/mainrom

adb shell reboot

I am waiting... let me know! ;)
[Xperia Z1 Original Android Development] SafiXS:
Maybe i do something wrong but in bootmenu i only got the mainrom entry without mainrom_CWM.

By the way, i never got a CWM option for mainrom, only for secondary roms.

The only one step maybe you forgot is to rename recovery.img to boot.img?

EDIT: We have to boot into mainrom :D it causes a reboot
[Xperia Z1 Original Android Development] munjeni:
Sorry I have edited my post, please refresh your page and read my post again, sorry!
[Xperia Z1 Original Android Development] abbychauhan:
Remove
[Xperia Z1 Original Android Development] SafiXS:
Boot in mainrom dont work. device reboot
[Xperia Z1 Original Android Development] munjeni:
Ok, but are you sure you folowed coreclty this post -> http://xdaforums.com/showpost.php?p=53228201&postcount=348 Thats urgent info for me by now before I make a new version since I must be sure my recovery will work!
[Xperia Z1 Original Android Development] SafiXS:
LOL! So sorry Dude,

i've copy the bootmenu.img instead of recovery.img o.O

After enter mainrom i see the bootmenu v1.5 logo and than....... Recovery!

It works dude
[Xperia Z1 Original Android Development] munjeni:
Thank you! Compiling new version now! :)
[Xperia Z1 Original Android Development] munjeni:
New bootmenu.img and new bootmenu_honami.zip ! Changelog:

- increased data partition to default to 1gb (thats needed for stock based roms)

- new cwm (my version recovery for all patched roms + for main rom = you can install stock roms or stock based roms now)

- fix for boot into jellybean roms

- auto refresh (now you no need to reboot after patch since menuentries will be displayed imediatelly)

- in main step you will get mainrom-CWM now, and every your future patched roms will contain my recovery
[Xperia Z1 Original Android Development] munjeni:
I think you have stable version now! Let me know please! I have tested: Stock kitkat, stock JB, CM11... all is working on Z1C! CWM allso working on all kernel versions (not tested DooMkernel sorry) ;)
[Xperia Z1 Original Android Development] munjeni:
Ohh and one more thing which I forgot... please attach here screen shoot of the CMW (I want to see how its looking on Z1 :) ...Simple press camera button to take a screen shoot :))
[Xperia Z1 Original Android Development] abbychauhan:
Any change of instructions?
[Xperia Z1 Original Android Development] munjeni:
Nothing special! Diferencie between old and new one is:

1. my cwm is now added to the menuentry for all roms (now mainrom will get by default my CWM so you will be abble to operate in your mainrom by using my CWM)

2. some cleanups in multiboot.sh

3. changelog from previous post

How to install (you no need to delete anything, but if you need CWM for main rom than remove mainrom folder zImage, dt.img and initrd.gz + rename settings.ini to settings.ini.bak -> after you perform mainrom step than simple restore your old settings.ini -> done):

1. flash bootmenu.img

2. copy bootmenu bin folder and multiboot.sh by overwriting your bootmenu things, done. :)
[Xperia Z1 Original Android Development] dolly.anupriya:
Because there will be so many Noobish questions
[Xperia Z1 Original Android Development] munjeni:
Forgot to say... cwm screen shoots will be saved to the external storage / recovery_screenshoots folder! Give me your please! On Z1C it looking like picture from attachment :)
[Xperia Z1 Original Android Development] dolly.anupriya:
ok thanks
[Xperia Z1 Original Android Development] abbychauhan:
Thanks I ll try as soon as i reach home
[Xperia Z1 Original Android Development] SafiXS:
Thank you for that Sir! <3

Actually i stuck in Bootscreen of your recovery. Maybe cause of Doomkernel?

The time till the bootlogo is shown takes also ca. 30 seconds, same with mainrom.

If i can enter your Recovery i will show you your screeny ;D
[Xperia Z1 Original Android Development] abbychauhan:
Dont worry Most of the Noobish que has been asked already.. People are helpful here.. Specially munjeni .. ;)
[Xperia Z1 Original Android Development] dolly.anupriya:
Its ma'am Actully,

and thanks [MENTION=5618877]abbychauhan[/MENTION]
[Xperia Z1 Original Android Development] munjeni:
1. Previous bootmenu version had a better boot time?

2. Importand to me now is these CWM since CWM must boot with all kernels! Please try again recovery.img trick with mainrom and please let me know than (since our bootmenu --min-addr=0x20000000 instead of previous one 0x30000000 "that was JB fix on Z1C" so I aplied to Honami too!)
[Xperia Z1 Original Android Development] SafiXS:
okay, now i've copy the stock kernel inside folder and installed it with patching... Everything boots now, recovery also.

The reason is Doomkernel :crying:

Doomkernel causing long boottime and will distroy your recovery

Edit: OOOOps, it looks like the screenshot had some problems
[Xperia Z1 Original Android Development] SafiXS:
At the moment i dont have Multiboot anymore, i've deleted the 1.5 Version who was supported doomkernel from my pc -.-

Maybe you can make a history of every version to download here?

Can you upload 1.5 again for me to get my stock rom working?
[Xperia Z1 Original Android Development] munjeni:
Please give me some ansfers I need them:

1. previous bootmenu worked better?

2. previous bootmenu had a better boot time?

I going to make new version and going to fix cwm screen shoot. Need some info first! You no need previous version and I do not have previous version on my hard disk, instead I will make a better version!
[Xperia Z1 Original Android Development] SafiXS:
1. previos bootmenu worked with doomkernel except boottime is about 30 secounds

2. on both (new and old one) boottime is the same

example:

v1.5: Primary Rom (Stock) with Dommkernel boot with 30 sec delay

____Secondary Rom (CM11) with Pimped Kernel boot immediately in Rom and Recovery

v1.6: Primary Rom (Stock) with Doomkernel (Patched with new System) won't boot in Recovery to patch the patched .zip

____Primary Rom (Stock) with Stock Sony Kernel boot in your recovery and in rom.

____Secondary Rom (CM11) with Pimped Kernel boot immediately in Rom and Recovery
[Xperia Z1 Original Android Development] munjeni:
You doing wrong in mainrom step since you trying to boot into recovery to install patched zip for main rom! Mainrom not working by that way! Only secconds roms use recovery for installing patched zips! Try by this way:

- delete old zImage, old dt.img, old cwm_initrd.gz and old initrd.gz from mainrom folder, than reboot to bootmenu and perform mainrom step! You will get them working than I am sure!
[Xperia Z1 Original Android Development] munjeni:
Complications and confusions here again, sorry! Guys, you need to understand diferencie between MAINROM things and SECCOND ROMS things!

MAINROM:

0. mainrom is rom you had before bootmenu! For example: you had stock rom before bootmenu than your mainrom will be stock rom. Or for example you had CM rom before bootmenu than your mainrom will be CM rom

1. mainrom step is performed ONLY ONCE and never again IF FOLDER BOOTMENU NOT contain zImage, dt.img, cwm_initrd.gz, initrd.gz. BUT if folder contain these files than bootmenu will SKIP mainrom step since will think that you have finished mainrom step. SO if you going to change mainrom kernel you will need to delete these files and ONLY THAN perform AGAIN mainrom step!

2. CWM of the main rom is not used for installing PATCHED mainrom package since mainrom.zip in mainrom folder is fake (empty) zip! So if you acidentally patch mainrom.zip twice than probably your mainrom folder files will be deleted! So from these reason maybe you were unable to boot into main rom or mainrom cwm! Check that please! Remember: mainrom step is performed only once + you can not use cwm to install mainrom.zip + never patch mainrom.zip twice if you not deleted zImage...etc from mainrom folder because bootmenu will think that you going to install mainrom.zip a a seccond rom so probably will delete your files in mainrom folder or probably make them fake!!! If you realy want to perform mainrom step again (by thinking to use a another kernel) than always remove zImage, initrd.gz, cwm_initrd.gz, dt.img!!

SECCOND,THIRD...ETC ROMS:

0. seccond roms you have installed to the bootmenu folder

1. its performed only when you have completed mainrom step! Its skipped if you not completed mainrom step! You will not be abble to patch seccond rom if you not complete mainrom since bootmenu is programed to check for files existence in mainrom folder!

2. seccond roms cwms is used for installing and managing PATCHED zips, for managing your seccond roms things

3. every patched rom will get my cwm and cwm submenu (til after rom entry in bootmenu screen), so for example if you have installed blablabla rom you will get 2 entries: 1. blablabla 2.blablabla-CWM So alway use blablabla-CWM for managing blablabla rom!
[Xperia Z1 Original Android Development] SafiXS:
Sorry I'm new in this MultiRom stuffs.

Update

v1.6: Primary Stock with Doomkernel boot in Rom + your Recovery! :D But both had the 30 Seconds delay. Thats only with the Doomkernel

Big sorry for my misstake
[Xperia Z1 Original Android Development] munjeni:
Great! No problem here since I want to explain a much beter as posible how our things working, everyone have some confusion since have no knownledge in multibooting, but trust me things is very easy! Everyone must understand how things working here, than I am sure you will be in love with our multiboot :) Multiboot is in development stage, I need to iprove them, for example I must improve bootmenu, for example I will need to add "remove" option, or for example "reinstall mainrom kernel"...etc

I can see your cwm screen shot is not good, ok, I will fix that now! Need one file from someone:

- give me file by command:

adb shell cat /dev/graphics/fb0 > fb0.txt

fb0.txt fill be created in the same folder where is your adb.exe, post your file here, I will analyse them and make new cwm
[Xperia Z1 Original Android Development] SafiXS:
If needed anymore

fb0.txt
[Xperia Z1 Original Android Development] munjeni:
I have no idea whats going on with DooM kernel, probably kernel uncompresor need a fix? I will be glad if DooM check that and fix them.
[Xperia Z1 Original Android Development] munjeni:
Thanks! Resulting picture is not good, probably corupted fbo dump, see http://munjeni.homeunix.com/img.png , but if possible please give me another dump to be sure if I am not wrong before I gone to fix cwm
[Xperia Z1 Original Android Development] Gladwin_Prince:
[MENTION=4120742]munjeni[/MENTION] i think you should have a look at this.... I had a Xperia Play before getting Xperia Z1.... Xperia Play had a MultiBoot kernel developed by cosmicdan... The kernel itself had a Boot Menu which asked the users for settings(For Each OS) and did all the modifications required by itself... In fact, we can boot GB/ICS/JB all in a Single Kernel... I have added the links for cosmicdan's Github repository and the kernel sources below. I don't know anything about github, so i don't know whether i have given the correct links.

Link to Cosmicdan's Github: https://github.com/cosmicdan

Link to Multiboot Turbo Kernel Sources: https://github.com/cosmicdan/Xperia-2011-Kernel-2.6.32.9-KRsH

Link to Turbo kernel: https://www.dropbox.com/sh/hvzqcov7z7egcsc/JnP6BGmtbw(It is the compiled kernel itself, but i dont think it will be of any use)

Note: I don't know anything about kernel development or it working, i have just given the above information from my experience. Hope it helps.

Sorry if the information i have given above is wrong.
[Xperia Z1 Original Android Development] munjeni:
Mutliboot is an easy thing, hard thing is "what to boot"! You can not boot into something if you have no something! For example, to boot into another rom you need to accesss these rom space! Rom space can not be in same folder where is your main rom! So for example you can not place another rom in system folder since there is no free space! To install another rom you need to make another space (dedicated)! I have doing that by making external file based partitions on internal sdcard, so another rom is installed to these partitions. There is no one click method for booting into another few roms! I believing that these kernel is used with another hard work and there is allso no one click installation! Things is not easy as you think!
[Xperia Z1 Original Android Development] Gladwin_Prince:
I think it boots all variants of android..

Edit: it does the same thing.. it creates ext3/ext4 file partitions for different roms.
[Xperia Z1 Original Android Development] munjeni:
From where it boot them?? There is no magic to boot them or install them without working hard fist for preparing them to one click installation! I think method is the same like method from our multiboot. There must be allso external partitions, and allso there must be "hand work" on ramdisks, rom.zip...etc
[Xperia Z1 Original Android Development] Gladwin_Prince:
Sorry [MENTION=4120742]munjeni[/MENTION] if i am irritating you..

But it works the same way you say... once you boot into Multiboot Menu and once you choose to install a new Rom in a new partition, it creates the ext3/ext4 partiton file (whichever you choose) in SD card of specified size. I think you could rewrite it to work with Internal Storage.

It needs only 1 or 2 lines of change in the updater script..
[Xperia Z1 Original Android Development] munjeni:
No mate, you not iritating me, I love all sugestions! I am out of ideas but I have plan to make things more easy! Just want someone with idea to help me! Hope someone dev do it for all you, or hope someone create a tool for that which will work with my boot menu, for example maybe someone make a tool which will work for example with updater script and make direct installation to external partition + add menu entry in setting.ini... automaticaly without need for hand work...
[Xperia Z1 Original Android Development] Gladwin_Prince:
I am a NOOB, so i don't know anything about these tools. Hope you developers here in Xperia Z1 forum would make the Multiboot work easier..:D
[Xperia Z1 Original Android Development] ChrisFirerabbit:
If you need help, you might want to ask Androguide.fr for assistance, currently he has been working on his kernel for the Z1 with crazy modifications, such as voltage change, audio mods, CPU governors, and a whole bunch of other mods that I barely understand, and that's not even sratching the surface. Bottom line is, I am sure if you ask him, he would be glad to help as he has already shown interest in this kernel from his previous post.
[Xperia Z1 Original Android Development] krabappel2548:
Use a modified recovery which uses scripts to create linked partitions on sdcard, there all rom data etc can be stored. Ramdisk en zImage-dtb can be booted from sdcard too I think. I'll take a look this week or next week to see what's possible.
[Xperia Z1 Original Android Development] munjeni:
You can not just boot ramdisk and kernel since:

1. ramdisk is configured to use main partitions (/dev/block/platform/msm_sdcc.1/by-name/XXXXX) instead of one file based (/dev/loopX) ! So you need to add support for that! Allso ramdisk of the rom missing busybox, so you can not use tools like losetup since its missing...etc !

2. zImage have no appended DTB! So kexec can not boot them! So you will need to make dtb zImage !

All things must be manualy edited, or by an automated script! :)
[Xperia Z1 Original Android Development] krabappel2548:
The kexec I made in stock kernel has support for separate dt.img ;) and yes ramdisks need to be edited to use right partitions.
[Xperia Z1 Original Android Development] munjeni:
Ok thats great! What is part of the kexec command parameter for loading external dt.img?
[Xperia Z1 Original Android Development] krabappel2548:
Oh no it hasn't, but wait I think I have another kexec somewhere which does support it :p let me search for it tonight when I'm home from a birthday party :)

EDIT: can't seem to find it, but I'll take a look at my dual boot method to see if I can make things easier ;)
[Xperia Z1 Original Android Development] M7ammad:
Munjeni

OH MASTER MUNJENI IS WORKING ON OUR Z1!!!!! The best developer ever from Xperia Sola . :D