Working Linux support for the PH-1 - Essential Phone Guides, News, & Discussion

PHP:
https://androideputies.com/2016/12/11/linux-update-adb-fastboot-to-the-latest-version/
adb version should show 1.0.40
adb and flashboot both work. Tested on Ubuntu 16.04
Otherwise the adb abd fastboot versions are too old.

@dvdivx if you think people aren't smart enough to figure out all of this, then you should be sending them instead to the site to read about this. You know, educating the geeks, not just handing them a link to download is all.
1. Everyone should check with your Distro first to set it up, to make things a little simpler for yourself.
2. Then check out Android's site for any information you may want to read.
https://developer.android.com/studio/releases/platform-tools
Most Distros already have the android-sdk-platform-tools...
android-sdk-platform-tools are available to download through the Ubuntu Repos...
Arch Linux also has the android-sdk-platform-tools
Again, check with your distro! Besides installing, you need to run them as root, and have your bash profile for root set, or whichever shell you are using, to the /path you installed them at as an example; export PATH=$PATH:/home/foo/Build/platform-tools

DoR3M3 said:
@dvdivx if you think people aren't smart enough to figure out all of this, then you should be sending them instead to the site to read about this. You know, educating the geeks, not just handing them a link to download is all.
1. Everyone should check with your Distro first to set it up, to make things a little simpler for yourself.
2. Then check out Android's site for any information you may want to read.
https://developer.android.com/studio/releases/platform-tools
Most Distros already have the android-sdk-platform-tools...
android-sdk-platform-tools are available to download through the Ubuntu Repos...
Arch Linux also has the android-sdk-platform-tools
Again, check with your distro! Besides installing, you need to run them as root, and have your bash profile for root set, or whichever shell you are using, to the /path you installed them at as an example; export PATH=$PATH:/home/foo/Build/platform-tools
Click to expand...
Click to collapse
If you use the adb and fastboot from the distro IT WONT WORK. That's why I posted this. The versions in distros are too old. This is from the current Android 9 from Google's SDK.

You're saying distro(s) but you mentioned you tested on Ubuntu, so is this Ubuntu you are talking about or distros in General? Because not all distros are outdated... This is why I did say to "Check with your distro". Sure some might be outdated, but certainly all of them are not.
As an example Arch Linux has the latest version;
https://aur.archlinux.org/packages/android-sdk-platform-tools/
And the truth is, any decent distro with a decent package maintainer is going to keep this updated!
A lot of maintainers in distros are also slow to update certain things, it doesn't mean it's not going to be at some point in time. But to make sure, it's always best to contact them, and since you use Ubuntu and you brought this up, you should contact them;
https://packages.ubuntu.com/bionic/android-sdk-platform-tools

dvdivx said:
If you use the adb and fastboot from the distro IT WONT WORK. That's why I posted this. The versions in distros are too old. This is from the current Android 9 from Google's SDK.
Click to expand...
Click to collapse
and the site you linked to is downloading from Google's servers.
all you need to do is go here
https://developer.android.com/studio/releases/platform-tools

munchy_cool said:
and the site you linked to is downloading from Google's servers.
all you need to do is go here
https://developer.android.com/studio/releases/platform-tools
Click to expand...
Click to collapse
You might want to have a look at that Android URL you posted, click on SDK Platform-Tools for Linux, and then edit your post over... LOL
Might want to check your glasses too, I already mentioned it.

DoR3M3 said:
Might want to check your glasses too, I already mentioned it.
Click to expand...
Click to collapse
and you might want to come and get my glasses checked if you have an issue with them.

munchy_cool said:
and you might want to come and get my glasses checked if you have an issue with them.
Click to expand...
Click to collapse
Hey I'm just playing around, since you didn't notice, that Google link is the download link...
Peace

DoR3M3 said:
Hey I'm just playing around, since you didn't notice, that Google link is the download link...
Peace
Click to expand...
Click to collapse
please make a neutral joke, because I do actually wear glasses and that came across as you calling me blind. No hard feelings.
:highfive:

munchy_cool said:
please make a neutral joke, because I do actually wear glasses and that came across as you calling me blind. No hard feelings.
:highfive:
Click to expand...
Click to collapse
No I wouldn't pick on anyone wearing glasses, it was all in harmless fun...
Hey I always thought the Glasses Joke, was the go to joke in situations like this.
Can't think of anything Neutral, ahhh, maybe the Mustang is stuck in Neutral? Ok I hope ya liked that one...
Cheers

DoR3M3 said:
No I wouldn't pick on anyone wearing glasses, it was all in harmless fun...
Hey I always thought the Glasses Joke, was the go to joke in situations like this.
Can't think of anything Neutral, ahhh, maybe the Mustang is stuck in Neutral? Ok I hope ya liked that one...
Cheers
Click to expand...
Click to collapse
haha ..:highfive:

Related

PlugApps Linux from PlugApps.com on Gtab (and yes Nvidia, this is Harmony)

I have PlugApps Linux from PlugApps.com up on Gtab.
http://whichf.in/gerCVoC8U.jpg
Oh, and Nvidia, stop telling us this is not Harmony.
how ? could you please post detailed instructions?
maybe this:
http://plugapps.com/index.php5/PlugApps_Android_Chroot
?
mindwave said:
maybe this:
http://plugapps.com/index.php5/PlugApps_Android_Chroot
?
Click to expand...
Click to collapse
Did not work for me. Errors out during first command...
Funny, I had not seen that post when I did what I did but it would have greatly eased my work.
If you PM me with your credentials I will consider releasing my work to you as it is potentially harmful to your device.
Lots of people are willing to post risky half functional solutions to the general public, I am not.
slysecretspy said:
Funny, I had not seen that post when I did what I did but it would have greatly eased my work.
If you PM me with your credentials I will consider releasing my work to you as it is potentially harmful to your device.
Lots of people are willing to post risky half functional solutions to the general public, I am not.
Click to expand...
Click to collapse
If you are going to "announce" your accomplishment, then you should also release the details to others that want to try. You can first outline the risks, and warn of the possible bad results. That is what all of the other mod builders do.
I want to get Linux on my tablet too. But it appears that it is only a terminal based install, and no Xserver is installed. This should be pointed out to people too.
I also have a SheevaPlug, with the original Ubuntu install on it, so I am familiar with using SSH to access it. I did not want to try installing the Plugapps version of ArchLinux on it because of problems that I had with installing ArchLinux on my netbook. It is not very user-friendly, and I am a very experienced Linux person.

[DEV][Bash] android_bash: Bash, cross-compiled and modified for the android platform.

