yashsingh1/xdaforums huggingface dataset:
[Shield Tablet Android Development] CM17X:
Why ban? Just because I'm not agree with the "this kernel is capable of things others can't?". I can tell my results and if he/you dont like it, move on and go too.
[Shield Tablet Android Development] SuperPichu:
Building stock

Did you ever figure out how to get the stock kernel to build without having to build the full source?
[Shield Tablet Android Development] twistedumbrella:
All the releases have been direct from the kernel source alone. I don't even have the full source set up for Mac yet lol
[Shield Tablet Android Development] SuperPichu:
How can I get just the kernel source for stock lollipop?
[Shield Tablet Android Development] twistedumbrella:
Once I get back to the computer, I'll pull up the address and then the commands in the OP will build it.
[Shield Tablet Android Development] twistedumbrella:
Nvidia kernel repo:

git://nv-tegra.nvidia.com/linux-3.10

Branch:

rel-st8-l-r1-shieldtablet8

If you want to build without using the "out" folder:

https://github.com/StarKissed/stark...mmit/85445990a87424c6a84ba774c51b04a71d5a21bc

then without modifying anything else in the nvidia source (such as the DTB debacle):

make -j[Number of Jobs] clean CROSS_COMPILE=[Local Toolchain]
make tegra12_android_defconfig -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
make tegra124-tn8-p1761-1270-a04-e-battery.dtb -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
make -j[Number of Jobs] ARCH=arm CROSS_COMPILE=[Local Toolchain]
cat arch/arm/boot/zImage arch/arm/boot/dts/tegra124-tn8-p1761-1270-a04-e-battery.dtb > arch/arm/boot/zImage_dtb

The kernel will then be arch/arm/boot/zImage_dtb
[Shield Tablet Android Development] twistedumbrella:
[MENTION=2672500]SuperPichu[/MENTION] I forgot to quote you when I posted the links and such, but it is also in the OP now.

To everyone: please take part in the poll that is being posted to help determine what should be done.
[Shield Tablet Android Development] SuperPichu:
Thanks. What toolkit are you using? I'm using the arm-eabi-4.6 from google. I'm getting the following error trying to build:

Makefile:800: recipe for target 'drivers' failed
make: *** [drivers] Error 2
[Shield Tablet Android Development] twistedumbrella:
android-toolchain-eabi-4.7
[Shield Tablet Android Development] Shaky156:
Guys guys don't argue in development section, if anyone has issues let the development do the talking.

Im sure most people dont want this thread locked, let twistedumbrella dev, so relax duuudes :)
[Shield Tablet Android Development] twistedumbrella:
I reopened the thread because some updates are just too exciting to let one person ruin.

There is now a copy of Philz recovery in with the kernel that has the rotation corrected.

Touch still does not work, but it is a step in the right direction.

I will leave the thread open under the condition that no more responses are offered to those with nothing better to contribute than insults. It is far easier for the moderators to isolate the problem if there is nobody else to drag down with it.
[Shield Tablet Android Development] kickassdave:
Thanks dude.

Sorry if I'm missing something obvious but the download only seems to be 7.05KB in size. Is that right?
[Shield Tablet Android Development] bleached45:
Thank you for the fixed Philz. That was a nice surprise!

I'm currently using the 12/8 kernel, definitely seems to hang less than stock. Keep up the great work. Many of us appreciate what you are doing.
[Shield Tablet Android Development] twistedumbrella:
Either it is still refreshing on their end or the upload got corrupted. I'll double check shortly.
[Shield Tablet Android Development] mezkalz:
I can't seem to download any of your builds at all now. The timer counts down and then nothing happens.
[Shield Tablet Android Development] kickassdave:
I can download, but I just get a 7.05KB file each time.
[Shield Tablet Android Development] twistedumbrella:
Yeah, it should be 12.3M

I just uploaded again over it so hopefully that refreshes the download.
[Shield Tablet Android Development] KennyG123:
Thread cleaned

If you have no bug reports or constructive criticism then please do not post

If you are not using this kernel then you don't belong here!

How selfish to waste everyone's time with these trolling posts

Now everyone can get back on topic

Friendly Neighborhood Senior-Mod
[Shield Tablet Android Development] twistedumbrella:
Thanks [MENTION=3125148]KennyG123[/MENTION]

