yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] timux1991:
Problem solved!

Thanks again for the help. I mananged to get Ubuntu running. I took detailed notes of the process. Hope that helps someone. Here they are...

#prepare device

- boot device to bootloader and enable fastboot

- run "fastboot oem unlock" to unlock bootloader

#downgrade to Android 5.1

- visit website https://developer.nvidia.com/gameworksdownload#?search=SHIELD%20Tablet%20K1&tx=$additional,shield

- download in section "NVIDIA SHIELD Tablet K1 Factory Image " the linux version

- unpack archive

- run the following commands (found them in teh HowTo that is in the archive)

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot flash system system.img

fastboot erase userdata

fastboot flash staging blob

- reboot device and check in settings if device is back to Android 5.1.1

#install recovery image

- run "fastboot flash recovery twrp-multirom-20150909-UNOFFICIAL-shieldtablet.img"

- run "fastboot reboot-bootloader" to reboot device

- select "Recovery mode" to boot the recovery image

#install patched kernel, multirom and multirom touch support

- allow modification question

- connect USB stick/sd card and make sure it is mounted in the Mount menu

- back to main menu and choose "Install"

- add the three zip to the installation queue: "kexec_patch_stock_311.zip", "multirom-20150909-v32a-UNOFFICIAL-shieldtablet.zip" and "multirom_shieldtablet_touch_support.zip" and make sure the box "Inject ..." is checked (not sure if the order of the apps is important).

- swipe to install

- reboot to recovery and if asked do not root the device (not sure if it could cause any trouble)

#install Linux

- hit Advanced -> MultiROM - Add MultiROM

- set "MultiROM installer" and "Internal memory"

- navigate to your mrom file. In my case that was "Linux4TegraR231.mrom" and swipe to confirm

- after you are offered to reboot, hit the "back" button bottom right twice

- hit "Inject curr. boot sector" and swipe to confirm

#set Linux as default boot option

- hit back -> Settings

- set Rotation to 180

- hit "Configure autoboot"

- select Linux4Tegra for auto-boot

- optional: set Delay to 10s

- Go to reboot menu and boot System

-> basic installtion is done

#setup Ubuntu itself

- I used a WIFI keyboard/mouse connected with a USB-OTG cable to enter my values
[Shield Tablet Android Development] zagzag99:
Anyone has multirom working with K1 at 1.4?
[Shield Tablet Android Development] SickV:
Interesting but not working

Hi there,

I tried to use MultiROM to use stock ROM for games only and some custom ROM for the rest, because of the controller and HDMI audio issues in custom ROMs.

Anyway, here is what's going on :

I downloaded multiROM on first page of this topic, installed it, used the provided APK to install the modded TWRP that is compatible with MM, and tried both latest modded stock kernel and latest Bit-O-K, with no difference.

Primary ROM always works fine, but I can't get the secondary to work. Please note that I am always performing full wipes before I try anything.

And here is what's "interesting" : All the ROMs I tried, stock and custom, do start, but the screen remains black. I know they start because I can hear the screen locking sound when using the power button.

So I tried to remove the boot.img from the MultiROM menu in TWRP, and surprise : I can see the secondary ROM start!

But the stock ROM reaches the first boot screen, but then says "powering off" and does so, Resurrection Remix reaches the "starting applications" screen and goes back to the boot animation until it says again "starting applications", and so on, and Dirty Unicorns starts properly but the battery stats are messed and the theme engine won't work (I read on DU's topic that it has something to do with the kernel). I can't remember how Blisspop behaves, but I think it does like Resurrection Remix.

Voila, you know anything you should about my problem I guess, and any help would be much appreciated of course.

What I do appreciate a lot already is all the hard work provided by all of you guys, I could never thank you enough!

Oh, and I forgot to say that I have never been able to use the multirom boot screen, using buttons or touchscreen, even after I flashed the touchscreen fix.
[Shield Tablet Android Development] mati_boy:
exactly the same here
[Shield Tablet Android Development] Steel01:
http://xdaforums.com/showpost.php?p=66299548&postcount=303

The opening post release doesn't work on M. The above link has hack builds that kind of work, but it isn't pretty. Don't know if I'll ever get back to properly fixing that. Maybe after the N bringup for CM is done.
[Shield Tablet Android Development] chrzaszczwtrzcinie:
Please do
[Shield Tablet Android Development] jpearn:
Works for me, running 4.3 as main rom with Bliss / Kali 2nd !
[Shield Tablet Android Development] k3wlar:
It is working with Linux4Tegra R23.1 / R24.1?
[Shield Tablet Android Development] boswelja:
Only if you have a lollipop rom
[Shield Tablet Android Development] BitOBSessiOn:
[EXPERIMENTAL] TWRP 3.0.2 MultiROM (F2FS modded)

