[DEV] CM10 Sony Xperia Go, Package Complete !! - Sony Xperia P, U, Sola, Go

Hi Guys,
i am stuck while building CM9 from source, these is where compile hangs with these error messages:
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/lotus/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_wext.o: in function wpa_driver_wext_scan:external/wpa_supplicant_8/wpa_supplicant/src/drivers/driver_wext.c:1014: error: undefined reference to 'wpa_driver_wext_combo_scan'
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/lotus/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_wext.o: in function wpa_driver_wext_ops:driver_wext.c(.data.rel.ro.wpa_driver_wext_ops+0x1c0): error: undefined reference to 'wpa_driver_signal_poll'
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/lotus/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_wext.o: in function wpa_driver_wext_ops:driver_wext.c(.data.rel.ro.wpa_driver_wext_ops+0x1c8): error: undefined reference to 'wpa_driver_wext_driver_cmd'
collect2: ld returned 1 exit status
make: *** [out/target/product/lotus/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant] Error 1
There is somehow a problem with the wpa_supplicant ....
many thanks in advance for your help....

krachlatte said:
Hi Guys,
i am stuck while building CM9 from source, these is where compile hangs with these error messages:
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/lotus/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_wext.o: in function wpa_driver_wext_scan:external/wpa_supplicant_8/wpa_supplicant/src/drivers/driver_wext.c:1014: error: undefined reference to 'wpa_driver_wext_combo_scan'
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/lotus/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_wext.o: in function wpa_driver_wext_ops:driver_wext.c(.data.rel.ro.wpa_driver_wext_ops+0x1c0): error: undefined reference to 'wpa_driver_signal_poll'
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/lotus/obj/EXECUTABLES/wpa_supplicant_intermediates/src/drivers/driver_wext.o: in function wpa_driver_wext_ops:driver_wext.c(.data.rel.ro.wpa_driver_wext_ops+0x1c8): error: undefined reference to 'wpa_driver_wext_driver_cmd'
collect2: ld returned 1 exit status
make: *** [out/target/product/lotus/obj/EXECUTABLES/wpa_supplicant_intermediates/LINKED/wpa_supplicant] Error 1
There is somehow a problem with the wpa_supplicant ....
many thanks in advance for your help....
Click to expand...
Click to collapse
If you share your sources i check it.
Sent from my ST25i using xda premium

here are my soruces: https://github.com/krachlatte
not everything is uploaded yet this will take some time...
atis112 said:
If you share your sources i check it.
Sent from my ST25i using xda premium
Click to expand...
Click to collapse

krachlatte said:
here are my soruces: https://github.com/krachlatte
not everything is uploaded yet this will take some time...
Click to expand...
Click to collapse
So i can't help. If you add the device folder to a zip package, and share it with me i try help.

sources are uploaded and commited
local manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="krachlatte/device_sony_lotus" path="device/sony/lotus" remote="github" revision="ics"/>
<project name="AOKPXperia/device_sony_u8500_common" path="device/sony/u8500_common" remote="github" revision="ics"/>
</manifest>
https://github.com/krachlatte/device_sony_lotus device folder
https://github.com/krachlatte/Sony-Xperia-Go-ST27i-ICS this is the kernel
many thanks for your help
atis112 said:
So i can't help. If you add the device folder to a zip package, and share it with me i try help.
Click to expand...
Click to collapse

krachlatte said:
sources are uploaded and commited
local manifest
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="krachlatte/device_sony_lotus" path="device/sony/lotus" remote="github" revision="ics"/>
<project name="AOKPXperia/device_sony_u8500_common" path="device/sony/u8500_common" remote="github" revision="ics"/>
</manifest>
https://github.com/krachlatte/device_sony_lotus device folder
https://github.com/krachlatte/Sony-Xperia-Go-ST27i-ICS this is the kernel
many thanks for your help
Click to expand...
Click to collapse
I see some grotesque things in this. What based on this source?

what do you need to know?
this is from sony the official kernel for Sony Xperia go
https://github.com/krachlatte/Sony-Xperia-Go-ST27i-ICS
this is what i did
https://github.com/krachlatte/device_sony_lotus
i made a fork from AOKP it and then pulled the device stuff it into my fork.
the repo sync is CM ....
atis112 said:
I see some grotesque things in this. What based on this source?
Click to expand...
Click to collapse

