Jump to content

【ICS】LiGux v4 for Huawei Ascend G300 [2012-06-29][version 0.0.5]


Guest qiwu huang

Recommended Posts

Guest timfimjim

There is no Play Store so I'm guessing I'm going to have to flash the Gapps for that? (I'm a bit rusty with CM)

Yeah you need to flash g apps to get play store :)

Link to comment
Share on other sites

Guest anything-but

How`d we get the market and a file explorer on this rom? Just flashing gapps through recovery gets it fc all the time and it`d be handy to be able to brows files on the phone too. :)

....just noticed above post. :D

Flashing gapps don`t work,just keeps fc`ing.

Edited by anything-but
Link to comment
Share on other sites

Guest qiwu huang

How`d we get the market and a file explorer on this rom? Just flashing gapps through recovery gets it fc all the time and it`d be handy to be able to brows files on the phone too.

....just noticed above post.

Flashing gapps don`t work,just keeps fc`ing.

Could you provider logcat?

Link to comment
Share on other sites

Guest anything-but

Gapps is ok now,i was flashing the wrong version,forgot it`s a ics rom and was using the gingerbread version instead! Market,mail are working fine via mobile data....but slow because i live out of town. :(

But the roms great,good work qiwu.

Link to comment
Share on other sites

Guest qiwu huang

camera logcat

who can help me


I/CameraService(  113): CameraService started (pid=113)

E/CameraHAL(  113): CameraHAL_GetNum_Cameras:

D/CameraHAL(  113): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000ee20

D/CameraHAL(  113): CameraHAL_GetNum_Cameras: numCameras:1

W/PackageManager(  213): Package com.android.camera desires unavailable shared library com.google.android.media.effects; ignoring!

I/ActivityManager(  213): START {act=android.media.action.STILL_IMAGE_CAMERA flg=0x10000000 cmp=com.android.camera/.Camera} from pid 213

I/ActivityManager(  213): Start proc com.android.camera for activity com.android.camera/.Camera: pid=604 uid=10008 gids={1006, 1015}

D/CameraHAL(  113): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000ee20

V/CameraHolder(  604): open camera 0

D/CameraHAL(  113): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000ee20

I/CameraService(  113): Opening camera 0

D/CameraHAL(  113): qcamera_device_open: name:0 device:0x4b8a14 cameraId:0

D/CameraHAL(  113): loading libcamera at 0xb000ee20

D/QualcommCameraHardware(  113): createInstance: E

D/QualcommCameraHardware(  113): ==MyLOG==函数==createInstance

D/QualcommCameraHardware(  113): ==MyLOG==函数==createInstance====2

D/QualcommCameraHardware(  113): ==MyLOG==函数==createInstance====/dev/oncrpc

I/QualcommCameraHardware(  113): ==MyLOG==函数==createInstance====createInstance: created hardware=0x4c1fe8

D/QualcommCameraHardware(  113): ==MyLOG==函数==createInstance====sp<QualcommCameraHardware> hardware(cam);

I/DEBUG   (  108):		  #00  pc 0000c21e  /system/lib/libcamera.so (_ZN7android22QualcommCameraHardware11startCameraEv)

I/DEBUG   (  108):		  #01  pc 0000d24a  /system/lib/libcamera.so (_ZN7android22QualcommCameraHardware14createInstanceEv)

I/DEBUG   (  108):		  #02  pc 0000d338  /system/lib/libcamera.so (openCameraHardware)

I/DEBUG   (  108):		  #03  pc 00002cc2  /system/lib/hw/camera.msm7627a.so (_Z19qcamera_device_openPK11hw_module_tPKcPP11hw_device_t)

I/DEBUG   (  108):		  #04  pc 0000ab24  /system/lib/libcameraservice.so (_ZN7android13CameraService7connectERKNS_2spINS_13ICameraClientEEEi)

I/DEBUG   (  108):		  #05  pc 000174b6  /system/lib/libcamera_client.so (_ZN7android15BnCameraService10onTransactEjRKNS_6ParcelEPS1_j)

I/DEBUG   (  108):		  #06  pc 00008d42  /system/lib/libcameraservice.so (_ZN7android13CameraService10onTransactEjRKNS_6ParcelEPS1_j)

I/DEBUG   (  108):	 bea9b8b0  41113320  /system/lib/hw/camera.msm7627a.so

I/DEBUG   (  108):	 bea9b8bc  41120215  /system/lib/libcamera.so

I/DEBUG   (  108):	 bea9b8c0  41123659  /system/lib/libcamera.so

I/DEBUG   (  108):	 bea9b8c4  41125a44  /system/lib/libcamera.so

I/DEBUG   (  108):	 bea9b8cc  41113320  /system/lib/hw/camera.msm7627a.so

I/DEBUG   (  108):	 bea9b8d0  4111279e  /system/lib/hw/camera.msm7627a.so

I/DEBUG   (  108):	 bea9b8e0  4111ef05  /system/lib/libcamera.so

I/DEBUG   (  108):	 bea9b8f4  411259f0  /system/lib/libcamera.so

I/DEBUG   (  108):	 bea9b900  41125700  /system/lib/libcamera.so

I/DEBUG   (  108):	 bea9b90c  4112124f  /system/lib/libcamera.so

I/DEBUG   (  108):	 bea9b994  4112133d  /system/lib/libcamera.so

E/CameraHolder(  604): fail to connect Camera

E/CameraHolder(  604): java.lang.RuntimeException: Fail to connect to camera service

E/CameraHolder(  604):     at android.hardware.Camera.native_setup(Native Method)

E/CameraHolder(  604):     at android.hardware.Camera.<init>(Camera.java:320)

E/CameraHolder(  604):     at android.hardware.Camera.open(Camera.java:280)

E/CameraHolder(  604):     at com.android.camera.CameraHolder.open(CameraHolder.java:131)

E/CameraHolder(  604):     at com.android.camera.Util.openCamera(Util.java:267)

E/CameraHolder(  604):     at com.android.camera.Camera$4.run(Camera.java:1153)

E/CameraHolder(  604):     at java.lang.Thread.run(Thread.java:856)

W/Camera  (  604): Camera server died!

I/ServiceManager(  105): service 'media.camera' died

I/CameraService(  672): CameraService started (pid=672)

E/CameraHAL(  672): CameraHAL_GetNum_Cameras:

D/CameraHAL(  672): CameraHAL_GetNum_Cameras: loading libcamera at 0xb000ee20

D/CameraHAL(  672): CameraHAL_GetNum_Cameras: numCameras:1

V/camera  (  604): surfaceChanged. w=480. h=640

I/ActivityManager(  213): Displayed com.android.camera/.Camera: +3s340ms


Link to comment
Share on other sites

Guest Frankish

I think wifi and Bluetooth will be fairly easy to fix. Got a feeling we will be without camera for a while though...

Rom runs great after testing, although at the moment I need wifi tethering. Great work to you guys!

Link to comment
Share on other sites

Guest Davidoff59

Rom is great.

Regarding camera, these items stand out for me.

V/camera ( 604): surfaceChanged. w=480. h=640 Is this size correct, I dont think it is

I/DEBUG ( 108): bea9b8cc 41113320 /system/lib/hw/camera.msm7627a.so Phone version is msm7227a. Possible incorrect libcamera.so files

W/PackageManager( 213): Package com.android.camera desires unavailable shared library com.google.android.media.effects; ignoring!

Google points to SDK emulation errors and I see no info of this error being on a phone

Link to comment
Share on other sites

Guest Davidoff59

Wifi log

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiStateMachine( 220): Failed to setup control channel, restart supplicant

D/dalvikvm( 1607): GC_CONCURRENT freed 1713K, 35% free 13290K/20295K, paused 2ms+4ms

D/dalvikvm( 1607): GC_FOR_ALLOC freed 3377K, 38% free 12634K/20295K, paused 26ms

E/Sensors ( 220): ProximitySensor: unknown event (type=0, code=0)

W/ActivityManager( 220): finishReceiver called but no pending broadcasts

W/ActivityManager( 220): finishReceiver called but no pending broadcasts

W/ActivityManager( 220): finishReceiver called but no pending broadcasts

W/ActivityManager( 220): finishReceiver called but no pending broadcasts

D/SoftapController( 109): Softap fwReload - Ok

D/NetworkManagementService( 220): rsp <213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]>

D/NetworkManagementService( 220): flags <[down broadcast multicast]>

D/CommandListener( 109): Setting iface cfg

D/CommandListener( 109): Trying to bring down eth0

D/CommandListener( 109): broadcast flag ignored

D/CommandListener( 109): multicast flag ignored

E/WifiHW ( 220): Unable to open connection to supplicant on "eth0": No such file or directory

E/wpa_supplicant( 2167): ioctl[sIOCSIFFLAGS]

E/wpa_supplicant( 2167): ioctl[sIOCSIWPMKSA]

E/wpa_supplicant( 2167): ioctl[sIOCSIWMODE]

E/wpa_supplicant( 2167): ioctl[sIOCGIRANGE]

E/wpa_supplicant( 2167): ioctl[sIOCGIWMODE]

E/wpa_supplicant( 2167): ioctl[sIOCSIWPMKSA]

E/wpa_supplicant( 2167): Failed to initialize control interface 'eth0'.

E/wpa_supplicant( 2167): You may have another wpa_supplicant process already running or the file was

E/wpa_supplicant( 2167): left by an unclean termination of wpa_supplicant in which case you will need

E/wpa_supplicant( 2167): to manually remove this file before starting wpa_supplicant again.

I/wpa_supplicant( 2167): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00

E/wpa_supplicant( 2167): Failed to disable WPA in the driver.

E/wpa_supplicant( 2167): ioctl[sIOCGIWMODE]

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiStateMachine( 220): Failed to setup control channel, restart supplicant

E/WifiHW ( 220): Supplicant not running, cannot connect

D/NetworkManagementService( 220): rsp <213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]>

D/NetworkManagementService( 220): flags <[down broadcast multicast]>

D/CommandListener( 109): Setting iface cfg

D/CommandListener( 109): Trying to bring down eth0

D/CommandListener( 109): broadcast flag ignored

D/CommandListener( 109): multicast flag ignored

D/SoftapController( 109): Softap fwReload - Ok

E/WifiHW ( 220): Unable to open connection to supplicant on "eth0": No such file or directory

E/wpa_supplicant( 2169): ioctl[sIOCSIFFLAGS]

E/wpa_supplicant( 2169): ioctl[sIOCSIWPMKSA]

E/wpa_supplicant( 2169): ioctl[sIOCSIWMODE]

E/wpa_supplicant( 2169): ioctl[sIOCGIRANGE]

E/wpa_supplicant( 2169): ioctl[sIOCGIWMODE]

E/wpa_supplicant( 2169): ioctl[sIOCSIWPMKSA]

E/wpa_supplicant( 2169): Failed to initialize control interface 'eth0'.

E/wpa_supplicant( 2169): You may have another wpa_supplicant process already running or the file was

E/wpa_supplicant( 2169): left by an unclean termination of wpa_supplicant in which case you will need

E/wpa_supplicant( 2169): to manually remove this file before starting wpa_supplicant again.

I/wpa_supplicant( 2169): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00

E/wpa_supplicant( 2169): Failed to disable WPA in the driver.

E/wpa_supplicant( 2169): ioctl[sIOCGIWMODE]

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiHW ( 220): Supplicant not running, cannot connect

E/WifiStateMachine( 220): Failed to setup control channel, restart supplicant

D/SoftapController( 109): Softap fwReload - Ok

D/CommandListener( 109): Setting iface cfg

D/CommandListener( 109): Trying to bring down eth0

D/CommandListener( 109): broadcast flag ignored

D/CommandListener( 109): multicast flag ignored

D/NetworkManagementService( 220): rsp <213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]>

D/NetworkManagementService( 220): flags <[down broadcast multicast]>

E/WifiHW ( 220): Unable to open connection to supplicant on "eth0": No such file or directory

E/wpa_supplicant( 2173): ioctl[sIOCSIFFLAGS]

E/wpa_supplicant( 2173): ioctl[sIOCSIWPMKSA]

E/wpa_supplicant( 2173): ioctl[sIOCSIWMODE]

Link to comment
Share on other sites

Guest Davidoff59

I checked this and its correct.

open a CMD window in the folder of your android SDK(where adb.exe is located) and type in:

adb pull /system/etc/wifi/wpa_supplicant.conf

edit the file with wordpad, notepad will break some line breaks in the file, wierd i know.

search for: ctrl_interface

change its value to: eth0

Example it used to be:

ctrl_interface=/data/system/wpa_supplicant

And now it looks like:

ctrl_interface=eth0

Link to comment
Share on other sites

Guest Gary_J_Wright

I checked this and its correct.

open a CMD window in the folder of your android SDK(where adb.exe is located) and type in:

adb pull /system/etc/wifi/wpa_supplicant.conf

edit the file with wordpad, notepad will break some line breaks in the file, wierd i know.

search for: ctrl_interface

change its value to: eth0

Example it used to be:

ctrl_interface=/data/system/wpa_supplicant

And now it looks like:

ctrl_interface=eth0

it already is set to this

Link to comment
Share on other sites

Guest Davidoff59

Yes it is.

edit this is what its set to

update_config=1

ctrl_interface=eth0

eapol_version=1

ap_scan=2

fast_reauth=1

Edited by Davidoff59
Link to comment
Share on other sites

Guest FrankieADZ

would try it myself....but all the has flown way over my head, im learning all this slowly but thats a bit too advanced for me atm lol

Link to comment
Share on other sites

Guest Gary_J_Wright

Yes it is.

edit this is what its set to

update_config=1

ctrl_interface=eth0

eapol_version=1

ap_scan=2

fast_reauth=1

err now im getting confused, or word blind as it seems the same!!

Link to comment
Share on other sites

Guest Davidoff59

Sorry Gary, see above, I say I checked that and its correct, as in the setting is set correctly. The message below that was a copy and paste off a page that I was getting my help from.

This is what I did after checking that file was correct.

in the CMD window do:

adb push wpa_supplicant.conf /system/etc/wifi/

adb shell

chmod 777 /system/etc/wifi/wpa_supplicant.conf

Now we need to restart the wpa_supplicant daemon, we do that this way:

in your CMD window still in adb shell type top and press enter.

watch close for a line to fly by like this one:

1399 0% S 1 1904K 996K fg root /system/bin/wpa_supplicant

when you catch it hit CTRL + C and make note of the number at the beginning of that line on your device.

now in your CMD window do:

adb shell

kill (number of the line you found)

This bit isnt appearing so I cant kill it so it appears that it isnt running

watch close for a line to fly by like this one:

1399 0% S 1 1904K 996K fg root /system/bin/wpa_supplicant

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.