yashsingh1/xdaforums huggingface dataset:
[Shield Tablet General] fpozar:
What are you doing ??

Now, this is nothing at all my guide points you to do.

Luckily your TWRP seems to be alive and well so to fix all of this do exactly this :

1) download a ROM and some valid gapps for your device and android version - I suggest you to go download LineageOS and download the latest ARM (NOT ARM64) gapps 7.1.1 from opengapps and place them to your SD card (external sd card)

2) do a FULL wipe and wipe in TWRP everything except for external SD card (advanced and tick everything except micro SD/ external SD)

3)forget everything involving F2FS so if you are on multirom TWRP reverse all steps that brought you to F2FS, and if you did not flash multirom TWRP good job you can move on to step 4

4) flash ROM

5) flash gapps

Reboot to system and give it plenty of time to boot
[Shield Tablet General] crossIT:
Anybody have the USA LTE 32gb Shield?

Or know the compatibility

I want to do this
[Shield Tablet General] Both Barrelz:
Should be fine. Your region only really matters with the official ROMs.
[Shield Tablet General] RichDem:
Great guide, thank you for posting,

I ran into a small problem when trying to convert the file system for Data/cache. Initially I tried to select both at the same time and got an error. I then tried one at at time and it worked and I followed the rest of the tutorial. Love this lineage ROM on my Shield K1. I just wish I could get a version for my Canadian Note 5
[Shield Tablet General] RichDem:
I cannot copy any files from my tablet to my PC via USB. I keep getting an error saying a device has malfunctioned and the copying gets cancelled.

Anyone know what the problem is

Update: I rebooted the K1 and it seems OK now
[Shield Tablet General] Both Barrelz:
Not had that problem before, glad you sorted it.

However

I have issues when I try and copy files from internal storage to SD card, via a PC. The files just disappear, I lost a lot of data this way. Using the actual device to copy from internal to SD has always worked properly and so does copying from Tablet to PC. Just seems strange that I can't drag and drop from internal to SD using a PC without the risk of the file/s becoming non existent. Just a heads up to people to be careful doing it that way.

This has always been a problem for me on the Shield tablet, even on stock.

On a another note, does anyone else get an issue with the keyboard?

I get double letters (sometimes triple) quite a lot, particularly with the T and R key, in fact in fact its predominantly those two that give me issue. I also sometimes get random letters too, although I'm not completely sure if this is just me misspelling, but I haven't had such a problem on other devices or my phone. Its like a letter i used earlier will just turn up again later in the word. Writing this has been a ball ache, as I have had to go back and remove so many repeated letters.

Here's what it will look like unedited.