Available here.

No boot N ROMs as secondary (flashing is ok)... I understand MultiROM revision needed... My knowledge at this point is very limited, my main goal was offering a proof of concept for F2FS in TWRP and I decided to use latest MultiROM TWRP flavour because I use it for testings other ROMs.

ATM I'm trying with latest MultiROM NO_KEXEC patch... [MENTION=1416222]Steel01[/MENTION] , Have you messed with this...?
[Shield Tablet Android Development] Steel01:
I'm beginning some tests with no_kexec. Trying to get all my repos back up to par first, though. All my mrom branches have fallen behind... However, I'm pretty excited to see something like this. Maybe more of a pain to keep things straight, but it should make for much cleaner secondary boots.
[Shield Tablet Android Development] k3wlar:
Nothing much happens here shame :(

Are there any news about the support bootloader MM? Personally, I'd like to just Android and Linux4Tegra ....
[Shield Tablet Android Development] BitOBSessiOn:
In a few days we will test a new non-kexec multirom version... Let's see if we're lucky...
[Shield Tablet Android Development] k3wlar:
I keep my fingers crossed for you. Perhaps you will succeed;)
[Shield Tablet Android Development] xanthrax:
He will... [emoji106]

Sent from my Darkside of Oneplus 3
[Shield Tablet Android Development] lmulli:
This ****ty device doesn't even have enough SD Card space to run one rom, nevermind two!
[Shield Tablet Android Development] zagzag99:
Not true, I've ran 2 Roms on my Nexus 4 and it had no external SD.
[Shield Tablet Android Development] berryman13:
What exactly did you try and what exactly was the result?

One thing I notice, my device is flipped 180 degrees when I boot it. I haven't yet flashed a 2nd rom.
[Shield Tablet Android Development] lowsum:
You can rotate the multi rom screen 180° from twrp... Advanced-MultiRom-Settings-Rotation

I tried to flash nvidia's stock 1.2.1 & 2.1 and vanir, they all reboot back to multirom screen.
[Shield Tablet Android Development] berryman13:
Was Vanir for your variant?

And, check the 1.2.1 OTA zip. It's not flashable as is.
[Shield Tablet Android Development] grv00711:
multirom

tried this AOSP 4.4.2 for Nvidia Shield Tablet LTE US. not booting ..what about the stock image from nvidia ?i am using AOSP 5.0.1 for Nvidia Shield Tablet LTE US as the primary. i need something that has lte functionality. the AOSP only has 4g.. .you cannot flash a different kernel in multirom? noob ................also not having any luck removing the aosp 4.4.2 rom?
[Shield Tablet Android Development] berryman13:
Who are you calling a noon?

I think there's language barrier here. But you're trying the wrong zips.
[Shield Tablet Android Development] grv00711:
referring to myself .no insult intended..noob= new to this ..roms, flashing, kernels. newbie -can you suggest a few working roms please,?
[Shield Tablet Android Development] berryman13:
PAC ROM alpha 1 boots and works fine. Has some kinks with multirom
[Shield Tablet Android Development] grv00711:
will give it a shot .appreciate any and all explanations ..thank you!------------links are down ..unable to delete AOSP 4.4.2 from multirom startup menu ..looked for it with root explorer deleted what i thought were those files..?............figured out how to delete roms ......no luck finding a working one?
[Shield Tablet Android Development] ACharLuk:
IS that android 4? I still haven't been able to boot any rom
[Shield Tablet Android Development] berryman13:
No. Its a private build sorry. PAC 5 Lollipop
[Shield Tablet Android Development] grv00711:
no pac roms available yet? has anybody got anything working that is available ? what about ubuntu??
[Shield Tablet Android Development] lowsum:
Where exactly does multirom reside? Any way to uninstall it? I tried to restore a backup made prior installing multirom but it's still there. Since I installed multirom I experience some weird touchscreen problem, shutting off the screen and turning it back on fixed the problem but it happen every 2 minutes so it's pretty annoying. Anybody else?
[Shield Tablet Android Development] grv00711:
i found uninstall zip on multirom site but that did not work ?
[Shield Tablet Android Development] :
Anyone having this issue where /data partition fails to mount for this recovery? Because at this point I'm crippled without that partition being mounted. Even I'm having issues with adb sideload and USB otg. Any further help would be appreciated. Thank you.

