yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] LIONS1:
I have an issue if I use Sony stock based ROMS with provided kernel from op as primary ROM and CyanogenMod 11 or any other KK or RR LP ROMS as secondary ROMS every thing is okay even if I used CM 12 as primary and CM 11 as secondary this way working okay but if u want to use any Sony stock based ROMS as secondary ROM I can't do that in recovery I get can't load bootimg or can't compress bootimg.

So how to use Sony based ROMS as secondary ROMS?
[Xperia Z1 Compact Original Android Development] Rempty:
[MENTION=4399726]LIONS1[/MENTION]

download this http://d-h.st/K4s is a flashable stock kernel via recovery.
[Xperia Z1 Compact Original Android Development] TD0711:
hi guys, i have tried both fastboot and flashtool with fastboot mode but i can not flash the kernel as shown on the post. my fasstboot kept saying error for write. Is there anyway i can get it done? I'm on 108 rom with 157 kernel as my device needed to be rooted. Thanks
[Xperia Z1 Compact Original Android Development] LIONS1:
I can't flash this to secondary ROM

I tried Sony stock ROM and DoomaLord's

They failed to flash to secondary ROM
[MENTION=5156330]Garcia98[/MENTION] is there a way to use Sony based ROMS as secondary ROMS?
[Xperia Z1 Compact Original Android Development] torjohron:
Could you also make a flashable stock Kernel w/ kexec-hardboot patch?

---------- Post added at 12:22 PM ---------- Previous post was at 12:21 PM ----------

It is possible to get this working with NUT's DualRecovery? I would have been a perfect match :cool:
[Xperia Z1 Compact Original Android Development] Garcia98:
Absolutely no, MultiROM TWRP has just all what you need
[Xperia Z1 Compact Original Android Development] russel5:
[MENTION=3001574]Garsia98[/MENTION], tell, can we use zip archive made by this tools as second ROM?

http://xdaforums.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904

UPD: No, we can't
[Xperia Z1 Compact Original Android Development] Garcia98:
New recovery release is out!

Hi! I bring you good news, thanks to [MENTION=3418703]Tasssadar[/MENTION] finally we can install any Lollipop ROM as secondary ROM, even if it has a block image based OTA, so you'll be able to install official CyanogenMod 12 releases, etc.

Also the new update of the MultiROM Manager app includes full support for this device ;)

Download latest recovery: TWRP_multirom-amami_20150121-00.img
[Xperia Z1 Compact Original Android Development] torjohron:
Got correct kernel with kexec-hardboot patch and recovery working but multirom won't install.

Stock: 4.4.4 - .157 and multirom ver 1.174

[IMG="Screenshot"]https://s3.amazonaws.com/pushbullet-uploads/ujCfZKSlnFI-4EvRj6PjXmZ143qGThETR7cPzn2WeK5g/Screenshot_2015-01-22-09-39-11.png[/IMG]
[Xperia Z1 Compact Original Android Development] russel5:
[MENTION=5156330]Garcia98[/MENTION] i can't download your MultiRom.zip, fix this pls
[Xperia Z1 Compact Original Android Development] sheraro:
can we use this wih bootloader locked ? I'm afraid it's not coz my stock kernel isn't kexec or is there a way to flash this kernel with locked bl ?

oh and there is no Multirom in http://hubdroid.com/~Garcia98/multirom/amami/ !
[Xperia Z1 Compact Original Android Development] Rempty:
[MENTION=4441415]sheraro[/MENTION]

You can't use this on locked bootloader.
[Xperia Z1 Compact Original Android Development] zapador:
Fantastic Mod

Really awesome, this is a fantastic mod.

It let me test all rom without delete my primary one and allowing me to return to it at any time. Just MUI 5 does't install as secondary.

Million of thanks
[Xperia Z1 Compact Original Android Development] Garcia98:
Perform a manual installation

Fixed, sorry n_n"

