Hello all, I have spent the last month trying to find a way to put the LG E980 into monitor mode. As far as I can can tell It's never been done, and no android versions above Lollipop, wich is a shame because its a beautiful device. I tried compiling the cm source code following this tutorial.
https://null-byte.wonderhowto.com/h...-android-device-with-wireless-adapter-0162943
Thank you very much to the Author.
I got it to compile with a few slight modifications but when I tried to load the resulting zip got freeze at startup.
I think the key may lie here
make ARCH=arm menuconfig
Can anyone with the knowledge to preform this feat Please compile this, or please recommend a good kernel mod tutorial so I can have a go at it.
Thanx to you all.
EDIT:ADDED: Btw its bcm4334 chipset
Related
Hi there,
Now, I understand that there's a thread or two and a few web pages directed at compiling Android and its kernel from source.
However, the thread in question is months old, and didn't fully explain the process.
As for the web pages, they are mostly outdated and don't include enough information, not to mention desire specific instructions.
I think that, properly explained, building Android shouldn't be daunting, and everyone should be able to attempt it, if they wanted to.
So, I hope to compose a comprehensive guide on how to do just that.
The problem is that I myself have not been able to put enough instructions together to be able to complete a build. And there is no point digging up old threads.
So, If anyone who knows the ropes (that is, compiling android and a kernel from source) would be willing to lead the way, I'd happily turn it into an easy to understand guide.
Josh.
fllash said:
Hi there,
Now, I understand that there's a thread or two and a few web pages directed at compiling Android and its kernel from source.
However, the thread in question is months old, and didn't fully explain the process.
As for the web pages, they are mostly outdated and don't include enough information, not to mention desire specific instructions.
I think that, properly explained, building Android shouldn't be daunting, and everyone should be able to attempt it, if they wanted to.
So, I hope to compose a comprehensive guide on how to do just that.
The problem is that I myself have not been able to put enough instructions together to be able to complete a build. And there is no point digging up old threads.
So, If anyone who knows the ropes (that is, compiling android and a kernel from source) would be willing to lead the way, I'd happily turn it into an easy to understand guide.
Josh.
Click to expand...
Click to collapse
I followed this guide here and successfully compiled a modified HTC Kernel and I had very little Linux and Android experience.
Obviously instead of cloning the Cyanogen git, you just use the gits you wish to compile
Mekrel said:
I followed this guide here and successfully compiled a modified HTC Kernel and I had very little Linux and Android experience.
Obviously instead of cloning the Cyanogen git, you just use the gits you wish to compile
Click to expand...
Click to collapse
Thanks for the link
Though i don't fully understand the whole 'git' thing. Where do i find them? And how to i know which ones are the ones i want to use?
Josh
EDIT: Also, how do you 'edit' the kernel (i imagine it is somewhat like make menuconfig?). Also:
- Are these sense kernels?
- How do you add modules like OC and UV?
fllash said:
Thanks for the link
Though i don't fully understand the whole 'git' thing. Where do i find them? And how to i know which ones are the ones i want to use?
Josh
EDIT: Also, how do you 'edit' the kernel (i imagine it is somewhat like make menuconfig?). Also:
- Are these sense kernels?
- How do you add modules like OC and UV?
Click to expand...
Click to collapse
A git is a repository for source code, developers upload their source code there and can commit changes. The commit can allow descriptions of what was changed and also details the files changed.
The git system allows other people to add to the source if they have permission, or allows others to read the changes and download the source code.
Git links are usually posted by people who release software, as Android is GPL licensed so people have to release their source code if they're distributing their work.
Editing the kernel, take a look into the git and the commits and it will show you which files were changed and how exactly they were changed. That will give you the best understanding.
UV/OC is done by changing the acpu table in the architectures files and changing the minimum/maximum voltage figures in the board_bravo.c file.
The Cyanogen kernels are not Sense kernels no, it's a modified Google Kernel.
Thanks for the explanation. I followed the guide and built the rom, and it works (always a plus )
Now, the next thing is the kernel. How do I build a kernel with the CM tweaks integrated? I understand that all i would be doing is rebuilding the same one that is already installed, but im doing it to learn.
So, if i synced the GIT, does that include the CyanogenMOD kernel source? If it does, where is it and how do i rebuild it. If not, where do i find it?
Thanks,
Josh.
A bit of infos before starting this thread. I'm using a Samsung Galaxy S4 Canadian, I have a high end computer(maybe that helps for coding,stuff like that) and I have "medium" knowledge on rooting/flashing,etc. I am a great designer, well for myself, I think i'm good. So I can edit or create icons and themes for new rom!
I say medium, because the only thing I really know about this kind of stuff,is rooting,flashing,installing roms and pretty much that honestly.
I already downloading the Android SDK to test those custom roms i'd like to create. I thought of doing like a couple of guys on here, using the CM Source? and just adding stuff,etc.
--
What i'm looking to do, is creating a rom based of CM for the Galaxy S4 and just in general a little side project for myself and adding some infos in my head; Some may laugh because of the lack of knowledge, but hey! we all started somewhere
I'm asking the community of dev's or just users, do you have some threads or some stuff to download to "Start" this project ?
Some things I should read before, I won't test rom's on my phone as it's a daily phone, i'll use the emulator instead(AVD or SDK) and i'm already searching on how to run it.
If you have any useful youtube videos i'll gladly accept them
I found a tutorial on how to build a rom but for the Nexus 4, I guess it's the same process but different sources ?
I'll search for the sources of Cm for the Galaxy s4 but if anyone reads this thread and knows where to get it, please link me!
Thanks to the community, this may also be useful for other users. Thanks!
Okay, I will help
1st off, let me teach you some basics.
1.) You cannot test roms on the android sdk, the android sdk has nothing to do with roms, its for building apps and java programming. It will not help you with anything if an issue goes wrong in a rom, well only the adb (android debugging bridge) for taking locats.
2.) You cannot compile a rom on windows, only linux, preferably ubuntu. So you need to just download cm11 for your device and extract the rom zip.
I will tell you more later, but its like 1pm here Goodnight
Hello everyone,
I hope to find some help from the Gurus out there.
I have a decent amount of knowledge so i decided to compile a ROM from my unsupported device.
What is not clear to me is how do i compile a ROM with different android_device, android_vendor and android_kernel sources
I'm currently following this guide http://wiki.cyanogenmod.org/w/Doc:_porting_intro so it it enough to copy the content of my the directories as per the point "Set up three new directories" ??
I would love to have a mentor to help me out, anyone?
Regards,
Hi. I found a few Tutorials about Compiling an Android Kernel. I thank all Developers for the Time they spend to do this Tutorial.
I compiled myself an Android kernel for S3 and Oneplus 2.
For me S5 will not work and for a Friend HTC one M8 it´s not Compiling. I had basic question , so i would like to ask if a Developer could spent some Time to explain me from beginning to the end.
If so, an German Developer would be best because I´m from Germany.
I hope someone will give me an Feedback. I look up to you, and i´m desired to learn.
Thx for your answer
No one can help me? Spent a little bit time for me? I will learn it
Can u share your Tutorial?
通过我的 1505-A02 上的 Tapatalk发言
I haven't. I found it by google.
Search in google android compile kernel and you get some tutorials
Come on developers. Help me with some problems. Some thing i know, but there are problems i don't know how what to do
whats your problem?
Sent from my LGLS676 using Tapatalk
Hi. Can we talk per pm?
Not simply to say. I know how to get sources. I know how to get toolchain. I know how to set path. Make defconfig,and compile kernel. But i dont understand how to make an older kernel work for newer android version like Samsung s5. I don't know how to make anykernel script.sh
. And last problem if i would not take anykernel, how to get/build updater script and so on that i can make a flashable zip.
If i take a kernel like boeffla, and change zimage, kernel will work. So compiling is ok.
The things around i will lewrn but i don't know how to do this. All sides show only how to build zimage. But you see thats not my problem.
Hope you could help me
N3cron said:
Hi. Can we talk per pm?
Not simply to say. I know how to get sources. I know how to get toolchain. I know how to set path. Make defconfig,and compile kernel. But i dont understand how to make an older kernel work for newer android version like Samsung s5. I don't know how to make anykernel script.sh
. And last problem if i would not take anykernel, how to get/build updater script and so on that i can make a flashable zip.
If i take a kernel like boeffla, and change zimage, kernel will work. So compiling is ok.
The things around i will lewrn but i don't know how to do this. All sides show only how to build zimage. But you see thats not my problem.
Hope you could help me
Click to expand...
Click to collapse
ya you can shoot me a message
facebook - http://m.me/ricky.wardenburg
hangouts - [email protected]
Hi. Both i haven't. Can we write xda message or whatsapp?
sure
Hi Folks,
I'm trying to port B2G to my moto g3. I was referring to this doc (https://developer.mozilla.org/en-US/docs/Archive/B2G_OS/Porting_B2G_OS/basics). However some of the things mentioned in this doc are not clear to me. Could you please help me with the below issue.
I'd like to build the AndroidKernel from source. So where should I include the below lines? Is it in this file?
https://github.com/LineageOS/android_device_motorola_osprey/blob/cm-14.1/rootdir/etc/init.target.rc
HTML:
on early-init
start ueventd
import /init.b2g.rc
Also if I understood correctly. building the kernel from source doesn't require to unpack , edit the init.rc file and repack the kernel from the device. Could you please confirm this?
Thanks,
Arun
Hi Arun,
I totally understand your frustration with this. You'd like to contribute to the Servonk project but first you need to port B2G to your phone or buy a new phone. Since the only other supported phones are the Z3 compact and Nexus 5, both of which are still relatively expensive secondhand, you want to use your Moto G3 which means first porting B2G to it.
So, I think there are two options you have:
1. Port direct from the AOSP code
2. Port from the CM12 code.
As Gerard said in telegram, porting from CM to B2G was never finalised so may actually require more work. However there may actually be more people here who can help you since people seem more familiar with CM than AOSP (in general, I know some people are very knowledgeable in both).
I see you've posted in the AOSP 7.1.1 kernel thread. Unfortunately, for the Servonk project you currently need a Lollipop based build, so 5.x AOSP kernel or CM12.x.
It might be worth asking a mod to move this thread into one of the development sub-forums.
As you know, this is the limit of my knowledge, but I really hope you find some success, if would be great if you could contribute to the Servonk project.
Your last option is to use the desktop build of Servonk, based on Glutin instead of Gonk, but I understand that you really want to get Servonk working on your phone.
Best of luck