Moving on to Linux 2.6 with the Wallaby... - Windows Mobile Development and Hacking General

After more than a year (of slacking :roll, I'm finally catching up with the Linux port again.
Seeing some good progress has been made with the Himalaya, I've moved onto 2.6 as well. I just got the usual linexec + kernel 2.6.10-hh0 (from handhelds.org) booting on the Wallaby XDA1. I shall feed the tree onto xanadux cvs, and/or handhelds.org's sometime.
In the meantime I'll look and play around a bit. Might put together some simplier stuff like the buttons support and touchscreen, and/or followed by more and more bootloader code reading/disassembling/ida-ing.
To be honest I myself is really just a beginner in disassembling and ida, I'm sure I'll need a lot of help here

I am willing to help ....javascript:emoticon('')
Hello,
I am very happy to hear, that it is again going on!
I am a windows programmer with a little bit embedded experience.
But I am a newbie with Linux .
I am willing to help or document. But with the spare information in the xanadux-wiki page it is not possible for me to set up an developement envirenment.
Perhaps it is the best to push back your changes in CVS, - commit your wish for help in the mailing-list of the project and explain how to setup the developement environment on the wiki page.
I will try to follow your steps and will update xanadux wiki page with more details if wished/needed!
I want to have linux on my device!

not a programmer but willing to learn, and provide any resources I could on my end.

Related

Porting Linux for Pharos in progress

I am now working on porting linux to HTC Pharos. Gotten HaREt to boot it, working on the keymap. Will post the image here when it's "usable"
For questions go to the launchpad project's "Answers" page. For discussion, use this thread.
Links:
Progress (Handhelds.org Wiki)
Launchpad project
Git repository
very very cool ... but try to do one better... try to get the android working on our phone !! (the image has been released so it should be possible to compile it for the Pharos)
I'm going to make android work, but I won't make a ROM before next year because android doesn't have a soft keyboard (onscreen keyboard). They plan to develop it in the first quarter of next year though.
Android Roadmap
Still, a working android (but without keyboard) would be cool, so when the linux kernel is good to use, I will start on android.
please DO NOT make it a rom, if possible make it work with HARET because then we have a choice!! (far more flexable)
i see you're dependant on the drivers released by source.android. q1 09 will be great (hell its allmost 2009 anyway)
I'm developing on HaRET, will release that after some time. I will maybe release an android ROM when it's stable and usable. Btw, all releases (ie. files) will be in the first post. So no need to go through pages (if this discussion will be that popular) to look for files...
Also, I can make it work pretty well without the soft keyboard drivers, but not with android. So here's my plan:
1 Make the linux kernel work (keypad and touchscreen most important now...)
2 Release kernel + a distro like familiar
3 Make it work (loosely) on Android
just a supporting note
I will be happy to see your linux rom
Awesome! It will be very interesting to see the progress of this.
i tested linwizard , the touchscreen dont work .
do you found any driver?
what about android?
touchscreen work now.
files will be available soon.
Hey, why don't use kaiser,nike,vogue,polaris zImage and just change the mtype to have android on your Pharos?
Launch haret console and find the gpios button commande and maybe somebody can make a new zimage compatible with your device?
hi,
thank you for the idea.
i already started the project.
touchscreen work very well, and i'm now working on buttons and jog wheel.
pharos is omap850 and many difference/and similarity with list of model you listed.
lets hope it work now.
can you please give me any documentation.I'm very thankful.
Oh yeah i didn't mention it wasn't the same chipset so it isn't possible to merge source with our thread.
I don't know much things but i can try to help you.
Try to contact @ : dzo, dcordes or another member in the kaiser thread
Can you please post a POC zip. I want to test how android is reactive on Pharos.
Thanks.
please join this thread http://forum.xda-developers.com/showthread.php?t=494991
source will be uploaded on server as soon as possible.
for now you can play with proposed file.
you can join our project.

where do you learn how to build custom roms?

Hi I'm just wondering where to learn how to make custom roms?
I find it very interesting but guess I don't quite understand it just yet.
I have built cupcake and tried to run it in the emulator following the steps google gives on the source code page, but it never gets past "Android" with a flashing cursor and a black background on the emulator and i've never tried to flash it to the phone as im not brave enough being i really dont know what i'm doing. I would like to use the files in JF's build so i have root and what not, maybe poke around the code a little, see how things work. I wish someone would make a beginers tutorial for for this. I know its not easy and you need to know how to program. and programing shouldn't be part of the tutorial, but just how to get all the files maybe make a small change to one or two of them and then build it and see those changes at work would be nice.
Thanx for any help!
there is no beginners guide to programming the android OS, either you can look at the source and edit to your liking or you can't. for the most part the guys that have been building the ROMs have been working with programming for a long time and know what they are doing. i am working on it, but my java is old knowlege and i don't remember much. you will need to learn java in order to play with building your own ROM
I'm not so much talking about editing the source as just take the source and build it so i can run it in the emulator. I'm not that great with linux, and i did build it, but i think i did somthing wrong because it freezes at the android screen. I know im not going to just grab the code and start changing it with no experiance. I just want to mess around and see what i can learn.

Deep Android System Programming/Unterstanding - How start?

Hi,
firstly, i have to say, i didn't found a correct section, but this seems to be the most properly, although i could be a noob. If my posting wasn't correct, i hope you will forgive me & move my post in the right section.
In the next months I'd like to start porting CM11 or/and Android 4.4 to my Xperia J, respectively learn how android system works. In this case i thought it would be helpful, if i learn more about Java, especially because i'm learning C# since one year in school.
Really, I'm not interested in "trivial" things things like how to program a own launcher.
(I'd never done something like that, i'm just not interested in.)
My interestings are deeper, e.g. about the implemention of GPRS (want to remove that without damaging the system), the general system settings(want also to modify something in there), the new permission manager in android 4.4, the interaction with the sim card in CM & the original android & their differences(e.g. my Sim only works in android, not in CM), their code & their connection to each other.
Which parts of Android are written in Java, C & C++? (I know the Kernel is wirtten in C, but thats all)
Can you give me some sources about this?
Have you some suggestions what i could do?
Would something like that here:
http://www.amazon.com/Embedded-Android-Porting-Extending-Customizing/dp/1449308295
be helpful?
Or would be something like that better for my project:
http://www.amazon.com/The-Linux-Programming-Interface-Handbook/dp/1593272200/
http://www.amazon.com/Building-Embedded-Linux-Systems-Yaghmour/dp/0596529686/
?
Thanks in advance.
Edit: This Guide: http://forum.xda-developers.com/showthread.php?t=2620389 is a good source, but im still wondering.

Most Customs for G800F

, lets be honest: are ****.
Unstable, Buggy and **** like that.
And instead of just complaining about the devs* I want to know the following:
If I want to contribute on the code what do I need to learn? Since a while I'm teaching myself Java and Python via Solo Learn. What would I need to learn to contribute to the Android OS Code itself NOT APPS!!
It will take me months, years I am aware of that. But I'm just tired of only trying different Custom ROMS, only to see that most of them aren't a real alternative of the Stock Roms, without having the possibility to do something about it.
So feed me with some input. What are good sites to learn that?
Happy for your feedback!
*Because damn I know that the Devs are doing an amazing job!
Google is a good start.. that search engine can point you in the right direction ?
Ghost1607 said:
And instead of just complaining about the devs* I want to know the following:
If I want to contribute on the code what do I need to learn? Since a while I'm teaching myself Java and Python via Solo Learn. What would I need to learn to contribute to the Android OS Code itself NOT APPS!!
It will take me months, years I am aware of that. But I'm just tired of only trying different Custom ROMS, only to see that most of them aren't a real alternative of the Stock Roms, without having the possibility to do something about it.
So feed me with some input. What are good sites to learn that?
Click to expand...
Click to collapse
It really depends on what you want to do with Android. The upper layers are in Java. The lower layers are in C++ or C. If you want to adjust the stock libs you might have to understand ARM assembler code. Also a basic knowledge of microcontrollers and linux kernel does help (especially if it comes to the graphic and camera subsystems).
There is almost no documentation for Android (the code is the documentation) and the subsystems change from version to version. The best way (and probably only one) to learn Android is hands on. Just try to fix the most annoying bug you encounter. Try to understand how the source-code works. Check how the Java, C++ layers, kernel and the stock libs interact with each other.
Also try to understand the adb logcat output.
Also try to understand the G800F device tree. A first step is also to compile the source yourself.
hennymcc said:
It really depends on what you want to do with Android. The upper layers are in Java. The lower layers are in C++ or C. If you want to adjust the stock libs you might have to understand ARM assembler code. Also a basic knowledge of microcontrollers and linux kernel does help (especially if it comes to the graphic and camera subsystems).
There is almost no documentation for Android (the code is the documentation) and the subsystems change from version to version. The best way (and probably only one) to learn Android is hands on. Just try to fix the most annoying bug you encounter. Try to understand how the source-code works. Check how the Java, C++ layers, kernel and the stock libs interact with each other.
Also try to understand the adb logcat output.
Also try to understand the G800F device tree. A first step is also to compile the source yourself.
Click to expand...
Click to collapse
Thank you for the reply I appreciate it!
TWRP
hennymcc said:
It really depends on what you want to do with Android. The upper layers are in Java. The lower layers are in C++ or C. If you want to adjust the stock libs you might have to understand ARM assembler code. Also a basic knowledge of microcontrollers and linux kernel does help (especially if it comes to the graphic and camera subsystems).
There is almost no documentation for Android (the code is the documentation) and the subsystems change from version to version. The best way (and probably only one) to learn Android is hands on. Just try to fix the most annoying bug you encounter. Try to understand how the source-code works. Check how the Java, C++ layers, kernel and the stock libs interact with each other.
Also try to understand the adb logcat output.
Also try to understand the G800F device tree. A first step is also to compile the source yourself.
Click to expand...
Click to collapse
Dear hennymcc,
it is about your TWRP for G800F.
Everthing is ok, till it comes to a restore of a TWRP backup.
After the restore the S5 Mini is in a bootloop.
I have tried it with the version August 2015 and March 2016.
Is there any solution?
Thank you.

[Q] About Halium project

Hi, first of all, sorry if this is an stupid question, or if I'm underestimating the difficulty of porting this kinds of software, or if I'm saying something wrong.
I really like GNU/Linux mobile distros like Sailfish OS, Lune OS, Ubuntu Touch and Plasma Mobile, they use Halium for base for using our hardware, Is someone already trying to port Halium for our device or is there already an existing port? That would open a new world of OSs for our device.
If anyone hasn't ported Halium yet I could give it a try; However, I have 0 experience porting stuff, so I can promise nothing, I'm good using Linux and reading documentation and guides though, but I don't know if that will be enough.
Again, sorry if I'm underestimating the difficult of porting, if I'm saying something wrong and if I can't make myself understood.
Edit: I'm not actually working on the project because I haven't the phone. I did a progress when I had it, anyone interested in the project can PM if get stuck or need help or guide. Thanks for everything, great community.

Categories

Resources