android_bash
If you don't know what Bash is, search Google instead of asking that here. Thanks!
This is primarily useful to anyone who spends a fair amount of time either in adb or in a terminal.
To quote the README at github:
#
# android_bash
#
# 2011 nubecoder
# www.nubecoder.com/
#
Project info:
Bash, cross-compiled and modified for the android platform.
Modifications include:
Adjusted path of init files (.bashrc, .profile, etc) from '~/' to '/data/local/'.
Added support for storing init files on '/mnt/sdcard/' (only used when the files do not exist in '/data/local/').
Some default init files are included as (working) examples.
Stripped for size (args used for stripping: '-d --strip-unneeded').
Zips that can be installed via a custom recovery can be found here:
http://www.nubecoder.com/files/android/android_bash/​
Three versions of Bash, 3.2, 4.0, and 4.1 (I couldn't get 4.2 to build).
The recovery install-able zips linked above DO NOT replace the default shell.To use after installed, log onto adb or a terminal emulator and type 'bash' or 'su -c bash' (for root) and hit enter.​Now enjoy a real shell on your phone!
These files will be installed onto your phone:
Binary file:/system/bin/bash​Support files:/system/etc/bash.bashrc
/system/etc/profile
/data/local/.bash_aliases
/data/local/.bashrc
/data/local/.inputrc
/data/local/.profile
Here's some more info on what these files are.
And here for .inputrc.​
After some testing, it seems the sdcard support needs to be fixed up a a bit.
.inputrc is not being looked for in '/mnt/sdcard' yet and '.bash_aliases' needs to be somewhere it can be "executable". Otherwise, it's contents should be moved into '.bashrc'
I'll fix up the '.inputrc' stuff and update with that later.
The sdcard support has been updated and is fully working for both .inputrc and .bash_aliases.
The support files include a decent set of configurations.
Here's a short list of some of them:
Colored prompt (red while root, green otherwise).
$HOME variable defined as '/data/local/' ('~/' now works).
Aliases for some busybox commands including adding '--color=auto' to 'ls' commands.
Allows use of CTRL+ARROW keys, correct DELETE functionality, etc.
$HISTFILE defined as '/mnt/sdcard/.bash_history'.​
Using Bash already and want to check which version it is? Run this in adb / terminal (requires busybox)
strings $(which bash) | grep "Bash version"​or
echo $BASH_VERSION​
Taken from my post here.
gremlyn1 said:
I do know bash, and I am happy to have it, but can you supply a brief run-down on the differences between the versions?
Click to expand...
Click to collapse
Honestly, I have no Idea, the biggest difference I know of is file size (v3.2 being the smallest).
The three versions here are fully patched and up to date, so there's a chance that there is minimal difference between them.
I opted to offer the three versions, since it's pretty easy to build (when it doesn't give errors).
If anyone has a request for an older version (for whatever reason) I'd be happy to build that as well (assuming there aren't errors).​
Bash as default shell:
If you know what you are doing and want to use bash as the default shell.
Then I shouldn't have to tell you how to replace '/system/bin/sh' with a symlink to '/system/bin/bash'.
And that you should back up the original sh binary.
And that adb in recovery is the only way to fix your shell if you mess it up.
I didn't need to say those things, since you know what you are doing, right? =]
I should add here, that some kernels will "not allow" Bash as default shell, and by that I mean they have "/sbin/sh" and "/bin/sh" (symlinks to busybox) that will be created on every boot and are earlier in PATH than "/system/bin/" (ie will be used if found first).DRockstar's Clean Kernel: /sbin/sh and PATH.
Rodderik's Genocide Kernel: /sbin/sh and PATH.​This means that your new symlink for "/system/sh" will never be used.
It also means, you really can't break your shell like I described above (which is a good thing).
You can point you're favorite Kernel developer to my little fix that allows Bash to be used as the default shell.
What the fix does is:
Checks to see if "/system/bin/sh" is symlinked to "/system/bin/bash".
Checks that "/system/bin/bash" is a file that exists.
Removes "/bin/sh" and "/sbin/sh" and symlinks them to "/system/bin/sh".​You could also put that little fix into an init.d script that has '/' mounted as RW.
(If I get around to doing this, maybe I'll add it to the packages.)​
These zips use generic mounting and should work on most devices that have a custom recovery.
There is a chance you may need to edit the PATH to get it properly working on your device. (See here for more info.)
The binaries can be used on any android (ARM) device.
Here's a link to the GitHub Project.
=]
Or you know explain to us a little more what bash is instead of being a jerk and telling us to use google.
Sent from my SPH-D700 using XDA Premium App
So what does this do? What's bash? Do I flash this with odin?
Sent from my SPH-D700 using XDA App
Xhyperion said:
Or you know explain to us a little more what bash is instead of being a jerk and telling us to use google.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
what he's telling you is that if you need to ask then you shouldn't be using it.. because you will break something and fill the forum up with questions.
i agree with him. google it and do research. for the record i have no idea what bash is. gonna google it
edit. googled and yeah.... looks like unless you program its useless for the rest of us. and if you do program you should know what it is already .. hence.. no bash for you
bash
Go forth and learn
bash?! on my android!? It appears so.
All we need is JDK to run on android and I can run a minecraft server off my phone ;D
I managed to get bash working once before, but only barely, and the process was unreliable. Thanks for making this so much easier
Sent from my SPH-D700 using XDA App
I've just been using the one for the old G1 for the past couple years, but I'll definitely give this one a try. I'm not even sure which version the one I've been using is based on.
nubecoder said:
android_bash
Note:: If you post here asking what this does, or what Bash is, I will be obligated to report you to a moderator and ask that your account be deleted.
(Here's a tip, search google instead of asking that here). Thanks.
Click to expand...
Click to collapse
^^^ Absolutely! There should be a test before you can post in dev. I'm nowhere near being a developer and I even know what bash is...
And holy ****, a real shell!! You rock!
I do know bash, and I am happy to have it, but can you supply a brief run-down on the differences between the versions?
Interesting, never thought this would happen lol. Good work nubecoder!
Interesting, good job.
Posted by Mr. Z's Epic 4G.
Xhyperion said:
Or you know explain to us a little more what bash is instead of being a jerk and telling us to use google.
Click to expand...
Click to collapse
Did you realize that the google link I put there is a direct search for "what is bash"?
Sorry for being a jerk and pointing people in the right direction to further their knowledge.
ps- It was 4:30 am and I wanted to get to bed, can't help if people are too lazy to click a link and read a little.
kos26 said:
So what does this do? What's bash? Do I flash this with odin?
Click to expand...
Click to collapse
[sarcasm]
Yes, flash this with Odin and your phone will instantly turn into a Galaxy Tab 10.1.
You will be amazed!
[/sarcasm] =]
JMMusic said:
I've just been using the one for the old G1 for the past couple years, but I'll definitely give this one a try. I'm not even sure which version the one I've been using is based on.
Click to expand...
Click to collapse
strings "Path/to/bash" | grep "Bash version"
^ That should tell you the version you are using.
gremlyn1 said:
I do know bash, and I am happy to have it, but can you supply a brief run-down on the differences between the versions?
Click to expand...
Click to collapse
Honestly, I have no Idea, the biggest difference I know of is file size (v3.2 being the smallest).
The reason I started this project is because I wanted to get the newest "up to date" version built and working for android.
That said, version 4.2 would simply not compile for me with any toolchain I attempted.
I could probably have tried to fix the errors that were being thrown during compile, but rather I decided to go the easy route (and just skip it).
The three versions here are fully patched and up to date, so there's a chance that there is minimal difference between them.
I opted to offer the three versions, since it's pretty easy to build (when it doesn't give errors).
If anyone has a request for an older version (for whatever reason) I'd be happy to build that as well (assuming there aren't errors).
The real benefit of these packages, is that they come with the init files, which allow for things like aliases.
The biggest thing for me was the CTRL+ARROW keys / DELETE fixes which are contained in ".inputrc".
With out ".inputrc" the DEL key sends the '~' character, which is quite annoying (to say the least).
Another big plus for me is '--color=auto' added to the ls commands, which makes viewing the listed files/folder so much nicer.
This is primarily useful to anyone who spends a fair amount of time either in adb or in a
terminal.
[edit]
I'll be testing out the sdcard support sometime tonight, if anything isn't working as expected I'll fix it and update the files.
[/edit]
=]
Xhyperion said:
Or you know explain to us a little more what bash is instead of being a jerk and telling us to use google.
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
kos26 said:
So what does this do? What's bash? Do I flash this with odin?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
It's sad that people like you 2 are permitted to even own a Smartphone or even lurk in these forums...
If you are hear its not to only get things done and explained down to the last T, DO SOMETHING FOR YOURSELF AND INVESTIGATE, LEARN AND HELP OTHER TO ACHIEVE A BETTER LEVEL OF UNDERSTANDING instead of standing in the sidelines wasting time and energy posting senseless things like these....
megabiteg said:
It's sad that people like you 2 are permitted to even own a Smartphone or even lurk in these forums...
If you are hear its not to only get things done and explained down to the last T, DO SOMETHING FOR YOURSELF AND INVESTIGATE, LEARN AND HELP OTHER TO ACHIEVE A BETTER LEVEL OF UNDERSTANDING instead of standing in the sidelines wasting time and energy posting senseless things like these....
Click to expand...
Click to collapse
lol, but this degree of knowledge isn't even average for a copy and paste Chef. let alone user's who just flash and bash (see what i did there?! lmao)
but seriously, I agree with you.
@nubecoder you shoulda just labeled this dev only that way the people that didn't know what they are doing with bash wouldn't have even bothered asking and then they wouldn't have thought you were a jerk
jbadboy2007 said:
@nubecoder you shoulda just labeled this dev only that way the people that didn't know what they are doing with bash wouldn't have even bothered asking and then they wouldn't have thought you were a jerk
Click to expand...
Click to collapse
Doesn't matter, they'd have still looked out of curiosity, and probbly asked anyway.
Posted by Mr. Z's Epic 4G.
megabiteg said:
It's sad that people like you 2 are permitted to even own a Smartphone or even lurk in these forums...
Click to expand...
Click to collapse
Actually, it's becoming impossble not to have a smart phone... this is like saying it's sad that these guys are allowed to purchase ink pens - in other words, that's an incredibly dumb thing for you to say
megabiteg said:
If you are hear its not to only get things done and explained down to the last T, DO SOMETHING FOR YOURSELF AND INVESTIGATE, LEARN AND HELP OTHER TO ACHIEVE A BETTER LEVEL OF UNDERSTANDING instead of standing in the sidelines wasting time and energy posting senseless things like these....
Click to expand...
Click to collapse
Take your own advice... start by learning the difference between hear and here, then take some time to ponder to logic of insulting the intelligence of another member when you make yourself sound uneducated in the process
Sent from my SPH-D700 using XDA App
Awesome contribution here. a quick question though.
According to OP, compiled binary should be compatible with all devices, however I'm concerned that the modifications to input.rc might end up in weird results on other devices. I plan on looking into it later when I get the chance, but any advice until then?
I'm on the sidekick 4g, and although I already have a working bash (from scattered sources through googling), I would much rather prefer this bash because of provided source code and documentation.
Also, @nubecoder if I can get this to work, would you mind if I made a flashable zip and guide/thread-post in the sk4g forum? I would give credit to you of course.
Thanks
Sent from my SGH-T839 using XDA App
OK everyone, let's not get off topic and insult people..
bc54 said:
According to OP, compiled binary should be compatible with all devices, however I'm concerned that the modifications to input.rc might end up in weird results on other devices. I plan on looking into it later when I get the chance, but any advice until then?
Click to expand...
Click to collapse
The .inputrc file came from my Ubuntu install. When I searched Google for a fix to the DELETE key problem, I found the fix was using an inputrc file.
After inspecting my Ubuntu's default file and comparing with the fixes I wanted, it seemed to be just what I needed (with a tiny bit extra that may not apply to android, but didn't seem to cause problems).
So I wouldn't expect any problems using it with other devices, but feel free to comment out anything you think you might not want (IIRC there are comments about what each setting is doing).
bc54 said:
I would much rather prefer this bash because of provided source code and documentation.
Click to expand...
Click to collapse
Another good reason for my project. There is very little info out there about what changes were made during the compile.
Using 'strings' I was able to determine that the available Bash binaries for android that I found, simply have "/sdcard/.profile" (or "/sdcard/.bash_profile" I can't specifically remember) unconditionally added to the end of the "list" of files to check for.
I had been using one I built doing exactly the same thing until I started the project.
I felt it'd be better to actually change the code to look in "/data/local/" and then check on "/sdcard/" if needed.
Also I forgot to mention a couple things in the OP about where it installs files (some go into "/system/etc/"), so I'll update that in a minute here.
bc54 said:
Also, @nubecoder if I can get this to work, would you mind if I made a flashable zip and guide/thread-post in the sk4g forum? I would give credit to you of course.
Click to expand...
Click to collapse
I always get to smile a little when this happens for a open source project.
Because it's really not needed to be asked, but it's nice when people are respectful (I do it myself whenever possible).
Yes feel free to use it however you like, and credit is always a nice addition.
=]

