yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] sbdags:
[MENTION=5141522]f69m[/MENTION] I have figured out how to change the aroma installer on cromi-x so I can use the standard mount command rather than directly mounting partitions. ;) But now I want to play with multi Rom on the TF700 and TF701. What needs changing to port it or support those devices?
[Transformer TF300T Android Development] f69m:
Don't know the TF700 too well, but it should be close enough not to need many changes.

You should use a TF700 kernel with the kexec hardboot patch and for TWRP it needs the patch to expose boot and recovery partitions.

Then review the twrp.fstab and of course change the device model property.

Otherwise I guess it'll works as-is.
[Transformer TF300T Android Development] sbdags:
Ah OK our official TF700 TWRP already has the boot and recovery bug fixed ;) So just edit the ramdisk of the recovery.img to make sure fstab is like the TF300 one and device property should be set anyway.

I have two kernels that support kexec so I'll run a test later. Thanks.
[Transformer TF300T Android Development] f69m:
Well, you need to use the modified recovery I built. It has all those extra options for managing secondary ROMs, so you would have to use my ramdisk with the TF700 kernel.

I can also try to make a quick-and-dirty build forTF700 based on the OmniROM port. Just can't test it. :)

Should I go ahead with that?
[Transformer TF300T Android Development] z1022:
It is very very strange:confused:. I can install CM11 as primary ROM and use other ROMO as second ROM. e.g. Omni.

However, I cannot use CROMi-X ROM as primary ROM and use other ROM as second ROM:(.
[Transformer TF300T Android Development] sbdags:
Yes please that would be great.
[Transformer TF300T Android Development] f69m:
What happens, if you:

Install CM 11 as primary

Install OmniROM and another CM 11 as secondary

Make sure they all boot

Do a factory reset (wiping system/data/cache/dalvic)

Install CROMi-X as primary

Try to boot them all again

The factory reset will leave your installed secondary ROMs untouched.
[Transformer TF300T Android Development] rmg2:
Test report!!!

Since i was bored this morning and also that TF300T and ME301T are pretty much close, i have made this test with MultiRom on my ME301T, maybe others are curious to know:

- Primary Rom: CROMi-X5.4

- Secondary Rom (Internal memory): CM 10.2 from one nandroid backup that i have on my sdcard

- Third Rom (Internal memory): CM 11 Latest Official Nightly for TF300T

- Fourth Rom (Internal memory): OmniROM for ME301T

- Fifth Rom (USB storage): CMB 4.4.2 for TF300T

Conclusion:

- all roms from internal memory works great without any issues

- that one from usb storage (Corsair Flash Voyager USB3.0 32GB/NTFS) its a little laggy

- i only TEST MultiRom with these roms, which i will definetely wont use them all

- it would be nice to see support for sdcard in the future.

Cheers!
[Transformer TF300T Android Development] z1022:
I have been done step one to six before.

Some question :

Step 4 - factory reset primary rom ??

Setp 5 - using your Mod TWRP 2.6.x or using TWRP 2.5.0. TWPR2.6.x should be not supprot CROMi-X install.

Anyway, if still cannot using CROMi-x as primary ROM, I will give up and using other 4.4 ROM as primary ROM.

Thanks
[Transformer TF300T Android Development] f69m:
4) Yes, factory reset the primary ROM.

5) Use my modified TWRP, that will properly install the boot.img and leave MultiROM untouched.
[Transformer TF300T Android Development] rastony:
Encryption

Hi,

I installed it and it works perfectly. Thanks guys!!!

Though I just have 1 ROM at the moment: CM11-M3 KitKat 4.4.2. I am planning on installing UT when it is fully ready and available.

I used TWRP latest version.

I figured out a strange issue:

- if I boot on my usual ROM (CM11) then Android ask for my passowrd to decrypt the FS and it works as usual.

- but if I try to enter to the Recovery Mode, it says bad password all the time (I am sure of typing it correclty). Before TWRP was also asking for my password and it worked (different interface than the usual Android one but same password/decryption process than normal boot).

Do you guys have any ideas on that?

Thanks, again for your great job!
[Transformer TF300T Android Development] f69m:
Sounds like support for encrypted filesystems is broken in my TWRP.

In which version of TWRP did it work?

Can you please do me a favour and try TWRP 2.6.3.2 from the OmniROM thread?
[Transformer TF300T Android Development] rastony:
I believe I had openrecovery-twrp-2.6.3.0-tf300t-4.2.img file installed.

EDIT: Nope sorry I guess I was using that one:

