Kernel Header File?? - HD2 Ubuntu Q&A, Help & Troubleshooting and General

Hello
I want to add something in my header file, where is it located?
Do i need recompile my kernel? Any instructions/tutorial?
EDIT:
I may not only need edit header! Anyone could tell me how to add SysV IPC to my Kernel?
Thanks.

hopkinskong said:
Hello
I want to add something in my header file, where is it located?
Do i need recompile my kernel? Any instructions/tutorial?
EDIT:
I may not only need edit header! Anyone could tell me how to add SysV IPC to my Kernel?
Thanks.
Click to expand...
Click to collapse
look up htc-linux.org.
to get and install the headers (default is on the host /usr/src/kernel)
make ARCH=arm CROSS_COMPILE=/path-to-toolchain/bin/arm-linux-gnueabi- install_headers_all <path_to_install>
plopper

plopper said:
look up htc-linux.org.
to get and install the headers (default is on the host /usr/src/kernel)
make ARCH=arm CROSS_COMPILE=/path-to-toolchain/bin/arm-linux-gnueabi- install_headers_all <path_to_install>
plopper
Click to expand...
Click to collapse
DELETE...
I can download the sources by the phone(70-80 Kib/s), but computer is 1Kib/s lol

What toolchain should i use???
Also, will chromium-browser(arm) will work on hd2?
Thanks.

hopkinskong said:
What toolchain should i use???
Also, will chromium-browser(arm) will work on hd2?
Thanks.
Click to expand...
Click to collapse
toolchain info
chrome for arm
plopper

plopper said:
toolchain info
chrome for arm
plopper
Click to expand...
Click to collapse
lol.. think you have a bit misunderstand me...
ok, i think i'm wrong, i want to ask "which" toolchain should i use...
in the startguide:
CROSS_COMPILE= env var is important. read more about it on toolchain page.
Click to expand...
Click to collapse
i goto the toolchain page, and there are few toolchain(codesourcery, gentoo, etc.), which one should i use?
thanks.

Problem sloved, another question have posted...
**PS: i didn't open THIS post also because of the chrome browser, now, i didn't use your link(cuz it need to compile a new chromium browser), i have used the normal arm chrome browser release...

Related

Where can I get the ROMs?

Hi,
Does anybody know where can I get the ROMs? FTP is of course empty...
rapoidshare? torrent?
Thanks,
Micha
www.our-xda.co.uk
l6cum said:
www.our-xda.co.uk
Click to expand...
Click to collapse
Tnx dude, but there are no links on the site. Am I missing something?
The link are on the top of the page and you must have installed Java VM in your pc in order to see the menu...
16cum,
Why do you prefer Java over regular html links?
djsolid said:
The link are on the top of the page and you must have installed Java VM in your pc in order to see the menu...
Click to expand...
Click to collapse
OK, got it, tnx.
jackey said:
16cum,
Why do you prefer Java over regular html links?
Click to expand...
Click to collapse
the site was kindly designed by djsolid and he created the website the way it is today with all the description of all roms and ext roms etc.
i just provided the space.....

Decompile and Compile Kernel ROM

Can anyone with a good heart here decompile the kernel attached below and edit the init.rc file in it..
please add the com.htc.framework before the framework.jar
and then recompile again and attach it here please..
Thanks You!..
anyone please!..
I think this is what you wanted. In init.rc, I replaced the line:
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
with:
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/com.htc.framework.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar
YES! thank you so much!..
how did you do that?..
would really appreciate if you can teach me how..
because there is missing that i forgot to add.. sorry
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/com.htc.framework.jar:/system/framework/com.htc.android.pimlib.jar:/system/framework/com.htc.android.easopen.jar:/system/framework/com.scalado.util.ScaladoUtil.jar
if you have sometime again that you can offer to me, please add/make my BOOTCLASSPATH like above.. i promise that it would be the last one.. THANKS!..
I assume English is not your native language. I'm not sure what you are asking. Do you want me to completely replace the BOOCLASSPATH in your boot.img with the one above?
As for how I did it, see this thread:
http://forum.xda-developers.com/showthread.php?t=551711
Gene Poole said:
I assume English is not your native language. I'm not sure what you are asking. Do you want me to completely replace the BOOCLASSPATH in your boot.img with the one above?
As for how I did it, see this thread:
http://forum.xda-developers.com/showthread.php?t=551711
Click to expand...
Click to collapse
Yes, thats what i want to do boss.. can you made it for me again?.. thats the last one.. i forgot the other framework to include..
thanks!..
GreatWizard said:
Yes, thats what i want to do boss.. can you made it for me again?.. thats the last one.. i forgot the other framework to include..
thanks!..
Click to expand...
Click to collapse
OK, here it is.
Gene Poole said:
OK, here it is.
Click to expand...
Click to collapse
oohh!!.. thank you boss!.. thanks for you time decompiling, editing and compiling just for me..
really appreciate what you did..
your the man!
Gene Poole said:
OK, here it is.
Click to expand...
Click to collapse
hi, i dont speak english, but i find this thread for google, man really need add etc/inidt.d to mi stock kernel but dont know how! i have only windows, and the other guide not work for me, can u help me?

