Android NDK8 wheres the arm toolchain?? - Android Software/Hacking General [Developers Only]

Ok i am desperate guys!!!!!!!!!!!! Ive been away from the android scene for a little while becuase Ive recently gotten into micro controllers specifically the parallax propeller. Anyways some guys recently got GCC working with the propeller, and have released the toolchain open source obviously! Well there has been alot of effort and research on my part in being able to use an android phone to program the propeller and arduino acually via bluetooth!
The only thing thats missing at this point is a loader program and optionaly the new propeller gcc toolchain compiled for arm! Well I had inteded on porting it! I had done alot of kernel hacking a few months ago on the ndk7. I downloaded ndk 8 and i have searched hi and low through the docs and the directorys it seems there is no arm-eabi binarys anymore? I cant even find ndk7 anymore. The documentation with the ndk is just confusing im thinking i need to build a stand alone compiler... i have no idea....
Could anyone please help me get the arm tool chain without neon extensions set up? Im thinking I have to compile it with this new ndk, ive spent 2 hours trying to figure this out and the truth is I have porting to do not fusing with all this junk google changed on me in 6 months. All I want is an android compatible cross compiler working

Related

[Q] Android noob, Generic device, A few questions?

First let me introduce myself. The name is Darcy and I have been casually using linux and other *nix OS for about a decade. I am in school working on a programing degree ATM, and am a pretty quick study. Anyways, I without much research bought my wife a generic 7" tablet running android 1.6. I know what processor it has and Im hoping that leads me to a place to start. Ok so the device is a "Kasser Net'sGo" we didnt realize that its just a china pad with another companys name on it when we ordered it. So most of the apps dont run correctly, and in general the device sucks(on a software level the HW is fine although generic).
Anyways it apears that i can get into recovery mode to flash if i had no other choices. But since there are no official roms im hoping to find a build thats based on the same CPU or similar hardware to find a starting point. Its running the Marvell Aspen 800mhz chip and standard ddr2. Sadly thats all we have been able to find out about this device.
I have compiled custom builds for linux before, and i have now purchased a Gtab so i have a less garbage device to test some things on(i have allready flashed 2 different roms and fooled with a bunch of the settings). But we would realy like to do something with this other tablet. So if anyone can point me in the direction of some info on how to do android builds or a repository of chipset drivers and such that might help me that would be greatly appreciated.

Onboard GCC?

Has anyone succeeded in building GCC on android? And, yes, it would be slow. But it would also be awesome fun.
I started a similar threat a few weeks ago and didn't find anything out
there are c/c++ and java(jikes) compilers for iphone as well as a python shell
I find it strange that they would exist for iphone but not android
I think it would be really cool to have these. If I had a xoom with a bluetooth keyboard, I would use them all the time. In school, almost everything we do is just simple CLI programs so this would be all I need most of the time. I don't know if there are any good text editors for android but there's always vi, if all else fails.
if anyone wants to work on this, I'd definitely be will to help but I don't really know where to even start myself.
I'm a second year software engineering student so I don't have that much experience but I think I could help out. I've been using android phones for years and I am currently on a work term with the android development team at broadcom so I do know android well enough.
http://thebigboss.org/2009/03/28/iphone-os-c-compiler
http://www.youtube.com/watch?v=-BDylxLzUEM
http://www.youtube.com/watch?v=iFrzSDdTXkk
This goes deep down to a dependency hell of cross-compiling to ARM. I see it do-able if anyone has enough time to dedicate to cross-compile gcc and glibc all the way down to its bottom dependencies. I'm not sure if we can get the kernel headers, either.
Probably do-able, but unpractical. Maybe writing a compiler in Java would waste less time, albeit being inefficient?
Funnily enough, I wanted to build vim, as busybody VI is awful.
Sent from my HTC Wildfire using XDA App
http://forum.xda-developers.com/showpost.php?p=10258071&postcount=6
maybe there's hope?
also, check this out
http://code.google.com/p/android-scripting/
not what you were looking for, but still pretty cool.
I'm installing it right now.. it takes quite a while
smaskell said:
I started a similar threat a few weeks ago and didn't find anything out
there are c/c++ and java(jikes) compilers for iphone as well as a python shell
I find it strange that they would exist for iphone but not android
Click to expand...
Click to collapse
I haven't used my iphone in a year but I think the difference is that debian is installed on the iphone during jailbreaking. You can put debian on the sdcard and I think it would give you the same thing with android. But its not native gcc on either phone, its just the debian ARM version of gcc which happens to be on the iphone/android phone.
The Android scripting project is nice. Lots of examples, pretty good interface. I think that is the best way to go for developing stuff right on the phone.
If you want a good way to write code in class from a tablet with a keyboard, I'd recommend getting a shell account somewhere. freeshell.org and devio.us are both good providers (but there are many more). Then you can use connectbot to ssh into the account, and do all your coding there. Anything CLI will work fine.
Also means when you get home you can just ssh into the box and jump right back in where you were before, without having to transfer files around.
I found ASE a great idea, but a little limiting. Iwas usong python
The UI classes are pretty basic and found SSL support missing.
Good proof of concept however.
Sent from my HTC Wildfire using XDA App

