yashsingh1/xdaforums huggingface dataset:
[Shield Android Development] themichael:
Flashed this kernel after the new build 59 update today and my wifi is broken.

Could be the update itself since I didn't check before I flashed the kernel. Just throwing out to see if others have the same issue.
[Shield Android Development] NgXAlex:
Hi,

yep before update 59 all was ok, but now the Wifi is Broken with the OC Kernel.

;)
[Shield Android Development] rockysmodernlife:
Has anyone figured out a fix for the wifi being broken?
[Shield Android Development] themichael:
Stock kernel in the 59 update was updated with new WiFi drivers. Will likely have to wait for an update to this kernel that includes the new driver patch.
[Shield Android Development] nrage23:
Is this going to be updated to the newer kernel from update 59?
[Shield Android Development] big crab:
download the factory image and flashing .

Open up you shield . if you WIFI Still not working , just flashing the boot.img again, then reebot you shield.

the WIFI will be fix .
[Shield Android Development] V2-V3:
Unlocked and Flashed the OC KERNAL, been running 3DMark Ice Storm unlimited for the past few hours.

First batch of runs were done with the factory locked and unrooted KERNAL left on auto clock,

Stock KERNAL

1912MHz Auto Clock = 16525

Second batch is with the OC KERNAL and auto clock

OC KERNAL

2550MHz Auto Clock = 16815

Third batch is with the OC KERNAL and MIN and MAX clock set to 2550MHz

OC KERNAL

2550MHz Forced Clock = 17115

*Notes:

WiFi does not work
[Shield Android Development] ChrisFirerabbit:
Wifi

I know it has been mentioned many times that wifi is broken, but when will the developer update the kernel? Also can someone please post a link or tell me where to find the original kernel, the update 95 kernel that is.
[Shield Android Development] ChrisFirerabbit:
Battery Life

Also I would like to mention that the battery, for me, is serving excellently, and I haven't noticed a big different besides battery drains a bit faster on standby with 2.55 ghz.
[Shield Android Development] ChrisFirerabbit:
where would I get this boot.img?
[Shield Android Development] big crab:
here we go the link.

http://xdaforums.com/showthread.php?t=2388870
[Shield Android Development] ChrisFirerabbit:
Thank you, but I have flashed the boot.img and rebooted the device to find that the WiFi is still unable to work. I flashed the boot.img and rebooted the device numerous times.

---------- Post added at 12:33 AM ---------- Previous post was at 12:28 AM ----------

I went a looked around and I found this boot.img http://goo.im/devs/agrabren/shield/tweaker and the WiFi worked flawlessly.
[Shield Android Development] wwjoshdew:
My Wifi stopped working too, and even after flashing a stock boot.img, I couldn't get it back. But I restored my boot from CWM, and now it's working again.
[Shield Android Development] needsumhelp:
Will this work on other rooted tegra 4 devices besides shield?
[Shield Android Development] nrage23:
No. All devices are somewhat different even if it uses the same processor. Never flash something for a different device.
[Shield Android Development] godvstheking:
I hope not to bother anyone by bumping this thread but is it dead? Or is there a chance of us getting overclock with the 4.3 update? I really enjoyed the performance of this kernel and would love to have it working with the my shield now.
[Shield Android Development] ChrisFirerabbit:
I think it maybe dead, unfortunately, there wasn't a new version in awhile. It would be cool if someone were able to continue this development.
[Shield Android Development] suppertime:
I second that...

My idle cpu usage is at 50 percent! I'd love to increase performance but OTA 64 unrooted my device.
[Shield Android Development] starcraft2010:
you can watch 4K ultra HD porn with it ^_^ lol
[Shield Android Development] Ace42:
As if there's such a thing lol.

Sent with Virtue
[Shield Android Development] Antara33:
Any info about this? I see some other tegra 4 devices out there, so, when the TF701 for example, have custom kernels, and overclock, maybe, someone, start porting them to our shield, I guess.

