yashsingh1/xdaforums huggingface dataset:
[One (M9) Q&A, Help & Troubleshooting] asacado:
I recently did the whole shibang bang, root, twrp, unlock bootloader, s-off etc and am aware that our available internal storage is set at 23.5gb and can live with that, but after flashing Insert Coin, I am finding that I only have 18.7gb available am I doing something wrong or is there a way to fix the available memory?

Systems/other are showing 12.21gb taken up, apps are 1.57gb.
[One (M9) Q&A, Help & Troubleshooting] sausje85:
Yeah same here with viper rom, seems like almost 10++GB is being used by all the OS files :\

Guess no choice other than get a SD card :P
[Verizon Samsung Galaxy S 4] Surge1223:
From the log output it seems you're not defining variant defconfig. Here's one I used for nc5 or maybe it's for mj7 either way you get the picture. Also in the kernel source zip there's a text file that should help you define these.

export PATH=$PATH:~/android/arm-eabi-4.7/bin

export ARCH=arm

export CROSS_COMPILE=arm-eabi-

export PATH=${PATH}:/opt/android-sdk/tools

export PATH=${PATH}:/opt/android-sdk/platform-tools

export PATH=${PATH}:~/bin

#export JAVA_HOME=/usr/lib/jvm/jdk1.7.0

export KERNEL_DIR=`pwd`

export KERNELDIR=$KERNEL_DIR

make ARCH=arm VARIANT_DEFCONFIG=jf_vzw_defconfig SELINUX_DEFCONFIG=selinux_defconfig SELINUX_LOG_DEFCONFIG=selinux_log_defconfig jf_defconfig

make -j8 ARCH=arm zImage

make -j8 ARCH=arm modules

There's likely not a guide on doing this that in depth Samsung Galaxy only, but hope this helps.

Oh and you need to arm-eabi-4.7 or atleast some recent toolchain that you will also need to add to your path for cross compiling

P.S. Nice job with recent questions in Q&A, yours are the first in a long time that one can't find the answer to via googling and/or reading. (thus why I'm answering/trying to help)
[Verizon Samsung Galaxy S 4] Jon8RFC:
Awesome, thanks! I'm getting it to come along now, and I'm just making corrections (fixes, maybe?) as errors come up, because I still can't reach the finish line. I've begun doing make -j1 to see each thing as it pops up and I'm fixing each thing as it happens. I'm stuck with this particular one though, and I've been hunting for a couple of hours to no avail:

sound/soc/codecs/wcd9310.c: In function 'tabla_codec_remove':
sound/soc/codecs/wcd9310.c:9109:22: warning: iteration 6u invokes undefined behavior [-Waggressive-loop-optimizations]
error, forbidden warning: wcd9310.c:9109
make[3]: *** [sound/soc/codecs/wcd9310.o] Error 1
make[2]: *** [sound/soc/codecs] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2

I couldn't find anyone with code corrections, just slightly different code which didn't seem to apply. The code which did seem to apply (although it wasn't for the s4), didn't have changes and people just used the same source. I also looked at the MDK source, and it's the same as NC5 (I thought it was an i9505 issue at first from one repository I found, but MDK is the same). Apparently, I need to enable -fno-aggressive-loop-optimizations, I believe. I think? It's supposed to be enabled by default, according to GCC 4.8 documentation as a "new feature" to avoid these issues, but maybe it's not in my case. From the error shown, it looks like -Wno-aggressive-loop-optimizations is in effect, right? I can't figure out how to make GCC use the -fno option though. I'm barely understanding myself, heh, please keep that in mind.

Whew...finally found it, here:

http://xdaforums.com/showpost.php?p=51966700&postcount=5529

I'm still going to post this in the event it's helpful for anyone else. Thanks a lot Surge...I was going crazy until you gave me those new things to put into .bashrc and what commands to actually use. Hopefully I'll get through and zImage will compile and if I can do it without errors, all the better. Thanks again. I really do appreciate it =)
[Verizon Samsung Galaxy S 4] Jon8RFC:
Woohoo! Thanks, Surge =)

OBJCOPY arch/arm/boot/zImage
/home/jon8rfc/android/Kernel/scripts/mk_fipsbinary.sh arch/arm/boot/zImage
Make kernel fips binary..
Done.
Kernel: arch/arm/boot/zImage is ready