- Flash scanno's TWRP 2.6.3.2: http://www.androidfilehost.com/?fid=23329332407569892

Which happens to be the same (md5 cheked) as TWRP 2.6.3.2 from OmniROM. I didn't know.

Just question: how can I recovered my backup files and/or try TWRP 2.6.3.2 from OmniROM now that I can't access recovery (bad password)? If i enter TWRP now it cannot see the internal encrypted filesystem... issue.

Tks.

PS: I also noted that the sound is not working anymore. Don't know if this is linked or not. Investigating...
[Transformer TF300T Android Development] rastony:
Recovery mode broken

OK, I tried to reinstall a recovery from ROM manager. No pb but doesn't work. I assume I changed ROM1 (CM11-M3)'s recovery but not MultiROM.

Then I reboot in recovery mode (MultiROM). Encryption password doesn't work. Problem mentioned earlier.

I mounted the external SD card, cache and system (but not data).

Try to install the ZIP file of TWRP OmniROM but FAILED! File access failed.

Reboot and now I am stuck in booting. No more recovery accessible (power+vol down pressed at startup) and ROM1 not booting at all.

What can I do? HELP please...

Tks.
[Transformer TF300T Android Development] f69m:
Can you access the bootloader holding vol-down?

If yes, extract recovery.img from the ZIP and then install via fasboot:

fastboot flash recovery recovery.img

If not, please give more details on what you see during boot.

I'll try to figure out the differences for encrypted filesystems between scanno's and mine.
[Transformer TF300T Android Development] rastony:
I was boot loop stucked. Had to restore my nvflash files and only reboot in Android recovery now. Downgraded to eeepad 9.4.3.30 now. Fastboot enabled now. That's a progress!

The recovery. img from which ZIP file? Sorry, lost.
[Transformer TF300T Android Development] f69m:
Sorry to hear about your issues, but glad you are making progress.

I mean the flashable ZIP with scanno's recovery. Inside it has a file recovery.img that you can extract and install using fastboot. That was the working one, right?
[Transformer TF300T Android Development] rastony:
Yes, that was the working one.

I thought it was the same as yours/OmniROM's one, didn't it?
[Transformer TF300T Android Development] f69m:
As scanno is the official maintainer of OmniROM for TF300T, the one in the OmniROM thread and what you might find elsewhere as scanno's are the same. Mine is quite different with support for MultiROM added.
[Transformer TF300T Android Development] Drahric:
I have heard about multirom in my quest to dual boot my tablet, glad that someone ported multirom to the tf300, before I use though, Ill wait for sdcard support. I do have a question, does this flash 4.4 roms and 4.3 roms or is it 4.4 only?

Sent from the CROMI-Xifed tf300t
[Transformer TF300T Android Development] f69m:
Should flash 4.2, 4.3 and 4.4 based ROMs fine. The problem with the broken assertion has been fixed and I expect that there will soon be an update on scanno's TWRP that can also flash the old ROMs properly.
[Transformer TF300T Android Development] rastony:
No recovery restored

recovery.img extracted.

fastboot flash recovery recovery.img

Done. No error messages.

But unsuccessfuly. It seems something is broken in the boot partition. I cannot reboot in recovery mode nor Android cold boot.

Just access fastboot (via RCK) - and APX too

fastboot reboot-bootloader

doesn't work either

Due to nvflash recovery, I am currently in:

TW_epad-9.3.30-20120604

Android cardhu-user bootloader <2.10 e>

SKU="TW" is good. I bought my tablet in HK and initial build on TW SKU.

Of course the Device is UnLocked.
[Transformer TF300T Android Development] f69m:
With a bootloader that old, the recovery sure won't work.

First you need to upgrade your bootloader by flashing the latest Asus stock ROM.

Check out Buster99's script on what partitions to erase first, usually helps.
[Transformer TF300T Android Development] noahvt:
This thing is OP man thanks! But I do think you should make a guide on how to install gapps or other zips to the extra ROMs because it might be a bit confusing for people

Edit: [MENTION=5141522]f69m[/MENTION] I found one serious bug: getting sleep of death on all ROMs I have installed
[Transformer TF300T Android Development] rastony:
Hi f69m,

And firstly thanks for your help.

I have restored all my TF300T through NVflash + update AOSP then Scanno's TWRP recovery + OmniROM this time (I switched from CM11).

I guess I will not encrypt my fs anymore as this troubles MultiROM at the moment.

2 questions: can we use Multirom Manager App with your port of Multirom for TF300T? Can we install UT 14.04 on this Multirom port?

