yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 Compact Original Android Development] Panic Brothers:
Hey freaks,

I think there is something to explain.

The first Thing you have to do and this is one of the most important thing:

Donate to Myself5 or even "Thankyou"

Because you must know, this Multirom MOD is very sensitive like a young good looking girl and it can feel a donation...and works even better after a Thank you :D :D :D

Remeber we are here in Z3 "Compact" Area you can NOT choose a Main Kernel for Z3 or other Xperia Models.

The Main Kernel must support kexec-hardboot (support for MultiROM), for Z3 Compact

The best way to get all to work is:

-Backup all you ROMs you have right now on your Device "Remeber Z3 "Compact" ;)

-Save this to your SD Card

-clean your Phone

-Install CM12.1 latest Nighty

-boot one time and check if you have a Plain CM12.1 (LP 5.1.1) System. Now you have Cm12.1 and the Cyanogen Recovery on your Phone.

-Copy the File "multirom-20150524-v31x-UNOFFICIAL-aries.zip" and "multirom-20150522-v31x-UNOFFICIAL-aries.zip.md5sum" to your SD Card

-Shutdown your Phone and boot on Bootloader Mode (Press and hold Volume Up Button and insert USB Cable) a Blue LED appear now.

-Go with a Terminal in Administrator Mode in your ADB Folder with fastboot. (Windows PC)

-Copy one of the M5 V6 Kernel in the fastboot directory and copy the File TWRP-Multirom-20150524-00-z3c.img in the same directory

-type "fastboot devices" now you see your device is connected

-Now type "fastboot flash boot boot.img" <-- Boot .img is the M5 V6 kernel, you find in the release Zip Files from Myself5

-Now type "fastboot flash recovery TWRP-Multirom-20150524-00-z3c.img"

-Now type "fastboot reboot"

-Your Phone boots now normally and you should press Volume Up or down to enter TWRP MultiRom Recovery...Allmost all is done now.

-In Recovery Mode go to the Normal "Install" Button and choose the File "multirom-20150524-v31x-UNOFFICIAL-aries.zip" and flash this. Now reboot system.

Well done...Multiboot is installed.

Now you can go everytime you like in the recovery Mode and go to the Button Advanced -Multiboot and install other ROMs, like your Backups or CM12 builds.

All your Secondary Roms must be updated over the Advanced- Multiboot- List Roms feature. To update multiboot itself or the Main Cm12.1 Rom you have to flash over the Main install button.

If this is not working, delete Data and flash your Backup again ;) and sell your Z3 Comapct and buy an IPhone. Apple take care of all your Data :D :D :D

Panic Brothers

-
[Xperia Z3 Compact Original Android Development] funiewski:
[MENTION=3816568]Myself5[/MENTION] some problems when restoring backup of stockrom with androplus kernel as secondary. file attached
[Xperia Z3 Compact Original Android Development] AnGrY sCoTsMaN:
edit :solved couldnt figure how to flash gapps , rooky mistake but figured it out ....u go to advanced tab in twrp/multirom/list rom/flash zip
[Xperia Z3 Compact Original Android Development] AnGrY sCoTsMaN:
First time using multirom, working perfectly. Have carbon, candy5 and another rom I'm testing all booting as expected, awesome work.

Official support from the multirom app would be a bonus [emoji33] [emoji106]
[Xperia Z3 Compact Original Android Development] Myself5:
Oh, totally forgot about the app. It's coming next ofc, just need to setup the z3c folder on my server.
[Xperia Z3 Compact Original Android Development] chikrron:
Work with stock rom???

---------- Post added at 03:39 AM ---------- Previous post was at 03:35 AM ----------

Ey bro on candy5 do you have full connection when you connect your cel into pc?
[Xperia Z3 Compact Original Android Development] funiewski:
you can have stock as primary with androplus kernel, I couldn't manage to have stock as secondary
[Xperia Z3 Compact Original Android Development] chikrron:
Ok bro thanks for the tip :) I'll try later :)
[Xperia Z3 Compact Original Android Development] MyPictures:
Hi

So I installed your MultiROM together with the M5-Kernel and cyanogenmod. Afterwards I flashed the modified TWRP recovery. However TWRP has issues to mount my external sdcard (32 GB), its just shown as 0 MB and its not possible for me to re-partition or format it.

- It says "auto" as its file system

- Its formated as FAT32 (tried extFat too)

- This sdcard was taken over from my old i9300

Edit:

Seems I fixed it by booting into cyanogenmod and going under Settings/Storage and select "delete sdcard" down there. Strange.....

