yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Mega] Silesh.Nair:
2 ways.

1. Flash the ROM back.

2. Pull out the boot.IMG from the ROM zip, replace it in grakernel zip and then flash.
[Samsung Galaxy Mega] tranphungan:
many thanks Sir,

I asked it because i found it so hot when i play Clash of Clan, and I also wonder why I can't adjust the the max CPU frequency to other value by Synapse, it not effected. and when i restart my phone, it run wrong time/date
[Samsung Galaxy Mega] Silesh.Nair:
Confirmed. Phone gets hot while charging too.
[Samsung Galaxy Mega] Droidphilev:
Hello,

As Silesh.Nair writes this should be the way to do it. Still... when i went from 1.4 to 1.5 on AOKP and it started bootlooping the only solution i had was restoring a whole nandroid. Flashing stock kernel or 1.4 wasn't helping anymore.

FYI: flashed Silesh.Nair Ose build today (nice rom Silesh.Nair!) and Grarak 1.5 > bootloop
[Samsung Galaxy Mega] Silesh.Nair:
Somehow it seems to like mokee.
[Samsung Galaxy Mega] Droidphilev:
Hi,

Strange things:

I'm on Silesh AOKP.

without Grarak: I create a folder on external SD called EDS. Folder can be deleted.

with Grarak 1.4: I create a folder on external SD called EDS. Folder cannot be deleted anymore. After reboot i open fileman again and the foldername has all kinds of weird characters at the end. After reboot folder can be deleted.

Any ideas?

grts
[Samsung Galaxy Mega] zcink:
It would be better to flash Garak's kernel from the root of your external sd card rather than from a folder you created on it.

(Or what I do is delete he boot.img from the rom .zip then add the boot.img extracted from GraKenel .zip......that way when you flash the rom it has Grakernel baked right in.)

To get rid of that folder if you cannot delete it, just move everything else on your card except that folder to a folder on your computer. Then format the card. Put everything back on the card and that folder will be gone.

By the way, he has released 1.5.

Works great on ResurrectionRemix.
[Samsung Galaxy Mega] Droidphilev:
Hi,

First of all: i know about 1.5 but that version refuses to work with AOKP and OSE (which i use). The way it is flashed is also not the problem. Please read again what i wrote. I'm not asking how to delete the folder. There are numerous ways to delete it. That's not the problem. I only wonder "why" it happens when Grarak is flashed.
[Samsung Galaxy Mega] zcink:
I was just trying to help.

It won't happen again.

No need for the attitude.
[Samsung Galaxy Mega] Droidphilev:
Hi,

WOW, i'm not trying to be rude! Sorry if you understood that way :( English is not my native language and i can imagine that sometimes my posts are understood wrongly.
[Samsung Galaxy Mega] zcink:
No problem
[Samsung Galaxy Mega] Droidphilev:
Hi,

Since you reported 1.5 works with RR i'm flashing it now. Hopefully it's not Xposed that's the problem with 1.5

---------- Post added at 08:10 PM ---------- Previous post was at 07:53 PM ----------

hi,

Hmm, ok... question to all the users that reported 1.5 working:

is anyone of you using xposed framework with 1.5?

I start thinking that 1.5 doesn't like Xposed
[Samsung Galaxy Mega] Silesh.Nair:
I never use Xposed, so can't comment. Try using the kernel on a fresh rom and see if it works. Then use xposed and see if you run into issues.
[Samsung Galaxy Mega] Droidphilev:
Hello,

I indeed planned that Silesh, so here's what i did:

-flashed rom

-flashed 4-16 Gapps minimal 4.4.2 by Banks

-flashed 4-16 calendar sync 4.4.2 by Banks

-flashed Grarak 1.5

Again no go. I can enter my pin but it doesn't go much further before a reboot :(
[Samsung Galaxy Mega] Silesh.Nair:
Your phone is possessed by Satan, lol!!!! I don't know what else could be the issue.
[Samsung Galaxy Mega] Droidphilev:
It seems so yes :)

Question though: are you using thesame date gapps and calendar sync? 4- 16?