Now, on to modules...
[Shield Tablet Q&A, Help & Troubleshooting] Singularity_iOS:
I'm experiencing huge lag in certain parts of my tablet. I managed to get most working again after flashing every img (rom, boot, recovery etc.) to the device upgrading it the latest version. But there is still lag at certain times. Most of the device runs fine except when: coming out of a deep sleep. The entire tablet lags for about 5 minutes. Opening and using Chrome. Once open the lag stops but random hangs occur mainly when typing. It also hangs for about 10 sec when highlighting things. It makes it almost impossible to highlight anything because it constantly freezes. Does anyon know what might be causing this lag and how I can fix it? My tablet is on the stock rom at the latest version and is rooted. It also has TWRP.

EDIT: it also sometimes doesn't even come out of deep sleep at all. It just doesn't turn the screen on no matter how many times I press or hold the button. I just have to force restart it.
[Shield Tablet Q&A, Help & Troubleshooting] amartolos:
There are many threads about this type of behaviour in our devices, so I'm sure a quick search will give you more information than I can. Have you tried any custom ROMs at all, or do you require the stock controller compatibility? From personal experience, it's not the hardware's problem. Moving away from stock was a huge improvement, although I never personally ran into the kind of laggy behaviour you've described, only occasionally dead screen on stock.

I wonder, since you're still on stock, could you set the auto-shutdown timer to something like 24h and see if that helps your deep sleep lock issue? Before moving to custom ROMs, I've tried that on my stock 2.2.1 and never had an issue with the screen getting stuck.
[Shield Tablet Q&A, Help & Troubleshooting] Singularity_iOS:
The screen getting stuck is only something that happens after not using it for an hour or so. Isn't that when android goes into a sort of deep sleep to save battery? I've never tried custom rom on this tablet (but I have had a few and am currently using cm11 of my note 3) because I don't want to lose the features that nvidia adds such as the recording and game stream etc. Unless that is ported to the uno cm 12.(i prefer cm over anything else usually.) also don't want to have to wait for mod developers to add the latest updates from nvidia.
[Shield Tablet Q&A, Help & Troubleshooting] amartolos:
I don't know about screen recording/streaming to twitch directly, but the nvidia hub does appear to work just fine.

As for the black screen issue, I'm no expert but I've come across this kind of stuff while overclocking. Black screens and system hangs are usually some combination of improper voltage control and frequency. If the deep sleep state is hanging, I'd try a custom kernel so you can control the voltage and frequency table yourself. Maybe tweaking those could help you stay stock without the dead screen issue.

Have you tried limiting the background processes (developer options) to 4? Might help with the laggy behaviour. Also, if you come across any helpful info in your searches, feel free to link to those here; I'm sure people would like to know =)
[Shield Tablet Q&A, Help & Troubleshooting] Singularity_iOS:
I dont mean streaming to twitch I mean local streaming from my PC. I also fixed chrome by increasing the ram from 64 to 512. I also clearred the dalvik cache and it seems to be running a bit better but Ill have to investigate further. Also had a few random reboots after wiping dalvik cache
[Shield Tablet Q&A, Help & Troubleshooting] Singularity_iOS:
Random Reboots now

Most of the freezing is gone now that i have wiped the Dalvik Cache. Even the problem of it not coming out of deep sleep properly. But now its randomly rebooting at least once or sometimes twice an hour. What's causing this problem now?
[Shield Tablet Q&A, Help & Troubleshooting] Singularity_iOS:
I know this thread is getting stale, but essentially I just want a rom that keeps updated with the latest version of android, but also keeps nVidia's features. That's the reason I chose this tablet over the Nexus 9. That's why I like CM, but the nVidia features are holding me back and i'm tearing my hair out with the lag.
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
Use the full ota zip from nvidia, I recommend using cwm to flash but it can be done adb as well. Your issues are coming from the update itself. It's like dirty flashing. I had the same things as u. Went into recovery (cwm) wiped boot system data and cache and dalvik cache, flashed the official FULL OTA ZIP. boom just fine again on lp. Though it's still slow as hell compared to bliss rom with BitO kernel. Just no console mode or support for nvidia controllers. Personally I use an ipega 9023 controller, I always thought 60 bux for a controller that doesn't hold onto my tablet useless. Twitch, casting, all that is better on custom rom. Games really fly. Nvidia really messed up on stock. Maybe ota 4 will fix it lol
[Shield Tablet Q&A, Help & Troubleshooting] Singularity_iOS:
Thats exactly what I did. My tablet came with version 2.0 (Lolipop 5.0) and I was told by the guy who wrote the post with all the stock roms, to flash all the partitions using the download. I did that and the tablet was a lot better then before, but still extremely laggy and freezing. I also have to always have it on high performance otherwise its unusable.
[Shield Tablet Q&A, Help & Troubleshooting] YuriPan:
Guys I'm sorry, I don't really have answers about how the freezes and stuff can be fixed on Lollipop but if there's a rom running better I'm willing to try it I think. Can I ask you something? Does DirectStylus work right on non-stock roms? And if yes, please suggest me some roms that worked nicely for you ^_^
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
I just had to abuse myself for a week, on straight stock, no root. The shield was unusable. It just pissed me off all the time. Couldn't even get it to write to external SD. At all. Finally achieved root with kingroot (I don't have a pc) and flashed back to custom. I'm not sure how this device even sold. Other than the name (that's why I got it tbt) I'm an nvidia fan for over 18 years. But the stock shield is an afront to my good sensibilities! I may have invented a couple new 4 letter words. Lol