Thanks again for your GREAT job!!!
[Transformer TF300T Android Development] f69m:
I added a short section to post #2, is that sufficient?

Hmm, have not seen that yet. Please try the upcoming next release and see if that helps. If not, we need to dig a little into the details.

Never tried, but I made some changes for the primary ROM. If you feel adventurous, give it a try and let us know, how it works out. :)

Working on that, please also check my UT thread.

I have a manual setup booting via the MultiROM boot screen, but I am currently fighting with some regressions and instabilities in recovery (probably related to updated patches for the 4.2 updater support).

So eventually, yes, but I am afraid you will have to be a little patient, till I have sorted out those issues.
[Transformer TF300T Android Development] f69m:
Finally, the new release is up for download in the "Downloads" tab!

This one should allow installing secondary ROMs on the SD card, however I was not able to fully test it. Unfortunately I found only a very old 64 MB card (yes, that's MB, not a typo!), so could test that it is properly detected by both MultiROM and TWRP, but could not actually flash and boot a ROM. Please let me know, how it works out for you.

This version also comes with a packaged initrd and does not reuse the initrd from the primary ROM. This should resolve the issues some users saw, particularly with CROMi-X as primary ROM. Please let me know, if you are still having those issues.

Now that things are stable again, I'll go back to working on Ubuntu Touch.
[Transformer TF300T Android Development] k-kuchen:
:laugh: :good:

http://www.xda-developers.com/android/asus-transformer-tf300t-gets-unofficial-multirom-port
[Transformer TF300T Android Development] Scar107:
Will there be an app version. I use the nexus 4 version and I use the functions of renaming in it and would like to see it in this. Either way thanks for the great piece of software.
[Transformer TF300T Android Development] f69m:
Looking at it right now, cause it is the easiest way to install Ubuntu Touch.

Meanwhile you can rename ROMs in TWRP using:

Advanced > MultiROM > List ROMs > [Select your ROM] > Rename
[Transformer TF300T Android Development] Drahric:
Where does multirom sit in the boot sequence, between the BL and the the kernel preinit, or is it a bootloader?

Sent from the CROMI-Xifed tf300t
[Transformer TF300T Android Development] f69m:
MultiROM sits in the boot partition and has a kernel and an initrd. The ROM boot images are stored in /data and booted via kexec hardboot.
[Transformer TF300T Android Development] collindv:
This morning I decided to take the leap and install this. I was running Cromi-X 5.4 as my main ROM. I installed this and used it to restore a previous CM11 backup as a secondary ROM. I walked away and came back 15 minutes later after restoring the ROM and the screen would not turn back on. I was worried but held the on button for about 30 seconds to reset the tablet. When it booted back up it had worked perfectly!

I then booted into CM11 and used the built in updater to download the latest CM11 M3 snapshot. It rebooted to recovery but made no attempt to automatically install the download. I went ahead and did it manually and again the screen turned off (either during the install or once it had completed, not sure which). Again I had to reset it to get it to boot but once it booted up it had completed the install fine. Seems to be running perfectly other that those issues!

Thanks for this!
[Transformer TF300T Android Development] Drahric:
I think this issue is TWRP related because I have 2.6.6.0 and it wont install roms from rom installer, its just a small annoyance that we'll have to deal with…

[MENTION=5141522]f69m[/MENTION] from what I understand the boot sequence is: Botloader > Multirom > selected rom. Am I right? Anyway I've decided to get started when I get home, will see if its worth it :)

Sent from the CROMI-Xifed tf300t
[Transformer TF300T Android Development] f69m:
Did you just try the power button or did you try to touch the screen? TWRP switches the screen off after a while and for some reason the power button does not reactivate it, but touching the screen does. If you tried touching the screen it is indeed something to worry about, even if it worked out for you.

I have seen similar reports in the CM 11 thead, so it is probably not MultiROM related. Works perfectly with OmniROM, but I'll try CM 11 soon to see, what is going on there.

Correct.
[Transformer TF300T Android Development] collindv:
I did not try and touch the screen to wake it (with all previous TWRP versions the power button woke it just fine). I will try that next time. I am going to try and swap the ROM positions to make CM11 the primary so I will give it a shot.

---------- Post added at 03:29 PM ---------- Previous post was at 03:03 PM ----------

You are right, touching the screen turns it back on and not the power button. Sweet! Thanks for the help
[Transformer TF300T Android Development] sbdags:
[MENTION=5141522]f69m[/MENTION] I'll test the tf700 implementation tonight for you. :) Does it detect the sdcard or does that need to be added? Sorry for the delay mate - got consumed building CM11 roms.
[Transformer TF300T Android Development] f69m:
No worries, let me send you a new build, before you try.
[Transformer TF300T Android Development] f69m:
Though I already confirmed that this is correct, let me be a little more thorough! :)