[Q] Android 3.0 ISO For PC?

hey forum , just wondering if theres a version of honey comb for pc like how 1.6 was implemented for pc awhile ago thanks for the help guys
I imagine this one is specifically tailored only for ARM processors, so... probably not.

[DEV HACK IDEA] Porting over Android to the new Chromebook..??

I checked out the specs of the newly-announced $249 chromebook, and I realized what an awesome android device it would make, if only android was successfully ported to it....
I know at the same price point we can get a n7 32gig, but the larger 11.6" LED HD tempts me, though the res at 1366 x 768 is not that great. also, all the hands-on reviews have heaped a lot of praise on the high-quality keyboard-touchpad on the device, which is even more tempting and would make up for the lack of touch input on the device...
Its config is pretty identical to a flagship android phone/tablet with two cortex-A15 cores on the Exynos 5250, 2gig RAM and 16GB onboard storage with an expandable mem slot, 2 full usb ports and a full HDMI out, with the usual WiFi a/b/g/n and Bluetooth 3.0.
I'm a noob when it comes to creating ports and ROMS, but I guess it would not be such a difficult task for the awesome dev community out here to manage that feat. Maybe we need to wait for an actual android device with the exynos chip inside to release, whose android ROM we could use as a base to port to the chromebook...
windows 8 RT would be more awesome, but seeing that its a licensed OS, porting it might amount to piracy/illegal hacking, so its not something that I would discuss/encourage here....
Chromebooks boot with UEFI (Basically a modern BIOS), so the Android source code would have to be heavilly modified to be bootstraped from UEFI. Not to mention drivers and custom kernels (which isnt much of a pain if the hardware has documentation, all eyes on you Samsung.)
And I dont think we will ever see Windows on a chromebook unless someone creates an emulator for ChromeOS... Which I dont think is possible, but dont quote me on that.
i know it would take a ton of modding to find a workaround for it, but enabling the developer mode on the chromebook allows booting of an unsigned linux installation off the external memory (eg. gentoo ubuntu) on the x86 chromebooks currently available (Cr-48 etc..)
trying something similar for booting android off an image on the mem card might be a possible way...
UPDATE : https://plus.google.com/109993695638569781190/posts/b2fazijJppZ a google employee has already begun work on porting ubuntu..!!
drivers would be difficult, esp for the SoC as there is no device currently on the market with it. but maybe after Samsung releases a couple of phones/phablets running the A15's, porting of the drivers could be attempted...
I was wondering the same thing and figured I would come here to see if anything was planned. I just ordered the new one and was curious if there would be much interest in modding this thing. Guess in due time!
rumors say the upcoming google nexus 10 tablet is running identical hardware (exynos 5 dual omap15 / 2gig ram) which is gonna run android 4.2
once its out, MAYBE porting the ROM to the chromebook may become a teeny bit easier...
the_crazy_devil said:
rumors say the upcoming google nexus 10 tablet is running identical hardware (exynos 5 dual omap15 / 2gig ram) which is gonna run android 4.2
once its out, MAYBE porting the ROM to the chromebook may become a teeny bit easier...
Click to expand...
Click to collapse
If I'm not wrong Nexus 10 will have exactly the same processor than the new Samsung Chromebook. If someon manage port android to this new latop I won't hesitate to buy it.
there is a developer board with same hardware and as far as I know it has android source codes, you can check the website http://www.arndaleboard.org/wiki/index.php/Main_Page
Wasnt this done a while back with the CR-48 thanks to Hexxeh?
http://hexxeh.net/?p=328117655
Just got to find a way to port it over to the new Chromebook, then port Android.
Since Android was ported to the HP Touchpad I'm pretty confident that it can be ported to this device... I mean the touchpad was the last thing I thought Android would run on and it runs like it was made for it... COME ON DEVS!
Following this thread with anticipation.
Well seeing as this device uses the same SoC as the nexus 10 i would be hopeful someone will manage to port android. I for one would be keen to have this option!
Touch Chromebook?
If this article on Android Community turns out to be accurate and Google release a touch chromebook any time soon, I would throw some money at a kickstarter to get android on it. Would be cheaper than an N10 - and probably quicker than waiting for a keyboard dock...!
Can't link because I'm new... androidcommunity.com/google-reportedly-plotting-12-85-inch-touch-chromebook-20121126/
Very hopeful!
^ here's a +1 form me
started..
OK...I was able to get into the uboot portion of chromeos and managed to load uvboot ( unverified boot )which will allow the booting of non chrome os kernel's. however it seems its looking for something else. I already got Ubuntu loaded on it so maybe I'll try to get it booting off the SD first so I don't brick my cb.....keep you guys posted.
rawtek said:
OK...I was able to get into the uboot portion of chromeos and managed to load uvboot ( unverified boot )which will allow the booting of non chrome os kernel's. however it seems its looking for something else. I already got Ubuntu loaded on it so maybe I'll try to get it booting off the SD first so I don't brick my cb.....keep you guys posted.
Click to expand...
Click to collapse
great work! i'm still waiting for my chromebook the stock's very erratic, and i cant find anyone willing to ship it to my country...will try to help as soon as i lay my hands on one!!
Ok ... DD'd the system.img from the stock N10 factory image and created a new BOOT partition. Booting the Chrome OS kernel worked ( which should be fine due to the fact that the CB and N10 have the EXACT same ARM SOC ) it seems the boot partition need to be re-written to work with the UEFI. im going to keep digging until I find something ( or someone lends some expertise dealing with UEFI and BOOT ).Happy New years !!
Kernel boots..just has a hard time mounting the ROOTFS...any want to shed some light on this.
Thanks
Super stoked for this!! Have been thinking this would be good to have Android on from the minute I got it!! Looking forward to this!!

[Q] Hi guys! / RNDIS question

Just popping in to say hello. I'm brand new to Android, but I've been building linux kernels and hacking on various projects since i586 days (P5-90! Booyah.)
I got my toes wet merging 3.0.69 into Garwynn's community kernel and figuring out how to build a Perseus package that didn't break STweaks.
I am currently trying to get a kernel to compile with netfilter and RNDIS. My issue is this: drivers/usb/gadget/gadget_gbhc looks like a murder scene. It looks like a major project to clean it up to the point that it would would work.
Fixing it also may be a waste of time, as the android mainlining project's target completion date is coming right up.
On the other hand, as of this morning they hadn't mainlined RNDIS yet, and the clock is ticking for Android 5- so who knows if this will even be working for Android 5 (or whether Android 5 will be Linux 3.9, though rumors say yes).
Has anyone already fought with this and got it working? I am torn between not wanting to walk away from a challenge, and knowing that it's a waste of (lots of) time.

Categories

Resources