yashsingh1/xdaforums huggingface dataset:
[GT540 Optimus Android Development] airbus360:
Important

Things to consider, people dev and actually fix things, or people who are going to build the rom and end up with the same progress as everybody else?

I have started a cm9 build for the swift, the biggest thing needed to be improved is the onscreen keyboard. In mike's famous CM9 the keyboard is terrible (its a beta so bugs are expected). Battery life isn't the best for me. It dies when I am not using the phone, most likely due to the System, some people need to tweak the system to eat less resources like some of the soft-mod gingerbread roms.

One other thing, making soft-mods of ICS may upset some people..

PS. DO NOT Make a Build and Claim it is all done by you, credit the people who made changes to the source for you to build from.

Airbus
[GT540 Optimus Android Development] clienthax:
touchpal is a great keyboard replacement for that keyboard ;)
[GT540 Optimus Android Development] liamwli:
I wouldn't mind joining, but I'd probably be useless, with most of my time taken up by school.

Also, I just started learning c...
[GT540 Optimus Android Development] airbus360:
Yeah, I am talking about the default aosp keyboard that CM9 uses, the LG_IME could be used but wouldn't match ICS' UI.
[GT540 Optimus Android Development] wwenigma:
Virtualbox or VMware ws recommended? Phenom II x4 @3,4GHz w/ 8G DDR3

My SSD is too little (96GB) for W7 and Linux, so only HDD.
[GT540 Optimus Android Development] clienthax:
id say vmware, its a lower level emulator in general (usb can be transfered to the guest os etc)
[GT540 Optimus Android Development] wwenigma:
Yep, started ubuntu install.
[GT540 Optimus Android Development] airbus360:
Why not try install ubuntu via wubi for Windows? It dual boots you PC between Windows and Ubuntu? Its completely Free :)

http://www.ubuntu.com/download/ubuntu/windows-installer

100% recommended and is faster than running in a virtual machine :)

PS. Ubuntu 10.04 LTS is a much preferred OS to build android on, 11.04/10 isn't so good.
[GT540 Optimus Android Development] clienthax:
ik about wubi, but i prefer windows as my main os, and with wubi its a ***** to expand the harddrives etc

all personal choice ;)
[GT540 Optimus Android Development] reD.:
Wow great thread miroslav,i hope that you and team will create nice and stable rom!
[GT540 Optimus Android Development] fishears:
miroslav, you are officially my hero for this thread. I hope to be able to help in some way.

Sent from my LG GT540 Swift
[GT540 Optimus Android Development] miroslav_mm:
Device folder is ready!

patches for build later.
[GT540 Optimus Android Development] miroslav_mm:
Ok! Devs check the rep. I think can download project and try build. If will have problem just ask here or ask in ICQ 47584095(five)

Good night! ;)
[GT540 Optimus Android Development] clienthax:
its still syncing with the repo atm lol
[GT540 Optimus Android Development] NoDze:
Just came to say that I personally like the ICS keyboard from mikes cm9. It's small but quite precise.

Oh, and the battery consumption isn't the systems fault. Deep sleep isn't working, so I guess it's a kernel thing.

All in all, you've got your team :D nice to see some team spirit :) we need that :) good luck everyone :D
[GT540 Optimus Android Development] smg72523889:
vmware player or workstation (if you buy) recommended, it has best performance
[GT540 Optimus Android Development] wwenigma:
Thanks, atm syncing repo under Ubuntu 10.04/VMWW.
[GT540 Optimus Android Development] clienthax:
aparantly your icq is invalid :/ (we could not find..)

---------- Post added at 12:05 AM ---------- Previous post was at 12:02 AM ----------

