kernel problem in u8350 - Android

hi im user of u8350 boulder i using my own ported cyanogen from u8150 but there is a problem in AKMD2 module,i've logcat it and it said that compassd : open failed! so i decided to change the akmd2 in init in kernel from
service akmd /system/bin/akmd2
user compass
group compass misc input
to
service akmd /system/bin/akmd2
disabled
oneshot
like in the original kernel
but it make the devices wont boot :O anyone can help me? ._.

zenaufa said:
hi im user of u8350 boulder i using my own ported cyanogen from u8150 but there is a problem in AKMD2 module,i've logcat it and it said that compassd : open failed! so i decided to change the akmd2 in init in kernel from
service akmd /system/bin/akmd2
user compass
group compass misc input
to
service akmd /system/bin/akmd2
disabled
oneshot
like in the original kernel
but it make the devices wont boot anyone can help me? ._.
Click to expand...
Click to collapse
Fixed

Related

Problems with Transparent Proxy.

Hi, i have a folio 100 rooted with SuperOneClick, but when i try to connect me to a proxy with Transparent Proxy it says:
failed to start redirect.sh
permission denied
i find a solution and now i have root access with the app, but when I try to turn the proxy on, I get this error:
"Failed to start redirect.sh (FIX ME! implement
getprotobyname() bionic/libc/bionic/stubs.c:378
iptabels v1.3.7: can't initialize iptables table 'nat':iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel need to be upgraded"
the message repeats.
Nobody has a solution?
gilms said:
Nobody has a solution?
Click to expand...
Click to collapse
I don't have a 'solution' but you can diagnose the problem more easily if you have the file /proc/config.gz on your device... copy it off and unzip, open and look for:
Code:
#
# IP: Netfilter Configuration
#
These are the ones that probably matter?
Code:
CONFIG_NF_CONNTRACK_IPV4=y
CONFIG_IP_NF_IPTABLES=y
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REDIRECT=y
I have a lot more set to =y on my device (Atrix)
You probably also need to have the 'iptables' binary in /sbin
You'd probably do best to start from a newer kernel that some dev modded for your device, and already enabled netfilter... then all you need is iptables

[Q] [Siyah] [Tungstwenty gestures] Triggering actions with touch gestures not working

Hello Everybody,
I have flashed my phone with gestures script TouchGesturesSample-v1.1-s3-CWM.zip as described in this thread
http://forum.xda-developers.com/showthread.php?t=1831254&page=4
Of course i have the latest Siyah kernel on my Samsung S3 i9300/ ROM: XXDLJ4/ no mods, other scripts installed/ I have Tasker installed but i'm not usuing any gestures there
The instalation was successfull - no issues, but the gestures are not working - nothing happens
So I have tried to execute it manually. This is what I get
[email protected]:/system/etc/init.d # ls -l
-rwxr-xr-x root shell 5663 2008-08-01 14:00 S50GestureActions
127|[email protected]:/system/etc/init.d #
S50GestureActions
sh: S50GestureActions: not found
127|[email protected]:/system/etc/init.d #
./S50GestureActions
./S50GestureActions: line 52: can't create /sys/devices/virtual/misc/touch_gestures/gesture_patterns: nonexistent directory
There is a problem with the line 52:
" > /sys/devices/virtual/misc/touch_gestures/gesture_patterns
I have tried to make this directory manually, but it is not permitted, even with root.
Can anyone help? How to move forward? Pls help! I want to have this great feature on my phone.
Guys,
Pls help. I don't how to move forward

[DEVS]Lets fix cm9!

