yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] Steel01:
Looked at getting multirom running on the M bootloader tonight. I didn't expect it to give me this much trouble. Touch doesn't work on the boot menu. Got the wrapper to run and seemingly init fine, but nothing registers. Then when I forced a kexec, it reboots, sits at the the boot icon for a few seconds, then the screen turns off. Somewhat confused atm and don't have near the brain power to debug and research a solution right now. Maybe I can talk [MENTION=4937137]Bogdacutu[/MENTION] into helping again for a bit...
[Shield Tablet Android Development] kyleruggles:
Love the work you've done! really appreciate it.

I was wondering if and when we'll get multirom on Marshmallow?

Thanks!
[Shield Tablet Android Development] Trafalgar Square:
Read one post above and don't ASK for eta
[Shield Tablet Android Development] kyleruggles:
Ahh my bad, sorry about that, but thanks for the reply. Don't mean to rush was just inquiring.
[Shield Tablet Android Development] Steel01:
Yeah, it's still a work in progress. Everything works except for booting secondaries... Something either isn't initializing or is being initialized wrong. The screen goes black (backlight still on, though) and the log says it's trying to initialize it at 1280x720. Which makes no sense whatsoever...

Anyways, until me or someone else figures out what's going on there, it's pointless to release any of what I have. All the code is on the CM-Shield github org, though.
[Shield Tablet Android Development] daic34:
Its been two weeks and Linux4Tegra 24.1 came out, where is it? Also the marshmallow OTA came out
[Shield Tablet Android Development] kyleruggles:
These guys are donating their time, it's a combined effort so read his previous message and keep watching this thread :)
[Shield Tablet Android Development] Steel01:
Yeah, I haven't had time to get back to this yet, so it's still broke. All the current code is available on CM-Shield. Contributions are welcome.
[Shield Tablet Android Development] drewski_1:
You know what they say . . . this is a developer site so if you need it faster, then code it yourself ?

Sent from my 6.0 SHIELD Tablet
[Shield Tablet Android Development] daic34:
When will you have time?
[Shield Tablet Android Development] Trafalgar Square:
Just don't ask.

Developing is a hobby and they are working in his free time.
[Shield Tablet Android Development] :
Steel01 how could we help you? Anyway if something broke during testing, a boot restore is only needed so I think it's OK ;)
[Shield Tablet Android Development] Steel01:
Unfortunately, there's not really anything right now unless you're a dev or a hardware level tester/debugger. The problem is when booting secondaries, the screen (and who knows what else) isn't initializing correctly. I just need time to sit down and debug it. But my limited dev time / energy is being used on my CM ports (which is also what all other current shield ROMs derive from) right now, so I don't know when I'll get to it.
[Shield Tablet Android Development] Jakeyboydaman:
Just a quick question, is this usable on marshmallow 1.1 for the sheild k1? I have a backup but any unnecessary actions i could avoid would be most helpful.
[Shield Tablet Android Development] drewski_1:
no. read one post before yours
[Shield Tablet Android Development] Steel01:
Well, it's about time. I finally got it to work. But fair warning, what I have now is about three levels of hacks. I'm making a release now so people that have to have this can use it, but I'm not marking it officially released and updating the OP until I do a lot of cleanup. I've only tested this with a cm-13.0 secondary, but in theory everything should work.

twrp-multirom-20160410-UNOFFICIAL-shieldtablet_m.img

kexec_patch_stock_40.zip (should be usable in custom ROMs as well, but will be missing a couple security patches)

multirom-20160410-v33-UNOFFICIAL-shieldtablet.zip

Since I had to modify the multirom zip anyways, I went ahead and folded in the touch support, so only the one zip is needed. That will probably split back out to separate zips later.

Now for those that care about the technical details of what drove me mad for months. First, many many many thanks to [MENTION=4937137]Bogdacutu[/MENTION] for noticing the ultimate problem. The new bootloader modifies the DTB before it hands it off to the kernel. Running dtdiff against the DTB partition and /proc/device-tree showed a few differences. So for this release, I folded those changes into a new dtb file, packaged it with multirom and hardcoded kexec-tools to use that file. Yes, really ugly. I'm hoping to find a cleaner way to handle it, ideally modifying the in-ram copy of the dt that kexec-tools is using.