i should of realy gone with 10.04 (im on 11) syncing takes forever
[GT540 Optimus Android Development] wwenigma:
It comes with ~8-12Mbps, my connection max is 90Mbps. :(
[GT540 Optimus Android Development] Sadronis:
And the Trebuchet is a little laggy we should use NovaLauncher instead of Treebuchet.
[GT540 Optimus Android Development] MauroG:
since I do know NOTHING about developing I can only help as a Tester, count on me on that... AFAI can do!
[GT540 Optimus Android Development] cccb010:
I would like to help but i only know java / python and my main pc isnt good :(
[GT540 Optimus Android Development] wwenigma:
First error:

Receiving objects: 100% (19495/19495), 1.79 GiB | 466 KiB/s, done.
Resolving deltas: 100% (11167/11167), done.
From git://github.com/CyanogenMod/android_prebuilt
* [new branch] gingerbread -> github/gingerbread
* [new branch] gingerbread-release -> github/gingerbread-release
* [new branch] ics -> github/ics
* [new tag] cm-7.1.0 -> cm-7.1.0
Fetching projects: 100% (245/245), done.
Syncing work tree: 5% (13/245) error: revision refs/heads/ics in Swift-Team/android_device_lge_swift not found
wwenigma@ubuntu:~/CM9$ repo sync
Fetching projects: 100% (245/245), done.
error: revision refs/heads/ics in Swift-Team/android_device_lge_swift not found
wwenigma@ubuntu:~/CM9$ ~/CM9/system/vendor/cyanogen/get-rommanager
bash: /home/wwenigma/CM9/system/vendor/cyanogen/get-rommanager: Nincs ilyen fájl vagy könyvtár
wwenigma@ubuntu:~/CM9$ cd ~/CM9/
wwenigma@ubuntu:~/CM9$ repo sync
Fetching projects: 100% (245/245), done.
error: revision refs/heads/ics in Swift-Team/android_device_lge_swift not found
wwenigma@ubuntu:~/CM9$

Sleeptime, i think. :)
[GT540 Optimus Android Development] clienthax:
can confirm above error
[GT540 Optimus Android Development] -Grift-:
Interesting go see the latest xdatv vid about how the vilianrom team came about. Virtualbox 2gb ram 2core 1 physical 1 virtual no idea how to make rom's:) only test
[GT540 Optimus Android Development] miroslav_mm:
2 wwenigma

oh! sorry, I fogot about <project path="android" name="Swift-Team/android" />

try again!

repo sync

and maybe need put this file into

.repo/manifests/

near default.xml
[GT540 Optimus Android Development] miroslav_mm:
Ok! I just wanna say, this topic only for Devs, so let's write here only for work.

First what do you need - download CM9 from Swift-Team repository.

Next, if you will be member of Git Swift-Team you need "watch" on fork folder on CyanogenMod, so if CM will make same patch we need marge this too.

Time-by-time I and other Devs will be edit source code, so you need sync repo time-by-time.

At this moment for default using kernel 2.6.29, so HW dont working with old libs.

For HW working need:

- 1 way- port 3D kernel drivers (kgsl) from 2.6.35 P500 on 2.6.29 and use andreno libs from P500;

- 2 way port 3D kernel drivers (kgsl) from 2.6.35 P500 on 2.6.35 (wingrime) and use andreno libs from P500;

- 3 way finish kernel 2.6.35 from my rep and use andreno libs from P500;

- 4 way use mike's kernel for first time for economy time, but for me (I just look inside source) in kernel to match trash (a lot of don't using driver from P500, need improve), and dont forget about 2G_slit.

So everyone can change your way and tell other about result.

If samebody will be use P500 kernel sources - use OMX* files from P500 ROM for video/cod/decod.

If you have questions:

icq - 475840955

twitter - https://twitter.com/myroslav_mm
[GT540 Optimus Android Development] mikegapinski:
Ok, but the 3d propietaries from p500 crash - I use the htc ones ... The omx libs won't work on ICS - you need to build them, I will add the soruce for HW accel but there is not enough space on GH - I got the hosting with unlimited space to insert git and review on ! Github is a little piece of **** ;) but about the kernel, p500 drivers are **** - thay don't work correctly(video,battery,camera etc) ... You need to take them from vanilla on from 29 :) there is no other way to make this to work, as I seen on your GH you do it the same way. ! Now we have got 3 chooses:

My p500 finshed kernel

Wingrime kernel

And to port the shared CM kernel(for now waste of time, it will result in the same as my kernel above)

Now we need to work on camera, all the **** I did will appear soon
[GT540 Optimus Android Development] miroslav_mm:
omx libs will works (must) with libstagefrighthw (look on my git) and libOmxCore (libmm-omxcore)

