yashsingh1/xdaforums huggingface dataset:
[Upgrading, Modifying and Unlocking] ouinouin:
unable to use repo and questions about porting

hi, im tryng to sync the codeaurora tree, to try to build this android branch.

I tried with eclair and donut, and i cant even sync the repository correctly using the repo command :

while doing

repo -p init -u git://codeaurora.org/platform/manifest.git -b eclair

I got

Traceback (most recent call last):
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/main.py", line 235, in <module>
_Main(sys.argv[1:])
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/main.py", line 217, in _Main
repo._Run(argv)
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/main.py", line 123, in _Run
cmd.Execute(copts, cargs)
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/subcmds/init.py", line 220, in Execute
self._LinkManifest(opt.manifest_name)
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/subcmds/init.py", line 145, in _LinkManifest
self.manifest.Link(name)
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/manifest_xml.py", line 86, in Link
self.Override(name)
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/manifest_xml.py", line 79, in Override
self._Load()
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/manifest_xml.py", line 207, in _Load
self._ParseManifest(True)
File "/home/ouinouin/soft/libre/android/codeaurora/eclair/.repo/repo/manifest_xml.py", line 225, in _ParseManifest
root = xml.dom.minidom.parse(self.manifestFile)
File "/usr/lib/python2.6/xml/dom/minidom.py", line 1918, in parse
return expatbuilder.parse(file)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 924, in parse
result = builder.parseFile(fp)
File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 207, in parseFile
parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: mismatched tag: line 11, column 4

I really regret the openwrt toolkit that makes really easy a firmware tuning for all the tiny routers.

i also tried the 2.2 image from LiBe , its working and seems fast enough, He managed to boot 2.2 with 2.6.27 kernel.

something else to discuss, for the hardware support, appart for GSM needing userland special rild, and the wifi maybe using wl wrapped command , the camera , bluetooth, sensors just need appropriate drivers ? or do we need also to tweak some userland parts ?
[Upgrading, Modifying and Unlocking] Dragon Kim:
http://www.mediafire.com/?0s1279i00066zb3

this file is 1.6T version
[Upgrading, Modifying and Unlocking] LiBeTL:
Hi,

Just to inform you that Huawei boards also include Qualcomm devices for RIL (i mean with this so called "libril-qc-1.so").

Looking forward to seeing Huawei smartphones on 2.2 OS (in August) so that we can make the port easier.

(Still trying to figure out how can we have a bootable linux kernel newer than 2.6.29 on 2.2 OS... hours of desperate compilations !)

LiBe.
[Upgrading, Modifying and Unlocking] giorgio130:
check out post #1312 and http://maldn.blogspot.com/
[Upgrading, Modifying and Unlocking] Polytheus:
Hey guys,

just a small update. I have eclair (2.1) running on my phone right now. SMS, 3G and Cell tower based location is working. Google apps should work, but I have not tested them yet. GPS is some more work to do, but I know what to do.

Placing and receiving phone calls works, too, but unfortunately there is an audio problem, and you wont hear anything. I have strong hints how to fix that, so I will try today.

When phone calls work, I will upload an image.
[Upgrading, Modifying and Unlocking] AlkaYoda:
Nice !

Thanks a lot for your work !!!

Impatiently waiting your new image
[Upgrading, Modifying and Unlocking] giorgio130:
Wooohoo! :D Poly you're a wizard :)

You don't have any donation link right? Is that a specific choice or what? I think many would gladly offer you a beer :)
[Upgrading, Modifying and Unlocking] ecaheti:
Is it possible to have it anyway? I'll be curious about the SMS handling with 2.1

.

And by the way congratulation for your work :)
[Upgrading, Modifying and Unlocking] :
WOW! Thanks Polytheus!

I know what I'm doing tomorrow :)
[Upgrading, Modifying and Unlocking] Adam620:
I second that (donation or beer :P)!!!
[Upgrading, Modifying and Unlocking] grave32:
What a great man you are!
[Upgrading, Modifying and Unlocking] Giuvi72:
The future of our phone is Poly, Zac, libe and all others forum friends, but surely not LG...