Edit: Nevermind. After finding out this Tablet was encrypted, factory reset while still taining root did the trick.
[Shield Tablet Android Development] t.nothnagel1980:
Can I use these TWRP and MultiROM ZIP for the "European" Nvidia Shield Tablet 32 LTE?
[Shield Tablet Android Development] Nezorflame:
Yes you can. But stay away from flashing "universal" versions of ZIP-files (for example, StarKissed kernel from twistedumbrella) because your device will be recognized as WiFi-only version.

Other than that it's working OK.
[Shield Tablet Android Development] Bogdacutu:
Will release updates for both MultiROM and TWRP later this week.

- fixed issue with many ROMs not working

- will have 3 versions of TWRP, one for each variant of the tablet

- improved touch response and fixed dpi in MultiROM

- fixed internal ROM sometimes not booting

- very large improvements in secondary ROM booting and rebooting speeds, down from sometimes 30-60 seconds to always less than 5 seconds

- updated MultiROM to v31, TWRP to v2.8.5.0
[Shield Tablet Android Development] xanthrax:
Great! Looking forward to it!

A friend of mine is trying to build a cm 12 based rom, wondering if you have any thoughts on CM kernel, the rom compiled successful but doesn't boot, no recovery errors

Thank you, we can switch to pm's if you're interested

Sent from my Darkside of 1+1
[Shield Tablet Android Development] Xarrdroid:
got it working!

I got this working on my US LTE version. Running rooted latest ota as internal not hidden that I manually flashed the standard ota package followed by reflashing multirom files in twrp without rebooting as to not lose custom Recovery. Also am booting the EOS AOSP build here on XDA as well. It flies in multirom, although it has a few bugs. But with multirom who cares! You can bounce around testing ask sorts of things!

I have had one issue I haven't trouble shot yet. I was going to cherry pick and modify the current stock ota. Also, the OTA I am running is the build previous to the latest one although I was able to run the newest one as well. Running older one due to another custom kernel I'm trying to incorporate. The major roadblock I am hitting on wanting to debloat, mod, and enhance with viper audio etc, is that I can't seem get it to boot after flashing SuperSU! Tried all sorts of old new builds to no avail.

Anyway, super excited to have multi rom on my shield! Never thought we would get a build before my nexus 6.

I am happy to have this in its current state but greatly look forward to the enhancements you mentioned above.

Thanks again for your great work and personal time you are devoting to our exciting tablets!

Cheers!
[Shield Tablet Android Development] Bogdacutu:
Sorry guys but unfortunately I won't be able to get a proper release done this week (got exams next week that I need to study for), but my dev builds should work for those who want the latest stuff (all the fixes are in, but there aren't 3 separate TWRP versions):

https://dl.dropboxusercontent.com/u/47937529/Shield/multirom/r2/multirom.zip

https://dl.dropboxusercontent.com/u/47937529/Shield/multirom/r2/recovery.img
[Shield Tablet Android Development] 2kool2Bcruel:
What is the current method to flashing Multirom?

I apologize in advance if the answer is obvious but I keep bouncing around threads and each thread mentions something different or new and I can't pin down the current method and files to flash multirom.

If anyone can help I'd appreciate it.

I have both, an original Shield Tablet and a K1.

Both tablets run rooted stock Android Marshmallow and are up-to-date with original Shield on ota 4.4 and the K1 on ota 1.5

Both use TWRP 3.0.2-2

That is the info. I believe I'll always run rooted stock as my main rom but would like as much freedom to try different secondary roms.

I appreciate your help.
[Shield Tablet Android Development] FliiFe:
EDIT: Just came across the last links you provided (a few pages before). Works great.

Any chance of getting the recovery to work with the new bootloader ? (The one that came with marshmallow, which is not backwards-compatible) ?

Also, I did not manage to get the touchscreen working (even with the patch).

Seems to work otherwise.

Also, is there an uninstaller file ? Would an uninstaller for an other device work ?
[Shield Tablet Android Development] drakonizer:
Your source links are outdated. Please update them. Thank you :)
[Shield Tablet Android Development] BitOBSessiOn:
[UNOFFICIAL] TWRP 3.0.3 + MultiROM v33 (20161220)

Work in progress... EXPERIMENTAL.

MultiROM need revision, no touch screen, but works. ATM is not as comfortable as we'd like, but good enough for testing latest ROMs without touching your daily ROM.

