[Q] zImage Editor..? - General Questions and Answers

Hi all!
Does anyone have something editor program which can edit zImage easily?
In Linux Ubuntu or In Windows 7 ...?
plz... I need something easy program to edit zImage because I don't know how to use c+, c++ ...?
If anyone have any good zImage editor then can you tell me the program name?
Thanks

Hey man, you can't edit a zImage and you don't need to know about c+ or c#. If you have linux installed you can easily download the kernel source for your mobile phone and re-compile it for your needs.

OK thanks, but zImage can be edited in JetDroid..
maybe on some phones cant..?

Related

[Q] What tools linux, mac, windows for extracting android img files?

I want to learn a little bit about android and want to ask what tools do you guys use to extract and repack img files. I've been messing around with unyaffs in linux.
Thanks
http://androidforums.com/behold-2-all-things-root/56517-extracting-img-files.html
http://androidforums.com/behold-2-all-things-root/54424-creating-custom-roms-backups-odin.html
Wondering this as well, still digging
phfaty said:
I want to learn a little bit about android and want to ask what tools do you guys use to extract and repack img files. I've been messing around with unyaffs in linux.
Thanks
Click to expand...
Click to collapse
I'm on ubuntu 10.04 and use unyaffs to unpack and mkfs.yaffs2 to repack.
prscott1 said:
I'm on ubuntu 10.04 and use unyaffs to unpack and mkfs.yaffs2 to repack.
Click to expand...
Click to collapse
Thanks that is what I'm also using. I'm wondering if there are other similar tools on Windows 7 and OS X.
I'm an Ubuntu user as well, so I'm not certain - if you can't find anything native, you could run a Linux VM to get around this (or maybe even something like cygwin, if you are fairly technical).
phfaty said:
Thanks that is what I'm also using. I'm wondering if there are other similar tools on Windows 7 and OS X.
Click to expand...
Click to collapse
both Windows and OS X have versions of those tools....
Some tools can also be found here - http://jiggawatt.org/badc0de/android/index.html

[Q] looking for a guide to how to cross compile C program to Android BIN file.

Hi all,
i'm new here, but i'm not new to android.
well i program in C, C++ and JAVA. and i'm wrinting an APP that needs some low level programing that use the Bluetooth.
now i have the code already running on my PC but i want to make a bin file that i can run through the terminal in my HTC desire.
my question is, where can i find a good guide that can explain me how to cross compile C code into an ARM arch, so that later on i can use in my android?
thanks to all!

[Q] Any way to compile java programs in android ?

Is there a way to compile .java file to .class file and execute it
I wanted to compile c/c++/java programs, not for my phone but in my phone...
I searched but did not find an easy way for it.
At last I found out a real easy way to compile c/c++ by using adosbox for android.
I copied the turbo c 'tc' folder from my pc to my sdcard and used adosbox like command promt to go to 'bin' folder in tc and start tc.exe...
Then I could easily write and compile programs just like i did on the pc
But still no luck for java programs...
I copied the reqired java folder and then used adosbox to run the command "javac file.java" but it said "This Program Cannot Be Run in DOS Mode"
So if there is any other way to compile java programs in my phone
please help
Thanx in advance
Try looking at Eclipse, although Eclipse is a large desktop IDE, it includes its own Java compiler written in Java (in the part called "JDT core"), and if (as I hope) that Java compiler is not copyrighted by Sun/Oracle, you (or someone else already maybe) may be able to compile that part of Eclipse into a "native" Dalvik/Android App.
Googling the issue, I see that others have been asking for an Android port of Eclipse too, so maybe there will be some momentum going for this soon.

[Q] Find core/java/android/view/Surface.java

Hello,
I would like to know, how its is possible to find, for example the file core/java/android/view/Surface.java .
Sorry for that noob question, but I am really interested in Android Software Developement and when I look at the github-profiles of others I always find those directories and files, I do not find on my system.
I tried using the baksmali tool and baksmalied my framework.jar . Then I found the file /framework/android/view/surface.smali but there are mostly completely different commands, so I think, there must be another tool that can edit the framework.jar in another way.
I would be very thankful for help.
AFAIK, what your looking for is in source, so once a build is compiled, you will not find that file(or folder structure). When you decompile framework.jar, you will find mostly smali files, which makes looking at the code give me headaches...
What are you trying to do? Is this for ICS or GB? and have you looked into setting up a repo on your computer? If you set one up, you will then find all the java source files you are looking for, but then you must compile the files you edit.
netwokz said:
AFAIK, what your looking for is in source, so once a build is compiled, you will not find that file(or folder structure). When you decompile framework.jar, you will find mostly smali files, which makes looking at the code give me headaches...
What are you trying to do? Is this for ICS or GB? and have you looked into setting up a repo on your computer? If you set one up, you will then find all the java source files you are looking for, but then you must compile the files you edit.
Click to expand...
Click to collapse
what i am trying to do, is to add some features like the rotation animation for motorola milestone 2.1 . what i already have managed, is to add ics animations and 4-way-reboot, by editiong the framework-res and framework.jar .

Cyanogenmod kernel config & davfs2

I'm going to create GREAT app, improve my java skill (It's almost 0, I'm C# lover).
For this I need to know which devices support FUSE and cross compile davfs2
Where is .config on cyanogenmod kernels?
Where to put .ko file in cyanogenmod?
Can I build davfs2 just by running this make -j8 --cross-compile="Linaro/Bin/arm-linux-"?
GR0S said:
I'm going to create GREAT app, improve my java skill (It's almost 0, I'm C# lover).
For this I need to know which devices support FUSE and cross compile davfs2
Where is .config on cyanogenmod kernels?
Where to put .ko file in cyanogenmod?
Can I build davfs2 just by running this make -j8 --cross-compile="Linaro/Bin/arm-linux-"?
Click to expand...
Click to collapse
1. I don't know where you can find the config in the sources, but if you have CM running on your device, you can pull it from your phone
Code:
adb pull /proc/config.gz
and decompress the .gz file. Then open the config file with a texteditor.
2. .ko files are usually located at system/lib/modules/
3. sorry i don't know anything about davfs2
I hope this helped you a bit.
Grtz
So which tool is best to edit kernels??
SENT FROM MONSTER ! ! !
HIT THANX OR I WILL JUST
CRY...
sanjaykumar.sanjay69 said:
So which tool is best to edit kernels??
Click to expand...
Click to collapse
Are you a Windows user?
Kernels are always build with make.., at the command line.
BTW are you sure you will need to modify your kernel? to add a module, you don't need to recompile your kernel.
To edit your kernel, you just run make xconfig or make menuconfig and add/remove options.
Then save the config and run make
1bymany said:
1. I don't know where you can find the config in the sources, but if you have CM running on your device, you can pull it from your phone
Code:
adb pull /proc/config.gz
and decompress the .gz file. Then open the config file with a texteditor.
2. .ko files are usually located at system/lib/modules/
3. sorry i don't know anything about davfs2
I hope this helped you a bit.
Grtz
Click to expand...
Click to collapse
There is no .gz file now.
GR0S said:
There is no .gz file now.
Click to expand...
Click to collapse
Are you sure? i just tested on 4 devices, and i found the config.gz on each one..
1bymany said:
Are you sure? i just tested on 4 devices, and i found the config.gz on each one..
Click to expand...
Click to collapse
It sint visible at least. Will try do this via ADB

Categories

Resources