Related
I'm not sure if this is the right forum as I've never strayed from my specific device forums. If it is not the correct section, could a Moderator please correct its location please?
I want to start looking into learning linux and android development and I need a few starter tips.
First off, i need a linux system.
-Should I buy a laptop preloaded with linux or create a boot disk to run on one of my windows computers?
---If I should purchase a preloaded system, what are the details on what I should get?
------I found this site with different systems but I have absolutely no experience with linux so I'm not sure whats good (for android development)
---If I should create a boot disk, could I get a link to a download or some easy step by step instructions on making one?
Next, I'll need to know what programs I'm going to need
-I've use apktool in the past to decomp/recomp but it looks pretty complicated to set up (For someone that has absolutely no knowledge. I'm sure once I do it once, it will be easy to recreate)
---So could I get a step by step tutorial on setup and use of apktool with download links and such?
-I'm hoping to be able to create market apps once I get pretty good at it
---What programs/files will I need to get started on that? (links please)
---Could I have a link to some kind of tutorial on creating apps (functionality of different files/commands and how to incorporate them into apps)
Basically what I'm hoping for is an all out guide to getting linux, learning linux, then learning to create android apps.
All help, no matter how small, is much appreciated.
Thanks in advanced,
~Tivo
Ba-Ba-Bump?
There is no complete guide for Android programming, but I can point you in the right direction. You can install Ubuntu on a windows PC using virtual box. All the instructions to do so can easily be found using google. If you do not know java or c++ then you will at least need to get comfortable with both. From here its up to you to learn as much as you can by searching and learning and then practicing, there is a ton of info out there and too many different techniques for there to be a simple all inclusive guide. stuff is always changing too. It can be done though, because I taught myself a lot with just using google and xda forums. Good luck
Sent from my HTC Inspireā¢ 4G using Tapatalk
Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Biswajyoti said:
Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Click to expand...
Click to collapse
Search before you make a thread - looks quite complicated, probably not worth it.
Xda Thread
Here is a way! According to what I know!
Biswajyoti said:
Is there any way to run exe file in android with the help of cross platform/layer such as "wine layer" in Linux????
Click to expand...
Click to collapse
What you can do is this, to run Ubuntu image on your android using any custom ROM kernel as the base i-e Cyanogen Mod! To have this you need to get the required Ubuntu image and also Busy box installed, Go to Google Play and search for ubuntu installer or something like this, there will be a free installed for android by XDA member, Grab that! Install that! Get Busy Box installer too from market! and install busy Box tools using that! After that open ubuntu installer read the instructions and using them you will be able to run ubuntu on your android phone using same base kernel.
Simply after having ubuntu on your screen go back to command application in your android phone Terminal Emulator and install wine using command sudo apt-get install wine amm! I don't remember the name exactly you need wine and wine trick both lol! Well Google this command and try this method it will help you! Best Of luck!
Don't forget to hit thanks after this valuable information! LOL
Great idea.....Thanks a lot....i will try this ...
Did it Worked???
Biswajyoti said:
Great idea.....Thanks a lot....i will try this ...
Click to expand...
Click to collapse
Hey could you tell me if that worked.
why do you want to run exe on android????
you have all the required apps in google play
Make sure it doen't ruin your phone/tablet
Biswajyoti said:
Great idea.....Thanks a lot....i will try this ...
Click to expand...
Click to collapse
Be careful not to damage ur phone/tablet bcuz running an .exe file on Linux (well in my case I don't wanna say about the others) created some stinky file that corrupted my Linux distribution (ubuntu) so I had to go to recovery everytime to restore it... On the other hand u have everything u need on the market or on google if the market banned it or something. Just be careful.
74274265j said:
Hey could you tell me if that worked.
Click to expand...
Click to collapse
illuminatic said:
why do you want to run exe on android????
you have all the required apps in google play
Click to expand...
Click to collapse
Do you have to have the custom kernal. Also how do you do this? (Noob).
Jf someone was to just make an app that let you run exe files they could probobly charge so much since its like impossible to do it.
Hey guys,
About two years ago when the Droid X came out, I came out with a one click root app for it that was pretty popular. Since I have the Galaxy S3 now and wanted to root me phone, I decided to make it ridiculously easy for people.
Credit goes to this thread: http://forum.xda-developers.com/showthread.php?t=1875914
I simply packaged it up into a Qt app. I will be releasing it on Linux tomorrow and if I can somehow get a Mac (or someone has one) that wants to compile the Qt app for Mac, we can have it working on all 3 main operating systems.
Here's the download: http://www.mediafire.com/?g4mfv432lzk2pj0
And some screenshots to go along with it: http://imgur.com/a/7Eq48
Enjoy!!! I will update with the Linux version tomorrow
- Sil3ntKi11
Very nice!
Sent from my SCH-I535 using xda premium
Shouldn't this be in the dev section?
jellydroid13 said:
Shouldn't this be in the dev section?
Click to expand...
Click to collapse
It could be but here is the problem i see...
all current root methods that work for ics will no longer work for jellybean. so when the jb ota drops this will be kind of null and void. not saying you couldnt odin back to a ics build then root and upgrade back to jellybeans, but thats alot of extra steps. the best method imo is to odin mr.robinson's pre rooted stock j1 update.
droidstyle said:
It could be but here is the problem i see...
all current root methods that work for ics will no longer work for jellybean. so when the jb ota drops this will be kind of null and void. not saying you couldnt odin back to a ics build then root and upgrade back to jellybeans, but thats alot of extra steps. the best method imo is to odin mr.robinson's pre rooted stock j1 update.
Click to expand...
Click to collapse
Yeah, I know that. But within a few days a new method will be up and I will update it! If someone finds it useful, then great! When the 4.1 root method (non-odin) is out, then I will put that up!
But yeah, most people after updating won't need this
Will this raise the flash counter?
I can compile the qt app on Mac if you get me the source.
Sent from my SCH-I535 using xda app-developers app
alquimista said:
I can compile the qt app on Mac if you get me the source.
Sent from my SCH-I535 using xda app-developers app
Click to expand...
Click to collapse
Here's the source attached. Also, if you could send me a link to a copy of adb for mac (just the executable) that would be awesome!
ahfu25 said:
Will this raise the flash counter?
Click to expand...
Click to collapse
To be completely honest I am not sure. I have no triangle on my phone. If it does, you can use:
http://forum.xda-developers.com/showthread.php?t=1494114
To reset your counter I believe. Does someone else want to weigh in on this?
sil3ntki11 said:
Here's the source attached. Also, if you could send me a link to a copy of adb for mac (just the executable) that would be awesome!
Click to expand...
Click to collapse
Here are the most useful binaries from the Android SDK for Mac. Included in tarball:
aapt
adb
aidl
dexdump
dx
I'll try and get the Mac qt build up later tonight.
Ta,
ALQI
I'm having problems compiling on my laptop.
I keep getting the error that my version of OS X isn't supported. I'm on 10.7.4, should I be on 10.6 or something?
Anyway, I have an app built, but the bundle doesn't look right. It doesn't contain any of the root tools, and the main executable is way too small.
I don't want to post it here, cause I doubt its functional.
It looks nice though!
alquimista said:
I'm having problems compiling on my laptop.
I keep getting the error that my version of OS X isn't supported. I'm on 10.7.4, should I be on 10.6 or something?
Anyway, I have an app built, but the bundle doesn't look right. It doesn't contain any of the root tools, and the main executable is way too small.
I don't want to post it here, cause I doubt its functional.
It looks nice though!
Click to expand...
Click to collapse
Hey! Thanks for trying! So I used Qt version 4.8.3, the open source SDK. You need three libraries to run the app, QtCore4, QtGui4, and QtWebKit4. They have to be in the same folder as the executable if Qt isn't in your Path. The root tools are in there, "debugfs", "debugfsinput" and "su" and "Superuser.apk". I didn't include the Mac adb tool, as I couldn't get it. That should be named adbmac and be put in the tools/ folder of where the executable lies.
I have changed the source to make this customizable for anyone's root methods, if you look here:
http://forum.xda-developers.com/showthread.php?t=2000988
Here is cleaner source attached, basically the same. So, in order to get this work:
Build the code
Find the folder it was built into (please use release, not debug)
In that folder, find the executable. This is the main folder
Copy the /root, /tools, /html, /device folders that are in the zip into the main directory where the executable is.
Copy your OSX's adb into /tools and rename it adbmac
Make sure Qt is in the PATH variable, if not you need
QtCore4, QtGui4, and QtWebKit4 in the same folder as the executable
For others to use it, they need those libraries in there, or else they will need to have Qt installed
You can statically link the libraries if you so desire but I didn't want to deal with that.
sil3ntki11 said:
Hey! Thanks for trying! So I used Qt version 4.8.3, the open source SDK. You need three libraries to run the app, QtCore4, QtGui4, and QtWebKit4. They have to be in the same folder as the executable if Qt isn't in your Path. The root tools are in there, "debugfs", "debugfsinput" and "su" and "Superuser.apk". I didn't include the Mac adb tool, as I couldn't get it. That should be named adbmac and be put in the tools/ folder of where the executable lies.
I have changed the source to make this customizable for anyone's root methods, if you look here:
http://forum.xda-developers.com/showthread.php?t=2000988
Here is cleaner source attached, basically the same. So, in order to get this work:
[/LIST]
Click to expand...
Click to collapse
Ah, that's my problem. I'm still on Qt 4.7 cause the QtADB tool requires the 4.7 libraries. I can update to 4.8 , but it will take a while cause Macs are dumber than Linux.
Question, can't we roll the libraries into the app itself? I know Avid MediaComposer 6 and up have Qt pretty much rolled into the app to run all of the GUI, they even use some python to run some of the GUI for them (its crap for code but its better than FCP X). I'll look into it while I'm waiting for Qt 4.8 to download and install.
I'll keep you updated.
Ta,
ALQI
tplawi then
alquimista said:
Ah, that's my problem. I'm still on Qt 4.7 cause the QtADB tool requires the 4.7 libraries. I can update to 4.8 , but it will take a while cause Macs are dumber than Linux.
Question, can't we roll the libraries into the app itself? I know Avid MediaComposer 6 and up have Qt pretty much rolled into the app to run all of the GUI, they even use some python to run some of the GUI for them (its crap for code but its better than FCP X). I'll look into it while I'm waiting for Qt 4.8 to download and install.
I'll keep you updated.
Ta,
ALQI
Click to expand...
Click to collapse
Hey! Thanks for the effort. So I actually got a VMWare image of Mac OSX Lion going on my machine and got it to compile. What you are referring to is called static linking and can definitely be done, I just have to compile from source with the -static argument. I'm trying to decide if I should not use WebKit for my GUI as that is the only library that is quite large. I'm going to compile it statically and see how big it is. I might put this up on a private GitHub repo if you want to help work on it.
My idea is that this can be used by anyone to make other root packages. If you noticed in the other thread I sent you, I basically have a very simple custom batch language for them to create for the root method and the rest is taken care by the program. This way it won't discourage people and we can have a one click root truly. Let me know if you want to help me improve it!
Okay this is REALLY freakin' irritating!!
I have been itching to cook up my own ROM in the kitchen...BUT I CAN'T EVEN USE IT!
I have tried installing it, multiple times (deleting everything each time to start fresh), and follow all instructions to the "T", and every single time I open Cygwin (after putting in the kitchen and renaming it) and "cd kitchen" enter "./menu", it always comes up saying "Error: The application 'gcc' is not installed - the kitchen will not function properly without it. Ensure you did not miss a step during installation! Refer to the Android Kitchen FAQ...", etc. (I could swear it installed devel > gcc when I installed Cygwin. Even used the Install all option and stuff...)
Checked out the FAQ and everything, but I still can't find it! Everything I try just doesn't work! Can someone please help?? (thank you)
R: [Q] Android Kitchen "gcc not installed" error
Thats weird.....u on ubuntu? As far a s i remember i never had to install gcc it was already there....but i could be wrong.
Uninstall gcc. Go get it from official repo, retry. If it doesn't work this is more of a question for ubuntu forums theyll get anything working on a pc.
Sent from my GT-I9300 using xda app-developers app
Haha, actually I'm using Windows XP Professional. (Though I do have it dual-booted with Zorin OS...)
Yeah and uh...I'm not sure how you would directly uninstall gcc either...
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
R: [Q] Android Kitchen "gcc not installed" error
Wait.....what? Isnt zorin based off ubuntu? Why dont u install android kitchen stuff there?
Sent from my GT-I9300 using xda app-developers app
killbubble said:
Wait.....what? Isnt zorin based off ubuntu? Why dont u install android kitchen stuff there?
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Well, yes. It is.... I just figured it would be a lot more convenient to do everything on Windows instead.
There are times when it seems like things that were designed for Ubuntu don't really seem to work on the zorin distro. In this case, it probably will. I'm not really sure why I can't effectively connect to my phone though when in Zorin...maybe because there is a Kies for linux? I dunno...
I suppose I could try to install it though.
But anyways, more to the point! If cygwin/android kitchen was designed to also work in Windows XP/Vista/7, then why am I getting this error, and how do I fix it?
R: [Q] Android Kitchen "gcc not installed" error
Thats why i use kubuntu. Though i can't answer your question, i do know ubuntu and windows hate each other, getting that stuff to work is gonna probab be a pain.
If zorin has got problems try emulating a small os (so u dont waste too much time) based off linux (lucid puppy linux) and see if that works.
I wouldve thought people would also be modding android stuff directly on windows rather than emulating ubuntu stuff...after all android is open source.
Sent from my GT-I9300 using xda app-developers app
killbubble said:
Thats why i use kubuntu. Though i can't answer your question, i do know ubuntu and windows hate each other, getting that stuff to work is gonna probab be a pain.
If zorin has got problems try emulating a small os (so u dont waste too much time) based off linux (lucid puppy linux) and see if that works.
I wouldve thought people would also be modding android stuff directly on windows rather than emulating ubuntu stuff...after all android is open source.
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Okay. Thanks for your suggestions. I may try and either do it on zorin, or repartition with kubuntu or something.
Too bad I can't do it in Windows...
Yeah, it's dumb that we still can't directly modify Android from Windows and have to use Linux. Well, actually, not as much "dumb" as inconvenient. Linux is free, yet it's different. I think we should be able to do it anywhere due to Android being open source.
Oh well... I don't understand why no-one else is having this problem. They have the guides for it on here (beginner's guides to making ROMs and stuff like that), and it seems as though nobody else has had this problem...or nobody even uses Windows. orz
Hopefully someone else will attempt to answer my question. thanks though. <
R: [Q] Android Kitchen "gcc not installed" error
well many developers are also pc fanatics and experiment new oses and grow to like open soyrce/free ones more than windows. many java devs use linux oses. Thats how devs roll. I use c and i like windows so i do it all in windows, but i know the editor/debugging programs are better on ubuntu than those available for windows....still....windows is...too much to shut down at times...
Sent from my GT-I9300 using xda app-developers app
killbubble said:
well many developers are also pc fanatics and experiment new oses and grow to like open soyrce/free ones more than windows. many java devs use linux oses. Thats how devs roll. I use c and i like windows so i do it all in windows, but i know the editor/debugging programs are better on ubuntu than those available for windows....still....windows is...too much to shut down at times...
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
You're probably right. I'm sure I'll be able to get used to it eventually, when I become a full developer. For now though, it's the learning curve. XD
Haha, yeah. That's good though. Windows is definitely enjoyable. (though I can't say much for W8. Ugh.)
So uh, I guess the Android Kitchen definitely works here in Zorin. Went to the menu without any problems. Funny still how it doesn't work in Windows....
You know, I'd probably have just skipped the whole kitchen thing and gone straight to development from source...but I'm not running on a x64 system, and therefore can't work on ICS and JB. :c
Soon though...very soon I will have all the parts to build my new computer, and not have to use this low-power laptop. >m>
Ascyndaeon said:
Okay this is REALLY freakin' irritating!!
I have been itching to cook up my own ROM in the kitchen...BUT I CAN'T EVEN USE IT!
I have tried installing it, multiple times (deleting everything each time to start fresh), and follow all instructions to the "T", and every single time I open Cygwin (after putting in the kitchen and renaming it) and "cd kitchen" enter "./menu", it always comes up saying "Error: The application 'gcc' is not installed - the kitchen will not function properly without it. Ensure you did not miss a step during installation! Refer to the Android Kitchen FAQ...", etc. (I could swear it installed devel > gcc when I installed Cygwin. Even used the Install all option and stuff...)
Checked out the FAQ and everything, but I still can't find it! Everything I try just doesn't work! Can someone please help?? (thank you)
Click to expand...
Click to collapse
My ERROR like ur ERROR.!
What should I do????
moj.enjoy said:
My ERROR like ur ERROR.!
What should I do????
Click to expand...
Click to collapse
Well, if I could go back in time 3 years I would be able to try and help you...I just tried it on Windows 10 here and everything works.
So, follow the instructions as far as even the cygwin_install.txt they provided. You should make sure you install /just/ the gcc-core and gcc-g++ when it tells you to tick the gcc (do not get the "cygwin gcc", idk if that did it, but just get the normal gcc). Follow all the others as well; far as I could tell the linux-util wasn't actually in utils (core instead I think?) but was already ticked, so don't worry about it unless it isn't.
After everything is done, make sure java is good to go and all, and cd to the kitchen location (just put the files in a new file, C:/kitchen/) and change directory to that. Then do the ./menu and it should work....
Also don't bump super old posts, not good. c: Either way I hope this helps. Real simple.
I really have no use for the kitchen anymore, since my GS3 gets CM nightlies (up to marshmallow? Wat!) and I have a Nexus 5X anyway so it's all gucci. But either way...yeah. It works to my knowledge.
Cheers~
(admin close thread nao? or can I do that...)
Ascyndaeon said:
Well, if I could go back in time 3 years I would be able to try and help you...I just tried it on Windows 10 here and everything works.
So, follow the instructions as far as even the cygwin_install.txt they provided. You should make sure you install /just/ the gcc-core and gcc-g++ when it tells you to tick the gcc (do not get the "cygwin gcc", idk if that did it, but just get the normal gcc). Follow all the others as well; far as I could tell the linux-util wasn't actually in utils (core instead I think?) but was already ticked, so don't worry about it unless it isn't.
After everything is done, make sure java is good to go and all, and cd to the kitchen location (just put the files in a new file, C:/kitchen/) and change directory to that. Then do the ./menu and it should work....
Also don't bump super old posts, not good. c: Either way I hope this helps. Real simple.
I really have no use for the kitchen anymore, since my GS3 gets CM nightlies (up to marshmallow? Wat!) and I have a Nexus 5X anyway so it's all gucci. But either way...yeah. It works to my knowledge.
Cheers~
(admin close thread nao? or can I do that...)
Click to expand...
Click to collapse
before ur comment
I found my answer with try and try..!!:laugh:
just setup cygwin again and saearch(gcc) and enable to install.
next ,another error and ...
THX for ur comment.
by the way how to create custom recovery for galaxy?
I'm glad to hear it's working for you! Hope you have great fun with it like I did. ^-^
And for the custom recovery...I say it's not really worth it unless you're really serious and can code. Not sure myself how one would make such a thing that has that access, you probably should ask somebody who's actually made them. Otherwise I strongly recommend either Team Win Recovery Project or ClockworkMod. (I use ClockworkMod, but most say twrp is better)
^-^
Hello Xda, i own a ZTE midnight and just a few hours ago rooted it and would like to help port CWM to my device, i was looking at this https://www.facebook.com/ClockworkMod/posts/480999728601013 and wanted to start from there but i dont know how to extract the stock recovery, any help? like i said its already rooted and i think that All ZTE devices have unlocked bootloaders so this is possible. yes i have googled it please dont bark at me.
Hi trozzul,
I too want to port it to cwm but am also not able to extract my stock recovery.
Have you tried flashify? There is an option for backup boot.img and recovery.img . I tried it but doesn't seems to work.
It does create a 0 byte file named recovery.img . Maybe it isn't working on my phone.You try it on yours.
Thankx
Yuvraj
Sent from my iris 406Q using XDA Free mobile app
coder32 said:
Hi trozzul,
I too want to port it to cwm but am also not able to extract my stock recovery.
Have you tried flashify? There is an option for backup boot.img and recovery.img . I tried it but doesn't seems to work.
It does create a 0 byte file named recovery.img . Maybe it isn't working on my phone.You try it on yours.
Thankx
Yuvraj
Sent from my iris 406Q using XDA Free mobile app
Click to expand...
Click to collapse
i sorta found out myself with playing around in a terminal emulator. would you happen to know what partition your phone is? BML or MTD? i dont know what todo if your device is BML but if you think its MTD you can try in the terminal emulator app (from play market) type in
Code:
cat /proc/mtd
enter this in and you will see around 20 MTD files. find the MTD file with "Recovery" at the end, type this in for instance (DO NOT use this code, its what my device showed the Recovery MTD for.)
Code:
dd if=/dev/mtd/mtd12 of=/sdcard/recovery.img
and it will push your recovery to your SD card (in .img format), Pretty much say your recovery was MTD9 just put in that code but replace mtd12 with MTD9 mine was about 5MB i didn't know they were that small.
Trozzul said:
Hello Xda, i own a ZTE midnight and just a few hours ago rooted it and would like to help port CWM to my device, i was looking at this https://www.facebook.com/ClockworkMod/posts/480999728601013 and wanted to start from there but i dont know how to extract the stock recovery, any help? like i said its already rooted and i think that All ZTE devices have unlocked bootloaders so this is possible. yes i have googled it please dont bark at me.
Click to expand...
Click to collapse
To extract your stock recovery what you can do is the following to determine which partition is the recovery partition. From terminal emulator or adb shell, go to the /cache/recovery directory and look for a file called log or last_log if you cd into the /cache/recovery directory you can read the log file with the cat command: cat last_log. In the log file you will see a list of the partitions on your device. One of these will be your recovery partition, remember which partition block is your recovery partition and then run the command:
Code:
cat /dev/block/yourrecoveryblock > /mnt/sdcard/recovery.img
Let me know if you still have questions.
I had already tried it .it's BML :/
Congrates to you
Sent from my iris 406Q using XDA Free mobile app
shimp208 said:
To extract your stock recovery what you can do is the following to determine which partition is the recovery partition. From terminal emulator or adb shell, go to the /cache/recovery directory and look for a file called log or last_log if you cd into the /cache/recovery directory you can read the log file with the cat command: cat last_log. In the log file you will see a list of the partitions on your device. One of these will be your recovery partition, remember which partition block is your recovery partition and then run the command:
Code:
cat /dev/block/yourrecoveryblock > /mnt/sdcard/recovery.img
Let me know if you still have questions.
Click to expand...
Click to collapse
thanks for the info! i got the Recovery.img but would you happen to know if this site is not in use anymore? http://builder.clockworkmod.com/ i get 404s after i have uploaded it and i try to see mine in the que.
Trozzul said:
thanks for the info! i got the Recovery.img but would you happen to know if this site is not in use anymore? http://builder.clockworkmod.com/ i get 404s after i have uploaded it and i try to see mine in the que.
Click to expand...
Click to collapse
Clockworkmod recovery builder website has been hit and miss recently. Overall I would strongly recommend taking a look at this guide here that will teach you the basics of porting Clockworkmod Recovery to a new device, you will also learn a lot more doing it this way, as well as it being easier to fix any issues.
shimp208 said:
Clockworkmod recovery builder website has been hit and miss recently. Overall I would strongly recommend taking a look at this guide here that will teach you the basics of porting Clockworkmod Recovery to a new device, you will also learn a lot more doing it this way, as well as it being easier to fix any issues.
Click to expand...
Click to collapse
i have to use Ubuntu? could i not use the command prompt since the codes looks like you can use them there. Could i format one of my old computers and setup Ubuntu there?
Trozzul said:
i have to use Ubuntu? could i not use the command prompt since the codes looks like you can use them there. Could i format one of my old computers and setup Ubuntu there?
Click to expand...
Click to collapse
You have to use Linux or OSX but Ubuntu is highly recommended. You can't use command prompt as the Windows architecture isn't designed to build and cross compile for the architecture Android is based on. Yes, you could format your old computer and install Ubuntu on that and proceed from there.
Sent from my SCH-I535 using XDA Premium 4 mobile app
shimp208 said:
You have to use Linux or OSX but Ubuntu is highly recommended. You can't use command prompt as the Windows architecture isn't designed to build and cross compile for the architecture Android is based on. Yes, you could format your old computer and install Ubuntu on that and proceed from there.
Sent from my SCH-I535 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Cool, i will try my best to figure out how to get Ubuntu on this old thing, from looking it up looks like a simple process. could you recommend a good way to learn some basic commands like that guide asks for? i am using codecademy right now for some basic java and html stuff i know you need to know some of that stuff. its a single core 512mb of ram old XP computer, i dont know the system requirements for Ubuntu.
Trozzul said:
Cool, i will try my best to figure out how to get Ubuntu on this old thing, from looking it up looks like a simple process. could you recommend a good way to learn some basic commands like that guide asks for? i am using codecademy right now for some basic java and html stuff i know you need to know some of that stuff. its a single core 512mb of ram old XP computer, i dont know the system requirements for Ubuntu.
Click to expand...
Click to collapse
Your machine meets the minimum specs for Ubuntu (Barley) you could also check out Xbuntu or Lubuntu as well, make sure you use a 64-bit version as Android building requires that. Keep in mind with those specs you should be able to build it will just take a while to compile. For learning the basics of the Linux command line, this is a great guide just ignore the parts about Windows Power Shell (Or don't ignore them and learn twice as much!). The system requirements for Ubuntu can be found here as well for your reference. Android building does't really deal with HTML, it does deal with Java but as always the more you know the better because it just makes it easier to learn from there.
shimp208 said:
Your machine meets the minimum specs for Ubuntu (Barley) you could also check out Xbuntu or Lubuntu as well, make sure you use a 64-bit version as Android building requires that. Keep in mind with those specs you should be able to build it will just take a while to compile. For learning the basics of the Linux command line, this is a great guide just ignore the parts about Windows Power Shell (Or don't ignore them and learn twice as much!). The system requirements for Ubuntu can be found here as well for your reference. Android building does't really deal with HTML, it does deal with Java but as always the more you know the better because it just makes it easier to learn from there.
Click to expand...
Click to collapse
im pretty sure that computer i have is 32bit, so im screwed?
Trozzul said:
im pretty sure that computer i have is 32bit, so im screwed?
Click to expand...
Click to collapse
Is the operating system installed 32-bit or is the the CPU itself in your computer a 32-bit processor because if it's just a 32 -bit operating system you can still install the 64-bit version. But if it's a 32-bit processor then I'm afraid your out of luck. What you can do however is setup Ubuntu in a virtual machine on your main computer using Virtualbox.
shimp208 said:
Is the operating system installed 32-bit or is the the CPU itself in your computer a 32-bit processor because if it's just a 32 -bit operating system you can still install the 64-bit version. But if it's a 32-bit processor then I'm afraid your out of luck. What you can do however is setup Ubuntu in a virtual machine on your main computer using Virtualbox.
Click to expand...
Click to collapse
i was aware of the virtual machine ( still dont know how to do it lol) and i sorta didnt want to use it on my main computer i feel like to me it would be easier to just start linux on another computer. uh how would i tell if the processor on it is 32bit?
Trozzul said:
i was aware of the virtual machine ( still dont know how to do it lol) and i sorta didnt want to use it on my main computer i feel like to me it would be easier to just start linux on another computer. uh how would i tell if the processor on it is 32bit?
Click to expand...
Click to collapse
With Virtualbox you can setup Windows and Linux side-by-side and the good thing is if you mess something up in Virtualbox you regular windows installation is unaffected, I would highly recommend checking out this video walk though guide on how to install Ubuntu 14.04 LTS in Virtualbox. You can find out if you have a 32-bit processor or 64-bit processor by going to Accessories -> System Tools -> System Information (Or just search for System Information), then look at the System Type entry if it says x64-based PC you have a 64-bit processor if it says x86-based PC you have a 32-bit processor.
shimp208 said:
With Virtualbox you can setup Windows and Linux side-by-side and the good thing is if you mess something up in Virtualbox you regular windows installation is unaffected, I would highly recommend checking out this video walk though guide on how to install Ubuntu 14.04 LTS in Virtualbox. You can find out if you have a 32-bit processor or 64-bit processor by going to Accessories -> System Tools -> System Information (Or just search for System Information), then look at the System Type entry if it says x64-based PC you have a 64-bit processor if it says x86-based PC you have a 32-bit processor.
Click to expand...
Click to collapse
ill try to post back soon, i will try out virtualbox but im going to try to still get ubuntu on another computer i own, the other one ended up being x86 based. im sure the new one is 64-bit but it needs some work on it. thanks for the help so far!
Trozzul said:
ill try to post back soon, i will try out virtualbox but im going to try to still get ubuntu on another computer i own, the other one ended up being x86 based. im sure the new one is 64-bit but it needs some work on it. thanks for the help so far!
Click to expand...
Click to collapse
No problem buddy happy to help out, let me know how it goes!
shimp208 said:
No problem buddy happy to help out, let me know how it goes!
Click to expand...
Click to collapse
alright installed Ubuntu on one of my many computers, gonna try to build a setup a build environment, i have 75 gigs free on my hard drive, i heard the android source needs 100GB? could i put another hard drive in my computer thats 80gigs and would work?
Trozzul said:
alright installed Ubuntu on one of my many computers, gonna try to build a setup a build environment, i have 75 gigs free on my hard drive, i heard the android source needs 100GB? could i put another hard drive in my computer thats 80gigs and would work?
Click to expand...
Click to collapse
My apologizes for getting back to you so late @Trozzul I just finished with my finals the other day and didn't get home till much latter then anticipated hence the delay. While you could put in another 80 GB hard drive I would recommend picking up at least a 250 GB Hard Drive (They can be found online for about $30-$40), as that way you can be sure you won't run out of room and can have your main build environment all on one drive. But you can try it with the setup you have now and you can probably get away with it. As always let me know of any questions you have happy to help :highfive:.