krachlatte said:
what do you need to know?
this is from sony the official kernel for Sony Xperia go
https://github.com/krachlatte/Sony-Xperia-Go-ST27i-ICS
this is what i did
https://github.com/krachlatte/device_sony_lotus
i made a fork from AOKP it and then pulled the device stuff it into my fork.
the repo sync is CM ....
Click to expand...
Click to collapse
AOKP is just for recovery. And for CM9 you need to wait for the ICS kernel (And vendor files in the device folder and no files in proprietary-files.txt?????)
Just use FXP's nypon and montbalnc-common sources.

please have a deeper look into the kernel source code
this is really the offical ICS sony kernels code
https://github.com/krachlatte/Sony-Xperia-Go-ST27i-ICS
and this is the one for GB
https://github.com/krachlatte/Sony-Xperia-Go-ST27i
thanks,
do i really need the propeirtary files to be extraced with the extract_files.sh to make a first build to see if it works???
how can this be done with ADB on Vmware and Ubuntu ?
i will have a look into FXP and montbalnc later, thanks for that...
atis112 said:
AOKP is just for recovery. And for CM9 you need to wait for the ICS kernel (And vendor files in the device folder and no files in proprietary-files.txt?????)
Just use FXP's nypon and montbalnc-common sources.
Click to expand...
Click to collapse

thisssssssssss loooks much better..................
Package target files: out/target/product/lotus/obj/PACKAGING/target_files_intermediates/cm_lotus-target_files-eng.krachlatte.zip
Package OTA: /home/krachlatte/cyanogenmod/out/target/product/lotus/cm_lotus-ota-eng.krachlatte.zip
Package complete: /home/krachlatte/cyanogenmod/out/target/product/lotus/cm-10-20120927-UNOFFICIAL-lotus.zip
0bd169b66a43dc9c475708f1bce67020 cm-10-20120927-UNOFFICIAL-lotus.zip
CM10 done
how does this look to you .........................
hehe have a nice night..............many thanks for your help..... there will be much to be down i guess...

and know when trying to install i get the following error in recovery:
no error message
E:Error in /sdcard/cm-10-20120927-UNOFFICIAL-lotus.zip
(Status 7)
Installation aborted.
any idea ?
here is the build http://www.mediafire.com/?dt6qpq8jzn5vzbx
if anyone is willing to test...
thank

CM10
Any improvements? Is this flashable?

krachlatte said:
and know when trying to install i get the following error in recovery:
no error message
E:Error in /sdcard/cm-10-20120927-UNOFFICIAL-lotus.zip
(Status 7)
Installation aborted.
any idea ?
here is the build http://www.mediafire.com/?dt6qpq8jzn5vzbx
if anyone is willing to test...
thank
Click to expand...
Click to collapse
remove asserts in update-script

can i port your kernel to sola?

which kernel? cm10?
just compile cm10 with freexperia jellybean sources and done

Can't wait for this CM10 on Xgo..
Hnn~! So excited
Sent from my Xperia Go using xda premium

krachlatte said:
and know when trying to install i get the following error in recovery:
no error message
E:Error in /sdcard/cm-10-20120927-UNOFFICIAL-lotus.zip
(Status 7)
Installation aborted.
any idea ?
here is the build http://www.mediafire.com/?dt6qpq8jzn5vzbx
if anyone is willing to test...
thank
Click to expand...
Click to collapse
Xperia Go Jellybean is out now

Related

CM10 error [HELP]

I have thought of every possible way. The last way is to delete the lines but i need ur help to fix it
the error is
Code:
target arm C: libz <= external/zlib/adler32.c
In file included from external/zlib/zlib.h:34:0,
from external/zlib/zutil.h:24,
from external/zlib/adler32.c:9:
external/zlib/zconf.h:395:22: fatal error: limits.h: No such file or directory
compilation terminated.
make: *** [/home/yajnavalkya/cm10/out/target/product/beni/obj/SHARED_LIBRARIES/libz_intermediates/adler32.o] Error 1
you are missin limits.h try repo sync and update your source !
keyur2maru said:
you are missin limits.h try repo sync and update your source !
Click to expand...
Click to collapse
I searched a lot but found nothing
yajnab said:
I searched a lot but found nothing
Click to expand...
Click to collapse
He said to repo sync and then retry...not search, you may have to do a make clean after the repo sync if it still doesn't work
Sent from my SGH-I997 using Tapatalk 2