bootloader > multirom > kexec reboot > bootloader > selected rom
[Transformer TF300T Android Development] tazzz013:
new file new problem

ok, flashed the newest file. had cdromxi as primary, reboot and just sits at cdromxi loading logo. went back into recovery, reflashed lastest cdromxi, rebooted, same result. at this point have no secondary rom installed.
[Transformer TF300T Android Development] f69m:
Hmpf, just tried again, my primary CROMi-X is booting fine, but I have one more report like this.

Can you give me a logcat of the boot, when it is sitting at the logo?

Which kernel did you choose?

Just to make sure you are not "bricked": you can always get out flashing an unmodified TWRP and then reflashing CROMi-X.
[Transformer TF300T Android Development] tazzz013:
f69m, thanks for the reply

I am not bricked. I am able to restore from a nad backup and run. puts it back to twrp 2.5.0.0. I am new to the logcat stuff but will try tonight. using hunds kernal
[Transformer TF300T Android Development] collindv:
Just as an fyi, I tried to swap my two Roms (had cromi-x as main and cm11 as secondary). Epic fail, both just looped through the boot logos when I tried to boot them. Oh well, I'm back to my original setup now.
[Transformer TF300T Android Development] f69m:
OK, thanks for trying. I have not really looked into the swapping code yet, I can imagine issues with the boot images. Hope you are willing to try the next release! :)
[Transformer TF300T Android Development] collindv:
No worries! I knew it might not work. I am still using it, just back to cromi as primary and cm11 as secondary.
[Transformer TF300T Android Development] tazzz013:
Logcat failure

Well, after a few hours of reading up on "how to logcat", I have no sucess. My problem is I cannot get a logcat when tf300 is booting up, so i can't be much help with my problem for using the latest multirom and CDRomxi as primary and just "hanging' on the logo and not booting completley. I also tried installing CDRomxi doing a wipe without erasing my data, with same result. And just for the heck of it I install Dirty Unicorn as a secondary, and that booted fine. Crazy to me, but I am in NO WAY a dev.

Any advice would be great. Thanks.

Update / edit after restoring back to my original setup minus multirom, i am able to create a logcat file so at;east i know that the tablet is being see by my laptop.
[Transformer TF300T Android Development] f69m:
Just to make sure: you are stuck at the CROMi-X boot animation and not at the Asus boot logo? Logcat should start about the same time as the boot animation.

When you are stuck, could you please reboot into recovery and pull last_kmsg:

adb pull /proc/last_kmsg
[Transformer TF300T Android Development] tazzz013:
I am stuck at the CROMi-X boot animation, not the Asus logo. I will try and grab the last_kmsg tonight . Thanks again for the reply

I have the last_kmsg file, how would you like me to get it to you?
[Transformer TF300T Android Development] collindv:
Any reason this would affect my ability to see my dock battery percentage on CM11??
[Transformer TF300T Android Development] Drahric:
That is a CM problem, not a multiboot problem ;)

Sent from the CROMI-Xifed tf300t
[Transformer TF300T Android Development] f69m:
Great! Compressed it should be fine to attach to a post or to a PM. Or drop it on pastebin, dropbox, any other filehoster of your choice. I really don't mind as long as I get a link to download. :)
[Transformer TF300T Android Development] f69m:
I learned the hard way never to say never, when it comes to weird computer issues, but yes, it is highly unlikely to be related to MultiROM. ;)
[Transformer TF300T Android Development] tazzz013:
f69m,

file attached, hope it helps. thanks again for the help
[Transformer TF300T Android Development] f69m:
Thanks for the log! There is indeed one line that sheds some light on the issue:

init: could not import file '/init.omni.rc' from '/init.rc'

This means somehow the OmniROM init.rc ended up in your CROMi-X initrd, probably coming from the MultiROM initrd that is taken from OmniROM. Quite understandable that it won't boot! :)

Did you reflash CROMi-X using "Install" from the MultiROM TWRP main screen?
[Transformer TF300T Android Development] tazzz013:
Honestly, i have tried so many things i dont remember:). Should i try the reflash that you asked me about, or do you think that was the problem?
[Transformer TF300T Android Development] f69m:
Yes, that should fix up the issue, worth a try.

