yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 10.1 Android Development] steveman29:
freeze

Hello AAccount i had a freeze with stock rom and 1600 Mhz while playing a game. I don't know if it is because of the cpu or the gpu oc. It is the first freeze in 2 days though.
[Galaxy Tab 10.1 Android Development] AAccount:
That could be a hardware limit. My SGS1 could only overclock 1.2GHz. If I tried 1.3GHz on it, it would freeze 5mins into angry birds. Maybe try 1.5GHz?
[Galaxy Tab 10.1 Android Development] L33t Masta:
I don't know what your kernel does, but when I put it on my CM9 installation my 7500 won't connect to 3G anymore and throws up a bunch of network erros. It wouyld be cool toget a 3.0 kernel so I can use this god aweful thing. The lack of custom roms and kernals for this 7500 is disgusting.
[Galaxy Tab 10.1 Android Development] AAccount:
First, if you don't know what my kernel does, why are you using it over the stock pershoot one? Are you using the CM version and not the CMWifi version? My tablet is wifi only so I did the "theoretical" changes to make it cm9 compatible without testing it since I can't.
[Galaxy Tab 10.1 Android Development] Jay Rock:
If I come from version 2.0, do I need to do anything prior to flashing 2.2?
[Galaxy Tab 10.1 Android Development] AAccount:
No, nothing at all.
[Galaxy Tab 10.1 Android Development] L33t Masta:
I'm sorry. You misunderstand. I know what your kernal DOES, I just don't know what it's doing to not be incompatible with my 7500. I need a 3.0 kernal to get Chrome to work properly. With stock CM9 and 10, because they're still using a 2.-- kernal for some ungodly reason, Chrome gives me white screens and freezes and all this other garbage.

I'd love to help you test out different options if you'd like. I'm desperate for a lightweight ROM with NOTHING but the basic apps and GAPPS with a 3.0 kernal. I want a super speedy, super clean tablet that really allows me to check my emails, browse the internet, read some books/comics, maybe start doing some web development. But right now all I'm finding for the 7500 is bloated ROMS that slow the tablet down or don't have a 3.0 kernal or make the tablet super slow. I use a keyboard dock so the speed of a ROM is apparent when I type on it. CM9 + your 3.0+ kernal would be amazing.
[Galaxy Tab 10.1 Android Development] AAccount:
You need to flash pershoot's newest 9/01 rom. This kernel is not compatible with all older roms for reasons that are too technical for me to understand. This kernel is also not currently compatible with cm10 for the same reason.

Actually, after flashing that new rom, you don't really need the A1 kernel if all you want is a 3.0 kernel. Pershoot supplies a 3.0 kernel. Speaking of your displeasure with the lack of p7500 development, the reason I originally (back in V1.0 of A1 kernel), didn't put up a 3G version is that I cannot afford a second data plan. (You can figure out why that might be from my age hint about drinking.) I actually use CM9 to bypass carrier fees and tether my SGS3 to my tablet when I need data on the go. This is only my reason, not necessarily everyone else's reason.
[Galaxy Tab 10.1 Android Development] L33t Masta:
Thanks for the reply. I was unaware that Pershoot had put out a P4 rom since his blog has not been updated since Aug 16. I'll perhaps try this rom out and see what happens, if not maybe I'll explore other options. I totally understand the lack of funds for a 2nd data plan. I hope all is well as you test this out and make it better.
[Galaxy Tab 10.1 Android Development] jayceebee23:
You may want to look here for the p4 0901 build: http://droidbasement.com/galaxy/roms/cm9/p4/
[Galaxy Tab 10.1 Android Development] blademetal:
hem... no one knows :)
[Galaxy Tab 10.1 Android Development] AAccount:
It was a requested feature. If you use cifs sometimes you need this mode for it to work nicely. If you dont use cifs, ignore this.
[Galaxy Tab 10.1 Android Development] katestar:
Hi, does the cm9 wifi version have the gpu overclock as I am getting lowish gpu cores on nenamark 2?
[Galaxy Tab 10.1 Android Development] blademetal:
tnx for reply...therefore if i use only 1400 OC and don't use cift... i could stay in release 2.1..right?
[Galaxy Tab 10.1 Android Development] AAccount:
It should. The kernel is exactly copy and pasted. Only the ram disk is different. I too, noticed the lower fps. Weird...