Anyways, STYLUS DOES WORK on custom roms. All day long. The stylus shortcut app that pops up is gone. Dabbler is in the play store. No shield controller support though, hopefully not too far off, it is being worked on hard! I use an ipega 9023 Bluetooth and find it works better without the gamepad mapper from nvidia, ANOTHER screw up by nvidia, that damn mapper hasn't worked for maybe 1 in every 15 games I try it on. Even mapping it myself, most times it just don't work.

But try the Temasek build by [MENTION=6411851]BitOBSessiOn[/MENTION] it's truly sweet. And just WORKS!
[Shield Tablet Q&A, Help & Troubleshooting] YuriPan:
I've only used stock so far which seems good but not half as good (and speedy) as I expected it to be after my dual core Kindle Fire HD, so it might be the stock rom.

Could you please provide me with a link for the rom you're talking about?

Also, how's battery life on that rom? Better or more or less the same?
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
Here's the link to bitobsessions rom. It's built on cm12.1 android 5.1.1, with a built in custom kernel. You can clock the cpu down from 2.2ghz to 1.8ghz and it's still faster than stock. Plus all the custom rom goodies. I'll add more posts here in just a sec. To get you through the install if you need. Not sure of your knowledge base but I can walk you through rooting, custom recovery and rom install. But here's the link to the rom. I'll post one for the root access app, and recovery thread for you too

http://xdaforums.com/showthread.php?t=3070909

---------- Post added at 01:34 PM ---------- Previous post was at 01:29 PM ----------

Here's the link for kingroot. It will root ota 2.2.1 with no pc needed. I just used it myself, install it, run it, it will prolly reboot ur shield, after reboot, run it again. It should root. Make sure you have USB debugging on. (if you haven't done so already, go to settings, about tablet, click on build number 7 times, then hit the back button once, click on developer options that are there now. Turn on USB debugging.

http://www.phonearena.com/news/King...ted-in-English-and-ready-to-serve-you_id69433

---------- Post added at 01:35 PM ---------- Previous post was at 01:34 PM ----------

Next, go onto play store and get flashify. Install it. With that we can get ur recovery installed.

---------- Post added at 01:43 PM ---------- Previous post was at 01:35 PM ----------

http://xdaforums.com/showthread.php?t=3025355

In the 2nd post are the downloads. Now it's not necessary to install all the multiform stuff, however at some point it does make a really nice way to dual or multi boot ur tablet using different roms from the external SD, there's even a version of Ubuntu. But you will need at least the modified twrp image.

---------- Post added at 01:47 PM ---------- Previous post was at 01:43 PM ----------

https://www.androidfilehost.com/?fid=23991606952593211

Here's a direct link to the recovery download. Once you have root access with kingroot use flashify to flash the twrp recovery.

From there that's about it. Get bitobsession rom, then reboot to recovery, remember to wipe first, click on wipe, advanced, check boot, system, cache, and data, there should also be an option to wipe dalvik, do so, install the rom, reboot. Profit!
[Shield Tablet Q&A, Help & Troubleshooting] Sjamaan:
Can we Install recovery with Flashify if we havn't unlocked bootloader before?