Anyways. Thanks for your work!
[Xperia Z3 Compact Original Android Development] Myself5:
myself5.de is down

In Case someone noticed my server being down:

I am aware that my server is down, it got suspended by an Admin and I need to figure out why (I have not done anything forbidden, last thing I did was trying to setup an instance of Gerrit Code Review) that however is not that easy cause the server is sponsored and I only have access to the SolusVM Panel, I can't create Support tickets, so I now need to wait for my sponsor to answer me. Stupid as I am I don't have a mirror, cause I did not set up one yet... I hope someone can upload the latest Version and post a link here, would be greatly appreciated.

Regards

Myself5

EDIT: Server is meanwhile back. Thanks to everyone who provided a temporary link :)
[Xperia Z3 Compact Original Android Development] Myself5:
Installing Roms on SD Card and External Memory

Hey guys, I was finally able to figure out a fix for the Roms not being able to boot from SDCard/external USB drives. I'm currently compiling a new build and it will be uploaded as soon as it's done, MultiRom Manager will get updated automatically too.

Progress on compiling can be seen here:

http://myself5.de:12345/job/XperiaMultiROM/37/console

Please be aware that booting Roms from SDCard/USB Media might take a bit longer than Roms installed on the internal Storage due to slower read/write speeds.

Regards
[Xperia Z3 Compact Original Android Development] funiewski:
[MENTION=3816568]Myself5[/MENTION] how about multirom app,can it work for aries?
[Xperia Z3 Compact Original Android Development] Myself5:
Damn, I forgot about that, going to look into it right now.

EDIT: https://github.com/Tasssadar/MultiROMMgr/pull/83
[Xperia Z3 Compact Original Android Development] piggarello:
Good morning,

i'm on stock 5.1 (moonwalker), i try to install CM12...booting from internal SD oll OK....but it won't boot from external..(i want to save storage on internal...).

Micro SD 128GB exFat formatted....

Strange thing, recovery (multirom from androplus kernel) doesn't recognize USB OTG...(i try flashing a normal TWRP 287 and Usb OTG works....)

Thank you in advance and thanks for the job...working like a charme from internal...
[Xperia Z3 Compact Original Android Development] ztc1997:
Thank you for this excellent mod, but i found that i can't mount my external_sd in the secondary rom, i have tried carbon, cm, mokee, but the problem not be solved, my microSD sized 32GB, formatted in vfat, the problem have not appeared in internal ROM. Have any body can solve it?
[Xperia Z3 Compact Original Android Development] dettofatto:
Ok.... I'm not so stupid (or may be yes)... But, in any case... I can't install more than one rom!

Theese are my steps:

I'm on 4.4.4

this is my primary rom (I would like use it also as second) http://xdaforums.com/z3-compact/development/kk-debloated-solution-xposed-updated-t3192678

1) Unlock bootloader - ok

2) Install androplus kernel (v32 - http://xdaforums.com/z3-compact/development/kernel-andropluskernel-t2937173) - ok

3) Install via recovery multirom.zip (http://dl.myself5.de/z3c/MultiROM/multirom-20150720-v31x-UNOFFICIAL-aries.zip) - ok

4) Install via recovery TWRPmultirom.img http://dl.myself5.de/z3c/MultiROM/TWRP-Multirom-20150720-00-z3c.img - ok

5) reboot into recovery install my first rom as usual with inject at the end (without enter in sub menu advanced - multirom) - ok

6) reinstall kernel - multirom if is the first time (because i've installed on rom that rewrite kernel..)

7) go to recovery again advanced > multirom > add rom on sd as secod rom...etc...etc..

8) Reboot an then? Pufffff.... first rom is merged with second!

Any suggestions?

I'm triyng to install the same rom (probably is this, the issue?), because i would like have a very fast ultrastamina mode!

