yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] Christopher83:
K^Kernel 3.4.94 v2.4 for KitKat ION+PMEM ADSP

Hi guys,

I released the new v2.4 builds of the kernel:

- Kernel 3.4.94
- Built with my latest custom Linaro 4.9.1-2014.06 toolchain optimized for Cortex-A8
- msm: rpc: add shutdown and restart handler for rpc (credits to Angshuman Sarkar)
- msm: rpc: add shutdown and restart handler for rpc (credits to Arun Kumar Neelakantam)
- msm: restart_7k: Disable local IRQ interrupt (credits to Tirupathi Reddy)
- msm7x30: Disable unsupported features (credits to Blefish)
- misc: pmem: Add support for CMA (credits to Blefish)
- msm7x30: Use CMA for PMEM ADSP (credits to Christopher83 and Blefish)
- New memory configurations with 398MB, 406MB or 416MB of free RAM and
everything working, including camera, camcorder and video playback (credits to Christopher83)

Note:

Now the memory heap PMEM ADSP (the one used by camera and camcorder) is dinamically allocated through CMA, so the previously reserved memory of 18MB is now freely usable when the camera or camcorder are not used.

The new memory configurations have everything working, including camera, camcorder (both 480p and 720p recording) and video playback

Thanks to [MENTION=4223446]Blefish[/MENTION] for his work!
[Galaxy S Plus I9001 Android Development] smitharro:
Just installed this kernel. All seems fine! 720p video recording working with 416 mb!!! Thank you so much!
[Galaxy S Plus I9001 Android Development] ahmed dzico:
Christopher " Man from another world " , fantastic work
[Galaxy S Plus I9001 Android Development] plumbix:
I just changed to 10.2 because I was unhappy with the performances. I thought that is the best option for i9001.

Can please someone tell me if there is such a great leap in performance with CM11R8?
[Galaxy S Plus I9001 Android Development] Christopher83:
CM 10.2 is a pain in terms of performance, install latest recovery TWRP 2.7.1, backup your system and give a try to the new CM 11.0 R8 and the latest kernel. If you're not satisfied, and I doubt it, you may always restore the backup you previously made...
[Galaxy S Plus I9001 Android Development] emyoo:
Sudden reboot with taking pictures!

Hello, sadly to say that I'm getting sudden reboots when taking a picture: I take it, and when the Phone is trying to save it bam! reboot and doesn't finish boot anymore! had to forcely Shut Down phone by long pressing Power button...:(

Anyonelse can confirm this!? maybe it's only my phone :D...
[Galaxy S Plus I9001 Android Development] kazuna69:
nope, everything fine here, :silly:

battery life is awesomely crazy, thank you so much, christ!~ :victory:
[Galaxy S Plus I9001 Android Development] emyoo:
Do you use UV or exUV of the 416MB version? I'm surprised to say that recording 720p works :)...

L.E.

After playing a bit with camera in all modes:video, panorama, photo, FRONT and BACK camera the back camera started to work : NO MORE REBOOT's .

I can't explain how it has recovered but it's OK now ... I'm not trying to elucidate this :D ... I'am an prof IT guy and I know how's with this kind of situations :D

Thanks Chris for the latest version of the kernel..

:)

L.L.E False Alarm :(
[Galaxy S Plus I9001 Android Development] kazuna69:
I used the UV versions, seems everything so smooooooooth :silly:

tried using line camera and whatsapp camera, both works too ;)
[Galaxy S Plus I9001 Android Development] BigAznJimmy:
I can confirm this bug, it never happened before but since updating to the new K^Kernel which allows the user 416MB of RAM, my phone reboots immediately while taking a picture. The horrific thing is that it doesn't boot up and stucks at bootanimation.

It seems like that not everyone does experience that however