MultiROM doesn't support ROMs with AROMA installer
[Xperia Z1 Compact Original Android Development] russel5:
Thanks [MENTION=5156330]Garcia98[/MENTION], but i already compiling my own zip and recovery.
[Xperia Z1 Compact Original Android Development] Garcia98:
OK, however there are no new changes in sources
[Xperia Z1 Compact Original Android Development] jdstrydom:
Wow. Nice. Running amg evo 9 with .108 Base and .157 kexec kernel as primary, and VanirAOSP LP 20/01 as second rom on internal. Absolutely brilliant.
[Xperia Z1 Compact Original Android Development] sharonliu:
can i ask a question? why i can successful install cm-12-20150123-NIGHTLY-amami to internal memory or usb drive and boot both, but i cant boot on sd card. Thank you for your contribution of this good tools.
[Xperia Z1 Compact Original Android Development] sheraro:
- How can we install new rom in external sdcard ?

- I think 2nd rom share internal sdcard with first rom, I don't find any folder in "/data/media/0/multirom/roms/cm-12-20150122-NIGHTLY-ama/data/media"and when I download something in 2nd rom I find it internal download folder in first rom

- How to change rom icon in multiform boot menu ?
[Xperia Z1 Compact Original Android Development] casiocas:
Hey!

In the recovery(I have duallock recovery installed), it says: E:Error executing updater binary in zip '/external_sd/MultiROM-v30x-170115-UNOFFICIAL-amami.zip'

What I can do? Can someone clear the things for me? Thank you!

Peace for all!!! :cool:
[Xperia Z1 Compact Original Android Development] Rydzu033:
Hi, I found a little bug. My phone was completly power off (discharged), when I connect to charger, phone boot-up but instead charging battery icon there was yellow screen. Also I have one question about others kernels with hardboot kexec patch. Is it possible to use doomkernel in the primary rom, I know that this kernel dont have a kexec hardboot patch. What about of including this patch in Doomlord kernel ?
[Xperia Z1 Compact Original Android Development] Garcia98:
Hum, how is formatted yout external SD card?

1) When you're adding a ROM install it to /dev/blovk/mmcblk1p1 that's your external SD card

2) Yes, they share internal SD card

3) Using MultiROM Manager app

Read OP.

Ask to DoomLord kernel developer to include kexec hardboot patch
[Xperia Z1 Compact Original Android Development] sheraro:
I added new CM12 rom in /dev/blovk/mmcblk1p1 and "multirom-amami/cm12..." folder was created in external sdcard with all the img's in it but for some reason the rom is not listed in multirom app nor in multirom boot-menu (internal tab nor external tab) so I can't boot it !

I can view the rom in multirom-recovery though after choosing external-sdcard

ps : my sdcard is extfat
[Xperia Z1 Compact Original Android Development] casiocas:
Read OP.

Hey!

Dose it depends from recovery? Because I have dualrecovery?

I even cant fastboot flash recovery- it says FAILED(my bootloader is unlocked)???

Peace for all!!! :cool:
[Xperia Z1 Compact Original Android Development] funiewski:
Are you on stock rom? If yes start with flashing cm kernel with fastboot, after that flash recovery
[Xperia Z1 Compact Original Android Development] Garcia98:
Try formatting it to FAT32, BTW, ROMs installed in external SD card are not listed in MultiROM manager app and in MultiROM menu they are shown in External tab.

Flash boot.img that you can find at OP and then the recovery that you can find at OP.
[Xperia Z1 Compact Original Android Development] casiocas:
Hey!

Fastboot the .img or flash? In fastboot it says FAILED:Cannot send remote command???

Peace for all!!! :cool:
[Xperia Z1 Compact Original Android Development] Garcia98:
For boot.img: fastboot flash boot boot.img

For TWRP.img: fastboot flash FOTAKernel TWRP.img
[Xperia Z1 Compact Original Android Development] casiocas:
Hey!

Thanks, but I know the commands. It says in SERVICE INFO/CONFIGURATION- bootloader unlock allowed: Yes. Dose it must say after unlock this: Yes or something else? In flash tool I unlocked and locked for several times to be sure, that my bootloader is unlocked. How I can check this in the other way, dose my bootloder is unlocked?

