Modified cm10 kernel, stuck on LG logo. - LG Optimus Black

Firstly, I haven't got much knowledge about programming. I'm just quick learner, have a lot of free time and some ambitions to do something on my own. Don't hate me if i did anything REALLY bad ;p
My way of modifying cm10 kernel is simple and intuitious. I've looked at Huexxx's and boype's githubs, read a lot here on xda and tried to understand as much as i was able to. Results are not so bad, i've compiled my own cm10 kernel just with few changes/modifications. But when i wanted to change cpu opps, voltages i realized that i need help of someone more intelligent than me
The question is here: If anyone experienced can look at THIS github, especially at "further modifications" commit connected with CPU frequencies and voltages (this is a step when i failed) i will be thankful. Result of flashing this kernel is being stuck on LG logo forever, with leds turned on.
I've set up github today because i failed to make further modifications and wanted to ask for help.
Thanks in advance,
Hbo.

I suggest you to see my github. Look at how i add 900MHz

It will be better if someone could explain exactly what mistakes i've done, because as everyone knows, learning from own mistakes is best

You need to correctly modify some arrays in smartreflex. I am not a professional at this point and only huexxx is sure of this. There is another method for directly modifying OPPs but i am unable to teach you as it is extremely difficult to understand. PM huexxx, this will be much easier

Related

How Hard?

im so in the mood to learn and make some roms....i wanted to ask can somoene help me by guiding me or maybe linking me to the right direction because i really want to customize roms...not too hard but to be able to tweak a bit on roms...pleae can someone help???
I'd recommend starting with going to the Android Open Source Project. They have full docs on how to download and compile the source code. Once you've successfully built a stock image you can start mixing and matching or tweaking code.
You can also Google things like "building froyo source" and such to find tutorials. Many of those will be for specific phones but the general principals are similar.
If you want to jump in the deep end Cyanogen's wiki has a tutorial on building Cyanogenmod from source.
Sent from my Nexus One using XDA App
ok thanks alot!

How to make my own modifications?

Hi everybody.
I had been using Samsung Spica and I made my own modifications of CM or Samdroidmod. I sold this phone and bought Motorola Milestone few days ago.
I wanna make some custom CM7 or Froyo roms. Could you give me some informations about making custom roms. Signing update zips is needed?
I would appreciate any help from you.
loL!....im actually bout to post this till i found ya ..same question here but slightly different...i' ve tried modifying custom roms by simply removing and adding apps/scripts/framework mods/service.jar mod from a custom rom and then signing it with Autosign. As far as i can remember it works.
But one thing is still puzzling me. Is the Process is that simple?? what are the side effects of doing this?
eg. all those png optimization done, zipalign stuff improvement stuff etc- will it be affected?
If im not wrong, there are codes in the rom that will be executed to install particular apps etc.So if we remove that particular app/other stuff what will happen to the lines?? will it skip crucial optimization lines? will it do sumting else? what will it do??!
it would be great if someone can explain this and highly appreciated too especially for beginners that google day and night and couldnt find the connection...
join to the question, will glad to hear answer
cmmon guys...help a brother out....anyone?!please

[Q] Can't build CM6 from sources. Help please!