Thank you for your help mate.
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
Yep sure can! I unlocked mine just because, but it really isn't necessary. I think it has to be unlocked to use adb (android debugging bridge) on a pc to do it with the (fastboot flash recovery recovery.img) command. Flashify is kinda like unlocking the front door by going through the kitchen lol to be honest, your internal memory is broken into partitions just like a pc. But instead of c:/ being the first or root directory, on Android it's simply / all android is, is a very small Linux computer. So... Where recovery sits is simply /recovery as a partition. Where roms install is called /system info is saved to /data and finally /cache is where prices of apps sit to be accessible.

Root gives your current android system access to ALL files on internal storage, or, access to the "root directory" hence the term root. =) where normally as a "user" you can only read those files, "superuser" or root, can read and WRITE to the root files. And change them.

Unlocking the bootloader gives you access to those files remotely from a pc. Some other things too, but that's the skinny

---------- Post added at 03:38 PM ---------- Previous post was at 03:33 PM ----------

After you get up and running on custom rom, I'll hook ya up and walk you through installing viper4android audio. If you haven't heard of it. It replaces the stock audio driver and eq, and makes beats audio look like child's play
[Shield Tablet Q&A, Help & Troubleshooting] YuriPan:
Wow, that's a whole lot of links! Thank you!

Ughhh, if I'd only known that Kingroot could root Shield running 2.2.1 without unlocking the bootloader this last weekend! *sigh* I sat down and unlocked the bootloader, flashed TWRP and SU last Sunday... *sigh again* Well, it's ok I suppose, I was hoping not to have to do it even though I know Nvidia says it only MAY make my guarantee void... (To be honest I had my Shield replaced last week and they didn't seem to check anything, they had me ship my old tablet to someplace in Netherlands and the next day they shipped back to me a replacement from the UK, so I doubt they even took a look other than to see that the tablet was really in the box) But anyway, the point is that I had made my research (which I realize is a little outdate), and everyone said that you can't root Shield with Lollipop without unlocking the bootloader so I went through the bother to do it.

Wait, with MultiRom you can run a rom from the external SD too? I was considering giving it a go but since each rom needs every app re-installed I was like... hmmm 16GB of internal storage ain't enough, absolutely not... I'd like some more info about MultiRom if you have the time and are in the mood to write to me about it ^_^

Also, in BitO-K what's the difference between the simple version and the one saying Temasek? Also which Gapps do you suggest? There's a long list in there... (I don't really have to save space so it's ok if it's a large package, I don't want a mini just for it to take less space, I want the most stable one.)

In general I have quite a lot of experience with rooting and TWRP as a recovery (although I've never used CWM, it seemed so primitive with the volume button navigation thingie >.< ) but I still haven't understood a couple of things. 1) When I do a full wipe, which partitions do I wipe? 2) Also, I used to have a device with no external storage so I never had space to backup my whole ROM, only my app data, so if I want to do a full backup from TWRP, which partitions do I have to backup?

Damn I just read your comment again so ignore question 1) >.< You're one step ahead of me :P
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
So don't feel too bad mate, the kingroot that works for us is less than a week old....

Firstly here's a link to delta droid gapps, I've tried ALOT of the gapps packages, and this one has been perfect for me. All the Google services work, (ie voice search, play store reviews, and it supports all dpi devices, so it can be used on any 5.1.1 rom)

http://xdaforums.com/showthread.php?t=2997368

---------- Post added at 03:09 PM ---------- Previous post was at 03:07 PM ----------

Here's the link from that delta thread for the gapps base package you will need for 5.1.1

https://www.androidfilehost.com/?fid=23991606952607261

---------- Post added at 03:12 PM ---------- Previous post was at 03:09 PM ----------

You will also need this search add on,

https://www.androidfilehost.com/?fid=23991606952606798

It gives the Google search app for voice searching. The OK Google thingy. That's all really small. It only contains the base gapps and services, play store, sync, etc, plus the Google search app. All other Google Apps you can get from play

---------- Post added at 03:14 PM ---------- Previous post was at 03:12 PM ----------

OK now. BitoK is his custom kernel, temasek or BitoR is the custom cm12.1 cyanogen mod rom. It contains his custom kernel as well.

---------- Post added at 03:25 PM ---------- Previous post was at 03:14 PM ----------