Can I have as primary rom KK and second rom LL (I must try, but I want on my sd the second rom, and I don't want use LL)

Thank you!
[Xperia Z3 Compact Original Android Development] funiewski:
I'm really not sure about it bcs you are on kitkat, but it is not possible to have stock as secondary with lollipop, don't ask me why, it's way over my horizon

btw multirom app is now working with z3c
[Xperia Z3 Compact Original Android Development] dettofatto:
Thank you! I rember this also my old Galaxy S3

Anyone?

---------- Post added at 09:30 PM ---------- Previous post was at 08:56 PM ----------

You're speaking about second rom? So I would make a new .zip file for second rom?

It's correct?

Thank you!

Edit:

Can I use also my backup for second rom? Or also that usess partition UUIDs.

Because I didn't find any stock rom without UUIDs!

My goal is make a very light second rom for use only ultrastamina mode...

Why? Because the ultrastamina idea is very good, but is not so stable!!!!
[Xperia Z3 Compact Original Android Development] dettofatto:
I didn't found any alternative updat-script...

And also my backup is not useful!

Any other suggestion?

Thank you!
[Xperia Z3 Compact Original Android Development] Myself5:
UUID paths are a spawn of hell. Using them screws up the zip patcher of MultiROM (where it adjusts the paths to flash the zip to the folder on your SD/Internal Storage). I've been looking into a way to resolve it, but maybe I'll just write a little tool (lets see if I manage to do this lol) which is able to convert the UUID stuff to by-name paths. I addition to that I still wonder why [MENTION=3975929]zxz0O0[/MENTION] is using by-uuid anyways (don't see this as a rant ;P), I don't see any advantage of it, just getting confronted with the issues of it.
[Xperia Z3 Compact Original Android Development] dettofatto:
Probably I didn't understand very well... But...

It is not more simple convert the rom?

But... how...?
[Xperia Z3 Compact Original Android Development] Myself5:
It can, but MultiROM is not able to do this (yet). Also, if I'd just hardcode that in, it will screw up Roms which do not use by-uuid (basically everything exept stock roms created with that tool). This is not what I am going to do just because that toolkit is using an uncommon way of linking paths, which have no obvious advantage over the default paths, only disadvantages.
[Xperia Z3 Compact Original Android Development] Myself5:
v32x

Hey folks,

It's been a while, but we (better said [MENTION=4329876]Olivier[/MENTION]) managed to fix v32 for the Xperia Devices.

Due to my PC refusing to build the recovery (crashes with strange errors) I am not able to update TWRP yet, however the old version works flawless with v32x.

Regards
[Xperia Z3 Compact Original Android Development] mbgheban:
HI, I'm having trouble downloading v.32.

It gives an error that cannot read download source and the zip has only 14 kb.

Can you re-upload?

Tks.
[Xperia Z3 Compact Original Android Development] Myself5:
Try again. Seems like my fileserver ran out of diskspace due to some tmp files, should work now.
[Xperia Z3 Compact Original Android Development] mbgheban:
Hi,

Trying to run as secondary rom Concept Marshmallow Edition v.2134.

It installs/restores backup but does not boot.

Attached is the log file View attachment multirom_log.txt.

Thank you for your work.
[Xperia Z3 Compact Original Android Development] funiewski:
On Lollipop it was not possible to have stock as secondary, and there is no custom kernel for MM yet (no sources), I don't think it is possible to use multirom with MM for now.
[Xperia Z3 Compact Original Android Development] reellamer:
I also can't download from your server. Please check it and report back, I really want to try out your MultiROM build.

Cheers

Now it is working fine again....
[Xperia Z3 Compact Original Android Development] reellamer:
I am already trying for the third evening to get this running but no succsess.:eek:

UB, unlocked over Sony BL Unlock Site, doublechecked in service menu on stock rom.

Root does work, SuperSU is working.

I get Carbon ROM running but it has only Cyanogen Recovery and i don't know why and how to change it.

When I flash TWRP_Multirom i get Bootloop/Softbrick.

When I flash M5 Kernel i get Bootloop/Softbrick. (Although it is already implementet in Carbon ROM -> anyway useless to flash)

flashed via different recoverys, fastboot, rashr, everything i can imagine to try as noob...:cool:

Also gone through the process of revert to old genuine .ftf, dualrecovery, root, install new rom etc. AGAIN as described here: http://xdaforums.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343

No Success...

Can anyone please post a step by step guide (would be useful for everyone) or tell me what i'm doing wrong (more likely:angel:)?

Never had such a hard life with my olt HTC's...:crying:

Thanks in advice.
[Xperia Z3 Compact Original Android Development] nelvinchi:
Hi....

Which ROM are you running now?

If you are on Carbon:

Copy multirom-20151114-v32x-UNOFFICIAL-aries.zip to your sdcard

Reboot to bootloader and try this:

fastboot flash FOTAKernel TWRP-Multirom-20151114-00-z3c.img

fastboot reboot

Enter recovery when the LED goes purple

You should now have MultiROM TWRP (v2.8.7)

Flash multirom-20151114-v32x-UNOFFICIAL-aries.zip (make sure "Inject MultiROM after installation" is checked)

Reboot to recovery

If you are on stock:

Flash the AndroPlus kernel

Reboot to bootloader:

fastboot flash FOTAKernel TWRP-Multirom-20151114-00-z3c.img

fastboot reboot
[Xperia Z3 Compact Original Android Development] reellamer:
Thanks for your great support [MENTION=3903113]nelvinchi[/MENTION], today i finally got time to mess around and it worked!:highfive:

What i missed was the "FOTAKernel" argument.

Just to be save I used the method I mentioned in my previous post to install rooted StockROM 23.4.A.1.232, then flashed AndroPlusKernel v70 via recovery etc. etc.

But I have some problems/complaints:

-with MultiROM installed I can not access my device via USB, not MTP, not MSC. After flashing uninstall script it's working again.

-on MultiROM TWRP I can not install CarbonROM, exiting with error (something like: "Device is not D5803/D5833 but aries -> aborting"). When I erease the device check at the beginning of the install script it also aborts without exact errormessage.

-THERE IS NO UBUNTU TOUCH, device not supported shown in App :crying: So i think it's only working for Nexus devices?? Was hoping this could be a way to get it running on a device i own...
[Xperia Z3 Compact Original Android Development] Myself5:
Regarding the problems:

1) Usually a reboot helps with that, don't know why it happens.

2) did you use the newest recovery? I tought I fixed it there. If you did, please let me know and I'll take a look into it.