Edit: Take around 5-10 pictures and u will get this problem either
[Galaxy S Plus I9001 Android Development] ktulu84:
just took 20 photos without problems
[Galaxy S Plus I9001 Android Development] BigAznJimmy:
well, at least someone else reported it too. I'm not the only one. You guys are doing a great work but it seems like that something is not working properly in this new version of K^Kernel.
[Galaxy S Plus I9001 Android Development] ktulu84:
yes, but if the only information we have is "take 5-10 photos and you will have reboot" and it doesn't happen... how we can know what's going on? you already know that we need last_kmsg if it is there after reboot
[Galaxy S Plus I9001 Android Development] ahmed dzico:
camera

camera movement sometimes slow sometimes normal this happen to me since K^Kernel v2.1 i dont know why ??
[Galaxy S Plus I9001 Android Development] TAVYX:
For me it reboots after 1-2 pictures or some time after 5 pictures. Reboot it's random.
[Galaxy S Plus I9001 Android Development] Christopher83:
Hi Jimmy,

please post here the last_kmsg after the reboot.

As you can see above, emyoo has a temporary problem, probably caused by something wrong in his device configuration or camera data...

Since, there're no other users that are facing this issue and I can take several photo without any reboot/freeze, also tell me which is your configuration (rom, kernel version) and if you have particular apps installed.

Thanks.
[Galaxy S Plus I9001 Android Development] okidokiss:
Well, first time for me today. Just after taking a picture the phone rebooted but didn't compelted the reboot. Had to power off and on to recover.

I've tried now once more, but now is working without any problems.