BTW, how much do you think our device can be pushed with oc guys? 2.55 seems pretty fine from default 1.9.
[Shield Android Development] twistedumbrella:
Just got a Shield yesterday. Updated to 4.3, rooted, cleaned up the system, went over the sparse amount of stuff at xda, and now I am forking the source to see if we can't get a 4.3 kernel that is not only overclocked but has something other than noop and interactive / ondemand as far as configuration options go.
[Shield Android Development] themichael:
Good stuff. I followed some of your work on the thunderbolt briefly before upgrading. Looking forward to your work here.
[Shield Android Development] twistedumbrella:
HTC definitely did not want outsiders working on their devices. At least the public repos for this device are kept updated. In the meantime, here is a decompiled version of the CWM that was released here but seems to be missing from its thread: https://github.com/StarKissed/roth-recovery-cwm
[Shield Android Development] twistedumbrella:
Can anyone pull a configuration from a 4.3 kernel? adb pull /proc/config.gz

It seems I can't connect with adb and I need to adjust my app to support devices that lack any form of menu button :/
[Shield Android Development] Antara33:
I am turning on the pc to give it to you :P

---------- Post added at 10:09 PM ---------- Previous post was at 10:02 PM ----------

remote object '/proc/config.gz' does not exist

I have this error, do I need to root the device first? :S
[Shield Android Development] twistedumbrella:
That's what I was afraid of. I didn't see it when I tried to grab it from the device terminal, but I was hoping it was an issue with my half-baked idea for how to get around the adb problems I'm having.
[Shield Android Development] Antara33:
A device's prolem? Or diferent building methods? On 4.2.2 the config.gz are missing too or is a 4.3 problem?
[Shield Android Development] twistedumbrella:
adb is unreliable on my computer. It's a me problem. I was hoping it was there and I simply couldn't get it.
[Shield Android Development] seaking177:
True, I just looked with fx file explorer and it was not there.
[Shield Android Development] Antara33:
Have any advance on this project? Or it's impossible to obtain the kernel configs?
[Shield Android Development] twistedumbrella:
It's all ready just waiting on a config or the time to figure out how to make one manually.
[Shield Android Development] Antara33:
Have you asked for the config to coolbho3000? He have managed to build the first one, maybe on older versions of the SHIELD's firmware the config does not be removed, or he have maked one by himself.

BTW, what do you modified on the kernel? It's possible to add CPU and GPU oc to our device? And zRam?

---------- Post added at 11:16 PM ---------- Previous post was at 11:11 PM ----------

Found this, maybe it can help.

http://xdaforums.com/showpost.php?p=43930020&postcount=46&nocache=1&z=7692704133223742
[Shield Android Development] twistedumbrella:
Well he is the op, so I imagine if he plans to post it he will.

The script does what the pull does so if pull doesn't work the script won't. I had tried it anyway hoping that was a false guess.

I added the overclock but I also have governors and some other stuff that needs a config to enable. I didn't do the gpu since it already runs well.
[Shield Android Development] Antara33:
Why don't gpu oc? I see some framerate drops on some games, more prominent on console mode, maybe on it, the oc can give us a boost. The cooler can be accessed with the kernel to tune the speed?
[Shield Android Development] aDigitalPhantom:
I don't build kernels, that said from my quick looking these should be the configs for the kernel.

I got them from the android source i downloaded from nvidia.
[Shield Android Development] Antara33:
Any news about this?
[Shield Android Development] aDigitalPhantom:
As in downloading the source or what?

EDIT

If you mean downloading the source go to https://developer.nvidia.com/develop4shield and follow the directions under 'Open Source Resources'
[Shield Android Development] themichael:
think he means from Twisted
[Shield Android Development] Antara33:
Yep
[Shield Android Development] twistedumbrella:
Those are the closest configs, but not the ones for Shield. I tested with those because many of the commits to the "roth" branches on their gitweb were Tegra11 commits as well. From what I could tell, those configs are actually the base configs that the tablets are built from.
[Shield Android Development] gregdeberg:
hello :)

I tried your kernel (just boot mode not flash) and it boot and not freeze but doesn't 'open the android desktop' (a sort of infinite loading...)

Bye :)
[Shield Android Development] twistedumbrella:
Are you sure you were on the original stock build? The kernel in the op wasn't updated for the newer ones.
[Shield Android Development] gregdeberg:
hello :)

I'm running the rooted 65 rom version

Bye
[Shield Android Development] twistedumbrella:
That's why it doesn't work.
[Shield Android Development] gregdeberg:
Hello :)

Ok so this kernel is a 4.2.2 kernel based, such a shame that a 4.3 is not developed.

Bye :)
[Shield Android Development] Zarboz:
I just updated this for 4.3 tree I'll upload the boot.img

//edit