Stuck on building CM10 for jlo - need tip

hey, I followed the tutorial about "Compiling JB on Ubuntu" and I stuck on this error:
Code:
build/core/product_config.mk:253: *** No matches for product "cm_jlo". Stop.
Device jlo not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Traceback (most recent call last):
File "build/tools/roomservice.py", line 59, in <module>
result = json.loads(urllib2.urlopen(githubreq).read())
File "/usr/lib/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 513, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 521, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden
build/core/product_config.mk:253: *** No matches for product "cm_jlo". Stop.
** Don't have a product spec for: 'cm_jlo'
** Do you have the right repo manifest?
I have device tree and proprietary files and admint that I have read whole tutorial 10x times but tip at the and didn't help.
I tried making many changes in files but no result.
I spend hours on doing all those things and like always nothing work, please show me the way I should follow.
lozohcum said:
I have device tree and proprietary files and admint that I have read whole tutorial 10x times but tip at the and didn't help.
I tried making many changes in files but no result.
I spend hours on doing all those things and like always nothing work, please show me the way I should follow.
Click to expand...
Click to collapse
From what I can tell it seems you have an error related to python make sure you have the correct version of python installed for building (Version 2.6.x-2.7.x). If that doesn't work I would suggest reinstalling python and see if they fixes the error. You can also ask about your build error here http://forum.xda-developers.com/showthread.php?t=2059939.
Sent from my SCH-I535 using xda premium
Odp: Stuck on building CM10 for jlo - need tip
Okay I'll reinstall python and write here if it works
now this error:
Code:
build/core/product_config.mk:253: *** No matches for product "cm_jlo". Stop.
Device jlo not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Found repository: android_device_sony_jlo
Default revision: cm-10.1
Checking branch info
Default revision cm-10.1 not found in android_device_sony_jlo. Bailing.
Branches found:
jellybean
Use the ROOMSERVICE_BRANCHES environment variable to specify a list of fallback branches.
build/core/product_config.mk:253: *** No matches for product "cm_jlo". Stop.
** Don't have a product spec for: 'cm_jlo'
** Do you have the right repo manifest?
Use jellybean as your branch.
Sent from my SCH-R950 using Tapatalk 2
How to do this? can you explain? I don't know what you mean exacly.
can you give me proper command?
lozohcum said:
How to do this? can you explain? I don't know what you mean exacly.
can you give me proper command?
Click to expand...
Click to collapse
for cm10 repo init -u git://github.com/CyanogenMod/android.git -b jellybean
you had cm10.1 in the error which is still a work in progress
ah I understand, I have downloaded CM10.1 against CM10, so if I download CM10 will it work?
lozohcum said:
ah I understand, I have downloaded CM10.1 against CM10, so if I download CM10 will it work?
Click to expand...
Click to collapse
Yes this should solve your compile error allowing the build to compile successfully unless it runs into another unexpected build error.

Repo Syc errors