3) yup, unfortunally that feature requires a Ubuntu Touch OTA Server to host the Ubuntu Touch install files, which there is none for the Sony Devices I am aware of yet.

EDIT: Also there is no Ubuntu Touch for these devices yet at all (it needs to be ported like a Rom, just with some more steps). I consider taking a look at it, but my PC keeps on crashing my Android builds for reasons nobody knows about, so I need to investigate that first.
[Xperia Z3 Compact Original Android Development] reellamer:
Hi Myself5,

I've done 1 or 2 reboots, did not help. Maybe something got broken in the kernel/recovery or i used the wrong Kernel...

I used the recovery, kernel and carbon rom from your DL-server. Later on I tried it with the newest ROM from CarbonROM Homepage because they are much newer, but flashing M5 kernel later on caused bootloop again. But i'm shure it was my fault. ;)

Later on I wiped everything, flashed 23.0A.2.93 ftf, root, XZdualrecovery, MIUIv7 (4.4.4) with AndroPlusKernel v32. (Couldn't stand to try MIUI again, last one I used was v4 i think). Is AndroPlus v32 compatible with Multiboot?

Oh, glad to hear you are thinking about porting Ubuntu over, would be very nice to see it running on our device sooner or later. 8) I think I wouldn't be the only one to kiss your feet for such work XD Hope you get your PC "back to work" again without too much struggle.
[Xperia Z3 Compact Original Android Development] coderex96:
Hi, i read various post, i would flash stock marshmallow http://xdaforums.com/z3-compact/development/rom-t3232674 and CM 12.1 https://download.cyanogenmod.org/?device=z3c, it could be possible?
[Xperia Z3 Compact Original Android Development] Myself5:
no, it won't. Due to the design of the stock kernels they can't be used as Secondary kernels on MultiROM, which means you would need to flash the "stock" M preview as your main Rom. That however is not possible, as there are no custom kernels for it yet which include the kexec-hardboot feature, so you would not be able to boot any secondary Roms.
[Xperia Z3 Compact Original Android Development] coderex96:
If someone will create a Marshmallow kernel compatible with MultiROM it can become possible so?
[Xperia Z3 Compact Original Android Development] Cirra92:
[MENTION=3816568]Myself5[/MENTION] Hi, I am sorry for bumping this thread, but I have an updater binary error, flashing the secondary ROM fails because the device is listed as "aries", but the update-script is checking for "D5803", "D5833", and "z3c".

I have deleted getprop lines completely, renamed them to "aries", nothing is working really.

Latest files from first post were flashed, I don't know how to avoid device checking.

Primary ROM is rooted stock Sony 5.1.1, while the secondary ROM I'm trying is RRemix based on CM12.1.

Nevermind, got it working with script from another ROM.

However i don't have root now on secondary ROM, flashing supersu through Advanced->MultiRom does not help...
[Xperia Z3 Compact Original Android Development] Myself5:
Server is back

Hey Folks!

I just finished setting up the New Server. Unfortunally, it seems like all data on the old server is gone. I uploaded everything I was able to find (as well as what was uploaded by you when the server was down).

Thanks a lot for the patience and help.

If someone still has files local, and sees that they are not on my server yet, please send me a PM with a link to the file and I'll upload it ASAP.

P.S. The Server is no longer sponsored, and now payed by myself, so feel free to help covering my server cost :P

Regards,
[Xperia Z3 Compact Original Android Development] Myself5:
v33x is building

