• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Kernel][GB] KoumaKernel 2.5

So how do I go about changing the "koumamod file in /system," or how do I make koumakernel 2.1 work like dta2sd.

Sorry for being a noob on this, but I guess I gotta start somewhere :D
Your answer is on the first page.

On to configurating:

in /system there (should) be a file named koumamod. In there are three lines,
Code:
#!/bin/bash
#setprop koumakernelmount "data" #Uncomment to mount sd-ext as /data
setprop koumakernelmount "SSM" #Uncomment to mount sd-ext partitions in the SSM configuration, Comment before enabling /data

simply remove the # from in front of the 2nd line to mount sd-ext as the entire /data partition and place a # in front of the 3rd line to disable SSM

Only one option is used at a time, and SSM mode will supersede data mode.
 
Dude, this whole journey into screwin around with Android started coz I ran out of space for apps. Now, with your kernal I have 117 apps and still have 1.67 GB of internal left. THIS ROCKS! Beers are on the way! :D
 
Upgraded to 2.2....apps that I had installed to SD-EXT disappeared. (basically it seems to not mount SD-EXT anymore).

So I've odin'ed back to KK 2.0 and my apps are back. What went wrong?
 
Upgraded to 2.2....apps that I had installed to SD-EXT disappeared. (basically it seems to not mount SD-EXT anymore).

So I've odin'ed back to KK 2.0 and my apps are back. What went wrong?

You need to configure KK. It defaults a2sd to off to not mount things the way you don't want them mounted so it doesn't clobber your apps/settings.

On to configurating:

in /system there (should) be a file named koumamod. In there are three lines,
Code:
#!/bin/bash
#setprop koumakernelmount "data" #Uncomment to mount sd-ext as /data
#setprop koumakernelmount "SSM" #Uncomment to mount sd-ext partitions in the SSM configuration, Comment before enabling /data
simply remove the # from in front of the line to for the mount option you want.
"data" = sd-ext as the entire /data partition and
"SSM" = sd-ext as /data/app with optional sd-swap as /data/dalvik-cache

Only one option is used at a time, and SSM mode will supersede data mode.

edit your koumamod file and reboot

If you were running in SSM mode before, re-enabling it will probably clobber your screen's widgets, but your homescreen shortcuts will come back
 
I'm not sure if I had SSM active. When I created the partitions, I created the largest partition size possible in CWM for the data EXT4 partition and created a 256MB swap partition. Does that mean SSM was activated when I created the swap partition?

I would not mind having to place the icons back on to the home screen(s). Will try that. Will need to move my Root Explorer app to SD in "Manage Applications" first. (this should then just move that app to the fat partition and it will survive the transition to KK 2.2)

After which I will try just enabling the DATA option.
 
I'm not sure if I had SSM active. When I created the partitions, I created the largest partition size possible in CWM for the data EXT4 partition and created a 256MB swap partition. Does that mean SSM was activated when I created the swap partition?

I would not mind having to place the icons back on to the home screen(s). Will try that. Will need to move my Root Explorer app to SD in "Manage Applications" first. (this should then just move that app to the fat partition and it will survive the transition to KK 2.2)

After which I will try just enabling the DATA option.

the data option is the KK1.2 style of mounting, good for fast cards, only needs the one partition

the SSM option can be used with either 1 or 2 ext partitions. Leaves most of the speed sensitive stuff on the internal

so, it's up to you, no wrong answer :)
 
Hmm seems perhaps SSM was active. Using data only option and now my wallpaper and most of my phone settings reverted to stock. (and my apps still disappeared). Odin backed and the apps came back so the EXT4 partitions were never touched by KK2.2 I can try one more time and enabling the SSM option instead.

I can push files to the phone via ADB while the phone has CWM booted up right? I want to try and activate the setting before the phone boots up after the upgrade.

EDIT: Looks like "Android Commander" will report proper root status if I have CWM running. Didn't know that before as I ran it with andriod booted up and it wouldn't let me access the root folders since it thought the phone wasn't rooted. Should be much easier now since ADB is not as simple to use. :P

EDIT: Success!

I updated to 2.2 via CWM, then brought up "Android Commander" (did not reboot phone or anything yet) and pushed the new koumamod file with the SSM mode setting and then rebooted. I got my apps still in their place on the home screen and everything.

Looks like I had SSM active without even knowing it... lol
 
Kourma your new kernel rocks!

This is all I can say about it:

smiley-dance011.gif
 
