[GUIDE/TUTORIAL/HOWTO] Nvidia Shield Tablet K1 Stock to Android 9

Search This thread

djibe89

Senior Member
May 24, 2014
1,067
561
Samsung Galaxy Tab S2
Google Pixel 4a
[GUIDE/TUTORIAL/HOWTO] Nvidia Shield Tablet K1 (shieldtablet) to Android 9 / LineageOS 16

This detailed step-by-step guide helps you transform your Nvidia Shield Tablet K1 tablet with Android 7 to a fresher one with Android 9.

### I'll make a few notes using this style: PLEASE READ THEM.

Before going further, make sure you have the correct model.
Go to Settings > About tablet > Model number: SHIELD Tablet K1

Make sure you have latest official updates.
Connect tab to Wi-Fi network.
Go to Settings > About tablet > System upgrade. Download if update is available.

See all my tutorials at https://github.com/djibe/Android-tutorials


CHANGELOG

v1. Initial release


1) DOWNLOAD

- djibe Shield pack: https://bit.ly/nvidiashielddjibepack
(contains USB drivers + fastboot & adb + TWRP 3.7 recovery + Magisk root).
Unzip pack on Windows desktop.

- ROM AOSPExtended Unofficial: https://forum.xda-developers.com/t/...ded-rom-v6-7-unofficial-shieldtablet.4063675/
Download latest build: https://androidfilehost.com/?w=files&flid=306219&sort_by=date&sort_dir=DESC

OR Android 8.1 / LineageOS 15 Unofficial: https://forum.xda-developers.com/t/...for-shield-tablet-omx-camera-working.4276915/
Download latest build: https://androidfilehost.com/?w=files&flid=325335&sort_by=date&sort_dir=DESC
And suitable Bitgapps package

+ BitGApps ARM 9 v1.8+: https://github.com/BiTGApps/BiTGApps-Release/releases/

+ Tablet must charged to 100%.


2) INSTALL WINDOWS DRIVERS AND BACKUP

Go to the folder you unzipped earlier.
navigate to SHIELD_Family_WHQL_USB_driver_201801 > SHIELD.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.

Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect tab to PC and retrieve data.


3) UNLOCK BOOTLOADER OF NVIDIA SHIELD TABLET K1

In Android, go to Settings > About tablet.
Tap 7 times on "Build number", a notification confirms Developer menu is unlocked.
Go to Settings > Developer options and switch USB debugging ON.

Go to my /djibe folder you unziped earlier. In Windows address bar (ie E:\root\Nvidia Shield Tablet K1\djibe\flash), type cmd and hit Enter
to open a Windows Command.

Connect tablet to PC.

Enter command
Code:
adb devices
Command starts adb and returns
Code:
0424916025732008b275     unauthorized

ADB (Android Debug Bridge) has started but tab is waiting for authorization.
On tablet, authorize adb commands from Allow USB debugging dialog: tap on OK.

Then enter command
Code:
adb reboot bootloader
Tab restarts and displays nvboot screen.

Make sure [bootloader](version xxx) is 4.00.2016.04.

Go to Windows Device manager.
Check the Fastboot device > right click to update driver.
Select the manual installation and set SHIELD_Family_WHQL_USB_driver_201801 folder to install fastboot USB drivers.
Installation ends with Android Bootloader Interface.
You may have to unplug-replug tablet in USB.
Tablet should now be seen in Windows Device manager as Android Device > Android Bootloader Interface.

To test, back to Windows command, enter:
Code:
fastboot devices
Command returns
Code:
0424916025732008b275    fastboot

Enter command
Code:
fastboot oem unlock
Using Volume+, select Yes - Unlock bootloader, confirm by pressing Power.
Lowest message is now: LOCK STATE - unlocked
### Unable to run fastboot commands: < waiting for device > ? Go to Windows Device Manager
### While in ADB, driver for Android Device should be named Android Composite ADB Interface. In Fastboot: Android Bootloader Interface
### Click on View > Display hidden devices, right click on Nexus 7 > Uninstall. Reinstall drivers. No success ? Try from another computer

Use Volume keys to select Unlock bootloader and Power to confirm.
Tablet is unlocked.

Press Volume- to select Fastboot protocol and confirm with Power.


4) FLASH TWRP 3.7 RECOVERY

From Windows command, enter:
Code:
fastboot flash recovery twrp-3.7.0_9-0-shieldtablet.img
Command returns Finished. Total time: 0.995s

Back to tablet, use Volume keys to select Recovery mode, confirm with Power.