Thank you all (and a free beer, of course:) ).
[Upgrading, Modifying and Unlocking] ouinouin:
is your progress available on svn ?

what are technically your problems for sound and gps, can you share technical informations, can you also share already your image for having few support ?

thanks in advance.

LiBe also has a lot to share to my mind, please all use this forum as a technical forum, and not to ask just for unlock codes.
[Upgrading, Modifying and Unlocking] s2ada:
great ;)

great news, is there a way to share this breakthrough with a tutorial available for everyone??? ^^
[Upgrading, Modifying and Unlocking] DeathLT:
One question - if Polytheus will upload image with instructions how to install it ( i hope :)), do i need to root my phone before installing it?
[Upgrading, Modifying and Unlocking] lvhomie:
Does WiFi works?

I think, no. You just need access fastboot mode! After flashing, you may need to root it (if want)
[Upgrading, Modifying and Unlocking] kokojojobobo:
Thank you dragon kim.but it can't be installed.do I need a gtalkservice.odex

File or the gtalkservice from 1.5. Plz xda devels help me,its so annoying..contantly receiving force closes..
[Upgrading, Modifying and Unlocking] giorgio130:
Don't you have any backup? Reflash it. I think not many people is still using 1.5 here...

EDIT

http://www.mediafire.com/?1494do8f1k707c5

I got it from an old backup.
[Upgrading, Modifying and Unlocking] Grank:
Well done!!

I'm excited :)

I'd like to know what your Linpack results are... on rooted stock 1.5C I've never gotten much above 2 MFLOPS :P
[Upgrading, Modifying and Unlocking] kokojojobobo:
Thank you so much.I think I need the Talk.apk too.anyway.I'd like to reflash but can't access the kdz file link located in the debrick method page(because I can't enter fastboot mode).in addition,I think the wiki page is down.does anyone have the same problem with me?
[Upgrading, Modifying and Unlocking] Torontonian:
Wow guys...I have been watching this forum daily and am impressed. I know this is open source and you don't do it for money, but you guys really deserve some token of our appreciation once this is up. I am anxiously awaiting 2.x for our Eves so we can prove that LG lied all along. :-)

I am still using the original 1.5 though...the 1.6 posted as far as I know have SMS issues which I cannot afford to have as SMS is an important form of communication for me.
[Upgrading, Modifying and Unlocking] lvhomie:
You don`t need fastboot mode to reflash via *.kdz file. Fastboot is only for *.img files

http://csmg.lgmobile.com:9002/swdata/WEBSW/GW620/ABALBQ/V10d_00/V10D_00.kdz

It has Latvian, Estonian, English, Russian, Laithuanian language (maybe some more). I suggest make APN backups. This version have fastboot holding SPACE while Plug in USB and continue hold it till Fasboot message shows (phone don`t have battery in)

EDIT: Root password: EVE&ADAM&&620LOVE!

Tools needed: Google for LG-Utils-0.4.2 and B2CAppSetup