Don't know if it's just one time or not.
[Galaxy S Plus I9001 Android Development] ktulu84:
yes, but we need logs
[Galaxy S Plus I9001 Android Development] Hugo-PT:
I tried taking pictures (2) and also the same thing happened. At this time I got the phone in this state. This message is constantly displayed. :( Not created the file last-kmsg. But I used syslog to see could get some useful information for the devs.

Thanks in advance.

Hugo
[Galaxy S Plus I9001 Android Development] ahmed dzico:
No one reply on my question ??
[Galaxy S Plus I9001 Android Development] TAVYX:
Ok then. How can I help you? How to make these logs?
[Galaxy S Plus I9001 Android Development] dm82david:
I can confirm it happened to me too; when I saw this post I tried to take some pictures (with stock camera app) and after some (less than 10, didn't count), phone restarted and freeze. After reboot from button I went in /proc but no last_kmsg file there.

I was trying to take a picture with other camera software and on first picture phone reboot (camera fv 5).

Both software camera had saving location to external sd

My configuration CM11 R8 K^kernel UV 406 v2.4.

Next I flashed EXUV 398 v2.4 and after 10+ pictures (with stock camera app) phone reboot too.

Now I reverted to EXUV 398 v2.3 and took 20+ pictures with no more restart.

In each restart case there was no log...

Hope it helps, and sorry for my poor english,

David M.
[Galaxy S Plus I9001 Android Development] ktulu84:
you have to search in /proc if there is last_kmsg, if not just go in terminal emulator and type

dmesg > /sdcard/dmesgsoftreboot

and give us the file
[Galaxy S Plus I9001 Android Development] dm82david:
I put back k^kernel 2.4 exuv 406 to make log. This time reboot was after 3 pictures, but just before take picture that caused reboot got an error that google (search i think) was closed.

[Forgot to mention that this time phone was not stuck on reboot screen like other times]

Here is the log:

David M.
[Galaxy S Plus I9001 Android Development] DreamerTKM:
Attached the successfully obtained logcat and last_kmsg for the reboot issue after taking 3 pictures

Other than that, it seems that I lost the Play Services, GSF, Google Now, Governor & Scheduler, developer settings and superuser setting after the error as once the phone rebooted it ask to collect anonymous data, google location setting and all root app need to request for superuser permission again. Something went wrong to Play Service too...now GCM is broken :(
[Galaxy S Plus I9001 Android Development] mertee:
vdd interface?

Hey,

does anybody know especially Christpher83 whether the vdd interface is working or not? Im using 3.4.91 exuv right know and its not working...?!
[Galaxy S Plus I9001 Android Development] emyoo:
Told ya guys ;) sorry Chrys you know we all appreciate your work and I really dont want to say this :( but v2.4 made me to restore my R8KK2.3 combo because I suddenly loose all my perso config contacts in phone memo ... Phone got into first Cyano Setup like another user said before... I m patiently waiting to try v2.5 . for the moment I will survey with 398 v2.3 exUV ;) Thanks mate for everything you do ! Good luck in solving this one out!
[Galaxy S Plus I9001 Android Development] BigAznJimmy:
I'll upload a log file when I'm on my pc. Tapatalk doesnt let me upload a textfile.

I'm using 416MB exUV with smartassV2 and SIO.
[Galaxy S Plus I9001 Android Development] Hirishiolo:
same bug for me, I get a reboot after 3-6 photos...
[Galaxy S Plus I9001 Android Development] DreamerTKM:
Hi Hirishiolo, can you try to take photo slower?

Sequence is like...

take photo > wait for the captured photo animation rise to the top right > delay for 1-2 seconds > take photo again

I feel like the reboot problem is we capture too fast and cause something wrong to the memory as yesterday night I'm able to take more than 15 photos using this method.

Thanks
[Galaxy S Plus I9001 Android Development] BigAznJimmy:
it happens to me mostly by taking the first one. the camera focus seems to work slower.
[Galaxy S Plus I9001 Android Development] Hirishiolo:
I tried this way and I got a reboot after 9 photos...
[Galaxy S Plus I9001 Android Development] Lk86:
I have this bug too,and a strange "little buzzy noise" from the camera when taking a photo.(hardware fault or what? :eek: )

Reverted to 2.3 398Mb waiting for a new one :).

Keep up the good work.
[Galaxy S Plus I9001 Android Development] Ahasvero:
I also tried, but I got a bootloop after 4 photos and I had to remove the battery to restart the phone:(
[Galaxy S Plus I9001 Android Development] Lk86:
It's never a good choice to remove battery when phone is on,keep pressed power button until it restarts.
[Galaxy S Plus I9001 Android Development] alireza7991:
Christopher could you work on "kexec" functionality ? It would be great if we have a kernel with kexec enabled.
[Galaxy S Plus I9001 Android Development] MajorD.:
Why do you need that ?
[Galaxy S Plus I9001 Android Development] Christopher83:
K^Kernel 3.4 v2.4 - Camera Issues

Hi guys,

I'm sorry for the problems you faced with the camera.

I'm investigating on this issue, but it could take a bit of time...

If you need to use the camera a lot, in particular, if you have to take multiple consecutive photos in a single session, please switch back to v2.3 kernel.

Thanks.
[Galaxy S Plus I9001 Android Development] DreamerTKM:
Sorry is unnecessary Christopher... We still can live with v2.3 as not much changes from v2.3 to v2.4.

Looking forward for your comeback though. Take your time :D
[Galaxy S Plus I9001 Android Development] alireza7991:
when we have kexec , i will show you what we can do with it.
[Galaxy S Plus I9001 Android Development] ktulu84:
it can be used for multi-boot. kexec let you boot another kernel, so you don't need to flash it everytime (like the dual boot app and kernels from [MENTION=4922835]educk[/MENTION] and [MENTION=4674443]h0rn3t[/MENTION])
[Galaxy S Plus I9001 Android Development] smeroni68:
... uhm... this is not a nice way to answer... if you know the answer, why not giving it as ktulu has done?
[Galaxy S Plus I9001 Android Development] alireza7991:
Cause explaining kexec specifications and usage is off from this topic .

Ktulu 's answer is only a usage of kexec.
[Galaxy S Plus I9001 Android Development] ktulu84:
you know that (if possible) like almost all the android devices to use kexec we may need the hardboot patch? i can't think any other useful usage on a phone for a kernel that need a reboot to be booted, than a multi boot environment
[Galaxy S Plus I9001 Android Development] alireza7991:
Kexec makes a good infrastructure for doing boot related stuff on devices which has closed source bootloader. For example , you can write second bootloader, you can boot kernels which are not supported by the current bootloader , you can implement new boot structures , you can test roms without installing them on the phone , ....

There were only few ones of kexec usages.
[Galaxy S Plus I9001 Android Development] smeroni68:
That is a good answer!... but what you wanna do with our outdated 9001? I think just experiments!

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S Plus I9001 Android Development] alireza7991:
Till i buy a new phone I have to work on this phone although it's outdated.
[Galaxy S Plus I9001 Android Development] anoopgkris:
I had that problem twice. Phone rebooted after turning on camera and moving it. I somehow have the feeling that it's connected with the accelerometer. If the camera was steady nothing happened but after i moved it or rotated it i saw Cid.

But happened only twice, different days.
[Galaxy S Plus I9001 Android Development] Audi22:
This Bug is already reported, The team works on it. When you would like to use the camera go back to 2.3. I had the same problem and I went back to 2.3 and everything is working fine.
[Galaxy S Plus I9001 Android Development] smitharro:
Please don't ask the same question in 2 threads. Since the question is kernel related you should only post it here, not in the rom-thread. And no, I didn't experience this. But the mentioned kernel has problems. Downgrade to 2.3 or wait for a new kernel.
[Galaxy S Plus I9001 Android Development] ahmed dzico:
Is there new news about new kernel ( 416 ) ???
[Galaxy S Plus I9001 Android Development] ktulu84:
yes, Chris had a lot of work to do, but we are testing the new version and all seems fine, stay tuned
[Galaxy S Plus I9001 Android Development] Christopher83:
K^Kernel 3.4 v2.5 for KitKat ION+PMEM ADSP

Hi guys,

I released the new v2.5 builds of the kernel.

Changelog:

- Kernel 3.4.96
- Built with my latest custom Linaro 4.9.1-2014.06 toolchain optimized for Cortex-A8
- block: bfq: Squashed update from BFQ-v7r4 to BFQ-v7r5 (credits to arco68)
- misc: pmem: Support for dynamic allocation through CMA (credits to Christopher83)
- msm7x30: Simplify the code for hybrid memory allocations on board side (credits to Christopher83)
- msm7x30: Allow to optionally enable the use of CMA for ION MM and PMEM ADSP heaps (credits to Christopher83)
- msm7x30: Use CMA for PMEM ADSP (credits to Christopher83)
- msm7x30: Update defconfigs (credits to Christopher83)
- msm7x30: Use a higher memory allocation if CMA is used for ION MM heap (credits to Christopher83)

NOTE:

The kernel includes a reworked implementation of dynamic allocation through CMA for PMEM driver, to solve the faced issues when using camera/camcorder (reboots, freezes) and it also includes a fix to allow the playback of some HD videos and the re-encoding of a long video before sending it with an app (like WhatsApp).

Please still keep KSM deactivated (option inside Settings -> Performance -> Memory Management).
[Galaxy S Plus I9001 Android Development] Rhonin86:
Big thanks

As formerly already mentioned - You are a magican - :good: :highfive:

THANK YOU for all your efforts

With deep appreciation

Rhonin
[Galaxy S Plus I9001 Android Development] emyoo:
a BIG Thanks for Chris for this working and the snappiest Camera from all builds! Really big improvement :)
[Galaxy S Plus I9001 Android Development] ahmed dzico:
If you have nexus 5 [MENTION=5824851]Chris Y[/MENTION]ou will be the best developer for this phone [emoji6]
[Galaxy S Plus I9001 Android Development] JohnKersten:
Take the Sony Xperia Z2 Chris.

