Please help a noob trying to build kernel - Motorola Photon 4G

Hi,
I am trying to build the Motorola Photon 4G kernel and maybe ROM from source code. Can anyone help me get started?
With the great help from this forum, this is what I have so far:
- unlocked bootloader
- ClockworkMod recovery installed
- root access
I found the source code was released here:
- http://sourceforge.net/projects/photon4g.motorola/files/PHOTON-4G/4.5.1A-1_SUN-198_6/
I come from Samsung so I have downloaded the CodeSourcery toolchain for arm 2009q3.
With the samsung phones we needed the initramfs from the original kernel. Does anyone know how I can extract this out for the photon?
Also the build procedure for the samsungs were:
1) make clean
2) config ***_config
3) make modules
4) make
Is this the same for the moto? What is the config name I should call (step 2)?
If anyone knows of a post that already explains this please refer me. If not, I promise to document what I learn here to share.
Thanks in advance for your help.

This info may help:
http://forum.xda-developers.com/showthread.php?t=1430521

Related

[Q] Custom rom for dummies

Good Day all,
I'm looking for a procedure, step by step or any sources of information explaining how to create a custom rom from an android source code (2.2, 2.3, future 4.0)
Many thanks
Harlock
Hi,
I have (had) exactly the same problem. Can build a zImage, but what to do next??
Maybe this thread http://forum.xda-developers.com/showthread.php?t=633246 can help you. I'm reading it now, and will try it in the next couple of days.
Anyway it is important to mention which phone+model you have, since there are differences.
greets,
Ruud

Custom Kernel Development For Neo

HI guys, after waiting for so long I finally decided that its time to do something for the Neo, as there are no custom kernels for our device I decided to take the matters in my hands. After doing some research and following some video guides i succeeded in :-
.Installing Ubuntu (VMWARE) v14.02
.Installing packages required for developing
.Setting up a toolchain
Now I am stuck at the last process as mentioned in the guide. I already created a zImage file, but i cant find the ANYKERNEL.zip required to flash the kernel. If someone knows any dev, or can help me with it, it will be appreciable.
Following I provide the link for the video and guide:-
The main video guide :- http://www.youtube.com/watch?v=IV4jhXWc7AE (also watched the 2nd part).
The guide from where i got the link for tool chain as the NDK from android.developers.com was .bin file and I was not able to figure out how to use it. :- http://www.youtube.com/watch?v=vVZrh7aBIw4
Please if any dev can help me please PM me
Regards. :fingers-crossed:
EDIT:- Mods if i have posted this in wrong section, please move this thread to the correct section as I have a very limited knowledge regarding post
man thanks for your efforts first of all.secondly if you are getting stuck somewhere then its best to contact a dev who has worked on exynos processor before.for example try contacting a dev who have made a kernel for note 3 exynos version they are our best chance...thanks again and i really want to help but i know nothing about kernels

Please Help - Trying to build CM11 for Samsung A500FU

Hi Guys
I have posted in the Galaxy A forums, but no one could help me.
I really liked CM11 and I am trying to build it for my device, Samsung A500FU.
I followed this guide:
http://forum.xda-developers.com/galaxy-fame/general/guide-how-to-build-cm11-local-sources-t2875919
And Ive downloaded all the source code etc, but I am stuck at the last step. It does not want to build the rom.
I think my local manifest might be the problem
Here are the sources:
https://github.com/search?utf8=✓&q=a500fu
Can someone please help me with the correct local manifest file and build command etc.
Thank you.

AOSP(?) Or uncompiled source code for SM-J320P

My roommate is going to begin working on getting this device rooted. He told me to do that he needs the uncompiled kernel and source code (I believe, if that doesn't make sense please correct me). I have rooted my phone before by myself so I have a little experience, and can get temp root so far on the phone. Would anyone know how to acquire what he needs? I have the device in question and I'm not afraid to risk breaking it to get this done.
Also if anyone has any general advice I can pass along to him please let me know. Thank you!
TL;DR
Friend needs source code for Samsung Galaxy J3 to work on custom rom/kernel. Where/how to acquire this?
Here are the source manifests for msm platform. Choose msm8916_64
https://codeaurora.org/xwiki/bin/QAEP/release
Here is the repo instructions.
https://codeaurora.org/xwiki/bin/QAEP/WebHome
Here is the closest kernel sources I could find.
http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=j3
Good luck.
I think this is what we need, I forwarded him those links and will find out probably tomorrow if they are what he was looking for (but from the sound of things it should be). I can't say thank you enough! I had -no- idea where to even start looking!
any news?
maddpiratekidd said:
any news?
Click to expand...
Click to collapse
We have a working permanent root at this moment but no custom ROM yet. Here's the link to the root thread: http://forum.xda-developers.com/showthread.php?p=66423732#post66423732
https://forum.xda-developers.com/android/help/guide-painless-root-samsung-j3-emerge-t3573551
Guide For Root

Heya! i need some help!

Hiya! I'm Jasen, I've reccently gotten back into rooting but i can not find a TWRP for BLU S91. I have the bootloader unlocked. Its just confusing because I can not find it all. If anyone has any info please let me know! asap.
Compile a mathing TWRP at your own:
[GUIDE][NOOB FRIENDLY]How to compile TWRP from source step by step
Hi guys, Today because of the continuous requests of help to compile the TWRP on the developers' dedicated thread, I decided to write a guide for those who know very little about Linux and Android development but want to LEARN Initial...
forum.xda-developers.com

Categories

Resources