Hi
I am trying to build a rom from PA sources using this guide->
http://forum.xda-developers.com/showthread.php?t=1863547
the first error occured while downloading repo using-
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
(+some other commands according to tutorial)
but it always came out to be corrupted and when i opened file there was error like "404 not found".
So i downloaded repo using ->
Code:
mkdir ~/bin && curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo && chmod a+x ~/bin/repo
as told in this guide-> http://forum.xda-developers.com/showthread.php?t=2464683 and it worked fine and i succesfully installed repo.
Then second problem came while creating local_manifest.xml
Since my phone is galaxy s3 i9300, i directly copied and pasted this code as OP said in first tutorial->
Code:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="ParanoidAndroid/android_device_samsung_i9300" path="device/samsung/i9300" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_kernel_samsung_smdk4412" path="kernel/samsung/smdk4412" remote="github" revision="cm-10.2" />
<project name="ParanoidAndroid/android_device_samsung_smdk4412-common" path="device/samsung/smdk4412-common" remote="github" revision="cm-10.2" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_packages_apps_SamsungServiceMode" path="packages/apps/SamsungServiceMode" remote="github" revision="cm-10.2" />
<project name="CyanogenMod/android_hardware_samsung" path="hardware/samsung" remote="github" revision="cm-10.2" />
</manifest>
I put this file in .repo/
but when running repo sync, it gave error-> warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead
So i deleted it for time being.
Then I ran repo sync again and this time i got following errors->
fatal: Not a Git repository: "path to my repo"/bionic.git
fatal: Not a Git repository: "path to my repo"/recovery.git
So i also deleted these two files and ran repo sync again. This time it was ok.
But I know I am in serious trouble.
I am trying to get PA 4.2.2 version using->
Code:
repo init -u git://github.com/ParanoidAndroid/manifest.git -b jellybean-legacy
Also, the tutorial by gokussjx says->
VERY IMPORTANT: Now, before the final stage sync, make sure there's no code referring to 'ParanoidPreferences' in manifest.
To check that
1) Open your File Browser,
2) Press Ctrl+H (to show hidden files/directories)
3) Navigate to android/system/.repo/manifest.xml
(Right Click & open the XML file in text editor)
*REMOVE ANY 'PARANOIDPREFERENCES' CODE FROM MANIFEST*
*REMOVE GROUPER DEVICE TREE FROM MANIFEST*
Click to expand...
Click to collapse
I never found any such things in manifest.xml
(Maybe because I am downloading one from 4.2.2 instead of 4.3?)
And the final array of errors I am getting->
Code:
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
and
Code:
ror: Cannot fetch ParanoidAndroid/android_build
I have also tried deleting the whole directory and starting over again, but results are same.
Please help.
Are you using ethernet?
I had issues with repo stalling to a stand-still, but not crashing when using ethernet, I switched to wifi and I was able to synce. Something about tcp windowing.
Also, XML is notoriously finicky. Sometimes a cut and paste of the whole page has fixed bugs and errors for me. I didn't even have to change a single character. I think XML is crap but thats my opinion based on my experience with it. Sorry, not much help. Look around, I know the repo init command needs to be right to.
If the devs are asking you o remove code from a script, forget that sh*t, they are lazy.
What ever you do, don't keep trying the same thing over and over.
Edge-Case said:
Are you using ethernet?
I had issues with repo stalling to a stand-still, but not crashing when using ethernet, I switched to wifi and I was able to synce. Something about tcp windowing.
Also, XML is notoriously finicky. Sometimes a cut and paste of the whole page has fixed bugs and errors for me. I didn't even have to change a single character. I think XML is crap but thats my opinion based on my experience with it. Sorry, not much help. Look around, I know the repo init command needs to be right to.
If the devs are asking you o remove code from a script, forget that sh*t, they are lazy.
What ever you do, don't keep trying the same thing over and over.
Click to expand...
Click to collapse
Thanks for reply.
I am actually using vmware workstation 10 for this work.
Yeah i use ethernet, but how could that be problem i wonder... it just provides Internet access....
And btw there are a lot bunch of errors.....
What should i do about local_manifest.xml?? It's main device structure right?
Jaskaran498 said:
Thanks for reply.
I am actually using vmware workstation 10 for this work.
Yeah i use ethernet, but how could that be problem i wonder... it just provides Internet access....
And btw there are a lot bunch of errors.....
What should i do about local_manifest.xml?? It's main device structure right?
Click to expand...
Click to collapse
hmm
I dont use vmware if I don't have to.
For me, the ethernet had something to do with Linux kernel and tcp windowing, not sure, but using wifi for syncing works.
Start fresh, try CyanogenMod
http://wiki.cyanogenmod.org/w/Build_for_i9300
if that recipe works, then PA's recipe is probably broken or the guide you read was wrong. Otherwise, if CM fails, it is probably your set-up. I have an easy time building on 64bit Kali Linux, it comes with the SDK and a lot of tools to test your builds against or to reverse engineer proprietary drivers.
Edge-Case said:
hmm
I dont use vmware if I don't have to.
For me, the ethernet had something to do with Linux kernel and tcp windowing, not sure, but using wifi for syncing works.
Start fresh, try CyanogenMod
http://wiki.cyanogenmod.org/w/Build_for_i9300
if that recipe works, then PA's recipe is probably broken or the guide you read was wrong. Otherwise, if CM fails, it is probably your set-up. I have an easy time building on 64bit Kali Linux, it comes with the SDK and a lot of tools to test your builds against or to reverse engineer proprietary drivers.
Click to expand...
Click to collapse
well... CM worked well, though I had to install some dependencies that were not mentioned in guide before. Maybe i will be able to get PA to work also.
Currently I changed my mind and I'll be trying out to cm10.1 .
So far no errors.
I'll see how it goes and then try PA too.
thanks for help so far
Jaskaran498 said:
well... CM worked well, though I had to install some dependencies that were not mentioned in guide before. Maybe i will be able to get PA to work also.
Currently I changed my mind and I'll be trying out to cm10.1 .
So far no errors.
I'll see how it goes and then try PA too.
thanks for help so far
Click to expand...
Click to collapse
Can i ask wich dependencies because i use same tut with same error (git repository not found error) for the Galaxy ace 2x i used local_manifest.xml from my cm10.2 device tree.
Thanks in advance.
Anas Karbila said:
Can i ask wich dependencies because i use same tut with same error (git repository not found error) for the Galaxy ace 2x i used local_manifest.xml from my cm10.2 device tree.
Thanks in advance.
Click to expand...
Click to collapse
Thats an old rhing and i dont remember precisly, but i remember installing all dependencies that were listed in how to build cm tutorial (just look for it, its common) and also the ones that were listed in how to build your own ubuntu touch on ut wiki page (i just selected and installed all, missing ones got automatically installed). In the end, i remember updating my repo too.
Jaskaran498 said:
Thats an old rhing and i dont remember precisly, but i remember installing all dependencies that were listed in how to build cm tutorial (just look for it, its common) and also the ones that were listed in how to build your own ubuntu touch on ut wiki page (i just selected and installed all, missing ones got automatically installed). In the end, i remember updating my repo too.
Click to expand...
Click to collapse
A thanks but i already solved the problem

