yashsingh1/xdaforums huggingface dataset:
[Nvidia Tegra Note 7] asinglenoob:
Question on Tegra Kernel

Hey Shaky, I'm an owner of a different Tegra 4 device (the Asus TF701) and a lot of us are experiencing massive idle battery drain on our tablets. I'm assuming (since these devices both have the same SoC) that kernels may be similar. The reason I'm posting here is to get your take on what our issue might be since we're dealing with similar SoCs. We don't have any kernel devs for our device (and most of the ROM devs we have aren't too active anymore). At first we thought it was Google Play Services causing the issue, but after disabling various permissions we've been unable to isolate the issue. Even on the most recent build of GApps, the issue seems like it was fixed for a bit and then it comes right back again. Reboot seems to fix it temporarily but it always comes back. Do you think this might be a kernel level issue, or is it likely GApps and we just haven't removed the correct permissions yet? I realize without having the device in hand it's challenging to diagnose but if you have any tips or ideas I would love to hear them! : )
[Nvidia Tegra Note 7] GodOfPsychos:
LOGCAT FILE for GPU Crash Problem (in attatchments)

Hey [MENTION=4802595]Shaky156[/MENTION],

i recorded a logcat via adb while 3dmark was benchmarking the icestorm extreme (1080p) test.

the first test had freeze and then glitching problems. this time it didn't crash like last time. (the rest finished without problems this time)

there are over 20000 (yes 20k) lines one after another like these:

D/NvOsDebugPrintf(23927): *** Timeout! Submit exceeded threshold 10000ms. ***

i think this lines were recorded while the 1st test was going crazy with the graphical problems.

but have a look for yourself because i do not understand anything from those lines.

i had to upload it inside a zip file cause the max filesize allowed for txt files is just 512 kb
[Nvidia Tegra Note 7] GlaciaDDF:
Personally think Shaky has given up on our device, tbh
[Nvidia Tegra Note 7] GodOfPsychos:
why do you think that?
[Nvidia Tegra Note 7] GlaciaDDF:
He just doesn't really seem to rise to any of the things Brought upp
[Nvidia Tegra Note 7] GodOfPsychos:
a few days ago i read the complete thread again and i saw that shaky mentioned if we want to report any bugs releated to his kernel we should post logcats. otherwise it would be wasting his time. after i read this i just looked up for the command for adb to log all main events that happen inside android (which should be "adb logcat > Name.txt"). i think thats why he didn't answered some bug related questions in the last time (no one really posted logcats).

so that means:

logcat = useful and helpful for developing (Bugs are much easier to find)

just complaining about bugs = wasting time. (In this case he would have to work much much harder to find all those bugs)

other things beside the bugs stuff, is requesting features like new governors for CPU and GPU, O/I Scheduler, full controll of Voltages etc which could still be discussed about here.

for an example, it would be cool if [MENTION=4802595]Shaky156[/MENTION] could implement "Kernel Samepage Merging" aka KSM to his kernel.
[Nvidia Tegra Note 7] GodOfPsychos:
Dumpstate Providing

The dumpstate is below in the attachments (zip file again cause of filesize limitations for txt files)

2 Dumpstate files:

-with stock kernel installed

-with shaky kernel installed
[Nvidia Tegra Note 7] Shaky156:
Giving a little update, I am busy and dont have free time like i had before. I do this in my spare time, i have spent couple of days looking into tn7 stuff again which i shouldnt have as i dont have alot of free time.

Just a reminder, what i do here, i do it as a hobby, not a paid job.

Kernel source is in OP as many have time on their hands, download customize compile.

What I have found is that, my previous work is lost, found an old backup, that doesn't work either. In this case its best to wait for an official android lollipop from nvidia.... New ROM = updated kernel to work on

There will be 2 different releases, have patience...
[Nvidia Tegra Note 7] Quistnix:
Hi,

I'm not asking for an ETA and I don't want to pressure you, but if it's not to much trouble could you add binfmt_misc support to a next version?
[Nvidia Tegra Note 7] IM0001:
No worries man, thanks for dropping in.

