yashsingh1/xdaforums huggingface dataset:
[Shield Tablet General] aaronne:
Hello, flashing and booting to twrp worked on new K1 tablet, just a bit irresponsive touchscreen and menu delay, I leaved it in "read only mode" and backupped the 3 partition, now going to try to install xposed, gravibox and other tweaks. If no works I'll try the restore too xD

Thanks Steel01

Wiped all from tablet menu Settings\Backup and Restore, booted to initial config screen but I've not set it, I shutdown and rebooted to recovery to restore previusly TWRP's backup, seems to works at all and I seeing trough fileEs thats TWRP's also restored correctly the files and structure on sdcard(32GB) mounted as internal mem as my whole system and config.

Perfect!

P.S.: I wiped only for experimental purpose to try out any issues, but the TWRP's and xposed with many modules are running right way

P.P.S.: TWRP's restore are only visible in recovery mode but not in file explorer sw, so saved first on internal mem then to my notebook
[Shield Tablet General] Vartom:
I added the utility itself in 2.8.7.1.

On Mipad version 2.8.4 (if not mistaken) contains this utility.

Ps resize2fs it is necessary to try, utilities are the same.
[Shield Tablet General] fards:
Resize2fs I can reduce the size of cache and userdata. Need to write partition table to move system to allow it to grow. That's not happening

For those asking

I have a system.img with the fallout.apk removed.

I also made an update zip using dat system

