yashsingh1/xdaforums huggingface dataset:
[Nexus One Android Development] britoso:
Thanks for the insight, Updated the OP to show EXT3
[Nexus One Android Development] crxtasi:
Thanks OP...confirmed working on Lox_Dev stock FRF85B with root :D
[Nexus One Android Development] crxtasi:
Ok i ran into a little snag in rebooting my phone and hope you guys can help me out. When I reboot my phone I go into a little boot loop on where the X stops competing itself. to complete my boot i go to command prompt and type "adb shell a2sd install" and then it completes the boot.

So when I tried to look for the problem I saw that im getting an error with

"fastboot flash boot boot.img"

sending 'boot' <2560 KB>... OKAY [0.380s]

writing 'boot'... INFOsigniture checking...

FAILED <remote: signiture verify fail>

finished. total time: 0.803s

I tried getting other boot.img from LeoFroyo (mediafire and from his ROM) and it still fails. Then I figure since its FRF85B I tried Kangs boot.img and still no go.

Really don't want to connect my phone to my comp to boot so any help would be appreciated on what I'm doing wrong.
[Nexus One Android Development] leonnib4:
So you're using a FRF85B framework.

I don't think the boot.img has to be different... but I'm building a new one just in case...

EDIT: http://www.multiupload.com/XF66ON2JS8
[Nexus One Android Development] britoso:
Looks like your download was corrupt, redownload and try.

The right size is 2336KB and not 2560KB

2392064 bytes = 2336 kilobytes
[Nexus One Android Development] kaiser_tytnii:
great post! will try it out and update

EDIT: boot loop on stock FRF85B ROM and Kernel...

p.s. rooted with locked bootloader...
[Nexus One Android Development] crxtasi:
britoso, leonnib4 I'm still getting the same error out of it, even the new one. I might go and just redo all my stuff from scratch and see if I did something wrong :D

yeah sorry that boot.img was from Kang 85B I was just testing it out and see if it worked
[Nexus One Android Development] I7redd:
"Locked Nexus One, Froyo FRF85B, Constrabus Root without Unlocking the Bootloader"

Hi crxtasi. I'm running the same 'locked' setup and getting the 'signature verify' error also, and tried both FRF83 and FRF85b with the same result.

So rooting N1 without unlocking bootloader seems the likely cause. Flashing other images with fastboot (i tried returning to stock recovery) had the same result aswell.

Maybe someone who knows the workings of the unlocking process can suggest how it might affect signature validation.

Cheers.
[Nexus One Android Development] britoso:
good catch, if your bootloader is locked you probably can only use official signed boot.img files... no apps2sd-ext
[Nexus One Android Development] crxtasi:
LOL I was beginning to suspect that too after wiping everything and loading Geo411m FRF85B coming from Lox_Dev FRF85B :D Very Good catch indeed... apps2sd would work only after using Command Prompt but that would useless if your phone reboots and your not near your computer :p

I wonder if there's another way of doing this... but thanks anyway britoso and leonnib4 for your guys help!! I guess its a waiting game again ;)
[Nexus One Android Development] I7redd:
Thanks. i'm kinda new to this. :)

Curious that trying stock recovery.img gave the same error. Isn't that offically signed?

So is flashing from fastboot somehow crippled without unlocking? Or besides update patches, is there another way to get a compatible boot image running?

Edit: flybyme has kindly suggested how to make an update.zip for the A2SD boot.img.

Will try this out and report back. (if someone else doesn't get there first)
[Nexus One Android Development] crxtasi:
I wonder if you can just make an update.zip with just the modified boot.img in it? that way all we have to do is flash it thru recovery :confused:
[Nexus One Android Development] I7redd:
Oh, he also answered my noob question..

...

;)
[Nexus One Android Development] crxtasi:
OK guys after much reading and searching I finally got my apps2sd to work :D

I used Geo411m Black FRF85B Stock, Deodexed, rooted, busybox Rom and replaced the boot.img from this thread and resigned it using this guide and this to path JAVA

after all of that I just followed the guide here but flashed my update.zip in between steps 6 and 7

