I want to port sailfish os to nexus 6,but there comes a problem i cant solve.I follow the porting guide and everything goes fine.When i come to 7.2.1 Building the droid-hal-device packages,i found that i cant cd to $ANDROID_ROOT in MERSDK $ chroot.The guide said that The next step has to be carried out in a Mer SDK chroot .I can only cd to $ANDROID_ROOT when in the HABUILD_SDK$ chroot.It's weird,now i cant go any further because of it.Anyone could help?
a bit late but...
I had the same problem.
Running the following lines from MerSDK solved it.
Code:
hadk
export ANDROID_ROOT=$MER_ROOT/sdks/ubuntu$ANDROID_ROOT
Running hadk resets it again.
However I don't think it is the correct way of doing it.
Could you link the porting guide? I can't seem to find it.
btw_i_use_arch said:
Could you link the porting guide? I can't seem to find it.
Click to expand...
Click to collapse
Here you go:
https@[email protected]@hadk
just replace the @ with /. (cannot post url yet)
Related
Can anyone either give a step-by-step guide to building a kernel from source on Ubuntu. or give a link to a good guide. I have searched the web but I cant find a straightforward guide.
I think I have done most things but when I try to 'make' I get the error 'make: arm-eabi-gcc: Command not found'
Im guessing I dont have the correct gcc toolchain but I dont know how to get/install it.
From the flykernel post:
erasmux said:
Kernel Sources
My sources with all my updates and changes are found on github:
http://github.com/erasmux/hero-2.6.29-flykernel
Use hero_defconfig for the regular version and hero-bfs_defconfig for the BFS version.
See the wiki for more information about building the kernel. Another great resource about kernel building is the cyanogen wiki - do note that currently the CM kernel will not work on the hero.
Please feel free to contact me regarding my sources and kernel development.
Click to expand...
Click to collapse
The cyanogen wiki is excellent.
You just need Android NDK!
Hi,
you just need Android NDK and add proper dir to environment PATH variable to fix your problem...
If you should have any problems, here is a step by step guide for you:
1) Get latest Android NDK from: developer.android.com/sdk/ndk/index.html
(Ubuntu: android-ndk-r5-linux-x86.tar.bz2)
2) Extract it wherever you wish (tar -xvjf android-ndk-r5-linux-x86.tar.bz2)
3) Set some variables typing:
export CROSS_COMPILE=arm-eabi-
export PATH=$PATH:/path/to/android-ndk-r5/toolchains/arm-eabi-4.4.0/prebuilt/linux-x86/bin/
And U R ready to compile your kernel
For your first compilation I recommend use erasmux's flykernel!
Just follow the steps from this short wiki github.com/erasmux/hero-2.6.29-flykernel/wiki
Have a fast compilation dude
f_padia said:
Can anyone either give a step-by-step guide to building a kernel from source on Ubuntu. or give a link to a good guide. I have searched the web but I cant find a straightforward guide.
I think I have done most things but when I try to 'make' I get the error 'make: arm-eabi-gcc: Command not found'
Im guessing I dont have the correct gcc toolchain but I dont know how to get/install it.
Click to expand...
Click to collapse
first download the prebuilt binaries from android source:
run this command in bash:
Code:
git clone git://android.git.kernel.org/prebuilt
then download the kernel source, for example Behnaam old kernel:
Code:
mkdir android
cd android
git clone https://github.com/behnaam/HeRo-2.6.29-GoDmOdE.git
then follow these steps:
https://github.com/behnaam/HeRo-2.6.29-GoDmOdE/wiki/
yes, that easy
Does this code link closely to any programming languages like Java? Visual Basic? I've been learning C++ and would like to get into the developing scence
Calico5 said:
Does this code link closely to any programming languages like Java? Visual Basic? I've been learning C++ and would like to get into the developing scence
Click to expand...
Click to collapse
There is some Java of course but I'm pretty sure there's also some C and C++
Calico5 said:
Does this code link closely to any programming languages like Java? Visual Basic? I've been learning C++ and would like to get into the developing scence
Click to expand...
Click to collapse
The kernel code is pure C.
The android code is mostly Java and C++, maybe also some c.
As far as I know no visual basic, thank god
erasmux said:
The kernel code is pure C.
The android code is mostly Java and C++, maybe also some c.
As far as I know no visual basic, thank god
Click to expand...
Click to collapse
No man that would be great! That's the only coding language besides Windows DOS I speak :'(
erasmux said:
The kernel code is pure C.
The android code is mostly Java and C++, maybe also some c.
As far as I know no visual basic, thank god
Click to expand...
Click to collapse
Thanks for the info! I think i'll finish off learning C++, before having a look at Java... then maybe one day i can become an android developer
C0mpu13rFr34k said:
No man that would be great! That's the only coding language besides Windows DOS I speak :'(
Click to expand...
Click to collapse
same here! VB is just soo easy albeit rubbish in pure programming talk
Well this link is little old but should work to, anyway the basics
http://forum.androidcentral.com/htc...how-build-your-own-kernel-package-source.html
elelinux said:
Well this link is little old but should work to, anyway the basics
http://forum.androidcentral.com/htc...how-build-your-own-kernel-package-source.html
Click to expand...
Click to collapse
thanks! I did finally come across this page after much searching. its an excellent guide and very easy to follow... now on to the compiling...
I have started adding some info for developers to my flykernel wiki. I have done some minor updates to the page about building the kernel, including adding the link brought by elelinux, big thanks to him
I have also added a small git tutorial which can be very helpful to developers new to git.
I am about to give rooting a go, but I am struggling desperately with it. I got it all sorted on Windows Mobile 6.5, but android is making my head spin. I have a stock Samsung galaxy S Froyo 2.2. If people can just give me a yay or nay on whether the following steps are correct:
I have found this, one click root tool:
http://forum.xda-developers.com/showthread.php?t=803682
But before I can use it, it is telling me I need the ADB. I found the following link on how to install it:
http://www.addictivetips.com/mobile/...ll-it-android/
In order to
http://www.oracle.com/technetwork/ja...ads/index.html
Following on from that, is it just a matter of downloading the Java SE JDK, then the ADB (Android Development kit) and then using the one click root to finish it all off?
Following on from rooting it, new ROM is it just a matter of downloading & installing them as I would have on Windows Mobile?
Many thanks guys
I don't see what is on oracle.com mayb wrong link...
But if u have instaled ADM and one click root tool you should be ok, it should work.
Just follow the spes in the first post of one click root tool on how to do it and you should be fine.
Many thanks mate!
EXTREMELY helpful videos for a no0b like me on setting this stuff up... he explains 32-bit and 64-bit setup...
I'm glad you found the videos helpful. If anyone has any ideas for further video tutorials, I'm open to suggestions. I'm inexperienced when it comes to Android Development as a whole, but I try and help out as best as I can.
yes... thank you for making/posting them!!!
btw, i'm bizzybearfigiblue on youtube
the1dynasty said:
yes... thank you for making/posting them!!!
btw, i'm bizzybearfigiblue on youtube
Click to expand...
Click to collapse
I figured as much.
Thank you for this videoguide!!!
My adb server won't start on my os (Ubuntu 11.10 x64 bit) and i've solved the problem installing ia32-libs
sudo apt-get install ia32-libs
This must be helpful for some users that have my same problem.
Onlyunless said:
I'm glad you found the videos helpful. If anyone has any ideas for further video tutorials, I'm open to suggestions. I'm inexperienced when it comes to Android Development as a whole, but I try and help out as best as I can.
Click to expand...
Click to collapse
Yes, I would love to see one on compiling a rom from source on ubuntu 11.10.
shane6374 said:
Yes, I would love to see one on compiling a rom from source on ubuntu 11.10.
Click to expand...
Click to collapse
+1
dy-nasty 10 char
had to watch these again lol
Would it be possible for you to create such an environment to be used as image for "virtual box" ?
DirkStorck said:
Would it be possible for you to create such an environment to be used as image for "virtual box" ?
Click to expand...
Click to collapse
No clue... Hopefully the guy in the video can chime in here or u can ask him on YouTube!
Sent from my Nexus S 4G using Tapatalk 2
Ubuntu 12.10
I know this is a year old to the date, but would it still work on Ubuntu 12.10 environment?
gyrene2083 said:
I know this is a year old to the date, but would it still work on Ubuntu 12.10 environment?
Click to expand...
Click to collapse
should be the same basically
hey peeps getting abit frustrated with trying to find and install reliable adb/fastboot for kali linux i have looked on google and tryed the tutorials but nothing seems to work its getting really annoying as i want to be able to use kali linux for accessing nexus devices! i have also tryed installing through add/remove programs but no avail. can anyone help me please? if possible download links and procedure for installing.
Linux doubl3-pen3tr4tion 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux this is the version of kali im currently running
clocker-droid said:
hey peeps getting abit frustrated with trying to find and install reliable adb/fastboot for kali linux i have looked on google and tryed the tutorials but nothing seems to work its getting really annoying as i want to be able to use kali linux for accessing nexus devices! i have also tryed installing through add/remove programs but no avail. can anyone help me please? if possible download links and procedure for installing.
Linux doubl3-pen3tr4tion 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux this is the version of kali im currently running
Click to expand...
Click to collapse
What exactly did you try yet? Have you already tried installing the android sdk? Have you set up any udev rules yet?
mihahn said:
What exactly did you try yet? Have you already tried installing the android sdk? Have you set up any udev rules yet?
Click to expand...
Click to collapse
hi thanks for the reply, but i found a script that just installs it so hopefully it works
clocker-droid said:
hi thanks for the reply, but i found a script that just installs it so hopefully it works
Click to expand...
Click to collapse
Okay, great! If it works, could you please post the link to this script/guide here, so other users with the same problem can solve it, too?
mihahn said:
Okay, great! If it works, could you please post the link to this script/guide here, so other users with the same problem can solve it, too?
Click to expand...
Click to collapse
yes i can indeed its actually on this forum where the script is located here is the link for anyone who needs to install it as it says in the thread
just run the script in terminal
http://forum.xda-developers.com/showthread.php?t=2564453
let me know if the link works ok :good:
Hi developers,
Has anyone tried to experiment with Ubuntu Touch on Note 4. The process of porting is listed on Ubuntu's official website so I was wondering if someone might be already working for it.
Thanks!!
Link for guide:
https://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/
Actually, very interesting idea to see Ubuntu in Note 4.
Xokoz said:
Link for guide:
https://developer.ubuntu.com/en/start/ubuntu-for-devices/porting-new-device/
Actually, very interesting idea to see Ubuntu in Note 4.
Click to expand...
Click to collapse
Yes, I myself don't have any experience in baking a ROM from scratch, so was thinking maybe someone experienced can help me start the development.