Life only continues to get more busy it seems, glad to know you are still tinkering with the TN7 a bit though.
[Nvidia Tegra Note 7] zooltar:
Hi,this is newest version of kernel?,wifi works good? and when i flash this kernel I must install any programs to overclock cpu or gpu?
[Nvidia Tegra Note 7] GlaciaDDF:
Still kinda waiting on those fixes.. ~
[Nvidia Tegra Note 7] dark666apoc:
How exactly do I enable 4k output? Even when playing youtube I'm only able to select 720p video quality.
[Nvidia Tegra Note 7] asratxda:
Can I mount Windows Network Shared folders with this kernel? ... Thanks :)
[Nvidia Tegra Note 7] asratxda:
Thanks Shaky, flashed your kernel and my TN7 is working smooth and faster than stock. Browsing web pages is faster. And overall navigation is also smooth and fast.

Thanks for taking your time and making it available to tn7 users. Battery life is also same as stock, very good. :good::good::good:

... ... ...

I have compiled the CIFS module by using the sources you have mentioned but can not mount. I read on other forums/xda that there are various issues in android 4.2+ kernels like "unc parameter is necessary, multi-user namespaces, ..." when mounting using mount command.

cifs.ko and md4.ko ... Also installed busybox.

Used insmod command to load both modules and it showed success.

lsmod command shows that modules are loaded.

But when I mount using the mount command I can not mount. It shows error messages.

Also checked dmesg command output and as I have mentioned above it shows some error relating to "unc path" / "No such device" / "UNC path does not begin with // or ".

Can you help? Do you have time to check how to mount the windows network shares using cifs module.
[Nvidia Tegra Note 7] uukasz92:
Not work on 4.3.
[Nvidia Tegra Note 7] GodOfPsychos:
it doesnt't work because it is made for 4.4.2 Kitkat
[Nvidia Tegra Note 7] GodOfPsychos:
so [MENTION=4802595]Shaky156[/MENTION],

now we got lollipop. what are you opinions about the update?
[Nvidia Tegra Note 7] GizmoTheGreen:
yes... any chance for a lollipop custom kernel? I just got a Zotac Tegra Note 7 yesterday, updated to lollipop immediately and unlocked bootloader, got TWRP installed for any goodness :)
[Nvidia Tegra Note 7] Shaky156:
I have not updated the tablet yet.

Yes, when I have free time but it wont be anytime soon. Will need to build new TWRP aswell.
[Nvidia Tegra Note 7] GizmoTheGreen:
Alright, take your time, I trust we're all patient folk :)
[Nvidia Tegra Note 7] yastroa:
thanks for your work!!
[Nvidia Tegra Note 7] nakulp:
Does the current version in the OP work for 4.4.2 ?
[Nvidia Tegra Note 7] GodOfPsychos:
yes it was made for 4.4.2
[Nvidia Tegra Note 7] bhupatib:
Since my WiFi was still very unstable in 5.1, I decided to go back to 4.4 using SuperTool v2.7 and flashed this kernel (along with the touchscreen mod). Very happy to find that WiFi has been rock solid for over two days! This has been bugging me since the time I got this otherwise awesome tablet.

I don't know how [MENTION=4802595]Shaky156[/MENTION] managed this but it reaffirms my faith in the superiority of custom everything!

Thanks a lot!
[Nvidia Tegra Note 7] GizmoTheGreen:
wow, there's really not much activity for this device at all... I'm still hoping for custom rom marshmallow...
[Nvidia Tegra Note 7] GodOfPsychos:
[MENTION=4802595]Shaky156[/MENTION]

since a good amount of time has passed now, do you have any news when we could expect an updated kernel?
[Nvidia Tegra Note 7] jaca22:
thank you very much by the kernel Shaky 156

if and could redice gpu clock 692 is very stable
[Nvidia Tegra Note 7] Donz7733:
Thanks a lot.:)

Waiting for updates.
[Nvidia Tegra Note 7] shiwayne:
After flashing this when my device rebooted from xolo logo it rolls back to twrp?what can i do?
[Nvidia Tegra Note 7] GizmoTheGreen:
guess interest in this device has just disappeared huh
[Nvidia Tegra Note 7] Shaky156:
I will be taking a look at this very soon

I agree, an updated kernel should be expected within a month, although I need to check if I can update the tablet to marshmallow, or if I can fix the issues on official Lollipop.