Everyttime I use tthe keyboard I gett repeated letters. Its really annoying and I wantt itt to stop. Ha, ball ache. :(
[Shield Tablet General] M-Kode:
Stuck on startup screen.

so got to this part:

Once you boot into this new TWRP, go to the wipe tab and select advanced wipe and change the filesystem of /data and /cache to f2fs (don't change system). Reboot again after that and start flashing.

Done that and now i am stuck on the startup screen. Tried going back to stock using recovery and still stuck on the startup screen :(

Any idea how to fix this?

EDIT:

Found the fix after some trail and error. Seems F2FS didn't work out so well on my tablet *confused*. How it's working on everyone else's but mine is quite confusing. I followed the steps as explained but it seems like my tablet didn't like the F2FS format.

The fix:

I opened up command promt from the 'Minimal ADB and Fastboot' folder. From here I ran the command to boot twrp (the one used to change to F2FS) without installing it. Loaded it up then re-formatted the cache and data back to Ext4 and now the tablet is working again as it should.

^So just in case anyone else runs into this. There's the fix :)
[Shield Tablet General] Both Barrelz:
Just to let people know that I solved my double letter issue by disabling gesture input. Yeah, it was as simple as that. It didn't play nice with my tablet and resulted in the issue I described previously. Now with it disabled it works like a charm.
[Shield Tablet General] fpozar:
Good job, thanks for sharing !
[Shield Tablet General] jcuellar1995:
Thanks so much for this easy to follow guide. ?

My tablet seems much snappier and quicker than before. I do have one issue though, is anyone else having an issue where webpages take a longer time to load. If not I'll probably go through the process again and hope the problem fixes itself.
[Shield Tablet General] oilerseberle14:
thank you so much for this, the tablet runs better now than the day i got it! if its a supposed to be recalled tablet, i'm assuming/hoping i don't have to worry about it getting bricked while on this software right? i don't need to install the kill the kill switch zip?
[Shield Tablet General] fpozar:
I don't think nVidia can kill the tablet while you run custom ROMs, though, I have a K1 so I am not really sure
[Shield Tablet General] XDamanx:
This is confusing as **** can some one make a video ?
[Shield Tablet General] fpozar:
Sorry, but you are either too lazy or too dumb to learn then. Of course this isn't simple, sorry if you can't follow it but you really SHOULD take your time and learn what some of the terms in the guide mean, literally everything you need to know (besides flashing stock ROM, unlocking bootloader and flashing TWRP for the first time - those are covered on many other guides, including Nvidia's readme file, which you obviously haven't even tried to read) is at least mentioned here if not explained to the tiniest detail.

Sorry, I won't be making a video guide because I don't have the time, if you can't follow this guide, maybe it's for the better because you might even brick your device if you go 100% blindly into this and I wouldn't like to be responsible.

Also, please don't be impolite, if you don't understand something, please feel free to ask instead of using nasty words :)
[Shield Tablet General] RichDem:
HI All,

Happy Holidays

Is it possible to install Viper4Arise on this Rom? I had previously used it with my K1 running a rooted stock ROM and miss the fantastic improvement it makes listening to music
[Shield Tablet General] marvi0:
How are the recommendations and guide by the op holding out?
[Shield Tablet General] moliverac8:
My shield tablet just made one year. I normally do 5 hours of SOT. It is normal or it is bad battery life?
[Shield Tablet General] M0rr1s0n:
Thanks for the guide, I made the change yesterday and I never had a snappier Shield Tablet before!

One addition: For the people who want to use Magisk, the Magisk guide recommends installing Magisk before flashing different kernels of any kind. So I flashed Magisk in between GApps and the Kernel like LineAge -> GApps -> Magisk -> F2FS kernel -> F2FS injector!

I don't know if there can occur problems if flashing it this way or after flashing the kernel, but just wanted to let you know!
[Shield Tablet General] Both Barrelz:
Sounds about right to me. My bad boy has reached 3 years old. The battery has held out really well. The only problem being that the last 15% is pretty much dead and will run down real fast compared to the top end of charge.
[Shield Tablet General] fpozar:
I don't know if there is a difference. I usually flash the kernel before magisk but that's because I always seem to forget to flash magisk xD

Never the less it always works as intended (at least on shield in my experience).

If you don't see any critical bugs my bet is that youre good to go, if not you can always do it the other way around
[Shield Tablet General] fpozar:
I used the same settings for a few months now and I couldn't be happier. As long as you don't expect a 200$ device to perform like a 600$ one you will be more than happy. Good gaming experience, very nice speakers for youtube and movies, also the hdmi out is nice (kodi and stuff).

Anyways, you should see at least some improvement in performance, if nothing you will get some custom rom exclusive features so thats nice as well. Just dont forget to install lite versions of facebook apps if you have facebook.

Good luck and have fun :)
[Shield Tablet General] Both Barrelz:
Might chime in here and make a suggestion to people. I got myself a Google home in November and I got used to using Google assistant. I decided I liked it that much that I wanted it on my device. After trying many times, I was unable to get it to work and I tried all sorts of ways.

So for anyone who wants Google assistant on Nvidia Shield with LOS, here's what you have to do. Download and flash Open Gapps Mini, it's impossible to get it to work on the Pico and to be honest, using Pico over Mini doesn't save you any storage space, because system storage is set to a certain size (i think it's 1.2gb, off the top my head). Mini will fit perfectly in this and I still had room to move over some apps like Chrome, Nova Launcher and Es explorer to system storage in order to get the full use out of the space, otherwise it will just go unused

Anyway, once you have the mini installed, that gives the infrastructure needed to allow Google assistant. Now you just have to force Google to activate it on your device. You do this by downloading a buildprop editor. Using the editor you have to enter a new value, which basically tells Google that your device is valid for Google assistant. The entry is this;

ro.opa.eligible_device=true

Once that is entered, save your buildprop and restart your device. Now Google assistant will automatically be activated on your device. Works a treat.
[Shield Tablet General] posaune76:
Worked like a charm, mostly. Had some interesting time on the official TWRP where I was stuck with the NVIDIA logo but able to do things through ADB. Weird, but worked out. How do I find the above governor settings? I've looked everywhere I can think of.