Finally, I would recommend NOT playing much with the multirom thing right now, they are finding some issues currently with mounting the external SD card for booting from multiple roms right now. But it doesn't affect single rom use at all. And when you do a back up with twrp, it does it automagically, you just tell it where to save it, internal or external. Oh, additionally, yes the gapps is very small, I do look for the smaller ones, but functionality and stability are key, this is the only one I recommend, it just works right, ever since TRUE pagapps stopped being made I've played merry blue hell finding one that worked. I finally found delta and haven't looked back. Also, this is a biggie for me, and I don't THINK they have altered this yet. All apps get updated obviously, but user apps are in a different place than system apps. And when they are updated they retain an old copy ALWAYS. User apps, when updated only keep the current apk for backup. System apps used to keep a copy of all updates done. So far as I know it still keeps the original if it updates for a fall back, when you see that a gapps package is 450 mb. That means after each app has updated once.... It's 900... Updating user apps doesn't increase the space taken unless the app gets larger. Gapps all install as system apps, thats why u need the search add on. The Google app can be installed from play store, but voice search won't work totally. Ie it only works from the Google search app, this way voice search from any screen will work! =)
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
Don't forget to check md5 sums when you download for flashes. I've messed up and flashed bad downloads more than I care to admit.

https://play.google.com/store/apps/...oid&pcampaignid=APPU_1_pHNeVbu_KsHToASg94LIDw
[Shield Tablet Q&A, Help & Troubleshooting] YuriPan:
Really? Thanks for the tip! I always saw this check md5 stuff but I never did quite figure out what it did... Do I check it with this app before I try flashing the rom and the gapps?

---------- Post added at 11:18 AM ---------- Previous post was at 11:12 AM ----------

Yeah, it's a bummer. I got my device back from service and I was like... ok, this time I'm not holding back, time to finally root! (I did root my first device while it was still in KK to restore some game backups but then I wanted L so I upgraded and lost root and tried to be patient). Heh, never mind though, I have root and a recovery so that's all that matters now ^_^

Cool, thanks for the gapps! Oh, I need just one last bit of help because I'm confused. So I go to the xda post for the rom and there's this: BitO-K/KLX CM-12.1-Temasek (LTE EU/US & WIFI) I dunno where to go after I click on that... Do I choose the 11.6 folder? Is that the latest version? And then? Is the right zip for the wifi model the one that ends in "wf"? I never had such issues before because they used my tablet's name (tate) so I always could tell I had the right one...

Oh and about the backup through TWRP... so I should just choose the partitions that are checked by the recovery without messing with anything? I think it leaves boot and something more uncheched, I can check for sure when I get back home.
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
Md5 is the digital fingerprint for a file, there is also one called sha as well, same thing though. After your download finishes, look for the md5, it's a string of numbers, usually near the file name or download link. Install that md5 checker, then after the file is done. Copy the md5 numbers to clipboard, open the checker, click at top where it says choose file, navigate to the file and select it, then hit the paste button then the check button. Both strings of numbers should turn green.

---------- Post added at 08:40 AM ---------- Previous post was at 08:29 AM ----------

Ah OK the model name has gotten a lot of people to scratch their heads. Nvidia hasn't made it easy for us much. The lte is called wx_na_do, and the WiFi is called wx_na_wf. Also there is wx_un_do that's international lte, although I beleive all lte models are unified. The WiFi is the same worldwide

---------- Post added at 08:45 AM ---------- Previous post was at 08:40 AM ----------

And I just checked twrp backup. The only thing it doesn't back up is /cache and it gets rebuilt anyway at boot if it's been wiped. So no worries.
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
Ps, do NOT DOWNLOAD AND FLASH the new temasek 11.6 bitobsession built it using a new method (toolchain) and it, um, let's say, didn't come out of the oven cooked all the way ;) he's rebuilding now. Sometime later today/tonight should be a great build up.
[Shield Tablet Q&A, Help & Troubleshooting] YuriPan:
Thanks a lot for pointing that out, I had 11.6 downloaded and was about to flash it once you replied!

Hmmm if the new build is coming out so soon, should I wait to flash the newer version later this weekend?
[Shield Tablet Q&A, Help & Troubleshooting] Pariahnoble:
The next build should be really stellar. I'm on 11.4 and it's great. He was trying a new toolchain and it turned out to suck. Apparently he's going back to the toolchain that worked really well (uber with linaro optimizations) and redoing the rom. Few things coming together it looks like. But is just wait for 11.7