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

Root [DEV] Continuing Triumph ICS Development

Sorry, I'm a huge noob when it comes to Unix terminal commands. I just learned cp. Lol.
How would you grep for this?
I've tried
grep -i 'no_assert=false' *
But it didn't bring anything back

EDIT:
Oh god finally.
Do you get excited everytime you see something like this?

Yeah, lately I've been running into so many build errors that I'm actually pretty surprised to see a completed build too! As far as linux commands, I'm pretty much a noob too. If anyone wants a linux reference book, I'd recommend "Linux in a nutshell". It's a pretty good reference for linux.

The grep command that I usually use is this.

grep -R -n "text I'm looking for" * > ~/Desktop/filename.txt

Where "text i'm looking for" is the text and the filename.txt is just some random text file that I want the results to be written to. I just find it easier to look in a text file than trying to scroll up and down my terminal screen. The -R makes it recurse into subdirectories and the -n lists the line number where the text was found. I usually run this command at the topmost directory of my ICS repos if I don't know exactly where the text is. It takes a while but at least I'm pretty sure that I've searched everywhere.

Okay. CNA boots up, RIL works (SMS and calling)
Headsets aren't working, I've found the commit for that though.
Data isn't working.
Of course, Camera isn't working.
Wifi isn't working:
E/WifiStateMachine( 202): Failed to load driver!
E/WifiStateMachine( 202): DriverFailedState

Mantera, is there a commit for a fix for wifi?

For wifi, if you have my device folder, then you should already have part of it. The rest are iirc:

https://github.com/mantera/android_...mmit/2fb701633389602b87bdd3915ee3aa7f24d09496

https://github.com/mantera/android_...mmit/47859fb4ac47191f93d1eba15cabdaf1de3f9c58
 
I actually would be interested in an IRC chatroom for developing. Feels like I'd get info faster.