in wingrime kernel 3D driver (kgsl) the same like in 2.6.29, need to port new, maybe from 3.0, but were we can find andreno libs for 3.0. I dont sure that from HTC will work.

Without source's andreno full working 3D and Hw - impossible.

P.S. about free space on Github: - just create new user. 300mb for each, you can have 10-20-30 accounts! :)
[GT540 Optimus Android Development] mikegapinski:
The 3.0 driver for now is not needed... The way it is hacked In my ics is good for beginning ! But why you disabled animations, with updated egl thay work like a charm ;)

I got the idea for full working adreno without hacks, I will appear on icq in few minutes
[GT540 Optimus Android Development] woglinde:
Hi,

I think there are not one yet, but I didn't looked in the latest sdk from qualcom which you find here:

developer.qualcomm.com/develop/mobile-technologies/graphics-optimization-adreno/tools-and-resources

Besides there is still the petition at qualcom to free the or release libs for the adreno 200

developer.qualcomm.com/forum/qdevnet-forums/graphics-optimization-adreno/8081
[GT540 Optimus Android Development] miroslav_mm:
Informations for devs:

all time looking here:

http://review.cyanogenmod.com/#q,status:open,n,z

you can watch Open/Merged/Abandoned patches and pick-up interesting for us, because a lot of them CM dont Merge, so many interesting information died.

You can follow for project on 7227 and other Qcom device:

like

https://github.com/lupohirp

https://github.com/t0mm13b

https://github.com/andy572

https://github.com/Evervolv-ICS

https://github.com/adfad666

https://github.com/inferiorhumanorgans

https://github.com/burstlam

https://github.com/ikarosdev

https://github.com/TwistedUmbrella

https://github.com/freexperia

https://github.com/Quarx2k

https://github.com/mik9

https://github.com/KonstaT

https://github.com/Squadzone

https://github.com/TeamICS

https://github.com/pax0r

and look on CA

https://www.codeaurora.org/gitweb/quic/la/
[GT540 Optimus Android Development] wwenigma:
file copied

wwenigma@ubuntu:~/CM9$ repo sync
Fetching projects: 100% (233/233), done.
error: revision refs/heads/ics in Swift-Team/android_device_lge_swift not found

I delete and redownload all thing.
[GT540 Optimus Android Development] wwenigma:
I deleted all downloaded thing in my HDD, and now redownloading in progress. With "repo sync -j 8" switch, it comes with 25Mbps. :)
[GT540 Optimus Android Development] miroslav_mm:
have any problems with

"error: revision refs/heads/ics in Swift-Team/android_device_lge_swift not found " ?
[GT540 Optimus Android Development] wwenigma:
Ehhh.. again

Fetching projects: 100% (233/233), done.
Syncing work tree: 4% (10/233) error: revision refs/heads/ics in Swift-Team/android_device_lge_swift not found
wwenigma@ubuntu:~/CM9$ repo sync
Fetching projects: 4% (10/233) remote: Counting objects: 9, done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 5 (delta 4), reused 5 (delta 4)
Unpacking objects: 100% (5/5), done.
From git://github.com/Swift-Team/android_device_lge_swift
eb0857f..7fbef59 master -> github/master
Fetching projects: 100% (233/233), done.
error: revision refs/heads/ics in Swift-Team/android_device_lge_swift not found
wwenigma@ubuntu:~/CM9$ repo sync
Fetching projects: 100% (233/233), done.
error: revision refs/heads/ics in Swift-Team/android_device_lge_swift not found
wwenigma@ubuntu:~/CM9$

this is WITHOUT your extra local-manifest.xml. Now trying with it. update post soon.

edit: with extra xml file, same error too.
[GT540 Optimus Android Development] clienthax:
im still getting that :/
[GT540 Optimus Android Development] miroslav_mm:
:mad: but, why? where is a mistake?

Ok!

delete line

<project path="device/lge/swift" name="Swift-Team/android_device_lge_swift" />

from

CM9/.repo/manifest/default.xml

and try again sync repo

after finish download just download folder from git android_device_lge_swift, press Zip