attached you will find a boot.img for 4.3 *build 68*

https://github.com/zarboz/nvidia_shield

adb reboot bootloader
fastboot flash boot boot.img
fastboot reboot

profit

ill start my own thread cuz imma make it badass
[Shield Android Development] themichael:
This is great! Looking forward to your work. Curious, what are some of the features you plan on adding?
[Shield Android Development] Zarboz:
Probably governors and showps mpdecision and kexec booting
[Shield Android Development] twistedumbrella:
Should it be assumed you won't be releasing the config either? LOL
[Shield Android Development] Zarboz:
I couldn't figure out the config

Resorted to doing an entire repo sync and source build

https://github.com/zarboz/nvidia_shield

I tried flagging the terra11_defconfig to store a config.gz but ended up a no go so I know that's not the config to use

I'm trying to track it down but my pc is so slow I fell asleep before it got to the kernel part of the source build

I spent 5 hours looking for the defconfig too man.

==========
HowTo Sync:
==========

Syncing this release requires git and the repo tool from Google:
[url]http://source.android.com/source/downloading.html#installing-repo[/url]

mkdir ~/shield-open-source
cd ~/shield-open-source
repo init -u git://nv-tegra.nvidia.com/manifest/android/binary.git -b rel-roth-r3-partner -m secureos/jb_roth.xml
repo sync -j5

==========
HowTo Build:
==========

Building this release requires a Linux build environment configured to
build Android: [url]http://source.android.com/source/initializing.html[/url]

Additionally, you will be required to agree to license terms when extracting
the binary drivers.

cd ~/shield-open-source
export TOP=`pwd`
cd vendor/nvidia/licensed-binaries
./extract-nv-bins.sh
cd $TOP
. build/envsetup.sh
setpaths
lunch thor-userdebug
mp dev

cd out/target/product/roth/

fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash userdata userdata.img
fastboot flash dtb tegra114-roth.dtb

etc.... you've built AOSP before :P

ill keep tracking down the configs and see what i can do the flag to enable config.gz in all that exist in the folder and hopefully we will end up being able to grab one from the device in order to just build kernel by itself

cuz i dont need a whole source build :D

just boot.img and modules
[Shield Android Development] twistedumbrella:
It should be the tegra11_android_defconfig:

"CONFIG_MACH_ROTH=y"
[Shield Android Development] Zarboz:
tried that one

no boot when building it by itself (may be my cross compiler .. do i need a special one for tegra SOC ?? i have been using a linaro build i made for cortex a15 cpus ) and i had flagged it already to enable config.gz