Another side note: This is no longer using Tassadars kexec-tools branch. In the development of multirom for arm64, the angler dev got a mostly upstream kexec-tools working. I took that further and got it working for arm as well with minimal changes.

Edit: Looks like I either typoed or missed something. The charging circuit isn't initializing correctly, so you can't charge or see battery status while on secondaries. I'll look into that once I'm awake again.
[Shield Tablet Android Development] Steel01:
Let the hacks abound. 'Fixed' the battery on secondaries problem and probably a couple other harder to see ones as well. I *really* need to figure out why the /sys/firmware/fdt export results in a broken file because that would be the way to fix this universally. The link in the previous post has been updated to a new zip with the fix. Only change is the packaged dtb.

Edit:

Also updated the kexec kernel with a cleaner version of the patch.
[Shield Tablet Android Development] DR_HAX34:
Is it normal that our tablet has some screen refresh issues in recovery?
[Shield Tablet Android Development] xanthrax:
You can't say it is normal , it is a well known issue ...

-=-=-

A small feedback

The multirom is working fine , I installed resurrection remix as secondary and Bliss primary , it doesn't need a patched kernel as BitO kernel seems to work

Battery charging animation it's fine on secondary

Booting into the second ROM from the recovery Boot menu doesn't work , it shows the boot animation of the secondary but it boots up the primary , it works though from the multirom application >solved by flashing the provided patched kernel <

Thanks Steel , you're great and Bogdan as well [emoji106]

I personally won't suggest to setup the sdcard as internal for the secondary ROMs as it will format it , use it as external storage

Sent from my Darkside of SHIELD Tablet
[Shield Tablet Android Development] Mike_1996:
How is this technically possible :confused: ? So the kexec code was actually called in the trampoline menu but was somehow incompatible with the new binaries, having a consequence that the new boot animation shows (secondary kernel did not boot but certain paths were changed?!) I think returning to stock kernel with patch would be worth trying. Probably Steel01 could give some more details. :rolleyes:
[Shield Tablet Android Development] xanthrax:
Ohh sure, I'll flash the steel provided stock patched kernel because somehow I didn't want to lose the awesomeness of BitO kernel but he'll properly patch it soon I guess

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] supertory:
tried both the kernel BitO uploaded here and his K4 kernel and after flashing multirom and BlissPop as a secondary, in my primary rom Resurrection Remix whenever I touch the recent apps/overview button I get a system ui restart
[Shield Tablet Android Development] xanthrax:
My primary is BlissPop and secondary resurrection, I flashed steel's patched kernel and all good now, recovery reboot menu works fine when choosing the second rom

The recents issue doesn't happen here, it works fine on both ROM's and shouldn't be multirom related or kernel whatsoever, check your rom or dirty flash it

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] Steel01:
You can get some quiet flaky broken results using an improper kexec patch (believe me, I know... stupid shield console...). Though, in theory, the old kernel patch should have worked fine, I just updated it to make it cleaner and do less unnecessary things. I've seen plenty of times where the primary initrd gets used when trying to boot a secondary, but I've yet to see the other way around. No idea how that happened. But yes, ideally [MENTION=6411851]BitOBSessiOn[/MENTION] will get his kernel updated with the new patchset and people will be able to use it as well.
[Shield Tablet Android Development] Mike_1996:
I thought he meant the third screen i.e. of the ROM and not the kernel logo (which is usually the same as stock :eek: I haven't got to know much of this platform, mainly playing with Ubuntu) but anyway I would wait a bit just in case something happens. By the way I'm now on stock 5.1.1 rooted and Ubuntu Trusty L4T 42.1.
[Shield Tablet Android Development] skooter32:
So this wont work on stock mm vulkan preview?
[Shield Tablet Android Development] Steel01:
Maybe not if that's the internal/primary rom. I expect it would still boot, but the vulkan functionality might be missing if there were changes to the kernel driver for it. If you set it up as a secondary, it should be fine, though I haven't tried it.
[Shield Tablet Android Development] skooter32:
Twrp dont boot
[Shield Tablet Android Development] BitOBSessiOn:
Working on it. I've built a first mrom version of BitO-K4, but no time to test it... If I can't test it directly I will ask for volunteers...
[Shield Tablet Android Development] xanthrax:
I'm ready to sacrifice my Pyro tablet mate [emoji12]

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] BitOBSessiOn:
Hehehe... you rule my friend ! :good: ;)
[Shield Tablet Android Development] BitOBSessiOn:
BitO-K4-005 with MultiROM support ready.

