yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] Xistance:
Just use either "make config" or "make oldconfig".
[Galaxy S Plus I9001 Android Development] jjaacckk94:
Tomorrow ill try :D thanks in advance!

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] jjaacckk94:
make: /home/jack/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: comando non trovato
scripts/kconfig/conf -s arch/arm/Kconfig
#
# configuration written to .config
#
make: /home/jack/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-gcc: comando non trovato
make: *** Nessuna regola per generare l'obiettivo "j1". Arresto.
jack@Home-Ubuntu:~/android/samsung-kernel-ariesve$

When i type "make -j4" the terminal answer this...

why??
[Galaxy S Plus I9001 Android Development] Xistance:
Did you make sure to do the export commands?

export ARCH=arm
export CROSS_COMPILE=~/android/kernel/toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-

Also, did you make the config? make oldconfig if you already have done it. You have to do this every build you do.
[Galaxy S Plus I9001 Android Development] Doomsday94:
well today only,i upgraded my ubuntu to 12.10. when i tried to install the required packages,i got back this error all the time.

E: Unable to locate package libncurses5-dev

E: Unable to locate package libx11-dev

E: Unable to locate package libreadline6-dev

E: Unable to locate package libgl1-mesa-glx

E: Unable to locate package zlib1g-dev

anybody else with the same error? i would really appreciate some help.
[Galaxy S Plus I9001 Android Development] Xistance:
I upgraded to 12.10 as soon as it came out but all it has done for me is just cause errors. I haven't gotten that error though.

Edit: Have you tried :

sudo apt-get update
[Galaxy S Plus I9001 Android Development] Doomsday94:
the issue for me was ubuntu 12.10. i went back to 12.04 lts and now it is correctly downloading 500 mbs of required packages. i am also thinking of patching bigmem with the 3.0.53 kernel. will post if i succeed because bigmem is tricky.
[Galaxy S Plus I9001 Android Development] cezaralboiu:
Sorry .. But i don't understand.. A bigmem kernel makes the rom more fast,but the camera is not recording with 720p? Or free memory makes the rom feel laggy?
[Galaxy S Plus I9001 Android Development] Daniel.96:
Hey Xistance,

Could you make a tutorial for "porting a Kernel" e.g. from the galaxy w to our s+ ?
[Galaxy S Plus I9001 Android Development] Daniel.96:
PS: After i've downloaded the Android-SDK and edited bashre and profice I get this:

username@userpc:~/Android-SDK/sdk/tools$ android

android: Befehl nicht gefunden.

So it says the command was not found

Any idea why ?

SOLVED

These lines had to be at the very topof the file, bottom didn't work for me
[Galaxy S Plus I9001 Android Development] Daniel.96:
When I type in this nothing happens for me it just stands there, no reaction. is that normal ?
[Galaxy S Plus I9001 Android Development] Christopher83:
Yes, it's ok, there is no output, you've simply set two parameters used when you'll build the kernel with the next steps.
[Galaxy S Plus I9001 Android Development] Daniel.96:
Ok, I thinkI did it, is a normal Zimage about 2,3 mb ? :)

One quesion left:

this steps is making problems for me :

when I write "make menuconfig" I get a lot of text like this :

I've tested also :

"make config" and "make oldconfig"

"make config" asked a lot of questions and I didn't understand about 70% so I gave up and tryied "make oldconfig" -> No questions and fast result, but when I made the third step

I got a few errors - something about camera, bluetooth and some other stuff, but all in all it seemed to be at least 70% functional.

Why are there so big differences between "make config" and "make oldconfig" ?

What is correct and what should i use ?

Can I flash "my" kernel and look if it boots - or would that risk a (hard-)brick ?