[Q] is it poss. to detect phone bugs with eclipse IDE

Was wondering since android is allot like linux if there was a way to see if a phone was ported in anyway and to make sure your phone transmissions went to where they was supposed to without any listening in or interception kinda like the whois option of linux
mjollnir2012 said:
Was wondering since android is allot like linux if there was a way to see if a phone was ported in anyway and to make sure your phone transmissions went to where they was supposed to without any listening in or interception kinda like the whois option of linux
Click to expand...
Click to collapse
Use a VPN.
Also you should use punctuation and grammar if you ever hope to get a response in the future.
MattyRad said:
Use a VPN.
Also you should use punctuation and grammar if you ever hope to get a response in the future.
Click to expand...
Click to collapse
Sorry, didn't realize grammar was an issue on xda. Thank you for your response though I really appreciate it. Was kinda hoping for more of a detailed response. I'm not a very educated person. Just about everythng i know is self taught. I'm not very familiar with VPNs though. Probably nothing that google cant figure out though
mjollnir2012 said:
Sorry, didn't realize grammar was an issue on xda. Thank you for your response though I really appreciate it. Was kinda hoping for more of a detailed response. I'm not a very educated person. Just about everythng i know is self taught. I'm not very familiar with VPNs though. Probably nothing that google cant figure out though
Click to expand...
Click to collapse
No problem, it was just hard to understand what you were asking. A VPN is a server your phone can connect to that will ensure secure and potentially encrypted traffic. The only problem is that it costs money to rent one, and setting up your own is pretty technical, but that doesn't mean you shouldn't try. There's plenty of guides online.
As for Linux, Android uses a modified Linux version that pretty much breaks all of its usefulness as a Linux machine. I recently tried to install native SSH and cron services for my phone and gave up because they weren't cooperating. If you want actual Linux utilities on your phone your best bet is to try and find an app that does it. Or you can get gritty with BusyBox.

