[Q] Need some help please,how to add supersonic to cm10&aokp - EVO 4G Q&A, Help & Troubleshooting

i have synced these sources.and found devices and vendors in github and synced it to the project. then change some files and add some in Androidproduct.mk\supersonic.mk(vendor\cm\....\product&device\htc\supersonic). and add envensetup.sh in device/htc/supersonic&vendor/cm...
after these work,when after lunch device it said errors in Androidproduct.mk which i checked ,i found no errors
how to add other devices to cm10&aokp,if you have some suggestions and some methods or some files to added,please tell me how to do with it.Very thanks

You're not going to get much help with that little info. You to specify what source you synced (manifest), what files you added, where did you get the vendors, what error did it report in your Android.mk etc.

PonsAsinorem said:
You're not going to get much help with that little info. You to specify what source you synced (manifest), what files you added, where did you get the vendors, what error did it report in your Android.mk etc.
Click to expand...
Click to collapse
i have added htc supersonic device from EV's device and added vendorsetup.sh for supersonic.and then change ev.mk to cm.mk.
then . build/envsetup.sh
[email protected]:~/jellybean$ . build/envsetup.sh
including device/generic/armv7-a-neon/vendorsetup.sh
including device/generic/armv7-a/vendorsetup.sh
including device/htc/inc/vendorsetup.sh
including device/htc/supersonic/vendorsetup.sh
including device/ti/panda/vendorsetup.sh
including vendor/cm/vendorsetup.sh
including sdk/bash_completion/adb.bash
[email protected]:~/jellybean$ lunch full_supersonic-userdebug
build/core/product_config.mk:209: *** No matches for product "full_supersonic"。 stopped。
errors are these

[email protected] said:
i have synced these sources.and found devices and vendors in github and synced it to the project. then change some files and add some in Androidproduct.mk\supersonic.mk(vendor\cm\....\product&device\htc\supersonic). and add envensetup.sh in device/htc/supersonic&vendor/cm...
after these work,when after lunch device it said errors in Androidproduct.mk which i checked ,i found no errors
how to add other devices to cm10&aokp,if you have some suggestions and some methods or some files to added,please tell me how to do with it.Very thanks
Click to expand...
Click to collapse
U have the right idea. Go to my github. Look at my device tree for supersonic. Follow the read me but use ur manifest link instead of mine towards bottom. You should be golden after that.
XDA Moderator

Papa Smurf151 said:
U have the right idea. Go to my github. Look at my device tree for supersonic. Follow the read me but use ur manifest link instead of mine towards bottom. You should be golden after that.
XDA Moderator
Click to expand...
Click to collapse
very thanks!

Papa Smurf151 said:
U have the right idea. Go to my github. Look at my device tree for supersonic. Follow the read me but use ur manifest link instead of mine towards bottom. You should be golden after that.
XDA Moderator
Click to expand...
Click to collapse
SORRY ,I can't find your github address. can you give your github address? very thanks

[email protected] said:
SORRY ,I can't find your github address. can you give your github address? very thanks
Click to expand...
Click to collapse
I'm mobile right now. Go to google search for my name and github. Its that easy
XDA Moderator

Related

[Q] Build From Source, Stock AOSP/CM Apps **UPDATE** Answer