Thnx to [MENTION=1416222]Steel01[/MENTION] for bringing us KEXEC patch set., and [MENTION=3946657]xanthrax[/MENTION] for testing.
[Shield Tablet Android Development] Zoya-1:
Gonna try this when I get home, looking forward to using Linux4Tegra
[Shield Tablet Android Development] Steel01:
Here's an updated TWRP. This fixes the slow cache wipe. Everything else should match the previous release.

twrp-multirom-20160415-UNOFFICIAL-shieldtablet_m.img
[Shield Tablet Android Development] xanthrax:
Great! There are still some very small glitches but far way better
[Shield Tablet Android Development] Zoya-1:
Damn, Linux4Tegra doesn't work with Marshmallow yet.

Oh well, Multirom's working otherwise.
[Shield Tablet Android Development] Steel01:
One more twrp update. This one fixes the screen refresh issues! Many thanks again to [MENTION=4937137]Bogdacutu[/MENTION] for this one. It seems to be a double buffering issue. Probably should try and figure out the underlying problem, but for now, we're just going to patch in a workaround. Thanks also to [MENTION=5123642]lj50036[/MENTION] for making the patch more usable.

twrp-multirom-20160420-UNOFFICIAL-shieldtablet_m.img
[Shield Tablet Android Development] lj50036:
So you have tested it and it works as expected ?

Thx Josh
[Shield Tablet Android Development] Steel01:
Yes, works great. I'd sign off on it if it was in a gerrit somewhere.
[Shield Tablet Android Development] Zoya-1:
So, I recently downgraded to 5.1.1 to use Linux4Tegra with this, and while it and the MultiRom seems to be working well, the SD Card is no longer mounting, I formatted it as ExFAT with my PC, and the tablet is aware of it, however it is not mounting it. The Icon for "Checking for errors" briefly appears, then disappears. I installed all the proper files from the front page and wiped all my data afterwards. Any thoughts?
[Shield Tablet Android Development] xanthrax:
Everything works fine now, inject multirom option after flashing must be checked in order to use the multirom boot menu

-=-=-

No sdcard issues whatsoever here, formated fat32 + ext4(for apps2sd purposes) +swap, set-up as external storage, using MM ROMs though

Sent from my Darkside of SHIELD Tablet
[Shield Tablet Android Development] lj50036:
I need to do my own testing of this, as my daughter has the tab :)

But here is a start for it getting merged upstream....

https://gerrit.omnirom.org/#/c/17717/1

Thx Josh
[Shield Tablet Android Development] Steel01:
This has been a really productive few days even though I've been on a business trip this week. [MENTION=4937137]Bogdacutu[/MENTION] has outdone himself this time in making awesome patches. I didn't want to announce this until it was all cleaned up and ready to replicate from source. But now it's done and buildable from my scripts repo. *Finally* presenting a TWRP build that works on both bootloaders! I haven't run into any problems myself, please report if you do. I'm marking this experimental until it's vetted by several people.

twrp-multirom-20160422-EXPERIMENTAL-shieldtablet.img
[Shield Tablet Android Development] skooter32:
So mm then dev?

---------- Post added at 11:49 AM ---------- Previous post was at 11:43 AM ----------

Also can't find the link 4 multirom itself[C
[Shield Tablet Android Development] xanthrax:
https://www.androidfilehost.com/?fid=24499762635998042

Sent from my Darkside of Edge plus
[Shield Tablet Android Development] skooter32:
Works but multiroms upside down
[Shield Tablet Android Development] lowsum:
Look on twrp, multirom parameters, there should be an option to reverse screen.
[Shield Tablet Android Development] skooter32:
Ok so a got multirom and patched kernel working trying to install tegra rom its telling me that its failed bad installer file ?
[Shield Tablet Android Development] jpearn:
Tried the new beta on my LTE tab which has lollipop on / the previous multirom working fine, multirom will start but won't boot lollipop as the main ROM. Not tried anything else. Just flashed the old multirom v32 zip back on to get it up and running again.
[Shield Tablet Android Development] Steel01:
Yeah, that's what I'd expect. The new twrp build will work with L and M installs, but I haven't worked on multirom itself yet. For now, continue to use the multirom and touch support zip from the OP on L installs.
[Shield Tablet Android Development] drewski_1:
hung while trying to flash SuperSU on that first step of mounting /system, /data, etc on 6.0.1

