Jump to content


Photo

[STOPPED] CyanogenMod Beta2 Omnia 2 (updated: 04.05.2012)


  • Please log in to reply
5246 replies to this topic

#1
voyteckst

voyteckst

    Addict

  • Members
  • PipPipPipPipPip
  • 889 posts
  • Gender:Male
  • Location:Cracow, Poland
  • Devices:Xperia Neo V/Nexus 7

*
POPULAR

All credits for working Android port on Omnia 2 are going to (alphabetical order):
- almar (Marc)
- bsbsbs (Sándor)
- Egon
- phj (János)


News:
04.05.2012 Because we do not have time for development, we had to stop it. All sources except FMRadio (which will be avalable if we will have time) are available via github and o2droid svn. If there are people who can take care of it, do not hesitate to contact us (as far as I've seen there are some developers who successfully modified kernels/android sources).
08.02.2012 CyanogenMod beta 1. Introducing CM beta 2, whole recompiled from sources. It has same functionality as CM beta 1 + working FM Radio. For both Americas (missing WCDMA 1900 frequency) there is an update script in case of phone not working. Download links on project page. DO A CLEAN INSTALL otherwise You can have problems.
Because of parted problems with extended partitions internal storage installer may work or not. I do suggest to create partitions and then install it.
And one more thing. This is not an update, so if installer will not format Your partitions, do it Yourself and reinstall. Otherwise You are asking about problems.
06.02.2012 Full kernel sources available on svn. Next few days we will upload CM sources. Meanwhile maybe there will be also beta2 with FM radio working (Sandor made FM radio).
01.02.2012 Developing of android for Omnia 2 will definitely slow down. From the long time only developer (programmer) was Sandor and no new developers arrived. Additionally we have got new phones (still keeping O2, but not so much time). Next few weeks we will try to share compilable CM souces on github for people who will decide to work on it and try to publish modified kernel sources and FMRadio.



Please read carefully all three posts before making questions. Posts to CM beta1 starts on page 222.


Info sites:
- Project and download page - please do not mirror, because we need download statistics.
- Kernel source browser. For access use SVN clientand address: svn://o2droid.phj.hu/droid.
- CyanogenMod beta 2 sources without FMradio at the moment
- Some notes and FAQ to beta release


Supported features in the CyanogenMod beta 2:
- CyanogenMod partially based on SpicagenMod with some O2 optimizations
- Phone
- WiFi
- GPS
- Data connections (GPRS)
- Sensors (all)
- 2D/3D
- MP4/3GP movie play (camera hardware button doesn't work yet)
- Camera in photo (up to 5MP) and movie recording mode (it's still not 480p, but works)
- FM Radio
- Bluetooth
- Autobrightness
- ADB/UMS
- it's already rooted


Features under development:
- maybe new camera driver


Possible future features
- Open Source (github.com build)
- TV-Out

Archive:
02.12.2011 App2SD update. It's easy. You can use update file (download here) or apply it Yourself manually: open terminal as root and type:
ln -s /system/bin/toolbox /system/bin/newfs_msdos
30.11.2011 (2) Headset detection (3,5mm jack) update + today's kernel update (incomming call screen appearing fix) in one package. Download here
30.11.2011 Kernel update. Kernel update contains incomming call screen appearing fix. Now it's instant. Download here.
28.11.2011 CyanogenMod beta 1. Introducing CM beta 1 (based on SpicagenMod 4 from voku). It's very fast, has IMEI working on beta2 phone image. For both Americas (missing WCDMA 1900 frequency) there is an update script in case of phone not working. Download links on project page.
Because of parted problems with extended partitions internal storage installer may work or not. I do suggest to create partitions and then install it.
And one more thing. This is not an update, so if installer will not format Your partitions, do it Yourself and reinstall. Otherwise You are asking about problems.
25.11.2011 Prepare for big step ahead. Beta 1 of CyanogenMod 6 (old betas will be discontinued probably). It should be available this weekend. And I can say, that it's really fast ;-)
16.11.2011 Froyo beta3 update1 fix. Update contains kernel which fixes App2SD problem. Download here.
07.11.2011 Froyo beta3 update1. Update contains following: sensors lib fixes, charging battery fixes, compass calibration caused discharging even when connected to usb, memory bug fix, reserved memory change (GUI should be smoother now), WiFi should connect now faster. Remember to reboot after update, because modules changed. Download here.
Note: TO ALL HAVING PROBLEMS WITH SENSORS! What do You have at file sensors.default.so? Link or file? If file, remove it and apply new sensors update again. It's probably copy error from Your side, because on beta3 it was a link to sensors.GT-I8000.so.
22.10.2011 Faq updated (link to manual install on Internal Storage added thanks to Gardakkan). It's temporary solution for those who want to use internal Storage until we fix installer.
18.10.2011 Introducing working bluetooth, autobrightness, phone working for all (IMEI is ok now, signal is much better), boot logo, some other fixes like: proximity bug when calling, WiFi should obtain DNS addresses and sleep well now, reserved memory for 3D is increased - it should not cause white squares - result is less memory for system, that's why additional swap partition is created and used.
Download links on project page. They include update from beta2 to beta3 and full beta3 install. Full installer was only tested on external SD, internal storage installation is experimental and may not work correctly.
Automatic installer requires 1160MB of SD space.
20.09.2011 Automatic installer is ready for download. Check main site. Quick howto is available inside archive. It assumes that Your My Storage wasn't touched (so it is mmcblk1p5). You have to use 2GB SD card or bigger. If You already have two partitions eg. from first beta installer (vfat and ext2/3/4), it should only format ext2/3/4 partition and install android. Otherwise it will try to shrink existing fat32 and create new one with ext4.
17.09.2011Froyo beta2 is ready for download (please check project site for link)! It contains new kernel (2.6.32.9) and many bugs fixed (ie. You don't need call light anymore).

Edited by voyteckst, 04 May 2012 - 06:26 AM.

  • 73

#2
voyteckst

voyteckst

    Addict

  • Members
  • PipPipPipPipPip
  • 889 posts
  • Gender:Male
  • Location:Cracow, Poland
  • Devices:Xperia Neo V/Nexus 7
3 rules:
1st rule: Remember that it's beta. It may have bugs. If You can improve it somehow, let us know via private msg.
2nd rule: It's android forum not linux newbie help. Use other dedicated forums or learn linux.
3rd rule: Last but not least. We are doing it also for ourself, so we do not need donations.

Bugs:
Bug1: There is a bug when calling via BT or speaker, when screen goes off, only way to turn it on is finish call.
Bug2: FM Radio stops working when device is going to sleep or sms arrives.


Notes:
Note1: Wrong time is caused probably by lack of 3g during boot. Enabling and disabling airplane mode should help. Or Your provider does not support NITZ.
Note2: If You are using default install, first time GPS can be slow. Next times it will be fast.


FAQ:
1. Automatic installer
Requires:
- untouched My Storage with automatic installer content
- ext4.tar.gz from manual install package
- at least 2GB SD card (class 6 at least will be enough) with one FAT32 partition or with 2 partitions (FAT32 + ext2/3/4)

2. Manual install on Internal Storage
- guide by Gardakkan - link
- video tutorial by aafi-rocks - link

3. Storage devices (mmcblk*)
Following rules are for storage devices:
- if there is no external SD card, internal storage (My Storage) partitions are: /dev/block/mmcblk0p*
- if there is external SD card, internal storage (My Storage) partitions are: /dev/block/mmcblk1p* and external SD card /dev/block/mmcblk0p*
- there is kernel limitation of 7 partitions for mmcblk devices, so last partition is allways mmcblk*p7

4. Moutning Internal Storage as sdcard
Change /system/etc/vold.fstab line:
dev_mount sdcard /mnt/sdcard auto/devices/platform/s3c-sdhci.0/mmc_host/mmc0
to:
dev_mount sdcard /mnt/sdcard auto/devices/platform/s3c-sdhci.1/mmc_host/mmc1
4. ADB
- first install Android SDK
- Windows 7 - installs all drivers from Windows Update automatically
- Windows XP - use this link, but without Step 1
- Linux - follow steps (as root or with sudo):
- create file /etc/udev/rules.d/99-android.rules with following content:
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", SYMLINK+="android_adb", MODE="0666" GROUP="plugdev"
- reload udev rules: service udev restart
Basic usage:
- adb logcat (shows logs)
- adb logcat -b radio (shows radio logs)
- adb push local_filename remote_dir_path (copies file to device)
- adb pull remote_filename_path local_dir (copies remote file to PC)
- adb install app_name.apk (installs Application from file)

5. Movies
Probably best and smooth player is MX media player (even free version) with ARMv6 VFP codecs.

6. Sample startup.txt (for second partition of mmcblk device)
Set ramsize 180*1024*1024
Set mtype 1626
Set ramaddr 0x50000000
Set kernelcrc 1
Set CMDLINE "rootdelay=2 root=/dev/mmcblk0p2 init=/init console=ttySAC2,115200 vmalloc=256M"
setbitp 0x7F008808 5 1
pfw 0x7f005800 4 0x3
pfw 0x7f005804 4 0x805
pfw 0x7f005808 4 0x7
pfw 0x7f00580c 4 0x0
pfw 0x7f005828 4 0x11
pfw 0x7f00582c 4 0x80
boot

7. Chinese fonts
Update available here (thanks andylau&Job21).

8. RAM size
Generally Omnia 2 has 256MB of RAM. Below there are two main components which uses it:
- Radio (GSM) - 64mb (cannot be changed, it's hardcoded into radio firmware)
- 3D - 64mb (can be changed but if it will be lower, white squares will occur in 3d apps)
- Android - ~128mb

Edited by voyteckst, 19 February 2012 - 07:50 PM.

  • 11

#3
voyteckst

voyteckst

    Addict

  • Members
  • PipPipPipPipPip
  • 889 posts
  • Gender:Male
  • Location:Cracow, Poland
  • Devices:Xperia Neo V/Nexus 7
Archive for beta2:
Note1: Pink screen at boot
It's normal because of no logo compiled in. If it's too long (longer than 30s) tap the screen. If this not helps, You probably set wrong partition in startup.txt.

Note2: WiFi
- There is a bug with WiFi. If it's on and phone go sleep, after wake there is a chance it would not work again. Only fix is to reboot (some people say that: dev tools>connections>disable/enable wifi helps). We suggest to turn off WiFi before suspending phone.
- Sometimes phone cannot connect to router (it connects, but no DNS addresses). Workaround: in build.prop uncomment following entries:
#net.dns1=8.8.4.4
#net.dns2=8.8.8.8
to:
net.dns1=8.8.4.4
net.dns2=8.8.8.8

Note3: Black screen after call
There is a bug in a phone call. When call is finished, screen stays black. Workaround is to swipe through proximity sensor

Note 4: Manual install
Example: if You have two partitions on SD card (first vfat, second ext4) You should set in startup.txt following: root=/dev/mmcblk0p2. Full file example for this (do not change anything other, only root device):
Set ramsize 180*1024*1024
Set mtype 1626
Set ramaddr 0x50000000
Set kernelcrc 1
Set CMDLINE "rootdelay=2 root=/dev/mmcblk0p2 init=/init console=ttySAC2,115200"
setbitp 0x7F008808 5 1
pfw 0x7f005800 4 0x3
pfw 0x7f005804 4 0x805
pfw 0x7f005808 4 0x7
pfw 0x7f00580c 4 0x0
pfw 0x7f005828 4 0x11
pfw 0x7f00582c 4 0x80
boot
If You want install on My Storage (Internal Storage):
mmcblk1p5 - by default is My Storage partition (this partition is mounted by default by Android as /storage)
mmcblk1p6 - by default is hidden partition
You have to resize mmcblk1p5, then create mmcblk1p7 (this will be root device in startup.txt) and format it with ext4.

For those who have problems with pink screen. Use this kernel BUT ONLY FOR checking what's going on. It has enabled vga console, but causes instability of android. AFTER problem diagnosis, You HAVE TO use normal kernel (with pink screen).

Edited by voyteckst, 30 November 2011 - 06:03 AM.

  • 5

#4
pessoa

pessoa

    Newbie

  • Members
  • Pip
  • 46 posts
Well... there's no ZImage for real...

I don't know squat about how to compile stuff so, i could use some help... :D!!!

Any estimative on battery duration?

In the previous topic, ppl where talking about changing phone part and stuff... is it necessary for the new beta?

Does the devs need any specific feedback on the beta testing?

Well, thanks for it all, devs!!!!
Regards!

  • 0

#5
erikcas

erikcas

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,061 posts
  • Location:Castricum, Holland
  • Devices:Samsung B7610
  • Twitter:@castwitz

There is no zimage? If yes i'll upload it within hour...

Sent from my GT-I8000

Thanx. Keeps me from compiling ;)

  • 0

=====================================

Samsung Cooper, Fit, Gio & Mini Development

CM9 && CM10.1

AndroidArmv6 // Jellaxy

My Github

=====================================


#6
dabiz

dabiz

    Regular

  • Members
  • PipPip
  • 76 posts
  • Devices:samsung omnia II

Maybe we can try zImage from here: http://o2droid.phj.h...kern_oII/zImage

I think this is an old version and will not work. The last one shall be compiled (is the one they have been working on during the last months)

  • 0

#7
r1c4rd0

r1c4rd0

    Regular

  • Members
  • PipPip
  • 127 posts
  • Gender:Male
  • Location:Porto-Madeira-Portugal
  • Devices:Samsung Omnia i8000 and i900

There is no zimage? If yes i'll upload it within hour...

Sent from my GT-I8000

Hi voyteckst there is no Zimage, please upload it...
By the away i apreciate your hard work and of the team too, i want to big thanks for you guys.

Edited by r1c4rd0, 17 September 2011 - 04:49 PM.

  • 0

#8
rom_omnia2

rom_omnia2

    Enthusiast

  • Members
  • PipPipPip
  • 239 posts
  • Gender:Male
  • Devices:Omnia

But plse Upload it to mediafire or megaupload it will be so much faster


I've just finished the download at 600 KB/s, about 5 minutes. Just have to wait the server get free.

Edited by rom_omnia2, 17 September 2011 - 04:54 PM.

  • 0

#9
alabama20

alabama20

    Enthusiast

  • Members
  • PipPipPip
  • 157 posts
  • Gender:Male
  • Location:Slovakia
  • Interests:IT, PDA, WEB
  • Devices:Samsung GT-I8000 Omnia 2

<br /><br /><br />

I'm just finished the download at 600 KB/s, about 5 minutes. Just have to wait the server get free.


OMG i was talking about the zImage :D

  • 0

#10
rom_omnia2

rom_omnia2

    Enthusiast

  • Members
  • PipPipPip
  • 239 posts
  • Gender:Male
  • Devices:Omnia

OMG i was talking about the zImage :D


My bad, i thought you were talking about the server being slow.

Edited by rom_omnia2, 17 September 2011 - 04:53 PM.

  • 0

#11
dabiz

dabiz

    Regular

  • Members
  • PipPip
  • 76 posts
  • Devices:samsung omnia II

<br /><br /><br />

I'm just finished the download at 600 KB/s, about 5 minutes. Just have to wait the server get free.

Anyway Zimage file is not big, the problem is compiling it...

  • 0

#12
nikkotsoi

nikkotsoi

    Enthusiast

  • Members
  • PipPipPip
  • 279 posts
this is my first time to manual install the android
is it normal to see something like "daemon" and "killing children" and finally screen freezed with ext4 error when there isn't any zimage?
or is that abnormal? thx for ur help!

  • 0

#13
dabiz

dabiz

    Regular

  • Members
  • PipPip
  • 76 posts
  • Devices:samsung omnia II

this is my first time to manual install the android
is it normal to see something like "daemon" and "killing children" and finally screen freezed with ext4 error when there isn't any zimage?
or is that abnormal? thx for ur help!

It happened the same to me but I used the old version of the Zimage... I supposed it was because of kernel...

  • 0

#14
voyteckst

voyteckst

    Addict

  • Members
  • PipPipPipPipPip
  • 889 posts
  • Gender:Male
  • Location:Cracow, Poland
  • Devices:Xperia Neo V/Nexus 7
zImage will be in few minutes (also in main package).

  • 1

#15
r1c4rd0

r1c4rd0

    Regular

  • Members
  • PipPip
  • 127 posts
  • Gender:Male
  • Location:Porto-Madeira-Portugal
  • Devices:Samsung Omnia i8000 and i900

zImage will be in few minutes (also in main package).

Thanks a lot voyteckst.
it is allready updated.

Edited by r1c4rd0, 17 September 2011 - 05:06 PM.

  • 0

#16
erikcas

erikcas

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,061 posts
  • Location:Castricum, Holland
  • Devices:Samsung B7610
  • Twitter:@castwitz

OMG i was talking about the zImage :D

zImage is only ~ 2.5 Mb
Why to mediaupload. The devs site is good enough

  • 0

=====================================

Samsung Cooper, Fit, Gio & Mini Development

CM9 && CM10.1

AndroidArmv6 // Jellaxy

My Github

=====================================


#17
dabiz

dabiz

    Regular

  • Members
  • PipPip
  • 76 posts
  • Devices:samsung omnia II

zImage will be in few minutes (also in main package).

Thanks a lot!

  • 0

#18
agalance

agalance

    Newbie

  • Members
  • Pip
  • 11 posts
  • Devices:Samsung i8000
zImage can be downloaded from the main site...

  • 0

#19
alabama20

alabama20

    Enthusiast

  • Members
  • PipPipPip
  • 157 posts
  • Gender:Male
  • Location:Slovakia
  • Interests:IT, PDA, WEB
  • Devices:Samsung GT-I8000 Omnia 2
Hey guys after running the haret.exe i got a pink screen anyone else?!

  • 0

#20
voyteckst

voyteckst

    Addict

  • Members
  • PipPipPipPipPip
  • 889 posts
  • Gender:Male
  • Location:Cracow, Poland
  • Devices:Xperia Neo V/Nexus 7

Hey guys after running the haret.exe i got a pink screen anyone else?!


Read README!!!!

  • 2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users