4.4 Build Environment - Verizon Samsung Galaxy S 4

So let's say I want to start building CM11/AOSP/AOKP etc etc from source with the Linaro toolchain. How do I do this? All I know is I need Linux--I haven't tried to build anything since my old Droid Charge, and even then I had a complete step by step guide. Here, I have to pull from repos, compile, and LOKIfy everything....I have no idea where to begin.

Bump
Sent from my SCH-I545 using XDA Premium 4 mobile app

Related

Editing a custom kernel

Is it possible for me to edit my kernel to allow higher clock frequencies? I am trying to achieve 1700-1800mhz
Can i extract the kernel from my ROM zip?
Do I simply edit 'scaling_available_frequencies','cpuinfo_max_freq' & 'UV_mV_table'?
If so how can I gain write access to this file? Any info appreciated!
SGSII
Latest cm7 nightly
13pointseven said:
Can i extract the kernel from my ROM zip?
Yes just open in win zip win rar etc and extract zimage .
jje
Click to expand...
Click to collapse
How do I open zimage
Sent from my GT-I9100 using xda premium
You can't unzip the zImage and make changes. You'll need to compile the kernel from source yourself.
Ok thanks for the reply. I am currently downloading the cm7 source code from github. Can you help with regard to overclocking?
Sent from my GT-I9100 using xda premium
You could try looking at the original overclocking commit and modifying it.
Why would you ever want 1.8GHz though? It'll almost certainly be unstable.
Sent from my GT-I9100
OK so what I've sussed out so far is as Oxygen ROM is cm7 based I can extract the boot.img from stable cm7 ROM (which is the kernel) and replace it with the Oxygen boot.img thus creating oxygen 2.3.1/wolverine, clockable to 1.6ghz.
I have found a tut on unpacking ramdisk, is this the boot.img?
If so can anybody tell me how id go about further increasing clock speed once unpacked?
Any help appreciated, cheers Andy
Sent from my GT-I9100 using xda premium
Like I said, it's not possible to change the available frequency steps in a compiled kernel. You can't unpack it and make changes, you've got to build it from source.
Thanks for the reply, I believe I have the source and instructions on compiling unsure what to edit. Am I rite in saying the kernel is generic to all devices and need tailoring to suite? Please forgive the noobness I like to dive in deep end. Hopefully studying comp sci in sept if I get my grades so maybe then ill be able to contribute to the forum a little better
Sent from my GT-I9100 using xda premium
As for why, my device runs real smooth even at 500mhz but have a friend who likes to gloat over a cf bench result id like to smash, that and learning more and as much as I can on android OS.
Sent from my GT-I9100 using xda premium

[Q] How to build a CM7 rom on my huawei c8860

I'm going to build a cm7.2 rom for my huawei c8860e.
From what i've read, i download the source code on my ubuntu 12.04. However, I have not find the cm7 code for my phone.
If i want to build cm rom what i should do next???
plz, help me. i enjoy learning here~XD
ToT help~~
Go to YouTube and search for how to make a custom android rom. Choose the one that is like 1.5hrs long It explains mostly everything
Sent from my GT-I8150 using xda app-developers app
thanks
Sent from my c8860e using xda premium

how to make custom rom?

Can anyone help me with complete guide and tutorials for making an rom from sorce or from other rom in windows?
All xda is open for you. So help yourself. Self help is the best help
Sent from my LG-P500 using xda premium
You can't build from source on windows, you need linux. There are guides all over. Good luck
Sent from my LG-VM670 using Tapatalk
well i make 1
well i make 1 in windows, using cm 7 as base with full htc sense like ui i think u will like it,posting it soon once i have acess to post on developmet section[/FONT]

Best method to build a rom ???

Can someone provide me the perfect tutorial to build a rom ? From the start using a base rom plz tell the environment required and how can compile ?? im asking this coz i tried using cygwin to create a touchwizz themed cm9 rom ended with no result either the phone wont boot or i get status 6 error !!! Plz anyone help
Sent from my GT-S5830 using xda premium
You know codes.
Using a base is "porting" a ROM not building one.
There are a bunch here on porting, but in the end its a lot of trial and error. Reading logcats, an working from there.
Since the ported ROM wasn't built for your device, there's no specific directions on how to do it and have it work for every device out there.
Sent from my PC36100 using Tapatalk 2

Porting Paranoid Android to Hisense Sero 7 Pro

I tried porting using the standard cut and paste method from the Grouper version of PA onto Hisense stock rom but CWM touch recovery would not allow the installation of the .zip file. Anyone having any success getting PA onto this tab?
I tried something similar with a pac rom. It was from an Acer 7 inch or something like that. I used a device that said it had a tegra 3. I think it was a a700 but not sure. The result was the same would not even install.
Sent from my HTC Glacier using xda app-developers app
OK I tried doing a port of aokp with the grouper jb1 milestone 2. Basically what I did was extract the rom then unpack the kernel then modded the ram disk init.c and fstab to match some of the settings in the sero's files. Replaced the grouper kernel with the sero stock kernel. Then a repackaged of the kernel. Then I extracted randomblames vendor tree in to the grouper rom. Then I zipped it and tried to install it. I got the error 7 a couple of times the it installed. And then it froze at the hisense screen. When I tried building from source using rb device and vendor tree I kept getting a manifest error. I have followed all of the guides on how to port roms on xda and none have worked for me.
Sent from my HTC Glacier using xda app-developers app
Well I found out the manifest error was in relation to a missing .mi file full_adopted.mk I think. Anyways now it is building, just did make Bacon m470 . I am using randomblames device and vendor trees from taktik and the prebuilt kernel. So it might not even boot due to the sources being for 4.4 and the aokp source is from 4.2.2. This is my first build for android. I want to learn how to build the kernel from source with tweeks to run cm based roms.
Sent from my HTC Glacier using xda app-developers app
Would really rather have PA on my sero so keep up the effort!
Its my first rom so I picked something no one else was doing, aokp. If you want Paranoid Android just use the dopa rom and update the xposed framework and download the module that lets you set dpi per app and the module for phablet or tablet modes. It kinda makes pa redundant. But if I ever get this to boot I may do a rootbox/pac/schizoid type of super rom but I would need help. I'm learning. This is a learning experience.
Sent from my HTC Glacier using xda app-developers app

Categories

Resources