• 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

feature suggestion...

I got data app on mmcblk0p3 and dalvik on mmcblk0p2. I do this by clicking save on the koumamod.apk(1.3) on SSM and then manually editing file before rebooting. apk copies same script over.

idk if anyone else doing modified SSM like me but I like it cuz it formats dalvik when I format sd-ext in cwm and factory rest well save my apps over ROM flash. think you could either have it ls (or what ever command that is) the current mounts and if app mounted on mmcblk0p3 then mv modified-koumamod to /system/koumamod
or
have it recognize if both partitions already used in SSM and not over write if off our on/data

since it sounded like a simple addition: (turned out to be a good bit of work though)

Koumamod1_5.apk

:D
 
and I switched back to regular ssm cuz I realized I couldn't backup sd-swap lol but right on. zep's v6 install service on koumamod and that gets erased when you press save but don't matter cuz init.d activates it so super service not needed on this ROM anyways.

you should make a middle finger smiley that show /proc/swap when you press :-)
 
and how exactly you add that feature? is it checking mounts and placing different koumamod file on /system over writing what there depending on how mounted or are you
sed -i xxxxxxx
to edit just one line in the file without over writing any additions?
 
500 pennies for your thoughts

I write the file completely from code snippets stored in the resource files of the APK.
It does read the file in 1.5 though. the first line of the file is a "#" and a non-printable character that contains some info about what settings you picked so it doesn't get stupid on you if you switch from SSM to Data or back
 
OK, kinda embarrassed but I'm lost again and I'm not understanding how this works.

CTMod 3.6
KK 2.5
8gb SD card
1gb partition (from when I was using the old style Apps2sd from ingio)

From what I'm understanding the apps are going to the SD ext. The dalvik cache stays on the internal memory. Right?

My internal currently only has 17mb left and I'm getting low memory warnings. I have wiped the dalvik cache and I don't gain any internal memory, at this point I can't do another partition as explained using adb as I don't have a computer, I'm only working with the phone. Either I'm at the limit with what I have and with what I can do. Or I'm doing something wrong?

If I click the data setting and reboot then it shows the internal with my 1gb but everything is wiped and the phone is so slow and unresponsive that its beyond ridiculous I tried to redownload all my apps and gave up 3 times due to the fact that the phone was so laggy it would literally take all day. Doing a SD restore does not bring them back?

Slap me around and tell me what I'm not getting please!! If I didn't get bitch slapped by everyone here I have been thinking about trying to use apps2sd again so I can select "move apps and dalvik cache to SD ext " but that's going backwards




screenshot-1337920503497.png
 
OK, kinda embarrassed but I'm lost again and I'm not understanding how this works.

CTMod 3.6
KK 2.5
8gb SD card
1gb partition (from when I was using the old style Apps2sd from ingio)

From what I'm understanding the apps are going to the SD ext. The dalvik cache stays on the internal memory. Right?

My internal currently only has 17mb left and I'm getting low memory warnings. I have wiped the dalvik cache and I don't gain any internal memory, at this point I can't do another partition as explained using adb as I don't have a computer, I'm only working with the phone. Either I'm at the limit with what I have and with what I can do. Or I'm doing something wrong?

If I click the data setting and reboot then it shows the internal with my 1gb but everything is wiped and the phone is so slow and unresponsive that its beyond ridiculous I tried to redownload all my apps and gave up 3 times due to the fact that the phone was so laggy it would literally take all day. Doing a SD restore does not bring them back?

Slap me around and tell me what I'm not getting please!! If I didn't get bitch slapped by everyone here I have been thinking about trying to use apps2sd again so I can select "move apps and dalvik cache to SD ext " but that's going backwards




screenshot-1337920503497.png

How about some screenshots of your koumamod settings?
I'd take some of mine to show you how I have things, but I left my phone at work :D
 
I write the file completely from code snippets stored in the resource files of the APK.
It does read the file in 1.5 though. the first line of the file is a "#" and a non-printable character that contains some info about what settings you picked so it doesn't get stupid on you if you switch from SSM to Data or back


you're saying it's not a premade script that can have lines changed depending on situation
but quilted together from small segments?

I been studying how zep uses cat and sed too look for anchors in a file and edit single lines without messing up whole thing (like build.prop edits)
the coding looks like pointless gibberish and symbols alot but at least I can see for myself what affects of each portion work on phone instead of justing reading about those commands or looking at random examples.

but ya that's how I figured you do it. crazy how many different ways you can do things in Linux but have basically same result
 
Shame on you lol, I would shaking like a crackhead with no rock :D


screenshot-1337921408198.png