All dev related posts for fixing cm9 will come here.
All ideas are welcome but dont post for eta and stuff like that..
Currently fixing: Bluetooth
ToDo:
Camera
Internal memory
Graphic flickering
Audio(partially working)
Anything else?
Fixed:Wifi
My device tree: https://github.com/hell-lock-xda/android_device_htc_protou
If you manage to fix anything then send me a pull request.
prototype-U said:
All dev related posts for fixing cm9 will come here.
All ideas are welcome but dont post for eta and stuff like that..
Currently fixing: WiFi
ToDo: Bluetooth
Camera
Internal memory
Graphic flickering
Audio(partially working)
Anything else?
My device tree: https://github.com/hell-lock-xda/android_device_htc_protou
If you manage to fix anything then send me a pull request.
Click to expand...
Click to collapse
Fixed:
Camera atis 112 fixed it (if permissions were granted )
Internal Memory ( same as above )
I'll try ti fix graphical glitches
And wait have you tried using stuff from lliors device trees/ github?
The Android Manual said:
Fixed:
Camera atis 112 fixed it (if permissions were granted )
Internal Memory ( same as above )
I'll try ti fix graphical glitches
And wait have you tried using stuff from lliors device trees/ github?
Click to expand...
Click to collapse
Where is the fix??
BTW @all the above device tree is not working properly.. pls dont compile it.. I will soon make a working device tree
prototype-U said:
Where is the fix??
BTW @all the above device tree is not working properly.. pls dont compile it.. I will soon make a working device tree
Click to expand...
Click to collapse
In atis112's guthub his cm9 build has a functioning camera and internal memory
The Android Manual said:
In atis112's guthub his cm9 build has a functioning camera and internal memory
Click to expand...
Click to collapse
I have his tree forked and camera is nt working.. dunno abt internal
Good news and bad news for ya all!
Bad news:Wifi is still not working properly
Good news:WiFi drivers are loading properly! But its showing probs with supplicant. I was able to replicate such problems on stock rom too so we are pretty close to fixing it!
Code:
23:26:55.120 Error WifiHW 294 Supplicant not running, cannot connect
23:26:44.093 Info logwrapper 4398 /system/bin/wpa_supplicant terminated by exit(255)
23:26:44.093 Error wpa_supplicant 4401 wlan0: Unsupported driver 'nl80211'
23:26:39.065 Error WifiStateMachine 294 Failed to setup control channel, restart supplicant
23:26:24.107 Error wpa_supplicant 3977 wlan0: Unsupported driver 'nl80211'
23:26:24.107 Info logwrapper 3974 /system/bin/wpa_supplicant terminated by exit(255)
Adding the commit to github and will work on that driver..
prototype-U said:
Good news and bad news for ya all!
Bad news:Wifi is still not working properly
Good news:WiFi drivers are loading properly! But its showing probs with supplicant. I was able to replicate such problems on stock rom too so we are pretty close to fixing it!
Code:
23:26:55.120 Error WifiHW 294 Supplicant not running, cannot connect
23:26:44.093 Info logwrapper 4398 /system/bin/wpa_supplicant terminated by exit(255)
23:26:44.093 Error wpa_supplicant 4401 wlan0: Unsupported driver 'nl80211'
23:26:39.065 Error WifiStateMachine 294 Failed to setup control channel, restart supplicant
23:26:24.107 Error wpa_supplicant 3977 wlan0: Unsupported driver 'nl80211'
23:26:24.107 Info logwrapper 3974 /system/bin/wpa_supplicant terminated by exit(255)
Adding the commit to github and will work on that driver..
Click to expand...
Click to collapse
can you upload the built you made??
mhb92 said:
can you upload the built you made??
Click to expand...
Click to collapse
I hate posting here, but if you want the build, check out the sources.
Sent from my awesome, stock, Nexus7!
i will be able to check source from my main pc next week..thats why i want the built rom...i wanna check something about supplicant file
mhb92 said:
i will be able to check source from my main pc next week..thats why i want the built rom...i wanna check something about supplicant file
Click to expand...
Click to collapse
I will upload it in few hrs from now..
new build is compiling
Ok..! Waiting for link
Sent from my HTC Desire X using xda app-developers app
So guys here is the latest build. Sorry I cant put it on d-h.st cuz my connection is slow and I will prefer github until we fix all the bugs.
https://github.com/hell-lock-xda/cm9-packages
Just click on zip.
And the kernel is here..
http://d-h.st/zSS
prototype-U said:
So guys here is the latest build. Sorry I cant put it on d-h.st cuz my connection is slow and I will prefer github until we fix all the bugs.
https://github.com/hell-lock-xda/cm9-packages
Just click on zip.
And the kernel is here..
http://d-h.st/zSS
Click to expand...
Click to collapse
https://raw.github.com/hell-lock-xda/cm9-packages/master/cm-9-20130505-UNOFFICIAL-protou.zip
Error: blob is too big
BTW:
init.rc, that loads the wpa_supplicant service, also specifies nl80211.
WiFi almost fixed. It gets turned on but still few errors left to fix(scanning and stuff not working till now).
Code:
18:47:17.788 Info wpa_supplicant 2988 rfkill: Cannot open RFKILL control device
18:47:17.898 Info wpa_supplicant 2988 WPS: Converting push_button to virtual_push_button for WPS 2.0 compliance
18:47:18.007 Error WifiConfigStore 298 Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
18:47:18.007 Error wpa_supplicant 2988 wpa_driver_nl80211_driver_cmd: failed to issue private commands
18:47:18.007 Error WifiStateMachine 298 Failed to set country code in
18:47:18.007 Error wpa_supplicant 2988 wpa_driver_nl80211_driver_cmd: failed to issue private commands
18:47:18.007 Info wpa_supplicant 2988 wlan0: CTRL-EVENT-DRIVER-STATE HANGED
18:47:18.007 Error WifiStateMachine 298 Failed to set frequency band 0
18:47:18.007 Debug CommandListener 137 Clearing all IP addresses on wlan0
18:47:18.007 Info wpa_supplicant 2988 wlan0: CTRL-EVENT-TERMINATING
18:47:18.224 Debug SoftapController 137 Softap fwReload - Ok
18:47:18.224 Debug CommandListener 137 Setting iface cfg
18:47:18.224 Debug CommandListener 137 Trying to bring down wlan0
When I press on "ON", it turns on and then off... this keeps on happening.. so we did something productive today
Wifi fixed!!!!!!!!!!yeyeyeyeyey!!
YEAAAHHHH!
prototype-U said:
Wifi fixed!!!!!!!!!!yeyeyeyeyey!!
Click to expand...
Click to collapse
I love you lol Lets apply it on PA! What do you say?
The Android Manual said:
I love you lol Lets apply it on PA! What do you say?
Click to expand...
Click to collapse
tomorrow :highfive:
prototype-U said:
tomorrow :highfive:
Click to expand...
Click to collapse
Copy That :highfive:
so is wifi fully working now???
mhb92 said:
so is wifi fully working now???
Click to expand...
Click to collapse
Yes