greeetz, DaiBloB - Xistance your Tutorial is the best thanks a lot ! .9 - i was searching through th internet but you ghow-to seems to be the most understandable (at least for me) :good:
[Galaxy S Plus I9001 Android Development] Doomsday94:
alright people,just a picture as proof of concept that bigmem patch is working. check attachment. although the memory can be increased further. nothing is broken as of now leaving the camera because the camera does not work as it is. will upload it later today after playing with it for some more time.

cheers

doom
[Galaxy S Plus I9001 Android Development] Daniel.96:
Hey Doom, which patch did you use ? And did whos github were you compiling from arco or ivendor ?

Ps: what to do with a ics kernel to boot on jb ?
[Galaxy S Plus I9001 Android Development] Doomsday94:
i used the bigmem.c patch from stratosk's github. so huge thanks to stratosk. i'm compiling from arco's git,ivendor's one is a few revisions behind.

to boot an ics kernel on jb. take the ics kernel. unpack it from boot.img of the ics kernel you want using cygwin or similar software. (not the boot.img,only the kernel) then unpack the jb boot.img with cygwin or any other software and replace the kernel of the jellybean boot.img with the ics kernel. but keep the ramdisk the same. DON'T TOUCH THE RAMDISK. then pack it again. create a flashable zip and then flash. voila

cheers
[Galaxy S Plus I9001 Android Development] Daniel.96:
Thanks a lot for your answer ! :)

If you are doing this, do you have to answer a lot of qouestions ? or do you use "make config" or "make oldconfig" ? I get a few errors or something ist "undefine" message, is that normal ?
[Galaxy S Plus I9001 Android Development] Doomsday94:
alright,here is the first bigmem kernel only for jellybean

http://www.mediafire.com/?6808lprb1pdxpww

it has 387 mbs of user available ram,which is 35 mbs more than normal.it has all the latest goodies from arco's source. everything will work fine. but if you are playing a much high quality video in mx player it will be played in sw decoder,but on gallery it should be played fine. most of the videos will be played in hw decoder,only a few will be in sw decoders. also,youtube playback is fine,but sometimes the vids won't play in hq mode. other bugs like no mounting usb to computer is present. other than that all is good. i will work on it again tomorrow. right now i have some work to do. till then enjoy bigmem.

thanks:

arco

ivendor

stratosk

diablo: i wil help you via pm after sometime,right now i'm busy.

cheers

doomsday94
[Galaxy S Plus I9001 Android Development] Xistance:
If needed you can answer the questions but this is only when you know what you are doing. You can simply press enter to use the previously entered configuration(by arco). Make oldconfig is great if it is for the same version as it uses the previously configured one and it is much faster. When building for a newer version however this isn't the best thing to do. The errors you see are usually some warnings and coding errors. The sources for 3.0.x aren't stable for our device yet so why do you simply think it is going to build without any errors? This is only a guide on building a dev kernel for the ease of devs. Any errors you get throughout just cannot simply be fit into a simple tutorial. As I said that I would like to address this thread by cyanogen:

http://xdaforums.com/showthread.php?p=6243873

Anyway, great job on the bigmem kernel doom. Great to actually see that on our device. I probably won't use it much as I do like watching HD videos :/.
[Galaxy S Plus I9001 Android Development] Doomsday94:
you can play full hd vids but you have to use sw decoder mode. hw decoder does not work with hd in some vids. in youtube most vids should work fine,but some won't work in hq quality.

anyway here is a new version.

http://www.mediafire.com/?2ft2625k1xejm13

changelog-

now user available memory is 389 mbs

there are no new bugs.

cheers
[Galaxy S Plus I9001 Android Development] cezaralboiu:
do you know when will get a working camera on 3.0.x kernel?
[Galaxy S Plus I9001 Android Development] Daniel.96:
So after I have spend almost the whole weekend on building testkernels, I got one which seems to work nice. Based on Arcos 3.0.52 source . At this point a Biiiig Thanks to Doomsday who helped me really A LOT !

Seems to be nice and smooth :)