Tut`s how to reflash can be found on net.
[Upgrading, Modifying and Unlocking] grunf:
Hi to all.

I heve recently got gw620 and i heave spent last couple of days reading all 138 pages of this thread (i should be getting some badge for this).

Polytheus - great progress, i hope that you will clear problems with eclair. Yours progress is keeping my hopes high. if you need help testing or something with linux just post it. i heave couple of friends that are very good with linux.

Zacpod - big thanks for rooting guide.

Im still finding out what i can do with this phone.

I will keep my eye on this thread for all info about progress.
[Upgrading, Modifying and Unlocking] DeathLT:
Hi Guys,

so i rooted my Eve. :) Finally :) i proceeded Zapcode instructions and as i understand everything is done well. But for make sure, how to know that i really succeded? I found this proove that i have rooted it :

- In the end of procedure (typing install superuser.apk cmd has wrote "Succeded")

- Task manager shows that superuser.apk is running on phone.

Is there other ways to check that i rooted it succesfully?

Second question - if it is possible to send files via bluetooth when phone is rooted? If yes, please reply with link or instruction how to do that. Thank you in advance! :)
[Upgrading, Modifying and Unlocking] grunf:
bluetooth and su

regarding rooting check if you heave program superuser. if so all is ok (you can use program android commander for this check)

as for bluetooth file transfer that is not possible.Android doesn't heave obex protocol integrated but i will check that problem with friend and see if it can be added. i did try some programs available on market but non of them works for gw620.

maybe this can be addressed in custom version of android that Polytheus is making, poly please tel us what do you think. my friend has experience with bluetooth and linux so he might help.
[Upgrading, Modifying and Unlocking] DeathLT:
As i know, bluetooth transfer is available just from android 2.0 (or 2.1). But i thought maybe rooting and some software could manage to do that. As i understand, we will have to wait for 2.1 from Polytheus.
[Upgrading, Modifying and Unlocking] Giuvi72:
Possible solution to Voice Search issue

Hello friends,

I've found on a Korean blog a possible solution to google voice search issue in V10xxx Korean roms.

The problem seems to be caused by a bad library, but my knowledge of linux/Android is poor (and my Korean too :) )

You have to change original /system/lib/libaudio.so with this one:View attachment libaudio.zip, giving it the same permissions of the original one (-rw -r -r)(BACKUP IT).

I'm trying it now and it seems to work fine.

More feedback to come...
[Upgrading, Modifying and Unlocking] grunf:
DeathLT

im somewhat involved with bluetooth marketing, and we used linux as base platform for this. as you can imagine what we are doing certain problems we heave encountered had to be soved rather createvly. from what i could see android 1.5 is using bluez for bluetooth so that might make our life just a bit easier.
[Upgrading, Modifying and Unlocking] giorgio130:
Nice find! There's even a LED torch app! Unfortunately I can't make it work, it spits an error message in korean... Anyone else tried/ had better luck?

EDIT: it works! You just have to put flash out of "auto" mode in camera (select Yes). Amazing :D
[Upgrading, Modifying and Unlocking] kevinJUNG:
How can I ever thank you?

I'm really glad to meet you.

You'll know why. Because You are making KH5200's 2.1 ROM!

How kind you are, I think you are god.

Oh Thank you, Thank you so Much.

How can I help you????

I'll talk to our KH5200 users team about donate for you.

Thanks!
[Upgrading, Modifying and Unlocking] Zacpod:
Excellent! Time to download the Android 2.0 source and build a kernel to test! :D
[Upgrading, Modifying and Unlocking] routehero:
I did a half flash and am back in to the unit. I did use the stock LG firmware (V10_00.kdz).

I copied the dd images I had made of mtd0,1,2,3,6 back on to their respective devices. Rebooted, nada. still stuck at the android logo.

The touch-sensitive home button will respond when touched, and even go in to crazy vibrate mode when held for the alt-tab simulator.

Can you PM me a ps list? Might be helpful to see what hasn't started on my unit.

PS: a 'getprop' might be nice, too.
[Upgrading, Modifying and Unlocking] Zacpod:
Ya, gimme just a min - I'm booted in OSX right now, and it doesn't see the phone at all. (I can't figure out which KExt I need to modify to force OSX to treat this like it's a G1. Grrr.) I'll reboot in to Linux and get a ps for ya.
[Upgrading, Modifying and Unlocking] routehero:
Thanks.

I was able to briefly get some functionality back, but services keep bailing and popups to 'force close'.

Ran:

am start -a android.intent.action.MAIN -n com.android.settings/.Settings

This brought up the settings menu and gives me the ability to bring down the topbar to check voice mail.

Until I can figure out a way to restore full functionality, I wouldn't necessarily recommend bricking/unbricking as I have done.
[Upgrading, Modifying and Unlocking] routehero:
OK, got it.

In the settings menu, you can run a factory reset, and after a reboot, it's back to virgin state.

so, to recap:

1) You can recover from bricked state (IE, won't boot) by holding 1+Power on start to get in to Emergency Mode

- You will need LG-Utils

- You will need V10C_00.kdz

- You will need B2CAppSetup.exe (set language to English for ease of use)

- You will need USB modem drivers (I used USB SP modem drivers from LG Modem Driver 4.9.4

-- From LG-Utils directory, run KP500-Utils-EN.exe

-- Phone Model: GW620

-- File: \path\to\V10C_00.kdz

-- Version: V10C_00

-- Takes about 5 minutes and will reboot your unit to charging mode.

2) At this point, you must turn on your device. You won't have much luck doing anything because the GUI is gone, but ADB will continue to work.

- You will need Android SDK

- You will need to have previously set up USB Debugging

- You will need to have previously enabled root for adb

-- Launch adb shell

-- execute: am start -a android.intent.action.MAIN

-- this will prompt you with a GUI to select the app to launch. go in to the settings to issue a factory reset.

3) Voila. On reboot, you are on initial setup screen. You have lost all of your data, but have recovered your device.
[Upgrading, Modifying and Unlocking] Zacpod:
Fantastic!
[Upgrading, Modifying and Unlocking] Adam620:
If you ever find, I'd be verrrrrry glad!!! (and I guess I'm not the only user here who lives primarily under OSX ;))
[Upgrading, Modifying and Unlocking] Zacpod:
I'm actually quite platform agnostic. I like to keep myself comfortable and up to date in all the major platforms, as it makes my job a LOT easier. :)

That being said, I find OSX to be the most comfortable OS to work in on my Macbook - mainly because the touchpad drivers for Win/Linux suck royally. :s

I've figured out what the problem is with adb. It turns out that adb on OSX has hard coded Product/Vendor IDs for each device. I have opened a ticket with Google to have the Eve's IDs added to the list, and in the meantime I'm working on getting the adb source so I can add it in myself. Once I get a version compiled and working with the Eve I'll post it here. :)
[Upgrading, Modifying and Unlocking] enkoopa:
Damn, I go to sleep for a night and look at all the work that gets done :)

Woot! Can't wait to see 2.0 running on this baby.

If I take my fully functioning Eve, boot into emergency mode.. can I just power cycle and it will boot up normally again?

For those who can't get our windows drivers working, I'm wondering if emergency mode will work or not. The 2nd part with ADB would work on linux, it's the first part, seems to require windows to restore the firmware first.

Also, where did you get all those files? If you want, PM me, I'll set up a torrent for them, or megaupload or something. The last thing people need with a brick is to spend an hour finding the right files :)
[Upgrading, Modifying and Unlocking] dsixda:
That would be great if you could upload them onto 4shared or similar. Have them posted under a user account so that they don't expire and get deleted after 30 days ;-)

I don't think you need to worry about Windows; as the guys said earlier, you can just download the Ubuntu 9.10 Live CD and boot Linux from that, without having to install it on your PC. I also like to put it onto a bootable USB instead of CD, because it runs way faster that way.

If you want to boot the Ubuntu 9.10 ISO file from a USB stick, just use USB-Creator which can be downloaded here: http://fedorahosted.org/liveusb-creator.

A good idea to compile all the information together would be to use the Wiki pages in XDA. Creating one is very simple, just type a URL like this and it will be created:

http://wiki.xda-developers.com/index.php?pagename=name_of_page

where name_of_page = the title you want to give it

e.g. http://wiki.xda-developers.com/index.php?pagename=LG_Eve_FAQ

Would we want to call it the LG_GW620 page or LG_Eve page? This hack would likely work on the non-Rogers versions.

I am planning on buying the LG Eve soon. I just want to find a proper Android GPS solution first, other than Google Navigation (which is for 1.6+ anyway). I've been running the hacked Android 1.6 builds on the Touch HD and have been impressed so far.
[Upgrading, Modifying and Unlocking] enkoopa:
I already created a WIKI page last night. http://wiki.xda-developers.com/index.php?pagename=LG Eve

However, the wiki software XDA uses is god aweful. I'm really tempted, sadly, to put it on some other Android wiki site out there.

Yes, linux works for rooting the phone. However, the Windows part I mentioned is to recover from a bricked phone. Seeing how you need to use some EXE's, this would not work on Linux.

The Rogers EVE comes with Telenav GPS, which has a cost associated with it. Not sure if that's acceptable to you or not.
[Upgrading, Modifying and Unlocking] dsixda:
Cool! Yes, the Wiki for XDA is a pain to use.

BTW, to remove those crappy question marks in your Wiki page put a tilda (~) before the word in question (e.g. MoxierMail).

Maybe you should mention the Linux and the Windows steps for adb/unbricking/rooting etc.?

BTW I'm not too crazy with spending $10/month for Telenav. :-P

Too bad I don't have an Eve right now, we could write a shell script to do the Rogers removal automatically and add it to the Wiki, so that people don't make mistakes.
[Upgrading, Modifying and Unlocking] routehero:
OK. So it seems like /dev/mtd/mtd2 contains the kernel and ramdisk.

If you extract that from your device and want to dump it further:

#!/usr/bin/perl

use strict;
use warnings;

if (($#ARGV +1) != '1') {
print "Usage: $0 <file>\n";
exit();
}

my $mtd = $ARGV[0];
my $content;

my %offsetHash = ( header => '2048', ramdisk => '1613824' );

undef $/;

open(MTD,$mtd);
$content = <MTD>;
close MTD;

my $ramdisk = substr($content,$offsetHash{ramdisk});

open(RAMDISK,">ramdisk.cpio.gz");
print RAMDISK $ramdisk;
close(RAMDISK);

The output is a valid cpio/gz image for the ramdisk.
[Upgrading, Modifying and Unlocking] enkoopa:
Yeah, except I don't plan on editing all my scripts to put the tilda in front of random things :)

Once I figure out how to remove MY5, could incorporate that into a script.

Would be nice to get a functioning cp command.. using dd is a pain :P
[Upgrading, Modifying and Unlocking] routehero:
Copy attached file on to your eve and chmod 755 it. You can link cp to it, or run via 'busybox cp ...'
[Upgrading, Modifying and Unlocking] dsixda:
Instead of quoting the code in the Wiki page, I think the Wiki supports attachments, so you can just attach files (or even link them to 4shared, etc.).

Thanks for your help.
[Upgrading, Modifying and Unlocking] routehero:
GW620/Eve Debrick Torrent

Unzip the attached file for the GW620/Eve debrick torrent. Contains the hard-to-find files:

LG-Utils

LG USB Modem Drivers

B2cAppSetup

I also threw in LGMDP if anyone can tinker with that for more thorough NV backups.
[Upgrading, Modifying and Unlocking] Zacpod:
Yep, and you can extract the kernel too - I tried to get the combo booting in the emulator on Monday, but didn't have much joy. It just pegged on of my cores and sat there. :s

Do we know if it's just the flash tool that requires the signed kernel, or if it's the bootloader itself? When Routehero flashed a new firmware the bootloader complained of a bad header - this may be indication that it is looking for a signature. :(

I think this weekend I'll try using ROM-Cooker to modify the init.rc in the initrd so I can make busybox + bash the default toolkit. ROM-Cooker repacks the kernel/initrd in to a mtd2.img signed with the android test keys. If that boots, we should be able to get anything on to this phone. If it doesn't boot, we'll need to figure out how to replace the bootloader with something a little more flexible.
[Upgrading, Modifying and Unlocking] routehero:
What are the offsets for the kernel? I can rebuild and copy it runtime in the now timeframe for a test run.
[Upgrading, Modifying and Unlocking] Polytheus:
Here is the eclair image: systemv4.img

You should update your boot to bootv1.1.img from the project homepage.

EDIT: Please apply this fix afterwards.

Working:

SMS

Calls

3G

Sensors

GoogleApps

Market

Sync

Maybe working:

GPS

Mp3s, Movies and other media

Not working:

Camera

Wifi does not work (at least with WPA)

My approch was to keep all native libs from the korean-v10t rom and just replace the java part by the one from eclair. The interface between the two, the JNI, had undergone some changes between donut and eclair, but not too much. I modified the dalvikvm to create stub functions on the fly. I have reverted the most important changes in the JNI, so basic functionallity is given,

I have updated the svn. There you will find instructions how to fetch the git code I have hosted at github.com. Not all of the code is already in github, but it will come.

Please test and report issues at the project homepage.

And I really would appreciate some help getting the wifi to work. wpa_supplicant scans and the Settings present all available wifi networks, but it does not connect (at least not to wpa/wpa2 network).

One message in logcat is "skip - no WPA/RSN IE" but I don't know what it means and if it is important.
[Upgrading, Modifying and Unlocking] cwhchew:
http://www.linuxquestions.org/quest...ns-no-wpa-rsn-ie-error-fritz-wlan-usb-569535/

you may want to take a look at this ?
[Upgrading, Modifying and Unlocking] grave32:
:) Thanks a lot. I'll be testing it!!
[Upgrading, Modifying and Unlocking] ecaheti:
Gosh! there are no more SMS problem with Bouygues Telecom. Polytheus tu envoies du paté!

I saw some glitches with rolling down the upstatus bar, I'll put it on google code.
[Upgrading, Modifying and Unlocking] ouinouin:
new image, what works and doesnt for me.

tested img V4 from polytheus, here is sum up of what i can see :

French language has been selected magically :)

wifi doesnt seems to work even from command line

add a WIFI network doesnt work.

bluetooth activation doesnt work.

E/dalvikvm( 1285): ERROR: Calling native function Landroid/server/BluetoothService;.enableNative ()I without implementation - skipping. (undefined behaviour)
E/BluetoothEventLoop.cpp( 1285): BluetoothEventLoop:socketpair[122 164] created
W/libdbus ( 1285): A handler is already registered for the path starting with path[0] = "android"
E/BluetoothEventLoop.cpp( 1285): setUpEventLoop: Can't register object path /android/bluetooth/Agent for agent!
E/BluetoothEventLoop.cpp( 1285): failure setting up Event Loop!
V/BluetoothEventRedirector( 2055): Received android.bluetooth.adapter.action.STATE_CHANGED
E/BluetoothEventLoop.cpp( 1285): BluetoothEventLoop:socketpair[122 164] created
W/libdbus ( 1285): A handler is already registered for the path starting with path[0] = "android"
E/BluetoothEventLoop.cpp( 1285): setUpEventLoop: Can't register object path /android/bluetooth/Agent for agent!
E/BluetoothEventLoop.cpp( 1285): failure setting up Event Loop!
D/BluetoothService( 1285): bt EnableThread giving up
E/dalvikvm( 1285): ERROR: Calling native function Landroid/server/BluetoothService;.disableNative ()I without implementation - skipping. (undefined behaviour)
V/BluetoothEventRedirector( 2055): Received android.bluetooth.adapter.action.STATE_CHANGED

call forwards setting is read correctly from carrier.

showing notification zone doesnt work :

get

E/copybit ( 1285): copyBits failed (Operation not permitted)

keyboard is working, but LG IME is not present.

.. more to come, I will submit it to the project bugtrack.
[Upgrading, Modifying and Unlocking] ecaheti:
weird, wifi seems to work on my phone... before setting my APN, I tried to access market through wifi and it worked. Maybe because I use wep and not WPA.