Download

TWRP 3.0.3 available here.

MultiROM v33 (20161220) available here.

MultiROM touch menu still DOES NOT work, so as a workaround you must select default booting ROM from MultiROM Settings section in TWRP.

Notes:

Tested with MM and N ROMs as secondary ones.

MultiROM is NO-KEXEC modded, so in theory, no modded kernel in primary should be needed.

I've been working with [MENTION=1416222]Steel01[/MENTION] 's patches for MultiROM but not success atm with latest (no-kexec) MultiROM code (for flipped and touch screen screen working). More work pending.
[Shield Tablet Android Development] aaronne:
First of all many thank to you, first time was no touch on boot changing screen (upside yes) but after reinstalling MultiromV33 and the second ROM, touchscreen began to work and still work at moment after changing various 7.x.x ROM. (first internal ROM is on stock 3.10.67 nvidia's kernel)

Thank you and all, again, for hard work in development
[Shield Tablet Android Development] k3wlar:
Trying to secondary ROM ... but twrp (3.0.3), we wrote error: E: Unable to open the folder ROM / data / media / 0 / multirom / ROM /

I do not know where we make mistakes ... for any advice I will be grateful
[Shield Tablet Android Development] BitOBSessiOn:
Are you using F2FS or encrypted /data partition... ?
[Shield Tablet Android Development] k3wlar:
EXT4: /system , F2FS: /data and /cache

EDIT : Now it says another mistake

E: Failed to mount location "/ dev / block / mmcblk1p1 (NTFS)!"

ntfs not supported? I sdcard Format to exFAT or FAT32?

error spawn when I want to add a secondary rom

EDIT 2 :I manually created a folder / data / media / 0 / multirom / roms /

and the wall is that it works .. I will continue to test
[Shield Tablet Android Development] fedetrevi1:
hi, i flashed all this file( touch support included) but touch doesn't work when i boot the device. why?
[Shield Tablet Android Development] cucumbersmell:
Probably due to your inability to read...maybe?
[Shield Tablet Android Development] Steel01:
I'm starting to poke at this again. Got multiple versions of CM booting. Touch support works fine for me. Looks like I removed that zip from my AFH account, so I re-uploaded it here. Should work with BitO's build too. If the boot menu is upside down, modify /data/media/0/multirom/multirom.ini and set rotation to 180.

Had some issues booting the CM secondary the first time. Will be playing with it some more before throwing together an official build. I'm hoping this can be used to get l4t working again too, but I haven't started on that yet.
[Shield Tablet Android Development] undrwater:
I'm very interested in the l4t, and I will help in any way I can. I'm not a developer, but have a decent amount of Linux experience.
[Shield Tablet Android Development] fedetrevi1:
I read all the thread!!
[Shield Tablet Android Development] wiQbold:
you use Lollipop? which kernel?

or
[Shield Tablet Android Development] k3wlar:
As men in TWRP (or other software) backup folder /data/media/0 or /data/media/0/multirom (folder) ??

I would like to make a backup l4t.
[Shield Tablet Android Development] k3wlar:
We do not know why nobody wants to answer my question :( :( backup underlies for use) .... 1th January 2017 6:26 PM | # 395
[Shield Tablet Android Development] xanthrax:
I personally don't understand the question, what is "men" in this question? What is "l4t"?

Sent from my Darkside of Oneplus 3T
[Shield Tablet Android Development] BitOBSessiOn:
TWRP 3.0.3-1 + MultiROM v33 (20170118) (NO_KEXEC)

I share my latest personal build (W.I.P.)

Touch support available and buttons fixed in MultiROM menu but still flipped screen for boot menu...

Downloads

TWRP 3.0.3-1 available here.

MultiROM v33 (20161220) available here.

Touch support for MultiROM boot menu (flash first time after MultiROM, Thx to [MENTION=1416222]Steel01[/MENTION] ) available here.

EDIT: MultiROM updated, screen position fixed.

EDIT: TWRP updated to fix F2FS format option
[Shield Tablet Android Development] k3wlar:
I think that's probably not have time but you have not tried L4T through this new version? Sorry for asking several times before but every day I pray to god to multirom launched with android L4T + N or MM :D
[Shield Tablet Android Development] BitOBSessiOn:
Not tested, sorry.

---------- Post added at 18:46 ---------- Previous post was at 18:44 ----------

Finally... MultiROM screen position fixed, available here.

*Previous message updated.
[Shield Tablet Android Development] Calystos:
Anyone know how to get this to work with adaptive storage? When I booted into TWRP I was able to select adaptive storage as an option to install no problem, but soon as I finished installing a test rom and rebooted the MultiROM menu did not detect it at all though all the files are there if I go back into TWRP or boot my primary system no problem as I can still see/browse them.

Is MultiROM not compatible with adaptive storage based sd cards?

Thanks.
[Shield Tablet Android Development] BitOBSessiOn:
Although TWRP can support adoptable storage (because recognized FS), probably multirom doesn't... Have you successfully booted a secondary from a classic formatted SDCard (portable storage)? I haven't gone deeper on this matter.
[Shield Tablet Android Development] zlatkomas:
It's OK

I'm using adaptive storage with Multirom, it's quiet stable.. I don't have random restarts for now... I'm using 128 GB SD card.
[Shield Tablet Android Development] Calystos:
Slight delay in responding as I was trying out various alternate setups (eg different SD cards, formats, internal/external, etc) to see if could get it to work.

Nope, as I have since tried using two different cards and have also tried formatting them as fat32/vfat even (ntfs moaned with "E:Failed to mount location "/dev/block/mmblk1p1 (ntfs)"!") as default exfat of course wouldn't work anyway. They both were only listing additional ROMs inside TWRP's MultiROM list when I clicked the option to view SD not Internal storage list.

No idea, maybe I installed an set things up wrong. I've got TWRP 3.0.3 + MultiROM v33 (inc additional/new patch) installed from a few posts back, along with the Touch update patch, and am using Stock ROM but with BitO-K8-003 Kernel (for MultiROM support) but perhaps I messed some step up an got it all installed wrong... *shrugs*

If I install my test ROM (Linux4TegraR241beta) to Internal mind it is listed on both the TWRP based MultiROM Internal list as well as the boot menu too. Just not if I try to install to the SD (regardless of format or if its adaptive or portable). Though after a reboot and it goes to the boot menu, I select the option to boot the test ROM and it just sits there at the nvidia boot logo for ages doing nothing else. So yeah, I think I messed something up on either installing MultiROM or the test ROM somewhere along the lines. Will start fully from scratch and double check things.

No idea, I was using a 200GB SDXC and yeah I was getting random restarts for some reason so going to wipe/reset and start afresh to see if that sorts it all out.

Have since fully factory reset, and according to the About page it is indeed using the BitO Kernel. I will try doing installing things again and then try the 3 cards I was testing out with again and see if anything works right then.

Not sure if it makes a difference but am using MultiROM Installer (mrom) of Linux4TegraR241beta to test with. It is installing to "Micro SDCard" (any of the 3 am using) just fine, though only gets listed if you select storage and switch from internal to sd.

Going to do a fresh start (full reinstall of rom/recovery/etc) and see if maybe I messed up a step or something along the way.
[Shield Tablet Android Development] D-m-x:
[MENTION=6411851]BitOBSessiOn[/MENTION] Thank you so much for keeping this alive. The latest combination seems to be working wonderfully, altough i have it only running for about 1h. This can get me the best of both worlds, stock and custom Rom. Haven't tried it with adoptable storage yet however.
[Shield Tablet Android Development] BitOBSessiOn:
Can you try with a stable kernel like latest K8 instead KE8...?
[Shield Tablet Android Development] D-m-x:
Is there any way to counter Soft Reboots? I'm experiencing some almost regularly with my Primary (Stock Rom + rooted) and 2nd Rom (Dirty Unicorns).

Can Multirom even cause this?
[Shield Tablet Android Development] BitOBSessiOn:
Most probably the culprit is the kernel... Which one/s are you using...?
[Shield Tablet Android Development] D-m-x:
Yeah, I thought so too, sorry i forgot to mention that. I'm using Stock on both, that means Nvidias Stock (1.5 Update) and Dirty Unicorns Stock Kernel (this is the 2nd Rom).

I've read a bit in your Kernel Topic, should I flash that, if so which Version, to which Rom (both?) and if so should kexec be disabled?

A lot of questions I know, sorry :silly:
[Shield Tablet Android Development] BitOBSessiOn:
Tou can test latest BitO-K8 or KE8 (testing) for nvidia stock.. But remember that BitO-K still is not guaranteed to work on N...
[Shield Tablet Android Development] D-m-x:
Installed it for Stock, thank you very much. I used K8 and will test a bit. Will report back the result :)

About Nougat: Yeah sure, since it isn't out yet I understand.