ok, here's an idea for you then. I usually do this in recovery so files aren't in use when I do this, but open a terminal, and run:
Code:
tar -cvf /sdcard/databackup.tar /data/*

that should make a backup of all your apps and settings and stuff.

then switch to /data mode in koumamod.
then format sd-ext in recovery.
reboot your phone, and don't panic, it will look like you just did a factory reset (because you just did :D)

install a terminal app, and then run this command:
Code:
tar -xvf /sdcard/databackup.tar -C /
<note the capital C is case sensitive.

then pull your battery and reboot (pulling your battery prevents the system from overwriting anything that you just wrote)

Kinda high risk, but usually it goes well and most times when an issue does happen, you can just uninstall and re-install the broken app and all is good.

the reason you're running out of space is all the other things that live in /data other than /data/app has filled the internal space. There may be some housekeeping that can be done in there, but it's a PITA and it's easy to delete the wrong things. I've tried :D
 
I posted a tutorial thread for updating koumamod.apk since it's being asked alot here, virtual memory thread, and ctmod thread.

please review and either edit properly or make better one so I can delete lol. works for me tho and I've walked 3-4 people through this already. if you don't mind I made this tutorial I can clean it up and keep link to apk updated. kernel OP already huge and virtual memory you gotta browse for anything.
 
ok, here's an idea for you then. I usually do this in recovery so files aren't in use when I do this, but open a terminal, and run:
Code:
tar -cvf /sdcard/databackup.tar /data/*

that should make a backup of all your apps and settings and stuff.

then switch to /data mode in koumamod.
then format sd-ext in recovery.
reboot your phone, and don't panic, it will look like you just did a factory reset (because you just did :D)

install a terminal app, and then run this command:
Code:
tar -xvf /sdcard/databackup.tar -C /
<note the capital C is case sensitive.

then pull your battery and reboot (pulling your battery prevents the system from overwriting anything that you just wrote)

Kinda high risk, but usually it goes well and most times when an issue does happen, you can just uninstall and re-install the broken app and all is good.

the reason you're running out of space is all the other things that live in /data other than /data/app has filled the internal space. There may be some housekeeping that can be done in there, but it's a PITA and it's easy to delete the wrong things. I've tried :D


Wow, I'm been out of the game for to long lol. Don't laugh but what is "open a terminal"? Is that something you do from a computer. As I mentioned earlier. I'm just working with the phone itself.
 
Wow, I'm been out of the game for to long lol. Don't laugh but what is &quot;open a terminal&quot;? Is that something you do from a computer. As I mentioned earlier. I'm just working with the phone itself.


download "terminal emulator"from market. no computer needed. if someone refers to "adb shell" or anything adb then you need computer with adb installed
 
download "terminal emulator"from market. no computer needed. if someone refers to "adb shell" or anything adb then you need computer with adb installed

yup, terminal emulator lets you do most things that can be done with a PC and ADB.

Having a computer handy makes it nice because there's no terminal emulator in CWM, which is where I do a majority of my hacking in
 
I just left post other day on cwm thread bout that. my intercept got root file manager that can copy/move/delete and a terminal emulator. can also backup system data and cache partitions, format to your choice of rfs, ext4, or ext2 and then restore info back onto new file system. flash from stock to ext4 ROM and kernel without having to flash. forgot to check answer.
 
yup, terminal emulator lets you do most things that can be done with a PC and ADB.

Having a computer handy makes it nice because there's no terminal emulator in CWM, which is where I do a majority of my hacking in

I am trying to partition my sd card using SSM. I type adb shell and it goes to a # sign which I believe is correct since my phone is rooted. When I type sd parted -i, it says sdparted: not found. What am I missing here?
 
I am trying to partition my sd card using SSM. I type adb shell and it goes to a # sign which I believe is correct since my phone is rooted. When I type sd parted -i, it says sdparted: not found. What am I missing here?

you need to be booted into recovery mode, specifically Clockwork Mod Recovery
 
ok, here's an idea for you then. I usually do this in recovery so files aren't in use when I do this, but open a terminal, and run:
Code:
tar -cvf /sdcard/databackup.tar /data/*

that should make a backup of all your apps and settings and stuff.

then switch to /data mode in koumamod.
then format sd-ext in recovery.
reboot your phone, and don't panic, it will look like you just did a factory reset (because you just did :D)

install a terminal app, and then run this command:
Code:
tar -xvf /sdcard/databackup.tar -C /
<note the capital C is case sensitive.

then pull your battery and reboot (pulling your battery prevents the system from overwriting anything that you just wrote)

Kinda high risk, but usually it goes well and most times when an issue does happen, you can just uninstall and re-install the broken app and all is good.

the reason you're running out of space is all the other things that live in /data other than /data/app has filled the internal space. There may be some housekeeping that can be done in there, but it's a PITA and it's easy to delete the wrong things. I've tried :D

OK this is what I got

1. How do I make it "run" or carry out what I have typed? I don't get it.

2. Do I get rid of the first line that's there when I open up the emulator?

Told ya I rode the short bus to school :D


screenshot-1338063699638.png
 
Back
Top Bottom