[Q] request for a guide to run any Distro from scratch on HD2 - HD2 Ubuntu Q&A, Help & Troubleshooting and General

i dont really knw if its out there,bt i couldnt find it
i want to run redhat on my HD2 as m learning linux on it in my college,i found plenty of guides for several destros here,bt i couldnt find anythin abt redhat
now since i dont wanna ask any of the already busy xda developers to make one just so that i want it, can any1 PLEASE upload an universal guide to run ANY linux distro on hd2?? it wld be helpful to every1
thank you very much(for all the things my hd2 can do ryt now,and will be able to do in future coz of xda )

First, you need RedHat support ARM
Second, compile your own kernel...

ok thanks,so ubuntu that these mighty helpful developers of xda have uploaded was compatible with arm7??
i can try my hand on kernel i think....

Sorry for late answer, but this might be helpful to someone.
HTC-Linux wiki has guide on running any gnu/linux you want on HD2. You just need to replace Ubuntu rootfs with one of your desired distro.
(I would post a link but have written too few posts. So just google "htc-linux.org" and search for page Ubuntu/Leo)

Related

[Q] Android ROM Development Help

To answer the question that everyone is thinking as they click on this thread... Yes, I am a noob.
Anyway, I downloaded the Android Kitchen and installed it on a Linux Ubuntu Virtual Machine on my Macbook using VMWare Fusion and i watched a video from theunlockr, but all it really let me do was add in apps, change the rom name and give it a few features but no visual customizations... If i posted a link of the "My ROM" no one would be able to tell a difference in the rom i planned on starting from.
Let me know if there is a different way to create that is actually making ROMs or customizing the ROM in it's entirety instead of small unnoticeable features, let me know if I'm just doing something wrong in my Android Kitchen and let me know if theres an easy way to develop ROMs on Mac without Virtual Machines. (The last one isn't a big worry because linux is very lightweight and runs fine on my computer but please help me on the other two questions)
Thanks in advance,
AdamFerg

Install ubuntu in xperia x10

HI Friends,
Im new to installing emulators and ubuntu in xperia.
I have seen many posts regarding installing backtrack ubuntu and stuff.
I think this is a awsome things that surprises all my friends at work.
So i want to install ubuntu in my rooted Xperia...Please let me know the better version of ubuntu and installation procedure.
Thank you
Why you wana lose the best android system I never saw ubuntu on X10.
follow this thread for ubuntu:
http://forum.xda-developers.com/showthread.php?t=1028464
also I recommend you give backtrack a try, I've installed it and it's awesome:
http://forum.xda-developers.com/showthread.php?t=1074169
I haven't install ubuntu myself but installed backtrack & the procedure is pretty easy, if you had any questions about it don't hesitate to ask
Thank you mate......i will install and wil get back to you if i face any issues....

[Q] How to develop ROM?

Hi,
I want to know how can I make my own ROM using paul's ICS sources or build it from the CM9 sources, which software I need to use and is this tut good for beginning?
www(.)theunlockr(.)com/2010/03/26/how-to-create-your-own-custom-rom-for-android-part-1-setting-up-the-kitchen/?
PS: I also want to add the reason why I don't contact with paul is that I wanted to learn & develop it only for me & mine friends
Ofc. for X8 and on nAa kernel ;3
do you know JAVA atleast?
EDIT: wait, you want only to make the build, or to work on the rom and on the source?
EDIT2: Wrong section btw, you should asked on Q&A's
Java on basic level, I do not know any of it's APIs but I can learn them ( I don't know Android API too )
C/C++ on intermediate level
First build it from source, after successful modify source and compile ROM.
MOD: Please move to Q&A if possible, thanks.
You could read my thread (look at my signature). I wrote all the stuff you need to know of ROM-compiling. There's also a thread about kernel making.
eagleeyetom said:
You could read my thread (look at my signature). I wrote all the stuff you need to know of ROM-compiling. There's also a thread about kernel making.
Click to expand...
Click to collapse
Dzięki
Thanks at all, you got the point. I'll try to compile it using yours tut and post result here And one more thing, developing CM9 for X8 build for which phone i need to base on? And where I can get hmmm... X8 Driver sources? Adreno libs and others?
Right now we don't have sources for X8. You need to port most of libs. You could also paul-xxx's drivers from his github. Good luck If you have some questions PM me, I'll help if I'll be able to.
NeveHanter said:
And one more thing, developing CM9 for X8 build for which phone i need to base on?
Click to expand...
Click to collapse
doixanh based his GingerDX ROM - based on Gingerbread - on the Hero source tree. If I recall correctly I read somewhere that a CM9 port to the HTC Hero exists; that might be your best shot as the phone is about the same specs as the X8.
And as eagleeyetom wrote: You either use paul-xxx's drivers or you reverse engineer the Eclair drivers and write them anew from scratch (if your thought was going into the direction of the kernel) - there's no CM9 port for the X8. Your best option would be to try and find devices having a matching hardware component and porting the drivers from there - but chances are pretty slim that other phones use the same hardware SEMC stuffed into the X8.
---------- Post added at 09:13 PM ---------- Previous post was at 09:03 PM ----------
Update: paul-xxx also maintains a GIT repo with a msm7227 kernel ...
paul-xxx / semc-kernel-msm7227-ics
EDIT: Along with some other interesting repos ...
- android_hardware_qcom_camera
- Xperia-TI-Wlan
- android_device_semc_msm7x27-common
These three at least seem to relate to the X8 "Shakira"
Thanks all for help, now I have some basic workaround with this
And one off topic question
ICS is running on 3.0.3 kernel, yes? So why we don't try to port it for X8 and using old 2.6.xx?
NeveHanter said:
And one off topic question
ICS is running on 3.0.3 kernel, yes? So why we don't try to port it for X8 and using old 2.6.xx?
Click to expand...
Click to collapse
It seems the genuine Google AOSP ICS is running Linux 3.0.8
Porting the Kernel might turn into a huge effort. The ABI of 2.6.29 and 3.0 are not really compatible, so the kernel drivers would need to be ported to the CM9 3.0.x series - in case a simple patching them into the kernel tree and trying to compile bombs out with tons of make errors.
Apart from that - the main problem with ICS on the X8 is that a whole lot of devices can't use a custom kernel as a change in the hardware (devices of 11W29 and newer) prevents boot loader unlock.
We could try to see if the CM9 kernel could be slapped into shape ... I got a Quad-Core Phenom II to tackle that task - if someone wants to help out in the research if some msm7227 / Shakira specific parts would need to be patched into the source tree because they aren't part of it.
EDIT: Even the official CM repo uses Linux 2.6.37.6 as their kernel, and the progress on the FXP Kernel seems to have come to a halt; at least I can't see any new stuff in the -shakira repos.
LG GT-540 has ICS on 2.6.35 kernel. Maybe we could try to port Arc's kernel. Maybe this one? Recommend me some C/C++ books to learn basic stuff
You want this book's in english or you prefer in our native? ;3
eagleeyetom said:
Recommend me some C/C++ books to learn basic stuff
Click to expand...
Click to collapse
This is a rather tricky question ...
If you do as I did simply Google up a C/C++ Reference/Tutorial (i.e. http://www.acm.uiuc.edu/webmonkeys/book/c_guide/ or http://www.cplusplus.com/doc/tutorial/) and get going ... you already got gedit to code up .c files, and gcc is also part of your Linux distro to try and compile your "hello_world.c" You could also Google for Online Classes (in the like of http://www2.its.strath.ac.uk/courses/c/) and pick whatever suits you.
However, if you want to read real books ... look through the offers of Addison Wesley and pick what you think is the best book for you. You could also hit up your closest public library and see what they have in store (may be cheaper than buying in case you don't have much money to spend) - or, in case you study, you may want to look into your University's library.
Of course you could also start off with the usual "C/C++ for Dummies" or "Teach yourself <whatever> in 7|14|21|30 days"
Polish would be awesome ;P
Best, simply writed polish C/C++ tutorial, one of the best www(.)warsztat(.)gd/tutorials.php?x=category&id=18
In adddition you can search for ( it's a big ebook ) Symfonia C++ Grębosza ( Symphony in C++ ), you can find it on chomikuj.pl but if U want I can upload it somewhere for you
And if you will have any problems with C/C++ you can write to my GG number 10037533 or PM me here

[Q] test roms on emulator

Hi,
I would like to test the roms I can find here, on an emulator.
for that, I will need something like the SDK for the Acer tablet A500.
(to build my AVD)
I can't find it. anyone have an idea where I can find it ?
thanks
Olivier
http://lmgtfy.com/?q=android+sdk
ah ah ah . so fun )
unfortunatly, it is not provided by google !
I know well the android SDK, I am talking about a small part which is sometime provided by constructor in order to help the developper to build application with android SDK.
for example, Sony provides the SDK part for some of its device. it has to be added to the android SDK.
I think it could comes from Acer, or developer who has it because they are working near or far from this (in the same way, the Leak comes from someone which is near from developer team)
I am still looking for that.
thanks
Olivier
Im totally confused as to what you are looking for.. If its reference sdk from acer . They have not provided this.. I think its something they provide to google then google adds it to the sdk. or acer will provide a repo to add to your sdk.
now here is what setup i have..
1 download the sdk tools from developer.android.com/sdk i think is the url (use search )
2. download eclipse (there is a link on the developer.android.com site)
3 download the correct FULL Java library abe sure to read the requirements on the version of eclipse you use for what jave version you need )
4 Read read READ .. Read the how to install sdk development environment in Eclipse for your EXACT OS . Pay close attention to every detail. like is is x86 x64 and so on.
5 Follow the instructions word for word on again the install and setup for android development platform for your OS Version.
This is what i use as well as CYGWIN (this is for advanced users) As well as there are other tools that make developing much easier. YES IM NEW TO all of this as well.But have learned alot over the last year.
The above only gets you ready. Once you get to this point . KEEP . WELL YOU KNOW THIS Part already KEEP READING.. in a few weeks you will on your way.
GOOD LUCK developer.android.com has everything your asking and beyond.
If any of the above is incorrect Blame it on developer.android.com or the mighty thor. god of the universe..

[Q]Which linux OS the the best to create custom roms for our phone ?

Hey everyone, everything is in the title. I recently installed Ubuntu 14.04 via VirtualBox, and now i would like to start create some roms, after a long time spent in front of the developement section. Today i would like to see my name in this section, so i need advices about which linux should i get ( if Ubuntu is not the right distribution ) and the tools you use in Linux to make wonderful roms !
Thanks everyone
I see Biel and savie using Ubuntu, so why not?
OxygeenHD said:
Hey everyone, everything is in the title. I recently installed Ubuntu 14.04 via VirtualBox, and now i would like to start create some roms, after a long time spent in front of the developement section. Today i would like to see my name in this section, so i need advices about which linux should i get ( if Ubuntu is not the right distribution ) and the tools you use in Linux to make wonderful roms !
Thanks everyone
Click to expand...
Click to collapse
Ubuntu/Linux dist is required to build a project from a source code, and it requires a pro to build and debug a project/ROM frm source! To make a simple/normal custom, you may even use Kitchen(in Cygwin for Windows) or even in Linux!
For ur question, Ubuntu is better choice!
Ubuntu is not a must,but its easy because it have the most tools preinstalled for this.
GREEETZ FROM TEAM-OPTIMA!!!
@lionelsuyog for now, i simply want to build a custom rom basedon stock or CM. not a complete project from souce ( not enough experience ) 
 @-CALIBAN666- Do you have some tuts in mind to help me to start training ?
Thanks
OxygeenHD said:
@lionelsuyog for now, i simply want to build a custom rom basedon stock or CM. not a complete project from souce ( not enough experience )
@-CALIBAN666- Do you have some tuts in mind to help me to start training ?
Thanks
Click to expand...
Click to collapse
if you are not building from source all you need is
apktool
java jdk
android kitchen
cygwin (if using windows)
notepad++
winrar
There are many guides - best you do some searching for example
http://forum.xda-developers.com/showthread.php?t=1801690
Well theming a custom ROM takes a lot of time and for completing the work on time you obviously gonna need some niggas to help you in your work.Well if you have a good internet connection then you can sync up sources and compile ROMs like Carbon,Pac or AOKP Kitkat for this device since we're getting closer to a stable CM11.There are a lot of guides on how to sync a ROM source code on the computer.Search down the threads and start syncing.

Categories

Resources