I know, I used search...didn't find it
How I would build Email.apk from Src?
https://github.com/CyanogenMod/android_packages_apps_Email
I have android-sdk installed on my mac, but I must be missing some easy step! Thanks in advance
Firstly you'll need to post Questions in the Question & Answer section or else the builder will fail, then you'll want to use something like Eclipse to compile the app in.
xHausx said:
Firstly you'll need to post Questions in the Question & Answer section or else the builder will fail, then you'll want to use something like Eclipse to compile the app in.
Click to expand...
Click to collapse
can a mod move this question to QA then? I was going to look into making some enhancements to EAS, that's why I posted here. Thanks
Sounds Fun
that being said, no one knows how to build an APK directly from source? In the process of compiling all of CM, but haven't broken down the entire process yet.
so I created a build.xml, which helped, but I need help linking the libraries, since I get the following warnings when I run 'ant release'
Code:
droid/email/AccountBackupRestore.java:27: cannot find symbol
[javac] symbol : class Calendar
[javac] location: package android.provider
[javac] import android.provider.Calendar;
[javac] ^
[javac] /home/adam/cyanogenmod/android/system/packages/apps/Email/src/com/android/email/Utility.java:35: package android.security does not exist
[javac] import android.security.MessageDigest;
[javac] ^
[javac] /home/adam/cyanogenmod/android/system/packages/apps/Email/src/com/android/email/activity/setup/AccountSettings.java:42: cannot find symbol
[javac] symbol : class Calendar
[javac] location: package android.provider
[javac] import android.provider.Calendar;
[javac] ^
etc...
in case anyone else cares, from main repo directory that you pulled down, just run make "system app name"
easy peasy
adma84 said:
in case anyone else cares, from main repo directory that you pulled down, just run make "system app name"
easy peasy
Click to expand...
Click to collapse
Can you please be more specific?
adma84 said:
in case anyone else cares, from main repo directory that you pulled down, just run make "system app name"
easy peasy
Click to expand...
Click to collapse
Interesting, sounds a little too simple. If you still new more help, I'm willing to give you any help I can. PM me for my Gtalk info.
adma84 said:
in case anyone else cares, from main repo directory that you pulled down, just run make "system app name"
easy peasy
Click to expand...
Click to collapse
That easy? Can you give a example?
Sent from my HTC Vision using XDA Premium App
well, I followed all steps from the Wiki for pulling down source
http://wiki.cyanogenmod.com/index.php?title=Compile_CyanogenMod_for_Supersonic
instead of doing this
Code:
. build/envsetup.sh && brunch supersonic
you can do
Code:
. build/envsetup.sh && make Email
Or separate those two lines, and it should make the Email app. I'm running my modified Email app on my Nook Color now, with no EAS security
**EDIT** To be clear, you have to pull down the entire CM Repo (or at least to my knowledge) just pulling down the Email repo isn't enough, because you will be missing a lot of library code

Toggle App

Well heres what I've been working on (Alot of it with Dougie, he has a git up for his version)
It is fairly complete, I'm posting it over at xda too. Alot of this could actually be modified for other android devices =]
App
ftp://eto.homeip.net/NotionInkAdam/Notion_Ink_Adam_Settings.apk
Startup Script
ftp://eto.homeip.net/NotionInkAdam/Startup
Source Code
ftp://eto.homeip.net/NotionInkAdam/Notion_Ink_Adam_Settings.zip
Server down ?? The links don't work :-(
harvey186 said:
Server down ?? The links don't work :-(
Click to expand...
Click to collapse
sorry, reconfigured my server. Try it now

Need Help comilping --- fixing this error - [Solved]

Does anyone know how to fix this error???
Am trying to compile from quarx2k github and i keep on getting this error while i try to build...
make: *** No rule to make target `out/target/product/jordan/obj/lib/libcamera.so', needed by `out/target/product/jordan/obj/SHARED_LIBRARIES/camera.jordan_intermediates/LINKED/camera.jordan.so'. Stop.
make: *** Waiting for unfinished jobs....
any help is welcome.... thanks ^_^
Anyone able to compile from quarx2k github ics branch and give me some tips
You'd probably be better off posting in the development section for some help.
Sent from my MB525 using XDA
cgordonfreeman said:
You'd probably be better off posting in the development section for some help.
Sent from my MB525 using XDA
Click to expand...
Click to collapse
Yh true but the Dev section is for development of new stuff, roms, mods etc and it's already cluttered as it is ..... this really should be in Q&A but no one goes there
Take that lib from your Defy and place it in the stated directory
Defy-ing all herpderpderpherp.
EmoBoiix3 said:
Take that lib from your Defy and place it in the stated directory
Defy-ing all herpderpderpherp.
Click to expand...
Click to collapse
Thanks for the reply will try that now
Edit - Ommggg It's now building thanks for the tip
I ran make -i to ignore errors so helpful it builds feel
DON'T do that .
All errors are needed to be resolved for the build to run correctly
Defy-ing all limits.
EmoBoiix3 said:
DON'T do that .
All errors are needed to be resolved for the build to run correctly
Defy-ing all limits.
Click to expand...
Click to collapse
Yh i kn i just realized that but i did what you said and it worked i have to do that for some other files aswell....... I will rebuild again later without -i..... Thanks again for the tip i had been searching for a fix for like 2 days now on if i knew it was that simple to fix..
I recompiled again it worked...... now to test my efforts ...... Thanks again for the tip EmoBoiix3
Kayant said:
I recompiled again it worked...... now to test my efforts ...... Thanks again for the tip EmoBoiix3
Click to expand...
Click to collapse
Always happy to help
I do compile Android builds , just not for this device
Too much professionals here that my build would be too minute
Defy-ing all limits.

[DEV][ROM][JB 4.2.2][Unofficial] CM10.1.3