[Q] Help this newbie

ported many roms but this is my first rom which has not stuck in boot animation screen im happy but this logcat is kind of pain.(
E/logwrapper( 111): executing /system/bin/e2fsck failed: No such file or directory
E/ ( 171): coming in huawei_oem_rapi_streaming_function! event=213.
E/mm-camera( 153): qcamsvr_start: old_mode = 3f
E/mm-camera( 153): qcamsvr_load_gesture_lib Error opening gesture library
E/mm-camera( 153): Cannot init Gesture library
E/cutils ( 143): Failed to read /data/.layout_version: No such file or directory
E/ ( 142): Qint android::get_number_of_cameras(): E
W/InterfaceController( 134): Warning (dlopen failed: library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
after booting the rom it show com.process.phone.android stopped working , systemui stopped woorking
what is the solution ? i cant locate system/lib/libnetcmdiface.so this file neither in base nor port rom..
for which device did you port we need more info....
Thanks for answering
vovaftw said:
for which device did you port we need more info....
Click to expand...
Click to collapse
i have ported for HUawei y201 Pro
USed rom made for Huawei G300
there are so much builds of Cm which are ported from g300 to y201 pro so i tried to port pac rom but faced this thing..
guide
vovaftw said:
for which device did you port we need more info....
Click to expand...
Click to collapse
please guide me .
Thanks
add me on Skype vova50006
ok
vovaftw said:
add me on Skype vova50006
Click to expand...
Click to collapse
thanks for ans im adding you

pls help to execute my service on init.rc

Hi
i have problem when i want to run my service on init.rc
and here is my example code
Code:
on property:sys.boot_completed=1
start myservice
service myservice /etc/myscript.sh
class main
user root
oneshot
then after finish boot i found log where my script cannot run
Code:
init: myservice does not have a SELinux domain defined
what should i do??
my script are working on android 6.0
and not run since android 8.0 up
many thanks
bump
bump
bump again
i happen to read your disgusting comment in AOSP Pie thread, and you're such an embarassment for Indonesia.
i see your profile, you're posting and asking so much simple thing, what a joke lol.
if you're this stupid and don't know so much thing, it's better to teach your chicken-asshole-mouth a proper manner and grow some hair on your balls, it means GROW UP.
what an embarassment to Indonesia.

Categories

Resources