We won't regret if you take this phone :)
[Galaxy S Plus I9001 Android Development] Hugo-PT:
I make from the words of Rhonin86, as mine too! :)

Tons of thanks, [MENTION=4825437]Christopher83[/MENTION]
[Galaxy S Plus I9001 Android Development] emyoo:
[MENTION=5410699]ahmed dzico[/MENTION] & [MENTION=5127484]JohnKersten[/MENTION] : Guys you want to steal our dev'!?
[Galaxy S Plus I9001 Android Development] JohnKersten:
No. Just kidding.

I gave mine S plus to my brother, but I still follow the development of the several versions.

I still keep the phone updated, but not so frequently as before.
[Galaxy S Plus I9001 Android Development] NatsuPower:
Thanks version 2,5 works prefect :D
[Galaxy S Plus I9001 Android Development] darkrange:
TO S+ MENTOR Christopher83

Tons of thanks, you are the best developer, and I'm really thankful that our phones have such a developer and mentor and as Rhonin86 said a magican like you, Chris

:victory::highfive::victory:

Everything works perfectly, thanks to Christopher
[Galaxy S Plus I9001 Android Development] Lk86:
Thank you Chris,keep up the good work.Not enough thanks button to click.Really.

Little question: If I want to try the exUV kernel over the UV version and then revert to UV , what do I have to do to be safe? Wipe anything / Just install without anything ?