and modem? can it e a problem?
[Samsung Galaxy Mega] Silesh.Nair:
I am using only gapps. Download others from play store.
[Samsung Galaxy Mega] Droidphilev:
Ok, so your calendar doesn't get synced, correct?

[MENTION=4443334]Grarak[/MENTION]: can this be a modem thing?
[Samsung Galaxy Mega] Droidphilev:
Hi,

Latest test:

I try to mimic the configuration of Silesh's device and did waht Zcink told before (internal memory).

-Philz Touch as recovery

-flash everything from internal memory

-Latest Resurrection

-Latest 4-16 Gapps 4.4.2 by Banks

-not flashed calendar sync since Silesh doensn't use it.

-Grarak 1.5

And again: no go. Reboot after a bit so i can only think:

-It's a modem issue (I use I9205XXUCNA5 latest UK modem AFAIK)

-My device is broken (hard to imagine since it works fine with stock kernels and even with 1.4)
[Samsung Galaxy Mega] :
How to set the CPU voltage controll ?
[Samsung Galaxy Mega] Grarak:
How about reading the OP?
[Samsung Galaxy Mega] chayjinn:
nothing to do with modem. tested with it before.
[Samsung Galaxy Mega] zcink:
Here is an app that seems to work well with Grarak's kernel.

Quite amazing what his thing can do.

You can tweak each app even system apps.

For the hard core root users:

https://play.google.com/store/apps/details?id=com.franco.perappmodes
[Samsung Galaxy Mega] Droidphilev:
Good tip, thanks!

Hopefully i can get the kernel working
[Samsung Galaxy Mega] Grarak:
Why don't you use Synapse?
[Samsung Galaxy Mega] Grarak:
Updated!

I've added back romswitcher (wifi should work now)

please only flash roms which are up to date!

And I also added tons of new things to Synapse

You can almost control everything now!
[Samsung Galaxy Mega] cstryon:
What scheduler and governor are you guys using/recommend? I'm currently using intellidemand and row.
[Samsung Galaxy Mega] Droidphilev:
Hi,

[MENTION=4443334]Grarak[/MENTION]: thanks for the update!

Still thesame for me.

-wiped eveything (system, data, cache...)

-flashed c-rom 05-12 build

-flashed gapps 05-10 build

-flashed Grarak 1.6

-flashed supersu

I was able to enter my pin. After that it started hanging and rebooted.