Where to start in learning programming/android development?

Hey guys.
I'm really into Android and I love rooting and custom roms as much as the next guy. So much, in fact, that I'd like to start learning how it all works.
I'm not a noob to computing or android by any stretch of the imagination, but I AM a noob to programming and development.I'm very proficient with windows and can navigate my way around Ubuntu but when it comes to the terminal or command prompt, I'm lost. However, I'm usually able to follow instructions or type in basic ADB commands but most of the time I find myself wondering why these work the way they do and what they're actually accomplishing.
I have a good understanding of how the android operating system works but am clueless to what goes on under the hood. I know what a custom rom is and can flash it in recovery without problems but usually when I start throwing radios or kernels into the mix that's where things go wrong. These are the kinds of things I'd like to know how they work and what they do for Android, as well as how the file hierchy works, the android SDK, ROM building, and stuff like that.
So, I'd like to learn how to develop the things that people put up on this site. I have a very basic understanding of code and programming in general, so I pretty much need a gameplan on where to start in this endeavor. I'm guessing I need to learn a (or a few) programming languages, and I'm guessing I also need a basic understanding of the terminal in Windows or Linux. I have absolutely no idea where to start.
In the past, I've found video tutorials to be very helpful in learning software like Photoshop or After Effects. I'm more of a visual learner so I'm not sure how helpful a book or PDF would be to me. Lynda.com has been a very trusty sidekick and from what I've found they do have some basic training for Java and other popular languages, but their library for terminal/scripting languages or Android in general are both pretty scarce. If anyone could recommend a few resources on where I can get my foot in the door that would be greatly appreciated as hours of googling have left me ultimately fruitless.
All of the things I've listed above are just things I KNOW I'm going to need an understanding of to truly learn how android works. I realize that there are so many more things I'm going to need to grasp before I'm ready to start making ROMs or building apps. I'd like to know what all I need to learn and the best way to approach it and in what order makes the most sense. Please excuse the extensiveness of my post as well, I wanted to give a summary of all the things I know well and what I'm looking to learn. Any opinions or comments/suggestions are completely welcome, I'm humbly asking for your guys' help because I know you know what you're talking about.
Thanks a ton.
I'm pretty sure, there's a video tutorial on xda main site. Do a search, I'd link it but on phone
Sent from my evo using xda premium
gfunk0311 said:
I'm pretty sure, there's a video tutorial on xda main site. Do a search, I'd link it but on phone
Sent from my evo using xda premium
Click to expand...
Click to collapse
I'm having trouble finding any video guides other than small mod-type things. There's a bunch of links to forum posts but I'm not finding the one you're referring to.
If you get a chance I'd love to know the one you're talking about. Thanks!
here is nice tutorial
http://forum.xda-developers.com/showthread.php?t=1753131
renw0rp said:
here is nice tutorial
http://forum.xda-developers.com/showthread.php?t=1753131
Click to expand...
Click to collapse
That's a good one for specifically learning game development, but before I get that into it I want to gain a really good understanding of how android works and what all I need to learn.
snoshreddax21 said:
That's a good one for specifically learning game development, but before I get that into it I want to gain a really good understanding of how android works and what all I need to learn.
Click to expand...
Click to collapse
havent really had time to watch all of these, but perhaps this is a good starting point for you. theres a series of videos called "How to build an Android App part 1..."
http://www.youtube.com/user/xdadevelopers/videos?view=0
---------- Post added at 09:35 AM ---------- Previous post was at 09:07 AM ----------
http://forum.xda-developers.com/showthread.php?t=1661770
this is in the Android Software Development section of the forum. there may be a ton of useful threads but this is the first relevant one that came up
also, going start to the source is a good option
http://developer.android.com/training/index.html
Can anyone suggest a few things I need to become familiar with besides Java? And perhaps recommend a method of learning?
snoshreddax21 said:
Can anyone suggest a few things I need to become familiar with besides Java? And perhaps recommend a method of learning?
Click to expand...
Click to collapse
For learning Java, I would suggest "thinking in Java" by Bruce eckel. It is downloadable for free
Otherwise, getting a common Linux distro and learning your way around that, or osx if you use a Mac, will teach you a lot about the Unix file system and permissions and common commands. All of which are common with android
Best of luck
I've actually been asking the same question myself. I've learned C++ (A bit) took a class on it, did fairly well. But good to know someone else asked I had asked one of my buddies the same question and he had replied, telling me, I was asking too much of an ambiguous question. But either way, I'll start with the videos on this site. :laugh:
peg20 said:
For learning Java, I would suggest "thinking in Java" by Bruce eckel. It is downloadable for free
Otherwise, getting a common Linux distro and learning your way around that, or osx if you use a Mac, will teach you a lot about the Unix file system and permissions and common commands. All of which are common with android
Best of luck
Click to expand...
Click to collapse
I've had my share of experience with Ubuntu but when it comes to the Terminal I'm completely lost. Any suggestions on how to get started? I have no idea how it works or what commands do and that sort of stuff. I'd love to try it out but I just don't know where to begin.
snoshreddax21 said:
I've had my share of experience with Ubuntu but when it comes to the Terminal I'm completely lost. Any suggestions on how to get started? I have no idea how it works or what commands do and that sort of stuff. I'd love to try it out but I just don't know where to begin.
Click to expand...
Click to collapse
The best learning method is "trial and error", so if you are lost with the Terminal start doing a google search and you'll find many howtos.