went back to non-multirom i had on tablet and it flashed fine.

i'll try the 4/20 multirom version when i have some more time.
[Shield Tablet Android Development] gqukyo:
2.72 hangs for me also. 2.71 works fine though even though it goes slower than usual.
[Shield Tablet Android Development] drewski_1:
Good to know. It was 2.72 that I tried
[Shield Tablet Android Development] kyleruggles:
Installed the latest multirom on my US LTE Marshmallow 6.0.1, boots to my internal np, but I got the black screen when booting from secondaries, tried on my sd and internal. But the rom appears to be active because I can hear the lock when pressing the power button. I tried both blisspop and Resurrection Remix. Can't use the touchscreen either. Any help would be greatly appreciated, using the latest twrp-multirom-20160422-EXPERIMENTAL-shieldtablet.img

Any help would be greatly appreciated :D
[Shield Tablet Android Development] gqukyo:
Been same for me, I gave up. Lol
[Shield Tablet Android Development] boswelja:
How does one uninstall MultiROM v33
[Shield Tablet Android Development] gqukyo:
Delete any secondary roms you may have, flash regular twrp and flash the uninstaller zip from the OP.
[Shield Tablet Android Development] kyleruggles:
Hey Bud,

Thanks again for all your work getting multirom working on the shield, but I've come across the black screen when booting secondaries while using your lastest build, tried a few and got the same results. Also the touch screen while booting doesn't work, tried to flash the touch screen fix but that didn't work either. I think others have the same issue as well.

Thanks again and hope you can help when you got the time.
[Shield Tablet Android Development] Steel01:
Are y'all using the experimental multirom build and kexec patch from this post?
[Shield Tablet Android Development] kyleruggles:
Yup! twrp-multirom-20160422-EXPERIMENTAL-shieldtablet.img and kexec_patch_stock_40.zip
[Shield Tablet Android Development] Steel01:
It's the:

multirom-20160410-v33-UNOFFICIAL-shieldtablet.zip

that's important. Touch not working and black screens on secondaries sounds like the OP multirom zip and touch support zip are being used.
[Shield Tablet Android Development] kyleruggles:
Ahh gotcha

I just got the newest, I'll flash it now and get back to you.

Thanks man

---------- Post added at 04:39 PM ---------- Previous post was at 04:29 PM ----------

Success!!!! touch screen works and secondary rom boots!

Many Many Many thanks!
[Shield Tablet Android Development] mati_boy:
I still can't make ik work. Every time I try to boot a secondary rom, it just boots my internal rom. If I remove the roms boot img, the rom boots but when it is ready with optimizing apps, it starts to reboot and it has to optimize a part of the apps again. I'm not really sure but I thing it only has to reoptimize apps that have something to do with google, so I also tried to install gapps with recovery but that didn't work either. I'm on android 6 (original rom) and have the latest multirom insyalled.

Someone any ideas?

Edit: Forgot to say this: have this problem with every rom except for durty unicorns
[Shield Tablet Android Development] AniketDhoke:
[MENTION=1416222]Steel01[/MENTION] can you create multirom manager for moto g3??
[Shield Tablet Android Development] boswelja:
Where is the uninstaller zip? I can't find it
[Shield Tablet Android Development] gqukyo:
Looks like they removed it but if you just flash a different twrp, you should be golden. Obviously you should delete any and all secondary roms first if you're trying to remove MR.
[Shield Tablet Android Development] skooter32:
Having problems with multi rom on k1 new update it wont install multi rom recovery a tried but to no avail??
[Shield Tablet Android Development] hiswelamina:
Nvidia Shield K1 updated android 6 and rooted Install process for multirom

Hi everybody ! I just got a brand new Nvidia Shield K1 updated android 6 and rooted. It's my first try to put Multirom and then adding ubuntu. I cannot find tutos or process to follow to make it well. I download files from this post. But in the tutos the guy use a kernel img and it's patch ziped here. So I don't really know how to do it well.