I decided to test the kernels myself. I used GLBenchmark 2.0. I ran both Egypt HD tests (C24Z16 and C24Z16 fixed time) and Egypt classic (C16Z16). For both A1 V2.2 and pershoot's stock supplied kernel the maximum frequency was 1.4GHz and the minimum was 216MHz. Nothing was running in the background but wifi was on. GPS and bluetooth were off. Here are the results (order is C24Z16, C24Z16 fixed time, C16Z16):

Pershoot supplied stock: 6.2fps, 5.4fps, 20fps

A1 V2.2CMWifi: 7.7fps, 6.7fps, 23fps

Earlier when I first made the GPU OC I also did the same setup described. However, maximum frequency was 1.2GHz.

A1 V1.2 (before I did GPU OC): 6.6fps, 5.5fps, 25fps

A1 V1.3 (after I did GPU OC): 8.2fps, 7.0fps, 30fps

All units are frames/sec.
[Galaxy Tab 10.1 Android Development] AAccount:
I guess so.
[Galaxy Tab 10.1 Android Development] indira19:
can u plz help... does this kernel has "option.ko" module? i am trying out usb modswitch and ppp widget to connect my usb modem.... i am on ICS task Rom, i need the option.ko module ...u can guide or point me to a suitable resource...how can i get that module since its kernel specific.....if this kernel has it i want to try it out...plz reply....please
[Galaxy Tab 10.1 Android Development] RalphDe:
@ AAccount

a friend of me have a S3 on Stock. Can i flash your Kernel at this Device? If yes, cant you uo a tar-File for Odin?

THX

Ralph
[Galaxy Tab 10.1 Android Development] khomsn:
2.2 batery drain about 2% Each hour on sleep mode with cpu scale from 150M to. 1400M. Use with [ ROM][ICS] JellyBeanRom ICS v5 [P7500][P751].
[Galaxy Tab 10.1 Android Development] GFX.myst.:
I know you wanna make this "Final" and all, but is there anyway to get this kernel to work with AOKP m6? I've tried with each version you've made and its a no go. Wifi won't even turn on. Would be greatly appreciated. No hurries of course. And if you need a tester, just let me know. ;)
[Galaxy Tab 10.1 Android Development] luke05dee:
I really really hope sometime in the future this kernel will work with CM10, 1.6ghz + 400mhz gpu + all the new vsync, triple buffering etc = Project Butter+ :D Using it on JellyBean ROM ICS at 1.6ghz and it is working great. Thank you :)
[Galaxy Tab 10.1 Android Development] CazeW:
Are you seriously asking if you can flash this kernel on a Galaxy S3? If you are serious then no. You cannot flash this kernel on S3 unless you want to make it unusable.
[Galaxy Tab 10.1 Android Development] djmatt604:
Couple of dumb ones I'm pretty sure I know the answer to but I feel being paranoid is better than being stupid :)

1) Flashing 2.2.zip on stock ICS should cause no problems if coming straight from 1.5.9XE, correct?

2) If I do run into problems, I can simply re-flash 1.5.9XE without a wipe or anything of the sort?
[Galaxy Tab 10.1 Android Development] spitzaf:
Once the devs are going strong at CM10 again, the kernel in there will get some love. I think pershoot said something about not going higher than 1.4GHz though, but someone said the benefits of 1.6GHz were virtually negligible over 1.4GHz (meaning there is a different bottleneck, maybe flash storage or RAM speed). Not sure about pershoots plan for a GPU OC. I think he was against it a while back but may have been because he was busy.

My point is they're working on a solid kernel for CM9/10, so see how it turns out first, then we can see about including some of the work done here into the CM baseline.