Thanks!

EDIT: Like I sayed, it shows after

fastboot flash boot boot.img

_FAILED(cannot send remote command)

Peace for all!!! :cool:
[Xperia Z1 Compact Original Android Development] Garcia98:
Your bootloader is not unlocked, you MUST unlock it to use this feature.
[Xperia Z1 Compact Original Android Development] sheraro:
Oh!! I have 60go of tiny files in my sdcard (mostly linked game folders) and it will be a real pain to transfer all of them to PC to reformat to fat32 :( I guess I will stick with my low-space-internal-memory-notification for now...

Hum...can we expect... Hum...exfat support in next version ? :D
[Xperia Z1 Compact Original Android Development] mkayy:
pls i cant flash the patched kernel ion fastboot mode on my z1 compact.

can you pls upload the .ftf type of the stock patched kernel . i will be very thankful
[Xperia Z1 Compact Original Android Development] Casserole:
It must say "Bootloader unlocked: Yes", not the "Bootloader unlock allowed: Yes". Unlock it on sonymobile.com.
[Xperia Z1 Compact Original Android Development] temp2010x:
Pliss. How to as I get instructions to path kernel CM12 ??

1. I download file boot.zip

2. ??
[Xperia Z1 Compact Original Android Development] TD0711:
hi guys, this is kicking my head in for awhile but so far i have tried to follow instruction as op but i cant flash the kexec kernel as post in the post. Is my phone need to be unlocked my bootloader as in it is locked atm? thanks
[Xperia Z1 Compact Original Android Development] Garcia98:
New recovery release is out!

Hi guys!

A new recovery release is out, it has added the filesystem tools that were missing and it disables screen timeout ;)

Download latest recovery: TWRP_multirom-amami_20150201-00.img

Also if you have touch issues in MultiROM menu tell to your ROM or kernel developer to merge this patch that I have developed for fixing this issue: https://github.com/CyanogenMod/andr...mmit/907103b43eed80bd2bef89beb957d4052311ae67 :)

Well, adding support for non-fuse exFAT is really hard as it is a propietary software with closed source, however exFAT-fuse works, because I have formatted my USB drive to exFAT using TWRP and it works fine :)

Flash it in recovery, open MultiROM Manager app and follow its instructions.

You have to unlock your bootloaders.
[Xperia Z1 Compact Original Android Development] Giesama:
kernel patch

Is there a way to do install MultiRom in KitSlim_AMG_Evo9 14.4.A.0.108 (primary Rom)?
[Xperia Z1 Compact Original Android Development] Garcia98:
Yes, flash stock kernel with kexec patch that you can find at OP
[Xperia Z1 Compact Original Android Development] zapador:
Yes, I have it and runs perfectly
[Xperia Z1 Compact Original Android Development] redfish65:
Multi rom brightness on boot

Is there any other way to turn the brightness up on the multi rom screen see image below. I have it set to 255 in TWRP under multi rom settings but it is still too dim. Thanks
[Xperia Z1 Compact Original Android Development] Garcia98:
Go to /data/media/0/multirom and edit multirom.ini file. In brightness you can change the value from 0 to 4095 ;)
[Xperia Z1 Compact Original Android Development] rob rich:
Hi, i have RR lollipop as primary Rom and want to use Sony Rom (munjeni's .108) as secondary, but it doesnt Boot...after some time on Sony Logo it reboots. Any suggestions?
[Xperia Z1 Compact Original Android Development] redfish65:
Thanks

Thank you very much it worked like a charm.
[Xperia Z1 Compact Original Android Development] Casserole:
Is it normal that I can control the MultiROM menu only by volume keys and touchscreen is not working correctly?
[Xperia Z1 Compact Original Android Development] Garcia98:
Yes if you're using a custom ROM or kernel without this patch: https://github.com/CyanogenMod/andr...mmit/907103b43eed80bd2bef89beb957d4052311ae67

Tell your ROM or kernel developer to apply it ;)
[Xperia Z1 Compact Original Android Development] Giesama:
boot from usb