Still no one has an idea what i can do please? Dying to have multiboot :(
[Samsung Galaxy Mega] Grarak:
I am von c rom too

No problems at all
[Samsung Galaxy Mega] Droidphilev:
Can this be an old setting for synapse on internal sd or something?
[Samsung Galaxy Mega] Droidphilev:
Hi,

Next test:

-wiped eveything (system, data, cache...)

-wiped internal sd

-flashed c-rom 05-12 build

-flashed gapps 05-10 build

-flashed Grarak 1.6

-flashed supersu

-rebooted without external SD

Same problem. Somewhere after entering my pin it reboots

Last test:

-wiped eveything (system, data, cache...)

-wiped internal sd

-flashed c-rom 05-12 build

-flashed gapps 05-10 build

-flashed Grarak 1.6

-rebooted without external SD

Same problem. Somewhere after entering my pin it reboots

Only thing i can still think of is modem or something

Time to give up definatelly? :(
[Samsung Galaxy Mega] Mukiai:
zip size???

Before to flash v1.6 : the file size on the download address is 9.4, file downloading and download 8.95.??????????
[Samsung Galaxy Mega] Grarak:
Before flashing the kernel let your device boot up first

Because 9.4 is the file size not the download size
[Samsung Galaxy Mega] Droidphilev:
Hi,

Thanks for you answer Grarak!

Sadly enough the problem remains :(

flashed rom

flashed gapps

flashed supersu

booted and did all startup wizard things

flashed Grarak

it starts rebooting after a while. Longest time it worked was about 2 minutes. During that time i was able to receive Synapse update and flash your recovery. 5the update didn't help though. shortest time it works is about 10 seconds (already reboot at welcome screen)
[Samsung Galaxy Mega] Grarak:
After your device booted up, immediately open synapse and press apply
[Samsung Galaxy Mega] Droidphilev:
Started all over. Pressed apply from the moment i could. Infact: it crashed and rebooted from the moment i pressed apply.

(i think it's a severe crash. most of the times when something lets the phone reboot you don't have to enter pin again. After every reboot it asks for my pin.)
[Samsung Galaxy Mega] Mukiai:
Thanks for your answer. So i've tried to flash but... Same problems as [MENTION=803530]treare[/MENTION]. One more than him, when phone reboots the bootanimation has some changes of colors. phone very very hot. After if I have chance I can enter my pin then it stucks on wallpaper. No chance to run my Mega with any rom and any version of your kernel, and following differents kinds of flash I tried.

I'very even seen a black screen during so a long time that I was afraid to sell once more my Mega to Samsung.

Don't know what cause this. I used your kernel until 1.2 before go to Samsung, and I was happy. But now nothing, maybe due to Samsung put me last rom with Knox. I'm root and run near every custom, but no success with your kernel. Anyway thanks for your hard work. With yours and Silesh, Mega is really really good;)
[Samsung Galaxy Mega] Droidphilev:
Hi,

For me this problem started from 1.5 as far as i can remember. Still i don't believe it's a Knox thing. I use the first version bootloader so i have no Knox
[Samsung Galaxy Mega] Grarak:
Ok guys try this one

http://d-h.st/hYM

It's almost complete stock cm kernel, removed all optimizations.
[Samsung Galaxy Mega] Droidphilev:
Hello Grarak,

Unfortunatelly... :(

flashed c-rom, gapps, supersu, booted, wizard etc

flashed testkernel

reboot

after a minute or so spontanuous reboot :(

small off-topic question: i know that bluetooth is in rom and wifi is in kernel but has a kernel absolutely nothing to do with Bluetooth? I ask this for another problem i have.
[Samsung Galaxy Mega] Grarak:
Sure kernel has board files for bluetooth

could you get a kernel message before the phone reboots?
[Samsung Galaxy Mega] Droidphilev:
Hi,

Where should this message be? I don't know where to look
[Samsung Galaxy Mega] Grarak:
use adb

adb shell cat /proc/kmsg > kmsg.txt
[Samsung Galaxy Mega] Droidphilev:
Hi,

I will have to learn how to use adb first. Whenn exactly do i need to type this? (i'm sorry, never done this)

EDIT: flashing now. 10 mins please
[Samsung Galaxy Mega] Droidphilev:
attached!

it was generating this untill it rebooted
[Samsung Galaxy Mega] Grarak:
Looks like something is spamming the sys interface

Please do a clean install again and deny synapse superuser access
[Samsung Galaxy Mega] Droidphilev:
i will but please mind that synapse wasn't asking for superuser yet!

---------- Post added at 07:12 PM ---------- Previous post was at 06:57 PM ----------

hi, i cant get even further than bootscreen now. i think the file that i attached before is the best i can do :(

---------- Post added at 07:20 PM ---------- Previous post was at 07:12 PM ----------

hi another one

no supersu was given. it rebooted before (didnt flas supersu now and also disabled pincode)
[Samsung Galaxy Mega] Mukiai:
So for me after so many other tries with kernel test and also with AICP rom. I stop here for a while. M'y phone didn't want accept your work:crying:. Hope another day or anotherversion; -). Thanks again.
[Samsung Galaxy Mega] Traine:
I just flashed the latest kernel on Resurrection Remix and....can I ask where is the multiboot option....in really a noob at kernels
[Samsung Galaxy Mega] Droidphilev:
Hi,

On last tab in Synapse you can flash Grarak recovery :)
[Samsung Galaxy Mega] Droidphilev:
Maybe you can try to generate such file also in the hope that Grarak can fix it. I don't know if my files were helpfull :(
[Samsung Galaxy Mega] Grarak:
Can you perform a full wipe?

system, data, cache and also sdcard
[Samsung Galaxy Mega] Droidphilev:
And then thsame command? Will try in the afternoon. Already found something Grarak? Or nothng at all?
[Samsung Galaxy Mega] Mukiai:
Hummmm. It's not I don't want to help, but I've fully renter all my apps and datas. I need my phone for about 10days fully working without interruption. Maybe retry after that. For my experience, at the beginning I've tried one a rom used from some days without wipe. But after I've fully format data sdcard system cache, even try with dalvick, different recoveries (silesh's cwm, philztouch ), by install from internal sd as from microsd (at the root from one and the other). And that for every tries. I've tried both while installing rom and after a reboot, before and after enter my datas.
[Samsung Galaxy Mega] Droidphilev:
Hi,

Well... i hope you believe me but it reboots before it makes connection to pc :(

I wiped everything including internal data partition. but then again it cannot be fully empty as i need to start the rom first to enable usb debugging AFAIK. after that i flashed the test kernel but it doesn't go further than a small part of the welcome screen

---------- Post added at 02:33 PM ---------- Previous post was at 02:21 PM ----------

EDIT:Tried with AICP since that rom has debugging enbabled per default. Same trouble, it reboots too fast. I'm so sorry. Hopefully you still find a fix :(
[Samsung Galaxy Mega] zcink:
New kernel (1.6) working really great on Lego rom.

Wifi seems to be fixed.
[Samsung Galaxy Mega] Droidphilev:
Hi,

I really really wonder why it works for some and not works for some. A friend of mine works for Samsung (TV software) and he told me that many many different brands of hardware can be used in the same device. Could this be the cause?
[Samsung Galaxy Mega] Silesh.Nair:
I had no problems booting with mokee either. But the synapse app pointed out a couple of errors. I don't know what it means though.
[Samsung Galaxy Mega] Traine:
No problems here on RR
[Samsung Galaxy Mega] Grarak:
That mean the file is not readable
[Samsung Galaxy Mega] Grarak:
Can you tell me all details of your phone?

Bootloader, baseband, rom...etc.

I want to get the same conditions as you
[Samsung Galaxy Mega] Droidphilev:
Hi,

Ok, i hope this is correct:

-Bootloader: I9205XXUAMEA

-c-rom 05-12 build

-minimal gapps by banks 05-10 build (theres a new build today 05-10 cannot be downloaded anymore i think

-baseband: I9205XXUCNA2

-build.board: MSM8960

-build.cpu_abi: armeabi-v7a

-build.cpu_abi2: armeabi

-device: meliusltexx

-hardware: qcom
[Samsung Galaxy Mega] zcink:
I think you nailed it with this new kernel.

My device has never run better.

This thing is flying. Very fast.
[Samsung Galaxy Mega] Droidphilev:
Now hoping that our friend can fix it for everyone
[Samsung Galaxy Mega] _BA:
Great kernel. What do you set as max frequency? Do use use the full 2.1 Ghz? Not afraid of damaging the cpu?
[Samsung Galaxy Mega] Traine:
Any chance of adding smartassv2 governor?
[Samsung Galaxy Mega] Grarak:
The kernel won't scale to 2.1 GHz if the phone isn't heavy loaded

No
[Samsung Galaxy Mega] Droidphilev:
Did i give enough info yesterday Grarak? If you need anything else...
[Samsung Galaxy Mega] Grarak:
One last try

http://d-h.st/SNz

I reverted all changes from 1.5
[Samsung Galaxy Mega] Droidphilev:
making nandroid. will (dirty) flash is 5 mins. FYI: i had this problem with 1.5 also. 1.4 worked for me.

EDIT: same problem :(

I think the problem is somewhere in changes between 1.4 and current version

---------- Post added at 09:24 PM ---------- Previous post was at 09:13 PM ----------

EDIT2: flashed 1.4. phone works normally on exact thesame rom

so one of these must be something:

-add Intelli-Thermal

-add 2.1 GHz step (although i dont think its this. the phone ran faster than 2.1 in the past)

-intelliactive: add upstream patches
[Samsung Galaxy Mega] Grarak:
http://d-h.st/Gt5

if this still doesn't work, then I don't know
[Samsung Galaxy Mega] Droidphilev:
This one hangs also :(

What version is this? Normal 1.4? If i look at change in 1.5, can't it be one of these?

-add Intelli-Thermal

-intelliactive: add upstream patches
[Samsung Galaxy Mega] Grarak:
Updated to 1.7
[Samsung Galaxy Mega] _BA:
What are your undervolting results? Here are mine. Undervoltet step by step and tested with Stability Test till it freezed. Then i set an extra 50mV for safety:
[Samsung Galaxy Mega] cstryon:
Are those screen shots your current voltage? Any problems so far? Any noticeable battery life improvement?

I used trickster and lowered everything by (75000 what ever units it is), since I wasn't sure how much to lower each one. I have been stable. I heavily use my phone so I'm not quite sure I've improved battery life, but as soon as I started using Garak's kernel, I immediately went set min and Max to the limit and undervolted, so I guess I don't have a baseline. Didn't know about stability tests. I'm going to start experimenting now! Does anyone know of an easier way to test battery life short of just using the phone till it needs to charge, than recharge and try again with it undervolted?

Back in my Droid 2 days, I used QuickClock to test min voltage, but it doesn't seem to work on my Mega.

One more question, I asked earlier, but people had more important problems with the kernel update so I don't know if anyone noticed, no biggy, I'm loving the support here. What scheduler and governor are you guys using, and why? I'm currently using row and Intellidemand... But I'm not sure if I'm gaining by it.

Sorry for the long post. Thank you Garak for the kernel! Been loyally flashing every update and loving the options and chance to tinker!
[Samsung Galaxy Mega] _BA:
Yes. No problems so far. I think the improvement is not very noticable.

I use bfq and interactive with min sample time set to 5000 for saving battery.
[Samsung Galaxy Mega] Grarak:
Updated to 1.8
[Samsung Galaxy Mega] Droidphilev:
Hi,

Thanks to Grarak 1.8 is finally working (step 2.1 removed)! Today i tried dualboot so i flashed Grarak recovery and tried flashing to second rom. This fails. Any one else having this problem?
[Samsung Galaxy Mega] Mukiai:
grakernel v1.8

[MENTION=803530]treare[/MENTION] PM suggested me to try v1.8 as it works for him and my problem are similar to him. So even if I prefered to wait some days, I decided to try.... and you know what????? It works for me too. Thanks [MENTION=803530]treare[/MENTION] and thanks [MENTION=4443334]Grarak[/MENTION]. I can perform my Mega once again ahahahah.

I just had to change SuperUser (install from AICP ) to SuperSu for all apps to work again.
[Samsung Galaxy Mega] Droidphilev:
Good :)

Also... Grarak helped me out with dualboot. Flash second rom from internal sd. All working fine now!!!!
[Samsung Galaxy Mega] Grarak:
Updated to 1.9
[Samsung Galaxy Mega] kipue:
Not so good news after a few hours running.

My phone was on charge via USB, and just now I noticed it got super hot, and that the battery charge was actually going down, very steeply.

Flashed back to Slim default kernel, let's see
[Samsung Galaxy Mega] shayneflashindaily:
Was it cause you tried voltage settings or were you just running kernel as is ?
[Samsung Galaxy Mega] kipue:
as is.

i installed faux control, but haven t touched anything for testing purposes
[Samsung Galaxy Mega] dynomist:
this is great... tqvm

btw regard the broken device...

i think u can still use otg cable + usb hub + keyboard + mouse~

this might provide you temporary navigation ability

---

actually im playing around with AK kernel guide, but unfortunately wasnt able to get all the flags working

expecially cortex-a15 :(

# AK LINARO OPT
CFLAGS_A15 = -march=armv7-a -mtune=cortex-a15 -mfpu=neon -funsafe-math-optimizations
CFLAGS_MODULO = -fmodulo-sched -fmodulo-sched-allow-regmoves
KERNEL_MODS = $(CFLAGS_A15) $(CFLAGS_MODULO)

KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration \
-Wno-format-security \
-fno-delete-null-pointer-checks \
-ftree-vectorize \
-mno-unaligned-access \
-Wno-sizeof-pointer-memaccess \
$(KERNEL_MODS)
ps: -O3 optimization
[Samsung Galaxy Mega] i04055:
Maybe you can use mouse with usb otg as a touchscreen replacement to check the functionality...
[Samsung Galaxy Mega] celeronix:
Hi, guys.

I still wonder why nobody implements track/song change with volume buttons function in his kernel? If I would have been making custom kernels, that would be one of the very first things that i would deal with.

Am I the only one who finds this useful or I'm the only one who listens to music from his Mega :D
[Samsung Galaxy Mega] Grarak:
I think I know what's the problem with root

The kernel uses paranoid ramdisk

Gonna change to cm

And I don't have an otg cable
[Samsung Galaxy Mega] gattaga:
[MENTION=4443334]Grarak[/MENTION] can you loom into addind the double tap to wake gesture. I read everywhere that if you want a clran implementation without wakelocks, it has to be built into the kernel..
[Samsung Galaxy Mega] Grarak:
Maybe you could make a benchmark?

Try to change the governor to interactive

Gimme a link to the kernel which has this featurr

This is heavy without working touchscreen
[Samsung Galaxy Mega] celeronix:
I can give you a link, but it wont be a kernel for Mega. It'll be for S3 for instance.

Nevertheless I think the code should be the same.

---------- Post added at 02:10 PM ---------- Previous post was at 01:54 PM ----------

May be I'm wrong that this is a kernel feature, cause I found the code, which is implemented in the ROM itself. If you're interested to see what I'm talking about, here is the link : http://xdaforums.com/attachment.php?attachmentid=1218295&d=1343113105

And the thread http://xdaforums.com/showthread.php?t=1770564
[Samsung Galaxy Mega] Grarak:
That's not a kernel
[Samsung Galaxy Mega] Silesh.Nair:
Its part of the ROM if this is what you are looking for.
[Samsung Galaxy Mega] celeronix:
Yeah, I figured that out later after my post :D Forgive me
[Samsung Galaxy Mega] Grarak:
try these optimizations

https://github.com/faux123/jflte_xxx/commit/b8734326df690aa1d514ab2c6cbb49d3e0350234
[Samsung Galaxy Mega] dynomist:
WoW!!!

I didn't know this is so simple, another problem solved.

Tq...

Sent from Windows 98
[Samsung Galaxy Mega] Grarak:
Here another one

https://github.com/Grarak/grakernel-msm8930/commit/325e0a5e5dcb0134d3586b6d02af48719f1c698c
[Samsung Galaxy Mega] Grarak:
Update to 0.3 GraKernel

Look to change log for more details
[Samsung Galaxy Mega] shayneflashindaily:
I have it set on profiles with setcpu and running great overclocked while screen on. I haven't had a problem with it over heating like said before by another user but I will keep a close eye on it.

---------- Post added at 09:19 PM ---------- Previous post was at 08:41 PM ----------

What's a tempature To start to worry about anyways ?anyone know
[Samsung Galaxy Mega] Grarak:
60 celcius according to kernel

The phone will automatically shutdown itself when the temp goes higher
[Samsung Galaxy Mega] shayneflashindaily:
Thanx for the info Grarak
[Samsung Galaxy Mega] Droidphilev:
Hi,

Thanks for 1.9. All working fine.

Some questions about charging voltage. (i used fast charge before)

-when the slider is completely left 'default' is used?

-for fast charge over usb: wich is a save setting and which usb slider should i use? there are 4 of them?
[Samsung Galaxy Mega] Grarak:
USB is USB charger
[Samsung Galaxy Mega] Droidphilev:
Hi, ok thanks.

It seems that "completely left" isn't default. It's on AC now and using it discharges faster than ac charges it seems

---------- Post added at 09:51 AM ---------- Previous post was at 09:25 AM ----------

Hi,

It's nearly unbelievable. All i did was setting up charging (main and usb) in 1.9. Had to reboot after a while the change somethign in rom setting (it was charging). It started rebooting again. Back to 1.8 it lost some settings (default launcher and some account settings in a chat client) and started rebooting also. Rom is very clean (was set up few days ago)