---------- Post added at 10:46 AM ---------- Previous post was at 10:43 AM ----------

I'd recommend wiping cache and dalvik anytime you change the kernel. Its quick, doesn't remove anything permanent, and helps reduce other issues. You just have to wait a bit longer on first startup to rebuild the cache.

Other than that, you shouldn't have an issue with either question.
[Galaxy Tab 10.1 Android Development] djmatt604:
Mucho thanks man. Yeah those two I figured, but I've worked hard to set up my ROM so would shed a tear or two if I had to do a data wipe. lol
[Galaxy Tab 10.1 Android Development] jayceebee23:
Here you go: http://db.tt/e81k925J
[Galaxy Tab 10.1 Android Development] caominh171:
wow, many tks to ur best link ^^
[Galaxy Tab 10.1 Android Development] djmatt604:
So no complaints from those of you on 2.2 @ 1600 other than one freeze during a game? AA, thanks for only releasing this stuff when you're confident it won't fry the boards. You have to put up a donate link or something buddy :)

EDIT: I tried watching a YouTube HD video on 1.6 and experienced a freeze/reboot. Tuned back down to 1.4 and it's like liquid...guess I can't complain but still.

AA, what if anything in the way of a log would benefit you if you're looking at this?
[Galaxy Tab 10.1 Android Development] Albertotuchi:
All ok

congratulations and thanks for the work, I flashed over my stock Ics rooted, and all working ok for this afternoon. After flashing the kernel the governor is interactive, and i don't know why but min and max working frequencies are set to 1000 mhz both. Changed then to 216 min and 1200max and all ok.

thanks again.
[Galaxy Tab 10.1 Android Development] AAccount:
Oh, goodness, that source.android.com page looks quite overwhelming. You don't really need anything from that page. I think that page is for if you're interested in building the entire android os from scratch and customizing/tweaking the os itself. I think that's beyond me. Here's how I did it.

1: Download the p7500 source from samsung

2: Extract the kernel.tar.gz somewhere. I just put it in my ~/Downloads folder

3: In the kernel source root look for a file called "Makefile". Open it and look for the line that says "CROSS_COMPILE	?=" (around line 196). Change the path after ?= to tool_chain_root/bin/(common prefix). In the case of the tool chain that I downloaded all files in toolchain/bin start with arm-none-eabi-blah,blah,blah. In this case, the prefix is arm-none-eabi-. In my make file the line reads: "CROSS_COMPILE	?= /home/Daniel/Downloads/arm-2010.09/bin/arm-none-eabi-"

4: Go to your kernel source directory and issue make samsung_p4_defconfig or make samsung_p4wifi_defconfig

5: Use pluma or any other text editor to open kernel_source_root/.config and copy the voodoo stuff related lines in from my config file. You will also need to make sure that wifi driver gets built in and not compiled as a module. Search for the line "CONFIG_BCM4330=m" and change it to =y. One last thing you need to edit is to make sure you build the p3 sound and not p4 sound. If you check the voodoo sound makefile it depends on p3 sound, not p4. Look for the line "CONFIG_SND_SOC_WM8994_P4=y" and change the P4 to a P3. Now, look at the line above or below called "# CONFIG_SND_SOC_WM8994_P3 is not set" and change that P3 to P4. This tells make that you had a change of heart and are no longer interested in the P4 module. DO NOT USE MENUCONFIG!!! This file must be edited by hand.

6: Do "make -jX clean" where X is the number of CPUs you have. My Core2 P8800 mobile has 2 cpus so I do "make -j2 clean"

7: Finally, make the kernel by issuing "make -jX". Same X as step 6.

8: Lastly, download one of my zip files and open it with some kind of zip utility and go to the kernel directory. Drag your zImage (found in kernel_source_root/arch/arm/boot) into there to replace mine.

9: Flash it and hope it works.
[Galaxy Tab 10.1 Android Development] CazeW:
Nope, still no luck. I'm starting to think that there's something wrong with the tools I installed. Or maybe the fact that I'm compiling in VirtualBox messes it up.