[Q] Cannot compile Android L branch from AOSP: wrong binaries?

I am trying to compile the Android L preview branch from AOSP for the Nexus 7 (flo), I get this error:
hardware/qcom/wlan/qcwcn/wpa_supplicant_8_lib/driver_cmd_nl80211.c:65: error: undefined reference to 'os_strncpy'
collect2: error: ld returned 1 exit status
make: *** [out/target/product/flo/obj/EXECUTABLES/hostapd_intermediates/LINKED/hostapd] Error 1
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I have the preview binaries installed from the official page. I can confirm I have sub-folders in vendor named flo and it contains the binaries.
I have executed make clobber as well before building it again.
Are the preview binaries only for the master branch and not for the l-preview branch?
zettez said:
I am trying to compile the Android L preview branch from AOSP for the Nexus 7 (flo), I get this error:
I have the preview binaries installed from the official page. I can confirm I have sub-folders in vendor named flo and it contains the binaries.
I have executed make clobber as well before building it again.
Are the preview binaries only for the master branch and not for the l-preview branch?
Click to expand...
Click to collapse
As far as I know the sources are not complete and cannot be compiled.
lets_zock said:
As far as I know the sources are not complete and cannot be compiled.
Click to expand...
Click to collapse
Thank you, now I got it confirmed.

[Q] {ERROR} while compiling Cm12 from source

When I type repo sync in terminal after inserting the local_manifests.xml it gives an error saying fatal:remote aosp already exists with different attributes! Plz help me solve this! i am compiling cm12 for yureka!Thank YouI
Pranav.Yurekadev said:
When I type repo sync in terminal after inserting the local_manifests.xml it gives an error saying fatal:remote aosp already exists with different attributes! Plz help me solve this! i am compiling cm12 for yureka!Thank YouI
Click to expand...
Click to collapse
Seems that your local_manifest.xml has malformed entries. Could U please post your complete local_manifest.xml?
For example:
Code:
<remote name="aosp"
fetch="android.googlesource.com/"
but should be:
Code:
<remote name="aosp"
fetch="[COLOR="Red"]https://[/COLOR]android.googlesource.com/"

Categories

Resources