:(
[Shield Android Development] Zarboz:
after the repo sync

and then lunching roth-userdebug

then run

make kernel

and you produce just boot.img :D
[Shield Android Development] twistedumbrella:
You realize if you do it that way, nothing you add will actually be in the kernel, right?

The configuration enables and disables options. You can add overclock if you don't have a flag for it, but governors, schedulers, etc need a config

Edit: It's kinda sad I have to sync the ENTIRE source because people think the android source commands are these all-powerful mysteries and not just text script files that can be opened in textedit.
[Shield Android Development] Zarboz:
The config is produced funky like the Samsung kernels

There's like seven config flags extra to make the defconfig

I have the .config in my working kernel folder tho

And you can just add a DEFAULT Y to the config flag
[Shield Android Development] twistedumbrella:
So pretty much you are going to make every single thing you want to use default enabled, but then when you want to turn it off, go back and make it default disabled through all the KCONFIG files through the entire kernel? Dude, seriously... I'll have the config in a minute.
[Shield Android Development] Zarboz:
L et me know it'd ' be much easier
[Shield Android Development] twistedumbrella:
For the sake of your victims, I hope you disabled SELinux, otherwise they are going to have issues.
[Shield Android Development] Zarboz:
I simply applied coolbhos patches to the current repo and use the make Kernel command

Trying to contribute that's all

Last we talked you used to be a nice guy not sure why the flak
[Shield Android Development] twistedumbrella:
You spent 5 hours looking for a config and didn't check the kernel.mk. I guess it isn't nice to expect people to be at least a little interested in how the builds work before releasing them. It's not like there was a deadline.

Unlike the typical phones that eventually get replaced, most people will keep this around like a PSP or Gameboy. I am trying to prevent this from turning into the Xperia Play where it is all people jumping on to "make it amazing" and it ends up 1000 threads of broken garbage to dig through.
[Shield Android Development] Zarboz:
So let me get this straight... You don't want me to post a gpl/gnu compliant piece of modification submitted by a previous dev known to be working because you don't want random posters. I post a lot of working kernels and roms for other devices its not like I'm a retard 1:1 copy n pasting nor was this NOT test this before posting

Man what happened to you..

You used to be about development

I see youve changed
[Shield Android Development] twistedumbrella:
You know nothing about me, my motives, or my morals. If you think I'm not about development, that's because you got sloppy.

This forum has 1000 downloads for every one explanation and usually that's because the developer doesn't know. If development is having to start over every time and on every new device, then I'm not a developer.

I'm done here. Good luck.

BTW: External sdcard is broken in your kernel.
[Shield Android Development] Zarboz:
I dont have any sdcards to try with or I would have known

StarKissed forked zarboz/nvidia_shield to StarKissed/nvidia_shield 6 days ago

yet you still fork and use it?

https://github.com/StarKissed/roth-kernel-starkissed/commit/f431c715c07f76cfdb235e3945c83823a699ddd4

and then add the mods I had spoken about. Well at least it saved me a half hour of git cherry-pick

thanks man
[Shield Android Development] twistedumbrella:
Lol, I forked it, realized what you did, deleted it, then went back to the original repo I had and finished adding what I was waiting for a config file (which I found) to do.

You realize you cited one repo, then cited a single commit in an entirely different repo? Yes I grabbed one edit. You more or less advertised cloning my repo to build your kernel. I feel inadequate here...
[Shield Android Development] Zarboz:
its missing some files and some cherry-picks weren't finished yet.

at least when I tried to build it following the dtb build method you had posted earlier and just building from source

there was a error in /kernel/sys/power.c

and earlysuspend.h missing

i didnt really play with it any farther I was working on a ROM for another device at the time and was hoping that you had compiled it (you may have and I may be doing something wrong but i followed the steps outlined in your thread explicitly ) so that i could test mpdecision

I use this thing to play the GRID games and do some PC streaming and a little netflix on my bigscreen

I don't plan on posting anything anymore I was more curios what impact (if any) kernel based mpdecision would have on the performance of the unit / battery of the unit
[Shield Android Development] Duckers McQuack:
What's the temp that you got during that test?
[Shield Android Development] ChrisFirerabbit:
So um... how would you be able to fix the SD card issue?
[Shield Android Development] ChrisFirerabbit:
Might I ask, will you release another boot.IMG that fixes the SD card? Also on the got hub I found something about a Y-OTG cable does that work?
[Shield Android Development] gregdeberg:
2.55 Ghz Kernel

Hello :)

So this kernel is great ! My Shield is even more reactive ! (about 40 000 points in Antutu and more than 19000 in Quadrant) but as said i don't flash it (only boot on it) because the external Sd Card is not yet supported.

Bye !
[Shield Android Development] twistedumbrella:
Just fixed the card, but it's the same image.
[Shield Android Development] gregdeberg:
Hello and thank you :)

I test it and indeed the external sd-card is mounted but it doesn't work with the GL to SD app so it doesn't interest me, but thanks again :)
[Shield Android Development] twistedumbrella:
That app is made for stuff like the Xperia Play. Using it on this is like asking the game developers to add some lag for fun. It's a waste with 16GB of stock storage, but the app works. It's probably your settings.
[Shield Android Development] ChrisFirerabbit:
Thank you so much! I have no idea how to compile or decompile ramdisks or kernels, so this is a great help for me.
[Shield Android Development] twistedumbrella:
Luckily that uses the same binaries and scripts that it has with every Android release. As for building the kernel, you have to reinvent the wheel every time the kernel version changes on a Mac.
[Shield Android Development] mta1981:
Any problems installing this with the current ota and rooted?
[Shield Android Development] nrage23:
It is not based on the latest OTA. You will lose WiFi.
[Shield Android Development] mta1981:
well thats a bummer, better of leaving it alone then
[Shield Android Development] twistedumbrella:
... Go back a page ... :/
[Shield Android Development] mta1981:
Call me noob but I'm afraid I don't follow lol. I only know how to flash a kernel from a zip. If you're referring to "boot from it" I don't know what that means or how to do it lol:D
[Shield Android Development] bluecarbon:
You can download "[root]recovery tools -flasher" from Play, and use that if you are not comfy with fast boot. Back up your boot in recovery, open the program, select flash kernel (not recovery), select "other from storage", and then navigate to the boot.IMG. I use it, not because I do not like using fastboot, but often it is more convenient.

