[ROM PORT] ICS CM9.0 Android 4.0.4 (alpha 10)

General discussion on Android 4.0 (Ice Cream Sandwich / ICS)

Re: [Working ROM] ICS CM9 from Spica Android 4.0.4 (alpha6)

Postby davidebeatrici » Thu Dec 27, 2012 2:03 pm

Carlos_Manuel wrote:
davidebeatrici wrote:So, now it can work? :mrgreen:


It's almost working but it can't connect to the WiFi and WiFi tethering apps can't get root access to enable tethering..

I have tried many ways to get it to work but I can't get it.

I think the problem is in the libhardware_legacy.so but I'm not able to change it because when I change it it will give many errors..

so WiFi won't work. :/

Spica's And JétDroid's WiFi files may be a little bit different too because on /system/etc/dhcpcd/ folder Spica's dcpcd.conf is "wlan0" and JetDroid's is "eth0" ...


It's very strange, I think "eth0" means Ethernet disabled and "wlan0" Wi-Fi disabled. ;)
This probably mean that in the GingerBread release there was the ethernet function.
If you edit "wlan0" in "wlan1", what happens? :P
User avatar
davidebeatrici
Freshman
 
Posts: 9
Joined: Tue May 29, 2012 4:37 pm

Advertisement

Re: [Working ROM] ICS CM9 from Spica Android 4.0.4 (alpha6)

Postby Carlos_Manuel » Thu Dec 27, 2012 5:29 pm

davidebeatrici wrote:
Carlos_Manuel wrote:
davidebeatrici wrote:So, now it can work? :mrgreen:


It's almost working but it can't connect to the WiFi and WiFi tethering apps can't get root access to enable tethering..

I have tried many ways to get it to work but I can't get it.

I think the problem is in the libhardware_legacy.so but I'm not able to change it because when I change it it will give many errors..

so WiFi won't work. :/

Spica's And JétDroid's WiFi files may be a little bit different too because on /system/etc/dhcpcd/ folder Spica's dcpcd.conf is "wlan0" and JetDroid's is "eth0" ...


It's very strange, I think "eth0" means Ethernet disabled and "wlan0" Wi-Fi disabled. ;)
This probably mean that in the GingerBread release there was the ethernet function.
If you edit "wlan0" in "wlan1", what happens? :P


Nope! :P
I'm not really sure about internet stuff..

What I found via Google search:
eth0 is your ethernet card. They are labelled "ethX" starting with an X of 0, so if you had two ethernet cards, the second would be "eth1".


However what will be changed won't make WiFi to work without the right libhardware_legacy.so

wpa_cli and wpa_supplicant is from JetPlatform 0.5 pre1 binary (Gingerbread) and gingerbread does not use any p2p files and on ICS and newer versions it is using those and what I know bcm4325 does not support p2p wifi files or have them.. and

I have also replaced libwpa-client.so but it didn't make any difference.

If I remember then Samsung Moment/intercept uses eth0 WiFI files too but they haven't got the WiFi to work on ICS.

So I have no ideas anymore! :D

EDIT: JetDroid's wpa_cli and wpa_supplicant on bin folder and spica's dhcpcd, netd, netcfg
JetDroid's dhdutil in xbin folder..
Spica's lib WiFi files:

RESULT...:
android.log:
Code: Select all
I/wpa_supplicant( 1111): CTRL-EVENT-TERMINATING - signal 0 received
I/wpa_supplicant( 1111): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
E/WifiStateMachine( 1010): Failed to clear addresses or disable ipv6java.lang.IllegalStateException: Unable to communicate with native daemon to interface clearallips - com.android.server.NativeDaemonConnectorException: Cmd {interface clearaddrs wlan0} failed with code 500 : {Unknown interface cmd}
D/ConnectivityService( 1010): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/ConnectivityService( 1010): Attempting to switch to mobile
F/NetworkStats( 1010): problem reading network stats
F/NetworkStats( 1010): java.lang.IllegalStateException: problem parsing idx 1
F/NetworkStats( 1010):    at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:300)
F/NetworkStats( 1010):    at com.android.server.NetworkManagementService.getNetworkStatsUidDetail(NetworkManagementService.java:1282)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:831)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService.updateIfacesLocked(NetworkStatsService.java:743)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService.updateIfaces(NetworkStatsService.java:721)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService.access$000(NetworkStatsService.java:128)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService$1.onReceive(NetworkStatsService.java:612)
F/NetworkStats( 1010):    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
F/NetworkStats( 1010):    at android.os.Handler.handleCallback(Handler.java:605)
F/NetworkStats( 1010):    at android.os.Handler.dispatchMessage(Handler.java:92)
F/NetworkStats( 1010):    at android.os.Looper.loop(Looper.java:137)
F/NetworkStats( 1010):    at android.os.HandlerThread.run(HandlerThread.java:60)
F/NetworkStats( 1010): Caused by: java.io.FileNotFoundException: /proc/net/xt_qtaguid/stats: open failed: ENOENT (No such file or directory)
F/NetworkStats( 1010):    at libcore.io.IoBridge.open(IoBridge.java:406)
F/NetworkStats( 1010):    at java.io.FileInputStream.<init>(FileInputStream.java:78)
F/NetworkStats( 1010):    at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:269)
F/NetworkStats( 1010):    ... 11 more
F/NetworkStats( 1010): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
F/NetworkStats( 1010):    at libcore.io.Posix.open(Native Method)
F/NetworkStats( 1010):    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
F/NetworkStats( 1010):    at libcore.io.IoBridge.open(IoBridge.java:390)
F/NetworkStats( 1010):    ... 13 more
I/dalvikvm( 1010): Jit: resizing JitTable from 1024 to 2048
D/Tethering( 1010): InitialState.processMessage what=4
D/Tethering( 1010): sendTetherStateChangedBroadcast 0, 0, 0
F/NetworkStats( 1010): problem reading network stats
F/NetworkStats( 1010): java.lang.IllegalStateException: problem parsing idx 1
F/NetworkStats( 1010):    at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:300)
F/NetworkStats( 1010):    at com.android.server.NetworkManagementService.getNetworkStatsUidDetail(NetworkManagementService.java:1282)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:831)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService.performPoll(NetworkStatsService.java:799)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService.access$100(NetworkStatsService.java:128)
F/NetworkStats( 1010):    at com.android.server.net.NetworkStatsService$2.onReceive(NetworkStatsService.java:624)
F/NetworkStats( 1010):    at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:728)
F/NetworkStats( 1010):    at android.os.Handler.handleCallback(Handler.java:605)
F/NetworkStats( 1010):    at android.os.Handler.dispatchMessage(Handler.java:92)
F/NetworkStats( 1010):    at android.os.Looper.loop(Looper.java:137)
F/NetworkStats( 1010):    at android.os.HandlerThread.run(HandlerThread.java:60)
F/NetworkStats( 1010): Caused by: java.io.FileNotFoundException: /proc/net/xt_qtaguid/stats: open failed: ENOENT (No such file or directory)
F/NetworkStats( 1010):    at libcore.io.IoBridge.open(IoBridge.java:406)
F/NetworkStats( 1010):    at java.io.FileInputStream.<init>(FileInputStream.java:78)
F/NetworkStats( 1010):    at com.android.internal.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:269)
F/NetworkStats( 1010):    ... 10 more
F/NetworkStats( 1010): Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
F/NetworkStats( 1010):    at libcore.io.Posix.open(Native Method)
F/NetworkStats( 1010):    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
F/NetworkStats( 1010):    at libcore.io.IoBridge.open(IoBridge.java:390)
F/NetworkStats( 1010):    ... 12 more