Hey folks.

I just started a build for v33x. Changelog as you can see in the second post.

NOTE: AFAIK there is no M compatible kexec-hardboot kernel yet, so you can only use M as your secondary ROM.

Regards
[Xperia Z3 Compact Original Android Development] Cirra92:
Latest v33x here with AndroPlus v72. I have flashed successfully your latest CarbonRom as of today. Got booting error, here is the log.
[Xperia Z3 Compact Original Android Development] Myself5:
Thanks for the report. I'll take a look at it. Almost looks like it can't/find the kernel, then again it also says it found the kernel. Strange log... I'll try reproducing it in the next days.

BTW: The "cmdline" part of the log contains your Serial Number as well as your IMEI, might be something you wouldn't want to show to the WWW ;) (Though, I already leaked mine multiple times for all my devices too, and nothing happened, sooo)
[Xperia Z3 Compact Original Android Development] Cirra92:
Haha ok got that, I'll edit my post and remove it, you have downloaded it anyway :D I've rooted once with KingRoot (I know about risks with that), so it's a disaster waiting to happen (let's hope not) :)

Anyway, I'll keep an eye here for any info you might come up with.

Cheers :)
[Xperia Z3 Compact Original Android Development] Cirra92:
[MENTION=3816568]Myself5[/MENTION] Do you happen to have v32x somewhere on your PC? I have deleted that yesterday thinking that I have a copy of it. I want to try again with v32x, maybe it'll work :)
[Xperia Z3 Compact Original Android Development] Cirra92:
[MENTION=3816568]Myself5[/MENTION] Hi, it's me again.

I've tried v33x again, and the output is same, I was able to flash only one rom, all of the others are throwing "update" errors due to system partition being modified, at least that's what error shows in TWRP, and it's recognizing rom zips as OTA (update) zips, why, I don't know.

Did you find v32x anywhere on your HD? With that one, I was able to boot.

Here is the log.

Cheers.
[Xperia Z3 Compact Original Android Development] Myself5:
Yeah, just found V32 in an old backup. Here you go.

https://dl.myself5.de/aries/MRomV32/

Also, would you able to send me a recovery.log from inside TWRP after you flashed the zips where you said the flashing process crashed?

I'm gonna channel the allmightly powers of [MENTION=4819888]oshmoun[/MENTION] to take a look at the log, maybe he has an idea. It might be related to our recent dtb related changes on the 64bit platform. I'll let you know once we figure out something.

Regards
[Xperia Z3 Compact Original Android Development] Cirra92:
Thank you very much for the v32 :victory:

As for the zips flashing error, it looks to me like there is something messed up in updater-script, however people do manage to flash them as a regular rom zips without problem (not through MultiROM).

Here is the recovery.log. I've tried only one rom this time, but the error is the same for others.
[Xperia Z3 Compact Original Android Development] :
ok I looked at the log, and the code. Here's the theory:

Something changed in dtb that made it incompatible to dtb of hammerhead, as kexec for Z3 uses the functions from hammerhead implementation.

I think I found a place in code that could help further debug the issue.

https://github.com/XperiaMultiROM/kexec-tools/blob/master/kexec/arch/arm/mach-hammerhead.c#L49
[MENTION=3816568]Myself5[/MENTION] PREPARE A NEW BUILD WITH THE PRINTF CALL UNCOMMENTED SO WE HAVE BETTER DEBUGGING RIGHT NAWWWWW!
[Xperia Z3 Compact Original Android Development] Cirra92:
I don't anything about what you are talking, but I'm sure you'll eventually fix it :victory:

Haha now even the v32x is showing same output when trying to boot 2nd rom, but it had worked before, wtf :D

Oh, and even when rom is flashed successfully, it still shows that it couldn't mount /LTAlabel.
[Xperia Z3 Compact Original Android Development] :
this only confirms that the issue lies within the boot.img of carbon. Something changed there that broke everything (thanks [MENTION=3816568]Myself5[/MENTION] -.-' )

could you try mounting the partition manually? That way we can tell if the failure comes from simply wrong mount paramters, or if the partition really can't be mounted whatsoever.
[Xperia Z3 Compact Original Android Development] Cirra92:
Hm, what, to mount LTAlabel? How can I do that?

Last time I've used v32, all I had to do is to make sure the updater-script had device labeled as "aries" to successfully flash, and it did flash and boot, now, under exact same setup (same kernel, same MultiROM) I can't boot, the same output in multirom_log as in v33.

What I really can't remember is whether I got failed LTAlabel mounting during flash procedure.