It may be best to hold off on the recovery for the next version [MENTION=3011250]kickassdave[/MENTION]. I got the orientation patched but forgot to bring the controls along for the ride.

With umbrella_core and a range of 1.0 to max, we are looking at a test run of 5.5+ hours screen on from full to 15%

With that, I am content to begin working on other parts of the kernel :)
[Shield Tablet Android Development] kickassdave:
Still just getting download unsuccessful or a 7.05KB file every time.
[Shield Tablet Android Development] bleached45:
If you are on the tablet, try using uc browser or turn on a setting to rename the download. I believe the android download manager doesn't like the file name, it says it has illegal characters in it. UC removes the characters before downloading. (I'm guessing periods or the like are your issue).
[Shield Tablet Android Development] kickassdave:
Perfect. Thank you.
[Shield Tablet Android Development] twistedumbrella:
I'll bet it's the []

Some file handlers don't play well with () so I became accustomed to []
[Shield Tablet Android Development] Nezorflame:
Hi [MENTION=593514]twistedumbrella[/MENTION]!

I own the RoW LTE version of this device.

Unfortunately we don't have a dedicated recovery yet so I had to remove the if...endif part from your updater-script and left only the LTE EU kernel part.

With that done, flashed your kernel through CWM recovery successfully. Using the StarKissed-LP50_12-09-2014_04.11-TN8[Auto] version.

Tablet booted normally.

Everything's working as intended from what I can tell, but there's one thing that bothers me a bit.

Max and min freq are not sticking at all - you can, say, set min at 312 MHz and max at 2218 MHz and it's either not changed in preferences or set to some random values (like 1044 min and 1224 max).

The issue can be reproduced in any kernel management program (used your application, TricksterMod, Aero Kernel, Kernel Tweak and some other I don't remember).

So, here's the question - is it just not implemented yet and device does this job by itself or is it a bug and we're supposed to be allowed to set the max and min settings by ourselves?
[Shield Tablet Android Development] twistedumbrella:
It is a bug in terms of configuring it yourself but a feature in terms of stock hardware. The cpu management code handles frequencies on it's own. That is something I want to make optional, but not remove.
[Shield Tablet Android Development] Nezorflame:
Thanks, I kinda thought so. Making it optional would be perfect.

Well, it's running all good and stable, so I guess it doesn't matter for now.

Keep up the good work, gonna use it as my daily driver.
[Shield Tablet Android Development] kickassdave:
Best to stick with interactive gov for now or has anyone got some nice results tweaking any of the others? I know on the M8 on AOSP we managed to do some serious tweaking with interactive to get it running pretty sweet. I'd also be interested in seeing how far you can undervolt this CPU. It doesn't make too much of a difference I would imagine, but every little helps lol
[Shield Tablet Android Development] infernix:
Great work. Was about to start a fork myself, but you've already done the legwork.

I would ask that you consider disabling zram in the next build. On the stock kernel I frequently see kswap0 taking up a lot of CPU cycles and I don't believe a 512MB zram swapdrive is going to have a useful impact on a 2GB RAM device; quite frankly I don't understand why NVidia enabled it in the first place.

I'd also like to see the inclusion of the ROW scheduler, as read speeds far outperform write speeds both on internal as well as sdcard, and so it makes sense to me to weigh reads more heavily than writes (plus game data is almost all read and almost no write). I don't really believe CFQ is beneficial because there's always going to be only one foreground task, whereas CFQ is made to balance IO across a lot of processes (e.g. heavy multitask workload).

Thanks!
[Shield Tablet Android Development] twistedumbrella:
As the OP implies, there isn't one position as kernel dev that is filled until that dev resigns.

If you intended to do that stuff, don't let there already being a kernel stop you.

Row is something I started work on but it is far from "drag and drop" on Tegra.
[Shield Tablet Android Development] silvercat:
Is there any other alternative link to download? When I try to download its asking for user id & password
[Shield Tablet Android Development] kossiewossie:
Thanks for your hard work!

just out of interest will this work fine on the LTE tablet?

and what exactly does this kernel offer over the stock?

thanks again!
[Shield Tablet Android Development] twistedumbrella:
Yes. It is best to check the git link in the OP for a "changelog" because it is growing a little too fast to list it all.

There are no other links right now, but also no requirement by Goo to login for downloads. Are you on the right site?
[Shield Tablet Android Development] silvercat:
Oh ok sorry it was my download manager, now its downloading. Thanks

---------- Post added at 12:06 PM ---------- Previous post was at 11:21 AM ----------

Since there is no recovery compiled for LTE version can flash this kernel using a wifi version ?
[Shield Tablet Android Development] twistedumbrella:
I'll just make the recovery. It'll be up in an hour or so.
[Shield Tablet Android Development] silvercat:
That's great. Thanks a lot!! :)
[Shield Tablet Android Development] twistedumbrella:
They just uploaded, so whenever Goo refreshes. Install in your current recovery, reboot recovery, and you're in.

If it doesn't detect the device, new kernels are coming shortly to compensate for how cwm stuff adds cm_ like it's relevant.
[Shield Tablet Android Development] silvercat:
Installed recovery and kernel, up and running smooth now. Thanks :)