UPDATE: Got it to finally boot, the problem seemed to be with the packages I had installed as it started working after I reinstalled Ubuntu and the packages.
[Galaxy Tab 10.1 Android Development] jaswinky:
USB Charging not working

Firstly, thanks a lot for this kernel... finally we have an overclocked kernel!!

I can confirm that it is true that USB charging from any charger/port doesn't work, it just changes the error charging icon by the normal charging icon.

At first i thought that mayby the people had tested it tried in a PC port with only 0,5A and it just saved the charge, but I tried it in a 2A port from a external travel battery which I usually use with a small USB wire adaptor to use with the samsung tab to simulate a samsung charger. I connected the tab (at 75% bat) to the battery directly (without the samsung-sim adapter) and after 30 mins it still had 75%. After this I conected it to the battery using the adapter (same effect as if you connect it to the original samsung charger) and in only 5 mins it got 78% bat...

Anyway, we have our tab at 20% faster, so thanks!!
[Galaxy Tab 10.1 Android Development] AAccount:
Just wondering, has anybody tried the usb charging with the tablet turned OFF?
[Galaxy Tab 10.1 Android Development] jaswinky:
My test was with the tablet turned on but the screen off, so in 30 mins from 75% to 75%... something wrong...

Anyway, I'm just making the test again, the tab turned off (69% bat), connected to the external travel battery (2A port) without the wire-adaptor (samsung charger simulator), it is, directly as any non samsung charger. I'll tell you the results in 15 mins (at least 1% should be charged!!)

Thanks for your work!

EDIT: After turned off, when the connector was pluged, the charging battery figure appeared ok in the center of the screen... lets see if it really charges.

---------- Post added at 03:32 AM ---------- Previous post was at 03:08 AM ----------

YES, it charges with the tablet turned off from any non samsung USB charger !!!!! From 69% to 77% in 20 min...

Thanks my friend!!!

But why it charges with the tablet turned off and not with the tab turned on??? Maybe any other firmware check that cannot be made with the tab turned off???
[Galaxy Tab 10.1 Android Development] AAccount:
I just got the idea, turned off my tablet and came back after a little while. I left it plugged into my trusty laptop that compiles these kernels. Went up from 80% to 93%, so nice to confirm that somebody else is getting these results.

Could be several reasons why. I reexamined the code, downloaded the honeycomb sources and pershoot's p3_battery.c and ran a diff. Pershoot seems to have added an extra function that I'm not sure what it does. However, I think I got most of the changes related to usb charging. Here are several reasons why I think it only works turned off:

1: Could be that powered on it uses as much energy as the usb charging supplies making a net gain of 0% for the battery. I let my tablet watch a few episodes of TMNT for its own enjoyment with the screen on full brightness. % didn't go down but didn't go up either. Not sure if that's conclusive evidence but it's something to keep in mind.

2: There is some other code in the rom that overrides my bypass of the disabled usb charging. What motivation could be behind this? I can think of only 1 reason: if you loose your adapter or you accidentally step on it or some other unfortunate event breaks it you're forced to buy a new one and not go cheap and use another adapter. Can't really confirm this one.

3: Some other kernel driver code prevents usb charging that is only active during regular mode and not charging mode. I could confirm this one but that would require an awful lot of comparing. Somebody else bored (almost to the point of death) and want to verify this?
[Galaxy Tab 10.1 Android Development] CazeW:
I managed to get Voodoo working but my overclocks were unstable. 1.2GHz seemed to work at first but the tab refused to wake up after it went to sleep (this was with the 1.4GHz code) and 1.4GHz crashed the tab the instant I tried overclocking to it. I checked your broken 1.4GHz code and it was exactly the same as mine so we're stuck at the same place.

UPDATE: Got 1.4GHz running for a while so that I could do some very quick benchmarks. Still very unstable but should be now down to just finding the correct voltages.
[Galaxy Tab 10.1 Android Development] Ziq666:
I had the same issue with not charging with pershoots kernel on 3.2 (Tasks rom)..