[app]JAVA solution for phones with no JAVA

after all my hard work and no one helpong me i have done the update.zip to enable java on any phone most likely tried it on my HTC Desire with RCMix HD Rom that doesnt have the JAVA app in it
u can download from the attachments...
Sure guys u need RoOt
NOTE: DO Nandroid & Flash on your own Risk... but most important its working please test
Thanks too TheGhost1233 giving me one hint
if u like this just give me stars thanks
tnx bro ... that's amazing
JAVA is important
5 stars ..
l3zawi said:
tnx bro ... that's amazing
JAVA is important
5 stars ..
Click to expand...
Click to collapse
How is java important, android is based on java, an .apk is just a modified .jar and there are tools to change a .jar into an .apk so a jre or java vm isnt required
Nice. Can this use for website that require java applet security?
Sent from my HTC Desire using XDA App
java is very important for me thanks bro....
coolexe said:
java is very important for me thanks bro....
Click to expand...
Click to collapse
you r welcome
l3zawi said:
tnx bro ... that's amazing
JAVA is important
5 stars ..
Click to expand...
Click to collapse
AndroHero said:
How is java important, android is based on java, an .apk is just a modified .jar and there are tools to change a .jar into an .apk so a jre or java vm isnt required
Click to expand...
Click to collapse
this app can let u use any file that has a .jar or .jad ending and it has lots of usefull apps that u can u
najar360 said:
Nice. Can this use for website that require java applet security?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
i dont knw about that give it a try and tell me
overall this app is to make it easy to use java files so have fun and plz report if there is anything wrong i can do
thanks for this
but it doesn't seem to integrate into the browser.. i flashed it and went to java.com and it couldn't confirm that i have java installed. not sure if this was your goal, but it would have been awesome
omniwolf said:
thanks for this
but it doesn't seem to integrate into the browser.. i flashed it and went to java.com and it couldn't confirm that i have java installed. not sure if this was your goal, but it would have been awesome
Click to expand...
Click to collapse
:s that is something else this app is just to let JAVA files or apps work on the phone
Why is there no java.apk in this zip file? Also, recovery throws up an error: Unable to find "system/customize/MNS/52099.xml" in Manifest file or something like that when tried to flash this zip..
I get an error for a missing file system/customize/MNS/52099.xml and then it says verification failed... anyone know how to fix this
ashkool said:
Why is there no java.apk in this zip file? Also, recovery throws up an error: Unable to find "system/customize/MNS/52099.xml" in Manifest file or something like that when tried to flash this zip..
Click to expand...
Click to collapse
There is ... in sdext and then app_s
New update
K so i made this updated Java update that should work on everyone else's thats giving the error that it gave me so test it out and always do nandroid backups!!
how exactly do i use that once flashed? i have a .jad file but it wont work...the only way i've got it work is with foundation profile midp installed, and that is very ugly. not even sure about security since i want to use it for m-banking?
works on CM RC2 ?
Sorry , Mistakenly Posted.

edit init.rd