Remember this is my first real Kernel and I'm sure it is noct working 100%. For me it boot up and wifi,music and such stuff works fine.

Note: This Kernel is provided with no warranty. You are installing this software at your own risk. You may be violating your warranty.
[Galaxy S Plus I9001 Android Development] saprer:
nice :D

can u please tell us what is changed from this kernel?

and i hope u will get good at making kernel so we got one more kernel dev
[Galaxy S Plus I9001 Android Development] luckana:
its so cool that we have BIGMEM now but.. random shutdowns stil heere.. Doom, man - can you fix those shutdowns at last.. when will that be fixed... i so want kernel 3 but i can't rely on my phone cuz i dont know when will it just shutdown when i turn the screen off
[Galaxy S Plus I9001 Android Development] Doomsday94:
i did not experience a single shutdown as of now. but here is a new version.

http://www.mediafire.com/?du580n5h1p3mvrd

changelog:

user available ram is now 390 mbs

compiled with standard 4.4.3 toolchain

shutdowns should not happen anymore

no new bugs.

it is not compiled with linaro toolchain anymore,i'm using the standard 4.4.3 toolchain,so shutdowns should not occur anymore.

if ther are no more shutdowns,i'll try and implement more features like fast charge,live oc,usb otg,etc.

about the camera of kernel 3.0.x. it will be a pain in the a** task to get it working and only highly experienced guys with kernel like arco and ivendor can do it. for me,kernel 3.0.x is a daily,since i don't use the shi**y 5 mp sensor of our phone to take pics anywhere.
[Galaxy S Plus I9001 Android Development] luckana:
10x doom you're awesome.. i just flashed it and will see if there are shutdowns in future and report back :)

edit: Doom, i am also not using camera frequently and its not that bad to not have it but the USB problem sucks a little.. In my case, i am using TWRP recovery and i am using the 2.2.1 version which does not crash but it can't mount USB.. so with using kernel 3 i have no way to use USB :D I have other recoveries zips in case i want to transfer something though.. that reeealy sucks
[Galaxy S Plus I9001 Android Development] Christopher83:
Thank you Diablo,

could you (or Doomsday, or someone else) write us the steps followed after obtaining the zImage and modules files?

I've errors using k-any-kernel zip.

Thanks! :good:
[Galaxy S Plus I9001 Android Development] Daniel.96:
Just use this Tutorial, it's awesome !

http://blackscratches.blogspot.de/2012/04/after-you-successfully-build-android.html

just ignore the step "changing Ramdisk"

and if you here:

use the second one :

, first one doensn't work because you don't have the permissions.

It's a very nice tutorial, esay,fast and correct. - worked for at the very firt time:cowboy:

PS: just made a stock 2.6.35 based on arco's git :) works nice for me. USB should work now, but no bigmem or 3.0.53.

PS: If someone find a tutorial on patching kernels, please share it with ous. searched the whole night yesterday but couldn't find a good and understandable one.
[Galaxy S Plus I9001 Android Development] Daniel.96:
Hey Mates,

If just spend a lot time compiling and fixing my Kernels for SlimBean. the result is really fast, nice and slim/stock kernel directly compiled from Arco's Github. I kept away every extra, it's just as stock and slim as possible. For me it is working great. Remember it's an experimental build, but Feel free to check it out. Note: This Kernel is provided with no warranty. You are installing this software at your own risk. You may be violating your warranty.

-> Everything is working really fast, apps lauch, camera and menu ist just incredible smooth :)

-> Noticed also that my phone is much "cooler" as on other Kernels.

Screenshots attached.

PS: Remember it is not an OC-Kernel, don't except extreme Antutu scores, just check out it smoothness ;)
[Galaxy S Plus I9001 Android Development] luckana:
could you do just the same kernel but with BIGMEM ?
[Galaxy S Plus I9001 Android Development] Rhonin86:
JB or ICS

Sry for asking, but is this an ICS - Version or a JB version ? After reading so much posts i have lost the overview :eek:

You have also made an ICS - kernel If the above mentioned is a jb one ?

Happy 2. Advent

Rhonin
[Galaxy S Plus I9001 Android Development] Daniel.96:
Oh, sorry forgot to say, both are for JB, till now I made kernels only for JB - will have a look on ICSKernels later ;)

I'm trying. i have to learn to patch a kernel successfully. Till not I had only unsuccessed builds after trying to patch wit features like bigmem.
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
will bigmem work in ivendor build?

or it is only for doomnexus....
[Galaxy S Plus I9001 Android Development] Daniel.96:
worked for me on SlimBean, should work on ivendors JB too.
[Galaxy S Plus I9001 Android Development] Doomsday94:
the kernel i provided will work on all jellybean roms. about the bigmem on 2.6 kernel,i can make 1 when i get back home. for now,the people who want to patch bigmem head over to stratosk's github and find the bigmem.c patch and the other modded files and implement them likewise on our source files and then build.

so,after getting many requests for a 2.6 bigmem kernel,here it is. (only for jellybean roms,i might do one for ics if there are enough requests)

http://www.mediafire.com/?xi3v916480iv282

393mbs of user available ram

camera shots, glitch panorama shots and hw decoding fully working

only the video recording and hq youtube vids does not work,normal quality does. (small price to pay after gaining 41 mbs of ram)

all other things are working

enhanced multitasking due to more memory availabilty

and here is the bigmem patch from stratosk for diablo and all others who want to use it

https://github.com/stratosk/samsung-kernel-aries/commit/9b2a2eb3179872accae30cba92a0ea927b295198
[Galaxy S Plus I9001 Android Development] jormapaappa1235:
And then the same with OC, there we would have a performance kernel. :D

Btw, works well, good work
[Galaxy S Plus I9001 Android Development] luckana:
that bigmem 2.x kernel with some overclocking and stuff would be insane
[Galaxy S Plus I9001 Android Development] PatrickMac:
Maybe someone can patch brood's existing OC JB kernel? That would be great!
[Galaxy S Plus I9001 Android Development] jaggyjags:
HQ YouTube videos not playing with jb 2.6 bigmem.
[Galaxy S Plus I9001 Android Development] nguyenchienbig:
+1.MXplay not playing HW

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] Daniel.96:
Does anyone know how to apply this patch to 2.6.35 kernel ?
[Galaxy S Plus I9001 Android Development] c0dac0da:
been using this kernel ... to add have been using 3.0.53 for few days & din have a single reboot or shutdown nor any hangups or any gliches and after the bigmem the system is flying no lags at all , games n apps etc ...

so its a gr8 daily driver if avoid camera .

i think OC should be the nxt target as usb OTG etc may take tym

THanks a lot for ur hard work .. U been amazing with ur every releases :good::good:
[Galaxy S Plus I9001 Android Development] mrjraider:
The only main issue is, if we avoid the camera, the battery drain with 3G. If our devs can fix this, we all go to ICS or even JB..
[Galaxy S Plus I9001 Android Development] cezaralboiu:
is there anyone who got the android 4.2 jellybean booting? or is working on it? i'm asking here because i know that Xistance was trying to get it working!:D
[Galaxy S Plus I9001 Android Development] markey97:
doom you are the men :good:

kernel is very smooth with big mem

do you think you are able to make about 420 MB or more usable?

it would be great

:good:
[Galaxy S Plus I9001 Android Development] kouros17:
I think someone should create a new thread about bigmem kernel (for more testing).

It is a major improvement for our phone.
[Galaxy S Plus I9001 Android Development] markey97:
yes you're right someone should do it soon because its a very good major improvement

i think doomsday or jaggyjags or diablob should do it
[Galaxy S Plus I9001 Android Development] jaggyjags:
+1

Hd YouTube videos (none work for me) are the only downside that stops me from using it as a daily. Will it be possible to reduce some of the memory to make it work?