Thanks for the great thread.
[Shield Tablet General] Both Barrelz:
Use a kernel tweaking tool. You can download them from the play store. I use 3C's system tuner, paid version, but they have a free version too. There are plenty to choose from.

Hope this helps.
[Shield Tablet General] fpozar:
This is one way to do it. The way I got it working on my phone and tablet is by flashing stock gapps. But I didn't include this in my guide because there already exists a guide for that, and I didn't think people use that assistant at all. Also, I think it kinda uses ram and performance, which is something you need obviously if you had resorted to using lite versions of facebook and messenger xD.

If you want I can add a note for the assistant in the op
[Shield Tablet General] Both Barrelz:
It's up to you mate. Just thought I would say it because I like the Google assistant. I plan to retire my Nvidia Shield soon when I get a newer pad and have it hooked to my TV in the bedroom permanently as another assistant.

Also, I couldn't get "stock" open gapps to fit. As far as I am aware, there is no way to increase the size of the system storage on the Shield, else I would have done it. I found the largest open gapps I could fit was the mini. What size is your file system?

I don't think it impacts ram or performance that much at all. It is an internet based AI so the impact is minimal.
[Shield Tablet General] fpozar:
Sorry, my mistake, I flashed mini gapps, not stock, but never the less I didn't have to dig around build.prop to get assistant to work
[Shield Tablet General] RichDem:
Hi All,

I just found out that I can turn my bluetooth on but the K1 will never find any devices.

Anyone know what the fix is?
[Shield Tablet General] darth_antz:
Thank you for your guide and update! i updated today (21/1/2018) from the latest shield (5.2) to the latest lineage 2018-1-19 nightly.

1. for changing drives (cache and data) to F2FS, select one at a time (not both)! otherwise you'll get the invalid partition error.

2 bluetooth worked for me no problem.

3. magisk 15.3 worked no problem, flashed from twrp

4. no HDMI menu in settings from before, but as soon as i plugged it into TV i had the same HDMI options and no problems running HDMI

5. Im on windows 10, and possibly already had the device drivers installed. once i had done the first fastboot and fastboot appeared in device manager, thats when i used the nvidiafamily drivers. no problems after that for installation.

Much faster, ive just applied the ondemand kernel. much lower system memory used than before, and i'll actually start using this tablet a lot more compared to the previous feeling i had towards it.

Thank you for your guide and everyone who has contributed to this forum and developers.
[Shield Tablet General] darth_antz:
flash one at a time, not both at the same time
[Shield Tablet General] smack bob:
Can't install LOS after AOSP

Hi guys,

Device K1

I followed this guide and got everything done and set up using AOSP it was working great but I was getting some lag. I decided to switch to LOS 14.1 but I get an error 7 every time I try to install it. I have tried going back to stock but after install it just sits at the nvidia logo forever. '

Does anyone have any advice for getting LOS on there?

thank you
[Shield Tablet General] smack bob:
I changed back to ext4 from f2fs and it worked...
[Shield Tablet General] Both Barrelz:
Due to the fact I am always messing with Shield Tablet. I gave it a go to get assistant working without modifying the build prop. It doesn't work for me. I'm pretty sure you need to give the shield tablet permission to access Google Assistant. As always, as soon as I added the permission and rebooted, assistant was up and running straight away.
[Shield Tablet General] fpozar:
I don't know. I am very sure I didn't edit anything and give some extra permissions. Did you use opengapps?
[Shield Tablet General] Both Barrelz:
Yeah. Open Gapps mini, won't work with Pico and anything bigger won't fit in the partition. That permission is needed for all devices that support Google Assistant by default. Adding it manually is necessary for ROMs and devices that can support it, but don't automatically install it.
[Shield Tablet General] coopmaster:
How do i return to a different rom? since formatting with f2fs is there anything i need to do to go back to a different rom?
[Shield Tablet General] codystar55:
Suggestion: use kernel adiutor and disable z-ram (set to 0) this is a redundant (IMO) feature that claims to help performance by paging system files on ram however of uses a whole quarter of this tablets already low ram(only 2gb wow) and I notice a difference immediately.... Please share your views on this option
[Shield Tablet General] fpozar:
And how did it work out for you? I did that some time ago and I did notice some improvement but then I flashed the newer kernel which completely ditched the zram feature and it still had memory problems. I was thinking about doing a clean flash again so maybe I will flash back the kernel recommended in this guide and set zram to 0
[Shield Tablet General] codystar55:
So far multitasking has improved a lot and apps don't kill each other as often(seems I can't fix this fully without a swap file) recently I learned that the multitasking can be helped with a swap file I used apps2sd swap manager and the problem seems to be rectified (at least class 10 micro) If I have to be honest here I'm using resurrection remix and I'm loving it doesn't seem to be too different in performance than los.