Hi, i wanna edit my init.rd (tytungs kernel) but how i can edit/write on cpio file.
OS: Ubuntu 10.10
sorry if its the false SUB.
Underground Sound said:
Hi, i wanna edit my init.rd (tytungs kernel) but how i can edit/write on cpio file.
OS: Ubuntu 10.10
sorry if its the false SUB.
Click to expand...
Click to collapse
Which file? Any file is best edited with notepad ++ for windows and gedit on Ubuntu
Sent from my HTC HD2 using Tapatalk
elesbb said:
Which file? Any file is best edited with notepad ++ for windows and gedit on Ubuntu
Sent from my HTC HD2 using Tapatalk
Click to expand...
Click to collapse
i wanna edit the kernel from tytung (or so) but cant edit .cpio files :/ in the init.rd is a second init.rd file the second one is .cpio format and cant edit with any program.
Underground Sound said:
i wanna edit the kernel from tytung (or so) but cant edit .cpio files :/ in the init.rd is a second init.rd file the second one is .cpio format and cant edit with any program.
Click to expand...
Click to collapse
Well, kernel's cant be editted, they are built from source code which is C language. What exactly are you trying to accomplish? What is the expected outcome?
elesbb said:
Well, kernel's cant be editted, they are built from source code which is C language. What exactly are you trying to accomplish? What is the expected outcome?
Click to expand...
Click to collapse
ah, ok. i wanna edit dhcpcd et0 to dhcpcd but cant save it cuz no support to cpio.

Contributing to Paranoid Android