Thanks in advance!
[Galaxy S Plus I9001 Android Development] smeroni68:
Just flash and reboot...

Inviato dal mio GT-I9505 utilizzando Tapatalk
[Galaxy S Plus I9001 Android Development] OverClockeD_GR:
hello.. im using ADC CM11 rom r8-r9 doesnt matter when i use kkernel 2.4 and 2.5 and i leave my phone on the desk for long time without using it i find it shutdown after a while.. on kkernel 2.3 this dont happens. happened a lot on 2.4 when i close wifi and leave my phone to go sleep , i find it closed when i wake up. but just now i found it closed again and i had 2.5 kernel and wifi open.any idea what it could be? im using 416 oc/exuv like always. I added last_kmsg file to check :)
[Galaxy S Plus I9001 Android Development] BigAznJimmy:
you can only see the internal and external storage of ur smartphone through the pc, the proc folder isnt located there. you need a file manager with root to enter upper folders.

and simply update to R9 and flash the newest kernel. it's not useful to report a bug from an older rom.
[Galaxy S Plus I9001 Android Development] OverClockeD_GR:
im on r9 with kk 2.5 already i told it... still have same problem.. this never happened before with other kernels. only with 2.4 /2.5
[Galaxy S Plus I9001 Android Development] MajorD.:
Did you tried to use the normal UV Kernel ? Should fix it.
[Galaxy S Plus I9001 Android Development] OverClockeD_GR:
i will try now the normal.. but the thing is that i never had problem with exuv before.. even 2.3 exuv works fine
[Galaxy S Plus I9001 Android Development] Christopher83:
There are no kernel panics inside your last_kmsg, but I'll check if there's something new that could cause such issues, even if you're the first one reporting this...
[Galaxy S Plus I9001 Android Development] OverClockeD_GR:
hmm ok.. thnx alot.. i just told it cause first time ever i have big problem and this happened after using 2.4 /2.5 kernels.. i lose my alarm clocks cause phone is shutdown when i use these kernels.. now i will try normal oc/uv 416 version to see if this helps. (i just gave you the file after i boot phone) most times i saw it happened when i closed wifi and left the phone to desk.. maybe somethig with deep sleep shutdowns the phone dunno..
[Galaxy S Plus I9001 Android Development] galen2:
i had a reboot with 2.5 406mb yesterday, i never had one before, normal version, i never flashed exuv version.

If happens again i will take log, just cheking how to do it.
[Galaxy S Plus I9001 Android Development] Scalibq:
With the 406 and 416 MB kernels, the Camera app stops working after a while. If you reboot the phone, it will work, but after a few hours or so, it will force-close when you try to open it. I could still use other camera-based apps, such as PhonoPaper though. So it doesn't seem like the whole camera crashed. Just the stock Camera app.

I switched to the 398 MB kernel today, and it does not have the problem yet, Camera app still works. I'll continue checking every now and then, and if it stops working, I'll give an update.