kernel.log
Code: Select all
<6>[    1.619223] Netfilter messages via NETLINK v0.30.
<6>[    1.624190] nf_conntrack version 0.5.0 (2410 buckets, 9640 max)
<6>[    1.629479] xt_time: kernel timezone is -0000
<6>[    1.632647] IPv4 over IPv4 tunneling driver
<6>[    1.637385] GRE over IPv4 demultiplexor driver
<6>[    1.640468] GRE over IPv4 tunneling driver
<6>[    1.646275] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    1.649170] TCP cubic registered
<6>[    1.657291] mmc0: new SDHC card at address aaaa
<6>[    1.661550] NET: Registered protocol family 10
<6>[    1.667270] mmcblk0: mmc0:aaaa SU04G 3.69 GiB
<6>[    1.671167] Mobile IPv6
<6>[    1.675555] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[    1.680325] IPv6 over IPv4 tunneling driver
<6>[    1.686711] NET: Registered protocol family 17
<6>[    1.688758]  mmcblk0: p1 p2
<6>[    1.693674] NET: Registered protocol family 15
<5>[    1.698123] Bridge firewalling registered

<6>[   45.802382] spica_bt spica_bt.0: power on
<6>[   45.804280] WiFi/BT power ON.
<6>[   45.986354] wake enabled for irq 127
<7>[   46.570711] ## wifi_probe
<7>[   46.572472] wifi_set_power = 1
<7>[   46.574717] spica_wlan_set_power = 1
<7>[   46.755944] wifi_set_carddetect = 1
<7>[   46.758646] spica_wlan_set_carddetect = 1
<7>[   46.898685]
<7>[   46.898701] Dongle Host Driver, version 5.90.195.46
<7>[   46.898708] Compiled in drivers/net/wireless/bcmdhd on Apr  7 2012 at 18:14:01
<4>[   47.037341] mmc2: queuing unknown CIS tuple 0x80 (51 bytes)
<4>[   47.058025] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
<4>[   47.077361] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
<4>[   47.105449] mmc2: queuing unknown CIS tuple 0x80 (10 bytes)
<4>[   47.129547] mmc2: queuing unknown CIS tuple 0x80 (6 bytes)
<4>[   47.161532] mmc2: queuing unknown CIS tuple 0x02 (1 bytes)
<6>[   47.187409] mmc2: new SDIO card at address 0001
<7>[   47.218823] F1 signature read @0x18000000=0x5264325
<7>[   47.237019] DHD: dongle ram size is set to 393216(orig 393216)
<7>[   47.245063] wl_iw_attach thr:448 started
<7>[   47.254144] wl_iw_bt_init thr:449 started
<7>[   47.260286] dhd_attach thr:44a started
<7>[   47.262938] dhd_attach thr:44b started
<7>[   47.265583] dhd_attach thr:44c started
<7>[   47.273817] wifi_get_mac_addr
<7>[   47.294363] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:90:4c:11:22:33
<7>[   47.544681] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
<6>[   47.854140] wake enabled for irq 126
<7>[   47.866365] wifi_get_mac_addr
<7>[   47.870823] Firmware = /system/etc/fw_bcm4325.bin
<7>[   47.886315] Firmware up: op_mode=1, Broadcom Dongle Host Driver mac=00:26:e8:15:7f:3c
<7>[   48.001538]  written as a string:/system/etc/fw_bcm4325.bin
<7>[   48.230170] Unknown PRIVATE command BTCOEXSCAN-STOP - ignored
<7>[   58.906740] wlan0: no IPv6 routers present
<7>[   66.916098] KB: Enabling 8906 AMP