But after installing the recovery, screen started flickering in recovery mode.. not a big issue.. maybe you can look into it when you have the time.
[Shield Tablet Android Development] SeVIIn:
Noticing a screen flicker too but it's also on my home screen not just recovery
[Shield Tablet Android Development] twistedumbrella:
https://play.google.com/store/apps/details?id=com.loungecat.starkissed
[Shield Tablet Android Development] twistedumbrella:
[youtube]f4zyjLyBp64[/youtube]
[Shield Tablet Android Development] _Fidor_:
Hi,

Would it be possible to remove brackets "[]" from the file names on goo.im? Those characters appear to not play very well with Firefox browser (in connection with javascript), resulting in empty downloads. Chrome (Chromium on linux) on the other hand has no problems with those URLs.

Further debbuging showed that those two browser handles brackets in links differently (ie. by not escaping brackets to %5b and %5d accordingly).
[Shield Tablet Android Development] flolep:
Hello there.

Hey [MENTION=593514]twistedumbrella[/MENTION].

Glad to see a dev around for our lovely tablet.

I tried your builds of philz recovery and kernel for eu-lte version.

Everything ok. Happy to see more options on kernel's configuration. It's just a bit frustrating to configure back settings after a reboot as some users already reported but, well, maybe you'll find the problem with time :)

My question : do you think it would be easy to have some control over throttling temperature? I noticed that, often, the tablet is heating and so the cooling process takes place... And when it happens, the tablet is almost useless... Upping the temperature before throttling a bit would be a temporary solution to this problem.

Other alternatives : undervolting to have the tablet heat less (I know you are at work on this), find the best governor to go at full speed not too much to avoid heating without impacting performances.

Speaking of that, what gov do you recommend? Interactive seems to heat the tablet, ondemand is not as performant... There are several govs in your list but I don't know them all... What is the name of your gov?

For the scheduler, I use vr, but I know sio is good too... But my preference would be for row like another user in this thread. I know you're at work on this too :)

Well. Keep up the good work man :)

Take care.
[Shield Tablet Android Development] twistedumbrella:
Possible in the future, but not for existing builds. At least the kernel. I can change the recoveries over since it's only one each.

http://xdaforums.com/nexus-4/development/guide-android-governors-explained-t2017715
[Shield Tablet Android Development] flolep:
Well. Thanks for your answer and for this very interesting article. I already knew a bit about how main governors worked (although I learnt about lionheart in this article) but I was talking about other governors in the list of your kernel (essentially umbrella core, yank active, dance dance). Smart max I think I know.

You didn't answer about how complicated it would be to have control over throttling temperature and what YOU have as default governor and scheduler?

But don't worry! I will wait for the functionalities without disturbing you too much :)

Take care man!
[Shield Tablet Android Development] twistedumbrella:
I wasn't worried. It's 9 AM on a Saturday here. I'm sure you'll live until I finish the essays for school to write yours :D

[youtube]GjJCdCXFslY[/youtube]
[Shield Tablet Android Development] flolep:
Hihi. Yep! For sure! Take all your time! Even take some rest for the week end or more. I'll be patient! Here it's 6PM :) Hello from France!
[Shield Tablet Android Development] twistedumbrella:
Temp control on Nvidia Android products is generally wasted effort. They get warm, but that is one of the core focuses Nvidia has when designing the device.

