[Q] Installing homebrew application - Gen8, Gen9, Gen10 Q&A, Help & Troubleshooting

Hi,
I've done some development on the HTC Desire, development for this device was pretty straight forward. You can simply upload your apk file when the phone was set in debug mode.
Now I want to develop some applications, running on an android tablet, the Archos 101 looks like a great candidate. However, I do fear that developing on these tablets will no be as easy as for the HTC Desire. Can I,for instance, still put the tablet into debug mode? Or should I take another approach for getting my applications running? Maybe rooting the device first?
Or are there better candidates out there?

Debug is available, but root is not....yet
Perhaps Santa could deliver Saturday...

Related

Developing an Android ROM for the HTC Mozart.

Hi.
This is my first post on xda, and I am hoping to learn a lot whilst I am here.
I am not expecting any help here, but there has been small hype about getting android onto this phone. And I understand that you may be critical about noobs like me expecting an easy fix from you.
I appreciate that the idea makes no sense from many perspectives, this is mine.
I purchased the windows 7 phone 3 months ago, I was a complete idiot and fell for the sales pitch, the salesman promised me the earth, he said I would be able to WiFi Tether on the next update, he told me it would be better then the android evo 4 that I wanted.
As you are probably aware, I am a complete fool. I have however spent many hours on the phone with a certain mobile phone outlett, and my provider, neither will help. And I am stuck with the phone till 2013.
The phone's buyback price has gone down to 1/3rd what it was on the day I bought the phone.
I have now made it my mission to get this phone to run android. I feel so strongly I may even remove the windows logo from the bottom of my touch-screen.
I have already researched some, and expect days more research before I'll be able to do, whatever it is I need to do.
I am and will be keeping a log, of all my research, and hopefully can use what I learn to help people out later on.
So....
Any comments, or questions or support?
CleverNoob
I have picked up a few things. And therefore want to clarify,
I don't want to dual boot the 2 OS's, I want to REMOVE windows 7 and replace it with Android.
From what I gather this means I need to develop an android ROM to work with the mozart, and then Flash it to the phone...?
So my logical mind tells me to look for the android ROM that works on the most similar spec phone.
I am however aware that the firmware or something is different in the mozart, from the HD7 and does not allow for certain android commands to work, therefore the ROM (gingerbread?) used on the HD7 will not be remotely compatible with the HD7?
It seems that there may be a few options for the actual flashing of the ROM already available... So I am going to concentrate on learning more about ROM development now.
If anyone wants to correct me, point me in the right direction, or hurl abuse at me... feel free to do so
I do not know all that much about ROM development.
What about drivers though? Sure it is fine for the chipset as there are Android devices with the same chipset (CPU and GPU)... Although the WiFi, bluetooth, radio etc. I guess it's built into the SoC?
Drivers for the screen, capacitive buttons, camera etc?
I think if you look around, you should be able to find a phone similar to htc mozart and the name which comes to my mind is Nexus one and htc desire...
Although it depends on you that you extract drivers from the OS of both of those android based phones then extract drivers from your mozart and compare if they have same chipset....
I really wonder if it's possible to do all this virtually instead of physically installing OSes on phones for development purposes.
You didnt give up did ya mate!
All of the Australia Telstra Community who got Conned into buying the Mozart over an iPhone due to This Service Provider not having a Contract with Apple are 'root'ing for your Success
just checking if i got it right...
you want android in the mozart just to enable wifi tethering.
well, FYI, its been done and done bro, just unlock your device and install any of the excellent custom ROMs here. my notebook is tethered to my mozart right now.
but if you want to further explore the capabilities of the hardware, no worries- many good samaritans are already doing that. explore the development forums here and thy shall learn!
take care!
Tethering is working now, even with Telstra and no unlocking (7720).
This is my first post too! I was about to post something like yours. I have an HTC Mozart too and I want to install an Android ROM on it though my reasons are different.
As a software developer I have no experience about ROM development but I'm very interested.
So what did you do until now? Any success?

What's a good, cheap Android phone that I can get for development?