<7>[  136.412059] wl_iw_detach thr:448 terminated OK
<7>[  136.415929] wl_iw_bt_release thr:449 terminated OK
<7>[  136.427266] dhd_detach thr:44c terminated OK
<7>[  136.457350] dhd_detach thr:44a terminated OK
<7>[  136.466880] dhd_detach thr:44b terminated OK
<6>[  136.477146] wake disabled for irq 126
<4>[  136.496551] net_ratelimit: 2 callbacks suppressed
<7>[  136.498425] ## wifi_remove
<7>[  136.500220] wifi_set_power = 0
<7>[  136.502509] spica_wlan_set_power = 0
<7>[  136.504739] wifi_set_carddetect = 0
<7>[  136.516543] spica_wlan_set_carddetect = 0
<6>[  136.719964] mmc2: card 0001 removed
<7>[  137.862559] select 1361 (ndroid.exchange), adj 15, size 6346, to kill
<7>[  137.867663] send sigkill to 1361 (ndroid.exchange), adj 15, size 6346
<7>[  140.117677] ## wifi_probe
<7>[  140.119429] wifi_set_power = 1
<7>[  140.121674] spica_wlan_set_power = 1
<7>[  140.275936] wifi_set_carddetect = 1
<7>[  140.278638] spica_wlan_set_carddetect = 1
<7>[  140.311032] select 1434 (oid.voicedialer), adj 15, size 6016, to kill
<7>[  140.316188] select 1447 (ufou.android.su), adj 15, size 6507, to kill
<7>[  140.321415] send sigkill to 1447 (ufou.android.su), adj 15, size 6507
<7>[  140.402053]
<7>[  140.402074] Dongle Host Driver, version 5.90.195.46
<7>[  140.402093] Compiled in drivers/net/wireless/bcmdhd on Apr  7 2012 at

....
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

Re: [Working ROM] ICS CM9 from Spica Android 4.0.4 (alpha7)

Postby davidebeatrici » Fri Dec 28, 2012 11:50 am

We need Dopi help. :roll:
User avatar
davidebeatrici
Freshman
 
Posts: 9
Joined: Tue May 29, 2012 4:37 pm

Re: [Working ROM] ICS CM9 from Spica Android 4.0.4 (alpha7)

Postby Carlos_Manuel » Fri Dec 28, 2012 5:43 pm

davidebeatrici wrote:We need Dopi help. :roll:


Yep!

And maybe Samdroid developers help too, especially Tom3q's help because he have made ICS build for Spica and some others have built the ROM of he's sources??

Hopefully JetDroid developers are interested of ICS on Jét and try to make it more stable.
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

Re: [Working ROM] ICS CM9 from Spica Android 4.0.4 (alpha7)

Postby Carlos_Manuel » Tue Jan 01, 2013 3:22 pm

BETA version of this CM9 ROM comes then when there exists new kernel with the latest changes needed for ICS!


To fix USB Mount then add this to init.rc, after "# Permissions for System Server and daemons."
(Or use the patch for alpha 7)
Code: Select all
# Enable MASS storage on SDCARD
    write /sys/devices/platform/usb_mass_storage/lun0/file /dev/block/mmcblk0
    write /sys/bus/platform/drivers/msm_sdcc/msm_sdcc.1/polling

Of course this needs much of modifying because this needs more lines... but at least it works, but I don't know does this work 100% correctly..

Here is the patch for CM9 Alpha 7

(YOU HAVE TO REPLACE ALL FILES)
- init and adbd file from ZTE Blade

- init.rc and init.jet.rc , fixed some things and added USB Mass storage text for working USB Mass Storage (just connect USB cable and it should mount SD card..) :)

- media_profiles.xml

- sh file from JetPlatform 0.5 pre1 binary

- etc.


- My modified Initlogo:
To make own initlogo then check this Sploutch's great guide: viewtopic.php?f=11&t=678 also remember to change your initlogo.rle to initlogo.rle.tmp to keep the initlogo in the same place...
Image
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

Re: [ROM PORT] ICS CM9.0 Android 4.0.4 ALPHA 9

Postby Carlos_Manuel » Tue Jan 15, 2013 9:18 pm

Newer version:

CM9.0 IMM76I ported from Spica, same ROM but only newer and more working features:
Alpha 8 and older versions were IMM76D, but this Alpha9 is IMM76I which is newer build if I remember right...


What's working now:
- CM9 features: themes, mods, transitions
- Transitions
- ...


Download ROM: http://code.google.com/p/android-for-je ... z&can=2&q=

YouTube Video:


I have not tested everything but ADB should work and I think USB Mass storage won't work yet. but you can test this ROM if you want and you can tell me what works which is not in the working features list.. I will update the first post tomorrow.
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

Re: [ROM PORT] ICS CM9.0 Android 4.0.4 (alpha 10)

Postby Carlos_Manuel » Sat Jan 19, 2013 2:23 pm

Hey!