Contributing to the project
All submissions must be made via gerrit
Prerequisites:
Sign up at gerrit.paranoidandroid.co
Create a username on gerrit (Account Settings -> HTTP Password)
Register your public ssh key (Account Settings -> SSH Keys)
Set your gerrit username on your local machine using:
git config --global review.gerrit.paranoidandroid.co.username “username” (no quotes)
Click to expand...
Click to collapse
There are two options available for uploading your changes to gerrit (Repo Upload or Git Push).
Note: Linux is case sensitive, the items below are written as they should be in terminal
Repo Upload
repo start <branch> <path to repo> | example repo start haloStuff frameworks/base
cd to your working folder | example cd frameworks/base
Make your changes¹ (manual edits or cherry-picked commit)
Stage your changes using: git add <path to files changed> | example
git add packages/SystemUI/src/com/android/systemui/statusbar/halo/Halo.java
Alternately, you could stage all changed files using: git add .
Commit your changes² using: git commit -a
repo upload <repo name>
Click to expand...
Click to collapse
Git Push
The same steps as above apply up to and including performing your local commit.
Replace the repo upload (final step) with the following:
git push ssh://(gerrit username)@gerrit.paranoidandroid.co:29418/AOSPA/(repo name) HEAD:refs/for/(branch)
git push ssh://[email protected]:29418/AOSPA/android_frameworks_base HEAD:refs/for/jb43
Click to expand...
Click to collapse
How to update commits in gerrit:
Ensure your previous commit submission or the commit you wish to update is at the head of the given repo tree
Make your updates/changes
git add -A
git commit --amend
Append your changes to the description (Do not remove the change-Id from the previous commit)
Use: git push ssh://(gerrit username)@gerrit.paranoidandroid.co:29418/AOSPA/(repo name) HEAD:refs/for/(branch)
Click to expand...
Click to collapse
** Before uploading anything, please build and test your changes.
1* - If you're cherry-picking a commit that has not gone through a change-Id process, you will not be able to upload it. Simply attempt to upload and when it errors, a change-id will be suggested. Add this Id to the bottom of your commit by amending your original commit statement and then proceed to upload.
git commit --amend
2* - The following format should be used when making your commit statement.
Single project commit example
Short descriptive summary (50 characters or less)
<blank line>
Followed by a more detailed explanation of what you changed and why it was changed.
Bullet points should be used where necessary.
* Denoted either by an asterisk (*)
- Or by hyphens (-)
Click to expand...
Click to collapse
Optional: Include a link to a screenshot, if your change has some visible impact.
Multi-project commit example - Each commit should be numbered [x/y]
[x/y] <Component> : Short descriptive summary (50 characters or less)
<blank line>
Followed by a more detailed explanation of what you changed and why it was changed.
Bullet points should be used where necessary.
* Denoted either by an asterisk (*)
- Or by hyphens (-)
Click to expand...
Click to collapse
Optional: Include a link to a screenshot, if your change has some visible impact.
Best Practice
It is good practice to retain original committer's credentials, such as making sure the commit author is directed to their github username. Also, documentation of where coding came from if cherry picked would be greatly appreciated (provide direct links where possible).
If your are aware of who the original author is but your cherry-pick does not contain this information, you can fill in the original author name by using
git commit --amend --author "FirstName LastName <[email protected]>"
Click to expand...
Click to collapse
Commit Examples
Single component:
https://gerrit.paranoidandroid.co/#/c/158/
Multiple components:
https://gerrit.paranoidandroid.co/#/c/233/
https://gerrit.paranoidandroid.co/#/c/232/
PA-Gerrit How To by @ayysir
*Reserved*
It should be noted that not all repos in AOSPA's Github are under Gerrit Code Review at the moment. If you do not see the repo in the project list please continue to submit as a pull request for the time being to AOSPA.
Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk
Chirag_Galani said:
Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk
Click to expand...
Click to collapse
I'm not quite sure if it can be changed
Anu6is said:
I'm not quite sure if it can be changed
Click to expand...
Click to collapse
Have a look here:-
https://groups.google.com/forum/#!topic/repo-discuss/DijhrjUnJyU
Chirag_Galani said:
Have a look here:-
https://groups.google.com/forum/#!topic/repo-discuss/DijhrjUnJyU
Click to expand...
Click to collapse
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron
Anu6is said:
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron
Click to expand...
Click to collapse
Thanks a lot @Anu6is Hoping for a positive reply
Sent from my GT-P3100 using Tapatalk
Anu6is said:
Requires an Admin with database access.
May be easier to update your local username...i'll try to contact Aaron
Click to expand...
Click to collapse
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk
garwynn said:
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk
Click to expand...
Click to collapse
Thanks
garwynn said:
I'll look into it as soon as I can.
Sent from my LG-LS980 using Tapatalk
Click to expand...
Click to collapse
Anu6is said:
Thanks
Click to expand...
Click to collapse
Any progress in the name change process???
Is there LG L7 paranoid android
Chirag_Galani said:
Any progress in the name change process???
Click to expand...
Click to collapse
Sorry, was digging around for an answer and the best explanation I can find as to why it cannot be changed was here:
https://code.google.com/p/gerrit/issues/detail?id=1217
Put bluntly, even if we do change it could break other things in Gerrit. Something I'm not a particular fan of doing.
garwynn said:
Sorry, was digging around for an answer and the best explanation I can find as to why it cannot be changed was here:
https://code.google.com/p/gerrit/issues/detail?id=1217
Put bluntly, even if we do change it could break other things in Gerrit. Something I'm not a particular fan of doing.
Click to expand...
Click to collapse
Ok no issues. thanks anyway.
@Anu6is I cherry-picked from the gerrit and made some changes in the files. I now want to upload the changes. When I give the command git commit --amend I make the necessary changes and when I push the change through git push it creates a new open commit. What should I do.
The changes are mere clean up according to the comments in the initial commit.
rksomayaji said:
@Anu6is I cherry-picked from the gerrit and made some changes in the files. I now want to upload the changes. When I give the command git commit --amend I make the necessary changes and when I push the change through git push it creates a new open commit. What should I do.
The changes are mere clean up according to the comments in the initial commit.
Click to expand...
Click to collapse
You need to place the Change ID of the commit on gerrit as the last line of your commit message in terminal.
You can simply copy the change id from gerrit. It's on the right side of the commit message
thanks
Chirag_Galani said:
Whom should i contact if i want to change my username on gerrit?
As that particular option is disabled in profile.
Sent from my GT-P3100 using Tapatalk
Click to expand...
Click to collapse
I am dying to try out your aosp rom thumbs up man nice work:good: :fingers-crossed:
Is there any guide how to build and test my changes?
rackajuh said:
Is there any guide how to build and test my changes?
Click to expand...
Click to collapse
make your changes locally and build it....you are supposed to build and test before submitting
Pirateghost said:
make your changes locally and build it....you are supposed to build and test before submitting
Click to expand...
Click to collapse
That was not my question. I asked how to build and test.

Categories

Resources