When using wifi hd goes on automatically so it bothers a lot to manually switch it off every time.

Great job, keep it up ;)
[Galaxy S Plus I9001 Android Development] Rhonin86:
ICS Bigmem Kernel

If it is not such an effort because you have done a lot of work for us i would like to test the ics variante of the bigmem kernel.... :laugh:

Keep Up your good work...

Rhonin
[Galaxy S Plus I9001 Android Development] hadidjapri:
is there any specific way to compile with linaro 4.7.2 ? because when i compile with 4.6.2 it finishes and gives the zimage, but when im using 4.7.2 it doesn't even finished and zimage is not created. any idea?
[Galaxy S Plus I9001 Android Development] saprer:
Guuuuuuys new good news;

arco realesed cm10 with kernel 3 and working vsync.

but camera still not working i guess.

can someone port it for our device?
[Galaxy S Plus I9001 Android Development] Aldokazer:
For galaxy w???
[Galaxy S Plus I9001 Android Development] saprer:
yess here;

http://xdaforums.com/showthread.php?t=1990795
[Galaxy S Plus I9001 Android Development] dkmali:
Yes

Sent from my Android Smartphone
[Galaxy S Plus I9001 Android Development] Daniel.96:
Does anyone know how to patch features like bigmem exactly ?
[Galaxy S Plus I9001 Android Development] Xistance:
You know how the URL of the patch is this :

https://github.com/stratosk/samsung-kernel-aries/commit/9b2a2eb3179872accae30cba92a0ea927b295198

You just simply add .patch to the end of it and use curl to get it.

curl https://github.com/stratosk/samsung-kernel-aries/commit/9b2a2eb3179872accae30cba92a0ea927b295198.patch > /tmp/bigmem.patch

After that just check if it will apply correctly. Make sure you are in your kernel source dir :

git apply --check /tmp/bigmem.patch

If it looks fine and you want to apply it just remove the --check :

git apply /tmp/bigmem.patch

Sorry for the late reply. Forgot you asked for this :S

Edit: Make sure you don't do this though. You have to apply it for ariesve. This is for aries. That part is yours to do :)
[Galaxy S Plus I9001 Android Development] Daniel.96:
Thanks a lot for your answer :). So how did Doom patch bigmem, if it's for aries ? Did he port the file(s) ?
[Galaxy S Plus I9001 Android Development] Daniel.96:
just tried to patch my kernel with n new governor, called lagfree.

here is the commit about it

https://github.com/DooMLoRD/Xperia-...mmit/bec19001ded34077d7776639834a1229b69e5f87

I know it isn't for our phone, but our phone has at least the same files wich are in the commit and the content seems to be very similar. I did all changes, i saw in the commit. changed the entries and added the new ones also I downloadet the cpufreq_lagfree.c and placed it to kernel/drivers/cpufreq/ but wile compiling i saw that in kernel/drivers/cpufreq/ any wile called cpufreq_XXX.c became a similar file called pufreq_XXX.o . But cpufreq_lagfree.c don't. And after compiling and flashing it i don't had the option to use the governor (lagfree). Really thought it will work, did all steps really exact and I'am sure the are correct. Anyone an idea ?
[Galaxy S Plus I9001 Android Development] Xistance:
Read step 3 of this guide :

http://xdaforums.com/showthread.php?t=1748297
[Galaxy S Plus I9001 Android Development] Daniel.96:
This is what I did.. really don't know why it just don't work. Trieded again a second ago like your link says, no success. Will try a bit around tomorrow, thanks for your quick respond Xistance :)
[Galaxy S Plus I9001 Android Development] hadidjapri:
sorry , i think i havent got any answer yet. so forgive me for up-ing my question :)

Sent from my GT-I8150
[Galaxy S Plus I9001 Android Development] Daniel.96:
I've just build a few kernel with different settings, plan was to add brazilianwax governor. the first one i made had everything set up for the brazilianwax like here explaned for the smartass governor:

http://xdaforums.com/showthread.php?t=1748297

--> Step 3. Modifications

--> Mod 2. Adding a Governor Alone

everything seemed ok, so I compiled the kernel and got the zimage+modules made the boot.img and flashed as a flashabeĺe .zip --> Checked on settings->performance->cpu->governor i had the "normal" ones, no brazilianwax.

I've also noticed that in /android/kernel/ariesve_2.6.35/samsung-kernel-msm7x30/drivers/cpufreq is only the cpufreq_brazilianwax.c I've just placed there but no cpufreq_brazilianwax.o So i thought this is the reason. red a lot about this and then I'vs made "make clean" "make menuconfig" and found under Cpu float performanc the ebnty [ ]brazilianwax - it was uncheckt, I've checkt it [*]brazilianwax and saved and exit the menuconfig.

Now i really though it will work, because after I've compiled it i had both files:

cpufreq_brazilianwax.c AND cpufreq_brazilianwax.o

again made boot.img and made a flashable zip (kernel+4 modules) and flashed it through my CWM 5. again NO CHANGES only had the normal governors, but no brazilianwax.. I jsut thought about giving up..

Rom: SlimBean 4.1.2 kernel 2.6.35 (soon hopefully with brazilianwax)

Hope you guys can help me, have absolutely no idea where my mistake is.
[Galaxy S Plus I9001 Android Development] Xistance:
I am really not sure why it doesn't work. If you followed it correctly it should be added. Could you just try adding the +'s and deleting the deleted lines on this commit? :

https://github.com/DooMLoRD/Xperia-2011-Kernel-2.6.32.9/commit/bec19001ded34077d7776639834a1229b69e5f87
[Galaxy S Plus I9001 Android Development] Daniel.96:
This is what I did. Changed any file, named in the commid. I had no lines to delete,only tobadd so I added the lines and add the 'name.of.the.governor.c into the right folder. Changes were made, so the files had to be the same, also my menuconfig saw the governor and also it build the same file with an .o ending. Had no errors or warnings concerning the governors, but after I've flashed the zip, they were not there.. maybe the rom is to blame, could that be ture ?
[Galaxy S Plus I9001 Android Development] krislibaeer:
i had this issue also for the first time

you must do the following steps

1."make menuconfig" and then under

2."cpu power management" select the governor that you want

for me it worked
[Galaxy S Plus I9001 Android Development] Daniel.96:
Also did this made out of [ ] brazilianwax -> [X]brazilianwax and the module(is a governor a modul ?) was buold, i saw the brazilianwax.o but after applaying the boot.img i had no option to use it...
[Galaxy S Plus I9001 Android Development] krislibaeer:
have you tried to use another brazilianwax.c ?

e.g. from the CastagnaIT git
[Galaxy S Plus I9001 Android Development] hadidjapri:
maybe it is loadable module like dhd.ko?

Sent from my GT-I8150
[Galaxy S Plus I9001 Android Development] Daniel.96:
I have two options in menuconfig :

1) <M> 'smartassV2' cpufreq governor

2) <*> 'smartassV2' cpufreq governor <-- THIS IS CORRECT

Worked around a few days and now it worked nice ! :) thanks to all for their help, especially to Xistance :)

Was able to add a few spezials like governors, if someone wants to test it, just PM me :)

Ps Xistance, you have a really good talent, it is to help others, even if they aren't as good as you or close to this :)
[Galaxy S Plus I9001 Android Development] Xistance:
Haha, no problem :). I didn't really do anything other than say stuff that you already did. My guides are simply guides. They just show steps. I don't go into detail so of course there are going to be some problems. I just wish for people to get a headstart and push them into the android world. I am not that great myself, fairly new to building something that isn't for gentoo(yes...gentoo). Really happy that you found my help useful ^_^