I am now one happy camper :p
[Nexus One Android Development] dany74q:
This is fantastic , can someone please confirm this working with CM 6.0.0 alpha ?

The lack of Apps2SD is too major for my taste .
[Nexus One Android Development] britoso:
Its only temporarily removed.
[Nexus One Android Development] britoso:
So you skipped the Fastboot part (Step 10)
[Nexus One Android Development] crxtasi:
Oops hehehe yeah I skipped that part..:p but thanks for your help tho britoso with this thread!
[Nexus One Android Development] trigreek:
Thanks for the detailed instructions. I flashed Geo411m's Black FRF91 Stock, Deodexed, rooted, busybox Rom but could not get a2sd working. Any help would be appreciated .

got this Error Msg when using the command line adb shell df -h

FIX ME IMPLEMENT GETMNTENT<>bionic/libc/bionic/stubs.c:354
[Nexus One Android Development] britoso:
since df itself is failing maybe its a problem with the build?
[Nexus One Android Development] behelit:
i got this as well, it also appears that the installed apps are going to both locations but maybe that's just a side affect of the symlink?

i have also run out of space earlier than my cm508 rom.
[Nexus One Android Development] yeticomes:
Did anyone try this at a G1 Dream?

Hello,

anyone out there who made this working with a Froyo-ROM on the G1 Dream?

Would be great news - I am not sure what happens when I try it with the Nexus boot.img?!
[Nexus One Android Development] ryanestrud:
ryan

Hi, just starting to learn can someone help me, when fastboot flash boot boot.img says cannot load, running g1 extreme froyo, help appreciated
[Nexus One Android Development] britoso:
did you get a boot.img for the g1?

cannot load what? fastboot or the image file?
[Nexus One Android Development] ChronoReverse:
After some trials and tribulations, I've finally made a working update.zip for the boot.img and successfully installed A2SD onto Geo411m's FRF91 ROM.

It now says I have 159MB in available space which was more than before, but this seems a lot smaller than the 1GB partition I set. Is there a way to check?
[Nexus One Android Development] britoso:
You can try "adb shell df"
[Nexus One Android Development] ChronoReverse:
/dev/block/mtdblock3 148480 107636 40844 72% /system
/dev/block/mtdblock5 200960 44944 156016 22% /data
/dev/block/mtdblock4 97280 1672 95608 2% /cache
/dev/block/mmcblk0p2 937096 102350 784746 12% /system/sd

I suppose /system/sd is the one I'm concerned about?
[Nexus One Android Development] britoso:
yup, 930 odd MB, 12% used.
[Nexus One Android Development] sippinalizay:
would you or anyone on here be able to upload a working boot.img that can initiate a2sd at startup? The problem that exists for me is everything goes fine until I flash his boot.img then either a) stuck at "X" nexus boot screen or b) after bootup, EVERYTHING FC's...I am trying to use CM6 ROM FRF85B with this new a2sd method..Can please get some assistance?
[Nexus One Android Development] britoso:
There are links to a boot.img on post#1. .. Not tested with cm 6.
[Nexus One Android Development] djdarkknight96:
Yeah, I figured this is for Stock roms and not source built roms. Good job otherwise! ;)
[Nexus One Android Development] sippinalizay:
can i get linked to your update.zip???? I'd like to try it on CM-6 - I def will let you guys know the result!
[Nexus One Android Development] sippinalizay:
if this a2sd method is for STOCK im just curious how it is working on Geo411m's ROM...I'd like to get a hold of his "update.zip" so I test on CM-6 :)
[Nexus One Android Development] mlevin:
I believe that for folks with phones that are rooted but don't have an unlocked bootloader (using this tutorial: http://xdaforums.com/showthread.php?t=710842), you can't flash a boot.img directly -- but, as I've learned from one of the posts in that long thread, you can flash an update.zip that writes a new boot.img (I flashed an insecure boot.img via update.zip and my bootloader is not unlocked, so I know it can be done).

Maybe some kind person could make us an update.zip (or point us to a tutorial) for this?

My question: will this work on a (rooted) FRF91? That's the build I'm currently on.
[Nexus One Android Development] britoso:
Yes its possible. I can try and create one if someone is willing to test. Will update the OP if someone posts one.
[Nexus One Android Development] time_shock:
I have successfully created the update.zip and activated my a2sd without issues on geo411m's rom.