My settings are simple. I change the gov to umbrella_core for the added cutoff when the screen is off but leave all else stock. I don't feel there was a need for new configurations, just behind the scenes updates. Everything else is provided for those that disagree.
[Shield Tablet Android Development] kieeps:
I'w seen many posts about heated shields. I cant even get mine to heat up when charging + streaming games :) the fact that its 16°C in my home atm might be a factor in this... Hate winter
[Shield Tablet Android Development] kossiewossie:
Download links seem to be down, is it possible to upload the kernel on a mirror? Thanks!
[Shield Tablet Android Development] flolep:
Well... I don't really understand why but as soon as I play a bit with my tablet, it's getting warm for no reason and then the cooling process takes place and I cannot use my tablet anymore... The thing is that the warm effect is not a big deal (it could be warmer I don't care). What is THE big deal is this cooling process : when the tablet is in this state, no navigation possible, no recent applications, no keyboard... Useless... I have to put it on the side and use it after a while... The problem is that this cooling process is not rare... Each time I use my tablet for around one hour, it does the process. Upping the throttling temperature a bit before this process arrives can be a solution... It would be warmer but it would be usable...
[Shield Tablet Android Development] brainmaster:
Your unit is defect. I played 5 hours Trine 2 over hdmi and had no "cooling process" starting. You'd better RMA your tablet.
[Shield Tablet Android Development] twistedumbrella:
I just tried them and they appear working. I removed the ones with [ ] leaving the recoveries and https://goo.im/devs/playground/shieldtablet/StarKissed-LP50_12-12-2014_00.07-TN8-Auto.zip
[Shield Tablet Android Development] twistedumbrella:
I think the important thing to understand is that it isn't a solution. It is a workaround.

You have a cutoff for when the device is getting too warm, which limits the frequencies to allow time to cool. You have another cutoff for when the device is hot, at which point it locks you out to do an emergency drop of frequencies that needs to happen without the risk of user interaction interrupting.

Lower the throttling limit in your situation will be like locking the frequency at whatever the value is for throttling. The device is obviously not cooling properly and is reaching the max cutoff before throttling kicks in. All you will do is hit the temp, slow down the CPU, back to normal, hit the temp, slow down the CPU, back to normal over and over unless it still rockets right past the throttling temp.

It would be a lot easier to simply lock the CPU at say 1.9 GHz and call it a special holiday edition by Verizon.

[youtube]jejjBSX8NcY[/youtube]

A device should not require a custom kernel for core functionality. Time to contact Nvidia.
[Shield Tablet Android Development] twistedumbrella:
Added a changelog to the OP. Also found the flicker issue, but it seemed to only happen when my hand was near the camera while using landscape. Is that the case for others? It almost felt like the ambient light sensor was trying to change the brightness too fast, which is something apps like Juice Defender warn of when tweaking the settings. Either way, I have something to diagnose.

In the meantime, it seems there must be plenty to add. It can't be a couple days in and already at a standstill... I'm sure I will have something shortly.
[Shield Tablet Android Development] ciribaski:
I'm impressed by the performance of this kernel!

Really thanks for taking care of this device.

(I'm trying different settings, but there is something that you recommend?)

Thanks again
[Shield Tablet Android Development] twistedumbrella:
This one is tough to make recommendations for the way it is. It isn't taking frequency settings as rules so it is just selecting a governor. I use my own but I would be a terrible developer not to lol.

For io, I tend to like Zen and with tcp, I always go with highspeed for wifi only but you may need another for lte.
[Shield Tablet Android Development] KCKitsune:
OK, I've checked this thread and I could not find out what I needed to know so I'll ask: Does this kernel work with the LTE version of the shield tablet?

I got the LTE version for the expanded storage and the possibility in the future of needing the LTE capabilities. I don't care, right now, if flashing this kernel will disable LTE. I can wait for that functionality.
[Shield Tablet Android Development] flolep:
Yes it works.

Only flash philz touch recovery for the LTE version of your tablet (EU or US) , reboot into this new recovery, and then flash the kernel... You can find these two zip files in the Internet folder specified in OP...
[Shield Tablet Android Development] flolep:
Hello [MENTION=593514]twistedumbrella[/MENTION] !

Hope everything's fine for you.

Without talking about ETA, do you think we can wait for another build from you?

Would love it and I think other users too.

Take care.
[Shield Tablet Android Development] Monoped:
SDCard1 in Philz Recovery

Hi :)

Maybe considered the wrong place for this...

I'm having trouble getting Phil's recovery to recognise my actual SD card.. SD0 and emulated/legacy are both the internal storage, and SD1 is not listed (it's listed and visible from file explorer once tablet is fully booted).

Anyone able to assist?

Again, apologies if posted in wrong area, figured I'd get more help from shield specific kennel dev thread.
[Shield Tablet Android Development] twistedumbrella:
Sure

The one from this thread or the older one from the other thread that was abandoned?
[Shield Tablet Android Development] Monoped:
goo.im/devs/playground/shieldtablet // Philz_Touch-12-09-2014_21.20-TN8-LTE-EU

The one from this thread.

Installed with flashify.

Recovery installed fine and works (nandroid backup, nandroid restore, flashed titanium backup).

Just cant 'see' SD1.

Thanks for replying btw :cool:
[Shield Tablet Android Development] Monoped:
Im not alone, it seems:

http://xdaforums.com/shield-tablet/help/qa-philz-recovery-shield-tablet-wxnawf-t2978591

---------- Post added at 04:01 AM ---------- Previous post was at 03:55 AM ----------

It might be worth mentioning that i didnt just click /sdcard/ and give up.

I've looked at every directory after mounting all listed mount points - a lot of them list nothing.

Im sure its just a case of adding a mount point 'shortcut' for sd1 in the menu but i dont have the knowledge to progress.

Save me, twistedumbrella!! :cowboy:
[Shield Tablet Android Development] twistedumbrella:
You can find the issue in the other Philz thread for the tablet and on the Note 4, too. It's an issue with 3.10 kernels and that recovery apparently.
[Shield Tablet Android Development] markymark567:
+1. I installed the LTE philz recovery from this thread and couldn't see my micro SD at all. I could see sdcard 0 but could not access it. I tried to make a backup to my internal but the recovery crashed. My tab wouldn't turn on for about 10 minutes then popped back on out of no where.. Flashed back to CWM to be safe.
[Shield Tablet Android Development] Monoped:
Sorry, i missed that thread.

Searching/reading now.
[Shield Tablet Android Development] twistedumbrella:
It'll be fixed shortly. I was originally just building in the orientation patch and device names so I didn't look too much into the configuration I synced. Turns out [MENTION=4630246]joshuabg[/MENTION] has a couple, but not one is linked in the thread or actually set up for Philz and the recovery only one from the CWM thread doesn't include patches made later on the CM device configuration.

It still astounds me I got cited for a possible GPL violation from another device while my direct source link was down for an hour with how lenient it appear to be in this section lol.
[Shield Tablet Android Development] Monoped:
Lol - someone feels threatened by your awesome-ness? =))