Wifi is partly working with that commit. Got anymore? This is the newest logcat.
Code:
W/WifiHW  (  217): Running WIFI pre-loader
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2 
E/WifiStateMachine(  217): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon 
D/CommandListener(   99): Setting iface cfg
D/CommandListener(   99): Trying to bring down wlan0
D/CommandListener(   99): broadcast flag ignored
D/CommandListener(   99): multicast flag ignored
D/NetworkManagementService(  217): rsp <213 00:11:94:bd:d4:5f 0.0.0.0 0 [down broadcast multicast]>
D/NetworkManagementService(  217): flags <[down broadcast multicast]>
E/WifiHW  (  217): Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0": No such file or directory
D/wpa_supplicant( 1033): Initializing interface 'wlan0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 1033): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 1033): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 1033): ctrl_interface='DIR=/data/system/wpa_supplicant GROUP=wifi'
D/wpa_supplicant( 1033): update_config=1
D/wpa_supplicant( 1033): eapol_version=1
D/wpa_supplicant( 1033): ap_scan=2
D/wpa_supplicant( 1033): fast_reauth=1
D/wpa_supplicant( 1033): Initializing interface (2) 'wlan0'
D/wpa_supplicant( 1033): Interface wlan0 set UP - waiting a second for the driver to complete initialization
E/WifiHW  (  217): Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0": No such file or directory
D/wpa_supplicant( 1033): SIOCGIWRANGE: WE(compiled)=22 WE(source)=22 enc_capa=0xf
D/wpa_supplicant( 1033):   capabilities: key_mgmt 0xf enc 0xf flags 0x0
D/wpa_supplicant( 1033): WEXT: Operstate: linkmode=1, operstate=5
D/wpa_supplicant( 1033): Own MAC address: 00:11:94:bd:d4:5f
D/wpa_supplicant( 1033): wpa_driver_wext_set_wpa
D/wpa_supplicant( 1033): wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
D/wpa_supplicant( 1033): wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
D/wpa_supplicant( 1033): wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
D/wpa_supplicant( 1033): wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
D/wpa_supplicant( 1033): wpa_driver_wext_set_countermeasures
D/wpa_supplicant( 1033): wpa_driver_wext_set_drop_unencrypted
D/wpa_supplicant( 1033): RSN: flushing PMKID list in the driver
D/wpa_supplicant( 1033): Setting scan request: 0 sec 100000 usec
D/wpa_supplicant( 1033): WPS: Build Beacon and Probe Response IEs
D/wpa_supplicant( 1033): WPS:  * Version
D/wpa_supplicant( 1033): WPS:  * Wi-Fi Protected Setup State (0)
D/wpa_supplicant( 1033): WPS:  * Version
D/wpa_supplicant( 1033): WPS:  * Wi-Fi Protected Setup State (0)
D/wpa_supplicant( 1033): WPS:  * Response Type (2)
D/wpa_supplicant( 1033): WPS:  * UUID-E
D/wpa_supplicant( 1033): WPS:  * Manufacturer
D/wpa_supplicant( 1033): WPS:  * Model Name
D/wpa_supplicant( 1033): WPS:  * Model Number
D/wpa_supplicant( 1033): WPS:  * Serial Number
D/wpa_supplicant( 1033): WPS:  * Primary Device Type
D/wpa_supplicant( 1033): WPS:  * Device Name
D/wpa_supplicant( 1033): WPS:  * Config Methods (0)
D/wpa_supplicant( 1033): WPS:  * RF Bands (3)
D/wpa_supplicant( 1033): EAPOL: SUPP_PAE entering state DISCONNECTED
D/wpa_supplicant( 1033): EAPOL: KEY_RX entering state NO_KEY_RECEIVE
D/wpa_supplicant( 1033): EAPOL: SUPP_BE entering state INITIALIZE
D/wpa_supplicant( 1033): EAP: EAP entering state DISABLED
D/wpa_supplicant( 1033): Using existing control interface directory.
D/wpa_supplicant( 1033): ctrl_interface_group=1010 (from group name 'wifi')
D/wpa_supplicant( 1033): Added interface wlan0
D/wpa_supplicant( 1033): RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
D/wpa_supplicant( 1033): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
D/wpa_supplicant( 1033): RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
D/wpa_supplicant( 1033): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
D/wpa_supplicant( 1033): RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
D/wpa_supplicant( 1033): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
D/wpa_supplicant( 1033): Wireless event: cmd=0x8b06 len=8
D/wpa_supplicant( 1033): wpa_supplicant_scan: scan_req = 1, ap_scan = 2
D/wpa_supplicant( 1033): State: DISCONNECTED -> SCANNING
I/wpa_supplicant( 1033): CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00
D/wpa_supplicant( 1033): wpa_supplicant_scan: Reached end of scan list - go back to beginning
D/wpa_supplicant( 1033): Setting scan request: 0 sec 0 usec
D/wpa_supplicant( 1033): wpa_supplicant_scan: scan_req = 0, ap_scan = 2
D/wpa_supplicant( 1033): No enabled networks - do not scan
D/wpa_supplicant( 1033): State: SCANNING -> INACTIVE
I/wpa_supplicant( 1033): CTRL-EVENT-STATE-CHANGE id=-1 state=1 BSSID=00:00:00:00:00:00
D/wpa_supplicant( 1033): CMD = DRIVER MACADDR
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd MACADDR len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd Macaddr = 00:11:94:bd:d4:5f
D/wpa_supplicant( 1033):  len = 28, 28
D/wpa_supplicant( 1033): CMD = LIST_NETWORKS
E/WifiConfigStore(  217): Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)
D/wpa_supplicant( 1033): CMD = SCAN_INTERVAL 15
D/wpa_supplicant( 1033): CMD = DRIVER BTCOEXSCAN-STOP
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd BTCOEXSCAN-STOP len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd BTCOEXSCAN-STOP len = 0, 15
D/wpa_supplicant( 1033): CMD = DRIVER RXFILTER-ADD 3
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-ADD 3 len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-ADD 3 len = 0, 14
D/wpa_supplicant( 1033): CMD = DRIVER RXFILTER-START
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-START len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-START len = 0, 14
D/wpa_supplicant( 1033): CMD = DRIVER RXFILTER-STOP
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-STOP len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-STOP len = 0, 13
D/wpa_supplicant( 1033): CMD = DRIVER RXFILTER-REMOVE 2
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-REMOVE 2 len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-REMOVE 2 len = 0, 17
D/wpa_supplicant( 1033): CMD = DRIVER RXFILTER-START
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-START len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd RXFILTER-START len = 0, 14
D/wpa_supplicant( 1033): CMD = AP_SCAN 1
D/wpa_supplicant( 1033): ap_scan = 1
D/wpa_supplicant( 1033): CMD = RECONNECT
D/wpa_supplicant( 1033): CMD = DRIVER COUNTRY US
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd COUNTRY US len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd COUNTRY US len = 0, 10
D/wpa_supplicant( 1033): CMD = DRIVER SETBAND 0
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd SETBAND 0 len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd SETBAND 0 len = 0, 9
D/wpa_supplicant( 1033): CMD = DRIVER SCAN-ACTIVE
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd SCAN-ACTIVE len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd SCAN-ACTIVE len = 0, 11
D/wpa_supplicant( 1033): CMD = SCAN
D/wpa_supplicant( 1033): Setting scan request: 0 sec 0 usec
D/wpa_supplicant( 1033): wpa_supplicant_scan: scan_req = 2, ap_scan = 1
D/wpa_supplicant( 1033): State: INACTIVE -> SCANNING
I/wpa_supplicant( 1033): CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00
D/wpa_supplicant( 1033): Trying to get current scan results first without requesting a new scan to speed up initial association
D/wpa_supplicant( 1033): Received 8192 bytes of scan results (8 BSSes)
D/wpa_supplicant( 1033): New scan results available
D/wpa_supplicant( 1033): No suitable AP found.
D/wpa_supplicant( 1033): Setting scan request: 0 sec 0 usec
D/wpa_supplicant( 1033): EAPOL: disable timer tick
D/wpa_supplicant( 1033): wpa_supplicant_scan: scan_req = 2, ap_scan = 1
D/wpa_supplicant( 1033): Starting AP scan (broadcast SSID)
D/wpa_supplicant( 1033): wpa_driver_wext_combo_scan: Start
D/wpa_supplicant( 1033): Scan requested - scan timeout 10 seconds
D/wpa_supplicant( 1033): CMD = DRIVER SCAN-PASSIVE
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd SCAN-PASSIVE len = 4096
D/wpa_supplicant( 1033): wpa_driver_priv_driver_cmd SCAN-PASSIVE len = 0, 12
D/wpa_supplicant( 1033): RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
D/wpa_supplicant( 1033): RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
D/wpa_supplicant( 1033): Wireless event: cmd=0x8b19 len=8
D/wpa_supplicant( 1033): Received 8192 bytes of scan results (8 BSSes)
D/wpa_supplicant( 1033): New scan results available
D/wpa_supplicant( 1033): No suitable AP found.
D/wpa_supplicant( 1033): State: SCANNING -> INACTIVE
I/wpa_supplicant( 1033): CTRL-EVENT-STATE-CHANGE id=-1 state=1 BSSID=00:00:00:00:00:00
D/wpa_supplicant( 1033): CMD = AP_SCAN 1
D/wpa_supplicant( 1033): ap_scan = 1
D/wpa_supplicant( 1033): CMD = SCAN_RESULTS
D/wpa_supplicant( 1033): CMD = AP_SCAN 1
D/wpa_supplicant( 1033): ap_scan = 1
D/wpa_supplicant( 1033): CMD = SCAN_RESULTS
I/dun_service(  110): The value returned from dun_getusbmodemstate_fromsys is 2