rename folder in swift and copy into CM9/device/lge/
[GT540 Optimus Android Development] clienthax:
could it be because that line doesnt have a revision tag when all the others do? therefor its defaulting to the normal default tag which doesnt exist :D?
[GT540 Optimus Android Development] miroslav_mm:
I found mistake! ;)

I forgot about

revision="master"

no good -

<project path="device/lge/swift" name="Swift-Team/android_device_lge_swift" />

good - <project path="device/lge/swift" name="Swift-Team/android_device_lge_swift" revision="master" />

just try

sync repo again !!!! ;)

Good luck!
[GT540 Optimus Android Development] clienthax:
YOU FOUND THE MISTAKE I JUST POSTED :cool:

il give it a go now

---

Seems to be working now

Odd, seems to be stuck on 231/233 :/
[GT540 Optimus Android Development] wwenigma:
Maybe he just happy and cant read back, just post it. :D

Syncing work tree: 56% (131/233) error: revision refs/heads/ics in Swift-Team/android_external_webrtc not found

:D
[GT540 Optimus Android Development] clienthax:
get on skype ;o
[GT540 Optimus Android Development] miroslav_mm:
https://github.com/t0mm13b/ics4blade/commit/fd15eb63321a24ea247a0c599048d539a7d2bdfd

https://github.com/t0mm13b/ics4blade/commit/a5b88c6424d03fd0ce50e26426a56ca460c2808d

https://github.com/t0mm13b/ics4blade/commit/28de0cd1eddec7e8e3cf5909e85c89b7b3cd8d1e

need try this patches, its first step to working camera.

libcamera can use from 2.3.7

camerahal inside swift folder

need port cameraParamers into Framework

camera its a hardest part. :confused:
[GT540 Optimus Android Development] clienthax:
im still stuck on syncing :/
[GT540 Optimus Android Development] miroslav_mm:
fixed!

try again
[GT540 Optimus Android Development] wwenigma:
Syncing work tree: 100% (233/233), done. :cool:
[GT540 Optimus Android Development] miroslav_mm:
Alleluia! :D
[GT540 Optimus Android Development] wwenigma:
Download RomManager which is needed by the build:

~/CM9/system/vendor/cyanogen/get-rommanager

Not found, no vendor directory in system dir.
[GT540 Optimus Android Development] miroslav_mm:
~/CM9/vendor/cyanogen/get-rommanager

run get-rommanager

switch-on logic ;)
[GT540 Optimus Android Development] zxcvbnnm:
i synced repo few minutes ago and have it but it isnt

~/CM9/system/vendor/cyanogen/get-rommanager

it is

~/CM9/vendor/cm/get-prebuilts
[GT540 Optimus Android Development] wwenigma:
repo sync

i start too but

make: *** No rule to make target `device/lge/swift/chargemode/chargerimages/battery_bg_bk.rle', needed by `out/target/product/swift/root/chargerimages/battery_bg_bk.rle'. Stop.

battery_bg.rle :)
[GT540 Optimus Android Development] zxcvbnnm:
@aaa801 you dont have this files try repo sync

external/chromium/Android.mk:5: external/chromium/third_party/libevent/Android.mk: No such file or directory
external/chromium/Android.mk:6: external/chromium/third_party/modp_b64/Android.mk: No such file or directory

@wwenigma

yeah this file doesent exist delete

device/lge/swift/chargemode/chargerimages/battery_bg_bk.rle:root/chargerimages/battery_bg_bk.rle \

from /device/lge/swift/swift-vendor.mk
[GT540 Optimus Android Development] wwenigma:
i made this file from battery_bg.rle, building is running. Maybe OC my CPU later, i forgot to set it to 3,4GHz. :D
[GT540 Optimus Android Development] miroslav_mm:
battery_bg.rle fixed

https://github.com/Swift-Team/andro...mmit/5646dc81b9c791caf5206e976473c44032a1ca58
[GT540 Optimus Android Development] DevSwift1:
@miroslav_mm

You are very active developer:P

Actually I am building AOSP ICS but i will start compiling CM9
[GT540 Optimus Android Development] miroslav_mm:
I added you to members but before do something on Git, show me you patches before, OK? ;)
[GT540 Optimus Android Development] wwenigma:
And now? :D

