What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[KERNEL] Kernel (deprimed_test) - Break It If You Can

Any ideas on the way to make sure that my ext3 partition is mounted at startup?

Sent from my Droid using Tapatalk

Link2sd creates a /etc/init.d/11link2sd startup script, you should be able to get away with editing that file and changing it to read:

Code:
umount /sd-ext
modprobe ext4
mount -t ext4 /dev/block/mmcblk0p2 /data/sdext2

Then reboot and hope for the best :)

The ext4 module can load ext2/3 partitions, I use it because there is an issue with the ext2/3 driver that cause marked CPU usage while idle.

prime ... I am using the native a2sd-ext that comes with cm7. Don't really have any complaints, except that i have to reboot multiple time, some of the time, to get my sd-ext to laod files. it causes issues with widgets and programs that were moved to ext. I am interested in using the ext4 module instead of the ext3 module. Not a really linux guy (yet) but i can i get the native a2ext to use ext4 to load my ext3 sd-ext

Replace /etc/init.d/05mountsd with this:

http://db.tt/Ra4yRER

from a couple of pages back.
 
Any ideas on the way to make sure that my ext3 partition is mounted at startup?

Sent from my Droid using Tapatalk

prime ... I am using the native a2sd-ext that comes with cm7. Don't really have any complaints, except that i have to reboot multiple time, some of the time, to get my sd-ext to laod files. it causes issues with widgets and programs that were moved to ext. I am interested in using the ext4 module instead of the ext3 module. Not a really linux guy (yet) but i can i get the native a2ext to use ext4 to load my ext3 sd-ext

Replace /etc/init.d/05mountsd with this:

http://db.tt/Ra4yRER

from a couple of pages back.

I've done that. It didn't seem to work. Maybe I did it wrong. I'll just wait for the update.

Sent from my Droid using Tapatalk
 
Sbenson,

I am a little rusty on each of Prime's new methods, as I just run his test kernel straight up. If you are using the script method, to see what you phone is running at, in terminal:

cat /proc/overclock/freq_table
cat /proc/overclock/mpu_opps

These should return your overclock values if using a init.d script. And the init file should be in /etc/init.d on your phone. You can edit the file with root explorer, or you can do the same on a PC with Notepad++ if using windows (regular notepad will not work), and copy it over and chmod correctly.

And once you are doing the advanced Prime "stuff", msoc is indeed not needed.

Craig


Excellent, those were exactly what I was looking for and they worked like a charm. Is the file you're referring to the 20overclock file? I don't have root explorer yet (thinking I should probably just get it), is there an easy way to do this without? Also, what is chmod?


Sbenson,

Yes, the 20overclock file, which is created with the script, and executed at boot. If you are gonna be messing with any of this stuff, you really do need some file manager that allows SU permission. All of this can be done with a terminal program, but it is a little harder. The differences are that with a terminal program you have to know and type out commands. With one of the root file mangers, you press buttons mostly (GUI, graphic user interface). Root Exploer is good, a well as SUFBS.

Chmodding is setting a files permissions. Whenever you add any file to the android operating system, you have to make sure the permissions are correct. Read, write, execute for user, group or all. The easiest way to make a new file correct is to check the other files in the subdirectory that you are in, and make the new file the same as the others. This may not be 100% all the time, but it is pretty solid across the boards.

Craig
 
Sbenson,

I am a little rusty on each of Prime's new methods, as I just run his test kernel straight up. If you are using the script method, to see what you phone is running at, in terminal:

cat /proc/overclock/freq_table
cat /proc/overclock/mpu_opps

These should return your overclock values if using a init.d script. And the init file should be in /etc/init.d on your phone. You can edit the file with root explorer, or you can do the same on a PC with Notepad++ if using windows (regular notepad will not work), and copy it over and chmod correctly.

And once you are doing the advanced Prime "stuff", msoc is indeed not needed.

Craig


Excellent, those were exactly what I was looking for and they worked like a charm. Is the file you're referring to the 20overclock file? I don't have root explorer yet (thinking I should probably just get it), is there an easy way to do this without? Also, what is chmod?


Sbenson,

Yes, the 20overclock file, which is created with the script, and executed at boot. If you are gonna be messing with any of this stuff, you really do need some file manager that allows SU permission. All of this can be done with a terminal program, but it is a little harder. The differences are that with a terminal program you have to know and type out commands. With one of the root file mangers, you press buttons mostly (GUI, graphic user interface). Root Exploer is good, a well as SUFBS.

Chmodding is setting a files permissions. Whenever you add any file to the android operating system, you have to make sure the permissions are correct. Read, write, execute for user, group or all. The easiest way to make a new file correct is to check the other files in the subdirectory that you are in, and make the new file the same as the others. This may not be 100% all the time, but it is pretty solid across the boards.

Craig


You're awesome, thanks! I think you answered all my questions. The permission thing was really throwing me off, but you explained it pretty well.

And you can set permissions within Root Explorer, right? It's as simple as just checking the boxes from what I've seen, correct? Thanks again.
 
Sbenson,

Correct. In root explorer the set permission box comes up as an array, 3 wide and 3 tall, with boxes to check. With SUFBS you actually have to input the number of the chmod.

Craig
 
I'd love to see an update on Prime. Personally I enjoy the deep sleep features, and I'm also looking forward to even more debugging turned off in the new build! :)
 
I'd love to see an update on Prime. Personally I enjoy the deep sleep features, and I'm also looking forward to even more debugging turned off in the new build! :)

I updated primed a week ago, pretty good but still needs work.

I'm not going to be able to get the update done today (deprimed), I'm much to tired and even let SwiftKey prediction type this for me. Please excuse the strange wording lol.
 
Prime,

You are more than welcome. I have finally figured the easiest way to see what each of your products is doing is to just open the scripts. I have been running at the SV for a while now, and I really do need to go back to LV. It is so bloody hard right now trying to get things where I want, because we have movement on so many fronts. Base rom, your kernels, memory management tweaks, etc. It's a little head spinning....

Craig
 
Back
Top