Source for .so files - T-Mobile Samsung Galaxy S 4

I need to edit and compile some .so files. Does anyone have a link for the source? Also, are any of them specific to Samsung and us there a source for them?
Lastly, how do I go about compiling them once I'm done editing? I have both Win7 and Linux (Ubuntu 12.04) so I no issue doing it on either.
Thanks in advance for any help/links
Sent from inside the matrix

Related

i would like to build my own kernel but i am not able to.. help me pls

I would like to build my i9000's kernel but there are problems
I've installed ubuntu 9.10.
As you know, i could download the source code from the web
In that there are codes for making kerne
and also there is a script, named build_kernel, which makes me be able to build the kernel.
At first, i installed sourcery toolchain and then modified the build_kernel.sh
Because the instruction said i should change toolchain's directory and prefix
And finally i built it writing './build_kernel.sh'.
It seemd to be working but there were so many errors
And the zimage file was small, it's only 2.1MB
I tried to flash that kernel but it made my phone go black.
Can anyone help me please?
What should i do?
How did some people make such great kernels? Sorry im newbie.
dkcldark said:
I would like to build my i9000's kernel but there are problems
I've installed ubuntu 9.10.
As you know, i could download the source code from the web
In that there are codes for making kerne
and also there is a script, named build_kernel, which makes me be able to build the kernel.
At first, i installed sourcery toolchain and then modified the build_kernel.sh
Because the instruction said i should change toolchain's directory and prefix
And finally i built it writing './build_kernel.sh'.
It seemd to be working but there were so many errors
And the zimage file was small, it's only 2.1MB
I tried to flash that kernel but it made my phone go black.
Can anyone help me please?
What should i do?
How did some people make such great kernels? Sorry im newbie.
Click to expand...
Click to collapse
check few threads behind you ... it is illustrated in the links.

Source for sbin/init

Hi,
I've followed various posts on here and have managed to compile and install my own kernel build. I am using the leshak initramfs and would like to be able to modify the init executable that lives in the sbin folder.
I've had a search around and can't work out if there is any source code available to build this or if it just pulled directly from the device. Can anyone confirm if and how it is possible to build this executable?
Thanks in advance,
Jamie
Theres no source from Samsung available.
You can try official android sources:
http://android.git.kernel.org/?p=pl...dc717ed167482c09f342730f1c1f64b90d19c;hb=HEAD

[Q]compile rom w/ specific apps

How do I compile a rom with specific apps I want and exclude the ones I don't want?
Put the apps you want in system/app of the rom your compiling. Same thing for removing them. For removal just take them out of system/app. Hope this helps.
DINC|CM7|INCREDIKERNEL
Yeah, I know how to do that already, thanks for the reply! Actually, I want to compile from the source code via terminal. I have my own repository I'm using with some minor changes made to theme it a little. I just want to include specific apps in the compilation and was wondering what I had to do with my repository in order to achieve this?
Treken said:
Yeah, I know how to do that already, thanks for the reply! Actually, I want to compile from the source code via terminal. I have my own repository I'm using with some minor changes made to theme it a little. I just want to include specific apps in the compilation and was wondering what I had to do with my repository in order to achieve this?
Click to expand...
Click to collapse
You will need to edit the vendor tree. If you want it to add apps that are already compiled such as ones you have from the market then you can put them in with the proprietary files and then just add some lines in the inc.mk file or in the blobs mk file in the vendor tree to copy those files from where they are into out/target/product/inc/system/app/ (I'm going from memory there so double check the path) You can look through that inc.mk file to see how it copies other files and just use that same syntax.
Ah, now that sounds more promising. Thanks!

[Q] Compiling and Porting Native Applications and Libraries to Android

Hello, I would like to add libusb library to my Nook Simple Touch. I read few documents how to port and compile it. As it seems to me there are two options:
1.Putting your sources into the Android source tree and compiling them with the Android tool chain.
I'm new to this and my questions may sound stupid but I don't want to mess things up.
I found only NTS kernel source, but which android source tree I need to use and where to find it?
2.Compiling your sources statically with another tool chain.
Do I need to use Android NDK?
Is it possible to make an update zip containing ported library?
I need some directions for further reading. Thank you! Best regards, Andy

Cross compilation for armv7

Hello everyone,
I'm searching how to cross compile for armv7 processor such as the one in surface RT or surface 2.
How did the recompiled app found in this section were recompiled ?
I found this github which sounds very promising.
Did anyone used this project ?
maximushugus said:
Hello everyone,
I'm searching how to cross compile for armv7 processor such as the one in surface RT or surface 2.
How did the recompiled app found in this section were recompiled ?
I found this github which sounds very promising.
Did anyone used this project ?
Click to expand...
Click to collapse
To actually compile a desktop program, you need the source code of the program. This means that the program has to be open source (ex: Firefox, OBS, Notepad++, Dosbox etc...). Then, you compile it to the desired platform. You cannot really decompile closed source programs (Photoshop, Chrome...) and recompile it to your desired platform because it's really complicated and you might run into legal issues.
So your best bet would be to compile open source programs.
alexenferman said:
To actually compile a desktop program, you need the source code of the program. This means that the program has to be open source (ex: Firefox, OBS, Notepad++, Dosbox etc...). Then, you compile it to the desired platform. You cannot really decompile closed source programs (Photoshop, Chrome...) and recompile it to your desired platform because it's really complicated and you might run into legal issues.
So your best bet would be to compile open source programs.
Click to expand...
Click to collapse
Yes I know, I'm playing with vlc sources for the moment
When I said recompile I wanted to say compile for armv7.
I just wanted to know what toolchain peopole used until now for the program we can find in this forum
maximushugus said:
Yes I know, I'm playing with vlc sources for the moment
When I said recompile I wanted to say compile for armv7.
I just wanted to know what toolchain peopole used until now for the program we can find in this forum
Click to expand...
Click to collapse
Actually, VLC provides a tutorial on how to compile a build for any platform. They actually use the mingw-w64 toolchain (The same you mentioned on the OP): https://wiki.videolan.org/Category:Building/
They also have a section for Windows 8.1 RT Windows app (It's not the desktop Program) which you can compile with Visual Studio: https://wiki.videolan.org/WinRTCompile/
alexenferman said:
Actually, VLC provides a tutorial on how to compile a build for any platform. They actually use the mingw-w64 toolchain (The same you mentioned on the OP): https://wiki.videolan.org/Category:Building/
They also have a section for Windows 8.1 RT Windows app (It's not the desktop Program) which you can compile with Visual Studio: https://wiki.videolan.org/WinRTCompile/
Click to expand...
Click to collapse
Yes that's what I'm playing with (cross compile with mingw), but I don't have a lot if time in this epidemic periode...
If you want VLC, don't bother yourself with compiling it, there's a very decent UWP app available on the Microsoft Store and it works for arm 32bits, tho it's a good initiative to start compiling new stuff, I can only encourage you guys to do more, I'm currently trying to see how to compile more cores for RetroArch but it's a hassle, hopefully, pcsx-rearmed can at least be compiled...

Categories

Resources