Package complete: /home/wwenigma/CM9/out/target/product/swift/update-cm-9.0.0-RC0-IceCreamSwift-KANG-signed.zip
75e77b43fe7974db63f18167cfafdb55 update-cm-9.0.0-RC0-IceCreamSwift-KANG-signed.zip

wwenigma@ubuntu:~/CM9$

That was fast, less than one hour.
[GT540 Optimus Android Development] miroslav_mm:
You is God! :D

And now try! Looking what is not working and fixing it! ;)
[GT540 Optimus Android Development] wwenigma:
Phone charging, im go to shop now to buy another box of cigarette, then i will try it. ;) :D
[GT540 Optimus Android Development] clienthax:
external/chromium/Android.mk:5: external/chromium/third_party/libevent/Android.mk: No such file or directory

external/chromium/Android.mk:6: external/chromium/third_party/modp_b64/Android.mk: No such file or directory

still missing after sync :/
[GT540 Optimus Android Development] wwenigma:
Only bootloop, maybe system partition size isnt enough. Finding a guide to use emulator...
[GT540 Optimus Android Development] airbus360:
Logcat? They can show you what isn't working. My Rom for S2 had a bootloop first and I found out what it was.
[GT540 Optimus Android Development] clienthax:
Ok wwenigma sent me the third_party folder

starting build now

---------- Post added at 07:59 PM ---------- Previous post was at 07:42 PM ----------

Figured out why i was getting errors

repo didnt bother to check out every file in the git repo,

i deleted the folders synced again and they all appeared
[GT540 Optimus Android Development] DevSwift1:
prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: out/target/product/swift/obj/lib/crtbegin_dynamic.o:(.text+0x14): error: undefined reference to 'main'
collect2: ld returned 1 exit status

WTF??
[GT540 Optimus Android Development] wwenigma:
So i have bootloop, nothing in adb logcat only - waiting for device. :( I set system partition size to 230MB (system.img size is 162,2MB). Turn on phone - white LG logo -> then disappear it to 2sec -> white LG logo.... HELP. :)

