[Q] On Kernel compiling and export SUBARCH=arm - Galaxy Tab 3 Q&A, Help & Troubleshooting

hello,
I was wondering if using export SUBARCH=arm in kernel compile process would make libhoudini irrelevant ?
i would appreciate any meaningful help on this topic. additionally, any insights as to why's, why not's possibly's, and maybe's!
also i would be greatful if anyone could assist me with overcoming a resistance in what i assume is the toolchain with respect
to building firmware/drivers INTO kernel for a standalone setup as opposed to/NOT MODULES.
i apologize for yelling but, for anyone who has ever asked a relatively intense question on xda and gotten an answer
like "derrr, the green crunchy spiders taste the best." you will understand.
thank you for reading
m

Related

Linux / Android on Diamond

People that only want to use Android, and have NO clue about Linux or programming PLEASE REFRAIN FROM POSTING HERE
First off credits goto all those working hard and having sleepless nights, people like: dcordes, netripper, druidu and all those I didnt mention!
I have just made this thread to get developers a kickstart, so that they dont have to read hundreds and hundreds of posts.
==========
IRC: #htc-linux @ Freenode
==========
READ: http://linuxtogo.org/~lgorris/kaiser-bootkit/README.txt
Getting the kernel (taken from http://forum.xda-developers.com/showthread.php?p=2269384#post2269384 ... credits to dwaradzyn): (UPDATED, new ARM toolchain and now working)
Code:
mkdir ~/android
cd ~/android
git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git
cd kernel
git checkout -b htc-msm-2.6.25 origin/htc-msm-2.6.25
cd ..
wget http://www.codesourcery.com/gnu_toolchains/arm/portal/package3382/public/arm-none-eabi/arm-2008q3-39-arm-none-eabi-i686-pc-linux-gnu.tar.bz2
tar xvjf arm-2008q3-39-arm-none-eabi-i686-pc-linux-gnu.tar.bz2\?lite\=arm
cd kernel
make htcraphael_defconfig ARCH=arm
export PATH=~/android/arm-2008q3/bin:$PATH
make zImage ARCH=arm CROSS_COMPILE=arm-none-eabi-
Now the file ~/android-kernel/kernel/arch/arm/boot/zImage is ready to be put on your phone and you can boot it with haret's newest version (1.5.2 works fine) ... downloadable from: http://www.handhelds.org/~koconnor/haret/
Open your favourite text editor to create the file "DEFAULT.txt" and put the following in it:
Code:
set MTYPE 1910
set KERNEL zImage
set INITRD android.bin
set RAMSIZE 0x5e
set RAMADDR 0x10000000
set cmdline "root=/dev/ram0 rp init=/init console=tty0 mem=94M"
bootlinux
Get the file android.bin from http://linuxtogo.org/~lgorris/kaiser-bootkit/ and put it in the same directory as haret.exe, default.txt and zImage.
Is the android.bin in http://h3po.de/public/diamond_android_0.8.zip the same? (Havent checked)
=====
Now the new points of attention are:
1. Touchscreen calibration:
I have seen people talking about a red dot in the upper left corner, I have seen it once so far and didnt notice any major miss calibration when using the dev tools > pointer locator ... the only this malfunctioning is the x inversion and that you need to double tab (or is this standard behaviour? It looks like it remembers the last pressed location). Also the onscreen keyboard is very flickery, minor issue should be easy to fix (during loading it looks like it is flickering on the readout of the touchscreen).
2. Hardware support:
Adding various support for hardware, to output sound and all other "required to call" fuctionality.
Also not forgetting to access internal memory, maybe the best workaround to loading a fully fledged Android is to make a minimal initrd to setup internal storage and from there load the rest. Should be much easier when it all gets incorporated into a ROM, instead of loading with haret ... which poses serious problems regarding initrd loading and who wants WM6x/7 on his phone anyway when Android becomes usable. Loading from haret does make working with it for now a little easier. Maybe a GRUB like approach and loading straight from a filesystem (ROM or internal storage)?
==========
Some other request:
Pointers to Android OS sources or atleast a working 1.0 (latest branch?) initrd.
==========
General tips:
Going back to desktop: insert and remove stylus.
Selecting and opening, use double tabbing and mirror x for now.
Using onscreen keyboard: havent figured it out yet sadly.
=========
Ill try to update the post, also PLEASE people refrain yourself from posting in this thread ... let's make a good go at keeping it clean. If you do not intend to be working on getting Linux / Android to work on the Diamond and family please post somewhere else. No harsh feelings, but threads getting cluttered with "Great work!" and "wehn iz android really workn on me phone?" do mess things up by quite a bit.
DO NOT ASK FOR REQUESTS, focus is on the basics first ... input, output and storage.
==========
Dont forget to check: http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux
==========
Developers, please post updated links / patches and all that would help us make progression.
//placeholder for useful links
Original thread (very bloated with comments and hard to dig through, dont let it happen here): http://forum.xda-developers.com/showthread.php?t=402002
Complete working Android 0.8, "extract and run" ala Plug 'n Pray: http://h3po.de/public/diamond_android_0.8.zip
Wikipage: http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux
Haret: http://www.handhelds.org/~koconnor/haret/
Howto for kernel building: http://forum.xda-developers.com/showthread.php?p=2269384#post2269384 (replace htc-msm with htc-msm-2.6.25)
// placeholder for points that need attention
1. Touchscreen input, calibration and sensitivity.
2. Latest sources to build our own initrd for Android OS.
3. Storage accessibility.
question???
why not put this in the thread that is already running on this ????
why on earth does it need a new thread?
only a question : if I try this Android on my Diamond , the WM6.1 will be delete ? or I can have it also?
P.S.
sorry for my bad english
yuco91 said:
only a question : if I try this Android on my Diamond , the WM6.1 will be delete ? or I can have it also?
P.S.
sorry for my bad english
Click to expand...
Click to collapse
beware.....you can brick your phone if you don't know what you are doing!
liamhere said:
beware.....you can brick your phone if you don't know what you are doing!
Click to expand...
Click to collapse
ok, but you not have aswered at my questions .....
this sounds quite interesting...
Android, is a serious alternative now to Windows o/s, yes?
What are the selling points compared to windows???
Why are there not clear and concise instructions on how to install android???
Does android offer the use of the line 2 facility like 6.1?
I notice the huge Hype with the launch of the G1 phone, can someone offer some screen shots of what it looks like on the diamond please???
cheers
What???? Look I love Mobile phones, Ive bought every high end phone scince the Nokia 8800, but this is way beyond my pay grade, can you ell me how to do this? Im a junkie for utilities and Roms, and etc, but this is really past my skill level. Ive searched and read the thread but I can't get past the first stage. Please help me out, I really want to learn.
liamhere said:
why not put this in the thread that is already running on this ????
why on earth does it need a new thread?
Click to expand...
Click to collapse
cause 581 pages is hard to follow... and OP has sumarized it well...
zmob123 said:
What???? Look I love Mobile phones, Ive bought every high end phone scince the Nokia 8800, but this is way beyond my pay grade, can you ell me how to do this? Im a junkie for utilities and Roms, and etc, but this is really past my skill level. Ive searched and read the thread but I can't get past the first stage. Please help me out, I really want to learn.
Click to expand...
Click to collapse
dont bother usable android version isnt ready for general use (yet)...
not ready?
so how ready currently is it???
and do we have the choice of looking at screen shots???
does it support multi lines?
Was wm6.1 ready? - questionable!
crystal_clear said:
Android, is a serious alternative now to Windows o/s, yes?
What are the selling points compared to windows???
Why are there not clear and concise instructions on how to install android???
Does android offer the use of the line 2 facility like 6.1?
I notice the huge Hype with the launch of the G1 phone, can someone offer some screen shots of what it looks like on the diamond please???
cheers
Click to expand...
Click to collapse
no real screen shots...as it not really running RIGHT on diamond yet...
don't put this on and think your have a new all singing and dancing phone
YOU WON'T....NOT YET ANY HOW
has anyone.....
ok, your point that its not running at moment taken on board...
Has anyone had the idea yet to startup a directory for interested parties to be contacted to take part in trials - once its in the stage of being ready???
I would like to be considered, as i absolutely fully abuse all the facilities i have available to my via orange uk.
And do actively find the wm6.1 platform fails me seriously at times due to usage.
Development is open, just follow the important topic.
All I see is that this topic confuses people.
Bad idea starting this.
Riel said:
Development is open, just follow the important topic.
All I see is that this topic confuses people.
Bad idea starting this.
Click to expand...
Click to collapse
we agree to agree....your my new friend now
Delete this topic.
My cats breath smells like cat food.....
I see that this topic is confusing people already, this is mainly due to the fact 90% of the repliers DID NOT READ MY POST!
As I have stated before:
The basics still need to be worked on; input, output and storage.
People that only want to use Android should refrain from posting in this thread! I made this thread so digging in the old thread can be kept to a minimum, what gets added there I will try to add here too.
I just wanted to encourage people that know what they are doing with a headstart, I myself have been working with Linux since 1998 and reading the "delete this thread" posts really does not support encourage me to help you guys.
As for an example, some random programmer with a Diamond googles for Android and finds hey this might work on my phone (like happened to me) ... the next he will go trough hours of reading useless and outdated posts, not really helping you further.
Then you decide to read from the end back forward, even more useless posts are read and finaly you get a minimum set of files that works ... what now? No sources, no nothing to be found after reading beginning and end of the posts, so you decide to read the WHOLE thread and still NO progression after a full day of endless reading.
So my simple request was to summarize EVERYTHING developers can use to get started and NOT spend one day now or two/three days in the future looking at outdated posts and reinventing the wheel.
I for example did reinvent the wheel and started from the start of the thread, where I spend downloading the git sources from Andriod and started compiling ... same problem, started on output first ... framebuffer ... then I conclude lets start from the end and notice people already gotten something running ... NOT really helpful if you ask me.
So any mod, please delete all the useless posts in this thread. I have no problem with continueing in the old thread, but it will not progress us any further if its not cleaned up.
So people that only want to use Android, and have NO clue about Linux or programming PLEASE REFRAIN FROM POSTING HERE
So here is my summary of posts to be deleted:
4: Original thread is too long, doesnt help new developers start off where they should start.
5: Dont post in this thread, it will not delete WM6x.
6: Answer to post 6, dont post here unless you know what your doing.
7: Please dont formulate such questions here!
8: It does not work correctly, seams you just want to use Android and have no clue what your working with. Please do not post such questions here.
9: Please no learing here, learing can be done on other platforms.
11: It barely works, raw input and working output, some other major and minor functionallity is there but does not work correctly yet. Please dont ask these questions.
13: Trial and testing will be done trough progress, we dont need people that just want to use Android in this thread.
14: Sorry that it seems to confuse people, it is mainly due to people not knowing what this is all about and asking questions that should not be asked in the first place. Let alone they EVEN read every word here!
15: Good luck reinventing the wheel.
16: A webdesigner asking to close this topic ... not really helpful and discouraging.
17: Please remove yourself from this forum!
Thanks in advance.
ouch
...how to make and break friends in one single post
sorry this thread is only for the "special people"
us plebs must not comment in the thread...we have been told
THE END!

[Q] to all the dev's out there please answer.

now i know that there probably are many threads about this but i am interested in creating roms or becoming part of a team i have a little back ground in java and c++ and don't think im ready now just looking for some advice on what to learn so i can become a great help to the community. should i learn linux inside out or some other languages? please help guide me!!
Google "rom kitchen" and start from there.
Devs don't really come into the Q&A section very often. You're better off going to the #HTC-EVO irc chat. There's a few that hang out in there.
Dsixdia Android Kitchen.
Use it. It automate much of the process. Good for beginners and seasoned pros. I recommend Linux. It works best in that environment because on Windows you need cygwin to fake a Unix environment. Mac OS X will work also. I use mac and ubuntu, depending on what I need to accomplish.
Sent from my PC36100 using XDA Premium App

[Q] Modding or kernel mod ?

Hi, I am an android applications developer. I've been developing for a while now and i feel limited by the android library available. I would like to mod my galaxy nexus and modify the information available but I don’t know where to start.
I'm currently working with the signal strength libraries and the refresh rate is too low (i know its that way to be battery efficient) but for the needs of my application i need to boost that rate and to modify other. Should i look at modding the rom or modding the kernel directly for that kind of purpose? Any information on that subject is greatly appreciated
Alright so i'll assume you guys didn't understand what i am talking about.
I'm using android.telephony library. But the information it gives isn't accurate enough and the refreshrate of the listeners aren't precisse enough. Id like to modify it. But i'm not sure where to start. I've read a lot on internet but i can't find information about where to start. Can someone help me please ?
Yeah, I'm no expert, but that should be in the rom (radio interface layer).
Sent from my i9250
Hey thanks for the tip. I have read on ril and it might be about what I need. I'll be posing information about it if anyone needs it but googling ril gives pretty much all information needed.
This is hardcore hehe. I browsed trough all the ril libraries and i can't find the information. I really want to increase the sensitivity of the android.telephony.statelisterner and i am sure the hardware can dectect more information. It is just set like to prevent from battery drain... (imo)... There's not a lot of information on that topic. :S

Development

Howdy,
I'm interested in learning to develop Android applications. Additionally, I want to go beyond developing apps to getting deeper into kernel development and ROM development, etc.
So, presumably, this speaks to a larger question about what kind of training and resources do I need to get a comfort level? Where to begin?
I have a somewhat weak background in Java...I've taken some Java and Ruby courses. I understand the basics of program methodology at a rudimentary level. I'd like to learn some SQL as well. And, I'm honestly looking to make a career change in the future.
I enjoy working in Unix/Linux environments and have an amateur level of comfort with CLI in both Linux and MacOS. Although, I'm currently running in a Win7 environment and testing some Linux distros for suitability.
Thanks for any advice and guidance!
Sent from my Galaxy Nexus using xda premium
I guess this would be a nice place to begin
http://developer.android.com/training/index.html
Sent from my Galaxy Nexus using xda premium
who's best to give an advice on that matter than cyanogen himself :good:
http://forum.xda-developers.com/showthread.php?t=667298
Do all the tutorials on Google dev site like hello world. Search Google for tons of tutorials, they're everywhere.
Java for android framework and apps and everything. c++ for the kernel.
read all the roms GitHub each day, all the commits. Each rom thread lunks to their GitHub code.
RogerPodacter said:
Do all the tutorials on Google dev site like hello world. Search Google for tons of tutorials, they're everywhere.
Have for android framework and apps and everything. c++ for the kernel.
read all the roms GitHub each day, all the commits. Each rom thread lunks to their GitHub code.
Click to expand...
Click to collapse
C for kernel.
You're right, C for kernel. And up above I meant JAVA for android and apps, not "have". Damn auto correct.

[Q] A Question to ROM Devs...

Good day to you all!
Is it possible to have an increased RAM size by deleting some of the
APKs inside a particular ROM that the user deems to be unessential for his/her
phone's everyday functionality?
By increasing RAM size, I would also like to ask whether that would involve recompiling the kernel or something else would have to be done? Because, honestly,
I'm not that advanced of a GNU/Linux OS or Android user. I just know a few of the basics and then some .
I'm hoping somebody would provide me a detailed explanation regarding my inquiry, or at least, a link to a detailed explanation.
Pardon my rather, crappy, english, it's my 2nd language so...
Anyway, thanks a bunch in advance!

Categories

Resources