thanks for the help.
[Shield Tablet Android Development] djibril13:
I had setup sd card as internal. Will have any problems for my data with multi boot setup ?
[Shield Tablet Android Development] Globel:
I have multirom on my K1 and I have stock running on internal and my fisr slot I am running bliss My issue is my secondary rom see's No sensor data..... Where do I look to try and fix this..?
[Shield Tablet Android Development] Steel01:
It might have to do with how the dtb is hardcoded for secondaries, but I can't say for certain. It's a big hack to make secondaries boot at all right now. Making it work more dynamically is on my not so short list of things to do. But I haven't had a whole lot of motivation lately since I can't seem to make progress on any of them...
[Shield Tablet Android Development] nex86:
is 6.0.1 supported or only 5.1.1 ?
[Shield Tablet Android Development] timux1991:
Installation problems

Hello Guys,

thanks for all the effort you already put into this project! I tried to install Ubuntu on my Shield but was not able to do so yet. I documented the steps I made and hope, that you can he me. Thanks in advance!

I basically followed the instructions in post #59. I also tried with different software versions.

- unlocked bootload

- flashed recovery using the following command

fastboot flash recovery twrp-multirom-20160415-UNOFFICIAL-shieldtablet_m.img

- booted to recovery and installed the two zips in one queue in that exact order

multirom-20160410-v33-UNOFFICIAL-shieldtablet.zip

kexec_patch_stock_40.zip

-reboot to recovery using reboot menu

- multirom - add mrom file as secondary

Linux4TegraR231.mrom

- inject current bootsector

No cammand failed, as far as I know. I thought ubuntu installation should be done at this point. is that right?

What happend after that.

- I rebooted the system using the TWRP rebopot command

- Select L4T in boot selection

- Screen goes black for some secs (one or two)

- See nvidia boot screen with the text "tr_ver27" in top left corner

- Stays like that for some minutes

- Goes back to black screen for some seconds (one or two)

- Tablet is back to nvidia screen and after that I am back at the boot selection

The Android is still working. Version is 6.0.1

Did I do anything wrong? Can you please help me get Ubuntu running? Thanks in advance!

Best regards, timux
[Shield Tablet Android Development] wiQbold:
I did not follow some time, but I think ubuntu run only with 5.1.1

but this could be searched in the ubuntu thread, I think? some missing stuff, but I do not exactly know.

[MENTION=3164465]nex86[/MENTION]

I think Steel01 did uploaded some files for MM
[Shield Tablet Android Development] Galbi3000:
I have a problem.

I am playing about with my recalled tablet and have Blisspop 6.3 installed to prevent Nvidia bricking it. That was my first priority and it works fine.

I am interested in using Linux on my tablet and after a lot of research I found out the following:

1. I can not currently use version 6.3/6.4 of Blisspop as it does not support the kexec-hardboot patch.

2. The instructions install a modified version of the stock ROM along with the Linux distro.

3. To use Blisspop I need version 5.1.1

4. The instructions for installing MultiROM do not include information about how/where to install the touch support zip file. It says "only needed if not upgrading" which I am obviously not doing!

Now, doing searches for Blisspop 5.1.1 I only get results that all point to the BlissRoms site which only has versions 6.3 and 6.4 available!

So I have some questions:

1. Would using the modified stock ROM from the downloads allow Nvidia to brick my tablet?

2. Does anyone know of a kexec patch for Blisspop 6.3/6.4 to allow MultiROM to work with them, and if so are there any easy to follow instructions?

3. Is anyone able to supply a copy of the 5.1.1 Bliss ROM for the Shield Tablet without pointing me to the official site like everywhere else?

4. How do I install that touch support, if/when I get going with this?!
[Shield Tablet Android Development] xanthrax:
Flash a modified stock kernel for the ROM version you have, won't brick your tablet

Bliss 6.3 or 6.4 stock kernel has been patched with kexec

And BlissPop, the lollipop roms seems to be deleted from their website but I won't recommend you to use an outdated ROM for the sake of the security patches updated on the 6.4 version

The touch fix for the recovery can be flashed on the primary ROM as normal, it will effect the recovery itself

Sent from my Darkside of Edge plus