Skickat från min GT-I9100 via Tapatalk 2
[Galaxy Tab 10.1 Android Development] jaswinky:
Ok. I've reviewed your code p3_battery.c and I saw your changes with info.batt_improper_ta and others. It should be correct, this var never will be 1, so, the problem maybe is in other place... I've seen that depending of the port, it enable 2A max or 0,5A, this is, if it detects a dedicated charger, will enable 2A charging; if it detects a data USB port (as PC USB port), will only enable 0,5 A, maybe enought for maintain the charge but not enought to charge the battery (I think this is the situation I suffer yesterday). Because any reason, I think when we connect a external battery or maybe a non-samsung wall charger, it detects as a USB port and only enable 0.5A charging instead of 2A. This is also in p3_set_chg_en function you edited, some few lines down your //battery->info.batt_improper_ta = 1; line, when battery->current_cable_status is not CHARGER_USB, p3_set_charging(battery, 2); should be changed also to p3_set_charging(battery, 1);, it is, where it says:

static void p3_set_chg_en(struct battery_data *battery, int enable)

{

...

else if (battery->current_cable_status ==

CHARGER_USB) {

pr_info("USB charger!!");

p3_set_charging(battery, 1);

//gpio_set_value(charger_enable_line, 0);

} else {

pr_info("else type charger!!");

p3_set_charging(battery, 2);

gpio_set_value(charger_enable_line, 0);

}

...

}

change by this:

static void p3_set_chg_en(struct battery_data *battery, int enable)

{

...

else if (battery->current_cable_status ==

CHARGER_USB) {

pr_info("USB charger!!");

p3_set_charging(battery, 1);

//gpio_set_value(charger_enable_line, 0);

} else {

pr_info("else type charger!!");

p3_set_charging(battery, 1); /* the change here */

gpio_set_value(charger_enable_line, 0);

}

...

}

I haven't any compiler (I'm using wordpad to read the code!!), so I cannot test it... If you want to compile this changes (from ver 1.2 trial 19), I'll test it.

Regards,
[Galaxy Tab 10.1 Android Development] jaswinky:
Duplicated post
[Galaxy Tab 10.1 Android Development] AAccount:
What voltages did you try? I tried to keep in on stock and I tried the pershoot ones starting at 900mv cpu but neither one worked for me.
[Galaxy Tab 10.1 Android Development] CazeW:
Pershoots voltages crash instantly. I'm currently trying with stock for core and different ones for cpu. At best it has stayed stable for about 2mins when running the stress test in SetCPU.
[Galaxy Tab 10.1 Android Development] jaswinky:
In my setcpu i have no options for voltage settings...

Enviado desde mi GT-P7510 usando Tapatalk 2
[Galaxy Tab 10.1 Android Development] AAccount:
Voltages are hard coded in. This is what sucks about trying to find the right voltage. You edit the file for a few seconds and wait 10 minutes for it to compile. Doesn't work? Repeat the cycle... :(
[Galaxy Tab 10.1 Android Development] steveman29:
Is there a chance for a gpu oc in the future?
[Galaxy Tab 10.1 Android Development] AAccount:
Coming right up...See version 1.2.1. Now the same kernel should work on 3G and wifi.
[Galaxy Tab 10.1 Android Development] jaswinky:
Lets try... ill tell you in a few minutes...

1.2.1 Installed in wifi only tablet. Everything ok I think... Now testing the change in p3_battery.c code, 81% bat, the tablet tunred on with screen off and no user activity... I'll tell you in 10 min...

Thanks!

Enviado desde mi GT-P7510 usando Tapatalk 2
[Galaxy Tab 10.1 Android Development] steveman29:
Works fine with wifi version
[Galaxy Tab 10.1 Android Development] jaswinky:
Sorry man... :crying: The minor change in p3_battery.c code didn't work for me... it doesn't still charge with the tablet turned on from a non-samsung charger...the change apparently haven't any effect... the issue must be in a different point... Maybe you should prefer to undo the minor change for this or the next version.

Everything else working fine...

Thanks!
[Galaxy Tab 10.1 Android Development] jaswinky:
Hi AAccount,

I saw on your first post you removed the comment about to return to 1.5.9 by flashing before stock boot.img to remove RAM disk in 2.2 and the way to do it by adb console... You removed it because it is not necessary to do it after any change you did or it still is necessary?

Thanks,
[Galaxy Tab 10.1 Android Development] AAccount:
I removed it because it looks like people aren't having trouble with the V2s. The only change I made to the stock ram disk was to automatically kill the 3G controller file for wifi only tablets and run boot scripts if you want that. If you want to use 1.5.9 you would still need to flash the stock boot.img. I took down the older versions for the same reason: it looks like the new ones are working fine.
[Galaxy Tab 10.1 Android Development] AAccount:
Umm, I've looked at logcats for my own testing before and I don't really understand everything. I'm no almighty developer like pershoot so I can't do what I imagine he does (looks at the logcat/last_kmsg, has a good idea of where to fix it, makes the necessary changes). My SGS1 couldn't OC more than 1.2GHz on several kernels.

It might be a voltage thing... but I don't want to go past the voltages I've set. Sorry about that.
[Galaxy Tab 10.1 Android Development] djmatt604:
Hey man, no problem. pershoot is saying he won't OC past 1.4 so there's probably a pretty solid reason for that lol. Like I said, no complaints at 1.4 for YouTube or anywhere else in the ROM. Appreciate ya :)
[Galaxy Tab 10.1 Android Development] AAccount:
The reason it doesn't work on AOKP or CM10 is because both those roms are setup to use the 2.6.36 kernel and the drivers that kernel provides. I am not sure how to make either of those roms 3.1 compatible. I've tried swapping libhardware_legacy.so and copying in the .bin files in /etc/wifi but neither of those worked. That's why the CM version only works on the latest 9/01 experimental build. That one is setup to use 3.1 kernel drivers.
[Galaxy Tab 10.1 Android Development] cfao:
I tried flashing 2.2 today and now I'm having a kernel wake lock tx_hsic that is preventing deep sleep. I was on stock before flashing and the tablet went to deep sleep. I didn't install any app after flashing so that can't be the cause.

Any suggestions?

Other than that this kernel is great. The tablet really flies at 1.6 :) Thanks for all the hard work AAccount
[Galaxy Tab 10.1 Android Development] AAccount:
If your tablet is running CM9 and is wifi only (I think it is since it's a P7510 and not P7500), flash the CMWifi version. I got this issue too, which is why I made the CMWIfi version.
[Galaxy Tab 10.1 Android Development] Judgement5:
2.2.1 samsung version just bootloops on my tab had to go back to 2.2.
[Galaxy Tab 10.1 Android Development] trunks986:
hi.. i ve seen that you released 2.2.1 kernel version with xbox360 controller.... can you tell me how to connect my wireless xbox controller to my tab???

thanks
[Galaxy Tab 10.1 Android Development] cfao:
My tablet is WiFi only but running stock ICS.

Is the CM9 kernel compatible with the stock rom?

Maybe this is a problem with the smart ramdisk?
[Galaxy Tab 10.1 Android Development] grac:
No. You must use THIS kernel :)
[Galaxy Tab 10.1 Android Development] osama_talha:
ok now that we have got the important things working. I think custom bootanimation support for stock is still missing :D just a suggestion :)
[Galaxy Tab 10.1 Android Development] cfao:
I wasn't using the CM kernel. Just asked because it was mentioned by AAccount.
[Galaxy Tab 10.1 Android Development] martin26765:
I was doing some test. With uk stock rom and a1 2.2 my battery was droping down like 2% at hour in sleep mode. Tonight ive tried last cm9 with a1 2.2cmwifi and the battery drain was 1% over all night.

Ps: i have the same apps installed on both rom unless the integrate of each rom.

Btw: today i will try only stock rom and kernel. You can try erasing the weather widget, i have some suspects about it.