Multirom run now and it is great. But now I have to try install different roms on usb drive. E.g. cm-Resurrection_Remix_LP_v5.3.2-20150127-amami.zip, EXR.MN-Ming_Xperia_Z1 V1.6A.zip or RockZ1k_Version2.0_Z1.zip. the installation works,but the roms don't boot from usb. Why? I have try out other filesystems (fat32, ext3,ext4,fat,....)
[Xperia Z1 Compact Original Android Development] goldfinv:
Multi ROM works fine. Was able to install secondary ROMs (RR and SLim R lollipop) but on boot the screen is dim and touch not working.

Sent from my D5503
[Xperia Z1 Compact Original Android Development] Garcia98:
Read a bit before posting:
[Xperia Z1 Compact Original Android Development] goldfinv:
I did read, a lot. Sorry wasn't clear enough. I'm talking about the secondary ROMs when they boot not multi ROM boot menu.

I'm on DstrikerZ1 ROM and using the stock kexec boot kernel from OP

Sent from my D5503
[Xperia Z1 Compact Original Android Development] Garcia98:
And touch is not working in secondary ROM?

I doubt that MultiROM caused that :confused:
[Xperia Z1 Compact Original Android Development] goldfinv:
You're right. It didn't. Multi ROM works fine. My bad
[Xperia Z1 Compact Original Android Development] Giesama:
Any help? Please.
[Xperia Z1 Compact Original Android Development] Garcia98:
Try increasing partitions size
[Xperia Z1 Compact Original Android Development] Giesama:
What for partition? Cash, data or system? I used a 2.0 usb with 16 and 32GB and a 3.0 Usb with 32GB. I think the usb is don't wake up when the hands is booting.
[Xperia Z1 Compact Original Android Development] Garcia98:
Try increasing system partition
[Xperia Z1 Compact Original Android Development] Giesama:
MultiRom App

I have this Problem. (i can´t upload picture??!!)

In the app:

MultiRom: v30x

Recovery: N/A

Kernel: Supports kexec-hardboot

MultiRom Recovery isn´t installed.

Could not download update info.

I have flash via recovery:

1. Stock Kernel ([Z1C-4.4.4_108] NUTStock Kernel [LB_UB].zip)

via fastboot:

1. kexec- stock boot.img

2. TWRP_multirom-amami_20150201-00.img

And increase partitionen don´t work for the problem with the booting from usb device.
[Xperia Z1 Compact Original Android Development] Giesama:
Roms with Aroma installer

It is in the future possible install roms as secondary with aroma installer? This is for me very important, because the most roms with stock apps (camera, sound,ar-effect, etc) have all aroma installer.

E.g. RockZ1, Evo9, EXR.MN-Ming

Thank you.
[Xperia Z1 Compact Original Android Development] zenrickk:
kexec.boot.img on stock 4.4.4-108 base

where can i get kexec.boot.img on stock 4.4.4-108 base i want this as my primary rom..

can you provide kexec.boot.img for stock 4.4.4-108 base.
[Xperia Z1 Compact Original Android Development] Garcia98:
Use boot.img at OP
[Xperia Z1 Compact Original Android Development] rakieta:
Other rom's

Hello. I am very grateful. something like MultiROM I have always missed. would like to ask whether there may or where can I find other rom's for example ubuntu
[Xperia Z1 Compact Original Android Development] Keshukas:
Thanks for multirom. I installed lilipop som second rom. Working like kram
[Xperia Z1 Compact Original Android Development] BarbasanAB:
Can you do step by step of what you've done... am on evo 9... dualrecovery 2.7.132. I end up in flashboot mode. Tnx for your help or any help from here...

Edit:

Finally working... Thank you...
[Xperia Z1 Compact Original Android Development] Horst the Animal:
more memory

Hey have anyone a idea how i can get more memory for the second ROM? I only have 1,5gb memory and this is to less, i cant really install apps only maybe 5 apps or something like this and than i have only 100mb left from 1,5gb.