Since Spyke555 is busy, I updated cm10.1 with his last device tree.
You can download from http://dualhoki.vim.hu/bubor/dev/10.1/cm-10.1-20131024-UNOFFICIAL-i927.zip
Please read http://forum.xda-developers.com/showthread.php?t=2217288
It has same issues. Cm has security bugfix, and I want to keep cm up to date.
- Gps was fixed.
20131025: update to cm 10.1.3, increaes dalvik.vm.heapsize, android_packages_app_settings at b1755aad3d3ad2ac0e72297a6b4b60031d15ff69
20150826: cm security update
issue
same as other cm 10.1
settings -> about crash
ghost call: please try litekernel
Updated kernel here: http://dualhoki.vim.hu/bubor/dev/11.0/tegra-reserved-192mb-kernel-only-oldone.zip with lowered tegra reserved memory ( more usable memory)
Litekernel found here
Androide3 said:
Home long press not work
Sent from my SGH-I927 using xda premium
Click to expand...
Click to collapse
settings -> system -> hardware keys -> enable custom actions (check) and home key (long press) set to Recent app switcher
And you may set app switch key to voice search, so mic key will work as voice search.
Didn't have time to test everything but gave it a quick spin but noticed something right away... Couldn't download from playstore. Gave some error about couldn't find information.
Had to go back to spykes last version which is dd, will try to play more later. for reference I don't have any playstore issue after restore.
Neuntoter said:
Didn't have time to test everything but gave it a quick spin but noticed something right away... Couldn't download from playstore. Gave some error about couldn't find information.
Had to go back to spykes last version which is dd, will try to play more later. for reference I don't have any playstore issue after restore.
Click to expand...
Click to collapse
Was that clean install?
I can install app from play store.
bubor said:
Was that clean install?
I can install app from play store.
Click to expand...
Click to collapse
The only thing I didn't wipe was the sdcard.
I will give it a better shake later today. Were you using tonyg-nonneon gaps?
Neuntoter said:
The only thing I didn't wipe was the sdcard.
I will give it a better shake later today. Were you using tonyg-nonneon gaps?
Click to expand...
Click to collapse
yes
bubor said:
Since Spyke555 is busy, I updated cm10.1 with his last device tree.
You can download from http://dualhoki.vim.hu/bubor/cm-10.1-20130725-UNOFFICIAL-i927.zip
Please read http://forum.xda-developers.com/showthread.php?t=2217288
Click to expand...
Click to collapse
kudos bubor !
Unfortunately it seems the same issues that Kick is having with calls is present here as well so it's definitely seems to be something from CM. I haven't had anyone try to call me but I made a test call and was unable to end the call.
m1batt1 said:
Unfortunately it seems the same issues that Kick is having with calls is present here as well so it's definitely seems to be something from CM. I haven't had anyone try to call me but I made a test call and was unable to end the call.
Click to expand...
Click to collapse
please try this:
http://dualhoki.vim.hu/bubor/cm-10.1-20130726-UNOFFICIAL-i927.zip
ITs use opensource libril. Please feedback ASAP
bubor said:
please try this:
http://dualhoki.vim.hu/bubor/cm-10.1-20130726-UNOFFICIAL-i927.zip
ITs use opensource libril. Please feedback ASAP
Click to expand...
Click to collapse
I just got to work and won't be able to test until later tonight but I'll check it out and let you know.
Sent from my SGH-I927 using xda app-developers app
bubor said:
please try this:
http://dualhoki.vim.hu/bubor/cm-10.1-20130726-UNOFFICIAL-i927.zip
ITs use opensource libril. Please feedback ASAP
Click to expand...
Click to collapse
i tried it and calls work normally, i can end a call and i can recieve calls with no problem!
bubor said:
please try this:
http://dualhoki.vim.hu/bubor/cm-10.1-20130726-UNOFFICIAL-i927.zip
ITs use opensource libril. Please feedback ASAP
Click to expand...
Click to collapse
Hey! I'm at work currently but got chance to test it so here it goes what I found.
Calls: ok. I did 2 calls, receive 2 calls, did 1 outgoing call and put speaker, and receive 1 call and also test with speaker. So far all calls had audio.
Skype, and this is interesting. I tested from the glide to my work skype account, and in the glide the audio is still broken:
- Calling from glide to pc: I could hear myself ok ON the PC (so lets say the other side could hear me), but not FROM the pc, I heard it was all all deep and slow (nothing new to me there). I could even turn on the video call and it worked.
- Calling from pc to glide, skype in the glide just dies and restarts.
I'm sorry I cannot test more, I'm at work. I was using CM 10.1 RC2 from spyke555 and dirty flashed this one (just cleared cache and dalvik).
Bubor, if you can think a protocol for testing specific things (for example 1-test X and note results, 2-test Y and note resulted, after all tests report back to forum with results) somehting like that that would be equal among all that we are testing and might give you insight of the problems or if you need to test just 1 particulare thing, well, for that thing.
Keep it up people, let's give the devs what they need, tests, reports, results, they give us their time doing this, we must at least do the same!
Bubor, its CM10.1.2 o 10.1
Sent from my SGH-I927 using xda app-developers app
ugoPS said:
Bubor, its CM10.1.2 o 10.1
Sent from my SGH-I927 using xda app-developers app
Click to expand...
Click to collapse
10.1.2, you can check in about phone -> "view changelog"
Skype doesnt work. This build should be same as before, same bugs.
Okay. Did full wipe of sdcard and all, now no issues with play store.
Now I have never had voice search work with hot word detection, and that is still the case. Am I just lame or is this the way it should be. I had heard people talk about it working before.
Calls work. Both directions 4 times each tested. can hang up etc.
Unless there is something else supposedly fixed I guess it works for me.
How did you include the kernel? Just put the zip in the kernel/samsung/i927 folder?
Also are you still using the proprietary vendor files from The Covenant?
I know libril is a library for radio access but can you help me understand which one we need and how to include it in the build?
Thanks for any help you can provide still working on my first build after hours of downloading cm repo.
Neuntoter said:
How did you include the kernel? Just put the zip in the kernel/samsung/i927 folder?
Also are you still using the proprietary vendor files from The Covenant?
I know libril is a library for radio access but can you help me understand which one we need and how to include it in the build?
Thanks for any help you can provide still working on my first build after hours of downloading cm repo.
Click to expand...
Click to collapse
this device tree including kernel binary and modules. It would fail to build, if you include kernel source with this device tree.
Both device and vendor files you can found http://dualhoki.vim.hu/bubor/dev/cm-10.1-20130726-UNOFFICIAL-i927.tgz
You need one more thing that is https://github.com/CyanogenMod/android_hardware_samsung (just change _ to / for correct path)
bubor said:
this device tree including kernel binary and modules. It would fail to build, if you include kernel source with this device tree.
Both device and vendor files you can found http://dualhoki.vim.hu/bubor/dev/cm-10.1-20130726-UNOFFICIAL-i927.tgz
You need one more thing that is https://github.com/CyanogenMod/android_hardware_samsung (just change _ to / for correct path)
Click to expand...
Click to collapse
When you say kernel binary you mean the zip I download from kickass right? Are you saying I just put that in the kernel/samsung/i927 folder and it will automatically be included?
Just to clarify.
Get rid of device tree I got from spyke555's GIT and use the ones from your tgz. Now I assume I still put them in device/samsung/i927 and vendor/samsung/i927 right?
for the https://github.com/CyanogenMod/android_hardware_samsung
Do I just git clone that into the root? Or where should I be putting this?
Sorry for all the questions but I want to make sure I learn this and am a help later on.
Neuntoter said:
When you say kernel binary you mean the zip I download from kickass right? Are you saying I just put that in the kernel/samsung/i927 folder and it will automatically be included?
Just to clarify.
Get rid of device tree I got from spyke555's GIT and use the ones from your tgz. Now I assume I still put them in device/samsung/i927 and vendor/samsung/i927 right?
for the https://github.com/CyanogenMod/android_hardware_samsung
Do I just git clone that into the root? Or where should I be putting this?
Sorry for all the questions but I want to make sure I learn this and am a help later on.
Click to expand...
Click to collapse
Depend what is in your boardconfig.mk, if it has prebuild things, you would not put kernel source, but put kernel binary.
TARGET_PREBUILT_KERNEL := device/samsung/i927/prebuilt/kernel
TARGET_PREBUILT_RECOVERY := device/samsung/i927/prebuilt/recovery.img
If you use kernel source, it would be:
TARGET_KERNEL_SOURCE := kernel/samsung/i927
TARGET_KERNEL_CONFIG := tegra_bose_defconfig
Where keren source path, and the other is the defconfig what is in kernel/samsung/i927/arch/arm/configs
When you change _ to / in android_hardware_samsung you get android/hardware/samsung where android is the dir where you start, so you put to hardware/samsung. With command
git clone https://github.com/CyanogenMod/android_hardware_samsung hardware/samsung
Click to expand...
Click to collapse
Or you can put to the manifest, so repo sync will update to you.
If you wish, I could put whole directory to somewhere, but it would be something like 30giga.
Thank you Bubor! Couldn't of done it without you!
It appears to be building. I guess I won't know for sure until it is done.
bubor said:
Since Spyke555 is busy, I updated cm10.1 with his last device tree.
You can download from http://dualhoki.vim.hu/bubor/cm-10.1-20130726-UNOFFICIAL-i927.zip
Please read http://forum.xda-developers.com/showthread.php?t=2217288
It has same issues. Cm has security bugfix, and I want to keep cm up to date.
Last month I tried to fix tinyalsa, what fix most sound issue ( except bt calls). I'll keep trying.
Click to expand...
Click to collapse
Bubor, local forum users say that GPS is finally fixed in your build. I can confirm that, now GPS status and toolbox shows much more sattelites than previous CM versions. Thanx for that!