EDIT: Im aiming for marshmallow.

Will take a look

This kernel was created for Kitkat ROM on advent tegra note 7.
[Nvidia Tegra Note 7] Shaky156:
My device is currently having issues after resetting, it automatically shuts down, so I currently have no device to work on.

EDIT: It looks like I may have to discontinue updates for this device, as there is not a tegra note 7 tablet for sale by any retailer second hand. RIP
[Nvidia Tegra Note 7] jaca22:
Hello and thank you for answering our questions.

a shame what happened to your Tegra note 7 there is a way to help with donation to buy a device?

if I can help with your kernel?

my problem is with the clock GPU 708 is unstable for my

there is a way to reduce clock GPU 682 for a more stable device

if you help me with a guide or a small fix update of the GPU clock as reducing, I'll be very grateful to you

that's my only problem with your big kernel

not work for me reduce clock GPU, Tegra overclock app :(

thank you very much and sorry for my bad English, greetings
[Nvidia Tegra Note 7] Shaky156:
Hi, with or without donation I dont see any tegra note 7 devices to purchase in the UK.

I dont have my previous work so I cannot modify and distribute it.

Im sure you can set the max GPU in sys fs, but I cannot remember exactly where.
[Nvidia Tegra Note 7] jaca22:
thanks for your prompt reply, if you remember how to reduce Gpu clock sys fs kindly comment.

to create boot scripts uninit.d

greetings thank you !!
[Nvidia Tegra Note 7] GodOfPsychos:
??? Does that picture mean you got your tegra note working again with a custom build kernel ( which is probably at beta stage)?
[Nvidia Tegra Note 7] Shaky156:
Indeed it does. But im working on marshmallow, then i can release ROM + Kernel + TWRP
[Nvidia Tegra Note 7] Donz7733:
AWESOME.........
[Nvidia Tegra Note 7] arunbiju969:
That's great news shaky ....waiting with Patience.. We will test it out and give our reviews. ???
[Nvidia Tegra Note 7] Shaky156:
How many people are using lollipop?

Doesnt seem like theres many users here?
[Nvidia Tegra Note 7] arunbiju969:
I'm using lollipop..
[Nvidia Tegra Note 7] trogggy:
And me.

Although I've just acquired a miracast - and realised it's not supported after kitkat so I might go back to try it out. :(
[Nvidia Tegra Note 7] Shaky156:
Lollipop Kernel test feedback required.

Test:

reboot to bootloader (adb reboot bootloader)

boot (fastboot boot shaky156boot.img) (or flash at your own risk of losing wifi?)

Download Link:

http://d-h.st/fryT
[Nvidia Tegra Note 7] arunbiju969:
K on it... Hey do we need to be rooted (bootloader unlocked) for initiating the test codes in fastboot also could some one redirect me to the custom recovery page so that I can backup my rom

Note : I'm in lolipop
[Nvidia Tegra Note 7] Shaky156:
Direct link to custom recovery : http://d-h.st/cqQ

Fastboot oem unlock in bootloader is required to unloxk the bootloader
[Nvidia Tegra Note 7] Shaky156:
I have tested the kernel and it can be installed on Lollipop, working fine, no issues.
[Nvidia Tegra Note 7] arunbiju969:
Shaky I can confirm that your kernels working also the WiFi issues exists... Could not find any other issues hope you are working on that WiFi thing too

Note :Tested on Xolo play TEGRA note
[Nvidia Tegra Note 7] Shaky156:
What wifi issues? I dont have any

Send me a kernel log, adb shell dmesg > log.txt upload to devhost and pm me the link
[Nvidia Tegra Note 7] arunbiju969:
Kk..
[Nvidia Tegra Note 7] arunbiju969:
I Have send you the log....

Also could someone running lollipop on stock kernel check if they can turn your hotspot on cause I can't .And shaky the lollipop kernel that you posted in the beginning in this thread is not in update.zip format so users won't be able to flash em as you suggested
[Nvidia Tegra Note 7] jaca22:
[MENTION=4802595]Shaky156[/MENTION]

hi thanks for your time and work in this new kernel !!!
[Nvidia Tegra Note 7] GodOfPsychos:
This is because the kernel is made for flashing via adb command. NOT the flashable zip way through TWRP.
[Nvidia Tegra Note 7] arunbiju969:
I know that..? but new users could be facing issues?...Just saying.Because steps were only provided for flashing via a zip.

---------- Post added at 04:23 AM ---------- Previous post was at 03:44 AM ----------

Shaky I also noticed on your kernel WiFi Mac becomes unavailable so it can't turn on
[Nvidia Tegra Note 7] Shaky156:
I cant fix the issue just yet my pc messed up, so need to fix it. Its a flashable boot.img which gets flash in bootloader, i have mentioned this earlier with the previous posts

No problem you can hit the thanks button ?

Im aware, an update will follow once i have fixed the computer
[Nvidia Tegra Note 7] jaca22:
I'm using kernel lollipop, wifi does not work in EVGA Tegra note 7 :( ..

It may be that a wireless module missing ???
[Nvidia Tegra Note 7] arunbiju969:
Did you flash the kernel ? or just booted the kernel using fastboot...cause I did like that,WiFi didn't work here too...
[Nvidia Tegra Note 7] Shaky156:
EDIT:

Download Link to flashable zip file in TWRP recovery, Kernel for Lollipop with WIFI fix:- http://d-h.st/C7u2
[Nvidia Tegra Note 7] arunbiju969:
Gonna have a look...

Done.....

Thumbs up?

Thank you for your valuable time.Could plz also send me the link to stock kernel too..just in case.
[Nvidia Tegra Note 7] jaca22:
thanks for your work [MENTION=4802595]Shaky156[/MENTION], but there is a chance to see your kernel with default GPU clock .. thank you very much if that happens
[Nvidia Tegra Note 7] arunbiju969:
No,what I would like is to controll the gpu clock so that we could switch according to our needs...."Hey are you working on that MM" just eager to know ?[MENTION=4802595]Shaky156[/MENTION]
[Nvidia Tegra Note 7] arunbiju969:
Shaky I need the stock kernel,I think I found another issue .I need that stock kernel for confirming
[Nvidia Tegra Note 7] Shaky156:
Will do when im free

Might add gpu control, not gauranteed

Will do when im free. Pm me a log and let me know what you think the error is
[Nvidia Tegra Note 7] arunbiju969:
Thanks
[Nvidia Tegra Note 7] swaaye:
Shaky can you make a Lollipop kernel that doesn't have the PRISM function enabled?
[Nvidia Tegra Note 7] jaca22:
HELLO TO ALL CONTACT THE DEVELOPER OF THE APP AND SUPPORT TEGRA OVERCLOK AND NOW LOLLIPOP 5.1 THE CPU CORE TO ORDER FOR MORE BUYS IF APK performance are contacted and sends THE UPDATE

@ kernel Shaky156 luxury but if you could launch a new kernel gpu perfect stock

greetings to all !!!

sry mayusculas
[Nvidia Tegra Note 7] darkknight1812:
Awesome news! I will have to nandroid and test the new lp kernel on my slate 7 extreme. The kk version will boot, but it will not display anything. I have been trying to build from source, but the compat wifi modules are not building correctly.
[Nvidia Tegra Note 7] arunbiju969:
Jaca tegra over clock is awesome in my tegra 3 tab but there are some issues in tn7 will contact the developer
[Nvidia Tegra Note 7] GizmoTheGreen:
stuff happening, hype!
[Nvidia Tegra Note 7] doma27:
This custom Kernel is working fine on Lollipop 5.1 via TWRP

Custom kernel working fine on Advent Tegra Note 7 - nice and fast :p THANK you for all your hard work :good: !!
[Nvidia Tegra Note 7] arunbiju969:
Hey guys if you are in custom kernel and custom recovery do not do a factory reset that too if you are in LOLIPOP...shaky156 is that supposed to happen....any way it ended up disastrously for me..
[Nvidia Tegra Note 7] GizmoTheGreen:
hmm, for me I have no wifi and it runs hot and drain battery fast even with screen off... :P (lolipop)

(fasboot boot boot.img, so I just rebooted and back to normal...)
[Nvidia Tegra Note 7] arunbiju969:
Hey you might have booted the old build try this new one with WiFi fix http://d-h.st/C7u2
[Nvidia Tegra Note 7] GizmoTheGreen:
hey thanks, wifi works now. battery drain is still there though and my device is running pretty hot...

View attachment 3686609
[Nvidia Tegra Note 7] arunbiju969:
Try using SetCPU to set the clocks under the desired configuration .This might solve the issue.
[Nvidia Tegra Note 7] GizmoTheGreen:
I don't think it's a problem with cpu clock, something is preventing my tablet from sleeping, it's cpu is working 70% always eating up the battery. and it's by android system so not an app I can uninstall.

not sure whats causing this.
[Nvidia Tegra Note 7] arunbiju969:
Hey try greenify it forces sleep and can even cut off system apps
[Nvidia Tegra Note 7] Shaky156:
Provide a log.
[Nvidia Tegra Note 7] rhaniel11:
Is this custom kernel supports the model of my TN7 ( P1988W )
[Nvidia Tegra Note 7] GizmoTheGreen:
it somehow fixed itself when I Was messing around with freezing/unfreezing and ultimately deleting the nvidia apps (services etc) in titanium backup. runs cool to the touch now.
[Nvidia Tegra Note 7] GodOfPsychos:
Try freezing/disabling the NVIDIA tegra services via titanium backup etc and then restart your tablet twice (twice because i got a strange display issue after first reboot which i got rid of by rebooting again). after that i got rid of the high cpu usage issue

EDIT: Oh you already wrote that you did this step, my bad lol.
[Nvidia Tegra Note 7] nikhil18:
[MENTION=4802595]Shaky156[/MENTION] can you please upload the sources for the lp kernel with commits thanks
[Nvidia Tegra Note 7] prudhar:
does any one tested the custom kernel on lollipop 5.1?

does any one tested the custom kernel on lollipop 5.1?

Thanks in advance.
[Nvidia Tegra Note 7] GodOfPsychos:
I did. And i have to say its stable so far.
[Nvidia Tegra Note 7] Dralnos:
Hi and thanks for your great work.

I installed the costum Kernel on 5.1. Now my device's CPU clock won't go below 1.8-2 GHZ, even when manually underclocked in SETCPU (as seen in the screenshot below)

Needless to say that my device is basically melting and not really usable. Any Ideas? Thanks for the help!
[Nvidia Tegra Note 7] arunbiju969:
Try enabling power savemode and try to underclock in setcpu
[Nvidia Tegra Note 7] Dralnos:
Hi and thank your for your response.

When I change the clock speed in SETCPU while in power save mode, it randomly jumps down to 300 MHZ, even when max is 51. Then back up to 1.8-2ghz. :/
[Nvidia Tegra Note 7] prudhar:
i have flash the new shaky kernel, my TN 7 is heating up even for the minimal use.

i have flash the new shaky kernel, my TN 7 is heating up even for the minimal use. How you actually managed to fix it with Titanium Backup exactly. it fixed the issue permanently?

---------- Post added at 01:51 AM ---------- Previous post was at 01:42 AM ----------

Please help me on this, should i permanently disable NVIDIA tegra services?
[Nvidia Tegra Note 7] GizmoTheGreen:
last time I managed to fix the 5.1 high cpu usage (50-80% constantly from system services)

in titanium backup (make sure your supersu has the namespaces thing turned off), I took back up or all nvidia/tegra specific apps, before deleting them. I still had the drain, so what I did next was take the tegra setup wizard (the one by nvidia, not google one) and did the same thing. took a backup of it, then frooze it, then uninstalled it. I was unsure if I would brick the system if I totally removed it so I resotred it was well (frozen) and then my device started cooling down.

with screen off it's even cool to the touch! :D
[Nvidia Tegra Note 7] Ayush Kumar Tarun:
Thanks for the kernel, it improves the performance of the slate.

But 4k HDMI is not working for me. I am still getting stock HDMI resolution. Please help me.

Although benchmarks are not representative of real life performance, I am curious to know why I am getting lower benchmark scores with the custom kernel. (Shouldn't 2.1 Ghz intead of 1.8 Ghz result in higher scores )
[Nvidia Tegra Note 7] GodOfPsychos:
[MENTION=4802595]Shaky156[/MENTION] how is the marshmallow development going so far?

Btw, you still need to add the source code of your new kernel to the thread, otherwise one of the moderators could remove the download links for that which i dont want to happen since this is the only custom kernel thread for our tegra note 7.
[Nvidia Tegra Note 7] arunbiju969:
Shaky could you plz give us a link to stock L kernel too......
[Nvidia Tegra Note 7] Briarei:
Hi, can i use this kernel on TN7 LTE?
[Nvidia Tegra Note 7] Donz7733:
[MENTION=496922]shaky[/MENTION]

Any updates on Marshmallow?
[Nvidia Tegra Note 7] nitzero:
Great job Shaky

But I'm having some problems with the CPU going to sleep while playing a game such as Beach Buggy Racing, it kept going down around 200mhz, game was very slow, solved it by manually setting the CPU clock to 1.8Ghz, haven't tested any other game but this was somewhat weird.

Other than that the tablet feels very snappy, no battery drain, no WiFi issues
[Nvidia Tegra Note 7] J-Zzz:
Could someone provide an alternate download link to the custom 5.1 kernel? I've tried downloading it from the site mentioned in the first post but whatever I do the download just stops in the middle indefinitely.
[Galaxy Note 3 Q&A, Help & Troubleshooting] aman.agr:
i updated my note 3 with knox 2.0 container. As knox 2.0 supports play store, but it is not shown in my phone. ive searched through website of samsung knox and it is said that "your IT Adminstrator gives you access to this service". so how to access it.. please help
[Galaxy Note 3 Q&A, Help & Troubleshooting] Phusion:
+1, in knox settings it mentions allow 3rd party apps but cannot move apk to knox
[G2 Q&A, Help & Troubleshooting] tagme:
Hi to all,

I'm an HTC User but, my friend has some problem with his G2 from Videotron in Canada. He rooted the phone and tried to install a recovery. using the AutoRec method... Now, he's stuck at the screen on the attached pic. fastboot commands work. ADB commands don't work... I've been looking for a few hours and I can't find anything with the same problem or a solution... If anyone can help or point me in the right direction, it would be greatly appreciated!
[G2 Q&A, Help & Troubleshooting] tagme:
Sorry... Here's the image!
[G2 Q&A, Help & Troubleshooting] danial.aw:
I believe that happened to me when I installed a kernel that wasn't for my device...
[G2 Q&A, Help & Troubleshooting] tagme:
Remember what you did to slove the problem...?
[Verizon Samsung Galaxy S III] MortTheBeast:
I use my phone on Wifi only until I can get another phone that I can unlock the bootloader and every time I start/restart phone I have to deal with this stupid notification and hit OK. Was wondering if there might be something I can either Freeze with Titanium or a file to edit that will remove this?
[Verizon Samsung Galaxy S III] buhohitr:
Give this a try, use Tibu to freeze "Setup wizard 1.0" then reboot phone.
[Verizon Samsung Galaxy S III] MortTheBeast:
Sorry I didn't get back to you sooner, but for some reason I thought when you created a post that it auto-subscribed ya to it and just figured I didn't get any responses... anyway... that did the trick! Thank you very much... that was annoying me beyond belief.
[Samsung Galaxy S II Plus] LuK1337:
So, I want to compile another rom (cuz LS is abaddoned and PAC is official). Post your propositions for next rom, only fully open source (not MIUI, Lewa OS, Color OS).
[Samsung Galaxy S II Plus] kidmanis:
You brought us quite a few, and most of the options on kitkat we already have.

As far as i can see NeatROM and AOKP would be the only ones interesting.
[Samsung Galaxy S II Plus] LuK1337:
Actually [MENTION=3412821]beastaki23[/MENTION] is compiling AOKP. Isn't NeatROM based on stock?
[Samsung Galaxy S II Plus] kidmanis:
Yes, i think NeatRom is based on stock so the bluetooth might work. But then again is your choice.

Nice to know that AOKP is already cooking.
[Samsung Galaxy S II Plus] LuK1337:
I don't really like roms based on stock.
[Samsung Galaxy S II Plus] gentr:
You can port viper rom, this is the best in htc phones.