greetings
[Xperia Z1 Compact Original Android Development] templeka:
It depends on the space you have left on your internal SD I think. If you keep alot of stuff on your primary ROM on your internal SD you get less space for 2nd ROM. Try using your external SD to store music, games etc for your primary ROM.
[Xperia Z1 Compact Original Android Development] Horst the Animal:
ok i found the solution, i installed it in a second internal storage so logical there is less space, now i install the rom in the normal intern SD and i have same space i have normal free space. thx you!
[Xperia Z1 Compact Original Android Development] LIONS1:
[MENTION=5156330]Garcia98[/MENTION] are you planning to upgrade to version 31 and what about the recovery updates?
[Xperia Z1 Compact Original Android Development] levone1:
Broken TWRP

Using for a few days, and working great. Then yesterday I went to boot recovery and got dead android with red triangle. Multirom and all installed ROMs boot and run fine, but no recovery. I tried reflashing Multirom TWRP, but no change. I flashed regular TWRP, and works fine, but obviously no access to Multidom settings. Any thoughts? I didn't do anything particularly notable before last boot before it didn't work. I had 3 ROMs installed, all LP. Thanks
[Xperia Z1 Compact Original Android Development] 160lightning:
I'm running CM12.1 (just updated to Android 5.1.1 a few days back) on my Z1c as my first custom install and MultiROM for me is a no brainer next step to try some different flavours.

When I open MultiROM Manager app it reports I need the kexec hardboot patch but the 'Kernel' selection on the Install/Update card is greyed out so nothing to select.

Do I need the kexec hardboot patch first before I can run the MRM installation successfully...? Surely the kernel should be listed on the Install/Update card...? My only choice was to try and manually flash and I downloaded and extracted the .img from the 'kernal.zip' link (for CM12) in second post on this thread

When I used adb fastboot flash boot image-new.img it completed the flash at normal light speed but seemingly left me in a bootloop of the flashing 'Trebuchet' blue logo at system reboot....?... I then tried a hard-reset reboot but same result and finally I chose to system restore from my TWRP backup when I decided it was stuck in a loop.

I tried to grab the recovery log of what happened but not sure if it has the correct log-file within as I have no idea how to comprehend a log.... but it's attached anyway and happy to repeat this process to obtain the correct log file if someone can help.

Any suggestions to resolve this would be awesome ..?

cheers
[Xperia Z1 Compact Original Android Development] 160lightning:
I'll try the same question asked a different way

Does anyone have MultiROM on a Z1c working perfectly and happy to describe the exact steps they took to achieve it so I can try and copy....?

(Either with MultiROM Manager or by the 'manual' method)

cheers
[Xperia Z1 Compact Original Android Development] BarbasanAB:
This is what I did:

1. Install MR Manager. Run it to determine whether you have kexec hardboot, the correct recovery version and Multi-ROM.

2. If no kexec, install via fastboot.

