New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sevenup30
Old
(Last edited by sevenup30; 6th July 2012 at 08:11 AM.)
#1  
sevenup30's Avatar
Senior Member - OP
Thanks Meter 517
Posts: 737
Join Date: Jan 2011
Location: Montpellier

 
DONATE TO ME
Default [WIP] Building CM9 for xt910 RAZR

Work in Progress, this not work for now
Hi guys,

So, for now i'm trying to build CM9 from source for xt910.

Before starting a Huge thanks to
STS-dev-team (droidhive.com) (droidth3ory / hashcode / dhacker29)

For their huge work to add spyder into cm9 & aokp.

Now the hard stuff

i won't make another tutorial on how sync cm9 repo etc... i lead you to this thread which worked well for me.

http://forum.xda-developers.com/show...php?p=27722264

Follow everything and you will be able to build cm9.

What you need for spyder
so you need to download few folder from STS-dev-team github
https://github.com/STS-Dev-Team

Here's the list of what i dowloaded from 'em:

- https://github.com/STS-Dev-Team/android_local_STS (which is the local_manifest you have to replace)
Code:
put into :
 .repo/local_manifext.xml
- https://github.com/STS-Dev-Team/andr...otorola_spyder (file needed to build spyder)
Code:
put into :
devices/motorola/spyder
- https://github.com/STS-Dev-Team/andr...re_ti_omap4xxx (hardware file for OMAP4xxx)
Code:
put into :
hardware/OMAP4XXX (replace the existing one)
- https://github.com/STS-Dev-Team/andr...otorola_spyder (vendor file for spyder)
Code:
put into :
vendor/motorola/spyder
- https://github.com/Hashcode/android_hardware_ti_wpan (hardware file needed)
Code:
put into :
hardware/wpan
- https://github.com/Hashcode/android_hardware_ti_camera (hardware file needed)
Code:
put into :
hardware/camera
How to

Once you synced up cyanogen repo download and place all the file above.

then do:

Code:
curl -L -o .repo/local_manifest.xml -O -L https://raw.github.com/STS-Dev-Team/android_local_STS/ics/local_manifest.xml
once finished you'll have to edit this file : device/motorola/spyder/extract-files.sh to make it work with xt910 (just replace it by the file attached



Ok, now you can start trying to build:

Code:
make clean && make clobber
lunch
(choose cm_spyder, 5 for me)
make bacon -j4
Now my error
my building stop with this error

Code:
make: *** No rules to build target « out/target/product/spyder/obj/STATIC_LIBRARIES/libhostapdcli_intermediates/libhostapdcli.a », needed for « out/target/product/spyder/obj/EXECUTABLES/tiap_cu_intermediates/LINKED/tiap_cu ». Stop.
i tried to google it but nothing helped me.

So here we are, if someone have any ideas tips knowledge to share, you're welcome.
Attached Files
File Type: zip extract-files.sh.zip - [Click for QR Code] (3.8 KB, 22 views)
The Following 9 Users Say Thank You to sevenup30 For This Useful Post: [ Click to Expand ]
 
arturocr
Old
#2  
arturocr's Avatar
Senior Member
Thanks Meter 43
Posts: 138
Join Date: Nov 2009
Location: Alajuela

 
DONATE TO ME
Nice! Keep your hard work! Congrats!
HTC Tattoo
HP Pre 3
Motorola RAZR XT910
Samsung Galaxy Nexus

Google Nexus 4 ✔




Clicking the Thanks button is not that hard!
 
brainwash123
Old
#3  
Member
Thanks Meter 27
Posts: 97
Join Date: Jun 2012
Location: Frankfurt am Main
Into what path are you putting them into? I had problems compiling if the path contained any spaces or some other special characters.
Check the listing of the Makefile, it will execute some special commands and if those have spaces it will as well fail.
 
mapleshadow
Old
#4  
Member
Thanks Meter 3
Posts: 82
Join Date: Feb 2006
private files under the system/bin is much less, so the error is inevitable.