Anything you install with the apkinstaller is installed to /system/app

Only apps installed to /data/app are moved to your partition

Hmm I see, and I do that using your apkinstaller.zip right? Sorry for late response!

Your answer is on the first page.

UGH gotta pay more attention, thanks! lol I just followed the directions and now it shows 54MB used 0.89GB free, awesomeeeee! Is S2E useless at this point?
 
Hey guys . I just want to give you guys a heads up on something schr9091 and I found out when we were trying to activate the SSM on his XP system . We had problems opening a Cmd window for ADB using XP and had to switch to Win7. If you're using XP and trying the SSM , you may have this issue .

I haven't actually tried it with the XP OS in front of me so I don't know . If someone knows a way around this plz post so the people running XP will know . Thx
 
Hey guys . I just want to give you guys a heads up on something schr9091 and I found out when we were trying to activate the SSM on his XP system . We had problems opening a Cmd window for ADB using XP and had to switch to Win7. If you're using XP and trying the SSM , you may have this issue .

I haven't actually tried it with the XP OS in front of me so I don't know . If someone knows a way around this plz post so the people running XP will know . Thx

I do almost all of my ADB work in XP. Never had a problem. how were you trying to open a cmd window?
on XP, I use either Windows Key + r to pop up the run dialog and type cmd (or normally just enter, it's usually the last thing I did)
Or I use the windows command here powertoy: http://go.microsoft.com/fwlink/?LinkId=211471
adds "Open Command Window here" to the right click menu (same as shift + right click in Win7)
 
I do almost all of my ADB work in XP. Never had a problem. how were you trying to open a cmd window?
on XP, I use either Windows Key + r to pop up the run dialog and type cmd (or normally just enter, it's usually the last thing I did)
Or I use the windows command here powertoy: http://go.microsoft.com/fwlink/?LinkId=211471
adds "Open Command Window here" to the right click menu (same as shift + right click in Win7)

Thanks Kouma , that was our problem . He couldn't get " Open Command Window Here " when in the folder with adb . That's the way I was taught so that's the way I tried to do it . I was on Win7 and he was on XP at first . I did not know that XP didn't come with the " Open Command Window Here " option .The link you provided will add that option to XP or the other option you mentioned can be used . Thanks again man . I have once again learned something new from you . ;)
 
status update: KK 2.2, CTmod 3.3

Since updating to KK 2.1 I have had zero issues with Beautiful Widgets losing its skin, at least with /data running off SD-ext. I dunno if it was BW not playing nicely with the new market, their new setup with making you link your email address, the skins not liking being in a different partition from the app, or me being my typical stupid self and not doing it right.

I also noticed that when mounting /data to the SD card, the internal memory listed under settings/storage includes the extra space added, like it used to. Mine shows 809mb free currently.

Finally when i updated to CTmod 3.3, (KK2.1) it reset the koumamod file to SSM. When i changed it back to data, it deleted my apps. No such problems with KK2.2, it happily installed and changed over without incident.
 
Finally when i updated to CTmod 3.3, (KK2.1) it reset the koumamod file to SSM. When i changed it back to data, it deleted my apps. No such problems with KK2.2, it happily installed and changed over without incident.

That's why I changed the default to off in 2.2 :)
 
That's why I changed the default to off in 2.2 :)

You and Bloodawn are getting too fast for your own good. As soon as he updates his rom to include your new kernel, you update your kernel past him. You two should start collaborating to release new stuff simutaneously, so i don't have to update my phone five times a week. My poor usb cable is gonna melt down soon :D
 
You and Bloodawn are getting too fast for your own good. As soon as he updates his rom to include your new kernel, you update your kernel past him. You two should start collaborating to release new stuff simutaneously, so i don't have to update my phone five times a week. My poor usb cable is gonna melt down soon :D

LOL its good for the usb cable!
 
KoumaKernel2.2OC_CWM.zip

Here's a little something for you brave SOBs to play with.
If you've been keeping up, the same things apply, use a setcpu type app.
If you break it, it's on you.

Have fun!


Oh, and thanks to trenchkato for figuring out overclocking

You should integrate Voltage Control support. It works a lot better and stable than SetCpu and gets better support from it's developer.
 
You should integrate Voltage Control support. It works a lot better and stable than SetCpu and gets better support from it's developer.

That's the app I'm using for myself, because I'm a cheap bastard, and it has a free version. Everyone's been talking about SetCpu, so it makes a good frame of reference. I don't think it matters which you use really
 
Back
Top Bottom