I'm on my way to the office now. Will upload when I get there.
[Nexus One Android Development] ChronoReverse:
Geo411m's ROM is practically stock which is why this worked.

Here's the update.zip that I used. If it shows syntax error, just reboot and try again.

Keep in mind you MUST have custom recovery (which can be installed without unlocking the bootloader).
[Nexus One Android Development] tasomaniac:
I couldn't do this on my Nexus One which has CyanogenMod 6.0. Is there a way to do it?
[Nexus One Android Development] rhcp011235:
Hello,

We are building a custom rom. Which is quite fast. We seem to having issues using the boot.img it seems to kill wifi. and cause some other issues.

We are using frf83.

Can someone here who knows come help us.

irc.freenode.net #extrememod

Thanks!

Also, if possible please post the src to the boot.img and how to compile.
[Nexus One Android Development] shaneg79:
oops wrong forum
[Nexus One Android Development] Silverexp:
Is the boot.img in the zip compatible with FRG83 stock rom to use for this process?
[Nexus One Android Development] Imperial.mack:
Mods, can you sticky this thread?!
[Nexus One Android Development] tjungus:
I couldn't get this to work under CM 6 either, I get a whole bunch of FC messages upon unlocking the screen. Adnroid.process.acore keeps popping up.
[Nexus One Android Development] britoso:
I get the same problems on CM6 too, don't know what the solution is. You could try a modded CM6 distro with a2sdext built-in...
[Nexus One Android Development] elmerendeiro:
I would stick this thread, few times needed those info but didn't find then simply switched rom...
[Nexus One Android Development] sdjensen:
Hi,

I have a small question to this brilliant guide. Should I use the boot.img that is linked to from this thread on my HTC Desire or should I get another boot.img for this??

I am having alot of issues at the moment getting this to work - when I run the command adb remount I get this error: "Remount failed: Operation not permitted"

I am using the newest stock ROM rooted with unrevoked3

I hope someone is willing to spend some time to help a noob ;)

Thanks
[Nexus One Android Development] britoso:
Your best bet would be a Desire boot.img from a custom ROM that supports apps2sdext. For my n1 the latest CM nightly with the darktremor release flashed over it works fine.

Maybe you need to restart the adb daemon in root mode:

adb root
[Android Software Development] fichdak:
This is me: college kid, no developing experience whatsoever (unless you could a basic HTML course in like 9th grade... lol), relatively intelligent, interested in technology.

What do I need to learn?

I found a "java 101" article to read here: Learn Java from the ground up - JavaWorld

Is android just Java or is there any other kind of language..? I've heard something about C++? or is that part of Java?

As you can tell, I'm a noob lol.

Then I read that I need Eclipse (what does that do again?), which one should I get (I'm on a Mac): Eclipse IDE for Java EE Developers, Eclipse IDE for Java Developers, or Eclipse Classic 3.6?

Is this a bad idea considering I know nothing? Like am in way over my head?

Any other ideas or links anyone can share?

I made this same post on a different forum, and someone told me that XDA was a great place to learn programming and such.

Any help is appreciated. Thanks!

Oh and can I program without a problem from OS X or should I use bootcamp and do it all under Windows 7?
[Android Software Development] x.v_:
This is me: high school kid who is a noob Java programmer. :P

1. Learn Java. That's what Android apps are written in (I think).

2. C++ is a different language. Don't think it's of use here.

3. Eclipse for Java Dev.

4. Embrace your Mac. ;)
[Android Software Development] diableri:
I'm in much the same boat you are. I went and grabbed a book called, "Android Application Development" from my local book store tonight (oreilly.com). I am not endorsing the book yet as I'm only a few pages in and it was the only Android book at the store. There was not a single book on Java. I'll be turning to the many many web sites available for that until I get a solid recommendation for a book from someone.

The only thing I've ever done that's even remotely close is built SQL databases, reports and queries which I now manage as a cardiac researcher. I have no classes or anything else useful other than I know my way around PCs enough to build them and install my own OS's.

The advice in the book for the dev environment is:

1. JDK 5 or 6 and the book says that OSX comes with 5.

2. Eclipse IDE for Java Developers for your OS. Get the latest version (which defaulted as such for me for Vista 64).

3. The Android SDK.

After the above, there are some steps to take a look at on the Android SDK site. Follow those and read it all. I'm pretty sure I'm just a person of average intelligence and I think I have a handle on getting to where I can start working and the Hello World bit seems to make sense right now. We'll see how things go as I learn more of the Java syntax.

Good luck!

I would love any advice on sites/books for a non-programmer to start to get a grip on Java and creating an Android app in general. I have some plans for some specific medical uses for my job and I have always been interested in writing programs. Seems like a great time to start.
[Android Software Development] nebulosity:
For Java, a good place to start (other than the Sun site itself) is JavaRanch. I'm too new to post links, but the URL is easy to figure out, and a quick search would turn it up as well. The site has lots of information, links to book reviews for Java, forums and so on. It was a good resource when I was studying Java in college!

Good luck!
[Android Software Development] diableri:
Thanks much! I found an Intro to Programming with Java class at the local community college here but it doesn't start until Sept. =/ That site looks good though, hopefully I can find a book that seems to fit.
[Android Software Development] diableri:
The bolded above is the exact reason I am learning. I need to be able to write my own app for the upcoming tablets. We are planning to move a lot of document work to tablets over the next few years in the medical industry and the existing product lines are hilariously and prohibitively expensive. Since I already work extensively with our privacy laws and and regulations, I'm fairly sure that I can get a working solution for us over the next three years instead of investing millions of dollars in proprietary systems.

Thank you SO much for this advice. I'm ordering Beginning Android tonight and will pick up the other suggestions about halfway through the first book. My class will start in September. If you happen to have any other suggestions that might ease my way into programming concepts in general I would also appreciate those. Again, thanks a ton for the great advice.
[Android Software Development] Slauney:
Yeah i hear ya man. I took Java Programming in my senior year of highschool and got an A in it. So i know im capable for doing android, but im still finding my way around. hopefully one day i can actually do it! I hope!
[Android Software Development] fichdak:
Wow, thanks a ton! I'll be sure I pick up those 4 things later on.

Since I wrote the original post in this thread a couple days ago, I've spent some time trying to learn Java. As a total noob to programming, this has proven to be quite a challenge. Just about every book or eBook I see (A couple "java for dummies", "eclipse for dummies", "thinking in java", and I'm about halfway through the free sample of VTC's Java: Introduction to the Java Programming Language, which is an audio/video presentation thing) says that prior programming knowledge is necessary or that I should have some basis in C or something like that.

Also, there's command line as well as all of the different IDEs.. I'm assuming that these are all mainly interchangeable or what?

Should I just continue trying to learn Java and once I think I've figured it out just move on to Android or do you guys think I won't be able to get by without taking some sort of a programming class in school?

Thanks for all your help guys! By the way, how long do you think it might take to go from a noob to someone who can actually write an Android app?
[Android Software Development] nenn:
for those of us that might be a bit hard up on cash http://developer.android.com/index.html

has a wealth of free information and sample programs. CHECK IT OUT!
[Android Software Development] learnandroid:
1. Install required components

* For Java use the latest version

* Android SDK

Once downloaded extract the folder to one of the PATH for example E: \ android_sdk_windows

* To Eclipse used Eclipse 3.5 (Galileo)

2. Add the Android platform and other packages needed to SDK

* SDK Run Setup.exe

* In the Available Packages menu to select all the packages downloaded

* select Install Selected and then select the Accept All to accept the selected packages

* select Install Accepted , Choose Install to install packages that we want to SDK

* Set the path to the Android SDK directory, by opening the Control Panel and then click on mycomputer system or right click and select Properties. Then on the Advanced tab select Environment Variables, click Edit on the path then input the Android SDK directory path

3. Install Android Development Tools (ADT)
[Android Software Development] fichdak:
Oh wow. This is great! Thanks a ton for taking the time to write all of that, I'm gonna go get started :p

I've already touched upon many of those things thanks to free ebooks and youtube tutorials and such, but now I know exactly what to do :D

