[KERNEL] 2.55 GHz overclock for SHIELD (need testers!)

twistedumbrella

Recognized Developer
Sep 3, 2007
8,943
9,383
0
abandonedcart.gitlab.io
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.
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.
 
  • Like
Reactions: Zarboz

gregdeberg

Senior Member
Oct 1, 2010
164
12
0
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 :)
 

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
0
Denver
I just updated this for 4.3 tree I'll upload the boot.img

Sent from my SHIELD using XDA Premium 4 mobile app

//edit

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

https://github.com/zarboz/nvidia_shield

Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot reboot
profit

ill start my own thread cuz imma make it badass
 

Attachments

Last edited:
  • Like
Reactions: themichael

themichael

Senior Member
Jul 15, 2011
523
151
0
New York
I just updated this for 4.3 tree I'll upload the boot.img

Sent from my SHIELD using XDA Premium 4 mobile app

//edit

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

Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot reboot
profit

ill start my own thread cuz imma make it badass
This is great! Looking forward to your work. Curious, what are some of the features you plan on adding?
 

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
0
Denver
Should it be assumed you won't be releasing the config either? LOL
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.

Code:
==========
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



Sent from my HTC6500LVW using XDA Premium 4 mobile app
 

Attachments

Last edited:

twistedumbrella

Recognized Developer
Sep 3, 2007
8,943
9,383
0
abandonedcart.gitlab.io
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:
http://source.android.com/source/downloading.html#installing-repo

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: http://source.android.com/source/initializing.html

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


Sent from my HTC6500LVW using XDA Premium 4 mobile app
It should be the tegra11_android_defconfig:

"CONFIG_MACH_ROTH=y"
 

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
0
Denver
It should be the tegra11_android_defconfig:

"CONFIG_MACH_ROTH=y"
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

:(
 

twistedumbrella

Recognized Developer
Sep 3, 2007
8,943
9,383
0
abandonedcart.gitlab.io
after the repo sync
and then lunching roth-userdebug

then run


make kernel


and you produce just boot.img :D
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.
 
Last edited:

Zarboz

Known Scammer
Mar 5, 2009
145
9,339
0
Denver
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
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
Sent from my SHIELD using XDA Premium 4 mobile app
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone