yashsingh1/xdaforums huggingface dataset:
[Galaxy Tab 2 7" Android Development] Caldair:
When this is happening have you used a task manager to see what processes are putting a load on the cpu to cause it to go to the max frequency?

If this is hapening after a fresh boot it could be the media scanner service, which runs at every boot and depending on how many files you have can take a long time to complete, especially if you are using your tablet at the same time. I have disabled the media scan in Slim via Developer options: "Mediascanner behaviour on boot" myself. My media doesn't change much anyway.

Either way you need to find the application which is causing your processor to ramp up. You mentioned android tuner in a previous post, its task manager can show you the used cpu % for running services. That should give you a better idea what is going on at least.

FYI below are the voltages I have set below the frequency that tey correspond to. I only modifies up to 1200mhz because thats as high as I ever OC. Be careful tough, I arrived at these values through experimentation, your device may not work with the same. Try setting voltages in android tuner, without using "set on boot" until you are confident in your values, then put them in init.post_boot.sh. If your screen freezes and you are forced to reboot increase voltage and try again.

mhz 1200 1008 800 600 300

mV 1275 1175 1050 950 875
[Galaxy Tab 2 7" Android Development] drsiddique5700:
wow thx sir it was very usefull i will try find out which process is responsible for it

.here is the screenshot
[Galaxy Tab 2 7" Android Development] Skazzy3:
I'm quite sure that he lowered his voltages by -100.
[Galaxy Tab 2 7" Android Development] Caldair:
I would say whatever that AudioOut_2 kernel process is that would seem the cause.

Do you have some audio related app which might be running in the background, or an audio related widget on your homescreen? It is probably caused by something like that. Check settings/apps/running services to see if any audio apps are running in the background and might be causing an issue.

Edit: When I google AudioOut_2 I see a lot of it leads to problems with the app Viber. Is that something you use by any chance?
[Galaxy Tab 2 7" Android Development] drsiddique5700:
no sir I dnt have any music apps installed no viber as well.I also Googled a lot about audio out_2 even disabled key tones touch sounds everything but still no success
[Galaxy Tab 2 7" Android Development] Caldair:
Hmm... Sorry, I am quickly running out of ideas... Do you have custom settings in DSP manager? I really don't know if that could be the cause, just thinking of anything possibly related.

If you reboot your tablet and then don't launch any apps and wait a few minutes, is that process still running? If not you could try to find out if it is started after using a particular app. Or its quite possible that that is not the issue at all... But, unless you were listening to music for 2 hours before you took the screenshot you posted earlier, I think it is that.

Wish I had more good advice but I think you are just going to have to troubleshoot this out on your own. I hope you find it soon. Maybe someone more knowledgeable than myself could help more. Good luck.
[Galaxy Tab 2 7" Android Development] drsiddique5700:
thx for ur suggestions sir. I have uninstalled dsp also I never listened music.I think this happens after I play games.as you said I must troubleshoot it myself.thx again will let u know
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Still workin on a feature: intercepting Android boot process with a boot menu and it's works! This feature based on [MENTION=4523387]mackief[/MENTION] work: http://xdaforums.com/showthread.php?t=1926814, with different integration and user can disable it anytime. This is a natural progress for my future plan :D
[Galaxy Tab 2 7" Android Development] Vishesh:
Hi guys.. I have a query to ask again.. M currently with ketut awesome single kernel.. All is well except heating issue.. I have already tried different combinations of cpu and voltage values but still tab is not that cool as it was before with stock firmware.. As gpu is already set to default with this kernel.. So please suggest me right cpu and voltage values so dat heating issue could resolve.. M sharing with u my current values.. 1008mhz,300min,interactive, cfq or row, 1200 voltage value.. Any suggestions.. N btw m with slim rom latest build 4.2..

EDIT - I set those above values under phone performance option by checking set on boot option as well as in the app named SETCPU..

Thanks & Regards

Vishesh
[Galaxy Tab 2 7" Android Development] Dexxmor:
Sounds great :D

Send from invader Zim's spaceship.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Boot menu screenshot, new icon set:

EDIT: Device will boot directly to this boot menu after Samsung boot logo disappear, just before Android boot animation. User can disable this feature by creating a regular file /cache/nobootmenu.
[Galaxy Tab 2 7" Android Development] Dexxmor:
Wow, looks nice :good:
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Look better than Grub :laugh:
[Galaxy Tab 2 7" Android Development] Dexxmor:
A way better :D
[Galaxy Tab 2 7" Android Development] iroshan:
Excellent work friend. ::):)

Always admired your work since you were in ace forum. Can't thank you enough.
[Galaxy Tab 2 7" Android Development] Skazzy3:
Looks awesome.

If you could make this boot menu come up when you hold power + volume up or power + volume down and not when you just turn on the device I would love you forever.

But anyways, amazing work as always.

I thought the kernel was crazy enough but this?

Incredible.
[Galaxy Tab 2 7" Android Development] webdroidmt:
Excellent stuff, KK. Reminds me a bit of Cyanoboot for the Nook, or Moboot for the HP Touchpad. Looking forward to seeing this. Maybe call it KK-Boot? :D

EDIT: Just realized that your boot image is already KK-Boot, maybe just Kboot??? :)

Thanks,

Mike T
[Galaxy Tab 2 7" Android Development] drsiddique5700:
earlier today when i first unlocked my device and opened android tuner there i saw my cpu was at 1ghz continuesly and cpu usage was above 60% there was no background app running.here is logcat hope it gives some technical details

edit tried reinstalling rom problem still persist that means atleast its not related with kernel
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Unlike Cyanoboot or Moboot, this boot menu has nothing to do with the bootloader. It's just intercept the boot process, right after ueventd service started.
[Galaxy Tab 2 7" Android Development] webdroidmt:
Yes and very clever idea. Just meant it reminded me of those other two in functionality. :)

Mike T
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
My boot menu feature almost ready for my "future plan" concept :good: A tricky but work according to my expectations :D User can override the default menu as the following example, I added an option to reboot without reflashing the boot image:

Big thanks to the power of [MENTION=402300]amarullz[/MENTION] 's AROMA Installer and fb2png binary from [MENTION=4666971]Phil3759[/MENTION] help me taken above screenshot :good:
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
EXPERIMENTAL BOOT MENU PLACEHOLDER. BOOT MENU - ANDROID'S INIT INTERCEPTOR

Blackhawk single kernel + AROMA based boot menu :D User can disable the boot menu feature anytime:

su
touch /cache/nobootmenu

To back enable it:

su
rm /cache/nobootmenu

A clever idea? Yea, thank you :good: A tricky but still in good implementation? Yea, of course :D

Frankly untried this in the stock ROM, but should not be problematic. Brave enough to try?

Also attached an alternative boot menu: bootmenu.zip. Copy it to /cache/bootmenu.zip to override the default one.

The default boot menu:

Alternative boot menu:

Alternative boot menu with a dialog:

CREDITS:

- [MENTION=289089]gokhanmoral[/MENTION] for busybox init script idea and USB late initialization code

- [MENTION=4523387]mackief[/MENTION] for AROMA boot menu, really different implementation here. I just do not want to repeat something that has been done by others, Google brought me to mackief post :D

- [MENTION=402300]amarullz[/MENTION] for AROMA

- [MENTION=3208754]codeworkx[/MENTION] for integrated landscape touch screen solution to CyanogenMod mainline kernel :laugh: I always want to laugh when remember someone said it was a stupid solution. Now, all touch based recovery and AROMA use this solution :laugh:

- All my supporters :good:
[Galaxy Tab 2 7" Android Development] karaern:
looks really amazing...tnx

although i am still using the old 0.6 version from the other post and is just fantastic, i will give a try to this new one...

all your kernels make this tab absolutely competing with newer devices..:good:
[Galaxy Tab 2 7" Android Development] Zeuscluts:
Thread Added to Index
[Galaxy Tab 2 7" Android Development] webdroidmt:
KK, unfortunately it's not working for me. If I choose Boot Normally, it just hangs and I have to hard reset. If I choose Recovery, it does work and boot into Recovery. I also tried it with the Alternative Boot menu and when I choose Reboot, it reboots back to the Main menu but I still can't boot into the OS.

If it matters, I'm on your TWRP 2.4.4.0 recovery and cmenard's AOKP 4.1.2 rom. Maybe not compatible with AOKP??? Thanks.

Mike T
[Galaxy Tab 2 7" Android Development] Dexxmor:
I think the kernel its not compatible with 4.1.1/4.1.2 AOSP ROMs, he talks only on 4.1.1/4.1.2 Stock and 4.2.2 AOSP ROMs.
[Galaxy Tab 2 7" Android Development] webdroidmt:
Ah, very possible. Hopefully, KK will chime in and clarify this. I really like the AOKP 4.1 and even though no longer maintained by cmenard, it's very stable. If that is the case, I will go back to Slim, which also was comfortable for me and seems to have good support from that team.

Mike T
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Correct, this kernel not compatible with AOKP (3.0.8 kernel).
[Galaxy Tab 2 7" Android Development] webdroidmt:
That's what I thought, too bad. I restored a nandroid of Slim Bean and the kernel/boot menu is working great, so I guess I'll just stick with Slim because I do want to use your kernel with the boot menu. Thanks again for your excellent work.

Mike T
[Galaxy Tab 2 7" Android Development] m@ximum:
CPU at 384Mhz, will it get really hot when gaming?

Can we manually reduce it using android tuner? Like to 307?
[Galaxy Tab 2 7" Android Development] drsiddique5700:
I think u mean gpu not CPU.gpu is [MENTION=278631]default[/MENTION] 307 we don't need to manually reduce it
[Galaxy Tab 2 7" Android Development] m@ximum:
Are you flashing this kernel using CM based rom?

In first page, it said that if using stock based rom the GPU clock is @ 384MHz while on CM based rom is [MENTION=2751066]307[/MENTION].

That's why I'm asking will it be really hot/dangerous when gaming? For daily use, i just tried it and seem stable so far. And I tried to change the gpu clock using android tuner but it cannot be changed. It's set [MENTION=1089301]384[/MENTION]Mhz.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
You can use the Android Tuner, frequency will always be read as 384MHz but performance can be checked using NenaMark2.
[Galaxy Tab 2 7" Android Development] m@ximum:
yep, i tried to look at android tuner, in gpu, I can change the speed (307,384,512), but it always read as 384. is this normal? so if i change it to 307, the actual speed will be 307 but it will still read as 384?

another question, this kernel is also based on [BOOT IMAGE][GT-P31XX] KK-Boot - Custom boot image for stock 4.1.1/4.1.2 ROM right? Should i use this kernel or flash that one?

in boot image, you said it is using newer PowerVR SGX 540 kernel modules and binaries blob build 1.9@2166536. What is this for? Improving our GPU performance?

Does this kernel also include that?

thanks. sorry if this question bothering you.
[Galaxy Tab 2 7" Android Development] drsiddique5700:
as ketut sir said u can confirm gpu underclocking using nena mark 2 or alternately u can look here in root explorer /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc if u find value 0 means u have successfully underclocked gpu if 1 then its oced.u must perform this check on every boot.and directly u can flash this zip no pre requisite needed
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Yes, GPU clock always read as 384MHz. This kernel successor of KK-Boot. Using newer PowerVR 3D driver for better 3D performance but a little bit slower in 2D but it's more easy to maintain if inline to omapzoom.org (TI OMAP open source initiative). Samsung kernel source have no driver for PowerVR SGX540, have no instruction how to build the graphic driver. I found the way to build PowerVR SGX540 kernel module and compatible binary blob after a lot of searching, trial and error, boot loop, soft brick, blank screen, etc. It is a shame if people reuse my work without a proper credits.
[Galaxy Tab 2 7" Android Development] m@ximum:
Ah...ok. So I just need to flash this kernel right? No need KK-Boot anymore?

Thanks. Hope you keep developing this kernel. It's stable and great performance so far. :good:
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
If you good enough in scripting, fully understand how Android boot, and good in AROMA mark up language, using my boot menu method, you can totally change how your device boot. My boot menu as the first stage boot init and the original init as the second stage boot init :D You also must have a good finger to quit from a boot loop :laugh:
[Galaxy Tab 2 7" Android Development] tobbbie:
Great Kernel - the first I tried on this device and OC goes stable to 1.42 GHz with default voltages. I have also UV below 1 GHz similar values to what was posted earlier. Now also my favorite "hotplug" governor works again - which was blocking the lockscreen to wake up since JB on stock ROM/kernel.

How can I see how hot the CPU gets when loaded? Is there something I can read out in the /sys/class hierarchy? Is there even an app for this?

Need to see how GPU can be controlled now. Is it that GPU is not scaling clock depending on load like for CPU? I would rather prefer the GPU be clocked low unless demand is there for more. As I am not much into games this is not really important to me.
[Galaxy Tab 2 7" Android Development] m@ximum:
Tried changing my gpu clock to 307mhz using android tuner and set it on boot.

Checking using root explorer /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc the value is 0

Does it mean I succesfully changing the gpu clock to 307mhz from default 384mhz (underclock)? Even though in android tuner it still read as 384 mhz?
[Galaxy Tab 2 7" Android Development] m@ximum:
Weird thing just happened to me. I set the cpu clock @1ghz..been using this for 2 days without problem.

Today i tried to increase it to 1,4 using android tuner. Suddenly my screen was filled with line and my tablet hang...fortunately i was able to reboot my device
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Increase the frequency step by step and try every step stable for your device.
[Galaxy Tab 2 7" Android Development] Gafanhotz:
Hey [MENTION=4021423]ketut.kumajaya[/MENTION], you'll keel the OP updated to latest versions, right? Also, nice work! I'm loving your new kernel! :good:
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
0.1.1 has a boot menu feature. Though now only as "just for fun" feature, this feature will evolve in the future. Everything is still in concept in my brain, and will be greatly influenced by gokhanmoral's work ;)
[Galaxy Tab 2 7" Android Development] xtacocorex:
Is there ext4 support in the kernel? I only ask because I was forced to format my external sdcard as ext4 as I was having stability issues with it being fat32 formatted with the Stock and 4.1 AOKP kernel when I was running my build of PA2.54.

I had an init script that would mount it automatically on boot, when trying the same commands, in terminal emulator, I get an invalid argument on the mount command.

I'm a moron, just need to find the special sauce to get it mounted on boot, the main filesystem is ext4...

Yeah, just had to remove and re-install the damn card and chmod my init.d script.

Thanks for the awesome kernel! :)
[Galaxy Tab 2 7" Android Development] bimasakti85:
Is there anyway to put password to be able access recovery from the boot menu? I think that would be great so only authorized user that can access recovery...
[Galaxy Tab 2 7" Android Development] Gafanhotz:
Oh well, [MENTION=4021423]ketut.kumajaya[/MENTION] this kernel, is uploaded to GitHub? I'd like to include in the AOSPA3.x!
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Read my signature ;)
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Two hours hack and my second ROM not loaded as expected, boot animation forever :D
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Yes, yes, yes :good: Now I have two different ROM on my P3100 :p "Boot into the second Android Operating System" :victory: :cool:
[Galaxy Tab 2 7" Android Development] Vishesh:
Awesome.. U r jus mind blowing :thumbup:

¤ Help must be Thanked ¤

~Sent from Heaven~
[Galaxy Tab 2 7" Android Development] iroshan:
I want dual booat too. :laugh:

One for stock and one for Slimbean
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
No problem! Samsung + CM/CM based or CM/CM based + Samsung or CM/CM based + CM/CM based or Samsung + Samsung.
[Galaxy Tab 2 7" Android Development] Andrev01:
Ketut, please tell me which is the newest version of your kernel for P3100 ? :) The 0.4.1 (from this topic: http://xdaforums.com/showthread.php?t=2156684) or this 0.1.1 from OP? I've got 0.4.1 - it's bad or something?
[Galaxy Tab 2 7" Android Development] ts_firehawk:
I'm not ketut but I'm gonna answer you anyway: the newest stable is the 0.1 (0.1.1 is experimental, AFAIK), works for both CM/CM-based and stock ROM. The old kernel isn't bad, it just isn't a single kernel for both Androids (Sammy+Cyanogen), and plus have some older code. But it is still much better than stock kernel.
[Galaxy Tab 2 7" Android Development] Andrev01:
So this is the new one? And is it tested on PACman rom too? Will it work with this rom better than 0.4.1 ? :)
[Galaxy Tab 2 7" Android Development] Vishesh:
Yes this is the latest kernel by great ketut.. N it will work in pac rom/cm10.1/cm based rom as well as with stock rom or stock based rom.. One kernel for every rom, as it is the updated one so surely gonna b better than any previous one..

¤ Help must be Thanked ¤

~Sent from Heaven~

---------- Post added at 12:27 PM ---------- Previous post was at 12:23 PM ----------

Me too :D

¤ Help must be Thanked ¤

~Sent from Heaven~
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
After fighting with loop device problem, finally Samsung as the secondary OS just booted up :D Yea, it's hard to implement gokhanmoral's rule to Tab 2, but nothing is impossible ;) Time to stop doubting me :laugh:

Behind the scene:

1. CM as the primary OS

2. CM as the secondary OS, boot animation forever

3. Use my magic, CM as the secondary OS booted up

4. Samsung as secondary OS, AROMA boot menu forever

5. Again use my magic, Samsung booted up but complain: encryption failed

6. Again use my magic, Samsung as the secondary OS booted up :victory:
[Galaxy Tab 2 7" Android Development] karaern:
anyone managed to swap external sdcard to internal with thisw kernel?

on my site all tries are total disaster...
[Galaxy Tab 2 7" Android Development] Skazzy3:
This kernel is working fine on 4.1.1.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
The craziest Galaxy Tab 2 kernel is almost finished :D Now I have three different ROM on my device: CM as the primary and Samsung or CM as the secondary. Preparing the secondary ROM not as easy as Siyah kernel method but still pretty easy for intermediate user. Still creating instructions for it :good:
[Galaxy Tab 2 7" Android Development] drsiddique5700:
surely this is going to be a history making project
[Galaxy Tab 2 7" Android Development] ayham-dj:
yup .. as a result it's maybe works with android 5 too ... ha ha just joking ... keep the good work .. :D

just a Q ??

can we have fast charge in galaxy tab or we cant due the hardware things ??
[Galaxy Tab 2 7" Android Development] karaern:
if ketut manage to continue that kernel and make it available for GT2 with android 5, he will be hero for sure...
[Galaxy Tab 2 7" Android Development] saintextreme97:
hmm for some reason this kernel on ASOPA3+ is killing my battery im underclocked at 800 because im just listening to music at school (normal routine) ive been on my battery for 1 hour and 31 minutes (at time of post) and im already at 85% i know this doesn't seem like much but im usually still at around 95-98% (wifi off screen set to auto brightness no background tasks)
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Upload your CPU time screenshot. You can use System Tuner, Android Tuner, CPU Spy, etc.
[Galaxy Tab 2 7" Android Development] saintextreme97:
ill take the screen shot as soon as im home haha im in school
[Galaxy Tab 2 7" Android Development] Dexxmor:
Great Ketut, if i make an upgrade of one ROM must i do the procedure to get two ROMs again?
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
http://xdaforums.com/showpost.php?p=27385922&postcount=7

FAQ #1-#3, #8-#13, #15, #17, #18, #20, #23, #25, applies here as well. Credits goes to [MENTION=289089]gokhanmoral[/MENTION] and [MENTION=4179740]droidphile[/MENTION] :good: There is no easy way to upgrade the 2nd ROM for now.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
No feedback yet? Who is the second?
[Galaxy Tab 2 7" Android Development] drsiddique5700:
personally i have little confusion about this line of tutorial "Over "adb shell", we will create ~470MB system.img for a secondary ROM:" i think others also in same condition as mine
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
How about "Over "adb shell" or Terminal Emulator, we will create ~470MB system.img for a secondary ROM:"?
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Two success story over PM :good:
[Galaxy Tab 2 7" Android Development] iroshan:
Going to try this tonight.need to backup All data...

Wish me luck. thanks a lot for your great work.
[Galaxy Tab 2 7" Android Development] ndr4:
Hi Ketut, any update beside the dualboot feature? Thank u.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
No, just update on the ramdisk side.
[Galaxy Tab 2 7" Android Development] iroshan:
OK. Success. Was able to boot in to second rom. Excellent work buddy. you are a treasure to us. :)

Now I will install a new rom on partition on. isnt it?
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
It's up to you but do not forget to reflash my NEXT kernel for dual boot support.
[Galaxy Tab 2 7" Android Development] iroshan:
Sorry to bother you, but can you explain a little.

1. I saw the partition was created using the system files on first ROM. (for me it was slimbean) Now to install a new ROM i have to go to recovery as usual and factory reset/ data/ cache wipe, and install. Am i correct?

2. How to install a new ROM to second partion directly?

Thanks.
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
http://xdaforums.com/showpost.php?p=41237009&postcount=110
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
Managed to flash the secondary ROM + format the secondary /cache directly over hacked version PhilZ recovery :D
[Galaxy Tab 2 7" Android Development] arunmcops:
Three actually. Working great. CM10.1 RC & AOSPA 3.10.
[Galaxy Tab 2 7" Android Development] iamashwin:
how to do it for the secondary system.img in extsd
[Galaxy Tab 2 7" Android Development] ketut.kumajaya:
You must follow my dual boot rule. It's partially based on gokhanmoral's dual boot standard. It's hard to satisfied everyone in different situation. A complex boot process must have a good concept and standard or it's break by easy. I prepare this project for a long time, please let me develop my own concept/standard and follow it if you like/agree with it. Of course you can always reuse my work to build your own standard and give me a proper credits. No, no, no.. For now I forbid anyone else reuse this still in development dual boot project for his/her own project on Galaxy Tab 2 family!