Edit nvm it seems that no matter how hard I try Spotify just crashes when I try to do anything else.... Really having a hard time with this one..
[Shield Tablet General] fpozar:
Are you really sure that multi tasking has improved? Like, do you have a quantitive evidence, for example the number of tabs without the need to refresh or something, because many times, especially after you work your ass off to make something work, you start seeing improvement where there in fact isn't much. Not that I don't believe you, because I as well did 'see something' but I didn't have any numbers to work with. Never the less, I believe this whole memory problem won't be fixed by tweaking a few values in kernel adiutor, many devs gave it a shot but (as much as I know) this is a deep problem and a mess up by nvidia. Though, maybe the effects can be reduced with this. I'm gonna do a clean flash in a few days and check how many google chrome tabs work at a time, maybe you could do the same so we have more info to work with.
[Shield Tablet General] codystar55:
Results seem inconsistent sorry about that however I tried disabling my swapfiles tested Spotify and browsing again and so far there hasn't been a problem... Later I can try some more testing with the z ram option and eventually I'll try what you mentioned after a clean flash as I'd like to get to the bottom of this
[Shield Tablet General] Iceek1:
Is there a more simplified way of doing this

Im able to flash lineage but i dont feel comfortable doing all the other flashing and file stuff

It was just yesterday i learned to flash my stock rom

Sooo

Could you tell me a few steps om how to speed up my tab taking away all the stuff i could brixk my tablet with

Thx?
[Shield Tablet General] fpozar:
Well, this is a pretty dummy proof guide as long as you follow it step by step.

But I guess if you want to go easy this time you can skip all the f2fs involving steps and just flash lineageos (kernel optionally) and google apps if you use them.

Good luck
[Shield Tablet General] Iceek1:
Lol i do feel kind of dumb i rerread it all and i understand most of it now thx!

---------- Post added at 04:30 PM ---------- Previous post was at 04:23 PM ----------

Quick question

If i flash lineage am i able to keep a backup of

Stock in twrp?

And when you say flash everything in twrp do you mean including system everything?

And do you flash the bitobbsessions twrp in twrp?

Thx
[Shield Tablet General] fpozar:
Yes you can make a back up of stock in TWRP right before you proceed to wipe and flash lineageos. So before doing everything if you wish to back up (really no need to in my opinion since reverting to stock is really easy) just hit back up in twrp and follow instructions.

Also, I don't understand what you mean by flash everything in TWRP? Flash lineageos, BitO's kernel, google apps and f2fs injector in TWRP.
[Shield Tablet General] Iceek1:
Sorry i meant delete everything in twrp

Does that mean system?
[Shield Tablet General] fpozar:
Yes. Tick everything in advanced wipe after you are ready to continue and have saved the back up some where safe.

I edited op so now it should be more clear.
[Shield Tablet General] Iceek1:
Alright thx

Im gonna try this stuff tomorrow and ill tell you how it goes
[Shield Tablet General] Iceek1:
Can you use supersu in this?

And also does it have to be lineage 14.1 instead of marshmello

Just curios.
[Shield Tablet General] Bitcloud30:
[MENTION=7395801]fpozar[/MENTION] hi i hope u can help me ASAP. I want to go back to the stock rom made by GtrCraft. I want to play an app in the tablet in that version of Android. Is the f2fs supports the stock rom made by gtrcraft?
[Shield Tablet General] fpozar:
It can be any ROM, and yes you can use superSU but you need to flash it with TWRP. Though, in my opinion, Magisk is just superior in many ways to supersu
[Shield Tablet General] fpozar:
I am not sure which ROM you're talking about, maybe you could send me the link so I can check, but you can feel free to do the same procedure from the guide and test it yourself, in the worst case you will have lost 5-10 minutes to testing, but nothing will break your tablet.
[Shield Tablet General] Bitcloud30:
https://xdaforums.com/shield-tablet/development/rom-optimized-stock-shield-tablet-k1-t3437791