I can't fix the USB support and I think the problem is in the frameworks package or somewhere like that and it can be only fixed when I'm able to build ROM?..
When you Connect Jét via USB it does not recognize the USB but... ADB works and I have disabled the Mass storage hack and I will put it back when I have got USB Support to work.

Cleaner and better init.rc and init.jet.rc, not so messy anymore..
vold.conf added for USB..
Some files to init.d folder + edited 99tweaks file (deleted ext4 lines)
CM9 wallpapers
Some minor fixes..
I don't remember what else I did.. :P


Transitions does not work,sometimes them might work!
To get more things to work I have to edit the source files for Jét but I'm not good at it and I don't know how I can build ROM.. If you want to use transitions then download this MIUI launcher:
http://forum.xda-developers.com/showthr ... ?t=1623026
MIUI Launcher works well and transitions works too.


When I'm able to build ROM then there should be more sensor working and maybe correctly working WiFi + USB..

Currently only one Sensor is working and it is: BMA023 3-axis Accelerometer

Download Alpha 10: http://code.google.com/p/android-for-je ... z&can=2&q=

Image
Image
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

ROM PORT ICS CM9 0 Android 4 0 4 alpha 9

Postby bortearnern » Fri Jan 25, 2013 2:10 am

I found my apks from playstore in the Datafolder using rootexplorer

I have been looking at your rom the zip file & I was thinking of making my own. the only thing I would change, is to add some of the apps I use most
There is a folder in DataApp where the apps are. What tells the system to install these. Is it a script where the path need to be typed or does it just tell that all apks in that folder is to be installed. can I just put my own apks in that folder and then repack the zip?
IВґm not a coder and hope I donВґt have recompile or anything.
bortearnern
Freshman
 
Posts: 1
Joined: Fri Jan 25, 2013 1:00 am
Location: Hungary

Re: [ROM PORT] ICS CM9.0 Android 4.0.4 (alpha 9)

Postby Carlos_Manuel » Fri Jan 25, 2013 6:58 pm

Is there anybody who knows about kernel compiling and kernel drivers modifying??

It would be nice if someone who knows how to modify Spica's sensor files for Jét and can modify them for Jét to get more sensors working..

I really can't make this any way better because I'm not enough good on this and I can't build ROM successfully.. :/

here is my github: https://github.com/manumanfred

My ICS repositories for Jét needs a lot of editing.. I have added Jét's sensor files to the ICS android_device repository and I'm sure them won't work on ICS.
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

Re: [ROM PORT] ICS CM9.0 Android 4.0.4 (alpha 9)

Postby Carlos_Manuel » Mon Jan 28, 2013 3:38 pm

Hey guys!

This is the android_device_samsung_spica repository (ICS CM9) which I modified quickly for jét to get maybe working Wi-Fi and USB support..

https://github.com/manumanfred/cm_andro ... sung_spica

I'm not able to build ROM on my PC, so if there is anyone who knows how, then here is the guide:
http://ngspica.tk/2012/10/how-to-build-cm9-for-spica/
and needed files: http://forum.xda-developers.com/showthr ... ?t=1552090

Code: Select all
<project path="device/samsung/spica" name="manumanfred/cm_android_device_samsung_spica" revision="ics" />
<project path="vendor/openfimg" name="tom3q/openfimg" remote="github" revision="master" />
Put that instead of Spica's own..


I always get this error:
Image
JétDroid ROMs, stuff... http://code.google.com/p/android-for-jet/
My YT Channel: http://www.youtube.com/user/CarlosJacksonHD
Github: manumanfred
XDA-Devs: Carlos_Manuel

Galaxy Nexus:
ROM: My own ROM 'Dreams', (KTU84P) KitKat 4.4.4
User avatar
Carlos_Manuel
Dev Team
Dev Team
 
Posts: 883
Joined: Tue Mar 29, 2011 11:50 am
Location: Estonia / Finland

PreviousNext

Return to Ice Cream Sandwich / ICS (Android 4.0)

Who is online

Users browsing this forum: No registered users and 1 guest

  • Advertisement
cron