[REQ] Help me get european ROMS working on i9000N - Galaxy Tab General

Hi all,
Can someone with experience teach a Guatemalan electronics engineer (that's me ) who has worked for 15 years programming business and web apps mostly in C# how to build a kernel so that I can run my P1000N with european roms?
I have never worked with open source projects, but I'm willing to learn.
The first problem to solve is that when I flash a european rom I loose touch screen capabilities, so that points to a different driver being used.
Or maybe there is someone who can tackle this project?
Thanks!

first of all, which rom do you want to use?
is the source code for your device released?
do you have a linux workstation (virtual machine is enough)?
are you familiar with the linux terminal and its commands?

Landroid said:
first of all, which rom do you want to use?
Click to expand...
Click to collapse
For example Roto's
Landroid said:
is the source code for your device released?
Click to expand...
Click to collapse
Yes, searched on http://opensource.samsung.com/ for P1000N and already downloaded.
It's the difference with european kernel.
On the readme it lists:
< Platform >
1. Get Android open source code
: version info - Android froyo 2.2 (android-cts-2.2_r2)
( Download site : http://source.android.com )
2. Get GT-P1000 open source code
: GT-P1000_OpenSource.zip
( Download site : http://opensource.samsung.com )
Unzip it, then you will see the file GT-P1000_Platform.tar.bz2 which includes the platform source code.
3. Overwrite GT-P1000 Platform OpenSource to the Android open source.
4. Unzip GT-P1000N_Platform.tar that comes from the Latin American version.
( You can find GT-P1000N_Platform.tar in the same directory with this README.txt . )
5. Overwrite GT-P1000N Platform OpenSource to the Android + GT-P1000(European) Platform open source code.
6. Run build_latin_n.sh user/eng
$ ./build_latin_n.sh user
$ ./build_latin_n.sh eng
< Kernel >
1. Get GT-P1000 open source code
: GT-P1000_OpenSource.zip
( Download site : http://opensource.samsung.com )
Unzip it, then you will see the file GT-P1000_Kernel.tar.bz2 which includes the kernel source code.
2. Unzip GT-P1000N_Kernel.tar that comes from the Latin American version.
( You can find GT-P1000N_Kernel.tar in the same directory with this README.txt . )
3. Overwrite GT-P1000N Kernel Open Source to the GT-P1000(European) kernel open source code.
4. Run build_kernel_latin_n.sh
$ ./build_kernel_latin_n.sh
* Output files
- Kernel : Kernel/arch/arm/boot/zImage
- module : Kernel/drivers/*/*.ko
* How to Clean
- run build_kernel_n.sh Clean
$ ./build_kernel_n.sh Clean
* How to make .tar binary for downloading into target.
- change current directory to Kernel/arch/arm/boot
- type following command
$ tar cvf gt-P1000N-kernel.tar zImage
Landroid said:
do you have a linux workstation (virtual machine is enough)?
Click to expand...
Click to collapse
I'll install a VM, is Ubuntu ok? or do you have suggestions of something that will work better?
Landroid said:
are you familiar with the linux terminal and its commands?
Click to expand...
Click to collapse
Somewhat rusty...
So, I know what a kernel is but in Android what is refered as the Platform?
Thanks!

platform is for example android 2.2 froyo
and you are going to do exactly what uyou have read in this readme file its not so hard to do

Hi, did you manage to flash any Rom ?

Related

Problems compiling apps for Universal under Linux

Sorry for a lame question, but i've got a problem. I've compiled a simple hello-world application using arm-gcc 3.4.3 (compiled under x86 linux using gcc compiler for ARM) with default settings. When I was trying to start it under Universal, I got the message 'Invalid instruction' (or something like that).
Please provide me with a working example (command-line arguments for building and etc) or some instructions on build process, if anybody has one.
Thanks.
bazis said:
I've compiled a simple hello-world application using arm-gcc 3.4.3 (compiled under x86 linux using gcc compiler for ARM) with default settings.
Click to expand...
Click to collapse
You don't tell where does the gcc-3.4.3 come from.
With the 3.4.1 stadalone toolchain from
ftp://ftp.handhelds.org/projects/toolchain
it is just
Code:
/usr/local/arm/3.4.1/bin/arm-linux-gcc -o hello hello.c
If you want to compile GUI apps or big packages, then you should read
http://www.openembedded.org/wiki/GettingStarted
I downloaded it from www.gnuarm.com. It worked OK when compiled ROM images for my ARM7TDMI-based boards.
Thanks for the link, I'll try it today.
And, finally, another lame question: did anybody tried to build gcc 4.1 for cross-compiling from x86 to ARM? Or it is possible to use the script from the FTP to build it?

Cross-compiling, what am i doing wrong

Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Richard_Xeli said:
Hello!
as the title indicates I am having trouble cross-compiling. hello world compiles perfectly but bigger programs just wont give in..
I downloaded the android source from git and compiled just the way the website (http://source.android.com/download) says you should (is there anyway to verify that its compiled correctly?)
Then I use the agcc python script(http://plausible.org/andy/agcc) for the linking but when i compile i always get trouble about it not being able to find certain defined fields or other types. So basicly i followed the second part of what this wiki says (eventough using a toolchain from codesourcery for example and cc staticly. It also fails...)
What im really asking is how and what do you guys use to cross-compile to android?
Click to expand...
Click to collapse
Hello,
i am having problems with the linker too! i am using the NDK (because it actually does C / C++ code) and the code compiles with very few warnings on some instructions but works well otherwise, it just WOULD NOT LINK the stuff together!! one interesting setting i noticed in some public makefiles for the NDK i noticed is that they actually set the linker to /system/bin/linker, which is obviously a file on the target device. but i don't know how it would access it? any ideas?
BTW: post your error(s) please
Try this
The system won't let me post a link (as a new user), however there is a really good tutorial on native android development and debugging using the AOSP build system. Search on Aton International Incorporated and click on blogs in the menubar. I am in no way associated with the company, just happy to finally be able to cross-compile, link and debug for android.
Maybe someone who has more posts could post a link here.
http://www.aton.com/android-native-development-using-the-android-open-source-project/

Poking around the Source Code

I am trying to find information on how to poke around my own phone's source code (if possible, Sprint HTC Hero) and also the Android Source Code which is downloadable.
I'd like to see how the apps look, and how I could change them. I also want to know how to go about editing and loading that source code up on a phone.
Is this possible with my phone? Or do I need a special phone to do so? I'd like to know how these folks are going about creating these special ROMs for phones, and how someone can edit it to their liking, and then compile it for a specific device.
source.android.com is where you should find what you need.
I did find that, and it works someone, but the address isn't right, and for some reason I can't install an older version of Java on my Ubuntu VM. Maybe because it's 10.4? Has anyone else been able to download the source code via Google's instructions? On a newer machine?
sstrickland816 said:
I did find that, and it works someone, but the address isn't right, and for some reason I can't install an older version of Java on my Ubuntu VM. Maybe because it's 10.4? Has anyone else been able to download the source code via Google's instructions? On a newer machine?
Click to expand...
Click to collapse
If you add the Jaunty repositories to your sources.list file you should be able to download sun-java5-*
If i find the exact apt lines I will post them later.
Another thought - Switch to Debian Lenny - I switched from Ubuntu after I upgraded to 10.04 and absolutely hated 10, but I am loving Lenny.
EDIT:
add
deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
to your /etc/apt/sources.list
then do
apt-get update
apt-get install sun-java5-jre sun-java5-jdk
Thanks for the update, I'll try that and see how far I get.
From what I gathered, Ubuntu was the only supported Linux operating system that I'd be able to get the source code of Android for...
I understand that the size of Android is so massive, an organized way to download it is necessary, but why isn't this just simple like FTP access?

[Q]andriod kernel of mega is same like wildfire by proof!!!

http://htc-linux.org/wiki/index.php?title=Mega
i read that the kernel is same wont that help porting andriod with respect to some drivers change!!!
no one answered
the problem is our first developer can't keep the android project...
hi
how can i debug this files and run???
currently I'm trying to cross-compile a most recent wildfire kernel I found on htc server using a configuration I personally made for our mega. The problem is there are many errors in the source code...
re.:
In my opinion we start build android from beginning. My problem is in my OS on my PC. I have Windows XP and building and modifing found only on Linux. I find this page with porting guide. It is step by step How to create boot screen, How to setup Connectivity...
source.android.com/porting/bring_up.html
On this page are programs for debug and download android source code...
Anyone write.
Move to general as not rom development
I'm using linux, this is why I want to try to cross-compile a kernel for our device, like I just said, source code has a large number of errors, I don't know why...
if you are interested, I can share the kernel configuration I made myself...
Now I install Ubuntu 10. It was compilation found in this version of Linux??? Where programs can I download? Now I have Git, Eclipse and Python 2.7. How can I install .tar packs on Ubuntu zito882000?
if you are new as a linux user it's quite difficult to explain, you need gcc plus the same programs a normal user has to compile a kernel.
The difference is in the way of compilation, a parameter that does a compilation for arm architectures....do you have some kernel compilation experience?
re.:
zito882000 said:
if you are new as a linux user it's quite difficult to explain, you need gcc plus the same programs a normal user has to compile a kernel.
The difference is in the way of compilation, a parameter that does a compilation for arm architectures....do you have some kernel compilation experience?
Click to expand...
Click to collapse
windows is gold.
with compilation i haven't any experience. I only begin in programming languages C, C++ and VB. I compile only my apps in visual studio. And i have nice experience with photoshop.
it isn't exactly the same thing, in a kernel you have a large number of drivers to compile, not a only one program...
Here cyberciti.biz/tips/compiling-linux-kernel-26.html you can find a simple guide!
The most important part is the command "make" that need some different parameters to do a cross-compilation for ARM processors ^^
thx
I saw the instructions and understand him. If I somehow help you write to my icq: 484038954 or Skype: vasek-smekal.
So far, thanks
I just bought an HTC Hero with native android.
If you want to try again I share with you my kernel configuration file and a link where you can download the kernel source I used.
(remember to rename "config.txt" in ".config" with the point and without the extension)
KERNEL SOURCE -> http://developer.htc.com/ (must choose "HTC Wildfire - Froyo - 2.6.32 kernel source code")
ARM LINUX GCC -> http://www.handhelds.org/download/projects/toolchain/archive/arm-linux-gcc-3.3.1-030820.tar.bz2

[Development] BadaSI

BadaSI​​​​System Information and Benchmark Tool​​​
Preamble
- News
BadaSI is a community project, everyone is invited to help on the developement or to post some new useful ideas. Also everyone who helps will be shown in the About part of the app as Team-Member. This App aims to show every usefull information about the system, to offer some benchmarks and a better user experience while using it. At the other side BadaSI is also aimed to help new developers, to dive into the bada world and start developing Apps. There is a big usefull collection throgh many API functions from the bada SDK and offers for every new developer some usefull examples that could help in hard times.
Information
- AppStore
For user that don't wont to test it, the currently official release is also available in the AppStore:
BadaSI available for all countries
- Disclaimer
The inofficial version of the App under developement, and should be used only by Beta-Testers, which don't mind, that the Device could crash after using it. Everyone should think about it before installing the App on the Device. Also no warranty or anything else is guaranteed, use it at your own risk.
- How to use?
Bind the Project in the bada SDK:
1. Install the newest Bada SDK [recommendet is the standard installation]
2. Start the Bada SDK
3. File --> Import --> bada Application Projekt --> Select Root Directory [Path of the Project Folder]
4. Confirm with Finish
Clean and compile the Projekt:
5. Right-Click on the Project Folder
6. Press Clean Project
7. Choose the Arrow-Down-Symbol next to the Tools-Symbol
8. Press Target Release
Prepare the Device:
9. Copy the attached rootCA.cert on the Card and execute it
10. Enable USB-Debugging [unter Settings --> Connections]
11. Connect the Device to the PC over USB-Calbe
Install and test the App
12. Choose the Arrow-Down-Symbol next to the Play-Button
13. Press Target-Release
Epilogue
- Announcement
The Source Code is open source and free for every developer, only the whole App, as it is, shouldn't be published as a copy of it. I am working togheter with a designer, all images are copyrighted by him and should not be used for third party apps. The changelog is always in the packed integrated.
- Current Official Build 1.0.0.201104152000.rc2
- Current InOfficial Build 1.0.0.201104152000.rc2
I have uploaded a newer alpha version here:
http://www.sammobile.com/forum/showthread.php?t=3073&p=19540&viewfull=1#post19540
Sorry i don't have time to upload it also here, but i will in the next days, xda users can also test as before .
larioteo said:
I have uploaded a newer alpha version here:
http://www.sammobile.com/forum/showthread.php?t=3073&p=19540&viewfull=1#post19540
Sorry i don't have time to upload it also here, but i will in the next days, xda users can also test as before .
Click to expand...
Click to collapse
Just Tried.It works Very well.and About Ram is perfect.And New Section Uilities When avaialable ?
The new section will also come soon, i want to build in some usefull things like compass and so on, the sensor data will stay as it was but a compination of them will come under utilities. I must think about it what is very usefull and can be part of the app. Maybe also a waterlevel.
Second, the gui will change a little bit i want to built in instead of the words on or off supported and unsupported some images that are more clear. making it a little bit more suiting to the 20 centure.
wave wifi direct supported or not?? i asked because i saw some knowledge about that beforehand and it was about ''supported''
It is defined in System Info as i saw definitely no. If the OS says no than i believe it.

Categories

Resources