I've been using a Samsung Captivate for a while and I see that it has a ton of dev support, but as it is my main cellular device, I don't want to do anything to mess it up. Instead, I'm trying to look for a good Android device that isn't extremely expensive, maybe $75 and below, that has good dev support and allows me to experiment. One thing I would really love to try is putting Linux on it, or installing Backtrack for aircracking. Let me know what you guys think.
thinhtvu said:
I've been using a Samsung Captivate for a while and I see that it has a ton of dev support, but as it is my main cellular device, I don't want to do anything to mess it up. Instead, I'm trying to look for a good Android device that isn't extremely expensive, maybe $75 and below, that has good dev support and allows me to experiment. One thing I would really love to try is putting Linux on it, or installing Backtrack for aircracking. Let me know what you guys think.
Click to expand...
Click to collapse
Myself I'm pleasantly surprised by Sony and their developer support for the Xperia series. Not only the bootloader is officially unlockable, but they also releases the kernel source code as well as howto's about compiling and building own images. They are also running the standard fastboot protocol allowing both flashing images as well as booting them over USB without the need of flashing. I like not having to be dependent on proprietary protocols and tools for this.
I'm sure there's other manufacturers doing the same as well. Look for unlocked bootloader with full fastboot support if you intent to play around building own images, running GNU/Linux and so. Experimenting with boot images, it's nice if you don't have to re-flash the phone each time you want to test running a new kernel.
And don't forget the AVD emulator included in SDK.

[Q] Starting Android Development with no experience in Software Programming

Hi xda-developers,
I am an Embedded developer with vastnexperience in Firmware development in C programming (for microcontrollers), pcb designing, corel draw/photoshop (intermediate level) . Now I am looking to stretch my self a lil further by trying my hands on Android Programming. I have no prior experience in Software development. It would be kind of experienced developers out here to guide me with possible approaches that I can give to Android development without a much steep learning curve. As I would be practicing android development mostly on weekends (as of now), I would like to get started with things that I can relate with already. That way it would keep me going. Help me out with:
1. Possible applications I should work on. Something that can also be helpful for the community of users and developers.
2. Starting point and other obstacles I would come across while development.
3. Application ideas.
P.S: I also have a rPi lying around catching dust.
Some of the features still cant use on this. Libraries could be use.
Start with "Hello World"
Regardless of your software development capabilities you should always just mess around with the tools that are available and see what you like and what you don't like.
Try every tool you can, when you feel like you know those inside out have a go at extending the functionality of one of those.
For me when it comes to learning a new technology like Android SDK just playing with it inspires me to want to create real and practical applications.
Goodluck and have fun.
PS: I would stick around and see what happens with the release of Qt 5.2 Hint hint...
Yea. Android like embedded requires you to set up a Dev environment so get that up first. ROM building vs app developing are hugely different. Decide which and download the tools. (May require you to install a whole new os and tweak it heavily. Last time I ventured to compile a ROM it was a day to set up my Linux distro of choice)
And like what was said before start with hello world and move up in small bites. You will gain better understanding of how things work and will be less frustrated. Don't expect a full featured app to appear. Once you play around with all the little components eventually you will see a big picture and the building blocks for the "big app" will be there ready to use.
Sent from my One using xda app-developers app

[Q] Designing a Custom Android Device

I'm looking into building a custom android device to be embedded in a project I'm working on. I won't need GSM/cell service, so this would be more of a 'tablet' with wifi that's the size of a phone. The first version of this project used some lower level embedded controllers, but for a better user experience (capacitive touch screen, full featured app, etc), I'm looking into using an embedded android device and having a friend (who told me to post here about this) write an app to run on it for me. This project is starting to scale, so buying a cheap tablet and tearing it apart isn't really a good option; I'll need to build something from the ground up. My problem is that I'm more of a microprocessors guy, so I don't really know where to start with this kind of hardware.
I found this thread which was a good start, but the info is like 3 years old now.
Has anyone tried to do something like this? Should I be trying to find a manufacturer who already does this type of thing to work with? If so, how do I find someone like that? If I am going to do the design myself, what kind of processors can run an Android OS? Where's a good place for learning that type of info? Are there any reference designs out there I can use to get started? Is running Android on RaspberryPi a good starting spot, or is that simply not scalable?
Thanks for the help, I hope I'm in the right spot. Apologies if not!