---------- Post added at 10:40 PM ---------- Previous post was at 10:36 PM ----------
[Shield Android Development] mta1981:
sweet, thanks, I'll give it a shot after the weekend. I'll let you know how it comes out or ask for help if i blow it up lol
[Shield Android Development] twistedumbrella:
I put it in a zip but that seemed to be unreliable at the time so it's safer to do it that way.

Once they add two more hours per day, I might finally get to making an updated kernel package. Blame 3d modeling for a "one project at a time" workflow :/
[Shield Android Development] rylen:
Thank you so much for this! Works on my Shield :D

Is there going to be further update on this? I hope so :) Thanks again.
[Shield Android Development] Shozuki:
Pardon my n00b.

I'm on the latest update. Will flashing this mean I lose WiFi?

Thanks and apologies!!
[Shield Android Development] twistedumbrella:
The one in the OP? Yes. The recently posted one? No.
[Shield Android Development] Shozuki:
Thanks would you mind linking the newest one to me just in case I make a balls up!

Thanks
[Shield Android Development] rylen:
twistedumbrella posted the latest one on page 10, and I can confirm that wifi works on that one.
[Shield Android Development] Shozuki:
Thanks, can I flash it with shield ram or CWM? Sorry a bit new to this trying to work out how to flash it!

Thanks!
[Shield Android Development] rylen:
I'm kind of new with flashing also, I just followed bluecarbon's instruction on page 11.
[Shield Android Development] AkiroX:
Hey guys, I've a question.

I've got an EVGA Tegra Note 7. Has a Tegra 4 just like this. Mine has 1GB of ram, though.. And obviously, a bigger screen since its a tablet.

Now my question isn't whether it'll work or not.. But if the fastboot method works to let me temp boot and see if it does work? Or at least boots? Is that the point of the fastboot boot up?

Also.. How do I perform said boot up? Where do I put the IMG so fastboot pics it up? I see no CD C:/Users etcetc command here...
[Shield Android Development] mudflap2.0:
is this going to be ported/updated for the new 4.4 kitkat update?, im surprised there wasn't any kitkat custom roms before the ota came out lol!
[Shield Android Development] twistedumbrella:
What do you want in a custom ROM that requires a ROM to do? Nvidia took the time to look at the custom modding scene when they built the Shield. They focused on squeezing max performance out of the least amount of battery. That is usually the only thing a custom ROM has to offer that isn't theming. As far as Overclocking, I have yet to run anything less than twice as fast as my Nexus 5 and I have my CPU speed set to top out well below the default max. Having the option is more or less just having the option.
[Shield Android Development] mudflap2.0:
theming,su,and more

overclocking doesn't hurt, knowing we have a dedicated fan, I applaud NVidia for what they did, with the shield, im just puzzed on why they couldn't make their chips frequency higher,(although it may be due to the performance to power consumption,and heat ratio). there are some things you can do, like port cm11, cm11, has preinstalled root, theme options, also other roms have cool features, like pacman rom, cmon, it has a cherry picked feature list and pacman game pre installed.
[Shield Android Development] twistedumbrella:
The frequencies were specifically chosen to support the best performance to the least battery use without causing harm to the hardware over time. All I can say is the modded one gets twice as hot as the stock one doing half the work.

CM on a Shield is exactly what proof of concept stands for. It barely improves stock devices with some integrated mods so I can only imagine the nightmare it would be on something almost entirely specialized.

Those are just my reasons for not doing anything like that. If you feel differently, go for it.
[Shield Android Development] mudflap2.0:
I feel you are entirely right, but, it doesn't stop people from experimenting, and exploring their curiosity, to achieve new things on what the vendor never intended the device to be used as. im sure people would only be on 2.5 with a performance govener for less than half an hour, knowing that overheating isn't good, especially on hardware that is probably going to be kept like a psp, but, when push comes to shove, when we want to say our soc can be pushed faster than what QUALCOMM has to offer, I would want to do that, even if the benchmarks aren't super saiyan, considering the clocks and the heat, that's my two cents, I totally get, not wanting to screw with shields ability to be full on console, by taking away the button mapping utility by porting cm on it, it just was "an idea"