[Q] Device name question.

Hi everyone. I am attempting to buld my first ROM and am following a guide to build beanstalk. I am at a point that confuses me. The comand is "breakfast (Device name)". Is this just looking for "n7100" or is there a speacial name I have to put there? Thanks!!
PS: Before anyone say this is not the place for this, Id like to say sorry first. IF i can get this to work and I get permision from scott this will turn into a new Beanstalk build thread.
It depends on the Beanstalk build environment setup. Your best bet is to PM someone that has already built for a device and ask them.
Just something to try, you could try the breakfast command without typing anything after it and see if your device name shows up then.
When I started building from source, I have never used the breakfast command, only lunch and make.
Thanks for the reply. I am running into another problem thats a step before that. I am trying to get the curl command to work. It creates a file called repo but when I try to do the next command repo init "blahblah" I get an error code saying syntay error Doctype HTML. The only thing I can think of is that the repo file should be a python script but is getting saved as html. I dont know how to fix this. Can someone post there repo file. This is the code to I am using to create the repo file.
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
Bert.C said:
It depends on the Beanstalk build environment setup. Your best bet is to PM someone that has already built for a device and ask them.
Just something to try, you could try the breakfast command without typing anything after it and see if your device name shows up then.
When I started building from source, I have never used the breakfast command, only lunch and make.
Click to expand...
Click to collapse
Goneeuro said:
Thanks for the reply. I am running into another problem thats a step before that. I am trying to get the curl command to work. It creates a file called repo but when I try to do the next command repo init "blahblah" I get an error code saying syntay error Doctype HTML. The only thing I can think of is that the repo file should be a python script but is getting saved as html. I dont know how to fix this. Can someone post there repo file. This is the code to I am using to create the repo file.
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
Click to expand...
Click to collapse
Have you got that big list of dependencies installed? If you dont know what I mean, search for aosp amd setting up build environment and theres a list of packages that need imstalling, python beimg one of them.
Actually looking at that link I dont think thats where my repo come from. If you can wait until tomorrow when Im back at my pc Ill sort out a step by step guide if you want? As in noob starting from scratch guide that I followed to get set up.
Sent from my GT-N7100 using Tapatalk
Bert.C said:
Have you got that big list of dependencies installed? If you dont know what I mean, search for aosp amd setting up build environment and theres a list of packages that need imstalling, python beimg one of them.
Actually looking at that link I dont think thats where my repo come from. If you can wait until tomorrow when Im back at my pc Ill sort out a step by step guide if you want? As in noob starting from scratch guide that I followed to get set up.
Sent from my GT-N7100 using Tapatalk
Click to expand...
Click to collapse
Yeah. I had a wrong link in the curl command. It was an old link. I googled it and replaced it, now everything seems to be working. Lets see though. Any help you can give though I would apreciate it.
Goneeuro said:
Yeah. I had a wrong link in the curl command. It was an old link. I googled it and replaced it, now everything seems to be working. Lets see though. Any help you can give though I would apreciate it.
Click to expand...
Click to collapse
What steps have you already taken mate? Start from the very beginning if you can and we shall get you up and running in no time at all (unless you already are?)
Hi. I got it syncing now. Thanks. The next command I'm not to sure of is the breakfast command.
Sent from my GT-N7100 using xda app-developers app
Goneeuro said:
Hi. I got it syncing now. Thanks. The next command I'm not to sure of is the breakfast command.
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Did you add your N7100 repo's to the local manifest?
Bert.C said:
Did you add your N7100 repo's to the local manifest?
Click to expand...
Click to collapse
Can I message you on hangouts?
Bert.C said:
Did you add your N7100 repo's to the local manifest?
Click to expand...
Click to collapse
Sent PM. :good:
Ok. Next question. Where or how do I get the device specific files for the note 2 so I can try to build the newest beanstalk. I thought they would automatically come from CM but the device isnt supported. Not sure if I mentioned this or not before but I have never done this before so it is a learning experience for me.

Categories

Resources