ok i did a little experiment and what iu did was through FASTBOOT the NVIDIA files(zip files). did the steps correctly and DL the "stock" rom and now into the TWRP when installing the rom it shows ERROR:7 idk what i did wrong. the downloading process went smooth. idk y am getting that error. am done for today. i will try again that tomorrow. :(
[Shield Tablet General] fpozar:
This hyperstock ROM is flashed through fastboot, not TWRP, other roms (lineage, aosp extended, resurrection remix etc.) are flashed with twrp and this guide should work for them
[Shield Tablet General] Bitcloud30:
The files that i pushed using fastboot was the files that came from nvidia not from gtrcraft thread.

. Can u give me a thread to follow a step by step guide for it? Sorry if i sound a little newbie.
[Shield Tablet General] Iceek1:
Alright thx

Would marshmellow give me any better performance?

And ill try magisk but im more familer to supersu

---------- Post added at 04:34 PM ---------- Previous post was at 04:26 PM ----------

If you flashed the lineage os on twrp and got error 7

(Or maybe a different rom)

For me in lineage in order to stop error 7 you have to unzip

It and edit 2 lines of code then save and rezip it.

There are tutorials on youtube or i can tell you what to do.

Hope this helped
[Shield Tablet General] Iceek1:
I can confirm this MASSIVELY Helped my performance. I am able to even record my screen without lag. Thank you fpozar for the help with this!

Just one more thing. My otg wont work

Usb drives work fine but anything with audio like mic or headphones dont work.

Any idea why this is?i heard something about it being the kernal?

Thx again!
[Shield Tablet General] Bitcloud30:
What ROM did you use for ROS?
[Shield Tablet General] fpozar:
Stay tuned I'm making a major update to the guide in a few days, I've been testing for a whole day now and it's game changing.
[Shield Tablet General] Iceek1:
I havent played rules of survival yet but i have played pubg mobile and it runs smooth

I am using rhe aosp extended rom as he has linked underneath lineage os.

Happy hunting!
[Shield Tablet General] Bitcloud30:
If you are planning to play ROS in that ROM i will tell you now it wont work i have already email many times netease about that problem and they dont act on it. Right now my tablet(k1) is on an older 5.0 = android 6.0. And off the topic, am having a problem to install GtrCraft stock rom. Luckily i did manage to save a older rom baked by other OP(i forgot who he/she was).
[Shield Tablet General] coopmaster:
So does anyone else on this suffer from horrible battery life, my battery lasts maybe 3-4 hours.
[Shield Tablet General] dewlite:
Do go on now, was just about to follow your full guide but will wait if you are almost ready to reveal.
[Shield Tablet General] Farfenkugell:
Same here.

Using tablet mainly for media consumption, but it is sometimes soo slow.

Want to install lineage with some tweaks, which this whole topic is on about.

Waiting for the updated guide.
[Shield Tablet General] coopmaster:
If your looking for speed dont bother with lineage, I went with the AOSP Extended (AEX), definitely faster than lineage.

Unless you need a lineage feature. Make sure to flash the blob as this guide does not say to and it affects your battery life heavily.
[Shield Tablet General] Farfenkugell:
I am looking to replace it with something that works.

Stock is just terribly slow, unless set to "Maximum Performance", optimzied just lags everything.
[Shield Tablet General] coopmaster:
I was in the same boat, honestly try AOSP Extended (AEX) Rom I booted it up and I was surprised.

I use mine mostly for media as well but still didnt like that it lagged constantly just for switching apps, I tried lineage and it was okay but though about trying this rom. Im loving it honestly best performance I have had on this device.
[Shield Tablet General] Farfenkugell:
Yea, unlocking and starting app is quite painful on it now.. even while that is just youtube and vlc
[Shield Tablet General] coopmaster:
Yeah those were my major ones too, doesnt lag that much anymore now.
[Shield Tablet General] fpozar:
You don't need the blob (if you mean the 5.0 firmware from steel's topic) because if you really do follow the guide you will get the latest one by flashig latest stock rom.

Also, update is coming next week, I'm on vacation right now :)