---

Thanks for the update. I didnt plan on replying until I have workstation access to check if I can xfer files over usb while tablet is in recovery.

If I can (xfer) then theres no real issue for me personally. But a fully functioning recovery is always preferable, of course.
[Shield Tablet Android Development] twistedumbrella:
I'm not a fan of half fast

[youtube]jejjBSX8NcY[/youtube]
[Shield Tablet Android Development] Monoped:
Lmao.

Me neither, but until I have the ability to change what's possible myself ....:crying:

EDIT: ADB works.. Half-Fast win!
[Shield Tablet Android Development] CodieRae:
Linux-KVM

any chance of a kernel compiled with extensions for hardware virtualization and does your kernel have fast-charge support? ( virtualopensystems dot com kvm-android-on-fastmodels)

and maybe compile QEMU or something similar? reason being is id like to be able to run jetson-tk1-development-pack OS (Linux4Tegra and some other distros compiled for ARM) and also wondering if it would be possible to do libpepflashplayer.so through the virtualized linux - or copy the libpep files to an SD card and do it that way? and if i switch to your kernel or any other will the shield power controls + optimizes and such still work?

Thanks - and i have some other questions but ill leave them for a later post

[like is it required to switch your recovery to philz use your kernel, and does the auto at the end mean it will work on LTE(US or EU) or wifi and will philz work on the LTE US variant]