Jump to content

Project:Android 2.3.X Gingerbread (gb) Porting on Samsung i8000 (Omnia 2 - O2) !!!


Recommended Posts

Guest spiderman1961
Posted

Here is Version 2:

working:

audio

phone

vibration

deepsleep

Download:

http://www5.zippysha...84110/file.html

Great job!!!!!!!!!!!

Now finally work

And as i said before there are some lines changhed not reported before. This is because before network doesn't work.

Thank you so much dn1, now we can go forward...

I will try fix bluetooth and wifi (hope)

Guest dni123
Posted

i found out, if i load the multipdp module - which is necessary for data connection - then deepsleep is not working anymore...

Guest spiderman1961
Posted

i found out, if i load the multipdp module - which is necessary for data connection - then deepsleep is not working anymore...

I have just loaded libertasspi for fixing wifi and also for me deepsleep doesn't work :(

Guest spiderman1961
Posted

I made these changes on vold.conf

## vold configuration file for the 'GT-I8000' target

volume_sdcard {

## This is the direct uevent device path to the SD slot on the device

media_path /devices/platform/s3c-sdhci.0/mmc_host/mmc0

media_type mmc

mount_point /sdcard

ums_path /devices/platform/s3c6410-usbgadget/gadget/lun0

}

I made these changes on vold.fstab

## Vold 2.0 Generic fstab

## - San Mehat ([email protected])

##

#######################

## Regular device mount

##

## Format: dev_mount <label> <mount_point> <part> <sysfs_path1...>

## label - Label for the volume

## mount_point - Where the volume will be mounted

## part - Partition # (1 based), or 'auto' for first usable partition.

## <sysfs_path> - List of sysfs paths to source devices

######################

# externel sdcard

dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.1/mmc_host/mmc0 #/mmc0:0001

#keep this line.

With these changes we can mount external sd as sdcard: so gallery and other app need it can work

Guest dni123
Posted

i have no sdcard in it, so in my case i want to mount internal storage as sdcard... but its not working jet for me...

Guest spiderman1961
Posted

I confirm that with loaded libertasspi from twister2 deepsleep doesn't work

Now i 'll try to mount internal sd as storage

Guest spiderman1961
Posted (edited)

i have no sdcard in it, so in my case i want to mount internal storage as sdcard... but its not working jet for me...

Yes because there is another way to load it, but i don't kwow wich: i'll try discover

-----------------------------Update---------------------------------

"/system/etc/vold.fstab" : This file mounts the External SD card. You need "dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.1/mmc_host/mmc1" if you want to mount "My Storage" as an SD Card

You must modify also vold.conf

"media_path /devices/platform/s3c-sdhci.1/mmc_host/mmc1

Edited by spiderman1961
Guest spiderman1961
Posted (edited)

Fixed swap partition!!!!!!!!! Working now.

Add fstab from twister2 to system ect; chown root:root, chmod 777; make linux swap 250mb and reboot.

To verify if works, type "free" on terminal emulator: number must be no "0"

Edited by spiderman1961
Guest spiderman1961
Posted (edited)

To have correctly mounted internal sd ("my storage") as "storage" and external sd ("storage") as "sdcard" made these changes:

  • on vold.conf

    "media_path /devices/platform/s3c-sdhci.0/mmc_host/mmc0"
    • ​on vold.fstab

    "dev_mount sdcard /mnt/sdcard auto /devices/platform/s3c-sdhci.0/mmc_host/mmc0 #/mmc0:0001"

    [*]on initc.rc

    "mount vfat /dev/block/mmcblk1p5 /storage"

    These changes are for these partitions:

    -fat32 350 mb logical

    -ext4 1320 mb logical

    -linux swap 250 mb logical

Edited by spiderman1961
Guest dni123
Posted

with loading module multipdp.ko and setting the dns nameservers manually data is working!

I edited init.rc and copied folder for bluetooth and wifi...

bluetooth is working !!!

wifi not yet, but i can scan for wifi networks from console now :-)

Guest spiderman1961
Posted

with loading module multipdp.ko and setting the dns nameservers manually data is working!

I edited init.rc and copied folder for bluetooth and wifi...

bluetooth is working !!!

wifi not yet, but i can scan for wifi networks from console now :-)