Wait during recovery boot.
Welcome to TWRP recovery.
Check Never show this screen during boot again and Swip to Allow Modifications.

Go straight to Backup > select Boot, System, Data partitions.
Swipe to Backup and wait during backup.

Back to home screen > Mount (tablet still connected to PC).
You can access tablet's storage folders from Windows Explorer if Data partition is checked and bottom right button show Disable MTP (within TWRP Mount menu).

From Windows Explorer, navigate to SHIELD Tablet > Internal Storage.
Copy TWRP folder and paste it somewhere safe on PC.
This is a perfect backup in case of crash.


5) FORMAT PARTITIONS

On tablet, now go to Wipe > Format data.
Type yes and confirm with bottom right check icon.

Now go to Wipe > Advanced Wipe. Select Dalvik / ART Cache, System, Cache, Data, Internal Storage and Swipe to Wipe.
We cannot flash on wiped partitions. Go to Reboot > Recovery and Swipe to Reboot.


6) FLASH ANDROID + GAPPS (+ MAGISK)

On restart, check Never show this screen during boot again and Swipe to Allow Modifications.

Connect tab to PC.

Back to Mount menu.
Copy ROM + GAPPS (+ Magisk) to Internal storage with Windows Explorer.

Go to TWRP Home > then Install.
Navigate to /data/media.
Select aosp-*.zip,
Add more zips > bitgapps*.zip
and Swipe to force install.

(For root, needed for Netflix : Reboot > Reboot to recovery then Install > Magisk.zip)

Android 9 is installed !
When done message prompts, tap on Wipe Cache/Dalvik and Swipe to Wipe.
Disconnect tab from PC.
Then Reboot System.
Let the tab start (a few minutes).


7) OPTIONAL: ROOT WITH MAGISK

### Only if you flashed Magisk via TWRP recovery

Configure Android as you like.
Magisk root starts with Android.
You can manage permissions and extra modules with Magisk Manager app.


10) OTHER APPS

- You can use GPS Status & Toolbox for faster GPS fix.
- Developer options
Settings > About tablet.
Tap 7 times on build number.
Back to Settings > Developer options
Set Windows animation scale, Transition animation scale and Animator duration scale to .5x
- Tablet not seen by Windows ?
Activate Developer options.
Go to Settings > System > Developer options > Default USB configuration > File transfer


That's it.

Enjoy ;-)

Thanks: @followmsi, @k23m, @nbehary, @DevSwift1, @flex1911, @yattodettaman, @emmett.tsai, TopJohnWu, TWRP team, LineageOS team, BitGApps team

------------------------------------------------------------------------------------------

BOOT TO RECOVERY

Hold Power + Volume- until Droid logo appears and release buttons, this is Bootloader.
Press Volume- twice to show Recovery mode and confirm with Power
 

tandero

New member
Dec 7, 2022
4
0
I've done this, then struggled a bit to pass safetynet, finally was able to install netflix, but it stays on boot logo and after a while gives me error 501 172. How can I make netflix work?
 

tandero

New member
Dec 7, 2022
4
0
But I did pass the safetynet earlier, it is just the application still gave me error 501, 172. I will try to include missing steps because some are the same as I performed and see if application will run.
 

tandero

New member
Dec 7, 2022
4
0
yasnac:
basic integrity - pass
cts profile match - pass
evaluation type - basic

no, but just did and rebooted and still there is the same problem (i think, it is still on netflix logo, did not give an error yet), i will update this post soon

edit:
resulted in error 500 172 (https://help.netflix.com/en/node/125643)
 

djibe89

Senior Member
May 24, 2014
1,067
561
Samsung Galaxy Tab S2
Google Pixel 4a
yasnac:
basic integrity - pass
cts profile match - pass
evaluation type - basic

no, but just did and rebooted and still there is the same problem (i think, it is still on netflix logo, did not give an error yet), i will update this post soon

edit:
resulted in error 500 172 (https://help.netflix.com/en/node/125643)
Add Netflix to Zygisk DenyList (+ other services like in Droidwin post) and clear Netflix app data
 

tandero

New member
Dec 7, 2022
4
0
Done that once again (cleared app data of netflix and google play store, google play servcies and google services framework).

Unfortunately right now it is stuck on logo, and did not give me the error yet. Which method have you used?
 

Rumsfield

Senior Member
Rom works pretty good on my K1, much better/faster than stock. Battery drain is still there but is nowhere near as bad on a stock rom (I have a brand new battery installed).

For some reason the headphone jack is not compatible with this rom at all (plugging in headphones does nothing). Anyone else notice this?