Quick question though: what's the "notepad tutorial" ?

thanks again!

and @learnandroid, thank you as well for the instructions. i have eclipse set up now :D
[Android Software Development] fisher6:
A nice java book that I recommend is called Java Programming, comprehensive edition.
[Android Software Development] mturco:
I can't yet post links, but just Google "Android notepad tutorial" - it's the first hit.

They take you through 3 different versions of the app, each slightly more complicated than the last. Definitely worth going through if you're new.
[Android Software Development] diableri:
XDA has always been a fantastic community and you guys are the reason. Thank you for the thoughtful and very much appreciated advice and help.

I'm having a great time already. I really hope I can get into the class but it's already full with a waiting list. The books, tutorials and great resources are of course great but I have always liked to do new stuff with groups. I tend to learn more with some group goals involved along with the focused study.

Thanks again guys.
[Android Software Development] HustlinDaily:
http://www.linuxclassroom.com/

This guy in San Antonio started an Android programming class for 8th graders and posted all of his lesson plans online. Might be a good place to start.
[Android Software Development] fxn:
Sorry forgot to post the link: http://developer.android.com/resources/tutorials/notepad/index.html

.FxN
[Android Software Development] Briz600:
Great Thread full of info.

I have tried learning C# and Java on my own in the past but I could never grasp the concept and gave up.

I had an opportunity to go back to school full-time with programming in mind. I started last spring taking Software Development which teaches basic concepts of programming. Now I am starting my second semester in the fall taking intro to Java and c++ followed by advanced Java and c++ in the spring .

I hope I can transfer the knowledge from school along with the info provided in this Thread to build quality android applications in the future.

Thanks

-Bri
[Android Software Development] bitbang3r:
I know it's geographically limited to a small subset of the people here, but I'm pretty sure I remember reading somewhere that UC Santa Cruz actually has courses in Android Development (part of their certificate in embedded software development curriculum). However, I think it's safe to assume that a solid background in Java (including objects and threading) is a prerequisite. Anyone who lives within sane driving distance of Silicon Valley might want to check them out...

I definitely have to agree that if you're literally just starting with Java, don't even *think* about touching Swing until you're comfortable writing console apps. It's really easy to get overwhelmed by Swing. For the most part, Android programming isn't really harder than good Swing programming... the difference is, with Swing, you can still get away with doing some things that are bad, but will kind of work anyway (like blocking operations by a UI thread). Android simply won't tolerate or allow you to even *try*. It's good in the long run (I guess), but makes writing your first few real programs a lot harder than you probably expect it to be.

For example, Android won't allow classic "Modal" dialog boxes (where everything grinds to a halt until the user clicks something). Period, end of story. You really shouldn't do it anyway, but being allowed to do it in Swing makes it easier to take your first few baby steps and see your program (sort of) work. With Swing, you can staple the shell of your program together with bad things, then fix them and make them nice once the logic is worked out. With Android, you have to Do It Right the First Time, because it won't allow you to do it any other way.
[Android Software Development] bitbang3r:
Ah, guess what I tripped over at Amazon today! It won't be out until November, but this is probably the exact book a few of this thread's readers will be looking for:

http://www.amazon.com/gp/product/14...&pf_rd_t=101&pf_rd_p=470938631&pf_rd_i=507846

Judging from the cover, it looks like the book just made it past the 'concept' stage in the very, very recent past. Anyone who's interested in it should probably check apress.com... it's possible they might make rough drafts available while it's under development, and start selling copies of the ebook a month or two before the bound copies arrive at Amazon. At least, that seems to increasingly be the norm with a lot of publishers.
[Android Software Development] quietpopcorn:
I'm really jealous of all you guys who had programming classes available to you in high school. I went to a decently big school & we had no programming classes at all. The only thing we had was a basic computer course (word, excel, etc).

The year after I graduated they added an html course. It's been really hard for me teaching myself. :(
[Android Software Development] diableri:
Awesome find man! Thank you! =) Added it to my wish list.

If it makes you feel any better, my architecture and engineering classes didn't use CAD at all and there were ZERO computers on campus not used by administration (not even for the teachers). =p