It still doesn't boot on the og tb8.
[Shield Tablet General] Yoyoa:
To resume, we had an experimental TWRP seems to work but a little buggy? (it's a good good beginning :) ) And for root? is it chainfire root?

Can we have a method/tuto to do all things?

For me i need root access for Adblock, sixaxis controller, titanium backup all is ok you think?
[Shield Tablet General] Vartom:
System and cache nearby. Decreasing The Cache can increase the System partition.

You can share the zip archive img extracted from the system partition with K1? Or suggest a working tool to extract.

Sorry for the bad english.
[Shield Tablet General] fards:
resizing cache doesn't work from my experiments so far.

will upload the img later on
[Shield Tablet General] Evil_Sephiroth:
reistalled back K1 factory image (i'm on old tablet rom) and updated to 6.0 K1 rom

stylus option are back (none on stock k1 rom) but....even if i enable the navigation bar stylus only mode and lazo option nothing appear...

can anyone point the build.prob line to edit?
[Shield Tablet General] fards:
ro.disable.stylus.settings=true change to false?
[Shield Tablet General] Evil_Sephiroth:
that's it...sry always forgot the line ^^

thank you
[Shield Tablet General] fards:
some slight progress.

Adb shell is almost working

/system/bin/sh: /system/etc/mkshrc[10]: getprop: not found

/system/bin/sh: /system/etc/mkshrc[16]: id: not found

looks like toybox links are being set up on my modified img.

Hmm

looks like the sdat2img doesn't extract links properly.

Trying again in true *nix not vmware

fingers toes and everything else crossed, but it does look like that's why it wasn't booting for me ..

if this works I'll upload it, then go into the garden and eat some worms..
[Shield Tablet General] fards:
hoooverybloodyra!

:victory:Hmmm worms...

Tasty

Guess what works, feel so very very very stupid to have missed that. Been back through my term logs on the vmware and spotted that none of the symlinks extracted properly..

Completely missed that the first time.

So that's several days of trying to work out what was going on when something so simple was my error. #whatatw@

Image uploading:cowboy:

I've uploaded a modified reduced system image to androidfilehost.

needs flashing with fastboot, haven't made an update zip yet.

To get this working on the OG tablet tb8 !

you need fastboot,

do the following from bootloader (power and righthand volume)

fastboot flash staging blob

(from castrwilliam) http://xdaforums.com/showpost.php?p=64431114&postcount=110

poweroff (for me the blob doesn't take on a reboot, needed complete power off and boot to get it to work .

boot to bootloader

fastboot getvar all <<<<< if you see (bootloader) max-download-size: 0x06000000 then you have the correct blob flashed.
fastboot format system
fastboot erase recovery
fastboot format cache
fastboot flash boot boot.img (from castwilliam)
fastboot flash recovery twrpXXXXXXXXXXXX (from steel01 [url]http://xdaforums.com/showpost.php?p=64520513&postcount=229[/url])
fastboot flash system reducedsystem.img [B]([url]https://www.androidfilehost.com/?w=files&flid=46449[/url])[/B]
fastboot reboot

you will probably need

fastboot erase userdata

as well, as it doesn't play nicely dirty flashed from what I can see (that might be just down to my experiments) .

EDIT

Some people are saying Erase gives you a bootloop (Didn't here but hey ho :D )

if so then use

fastboot format userdata

instead

I've modified the build.prop to allow stylus in settings, not feedback to nvidia and ignore the recovery type.

easy enough to rectify if you don't want them
[Shield Tablet General] fards:
couple of things ive noticed now it works.

falloutshelter is only a 1mb apk, no idea why it forces so much over the system filesize.

It also installs fine as an app, installs a huge update from play and works fine.

stylus works, but there's no pop up menu when you take it out, and the stylus only mode and shortcuts on the nav bar aren't there.

So that's not likely to be a limit with the k1 tablet, but the rom.
[Shield Tablet General] :
[MENTION=265575]fards[/MENTION] Where do i find the blob? The blob.img doesn't work :( Just give me a bootloop
[Shield Tablet General] fards:
they are all in the post I linked to.

it can't give you a bootloop if you drop into bootloader mode after flashing it, as you aren't trying to boot the system.

when you've flashed it and gone back into bootloader then

fastboot getvar all <<<<< if you see (bootloader) max-download-size: 0x06000000 then you have the correct blob flashed.
[Shield Tablet General] :
In your post it says fastboot flash staging blob but the blob name is blob.img?
[Shield Tablet General] fards:
doesn't matter really, just change the name or stick .img on the line.

the original file from the zip is called blob (with no img) which is what I was using.

I'll change the instructions on my post to make it easier
[Shield Tablet General] nielsscholte:
Device is not responding after flashing the blob.img... Stuck at a black screen and I can't get to the bootloader....
[Shield Tablet General] :
Is this correct?

(bootloader) version-bootloader: 1.0

(bootloader) version-baseband: 2.0

(bootloader) version: 0.4

(bootloader) serialno: ggggfgvdffvdscsdfc

(bootloader) mid: 001

(bootloader) product: ShieldTablet

(bootloader) secure: no

(bootloader) unlocked: yes

(bootloader) partition-size:bootloader: 0x0000000000600000

(bootloader) partition-type:bootloader: basic

(bootloader) partition-size:recovery: 0x0000000001000000

(bootloader) partition-type:recovery: basic

(bootloader) partition-size:boot: 0x0000000001000000

(bootloader) partition-type:boot: basic

(bootloader) partition-size:dtb: 0x0000000000400000

(bootloader) partition-type:dtb: basic

(bootloader) partition-size:system: 0x0000000050000000

(bootloader) partition-type:system: ext4

(bootloader) partition-size:cache: 0x0000000040000000

(bootloader) partition-type:cache: ext4

(bootloader) partition-size:userdata: 0x0000000311600000

(bootloader) partition-type:userdata: ext4
[Shield Tablet General] fards:
here is the Stylus quick launcher

install it as normal

open the stylus (Its a bit erratic) and set it as default when the popup appears.

sometimes it works a treat sometimes it disappears before you can get to it!
[Shield Tablet General] fards:
No as you can see there's no (bootloader) max-download-size: 0x06000000

keep trying

after flashing it you can try

fastboot reboot-bootloader

but it didn't flash for me till i completely turned off the tablet.
[Shield Tablet General] nielsscholte:
When connecting the tablet to my PC after flashing the blob.img it recognises my Shield as an APX device (???)
[Shield Tablet General] :
I have tried flashing blob like 10 times. Can you share your blob?
[Shield Tablet General] fards:
YOu are pressing the wrong volume button
[Shield Tablet General] nielsscholte:
My bad! Spent to much time with other devices :D
[Shield Tablet General] Pender666:
I got a boot loop too. To fix it you must change the last fastboot command:

fastboot erase userdata

to:

fastboot format userdata

Flashed here, after a long first boot I'm on the setup wizard.

Using a Shield Tablet 32Gb LTE.

I lost 3G after flashing.
[Shield Tablet General] fards:
attached as a zip file although it is binary identical

make sure you extract it first.

have to go out now.
[Shield Tablet General] fards:
nvidia use

fastboot erase userdata

I've put a note on the instructions..
[Shield Tablet General] fards:
Not that surprising really as the K1 is wifi only.
[Shield Tablet General] nielsscholte:
I think [MENTION=4162057]Pender666[/MENTION] is right. When trying the command ''fastboot erase userdata'' it tells me: ''Did you mean to fastboot format this partition?'' Fastboot format userdata works fine :)

---------- Post added at 07:46 PM ---------- Previous post was at 07:23 PM ----------

How long did your first boot take?
[Shield Tablet General] Pender666:
A few minutes
[Shield Tablet General] darkuni:
So the new experimental TWRP posted a few pages back ... Does this enable us to flash supersu.zip proper and go back to Chainfire's SU? Or are we still using phh's ?

Thanks

Update: The answer appears to be - no. After installing SuperSU.zip from TWRP, the tablet hangs on boot :(

Well, at least we have recovery :)

BTW if you tried this, reflash system.img.simg
[Shield Tablet General] IKOB3AST:
So to anyone flashing this, I was at the nVidia screen for about 5 minutes. Don't worry about that.

My next question: I installed SuperSU but cannot update the binary. Should I reflash the modified boot or use TWRP?

Any help is appreciated.

IKOB3AST
[Shield Tablet General] funkypigeon121_:
thanks to you and all the other devs who got this working I followed the instructions properly and now my shield tablet has booted into marshmallow
[Shield Tablet General] Exile1975:
SuperSu isn't working right now, use this instead.

https://play.google.com/store/apps/details?id=me.phh.superuser&hl=en
[Shield Tablet General] darkuni:
For those just looking to root, I've got the tutorial up to date (no TWRP yet):

http://nvidiashieldzone.com/index.p...ablet-root/root-shield-tablet-v1-marshmallow/

The thread is a big bulky. :)
[Shield Tablet General] fards:
There is twrp.
[Shield Tablet General] darkuni:
Ya, I'll be adding that soon. Was kinda hoping Chainfire's SU got updated so I could do it all at once. Once people install TWRP, they will probably try to flash SuperSU and that will softbrick and I'll get loaded with email ;)
[Shield Tablet General] skooter32:
Back up works???
[Shield Tablet General] An Droid:
Which SuperSU version did you use? Was it the latest beta v.2.65 that will modify the 6.x boot img and attempt to install the systemless root?

I haven't tried any of this myself - just asking as I'm following the thread. I'll just wait for the official MM update for the original ST8.
[Shield Tablet General] darkuni:
I do not believe it was the latest beta. I would be willing to try that first before giving up :)

---------- Post added at 07:19 AM ---------- Previous post was at 06:47 AM ----------

Okay, so I went ahead and grabbed the latest bleeding edge SuperSU (2.65 beta) and flashed with TWRP.

This time, the Shield Tablet rebooted just fine! I ran SuperSU (the app) and it needed a binary upgrade. I used NORMAL first, which failed. Then I tried TWRP mode and it rebooted and did an update (seemed to work). The tablet rebooted....

... and ... it hangs on the NVidia logo. I'm assuming the App tried the "old way" and did the system-based SU vice systemLESS.

So, I flashed the system.img.simg again. Went back and flashed the beta SuperSU again. Installed the BETA 2.65 apk instead of using the Google Play one.

Ran the app, again, did a TWRP binary update.

Same issue ... hangs at NVidia screen.

So I'm guessing the magic boot img we used would have to specifically support SuperSU instead of phh's root.

Sigh.
[Shield Tablet General] FliiFe:
Anyone got xPosed to work on marshmallow ? Xposed Installer tells me that it was installed successfully, however I can't get any module to work (even Gravitybox !).
[Shield Tablet General] IKOB3AST:
Guide for Updating to Android M

In case anyone is confused through the disjointedness of this forum, I have made a guide on how to install Android 6.0 M on the ORIGINAL nVidia Shield Tablet. All of the credit to the developers associated is given and found here:

http://xdaforums.com/shield-tablet/general/unofficial-update-original-shield-t3281541
[Shield Tablet General] darkuni:
Well done!
[Shield Tablet General] Grooby97:
nice job for all these work! anyone think there might be a risk of upgrading, when official MM Rom is released next year?
[Shield Tablet General] IKOB3AST:
All you should have to do is flash the factory staging blob and then reflash recovery and get a .zip for 6.0 once it hits the shield.
[Shield Tablet General] drewski_1:
yes, i'm using Xposed v79 with the phh Superuser root.

i've only tried Gravitybox and that is working AOK so far.
[Shield Tablet General] FliiFe:
I finally got it to work too. I wanted it for the cursor on the navbar when typing, but it seems to be the only feature that doesn't work properly...
[Shield Tablet General] gumbyx84:
Will the steps in this post get me root on a Shield K-1 updated to Marshmallow? I keep finding threads (such as this one), online tutorials, and posts like this one that give different steps and files to flash from the one I linked to above. I've looked through the thread as much as I can and haven't come across anything stating any of these steps and files expressly works for the K-1. Instead of making a new thread, I decided to post here. I don't feel like bricking my shiny new tablet trying to root it just to be able to use Titanium Backup.

For a far simpler question: Is the 6.0 update stable? I keep reading conflicting reports all over the web.
[Shield Tablet General] Exile1975:
If you want titanium backup to work your going to have to install the experimental twrp, and root with the SuperSU 2.65 zip. And yes MM is stable as long as you do a factory reset after installing it, otherwise old settings from 5.1.1 causes many problems
[Shield Tablet General] drewski_1:
TiBu worked for me with the phh Superuser method in his first link.
[Shield Tablet General] gumbyx84:
I've read posts in this thread saying you have to use pph's Superuser, thought that is neither here nor there. I need to have root access before I can even think of installing a su app. What I need to know is if [URL="http://xdaforums.com/shield-tablet/general/official-android-6-0-marshmallow-update-t3247432/post64431114#post64431114]this[/URL] is the most recent and stable way to root a K-1 running Marshmallow?

Thanks for the heads up about Marshmallow. Can anyone confirm that a factory reset straightens everything out?
[Shield Tablet General] drewski_1:
your first, second, & third links appear to be using the same files & root method.

your fourth link does not root, just how to install MM onto the Original Shield Tablet.
[Shield Tablet General] dowlf:
It also works for me with phh superuser.
[Shield Tablet General] drewski_1:
that is the most recent way to install Marshmallow onto the ORIGINAL Shield Tablet.

if you've got a K1, i think you can just do the OTA, flash the modified Boot Img & install the phh Superuser.
[Shield Tablet General] Exile1975:
Start off with a fresh install of MM on the k1.

Flash twrp from here http://xdaforums.com/showthread.php?p=64520513

Then flash the beta SuperSU 2.65 from here

http://xdaforums.com/showthread.php?p=64497946

Your rooted.
[Shield Tablet General] gumbyx84:
The first link gives a blob, two system image, system sparse image, and stock recovery with no real flashing instructions. The second and third have clear instructions (the second with terminal commands) but make no mention of the blob, system sparse image, or stock recovery. This is why I'm confused on which is the correct method.

Update: I was in the middle of posting this message when you posted your reply drewski. Sorry
[Shield Tablet General] drewski_1:
the first link assumes you need to upgrade to MM so has more files, the 2nd & 3rd links assume you are already on MM.

the Blob is the new MM Bootloader, if you do the OTA this will get installed as part of that. same with System Images & Stock Recovery.

These have nothing to do with root (only getting to Stock MM), and why they are not mentioned in the 2nd & 3rd links

EDIT: or try SuperSU 2.65 method others have mentioned after flashing TWRP. this should auto-magically modify your boot.img without having to mess with that.
[Shield Tablet General] xsquid:
Didn't work at all for me. Would not restore, did not see any apps on the "adopted" storage, could not freeze any apps. I am redoing mine to try the new supersu.

---------- Post added at 05:36 AM ---------- Previous post was at 05:26 AM ----------

Thanks. Is this twrp supposed to flash in? Even with the modified boot image earlier when I flash it I can boot into it but the next time the stock recovery is back like when yoiu fastboot boot instead of fastboot flash.
[Shield Tablet General] Exile1975:
adb reboot bootloader

fastboot flash twrp.img ( or whatever it's named)

fastboot reboot (without this I couldn't get recovery to stick)

adb reboot recovery

Alternately of you can't get recovery to flash you can try this

adb reboot bootloader

fastboot boot twrp.img ( or whatever it's named)

Flash SuperSU.zip

Reboot

You won't keep recovery this way tho
[Shield Tablet General] xsquid:
Ah, let me try fastboot reboot then as it's not sticking. Thanks.

It just keeps getting worse. Can't get it to take either way, there is no recovery right now. Guess I need to start over.
[Shield Tablet General] darkuni:
The tutorial posted on my site does indeed work (at least several people have reported it effective - and it is what I used).

This does assume you are ALREADY on MM.

I'm going to try the new TWRP and beta SuperSU (although one version I tried didn't work).

---------- Post added at 07:39 AM ---------- Previous post was at 07:37 AM ----------

This didn't work for me. How did you "start off fresh"? That might be my issue.
[Shield Tablet General] Exile1975:
If you already installed the rooted boot.img that needs the phh super user then you need to restore the factory MM boot.img for the supersu patch to work. Make sure it is version 2.65 or newer, I know this one worked.

As for twrp, try and try again, it took me twice to get it to stick. For a great tutorial on getting it to stick look at the official twrp threads op for our device.
[Shield Tablet General] darkuni:
I flashed everything back that I could (staging blob, boot image, etc.) before I attempted.

YES! It worked. I redownloaded the latest SuperSU beta and I seem to be in business! I must've been one version back or something.

I checked TWRP again after the successful root and it is still there and working.

Time to update the tutorial. Thanks a bunch!
[Shield Tablet General] Exile1975:
Glad you got it working, I can't seem to get adb working to backup my boot.img so I couldn't post it.
[Shield Tablet General] fards:
Try deleting recoveryonboot.p in /system
[Shield Tablet General] Exile1975:
To fix which problem?
[Shield Tablet General] fards:
Might help with people not having twrp stick.
[Shield Tablet General] xsquid:
This did it fards, thank you. Thank you all. Rooted, recovery is there, happy camper. Thanks again.
[Shield Tablet General] drewski_1:
i didn't "adopt" the sd card, just kept as external and restored the apps i had on 5.1.1

if you do adopt, then i believe the card gets encrypted and reformatted so you will lose the backups that were saved to it on Lollipop.
[Shield Tablet General] darkuni:
http://nvidiashieldzone.com/index.p...-tablet-k1/root-shield-tablet-v1-marshmallow/

Latest version using SUPERSU beta, no boot image and installing TWRP.
[Shield Tablet General] 2kool2Bcruel:
I was able to end up with a rooted 6.0 on K1 using a combination of http://nvidiashieldzone.com/index.p...-tablet-k1/root-shield-tablet-v1-marshmallow/

and the method described at http://xdaforums.com/showpost.php?p=64431114&postcount=110

So having a rooted 6.0 is great. However, I cant boot into TWRP. It just hangs on the Android Logo indefinitely. If anyone has any info about that I would be thankful.
[Shield Tablet General] dowlf:
I was rooted with the phh superuser with the modified boot.img. I reflashed the stock boot.img, flashed the experimental twrp recovery and then was able to install the beta supersu. It is nice to have this method back.
[Shield Tablet General] Exile1975:
Step 8 is missing a few things, should look like this:

Fastboot with TWRP

Type “fastboot devices” and make sure your Shield Tablet K1*is visible.

If your Shield Tablet*is listed, type “fastboot flash*recovery twrp-20151227-EXPERIMENTAL-shieldtablet-m.img” (or whatever you named it) and hit enter. *If your TRWP image filename has a space in it, you may have issues.

After flashing recovery you need to "fastboot reboot"

Once into Android you need to again "adb reboot bootloader"

"Fastboot boot recovery"

You should see the TWRP Recovery screen. *

Note: This experimental version has some UI issues, just keep at it.You may be prompted with something to do with the system being READ ONLY. *Accept the default and swipe.

The problem is you don't go straight to recovery after flashing it. Also you might point out that SuperSU has to be 2.65 or latest beta nothing before that worked.
[Shield Tablet General] darkuni:
Oh, I go to Recovery directly on the device ... I will add that to the tutorial. No need to do a full reboot after flashing. Just use the on-screen recovery option.

Thanks!
[Shield Tablet General] Exile1975:
Both times I've flashed twrp on this device it wouldn't stick unless I did a full reboot in between. Either way your guide days twrp will open after the flash finishes and it doesn't happen by itself
[Shield Tablet General] darkuni:
I've added my manual step to the tutorial. I will add the reboot as an alternative.
[Shield Tablet General] Exile1975:
Sorry, I just looked at the comments on the guide and saw someone confused there so I thought I would try to help out but didn't want to create an account
[Shield Tablet General] darkuni:
There is social login, so you really don't have to "sign up" per se, if you want to leave a comment. Appreciate feedback and help!