ROM Development Guide?

Remember about a month ago when XDA came out with a book about rooting and flashing ROMs?
I was just wondering if there were any books (or guides maybe) like that, that showed how to make ROMs from scratch, not through all of these annoying kitchens. (Don't really like them, they make me feel like a noob... of course I suppose I am)
So whatever, that's really about it. Thanks guys!
(Oh by the way, I have tried Nero's ROM guide and wasn't a huge fan, also I'm getting another computer solely for the purpose of Ubuntu too if that matters at all.)
...subscribing, also just out of interest I'm trying out Lubuntu, Ubuntu 12.04 server too!
jdgfdqtuzs said:
...subscribing, also just out of interest I'm trying out Lubuntu, Ubuntu 12.04 server too!
Click to expand...
Click to collapse
Pretty awesome, never heard of Lubuntu before now. I'd consider it, but any recent tutorials I've looked at use Ubuntu. (Sadly though, they're ridiculous! For example, there was a post about compiling Jelly Bean from source code, and its practically not even in English! I mean I know some coding and all, but despite that, nothing is explained. It just do this like "do this and then do this and this and then we're done. An don't worry, there won't be a troubleshooting page because we know all you out there are experts.)
Whatever, that's my rant. Hopefully a mod will come along some time soon and point us in the right direction. Fingers crossed. :highfive:
thebeastglasser said:
Pretty awesome, never heard of Lubuntu before now. I'd consider it, but any recent tutorials I've looked at use Ubuntu. (Sadly though, they're ridiculous! For example, there was a post about compiling Jelly Bean from source code, and its practically not even in English! I mean I know some coding and all, but despite that, nothing is explained. It just do this like "do this and then do this and this and then we're done. An don't worry, there won't be a troubleshooting page because we know all you out there are experts.)
Whatever, that's my rant. Hopefully a mod will come along some time soon and point us in the right direction. Fingers crossed. :highfive:
Click to expand...
Click to collapse
Lubuntu is basically a lighter version of Ubuntu, still runs on the same principles as in version number etc. I understand your frustration with regards to where to find "how to" code, but, my view on tutorials is exactly that where aspects of what you're supposed to be doing are not explained. I think we need to be looking into another category for books, e.g. a coding practice used for android. See what happens
Yeah I suppose you're right. Off to Google/Amazon!
(of course if anyone sees this and would still like to post, by all means, do so!)
EDIT: After a god half an hour of searching, I think I finally found it. The problem is, you're gonna need $50 if you want to snag it.
http://www.amazon.com/Android-Foren...-Security/dp/1597496510/ref=cm_cr_dp_asin_lnk
It is by far the most in detail book I've seen. Just look at the overview of the chapters! It's just like what I was looking for! Woohoo!
Oh man $50. Hard being a broke student.
I would love to learn to. Anyone can tell me where to start? What languages i need to learn (java, linux, c++, etc)?
Any help will be greatly appreciated.
Sent from my rooted tomato using xda app
If your tomato just so happens to be running a version of android that can support the Kindle app, you can actually get it for about $40 too...
And while I'm not an expert in this field (in fact I really don't know too much) I do know that android uses java and converts it to another language using the dalvik machine. So if you really have no where to start, try learning some java.
thebeastglasser said:
If your tomato just so happens to be running a version of android that can support the Kindle app, you can actually get it for about $40 too...
And while I'm not an expert in this field (in fact I really don't know too much) I do know that android uses java and converts it to another language using the dalvik machine. So if you really have no where to start, try learning some java.
Click to expand...
Click to collapse
Offtopic: I think tomatoes dont taste good at all.
I'm a fan, but that's just me. (end of off topic conversation before a mod takes down the thread.)
thebeastglasser said:
I'm a fan, but that's just me. (end of off topic conversation before a mod takes down the thread.)
Click to expand...
Click to collapse
(nah I love this convo) I think theyre pretty sour.
Thanks
This is a great guide thanks
Thanks, good guide !
That book looks more related to security than anything else. Anything for development in particular?
If you look at the insides though, it shows how to create the internals, with step by step pieces. Chapter 7 (I think) also has 6 popular methods to obtain root access.
Look at the sneak peek and read the summaries of the chapters. It's definitely going on my Christmas list.
EDIT: As for anything solely for development, I have yet to find anything like that. Hence the reason for posting this thread.
Well, my tomato can support kindle.
Anyway, great thread. Hope someone who can help us reads this and decides to help us further.
Sent from my rooted tomato using xda app
Bump.
We still need support smart dev guys.
Sent from my PG86100 using xda app-developers app

Categories

Resources