However there is a lot of bad stuff going on under-the-hood and this is exactly where I made significant changes vs. the official MultiROM; there might still be bugs lurking down in the shadows. ;)

I'll also give it a try installing the new CROMi-X 5.4.
[Transformer TF300T Android Development] tazzz013:
Just tried a reinstall after flashing multirom.....I did notice when CROM-x was done the was "WARNING; Ignoring entry boot blob! message. Have no idea what it means, just figured i would pass it along. Rebooted, same result.
[Transformer TF300T Android Development] f69m:
OK, that is the issue. It is only a warning, as it is perfectly OK to have an empty boot.blob after flashing gapps or supersu, but not after flashing a ROM. Means your boot image was not updated.

I'll try hunds kernel and see if I can reproduce that.
[Transformer TF300T Android Development] Davide Folli:
Hi devs!

I'm installed multirom and as primary rom i flashed cm11.

Than I tried to install an older rom as second rom.

First i flashed cm 10.1, but my tablet was stuck at asus logo while attempting to boot cm10.1

So i deleted cm10.1 and i tried cm9..same result

I tried also a jellybean release of aokp... but i wasn't much more lucky..

I repetead the whole story more times...so i think it's not my fault and that's not a bad flash! i reflashed also the modified recovery

anyone can confirm that it's not just my fault? is there any way to flash a jellybean romas a secondary rom?

Thanks!
[Transformer TF300T Android Development] f69m:
Even with MultiROM you can flash only ROMs that work with your boot loader. Those ROMs you mention require older versions of the boot loader, so no, it is not your fault.

I am not aware of any way to dual-boot those old versions on a current boot loader.
[Transformer TF300T Android Development] Drahric:
Just an idea, what if you have a second boot sequence in the startup, the order would be: Normal bootloader > multirom > multirom would instead of reboot run the older bootloader > rom, or something like that. Because the idea of multirom is that it is a boot hack, why not take advantage of that? Again, just an idea, I have no idea what new code would have to be put in place for the idea to remotely work.

On a different subject, you said that the system is unsecure because the system is mounted as r/w, would it cause a problem if I manually set it to r/o?

Sent from the CROMI-Xifed tf300t
[Transformer TF300T Android Development] f69m:
Just did some more testing and indeed, CROMi-X with hunds kernel is not booting, but with _thats kernel it is booting just fine. Hunds kernel is not picking up its own initrd, when started via kexec hardboot.

Could you please try to confirm if _thats kernel is working for you?

Did not see the warning you mentioned though. Eventually will have a closer look into hunds, but first want to finish the Android manager app and Ubuntu Touch.
[Transformer TF300T Android Development] f69m:
Never looked into the exact details, but I think it is not as much the bootloader code, but the internal SD card partitioning scheme that changed and you need a kernel that matches your current partitioning scheme. So instead of using the old bootloader code, you would need to create a kernel that works with the new partitioning and the old ROMs. Not impossible, but not worth the effort.

Tasssadar writes in his original post that it creates issues with SuperSU, but I never tried.
[Transformer TF300T Android Development] Davide Folli:
Oh..yeah i didn't check which one bootloader was needed for the rom..my fault! :D

But there is one exception.. before flashing multirom recovery and starting this new "multiway of life" I was using the latest cm10.1..that works with the latest bootloader (if i'm not wrong was chrmhoffmann that made this possible!)

http://download.cyanogenmod.org/get/jenkins/33734/cm-10.1-20130707-EXPERIMENTAL-tf300t-NEWBLOBS.zip

Any idea? i think that for cm10.1 it's not a bootloader problem..
[Transformer TF300T Android Development] f69m:
Trying to install as primary? Looking into the CROMi-X issue, I noticed that with the current MultiROM version the primary ROM must have a kernel supporting kexec hardboot. A fix is coming up.

Right now working primary ROMs include CROMi-X with _thats kernel and OmniROM, but none of the CM versions. Please install as a secondary ROM for now, the next MultiROM release will also allow you to move it to primary.
[Transformer TF300T Android Development] tazzz013:
Hey F69m, thanks for the work. using _thats kernel OC v8 does seem to work. Next , I am going to try to install secondary rom. hope you figure out Hunds, seem to get my best performance for my needs with it. Good luck working on your other projects. :)
[Transformer TF300T Android Development] collindv:
I am still having the problem with my setup where under cromi (primary ROM) I see my dock battery percentage but under cm11 (secondary, installed to internal memory) I can't. Anyone else running this configuration? The folks on the cm thread confirm that dock percentage is working with that ROM.