[Q] Need Help - LG Optimus 4X HD
I've tried rooting my lg 4xhd for a few days but every time I try it it just says:
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
DON'T TOUCH THE DEVICE OR UNPLUG WHILE ROOTING!
PUSH FILES
failed to copy 'busybox' to '/data/local/busybox': No such file or direc
failed to copy 'su' to '/data/local/su': No such file or directory
failed to copy 'Superuser.apk' to '/data/local/Superuser.apk': No such f
irectory
- exec '/system/bin/sh' failed: No such file or directory (2) -
read NV size = 4, offset = 0
read NV ret = 4
read NV offset = 0, message = (0)[0]
check_LGE_official: nvdata_buf = , , .
check_LGE_official: enable_root = 1
- exec '/system/bin/sh' failed: No such file or directory (2) -
read NV size = 4, offset = 0
read NV ret = 4
read NV offset = 0, message = (0)[0]
check_LGE_official: nvdata_buf = , , .
check_LGE_official: enable_root = 1
- exec '/system/bin/sh' failed: No such file or directory (2) -
read NV size = 4, offset = 0
read NV ret = 4
read NV offset = 0, message = (0)[0]
check_LGE_official: nvdata_buf = , , .
check_LGE_official: enable_root = 1
- exec '/system/bin/sh' failed: No such file or directory (2) -
read NV size = 4, offset = 0
read NV ret = 4
read NV offset = 0, message = (0)[0]
check_LGE_official: nvdata_buf = , , .
check_LGE_official: enable_root = 1
- exec '/system/bin/sh' failed: No such file or directory (2) -
read NV size = 4, offset = 0
read NV ret = 4
read NV offset = 0, message = (0)[0]
check_LGE_official: nvdata_buf = , , .
check_LGE_official: enable_root = 1
REBOOT
/system/bin/sh: can't create /data/local.prop: Permission denied
AGAIN REBOOT
AGAIN!?
mount: Operation not permitted
mount: Operation not permitted
/system/bin/sh: can't create /system/xbin/busybox: Read-only file system
Unable to chmod /system/xbin/busybox: No such file or directory
/system/bin/sh: /system/xbin/busybox: not found
/system/bin/sh: busybox: not found
/system/bin/sh: busybox: not found
Unable to chown /system/xbin/su: No such file or directory
Unable to chmod /system/xbin/su: No such file or directory
Unable to chmod /system/app/Superuser.apk: No such file or directory
rm failed for /data/local.prop, No such file or directory
rm failed for /data/local/tmp, Permission denied
failed on '/data/local/tmp.bak' - No such file or directory
Now I am not really an expert with complicated stuff but I DID install all the drivers properly. It would be nice if someone could help me in a awnser that I can hopefully understand. Thanks in advance
As the log implies quite clearly, it isn't finding the files to push
Check out you have all required files and that you unpacked everything correctly in proper directories
Related
Cant install Debain HELP~!!!!!HELP~!!!!!HELP~!!!!!HELP~!!!!!
Sorry about Hekp Caps. I am stuck and cant install Debian =\ Heres what happens: Code: # cd /sdcard/debian cd /sdcard/debian # sh ./installer.sh sh ./installer.sh # exit exit ←[H←[Jmkdir failed for /data/local/mnt, File exists ←[H←[Jchmod: bootdeb: Operation not permitted chmod: debian.img: Operation not permitted chmod: fsrw: Operation not permitted chmod: installer.sh: Operation not permitted chmod: mountonly: Operation not permitted chmod: unionfs: Operation not permitted ←[H←[J Custom Debian Bootloader is now installed! Quick huh? This process does NO damage to your Android underlying OS! Courtesy of http://www.androidfanatic.com Installer by Mark Walker (ghostwalker) To enter the Debian Linux console just type 'bootdeb' PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST ' boot'. # sh bootdeb sh bootdeb ←[H←[JAndroid Filesytem remounted as read/write insmod: can't read 'ext2': No such file or directory mknod: /dev/loop2: File exists ←[H←[J a888a d888888b 8P YP Y88 8|o||o|88 8. .88 8 ._. Y8. d/ 8b. .dP . Y8b. d8: ::88b. d8 Y88b :8P :888 8a. : _a88P ._/ Yaa_ : .| 88P| \ YP | 8P \. / \._____.d| .| --..__)888888P ._.| mount: can't setup loop device: No such file or directory mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct ory mount: mounting proc on /data/local/mnt/proc failed: No such file or directory mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory Custom Linux Pseudo Bootstrapper V1.0 - by Mark Walker WEB: http://www.androidfanatic.com EML: [email protected] Starting init process INIT: Debian booting..... Running Linux Kernel net.ipv4.ip_forward = 1 AutoMounter started Type EXIT to end session Make sure you do a proper EXIT for a clean kill of Debian! chroot: can't execute '/bin/bash': No such file or directory umount: can't forcibly umount /data/local/mnt/dev/pts: No such file or directory umount: can't forcibly umount /data/local/mnt/proc: No such file or directory umount: can't forcibly umount /data/local/mnt/sys: No such file or directory umount: can't forcibly umount /data/local/mnt: Invalid argument Filesystems have unmounted losetup: /dev/block/loop2: No such device or address Loopback device shutdown - success Debian down Coded by Mark Walker http://www.androidfanatic.com admin.androidfanatic.com Reverted back to Android console # sleep 1 sleep 1 # sleep 1 sleep 1 # bootdeb bootdeb ←[H←[JAndroid Filesytem remounted as read/write insmod: can't read 'ext2': No such file or directory mknod: /dev/loop2: File exists ←[H←[J a888a d888888b 8P YP Y88 8|o||o|88 8. .88 8 ._. Y8. d/ 8b. .dP . Y8b. d8: ::88b. d8 Y88b :8P :888 8a. : _a88P ._/ Yaa_ : .| 88P| \ YP | 8P \. / \._____.d| .| --..__)888888P ._.| mount: can't setup loop device: No such file or directory mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct ory mount: mounting proc on /data/local/mnt/proc failed: No such file or directory mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory Custom Linux Pseudo Bootstrapper V1.0 - by Mark Walker WEB: http://www.androidfanatic.com EML: [email protected] Starting init process INIT: Debian booting..... Running Linux Kernel net.ipv4.ip_forward = 1 AutoMounter started Type EXIT to end session Make sure you do a proper EXIT for a clean kill of Debian! chroot: can't execute '/bin/bash': No such file or directory umount: can't forcibly umount /data/local/mnt/dev/pts: No such file or directory umount: can't forcibly umount /data/local/mnt/proc: No such file or directory umount: can't forcibly umount /data/local/mnt/sys: No such file or directory umount: can't forcibly umount /data/local/mnt: Invalid argument Filesystems have unmounted losetup: /dev/block/loop2: No such device or address Loopback device shutdown - success Debian down Coded by Mark Walker http://www.androidfanatic.com admin.androidfanatic.com Reverted back to Android console Im on SuperBad Eclair...
SilentRazor said: Sorry about Hekp Caps. I am stuck and cant install Debian =\ Heres what happens: Code: # cd /sdcard/debian cd /sdcard/debian # sh ./installer.sh sh ./installer.sh # exit exit ←[H←[Jmkdir failed for /data/local/mnt, File exists ←[H←[Jchmod: bootdeb: Operation not permitted chmod: debian.img: Operation not permitted chmod: fsrw: Operation not permitted chmod: installer.sh: Operation not permitted chmod: mountonly: Operation not permitted chmod: unionfs: Operation not permitted ←[H←[J Custom Debian Bootloader is now installed! Quick huh? This process does NO damage to your Android underlying OS! Courtesy of http://www.androidfanatic.com Installer by Mark Walker (ghostwalker) To enter the Debian Linux console just type 'bootdeb' PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST ' boot'. # sh bootdeb sh bootdeb ←[H←[JAndroid Filesytem remounted as read/write insmod: can't read 'ext2': No such file or directory mknod: /dev/loop2: File exists ←[H←[J a888a d888888b 8P YP Y88 8|o||o|88 8. .88 8 ._. Y8. d/ 8b. .dP . Y8b. d8: ::88b. d8 Y88b :8P :888 8a. : _a88P ._/ Yaa_ : .| 88P| \ YP | 8P \. / \._____.d| .| --..__)888888P ._.| mount: can't setup loop device: No such file or directory mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct ory mount: mounting proc on /data/local/mnt/proc failed: No such file or directory mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory Custom Linux Pseudo Bootstrapper V1.0 - by Mark Walker WEB: http://www.androidfanatic.com EML: [email protected] Starting init process INIT: Debian booting..... Running Linux Kernel net.ipv4.ip_forward = 1 AutoMounter started Type EXIT to end session Make sure you do a proper EXIT for a clean kill of Debian! chroot: can't execute '/bin/bash': No such file or directory umount: can't forcibly umount /data/local/mnt/dev/pts: No such file or directory umount: can't forcibly umount /data/local/mnt/proc: No such file or directory umount: can't forcibly umount /data/local/mnt/sys: No such file or directory umount: can't forcibly umount /data/local/mnt: Invalid argument Filesystems have unmounted losetup: /dev/block/loop2: No such device or address Loopback device shutdown - success Debian down Coded by Mark Walker http://www.androidfanatic.com admin.androidfanatic.com Reverted back to Android console # sleep 1 sleep 1 # sleep 1 sleep 1 # bootdeb bootdeb ←[H←[JAndroid Filesytem remounted as read/write insmod: can't read 'ext2': No such file or directory mknod: /dev/loop2: File exists ←[H←[J a888a d888888b 8P YP Y88 8|o||o|88 8. .88 8 ._. Y8. d/ 8b. .dP . Y8b. d8: ::88b. d8 Y88b :8P :888 8a. : _a88P ._/ Yaa_ : .| 88P| \ YP | 8P \. / \._____.d| .| --..__)888888P ._.| mount: can't setup loop device: No such file or directory mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or direct ory mount: mounting proc on /data/local/mnt/proc failed: No such file or directory mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory Custom Linux Pseudo Bootstrapper V1.0 - by Mark Walker WEB: http://www.androidfanatic.com EML: [email protected] Starting init process INIT: Debian booting..... Running Linux Kernel net.ipv4.ip_forward = 1 AutoMounter started Type EXIT to end session Make sure you do a proper EXIT for a clean kill of Debian! chroot: can't execute '/bin/bash': No such file or directory umount: can't forcibly umount /data/local/mnt/dev/pts: No such file or directory umount: can't forcibly umount /data/local/mnt/proc: No such file or directory umount: can't forcibly umount /data/local/mnt/sys: No such file or directory umount: can't forcibly umount /data/local/mnt: Invalid argument Filesystems have unmounted losetup: /dev/block/loop2: No such device or address Loopback device shutdown - success Debian down Coded by Mark Walker http://www.androidfanatic.com admin.androidfanatic.com Reverted back to Android console Im on SuperBad Eclair... Click to expand... Click to collapse I get the same error sadly but what are the benefits of installing debian
Umm you can install a GUI like Gnome and have apps like Firefox etc run... VNC etc
Pushing for MIUI
Hi all Tonight (1 Dec) I have time. Lets see how far we can get with MIUI (with whoever is keen). Check here: http://forum.xda-developers.com/showthread.php?t=1371428 What my approach this time is is to "dependency inject" MIUI into CM7. That is, start with CM7 base and then add the jars + apks + libs of MIUI from LG's Optimus2X one for one. This is different than starting with MIUI and then changing it with CM files one for one. Right Attached is the file list of CM7 nightly and MIUI 1.11.25. Differences of note: lgdrmserver libbridge liblgdrm /system/media/gadget files I'll keep updating on progress! Please do hop on the development, I'm doing all the "beta" testing on my side (thus press thank you and don't post I'll help you test).
Does one need to compile from source <github> or can we just grab files from LG's Optimus2X zip'd MIUI and overwrite the CM7 files? I will also spend some time on this see if I can make some leeway!
Thank you for your help and hard work!! What does all this mean ? If I can help with anything? please let me know!! Thanks so much for your efforts!
ssmr2t said: Thank you for your help and hard work!! What does all this mean ? If I can help with anything? please let me know!! Thanks so much for your efforts! Click to expand... Click to collapse Means it might be over your head and should wait till a stable comes out. Sent from my Inspire
dascope said: Does one need to compile from source <github> or can we just grab files from LG's Optimus2X zip'd MIUI and overwrite the CM7 files? I will also spend some time on this see if I can make some leeway! Click to expand... Click to collapse Yes, binary files - no compiling. That is, however, what I'm up to.
First up, /system/bin/app_process : zygote, main system daemon.
/system/bin/app_process : No difference in startup. Next up: framework.jar : The whole platform (will break a lot of things, I'm sure - we'll see)
Ladies and gents, our first boot loop: W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.splitThemePackageLjava/lang/String;Ljava/lang/String;[Ljava/lang/StringI W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.detachThemePathLjava/lang/String;I)Z W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.attachThemePathLjava/lang/StringI W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageCount)I W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageNameI)Ljava/lang/String; W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.getBasePackageIdI)I W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.addRedirectionsNativeI)V W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.clearRedirectionsNative)V W/dalvikvm( 1830): ERROR: Unable to find decl for native Landroid/content/res/AssetManager;.generateStyleRedirectionsIII)Z Seems like a .so that is missing or a .so that needs replacing.
/system/lib/libutils.so is a match - checking.
Solved previous error, now getting this: I/Netd ( 1741): Netd 1.0 starting repeatedly. Getting strace output:
writev(3, [{"\4", 1}, {"Netd\0", 5}, {"Netd 1.0 starting\0", 18}], 3) = 24 brk(0x13000) = 0x13000 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 9 getpid() = 2106 socket(PF_NETLINK, SOCK_DGRAM, 15) = 10 setsockopt(10, SOL_SOCKET, 0x21 /* SO_??? */, [65536], 4) = 0 setsockopt(10, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 bind(10, {sa_family=AF_NETLINK, pid=2106, groups=ffffffff}, 12) = 0 mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40009000 getsockopt(10, SOL_SOCKET, SO_PEERCRED, "\0\0\0\0��������", [12]) = 0 pipe([11, 12]) = 0 mmap2(0x10000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x10000000 mprotect(0x10000000, 4096, PROT_NONE) = 0 clone(Process 2108 attached child_stack=0x100fff00, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_DETACHED) = 2108 [pid 2106] writev(6, [{"\6", 1}, {"SocketListener\0", 15}, {"Obtaining file descriptor socket"..., 79}], 3) = 95 [pid 2106] writev(3, [{"\6", 1}, {"Netd\0", 5}, {"Unable to start DnsProxyListener"..., 61}], 3) = 67 Not entirely helpful. Sockets for system services are normally "premade" in Android in the init.rc file. Will look around, otherwise will check for MIUI version.
service zygote /system/xbin/strace -f -tt -o /cache/debug/boot.strace /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server Will make strace put out debug of zygote. Yay for more debug...
No help, make strace of just netd be put out. Argh.
Code: 1697 19:43:35.612710 open("/dev/log/main", O_WRONLY) = 3 1697 19:43:35.612897 open("/dev/log/radio", O_WRONLY) = 4 1697 19:43:35.613083 open("/dev/log/events", O_WRONLY) = 5 1697 19:43:35.625796 open("/dev/log/system", O_WRONLY) = 6 1697 19:43:35.626018 writev(3, [{"\4", 1}, {"Netd\0", 5}, {"Netd 1.0 starting\0", 18}], 3) = 24 1697 19:43:35.626365 brk(0x13000) = 0x13000 1697 19:43:35.626509 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7 1697 19:43:35.626663 getpid() = 1697 1697 19:43:35.626785 socket(PF_NETLINK, SOCK_DGRAM, 15) = 11 1697 19:43:35.626952 setsockopt(11, SOL_SOCKET, 0x21 /* SO_??? */, [65536], 4) = 0 1697 19:43:35.627099 setsockopt(11, SOL_SOCKET, SO_PASSCRED, [1], 4) = 0 1697 19:43:35.627234 bind(11, {sa_family=AF_NETLINK, pid=1697, groups=ffffffff}, 12) = 0 1697 19:43:35.627397 mmap2(NULL, 69632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40009000 1697 19:43:35.627557 getsockopt(11, SOL_SOCKET, SO_PEERCRED, "\0\0\0\0��������", [12]) = 0 1697 19:43:35.627718 pipe([12, 13]) = 0 1697 19:43:35.627891 mmap2(0x10000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x10000000 1697 19:43:35.628027 mprotect(0x10000000, 4096, PROT_NONE) = 0 1697 19:43:35.628173 clone(child_stack=0x100fff00, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_DETACHED) = 1698 1697 19:43:35.628371 listen(9, 4) = 0 1697 19:43:35.628495 pipe([14, 15]) = 0 1697 19:43:35.628648 mmap2(0x10000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x4001a000 1697 19:43:35.628782 mprotect(0x4001a000, 4096, PROT_NONE) = 0 1697 19:43:35.628923 clone(child_stack=0x40119f00, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_DETACHED) = 1699 1697 19:43:35.629080 listen(10, 4) = 0 1697 19:43:35.629203 pipe([16, 17]) = 0 1697 19:43:35.629356 mmap2(0x10000000, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x4011a000 1697 19:43:35.629521 mprotect(0x4011a000, 4096, PROT_NONE) = 0 1697 19:43:35.629667 clone(child_stack=0x40219f00, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_DETACHED) = 1700 1697 19:43:35.629820 nanosleep({1000, 0}, <unfinished ...> 1698 19:43:35.629966 syscall_983045(0x100fff00, 0x125c8, 0, 0x40, 0x100fff00, 0xaef01e71, 0x40009008, 0xf0005, 0x10000000, 0xaef01e71, 0x100000, 0x40009008, 0, 0x100ffee8, 0xafd120a0, 0xafd0c80c, 0x60000010, 0x100fff00, 0xb729, 0x7665642f, 0x676f6c2f, 0x7379732f, 0x6d6574, 0x64544800, 0x64696f72, 0x6f732e, 0, 0x6f, 0, 0, 0, 0) = 0 1698 19:43:35.630125 select(13, [11 12], NULL, NULL, NULL <unfinished ...> 1699 19:43:35.630262 syscall_983045(0x40119f00, 0x12728, 0, 0x40, 0x40119f00, 0xaef01e71, 0x12678, 0xf0005, 0x4001a000, 0xaef01e71, 0x100000, 0x12678, 0, 0x40119ee8, 0xafd120a0, 0xafd0c80c, 0x60000010, 0x40119f00, 0xb729, 0x7665642f, 0x676f6c2f, 0x7379732f, 0x6d6574, 0x64544800, 0x64696f72, 0x6f732e, 0, 0x6f, 0, 0, 0, 0) = 0 1699 19:43:35.630421 select(15, [9 14], NULL, NULL, NULL <unfinished ...> 1700 19:43:35.630553 syscall_983045(0x40219f00, 0x12768, 0, 0x40, 0x40219f00, 0xaef01e71, 0x112d8, 0xf0005, 0x4011a000, 0xaef01e71, 0x100000, 0x112d8, 0, 0x40219ee8, 0xafd120a0, 0xafd0c80c, 0x60000010, 0x40219f00, 0xb729, 0x7665642f, 0x676f6c2f, 0x7379732f, 0x6d6574, 0x64544800, 0x64696f72, 0x6f732e, 0, 0x6f, 0, 0, 0, 0) = 0 1700 19:43:35.630712 select(17, [10 16], NULL, NULL, NULLULL^C Before netd fs off into oblivion. Right, replacing netd then. Not keen - this is suppose to work out of the box.
Did not help. What I can gather: It loads its libraries fine, and then starts to listen for a connection. Then, a system call syscall_983045 goes unfinished. Prompting the crash in netd. Library dependencies for netd seems (so far from strace): c,sysutils,log,stdc++,m,cutils,netutils,crypto,z,hardware_legacy,utils,binder,wpa_client,bluedroid Guessing who is the culprit: Not c (C lib),stdc++ (standard c++ lib),wpa_client(WiFi),bluedroid (BT),hardware_legacy (lights),log (log),m (math), z (compression),crypto (crypto) Either cutils, sysutils, netutils, binder
Utils ldd: arm-none-eabi-ld: warning: libz.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: liblog.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: libcutils.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: libc.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: libstdc++.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: libm.so, needed by libutils.so, not found (try using -rpath or -rpath-link) arm-none-eabi-ld: warning: cannot find entry symbol _start; defaulting to 00008188 Replacing liblog and libcutils with MIUI versions. Lets have a look what breaks next
liblog added the following error: 1973 20:13:37.926040 open("/dev/log/libra", O_WRONLY) = -1 ENOENT (No such file or directory) Still no change in netd.
Trying libc, see if netd will budge
Googled for syscall_983045 Apparently used to spawn a service. Part of binder. Replacing binder as well. Crikey
Well if things break due to syscalls not going through, then we've hit a snag on kernel levels. Anyone got privy on where they hide the MIUI Optimus 2X kernel source?
cant find userdate partition
I followed this guide http://forum.xda-developers.com/showthread.php?t=1254225 and after running msm7227_semc.cmd i got this: process requires standard 2.x android firmware. Press any key to continue . . . Getting ROOT rights. * daemon not running. starting it now on port 5037 * * daemon started successfully * cannot stat 'bootTools\rageagainstthecage': No such file or directory Waiting ... Removing NAND MPU restrictions via SEMC backdoor. Permanent. Require ROOT rights . 120 KB/s (3087 bytes in 0.025s) Unable to open router port: Permission denied Diag_LSM: Diag_LSM_Init: Failed to open handle to diag driver, error = 13 ERR : MSG Open handle failed, unable to open program 30eeeeee ver 10001 NOT FOUND :FILE vendor/qcom-proprietary-msm7k/oncrpc/oncrpc/oncrpc_cb.c:LINE 231:ARG1 82 0965102:ARG2 65537:ARG3 0: ERR :MSG Couldn't setup RPC call :FILE vendor/qcom-proprietary-msm7k/oncrpc/on crpc/oncrpc_cb.c:LINE 276:ARG1 0:ARG2 0:ARG3 0: Error: Failed to lookup client for 0x30EEEEEE 0x00010001 FATAL :MSG Failed to lookup RPC client. prog = 820965102, vers = 65537, tout = 0 :FILE vendor/semc/system/core/miscta/libmiscta/rpc_service.c:LINE 65:ARG1 820 965102:ARG2 65537:ARG3 0: reboot: Operation not permitted Waiting ... Getting ROOT rights. Waiting ... Writing patched semcboot. Two step process First, we need get access to semcboot area 246 KB/s (8064 bytes in 0.032s) insmod: init_module '/data/local/tmp/mapper_2.6.29.ko' failed (Operation not per mitted) Second, we need to write semcboot 2340 KB/s (596916 bytes in 0.249s) can't find userdate partition Press any key to continue . . . Can someone help me with this please?
Found solution, which is: http://forum.xda-developers.com/showthread.php?t=1117100 Somehow x8toolbox managed to successfully unlock my phone
sysctl / init.d
I've been doing a lot of reading on these two system files. How do I tweak these settings for the HTC ONE? Everything I've read says that changing these items should work for any android system, yet, I cannot figure out how to do this.
Don't post questions in development. The kernel of a ROM needs to have init.d enabled to run scripts like Xposed installer, ViperMods, etc. Its usually specified in the ROM description if its enabled.
It actually needs to be enabled in the ramdisk of the boot.img, not the actual kernel.
First is sysctl -p then su sysctl -p. And sysctl.conf file at the end. I don't understand if everything is working correctly. [email protected]:/ $ export PATH=/data/local/bin:$PATH [email protected]:/ $ sysctl -p sysctl: error setting key 'vm.drop_caches': Permission denied sysctl: error setting key 'vm.oom_kill_allocating_task': Permission denied sysctl: error setting key 'vm.panic_on_oom': Permission denied sysctl: error setting key 'vm.dirty_background_ratio': Permission denied sysctl: error setting key 'vm.dirty_ratio': Permission denied sysctl: error setting key 'vm.vfs_cache_pressure': Permission denied sysctl: error setting key 'vm.overcommit_memory': Permission denied sysctl: error setting key 'vm.min_free_order_shift': Permission denied sysctl: error setting key 'vm.laptop_mode': Permission denied sysctl: error setting key 'vm.block_dump': Permission denied sysctl: error setting key 'vm.oom_dump_tasks': Permission denied sysctl: error setting key 'vm.swappiness': Permission denied sysctl: error setting key 'vm.dirty_writeback_centisecs': Permission denied sysctl: error setting key 'vm.dirty_expire_centisecs': Permission denied sysctl: error setting key 'vm.min_free_kbytes': Permission denied sysctl: error setting key 'fs.file-max': Permission denied sysctl: error setting key 'fs.inotify.max_queued_events': Permission denied sysctl: error setting key 'fs.inotify.max_user_instances': Permission denied sysctl: error setting key 'fs.inotify.max_user_watches': Permission denied sysctl: error setting key 'fs.lease-break-time': Permission denied sysctl: error: 'kernel.msgmax' is an unknown key sysctl: error: 'kernel.msgmni' is an unknown key sysctl: error setting key 'kernel.panic': Permission denied sysctl: error setting key 'kernel.random.read_wakeup_threshold': Permission denied sysctl: error setting key 'kernel.random.write_wakeup_threshold': Permission denied sysctl: error: 'kernel.sem' is an unknown key sysctl: error: 'kernel.shmmax' is an unknown key sysctl: error setting key 'kernel.threads-max': Permission denied sysctl: error setting key 'net.core.rmem_max': Permission denied sysctl: error setting key 'net.core.wmem_max': Permission denied sysctl: error setting key 'net.ipv4.tcp_rmem': Permission denied sysctl: error setting key 'net.ipv4.tcp_wmem': Permission denied sysctl: error setting key 'net.ipv4.tcp_timestamps': Permission denied sysctl: error setting key 'net.ipv4.tcp_sack': Permission denied sysctl: error setting key 'net.ipv4.tcp_congestion_control': Permission denied sysctl: error setting key 'net.ipv4.tcp_window_scaling': Permission denied sysctl: error setting key 'net.ipv4.tcp_tw_recycle': Permission denied sysctl: error setting key 'net.ipv4.tcp_tw_reuse': Permission denied [email protected]:/ $ su [email protected]:/ # sysctl -p vm.drop_caches = 3 vm.oom_kill_allocating_task = 0 vm.panic_on_oom = 0 vm.dirty_background_ratio = 70 vm.dirty_ratio = 90 vm.vfs_cache_pressure = 10 vm.overcommit_memory = 1 vm.min_free_order_shift = 4 vm.laptop_mode = 0 vm.block_dump = 0 vm.oom_dump_tasks = 1 vm.swappiness = 60 vm.dirty_writeback_centisecs = 500 vm.dirty_expire_centisecs = 250 vm.min_free_kbytes = 4096 fs.file-max = 524288 fs.inotify.max_queued_events = 32000 fs.inotify.max_user_instances = 256 fs.inotify.max_user_watches = 10240 fs.lease-break-time = 10 sysctl: error: 'kernel.msgmax' is an unknown key sysctl: error: 'kernel.msgmni' is an unknown key kernel.panic = 10 kernel.random.read_wakeup_threshold = 128 kernel.random.write_wakeup_threshold = 256 sysctl: error: 'kernel.sem' is an unknown key sysctl: error: 'kernel.shmmax' is an unknown key kernel.threads-max = 524288 net.core.rmem_max = 524288 net.core.wmem_max = 524288 sysctl: short write 1|[email protected]:/ # Sysctl.conf file vm.drop_caches=3 vm.oom_kill_allocating_task=0 vm.panic_on_oom=0 vm.dirty_background_ratio=70 vm.dirty_ratio=90 vm.vfs_cache_pressure=10 vm.overcommit_memory=1 vm.min_free_order_shift=4 vm.laptop_mode=0 vm.block_dump=0 vm.oom_dump_tasks=1 vm.swappiness=60 vm.dirty_writeback_centisecs=500 vm.dirty_expire_centisecs=250 vm.min_free_kbytes=4096 fs.file-max=524288 fs.inotify.max_queued_events=32000 fs.inotify.max_user_instances=256 fs.inotify.max_user_watches=10240 fs.lease-break-time=10 kernel.msgmax=65536 kernel.msgmni=2048 kernel.panic=10 kernel.random.read_wakeup_threshold=128 kernel.random.write_wakeup_threshold=256 kernel.sem='500 512000 64 2048' kernel.shmmax=268435456 kernel.threads-max=524288 net.core.rmem_max=524288 net.core.wmem_max=524288 net.ipv4.tcp_rmem='6144 87380 524288' net.ipv4.tcp_wmem='6144 87380 524288' net.ipv4.tcp_timestamps=0 net.ipv4.tcp_sack=1 net.ipv4.tcp_congestion_control=cubic net.ipv4.tcp_window_scaling=1 net.ipv4.tcp_tw_recycle=1 net.ipv4.tcp_tw_reuse=1
[FIX] Another fix for camera issue
This was as a result of looking at my logcat and seeing multiple errors coming from sensors Code: E/Sensors (20433): sns_main.c(447):Timeout waiting for SMGR service. Exit sensors daemon! E/Sensors (20433): sns_main.c(561):Exiting! Err 0 E/Sensors (20486): sns_fsa_la.c(89):invalid directory path -128 E/Sensors (20486): sns_reg_la.c(296):Error creating registry file E/Sensors (20486): sns_fsa_la.c(448):realpath failed for directory name2 E/Sensors (20486): sns_fsa_la.c(448):realpath failed for directory name2 E/Sensors (20486): sns_debug_main.c(294):Debug Config File missing in EFS! E/libsensor1(20486): realpath failed for directory name2 E/Sensors (20486): aon_control.c(119):inotify_add_watch::/persist/sensors failed E/libsensor1(20486): realpath failed for directory name2 E/libsensor1(20486): check_sensors_enabled: open error: settings file "/persist/sensors/sensors_settings", errno 2 E/libsensor1(20486): check_sensors_enabled: inotify error: settings path "/persist/sensor", errno 2 E/libsensor1(20486): check_sensors_enabled: Sensors enabled = false E/libsensor1(20486): realpath failed for directory name2 E/libsensor1(20486): check_sensors_enable: sensors settings file not available E/libsensor1(20486): wait_for_service: sensors setting disabled sensors Found out that my /persist partition didn't have any files in it, just directories that were empty What I did is this: In orangefox, make sure /persist is unmounted or you'll get an error 1> extracted persist.img from MIUI global rom 2> copied persist.img to my sd card via orangefox 3> adb shell to my phone while it was in orangefox 4> cd /sdcard1 5> dd if=persist.img of=/dev/block/mmcblk0p55 6> reboot Now my camera works and auto rotate works as well as the Prox sensor. I hope this helps someone.