[ROM]Cyanogen Mod 9.0 Mod (For stock rom users)

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
Introduction
This is a port of Android 4.0.X for Streak7 [WIP]
The "official" CM9 port requires you to repartition your device to use it. This is a mod that allows it to run on standard partition devices.
Any bugs in the "official" CM9 port will likely carry over, and there is a possibility of the mod creating more bugs.

Do not bug DJ_Steve or Giveen about any bugs in this version.
I will be providing support/changes for using CM9 on devices with stock partition layouts (ie Stock 5xx, HS r7 and newer users)

This version is a mod of the CM9 build by DJ_Steve/Giveen for stock rom partition users.
IF YOU ARE CURRENTLY USING HONEYSTREAK R2-R6, "NORMAL" CM9 (ICS-B4), OR HAVE USED NVFLASH: THIS BUILD IS NOT FOR YOU

If you have installed the prerelease, you are STRONGLY RECOMMENDED to do a fac reset after installing.
Requirements:
  1. A custom recovery:
    • Clockwork Mod 6.0.1.1 (or newer)
    • Team Win Recovery Project 2.2.1.4 (or newer)
  2. A compatable device (see above)
Install instructions:
  1. Download: update-S7-CM9-b4-mod-2.zip
  2. Copy update zip to SD card
  3. Reboot into custom recovery mod
  4. Select "update from update.zip"
  5. Navigate to update zip
  6. Flash
  7. REQUIRED: Flash Gapps
  8. Finished
Changes:
  • Removal of gapps (which will be provided in a seperate zip)
  • (Semi) Working /sdcard and /sdcard2 (has some bugs still, but mostly works)
  • Minor polish

Credits:
  • DJ_Steve for porting CM9
  • Giveen for every random thing :D
Changelog:
  • Aug 23 2012: Updated install script
  • Jul 22 2012: Released full version
  • Jul 21 2012: Updated instructions
  • Jul 20 2012: Released prerelease 1
2char
 
Last edited:

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
Introduction
I'm gonna organize everything I'm currently aware of, I'm gonna update this post as people comment.

Wifi
  • [-] Overall: Works fine
  • [-] Speed: Same as on previous roms
  • [?] Untested: Wi-fi tethering

Bluetooth
  • [?] Overall: Untested
  • [?] Untested: File transfer
  • [?] Untested: BT Headset
  • [?] Untested: Keyboard
  • [?] Untested: Mouse
  • [?] Untested: BT Tethering
  • [?] Untested: Handsfree device

Cellular data
  • [!] Overall: Nothing works

GPS/Sensors
  • [-] Overall: Works fine
  • [?] Unknown: AGPS support (Needs confirmation)
  • [-] Works: Accelerometer
  • [-] Works: E-Compass
  • [!] Bug: FM Radio does not work
  • [!] Bug: GPS very inaccurate/does not work
  • [-] Works: Light Sensor
  • [?] Untested: Microphone
  • [-] Works: Vibrator

Dock and outputs
  • [-] Works: Mostly works
  • [-] Works: Dock detection
  • [-] Works: HDMI out
  • [?] Untested: USB tethering

Mass Storage and Inputs
  • [-] Overall: Mostly works
  • [?] BUG: Internal sdcard not presented does not work
  • [!] Bug: USB-Hosting does not work

Battery
  • [-] Overall: Airplane mode: Seems Fine
  • [?] Overall: Cellular on: Unknown
  • [-] Works: Charging
  • [!] Bug: Usage info not available

Graphics
  • [-] Overall: Works fine

Sound
  • [-] Overall: Works fine
  • [?] Untested: Headphone out

Buttons and leds
  • [-] Overall: Works fine

Camera
  • [!] Overall: Nothing works
  • [!] BUG: Rear cam doesnt work
  • [!] BUG: Front cam doesnt work
  • [!] BUG: Rear Flash doesnt work

Screen and UI
  • [-] Overall: Works fine

Apps
  • [-] Overall: Mostly works
  • [-] Not a bug: GAPPs isnt included (General consensus: stock based roms: including gapps is ok, source based roms: do not include gapps)
  • [!] BUG: Chrome settings button causes app to crash

Feature requests:
  • Phone mode UI
  • Virtual keys (in phone mode)

Overall summary:
  • [-] Wifi: Works fine
  • [?] Bluetooth: Untested
  • [?] Tethering: Untested
  • [!] Cellular: Nothing works
  • [?] GPS/Sensors: Untested
  • [-] Dock/Output: Mostly works
  • [-] Mass Storage/Input: Mostly works
  • [-] Battery: Good
  • [-] Graphics: Mostly works
  • [-] Sound: Works fine
  • [-] Buttons: Works fine
  • [!] Cameras: Nothing works
  • [-] Screen and UI: Mostly works
  • [-] Apps: Mostly works