DevSwift1: followed install instructions? :p
[GT540 Optimus Android Development] miroslav_mm:
del boot.img/kernel from out/***

change zImage inside device/swift

use this for first time.
[GT540 Optimus Android Development] Sadronis:
i have the same problem. it doesn't even get to boot. Just first lg logo then reboot. After second reboot it boots up from recovery...

Edit: i'm a little bit late :) now i'm not on pc but after half hour i'll be...
[GT540 Optimus Android Development] wwenigma:
device/lge/Swift/prebuilt/kernel/zImage ?
[GT540 Optimus Android Development] miroslav_mm:
Yes it is.
[GT540 Optimus Android Development] DevSwift1:
..... yes ........
[GT540 Optimus Android Development] Sadronis:
I did it but it's still same... I just deleted boot.img and kernel. Than build again and it doesn't get to boot then reboot...
[GT540 Optimus Android Development] wwenigma:
Yep, still no adb stuff.
[GT540 Optimus Android Development] Sadronis:
I think it's not about zImage it's about ramdisk.img...

Edit: and the recovery.img from build works fine....
[GT540 Optimus Android Development] wwenigma:
ohm, i dont understand. use recovery.img from this build too and its working? Or recovery.img working so not ramdisk error?
[GT540 Optimus Android Development] Sadronis:
I don't know what problem it's but the recovery.img from this build works fine. I flashed recovery partition with recovery.img 5.4.* and it works like a charm. So where is the problem? Maybe builds problem? Display problem?
[GT540 Optimus Android Development] clienthax:
Does anyone fancy uploading there recovery update.zip as mines stll building

il try and logcat it
[GT540 Optimus Android Development] wwenigma:
i send you a link in pm, if you downloaded i delete.
[GT540 Optimus Android Development] Sadronis:
Ok i have done it :) Copy device/lge/swift/files/35 to device/lge/swift/files :)
[GT540 Optimus Android Development] wwenigma:
Trying nao. :)

With new zImage or old?
[GT540 Optimus Android Development] Sadronis:
Doesn't matter :)
[GT540 Optimus Android Development] wwenigma:
only blinking LG logo. do you boot system?
[GT540 Optimus Android Development] zxcvbnnm:
for me too only white logo lg but i take ramdisk from mike's beta 4 and it work now;d
[GT540 Optimus Android Development] Sadronis:
Yeah i booted system the gpu driver has problems the display glitchers :)
[GT540 Optimus Android Development] wwenigma:
Whoo, bootanimation! Like a picasso.... gpu ^^

Need to delete ramdisk and other compiled stuff, then recompile and now "working" with copied files.

It booted, screen is lagging but colors are nice.

This EGL hack, what Mike is use?
[GT540 Optimus Android Development] clienthax:
The boot anim

ITS HORRIBLE

Seems 3d acceleration is borked (extreme frame glitchs)

GSM radio seems to not work
[GT540 Optimus Android Development] miroslav_mm:
Oh! I see the progress guys! ;)

Congratulation this first build!

about this one, I will do this later, 90% of this patches apply yet by CM, so need just add something.

http://xdaforums.com/showpost.php?p=21671073&postcount=30

What a problem this ramdisk? Think, need just del same line in init.swift.rc. I will fix it later.
[GT540 Optimus Android Development] -Grift-:
How's progress?
[GT540 Optimus Android Development] wwenigma:
packages/providers/MediaProvider/src/com/android/providers/media/MediaScannerService.java:175: getExternalStorageState() in android.os.Environment cannot be applied to (java.lang.String)
if (Environment.MEDIA_CHECKING.equals(Environment.getExternalStorageState(path))) {

Repo sync, build and now need someone with JAVA knowledge. :D Learning from google....

But why again only one member in Swift-Team?
[GT540 Optimus Android Development] -Grift-:
Tjesd or something like that seems to know java well
[GT540 Optimus Android Development] clienthax:
I actualy havnt managed a full compile yet(due to some ass fliping the ring main when it was like 80% done :@) , i tested ww's build

I have a error with c :-/
[GT540 Optimus Android Development] miroslav_mm:
2 wwenigma

don't spelt time for this bugs, its not a bug.

CM made something, You sync repo, but dont forget that same directory sync with Swift-Team repo. For fix this bug need just merge branch on Swift-Team, after then sync repo.

I will merge it later.
[GT540 Optimus Android Development] wwenigma:
I think its done with repo sync. :(
[GT540 Optimus Android Development] Sadronis:
Miroslav the zImage that you gave us is 2.6.29 from mur4ik. Did you get 2.6.35 to boot? If you did please upload it and then we will try to fix something and also i downloaded the kernel source but it says me:

I have changed the toolchain to 4.4.3 and it solved the problem...
[GT540 Optimus Android Development] clienthax:
proberly caused by a instruction the older toolchain couldnt understand
[GT540 Optimus Android Development] wwenigma:
May we enable a 10GB ccache , to speed up builds? 1 ---- 2

And a nooob question. How to update from Swift-Team after CM repo sync? Im a nooob.... sry.
[GT540 Optimus Android Development] miroslav_mm:
You can use all 3G_split kernel for GT540 from different Dev.
[GT540 Optimus Android Development] woglinde:
Hi,

still working on the innotek refactoring. It seems good to me to make it like the toshiba driver. But its really intressting to look at the source provided by lge in 2.6.29 and eve source code how badly it ended up in the board dir.
[GT540 Optimus Android Development] wwenigma:
After repo sync, need to copy device folder to

CM9/hardware/libhardware_legacy/device

and delete from

CM9/device/lge/swift/overlay/frameworks/base/core/res/res/values/config.xml

this line

<bool name="config_usesLegacyUsbDeviceManager">true</bool>

then built it succesfully but cache directory cant works(system try to use at cache/dalvik-cache)

E/dalvikvm( 1415): Could not stat dex cache directory '/cache/dalvik-cache': No such file or directory

Just for your information, i know its under construction.
[GT540 Optimus Android Development] riku-dark:
hello when it released the first release?
[GT540 Optimus Android Development] andreas__:
just read the posts and you will see that for now the repo must be completed and fixed^^ then the kernal & systems gets some wok and then the build has to finish without errors . so it will take some time for a usable version
[GT540 Optimus Android Development] riku-dark:
thanks! :D