Hi,
I'm trying to build cyanogenmod 6 (froyo) from sources on github for G1.
Sidenote. The reason I'm trying to do this is i'd like to modify kernel parameters. I'm trying to make the phone talk to external device using built in serial port. I can do it with my current CM6, but it looks like serial debugger engages and starts responding to the device and also steals some of the data being sent to phone.
To build I used instruction posted at cyanogen wiki "HTC Dream & Magic: Compile CyanogenMod (OS X)" which covers gingerbread but checked out froyo-stable branch at first. I know that gingerbread version stopped supporting G1 at some point last year.
Without much success even after fixing manifest to point to updated repo urls from kernel.org to googles repo etc. The problem is that apache-http seems incompatible with old sources and it is referenced by head.
I also tried froyo branch, but it doesn't build as well because something seem to be broken for dream_sapphire, and it is not present in the devices anymore.
I've tried searching for compilation errors, and general build questions/instructions here and on cyanogen's forum, but looks like CM6 is not very active these days.
Can someone point me into right direction where to search for relevant info on building it? Would getting a proper revision help or should I combine stuff from several branches to make it work?
I've already spent quite a lot of time figuring out how build is being configured and how things stitch together but without much progress on the actual build.
And with times required to sync a whole repo and build it, it is becoming frustrating.
Any help would be muchly appreciated!
Regards,
Oleg
It's dead.
I also wanted to make a cm6 rom, but I couldn't get anything to work.
I got the addresses all updated but it looks like a bunch of the files have completely dissappeared. You may be able to make it skip those, but then it may not work completely.
Go for AOSP?
Now that's a shame. I wanted to build CM because I'm familiar with it and the other thing is that they have reasonable instructions about building it. But at least I don't need to waste my time trying to figure out how to fix it.
In fact I don't need any extras they provide, a bare android would suffice to me if all the sensors and connectivity would be available. But I'm not familiar with internals of building vendor specific stuff. My understanding was that I need proprietary parts together with AOSP to build a working ROM and that's one of the things CM guys did. Correct me if I'm wrong.
aliher1911 said:
Now that's a shame. I wanted to build CM because I'm familiar with it and the other thing is that they have reasonable instructions about building it. But at least I don't need to waste my time trying to figure out how to fix it.
In fact I don't need any extras they provide, a bare android would suffice to me if all the sensors and connectivity would be available. But I'm not familiar with internals of building vendor specific stuff. My understanding was that I need proprietary parts together with AOSP to build a working ROM and that's one of the things CM guys did. Correct me if I'm wrong.
Click to expand...
Click to collapse
Nope AOSP is as easy to build now
Go to the android site and follow directions
Google for "build android"
At the part when doing repo init you need to get the right branch
Go to "build for devices" then scroll down for recommended branches and look for the dream
One thing you'll need to do differently is do "make otapackage" instead of plain "make"
And once that's done you'll need to tweak the zip and get rid of the "recovery" folder and tweak the updater-script
Oh yeah, and I don't know exactly how you would do this part, but you'll need to get the source for a newer kernel in there, like ezterry kernel and use it with 2708+ radio/spl
Unless you wanna use the AOSP kernel & spl & radio which is old
What I did is just flash his kernel after the rom, but you want to do kernel stuff so yeah...
Sent from my HTC Dream using Tapatalk

Anybody willing to guide a newbie?

Hi everyone!
I'm looking to become a future dev of the Samsung Captivate Glide, but as we're awaiting the official ICS from AT&T the forum right now is pretty dead. We have a project going but nobody to guide us, and we wish to compile CM9 or AOSP ICS. Would anyone take me in and teach me the basics of ROMing? I would greatly appreciate it! I have a Mac and Windows, I'm not sure if Linux is required :|
~Aquethys
the rom is the least of the worries to get dev going on your phone, getting the kernel going is the hard part. does your phone have the source code released?
I don't believe so, people in our ics port thread are saying we don't have a working ics kernel. We do have a gingerbread kernel though... :/
How would I start?
Sent from my SAMSUNG-SGH-I927R using xda premium
well you take parts from the GB kernel and apply it to parts from the AOSP kernel, and troubleshoot until it boots. then you troubleshoot all the other issues, there will be issues, then you can start doing fancy things like add cwm. then tweak the kernel....
start reading on kernels, ramdisk, rils, libs, and drivers, linux, compiling, AOSP, github repositories.
you might be ready to take on this task in 6 months.... minimum
dont take that as snooty, ive been on here over a year, and know jack squat about half the things i just told you to study. though i have no desire to build kernels myself. there is lots of great info scattered all over xda. but you will need an experienced dev, to port ICS. you need to know basic kernel modification stuff before trying to do something as big as porting a new android version from out your but.
automated compiling isnt as automated as it sounds.
Alright. What programs will I need to begin with? Hopefully an experienced dev can guide me, I'm not too good @ following guides/tutorials but I'll try my best!
Sent from my SAMSUNG-SGH-I927R using xda premium
EDIT: Made a dropbox account, hopefully you could guide me through the basics?
So, is this the source code for SGH-I927 you were talking about? I downloaded it, what do I do with it? Is it different for ICS and GB?

Tweaking kernel

Im left with the kernel source for my device and the dev told me its good to update msm_fb and other stuff to make it more usable...
anyone can help me with that!!im looking and taking some commits from various gits but im stuck to this cause i can't find the same diffs for my device...if anyone have msm_7x30 device and willing to give me some hints...i need to make the device more snapier on 4.2.2 cm and a bit faster as it can be cause its single core...but even on 1400mhz its still laggy!!!
Any help i will be greatful! thanks!!
i think you have to study commits in github done on similar kernel for device.msm_7x30.

Categories

Resources