Conclusion:
(placeholder)
 
Last edited:
  • Like
Reactions: adamberns

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
Released a prerelease version, this version uses the B3 apks as I cannot extract the B4 ones.

Once someone is able to give me a copy of the B4 apks I'll release the full version of B4-mod
 

iboware

Member
May 24, 2008
48
0
0
I installed but it's a bit empty.(I know there is no gApps in it) Also I noticed rotation not works by default until you switch it on from Trebuchet - General Settings. While I am switching between menus on wireless part, device becomes unresponsive sometimes.(T-Mobile 4G Model)

Camera and 3G/4G Radios are still same, not working.

On the other hand it boots up and works very fast. Good Job! :)

I'm new to Android system but I know a bit about Linux. Also I'm a software developer. Are there any guideline for development/environment? (I'm using Windows 7 and Ubuntu both) I wanna try to contribute.

Edit: This works for me very well: http://wiki.cyanogenmod.com/index.php?title=Latest_Version/Google_Apps

Second Edit:
Switching airplane mode on, locks device completely.
 
Last edited:

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
Cell data was never supported, and airplane mode freezing is likely related to that.

Treb locking to landscape by default isnt really a bug, as there is a checkbox and it does remember which one you pick.

Camera is known to not work. All these are carry over from ICS B4

Gapps isnt ready yet, it will be soon.
 

iboware

Member
May 24, 2008
48
0
0
VPN is not working too. It says "Unsucessful". I'm sure credentials and other setting are correct.

Bluetooth:
General Functions and pairing with bluetooth mouse is working.
 
Last edited:

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
I havnt changed anything at all regarding VPN,

it's either due to:
  1. Using the B3 apks (since I dont have the B4 apks)
  2. A bug in B4 (which I cant fix)

Keep in mind I'm only making minimal changes, I'm not actively updating the code.


But I'll take a look tomorrow and see if it's anything fixable
 

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
VPN is not working too. It says "Unsucessful". I'm sure credentials and other setting are correct.

Bluetooth:
General Functions and pairing with bluetooth mouse is working.
I cant reproduce as I dont have a vpn I can attempt to connect to.

I'm going to need a logcat of you attempting to connect to it to look at, otherwise I cant even look at what could be the issue.
 

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
It turns out that the B4's system.img is in fact 'damaged'
It's damaged to the point that ext2explore cant read it, but linux kernals can mount it.

I will be releasing the full version of CM9-mod soon

Edit: There's a really strange bug with the B4 apks.

You must also install Gapps or the home button will not respond.
It actually responds when you're in the clock app, but not anywhere else.

I dont know why installing gapps fixes it, as I've cleanly pulled gapps out of the rom.
 
Last edited:

iboware

Member
May 24, 2008
48
0
0
I cant reproduce as I dont have a vpn I can attempt to connect to.

I'm going to need a logcat of you attempting to connect to it to look at, otherwise I cant even look at what could be the issue.
Code:
W/PrintK  (   68): dog, +tegra_wdt_set_timeout, wdt->timeout=130
V/PrintK  ( 1323): <7>[ASOC-DBG]tegra_dapm_event_int_spk SND_SOC_DAPM_EVENT_ON ?
 2
V/PrintK  ( 1323):
I/keystore(  103): uid: 1000 action: s -> 1 state: 1 -> 1 retry: 4
I/keystore(  103): uid: 1000 action: s -> 1 state: 1 -> 1 retry: 4
I/keystore(  103): uid: 1000 action: s -> 1 state: 1 -> 1 retry: 4
D/dalvikvm( 2967): GC_CONCURRENT freed 318K, 23% free 6465K/8391K, paused 2ms+4m
s
E/BinaryDictionaryGetter( 1527): Could not find a dictionary pack
E/ActivityThread( 1527): Failed to find provider info for com.android.inputmetho
d.latin.dictionarypack
D/PrintK  ( 1323): <6>wm8903_set_dai_trigger 1
D/dalvikvm( 1359): GC_EXPLICIT freed 745K, 22% free 9279K/11783K, paused 4ms+7ms

E/ActivityThread( 1527): Failed to find provider info for com.android.inputmetho
d.latin.dictionarypack
E/BinaryDictionaryGetter( 1527): Could not find a dictionary pack
D/dalvikvm( 1527): GC_CONCURRENT freed 474K, 21% free 7396K/9287K, paused 3ms+4m
s
I/keystore(  103): uid: 1000 action: i -> 1 state: 1 -> 1 retry: 4
I/Vpn     ( 1359): Switched from [Legacy VPN] to [Legacy VPN]
I/Vpn     ( 1359): Switched from [Legacy VPN] to [Legacy VPN]
V/LegacyVpnRunner( 1359): Waiting
V/LegacyVpnRunner( 1359): Executing
D/mtpd    ( 3001): Waiting for control socket
I/LatinIME( 1527): InputType.TYPE_NULL is specified
W/LatinIME( 1527): Unexpected input class: inputType=0x00000000 imeOptions=0x000
00000
D/PrintK  ( 1359): <6>wm8903_set_dai_trigger 0
D/PrintK  ( 1323): <6>wm8903_set_dai_trigger 1
D/mtpd    ( 3001): Received 20 arguments
I/mtpd    ( 3001): Using protocol pptp
I/mtpd    ( 3001): Connecting to ribbsede.getfoxyproxy.org port 1723 via wlan0
I/mtpd    ( 3001): Connection established (socket = 11)
D/mtpd    ( 3001): Sending SCCRQ
D/mtpd    ( 3001): Received SCCRP -> Sending OCRQ (local = 39064)
I/mtpd    ( 3001): Tunnel established
D/mtpd    ( 3001): Received OCRQ (remote = 32984)
I/mtpd    ( 3001): Session established
I/mtpd    ( 3001): Creating PPPoX socket
F/mtpd    ( 3001): Socket() Protocol not supported
D/dalvikvm( 2967): GC_CONCURRENT freed 336K, 23% free 6527K/8391K, paused 2ms+6m
s
I/LegacyVpnRunner( 1359): Aborting
I/LegacyVpnRunner( 1359): java.lang.IllegalStateException: mtpd is dead
I/LegacyVpnRunner( 1359):       at com.android.server.connectivity.Vpn$LegacyVpn
Runner.execute(Vpn.java:569)
I/LegacyVpnRunner( 1359):       at com.android.server.connectivity.Vpn$LegacyVpn
Runner.run(Vpn.java:447)
D/PrintK  (    0): <6>wm8903_set_dai_trigger 0
well, it looks like a common cm9 bug but I'm not sure : http://code.google.com/p/minicm/issues/detail?id=495

Another thread about this issue: http://code.google.com/p/android/issues/detail?id=23124

According to the posts I read, adding a kernel compatible tun.ko file will solve this problem.
 
Last edited:

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
It does seem to be the case, what rom were you on previously and did VPN work then?

None of our stock roms (by stock roms I mean for every dell device) have tun.ko (by default) and I havnt changed the kernel at all from ICS-B4.

If it worked in B4 then it might have been something from my end, if it didnt then there's nothing that can currently done.


Edit: I will be uploading the full version of CM9-mod soon, flash and fac reset and test against that.
As the prerelease is just that, it doesnt sound like something that would be fixed in the full version, but lets just check and confirm.
 
Last edited:

iboware

Member
May 24, 2008
48
0
0
It does seem to be the case, what rom were you on previously and did VPN work then?

None of our stock roms (by stock roms I mean for every dell device) have tun.ko (by default) and I havnt changed the kernel at all from ICS-B4.

If it worked in B4 then it might have been something from my end, if it didnt then there's nothing that can currently done.
I was on the latest stock HC and I have never installed any other rom.
 

TheManii

Wiki Admin / Recognized Contributor
Dec 8, 2010
3,585
1,649
0
If you need VPN support for anything critical (or do anything mission critical period), I would recommend staying on a stock rom.
Regardless of which version of CM9 you choose to install, they're all closer to beta then they are to release.


That said, the full version of CM9-mod is now live.
You are STRONGLY recommended to do a fac reset after installing it if you installed the prerelease.
You also MUST install Gapps as there's a strange bug that causes the home button to not work without it.
 

iboware

Member
May 24, 2008
48
0
0
If you need VPN support for anything critical (or do anything mission critical period), I would recommend staying on a stock rom.
Regardless of which version of CM9 you choose to install, they're all closer to beta then they are to release.


That said, the full version of CM9-mod is now live.
You are STRONGLY recommended to do a fac reset after installing it if you installed the prerelease.
You also MUST install Gapps as there's a strange bug that causes the home button to not work without it.
I have a timeout problem with marketplace on the full version. It says "loading" for ages and then "Connection timed out. [Retry]" (I did factory reset)
 

iboware

Member
May 24, 2008
48
0
0
Are you able to connect to websites with the browser?
Yes. I was able to connect. Today, I tried again and it's successful. I don't know why it could not connected yesterday maybe a DNS issue.

Edit: Shortcuts are displaying in wrong position(under the search icon) it needs alignment. Kindle is not working. I think pre-release version was more stable. Now, I'm back to the stock hc. I would like to try it if there is a new version.
 
Last edited:

ssmr2t

Senior Member
Jan 19, 2011
1,157
212
0
Ive never seen a rom that you shouldnt use if you have Nvflashed before.. whats the cause, or what would happen if one did flash?