Did you copy from system/etc and data/misc ?

Guest dni123
Posted (edited)

just from system/etc i guess

and copied from system/bin iwconfig iwlist wpa_cli wpa_supplicant

then i loaded the libertasspi

then ifconfig wlan0 up

then iwlist scan

and i see my wlan in the list

but i have not managed to connect yet...

Edited by dni123
Guest spiderman1961
Posted

just from system/etc i guess

And which did you edit on init.rc?

Guest argentinos
Posted (edited)

read this

http://blog.linuxcon...to-android.html

i think it will help you fix the wifi

p.s. why you created modules2 under system/lib ?

if you read init.rc it leas to non existing files.

p.s.2 on next build try to merge files from here

http://goo.im/gapps/...0828-signed.zip or here

http://www.androidfi...979706399755027

it's latest CM7 google apps

you can also try to port some gapps from cm9 and cm10 (wiki.cyanogenmod.org/w/Gapps). already checked which ones are compatible. if you want i can make a pack and upload them to you.

Thanks for your great jobs

Edited by argentinos
Guest spiderman1961
Posted

you can also try to port some gapps from cm9 and cm10 (wiki.cyanogenmod.org/w/Gapps). already checked which ones are compatible. if you want i can make a pack and upload them to you.

Thanks for your great jobs

Yes it will be useful!

Guest spiderman1961
Posted (edited)

just from system/etc i guess

and copied from system/bin iwconfig iwlist wpa_cli wpa_supplicant

then i loaded the libertasspi

then ifconfig wlan0 up

then iwlist scan

and i see my wlan in the list

but i have not managed to connect yet...

Hi dni123

Before all thank for your great and especially fast job :)

I red all init.rc: you changed a lot the code! Wonderful job!!

We are gaining a lot of time thanks to you: however I think (maybe i'm worng) it would be nice if you share accurately changes you make on the rom: it would be useful to increase the knowledge of all also in view of a future porting ICS.

I discovered that path of wifi and bluetooth folder is correct and also path of wpa_cli and wpa_supplicant,

but path of iwconfig and iwlist is not /system/bin but /system/xbin or /sbin? did you change both?

Moreover ifconfig path is /sbin or /system/bin or /system/xbin? Which did you change?

Again: what does mean wlan0 up?

Please can you explain better? Thanks

-----------------------------Update---------------------------------

I tried following your instructions though not clear: now android doesn't boot :(

Edited by spiderman1961
Guest argentinos
Posted (edited)

for also making gps to work check these

http://www.kandroid....k/docs/gps.html

http://e2e.ti.com/su...9/t/227304.aspx

https://groups.googl...ing/4dAidcheRoM

i am sorry i can not test it myself right now. i have some problems do not allow me to completely follow the project. i hope in near future i can help more on this project. once again thanks for your time and efforts

Edited by argentinos
Guest spiderman1961
Posted

for also making gps to work check these

http://www.kandroid....k/docs/gps.html

http://e2e.ti.com/su...9/t/227304.aspx

https://groups.googl...ing/4dAidcheRoM

i am sorry i can not test it myself right now. i have some problems do not allow me to completely follow the project. i hope in near future i can help more on this project. once again thanks for your time and efforts

Hi argentinos, your help is valuable also in this situation: you links are clarifiers!!!

Continue support us as you can :)

Guest dni123
Posted

Thy for the links argentinos!

The wifi Link was very helpful!!!

I am curently connected to my WLAN, but connecting is only working from console till now.

@Spiderman1961

the location for iwlist and iwconfig is ok...

ifconfig wlan0 up tells the wlan0 interface to start up, so that wpa_supplicant can use it.

Guest spiderman1961
Posted

Thy for the links argentinos!

The wifi Link was very helpful!!!

I am curently connected to my WLAN, but connecting is only working from console till now.

@Spiderman1961

the location for iwlist and iwconfig is ok...

ifconfig wlan0 up tells the wlan0 interface to start up, so that wpa_supplicant can use it.

Sorry maybe i don't understand :( and apologize for this....

But do you copy iwlist and iwconfig from Twister2?

I cannot find them on system/bin of twister

Guest Antoxa1998
Posted

According minlroid final 2.2.3 above files should be in sbin folder.

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.