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

Root [International] How to edit root files?

Simply put, the kernel controls the drivers.

I've never paid attention to the downloaded source other than the recovery code (and some side-researching of other code), so is the kernel source pulled, too? (or do we have to pull the kernel source from the manufacturer's site?).

Thanks!
 
I *think* (it's been a while) that the android source comes with the Nexus kernels as standard.

(I think the manifest goes off and fetches the kernel?)

If you build the source, you would normally pick your device when building and it would create a fully usable, vanilla build (including kernel). I think this currently only goes back as far as the Nexus S now though.

But yeah, the kernel would need heavy modification including vendor files (drivers etc) to work with AOSP. Luckily for us, Samsung have released the source so the biggest development challenge has been overcome.
 
Sorry, but I've lost you guys... :)

What are we trying to change? (the kernel??)

Doron,

I was simply going to try to figure-out if there were a way to enable you to rename your directory...although given that this is a kernel-controlled dir, its unlikely you'd be able to do anything that wouldn't possibly make your system unstable (i.e., killing the daemon responsible for controlling that driver directory).

I haven't had a chance to look yet and am not optimistic about finding anything that might help you (or knowing what to do with anything I do find--I'm not a kernel dev :p).

It sounds like what you really want to do is block the use of the camera? Have you tried simply freezing (disabling) the "Camera" system app? You can freeze/thaw apps like this using something like Titanium Backup or my Android Root Toolkit app.
 
Yes, I already tried these apps but they won't give me what I need..
When you using these apps you can still use camera from other apps (skype, galerry, whatapp, etc..)
 
I don't think this is going to be rewritten with any app. /sys is usually written at every boot. It probably needs the attention of a kernel dev rather than a ROM dev.

well this was the exact thread I was looking for! I tried looking elsewhere but doesnt look like theres a lot of info out there.

I was playing around with my RE, and it looks like i can change a good portion of my directories. except the /sys directory. I believe i can change things inside the /system, but not the /sys.

So I gather, this is normal?
I was worried that my phone or RE wasn't working properly.

The reason why i wanted to edit the /sys directory is because I'm having troubles with my CPUspy. I have stock ICS, and rooted. I've loaded from a nandroid backup once. I never flashed any custom roms or kernels.

So why wont cpuspy work? From what I know it should work on s3's
For me to make it work, I had to use SetCPU, then i guess a file gets generated deep within the /sys directory for CPU States.
This is the same for BBS, theres no cpu states shows until setcpu is launched.
 
Wow half way thru page 2 ma head was spinning.
Am i right in thinkin u wana disable camera in the techyest way possible lol?
 
Right. What files can be edited depends on what kernel you have as the kernel controls these files. I cannot edit most of mine.

What kernel do you have?
 
Yeah so a stock kernel will give even less control because many features aren't even available.

If you're rooted, the best part of it is using a custom kernel.

Regardless of whether you need setCPU to open up this area to other applications, its a really useful app to keep with a custom kernel.
 
Yeah so a stock kernel will give even less control because many features aren't even available.

If you're rooted, the best part of it is using a custom kernel.

Regardless of whether you need setCPU to open up this area to other applications, its a really useful app to keep with a custom kernel.


thannks suroot
 
Back
Top Bottom