Is it possible to install Security Updates alone, without upgrading Android?

Hi everyone,
I can't find a satisfactory answer on my favorite search engines, so I thought I'd come here and ask. Sorry if this question has already been put on the table, carved, sliced and gobbled, I couldn't find trace of it in the forum's search engine either.
My phone's a Leagoo T5c that will forever be stuck on Android 7.0, it seems, because the OEM has already lost interest, and because its SoC makes it difficult, if not downright impossible, to find a suitable custom ROM.
The latest ROM I could find and install on this phone goes back to August of 2018 (no-no, no typos), and its Security Update is even one month older (July 2018).
My question is in the title: Is it possible to install Security Updates without reinstalling/updating/upgrading the firmware itself, like you would in, say, Windows or any other OS, I presume?
UglyStuff said:
Hi everyone,
I can't find a satisfactory answer on my favorite search engines, so I thought I'd come here and ask. Sorry if this question has already been put on the table, carved, sliced and gobbled, I couldn't find trace of it in the forum's search engine either.
My phone's a Leagoo T5c that will forever be stuck on Android 7.0, it seems, because the OEM has already lost interest, and because its SoC makes it difficult, if not downright impossible, to find a suitable custom ROM.
The latest ROM I could find and install on this phone goes back to August of 2018 (no-no, no typos), and its Security Update is even one month older (July 2018).
My question is in the title: Is it possible to install Security Updates without reinstalling/updating/upgrading the firmware itself, like you would in, say, Windows or any other OS, I presume?
Click to expand...
Click to collapse
With android 10 were introduced Google play security updates that lets you received security updates (not all of them unfortunately, some requires to upgrade) without updating the full OS. You can't do it because you're stuck with the wrong Android version
Hopefully you won't have any issues with hacking but consider buying a new phone when you'll get a chance
Security updates get rolled out as OTA by OEM/Carrier if they consider it's necessary. You can't force it. Theoretically, all Android smartphones should get around two years of security updates. However, the reality is often very different.
The Leagoo T5c is a small-budget phone what was sold for 99 USD - so more or less a disposable item. You cannot expect OEM/Carrier to have any interest in providing updates for such a phone.
Thank you both for your explanations. I understand that Android works differently when it comes to updating itself, mostly because Google isn't the only party to have a voice in the chapter; still, it's unnerving to see that the end-user is more or less captive anyway.
It kinda defeats the very purpose of an open-source OS, to have to wait for an OEM to release (or not) an update, when you could install the patches yourself.
As for buying another phone, well, as soon as I've got the dough, I will, believe me. Not because I'm dissatisfied with this one, but because I don't like the idea of totting around with a phone that hasn't seen a security update in over two years.
I'm also seriously considering moving to Ubuntu Touch, though there again, my phone's exotic platform could be problematic. Custom ROMs seems to be as complicated an avenue as others, too.
All in all, Android isn't what they sold me: It's not secure, it's not "free", it's just another way to make you shell out bucks for new hardware every couple years.
Android is just iOS without the eye-candy, you ask me...
UglyStuff said:
Thank you both for your explanations. I understand that Android works differently when it comes to updating itself, mostly because Google isn't the only party to have a voice in the chapter; still, it's unnerving to see that the end-user is more or less captive anyway.
It kinda defeats the very purpose of an open-source OS, to have to wait for an OEM to release (or not) an update, when you could install the patches yourself.
As for buying another phone, well, as soon as I've got the dough, I will, believe me. Not because I'm dissatisfied with this one, but because I don't like the idea of totting around with a phone that hasn't seen a security update in over two years.
I'm also seriously considering moving to Ubuntu Touch, though there again, my phone's exotic platform could be problematic. Custom ROMs seems to be as complicated an avenue as others, too.
All in all, Android isn't what they sold me: It's not secure, it's not "free", it's just another way to make you shell out bucks for new hardware every couple years.
Android is just iOS without the eye-candy, you ask me...
Click to expand...
Click to collapse
Android isn't iOS precisely because you can break free from your OEM by flashing a custom ROM. You can develop one for almost any device as long as the OEM releases the kernel source code. And most OEM do (expect for some very unknown phones).
Custom ROMs like GrapheneOS are made to free you from google Services and are truly privacy oriented. And all of that is possible because Android is open source.
Trust me, the Android community has always worked actively to counter aging of their devices (including me).
Just buy a phone with a solid community behind and you'll be able to keep it up to date a looong time
Raiz said:
Android isn't iOS precisely because you can break free from your OEM by flashing a custom ROM. You can develop one for almost any device as long as the OEM releases the kernel source code. And most OEM do (expect for some very unknown phones).
Custom ROMs like GrapheneOS are made to free you from google Services and are truly privacy oriented. And all of that is possible because Android is open source.
Trust me, the Android community has always worked actively to counter aging of their devices (including me).
Just buy a phone with a solid community behind and you'll be able to keep it up to date a looong time
Click to expand...
Click to collapse
I agree with you in principle, but if I must take an example: I have this Early 2006 MacBook Pro with a Core Duo CPU that precludes me from even installing Mac OS X 10.7 "Lion" on it, because the CPU is 32-bit-only, and Lion requires a 64-bit CPU.
The machine itself works very well, albeit a bit slowly, but then it's got only 2 GB of RAM and a 120-GB SSD. When I got fed-up with OS X applications not updating/upgrading and Firefox addons not installing because my copy of Firefox was too old, I partitioned the SSD, installed rEFInd as boot manager, and installed Zorin 15.2 (now 15.3) Lite 32-bit.
I now spend more time on the Linux side of this Mac than on the OS X side, and updating/upgrading it is a breeze, either via the dedicated application or in Terminal. I know there'll be an end-of-the-line there too, someday, but at least I'll keep using this Mac until it truly dies on me, not when Apple tells me it's dead.
This, for me, is the very essence of open-source: Not just the fact that it's free, but that you can revive an old machine and keep it running long after Apple et al have decided that it had gone the way of the dinosaurs.
The same doesn't apply to Android, alas. Here, you must have a compatible SoC/chipset/what-have-you, a Treble-compatible device, you must have this, you must have that...
In the end, only a fraction of Android users really get to enjoy everything their device has to offer for as long as they choose; the others just pop into the nearest phone store, be it brick-and-mortar or cyber, and must produce their credit card.
My question was as much a challenge to myself as anything else. I would really like to learn how Android works, but the tutorials and articles I've found here and there are all a bit cryptic.
That's why I'm regularly prowling this forum, I guess.
"Hunting high and low", as the song goes... :laugh:
yep, good question but google & manufactures are in it for the moola not the users 2 yr old phone.
hiitsrudd said:
yep, good question but google & manufactures are in it for the moola not the users 2 yr old phone.
Click to expand...
Click to collapse
Don't I know it! It's true that even budget phones have decent specs nowadays, still, why dump a perfectly functioning phone simply because you can't update/upgrade the software?
I understand Google's rationale, of course: They invest tons of money year after year after year to keep the whole boat afloat, and they need a steady income. OK. Still, to not be able to keep your phone ***safe*** is a no-go for me.
I'm seriously beginning to think about installing Ubuntu Touch on the device. I think I'm going to try that next weekend.
I'll probably come back here with my eyes red, asking for help in unbricking my phone, though.
Stay tuned! :good:
A followup, if you are mindful of your own security it's conceivable to get more usage of that android. I don't use a banking app, but if need be use a good browser( thats updated of course) And update all often used apps via playstore. I'm still running Oreo on my phone. FYI you iOS ppl need to do critical updates asap

Categories

Resources