I manually deleted the content of /data/ folder, it seems to work like
a reset factory settings. =)
--
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
Hello everyone,
I am working on an android-based device odroid, and it has no
implementation of reset factory settings.
here's the code on my android:
package com.android.settings;
import com.android.internal.widget.LockPatternUtils;
import android.app.Activity;
import android.app.AlertDialog;
Thanks for these information, but are you guys referring to latest
Android OS 2.2 source codes? I do not have a copy of that yet, I am
working on 2.1 source codes instead.
On Sep 25, 9:50 am, Joshua Hruday wrote:
> hi,
> void Process::killProcessesWithOpenFiles(const char *path, int action)
> in
Usually the DPRINTK macro is just a printk usually with KERN_DEBUG or
KERN_ERR, and will be invoked only when DEBUG is defined. This is used
instead of directly calling printk to easily turn ON or OFF the
debugging messages in your driver.
example:
#ifdef DEBUG
#define DPRINTK(format,args...) pri
elp anyone. =)
On Sep 23, 10:06 am, archieval wrote:
> Hello everyone,
>
> Unmounting a busy partition has been quite a problem for me, my
> busybox package v1.16.0 have no lsof, and fuser does not really help
> in determining if a file in the mount point is being used, or opened.
> D
the system but everytime I execute it, it returns error that
it is not found. Is there a proc file or something like that wherein I
can find whether the mount point is opened and what process is using
it?
Regards,
archieval
--
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http
s between
> Android and Linux).
>
> The reason you don't normally want to use "oneshot" is because Android
> can kill processes when memory is low. Any long-lived service needs
> to be restarted if it gets killed.
>
> On Sep 22, 12:53 am, archieval wrote:
>
The problem is in the init.rc, the app runs with no problem when
manually executed/called in the shell. The init.rc inside the device
cannot be edited because the original file stays in rom and will
replace itself in the directory everytime the device reboots. And Yes
Sir for all the method above,
I have a C program:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
int main(void)
{
if (fork() == 0)
{
int i, sret, ret = -1;
unsigned char usb_dev[10];
struct stat st;
Hi Chris,
Where do you place exec? on boot trigger? Because it hasn't worked for
me.
On Sep 20, 9:02 pm, Chris Stratton wrote:
> Try using symlink command instead of ln, there may already be examples
> in your init.rc
>
> If /system is mounted by the time you want to do it you could also try
> a
10 matches
Mail list logo