3. Flash Multi-ROM zip via recovery (whatever recovery version you're in currently)

4. If your recovery version is NOT the correct one, install the correct one via fastboot (make sure of your commands in fastboot or you will end up in bootloop.

Give Thanks to OP and enjoy...
[Xperia Z1 Compact Original Android Development] sharonliu:
multirom TWRP 2.8.6

I like to share with you my rebuild multirom TWRP 2.8.6

Download Links:

http://goo.gl/YYLwVZ
[Xperia Z1 Compact Original Android Development] 160lightning:
Thanks for the reply....

Can you please confirm the correct fastboot command to install the kexec hardboot patched kernel...?

The link to the download for the cyanogenmod patched kernel in post 2 of this thread downloads as a zip file called 'boot.zip' and contains the .img file called 'New-image.img'

Should I use fastboot flash boot.zip ?(Flashes a .zip file to your phone)

OR extract the .img and use fastboot flash boot New-image.img	(Flashes a boot or kernel image when your phone is connected in Fastboot mode.)

All help much appreciated
[Xperia Z1 Compact Original Android Development] jdstrydom:
The img file is normally flashed
[Xperia Z1 Compact Original Android Development] BarbasanAB:
fastboot flash boot boot.img - for kernel

fastboot flash recovery recovery.img - for recovery

fastboot reboot (or just disconnect and power on)

If the name of your files are not those in the command, rename the files or change the red word in the command lines to the name of your files...
[Xperia Z1 Compact Original Android Development] 160lightning:
Your help is much appreciated.... :good:

Can you define 'bootloop'...?

When I use fastboot flash boot boot.img it does as before and completes in 1.635 seconds but after reboot it's left in what I assume is a bootloop at the flashing 'trebuchet' logo of CM.... ?? Normally it flashes 12 times at startup during boot and if I've done a nightly update via TWRP recovery install it does about 16-18 flashes........... I let this run for 5 minutes before deciding it wasn't going anywhwere.

I tried again but first ran fastboot erase boot just to be sure there's no conflict.... but get this same result which I'm describing as a bootloop.

I also tried downloading the kernel from the Validus LP ROM which is recommended as already having the kexec hardboot merged into it..... same result.

I'm properly stumped and wondering if perhaps I need to start over and wipe the device completely clean...?... unless you know something else I can try...?
[Xperia Z1 Compact Original Android Development] BarbasanAB:
[MENTION=4646277]160lightning[/MENTION]: I guess i can't help you anymore... If you're willing to start clean, try latest Validus or RR ROM as base... thank you...
[Xperia Z1 Compact Original Android Development] temp2010x:
Like, kernel.zip or image-new.img damaging latest version cyanogenmod 12 and 12.1
[Xperia Z1 Compact Original Android Development] 160lightning:
I'm starting over with a different base than CM 12.1 and I'll try installing a stable kk like Slim which has the kexec hardboot support in its kernel..... Then hopefully multirom will install and I can then try putting CM back as secondary

EDIT UPDATE: This worked.... I did a full wipe/reset from TWRP then installed SlimKat 4.4.4 and with the kexec hardboot support already built into the kernel I then installed MultiROM with no problems ... It would seem that CM12/12.1 is not happy if you try and install kexec hardboot patched kernel when the ROM is already installed..... so let's see if I can now reinstall CM12.1 as a secondary.... :cowboy:
[Xperia Z1 Compact Original Android Development] temp2010x:
MirrorLink

I need to install MultiROM to use MirrorLink , as this only works in KitKat 4.4.2. but I do not want many installed roms. options:

- Kitkat 4.4.4 (108) Multirom, KitKat 4.4.2 (761) MirrorLink, Lollipop 5.0.2 (latest version with full features camera)

- Any room (kexec hardboot), 4.4.2 KitKat (761) MirrorLink, Lollipop 5.0.2 (Updated)

PLEASE MultiROM in Lollipop (242) or CM 12.1
[Xperia Z1 Compact Original Android Development] 160lightning:
I had a chat by email with the Z1c maintainer at CM who provides the nightlies for our device, to ask nicely if they could add the kexec hardboot patch to CM12.1 kernel but they are not interested in providing support for MultiROM.....???

Makes me wonder why... and if there is anything to read between the lines from that stance...?

I got MultiROM to install and work on my Z1c by using RR as the primary and then installed CM12.1 as a secondary but I had to do a fresh install as it simply wouldn't work by trying to flash the nandroid backup of CM12.1 that I had in the vault.

As a relative newbie to custom ROM installation I have no idea if this is a device specific issue because our Z1c is not officially supported by MultiROM or if other model device users are having a similar hard time installing MultiROM onto a CM LP base....?

Anyway.... I can happily confirm it can be done with LP kernel as primary using RR as the base with it's built in kexec support, but trying to patch the kernel used for CM didn't work at all for me..... but now enjoying the ability to try out every LP ROM that comes along extending to a USB flash drive for the new stuff with the ease of swapping whatever takes my fancy onto the internal storage for an on the road test drive.... Perfect if you only have one device like me and manage to avoid bricking it..... many thanks [MENTION=5156330]Garcia98[/MENTION]
[Xperia Z1 Compact Original Android Development] temp2010x:
What is RR? or is referred to?