AOSP for the SGSW 3.6 - Development
I am actually working on AOSP for the YP1-GS1 (EU) l, if my build will work I'll start building a ROM for the US version of the GS1 and for the Galaxy S WiFi 4.2.
What is done so far:
1. Downloaded Android 2.3.6 (AOSP)
2. Downloaded the source for the player from the samsung open source release center
3. Overwritten the files from AOSP with the files from the GS1 source
Now: When I'm starting the build script (commands: cd ~/WORKING_DIRECTORY | ./build.sh eng) It shows me yhe error:
You are attempting to build with the incorecct version of Java.....
BUT I have the correct version (1.6) ! What can I do? Please help me
Thanks in advance, MrBrubble
MrBrubble said:
AOSP for the SGSW 3.6 - Development
I am actually working on AOSP for the YP1-GS1 (EU) l, if my build will work I'll start building a ROM for the US version of the GS1 and for the Galaxy S WiFi 4.2.
What is done so far:
1. Downloaded Android 2.3.6 (AOSP)
2. Downloaded the source for the player from the samsung open source release center
3. Overwritten the files from AOSP with the files from the GS1 source
Now: When I'm starting the build script (commands: cd ~/WORKING_DIRECTORY | ./build.sh eng) It shows me yhe error:
You are attempting to build with the incorecct version of Java.....
BUT I have the correct version (1.6) ! What can I do? Please help me
Thanks in advance, MrBrubble
Click to expand...
Click to collapse
Be sure to have downloaded all the needed depedencies here:
http://source.android.com/source/initializing.html
I don't think 1.6 is the correct one.
EDIT: I have openjdk 1.6 when I compile but I just get a warning and not compilation errors...
zaclimon said:
Be sure to have downloaded all the needed depedencies here:
http://source.android.com/source/initializing.html
I don't think 1.6 is the correct one.
EDIT: I have openjdk 1.6 when I compile but I just get a warning and not compilation errors...
Click to expand...
Click to collapse
Thanks for your answer,
yes, I have downloaded everything.
The script (build.sh) says that 1.6 is the correct version.
Which script are you using?
MrBrubble
MrBrubble said:
Thanks for your answer,
yes, I have downloaded everything.
The script (build.sh) says that 1.6 is the correct version.
Which script are you using?
MrBrubble
Click to expand...
Click to collapse
What which script, there's only one. can I see a screenshot of your computer to see what's the problem. And why would you compile aosp when there's cm?
Sent from my Nexus 7 using Tapatalk HD
are you sure you installed the jdk and not just the jre?
what do you get if you type
Code:
javac -version
or try the package from web upd8 :
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
if this still doesnt work, then try installing openjdk. but for me, building seems faster with the oracle jdk
To: iurnait & zacliamon
iurnait said:
are you sure you installed the jdk and not just the jre?
what do you get if you type
Code:
javac -version
or try the package from web upd8 :
Code:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
if this still doesnt work, then try installing openjdk. but for me, building seems faster with the oracle jdk
Click to expand...
Click to collapse
Thank you both for answering the thread.
I could install the jdk6 with your help, iurnait.
But now the building process ends up with these errors:
HTML:
In file included from build/libs/host/CopyFile.c:11:0:
build/libs/host/include/host/CopyFile.h:5:22: fatal error: sys/stat.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 1
What to do?
Thanks, MrBrubble
MrBrubble said:
Thank you both for answering the thread.
I could install the jdk6 with your help, iurnait.
But now the building process ends up with these errors:
HTML:
In file included from build/libs/host/CopyFile.c:11:0:
build/libs/host/include/host/CopyFile.h:5:22: fatal error: sys/stat.h: No such file or directory
compilation terminated.
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 1
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/CopyFile.o] Error 1
What to do?
Thanks, MrBrubble
Click to expand...
Click to collapse
you are probably missing some dependencies
try
$ sudo apt-get install git gnupg flex bison gperf build-essential \
zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev \
libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 \
libgl1-mesa-dev g++-multilib mingw32 tofrodos \
python-markdown libxml2-utils xsltproc zlib1g-dev:i386
$ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
Click to expand...
Click to collapse
iurnait said:
you are probably missing some dependencies
try
Click to expand...
Click to collapse
Thanks, you are great!
My build is finished but I've got an image (system.img), maybe someone knows how to flash it.
Thanks, MrBrubble
is no longer simple to make a port from a similar device?
MrBrubble said:
Thanks, you are great!
My build is finished but I've got an image (system.img), maybe someone knows how to flash it.
Thanks, MrBrubble
Click to expand...
Click to collapse
i believe you have to use dd if
like this: http://forum.xda-developers.com/showthread.php?t=919353
but modify it for your partition
Matoxxi said:
is no longer simple to make a port from a similar device?
Click to expand...
Click to collapse
I tried, bootloop.
Sent from my air conditioner unit running CyanogenMod
dugoy13 said:
I tried, bootloop.
Sent from my air conditioner unit running CyanogenMod
Click to expand...
Click to collapse
if it doesn't boot then copy /system/lib/libandroid_runtime.so from target rom and repack your rom.zip and install again
I tried, still a boot loop.
Sent from my air conditioner unit running CyanogenMod
Status update
Hello @ all,
I unpacked the image and repacked it to an format for Odin, then I flashed it, but it ended up in a bootloop.
I fixed it but I don't know what was wrong with the AOSP, so I gaved it up.
But now I realized what was wrong. I was just missing the proprietary files.
I think I will add them now and try it again.
BTW, I got my device tree for the 3.6 finished and if you want it, just PM me!
Greetings, MrBrubble
Thank you for continuing to try! When you had the .img you should be able to flash it with heimdall.
Sent from my SGH-I777 using xda app-developers app
Sounds Awesome
MrBrubble said:
AOSP for the SGSW 3.6 - Development
I am actually working on AOSP for the YP1-GS1 (EU) l, if my build will work I'll start building a ROM for the US version of the GS1 and for the Galaxy S WiFi 4.2.
What is done so far:
1. Downloaded Android 2.3.6 (AOSP)
2. Downloaded the source for the player from the samsung open source release center
3. Overwritten the files from AOSP with the files from the GS1 source
Now: When I'm starting the build script (commands: cd ~/WORKING_DIRECTORY | ./build.sh eng) It shows me yhe error:
You are attempting to build with the incorecct version of Java.....
BUT I have the correct version (1.6) ! What can I do? Please help me
Thanks in advance, MrBrubble
Click to expand...
Click to collapse
Is there a way to get a notification when the NA version will be released. and if you need someone to test it i will be available, just asking to make sure that it will not brick my YP-GS1.
I do have a question though, incase a phone/mp3/table/whatever is bricked is there a way to recover it or is it just a paper weight?
MrBrubble said:
Hello @ all,
I unpacked the image and repacked it to an format for Odin, then I flashed it, but it ended up in a bootloop.
I fixed it but I don't know what was wrong with the AOSP, so I gaved it up.
But now I realized what was wrong. I was just missing the proprietary files.
I think I will add them now and try it again.
BTW, I got my device tree for the 3.6 finished and if you want it, just PM me!
Greetings, MrBrubble
Click to expand...
Click to collapse
You're missing more than that. What Samsung gives you does not have nearly enough configuration to actually boot the player. All they gave you was the GPL parts they have to.
Bryan.Dominguez said:
Is there a way to get a notification when the NA version will be released. and if you need someone to test it i will be available, just asking to make sure that it will not brick my YP-GS1.
I do have a question though, incase a phone/mp3/table/whatever is bricked is there a way to recover it or is it just a paper weight?
Click to expand...
Click to collapse
If you see any logo at all when you plug it in/turn it on, then you aren't bricked; but if you get just a blank screen there is no way to recover AFAIK.
I'm not sure if this is the best place for this, but...
I'm trying to install Ubuntu Touch on my tablet, but i cant even get the desktop-side tools installed. xD
I just installed the latest Ubuntu LTS on my laptop (12.04). I added the ppas needed in the installation manual. Did an apt-get update. Then went to install some packages when
Code:
$ sudo apt-get install phablet-tools android-tools-adb android-tools-fastboot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
phablet-tools : Depends: click but it is not installable
Recommends: imagemagick
Recommends: ubuntu-dev-tools but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Ive never had an "installable" error before, and after some brief searching, all ive gotten is some vague advice like "well the developer has marked it as not installable for some reason" or "maybe a dependency has had a name change". I dont really know anything about this package, why its necessary, and what to do about this error.
hello i am trying to build a iso from kitkat android x86 i keep getting this error:
make: * [out/target/product/x86/obj/STATIC_LIBRARIES/libmesa_dri_common_intermediates/xmlpool.pot] Error 127
anyone know whats the fix??
i'm using ubuntu 12.0.4 LTS x64
please let me know thanks
Rapsong11
Error 127 Fix Xmlpool.pot
sudo apt-get install gettext
It uses that command during make
Hey Guys i am downloading CM12 Source ..Everything is fetched..I just need to sync when i start syncing i get an error .
Code:
error: in `sync`: [Errno 2] No such file or directory: u'/home/humaid/cm12/cts/.git/HEAD'
error: manifest missing or unreadable -- please run init
I have tried many time but i am still stuck .I am running Ubuntu 14 directly on my pc
KIndly help
DONE
Deleated the file from directory and retried and it worked!