Edit: it stopped working with the 398 MB kernel as well now, so the same problem appears in all kernels.

I'll switch to stock kernel now, but I doubt it makes a difference.
[Galaxy S Plus I9001 Android Development] educk:
Do you have KSM enabled ? If so, please read the thread and disable it, otherwise, provide some dmesg's while opening the camera so the Dev can see what's going on. :)
[Galaxy S Plus I9001 Android Development] Scalibq:
Ah, I thought I had that turned off, but apparently it was on when I checked.

I've turned it off now and switched back to the 416 MB kernel, let's see how it goes.
[Galaxy S Plus I9001 Android Development] Christopher83:
K^Kernel 3.4.98 v2.6 for KK 4.4 ION+PMEM ADSP

Hi guys,

I released the new v2.6 builds of the kernel.

Changelog:

- Kernel 3.4.98
- Built with my latest custom Linaro 4.9.1-2014.06 toolchain optimized for Cortex-A8
- misc: pmem: Retry again a few times if DMA allocation fails (credits to Christopher83)
- defconfig: Disable KSM (credits to arco68)
- Revert "msm: mdp: Update sync pt. behaviour" (credits to arco68)
- cpufreq: Persist cpufreq time in state data across hotplug (credits to Ruchi Kandoi)
- prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID (credits to Ruchi Kandoi)
- net: wireless: Increase scan entry expiration to fit new scan time (credits to Dmitry Shmidt)
- DMA: PL330: Fix racy mutex unlock (credits to Javi Merino)
- cpufreq: fix sleeping in atomic context when realloc freq_table for all_time_in_state (credits to Minsung Kim)
- s3c2410_wdt: Add locking to cpu frequency transition notifier (credits to Mark Salyzyn)
- net: core: Support UID-based routing. (credits to Lorenzo Colitti)
- Handle 'sk' being NULL in UID-based routing. (credits to Sreeram Ramachandran)
- rtc: alarm: Squashed revert of power-on alarm feature and related commits (credits to Christopher83)
- binder: search for receiving context pid in global namespace (credits to Ricardo Mendoza)
- staging: binder: add vm_fault handler (credits to Vinayak Menon)
- Staging: android: binder: More offset validation. (credits to Arve Hjønnevåg)

NOTE:

The new kernel cannot be used with old rom builds, it's ready to be used with latest ADC Team CM 11.0 Release 10 and the next rom builds which include the latest changes.

This is due to the removal of the use of the retire fence from MDP driver with changes both on kernel and rom sides.
[Galaxy S Plus I9001 Android Development] Hugo-PT:
And the trophy goes to: [MENTION=4825437]Christopher83[/MENTION]. :D

Many thanks for this new version, and all your work and dedication. :highfive:

All the best,

Hugo
[Galaxy S Plus I9001 Android Development] Scalibq:
No, KSM is now disabled, and I still have the same problem after a while. But I see kernel v2.6 is out now, so I'll just try that and see.

Edit: Been running for 2 days with Release 10 and kernel v2.6 now (still 416 MB version), and whatever the problem was, it is no longer there, it seems. Camera still works fine.
[Galaxy S Plus I9001 Android Development] darkrange:
New for New Olds for Olds

Wow now it's just like we are on a new era, thanks Christopher for all great jobs and for all perfections you did so far, I've never thought that my old phone get a new life by KitKat Rom and if it gets it could not be perfect, but now I believe that it's possible with you the great devs.

You and arco and others did great so far and the new kernel and new release is just perfect, thanks so much.

God bless you Christopher.:highfive:
[Galaxy S Plus I9001 Android Development] smitharro:
I'm (kind off) old (50) but I've got this young, new and perfect kernel on our latest and also perfect release 10!
[Galaxy S Plus I9001 Android Development] reteshgp:
Can someone help with another link to download the kernel mediafire download not working properly for me keeps downloading empty zips
[Galaxy S Plus I9001 Android Development] sv2hqx:
Just tried

Zip's are good