Well using your wpa_supplicant seems to fix that, so I'm just going to throw it in the prebuilt until I find a fix for it.

Other problems I'm occurring are random reboots.. weird.

Other than that, stable build. Going to post up a thread and push my changes to git.
 
Hey mantera, have you attempted to try 3.x.x kernel? I'm not too big on kernels but I'm going to attempt it. Not a good place to start but oh well :D
 
Yeah. I finally got done merging in fih changes last week. Working on fixing build errors now.

It's slow going when you can only work on this a few hours a week.

Gannon do u think u could jump in and help with the build errors I don't know too much about it or I absolutely would contribute and I will if I can
 
Gannon do u think u could jump in and help with the build errors I don't know too much about it or I absolutely would contribute and I will if I can

Kernel build errors are a lot harder than whole rom build errors. Like I said before, I'm not too hot with kernels.
But throw any error you want at me. I'll help where I can

Sent from my Motorola Triumph
 
I could get a ROM with as it is since I do not use wifi or video? I only use photos.

I'd love to test it out and and have a new daily :)

Donation upon sucessful install!!
 
Well, it looks like ardX put out a new x6 cm9 build on the x6 forums. I pm'ed him to ask if he posted his source anywhere. I guess we'll see if he responds. Or if anyone knows offhand if he did someplace, if they can point us to it, we can see if we can use his changes for our camera too.
 
Well this is his sources on git: https://github.com/ardX
But they haven't been updated in a while. Just ask him if he could update to the newest sources.

Oh and I seen on tjstyle's thread that he didn't have to make nearly any edits to the cameraHAL from dzo. So I'm wondering if we could fork his and see if we could do it without any edits?

Here it is if you need it
 
Well this is his sources on git: https://github.com/ardX
But they haven't been updated in a while. Just ask him if he could update to the newest sources.

Oh and I seen on tjstyle's thread that he didn't have to make nearly any edits to the cameraHAL from dzo. So I'm wondering if we could fork his and see if we could do it without any edits?

Here it is if you need it

Why cant we just edit some stuff on the rom to make it work for the motorola triumph?
 
Back
Top Bottom