PS:My English is not very good

---------- Post added at 02:27 AM ---------- Previous post was at 02:08 AM ----------

Reference cdma xt912 extract-files.sh file, executed once, and then to private files the gsm xt910 does not exist shielding to name the difference between rename the file.
Note, divided into two:
1, copy the file
2, spyder-vendor-blobs.mk file creation

Must make the appropriate match to modify.
 
sevenup30
Old
#5  
sevenup30's Avatar
Senior Member - OP
Thanks Meter 517
Posts: 737
Join Date: Jan 2011
Location: Montpellier

 
DONATE TO ME
Quote:
Originally Posted by brainwash123 View Post
Into what path are you putting them into? I had problems compiling if the path contained any spaces or some other special characters.
Check the listing of the Makefile, it will execute some special commands and if those have spaces it will as well fail.
Well, check the OP i edit it with path.

Quote:
Originally Posted by mapleshadow View Post
private files under the system/bin is much less, so the error is inevitable.

PS:My English is not very good

---------- Post added at 02:27 AM ---------- Previous post was at 02:08 AM ----------

Reference cdma xt912 extract-files.sh file, executed once, and then to private files the gsm xt910 does not exist shielding to name the difference between rename the file.
Note, divided into two:
1, copy the file
2, spyder-vendor-blobs.mk file creation

Must make the appropriate match to modify.
Exactly, that's why i attached a new extract_files.sh, working for xt910, i only removed missing files, but we may need to add other files.
 
mapleshadow
Old
#6  
Member
Thanks Meter 3
Posts: 82
Join Date: Feb 2006
Yes, you need to add the missing files.
 
sevenup30
Old
(Last edited by sevenup30; 7th July 2012 at 08:54 AM.)
#7  
sevenup30's Avatar
Senior Member - OP
Thanks Meter 517
Posts: 737
Join Date: Jan 2011
Location: Montpellier

 
DONATE TO ME
Hi guys, i'm actually builing for 20mn now without error, so i think it's on good way, but don't yeld victory too fast, i have to test the build after that.

Anyway i'll update OP to make it easier and with all the new file & script i added.(probably monday, little busy for weekend )

Stay tuned

Damned computer crashed, dont use it while building
 
MarkyG82
Old
#8  
Senior Member
Thanks Meter 64
Posts: 674
Join Date: Oct 2010
Quote:
Originally Posted by sevenup30 View Post

Damned computer crashed, dont use it while building
Lol

Are you going to post this as a rom or just leave it as a guide? Be nice to try it but then I need more motivation to learn to build

Sent from my XT910 using xda premium
 
sevenup30
Old
(Last edited by sevenup30; 7th July 2012 at 07:09 PM.)
#9  
sevenup30's Avatar
Senior Member - OP
Thanks Meter 517
Posts: 737
Join Date: Jan 2011
Location: Montpellier

 
DONATE TO ME
Quote:
Originally Posted by MarkyG82 View Post
Lol

Are you going to post this as a rom or just leave it as a guide? Be nice to try it but then I need more motivation to learn to build

Sent from my XT910 using xda premium
i had to add somes files, but for now > bootloop. Try to figure it out

edit:: Ok problem with audio, it can found it because of lib.

I tried replace most part of the lib, it fix display issue but logcat is not wirking anymore :s

i think we have to rework a lot the work done by STS dev team before compile. monday i'll upload the build if someone want to try something with it.


XDA PORTAL POSTS

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more

Forum Added for the Samsung Galaxy Mega

What do you do when the Galaxy Note line is simply not big enough? You get theSamsung Galaxy Mega. … more

Voice Control Your Phone with Tasker and AutoVoice – XDA Developer TV

XDA Developer TV Producer Kevin set up his phone to respond to … more

Guide to Take Better Control of Your Volume Levels

Would you like to know one of the things that really annoys me on a daily basis? Tough, … more