Repo-synching cm7 changes to an MTD CM7 based ROM - Samsung Galaxy S (4G Model)

Hi
I have a question I'd be happy to get an answer to.
Erikmm sent me a MIUI port I translated and posted later on as HebMIUI.
Today I wanted to merge the cm7 front facing camera fix in.
I saw in team acid github the fix was made in camera lib and in kernel.
So i copied the relevant lib and boot.img (which as i understood includes the kernel) to the ROM zip and reflashed ROM. I think the camera is fixed but I'm getting FCs for systemui, settings and launcher and i had to restore my backup.
Can you please explain how i can sync these kind of changes to a CM7 based on ROM ?
Thanks!
Sent from my SGH-T959V using xda premium

Is it possible to compile MIUI from source?

Probably yes, but I haven't ever done it...plus i don't have it...

That's the problem with porting ROMs with smali, if you want to grab all the latest changes you're gonna have to use the newly built rom as base. This is why we were trying to get MIUI patchrom working. If we have the new zip it does the smali patching for you and you don't have to do nearly as much work since you can automate it.

I don't understand, on BML I used to flash a new kernel every second day. There is no way to flash only the kernel on MTD?
Sent from my SGH-T959V using xda premium

The kernel changes had userspace changes to go with them (new builds of the libraries).
That wasn't going on with the BML kernels. People were just adding new features, not really changing anything that was already in the rom.

The only way of it working is if you build miui from source, or re-port it. There are 2 separate branches, android device and kernel. A fix in kernel also goes with another device. And device is built in the rom
Sent from my SGH-T959V using xda premium

Thanks guys.
Sent from my SGH-T959V using xda premium

Related

Miui ROM?

What does it take to get miui support on the sidekick 4g?
Sent from my Nexus S 4G using XDA Premium App
I think the biggest hurdle right now is compiling an AOSP kernel for this phone. Since all we've got to work with is Froyo for the time being, any MIUI port would be considerably dated.
Sent from my SGH-T839 using XDA App
Thanks. So basically we're waiting for a GB ota kernel source code update from Samsung. Then compile aosp. Then the roms like cm and miui can boot.
Sent from my Nexus S 4G using XDA Premium App
exactly or waiting for someone like krylon to get a leak for us!
To port MIUI, we need a 2.6.35.x kernel, which would require either a GB release/leak or Sammy to release the kernel source for 2.6.35 for our phone. I'm currently working on porting the 2.6.35 kernel to get CM7 working, but it's taking much longer than anticipated, given the amount of stuff that they added to our phone.

(Q) kernel for cm7

Hase anyone find any kernel that works with cm7. Please link the link
Sent from my myTouch_4G_Slide using xda premium
What do you mean? The cm7 build already has a kernel
Sent from my Doubleshot using XDA App
I know but another one. if ther is another one. Cuz I ve seen alot kernel out there like the og kernel. titan. Incrediblekernel. But those don't work with this rom
Sent from my myTouch_4G_Slide using xda premium
Alright, let me explain what a kernal does, so you'll understand why exactly they don't work.
The kernals main and only feature is to maintain the hardware and how the phone works, entirely. It's not actually Android User Interface (AUI), but what makes the AUI work and give the usability of the phone to the user.
Each phone has a different base kernal, making it impossible to used on a phone with different hardware. The only kernal available for AOSP/CM is the one that it comes with. If you choose to use the Sense ROM's, some of them work with the OC/UV kernal RomanBB posted linked here.

CM9 RC2 Released for captivatemtd!

Download link:-removed-
135.99 MB
2012-07-19 05:38:22
(I created a new thread for this because the other CM9 thread was for nightlies)
Awesome downloading now
Sent from my SGH-I897 using xda app-developers app
about to flash
NICE! Now I can wait for the CM10 whenever, or if, it becomes available for the cappy!
ThreeofNine said:
NICE! Now I can wait for the CM10 whenever, or if, it becomes available for the cappy!
Click to expand...
Click to collapse
We should get CM10 as soon as CM10 nighties start. Pawitp already said that all the sources for the Captivate are in place, but he doesn't have time to compile a test build (there is a test build for the i9000 along with a thread on the i9000 forum). If all the sources are in place, it should be possible to compile from source. The kernel itself may also have to be compiled from source independently. Of course if you are able to compile the kernel from source, you can use the i9000 CM10 build and do a kernel swap.
Edit: It is important to note that a CM9 kernel will not work for a swap. THS has changed the partitioning for CM10 on the SGS devices. the /system partition from CM7/9 is not large enough for Jelly Bean, so the /datadata partition has been removed and the space has been split between /system and /cache. This means that performance for loading applications may not be as good as CM9 (at least until the cache builds up). For more details, look in pawitp's i9000 CM10 thread.
has anyone tried yet? I flashed it and it completely wiped my phone... the settings->about doesn't even say RC2.... i'm going to hold off... i think this was a test build debugger. is it just me?
skyxliner said:
has anyone tried yet? I flashed it and it completely wiped my phone... the settings->about doesn't even say RC2.... i'm going to hold off... i think this was a test build debugger. is it just me?
Click to expand...
Click to collapse
I've installed rc2. No problems so far. It says RC2
how early did you dl it? I got mine at around 1AM... i should have screen shot before i recovered on cwm. i guess i'll dl and try again
3 hours ago
Sent from my SGH-I897 using xda app-developers app
says RC2 here as well the new CWM recovery 6 kinda threw me off lol
Downloaded and Upgraded. Runs amazing! ^-(^.^)-^
There is a nightly on top of RC2 released:
nightly Direct Download: cm-9-20120719-NIGHTLY-captivatemtd.zip
md5sum: 709fa797638a82b60ce087cade31497d 135.99 MB2012-07-19 17:12:07
~ V
one thing about the new recovery i notice is that it makes the backups in a new location so my old backup are not seen .. how can i fix this
Im flashing the new nightly let's see if i can access my backups from new recovery
Edit: i see my backups in new CWM recovery v6 :victory:
I've been running RC-2 now for 3 Days.. compiled my own... its a lot smoother than the other releases...
Sent from my SGH-I897 using xda premium
dman3285 said:
I've been running RC-2 now for 3 Days.. compiled my own... its a lot smoother than the other releases...
Sent from my SGH-I897 using xda premium
Click to expand...
Click to collapse
Mind to share?
~ V
i think the OP just wanted his thanks button spanked. Pawitp knows how to post, along with the rest of TeamHackSung
dman3285 said:
I've been running RC-2 now for 3 Days.. compiled my own... its a lot smoother than the other releases...
Sent from my SGH-I897 using xda premium
Click to expand...
Click to collapse
dman !!! thought you was rocking the Note ?
I would recommend that you put information such as Changelog, Installation instructions, Bug tracking, Rules, etc. Because this thread is probably going to be closed if it consists only of a simple link.
Looks good tho
Doesn't seem like a good idea to post a link in the development section, of other people's work. You are doing good by informing people about the RC, but don't you think this should be in General Section.

new kernel dev needed

Since we lose intX and his kernel, anyone can take over his kernel and continue to update? Lets take a look the dev forum, except mohans rom and kernels , almost all thread is cm ,aokp roms.
Don't think you're gonna find help this way. Since the only incentive is interest, you'll just have to wait.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
I've been thinking about building a custom kernel.. there are some extra modules I'd like to include anyway.
I've built the Linux kernel thousands of times, including cross compile for arm and custom patch sets etc.
But for some reason when i tried building an Android kernel a few months ago it just wouldn't boot no matter what. So don't get your hopes up.
I'll give it a shot though when i get a chance. You mainly want some extra governors? Under volt?
I'd rather start with a fresh cm base and merge in specific things as i go.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
everyone need custom kernel for different purpose. for me , i need only badass and the newest interactiveX governor, i think that is all i need. you can PM InstigatorX, he is move to a new phone , so may you can take over his thread. thanks anyway , it is a good thing to have hopes , and wait patiently ......
christianxin said:
Since we lose intX and his kernel, anyone can take over his kernel and continue to update? Lets take a look the dev forum, except mohans rom and kernels , almost all thread is cm ,aokp roms.
Click to expand...
Click to collapse
Ill be doing kernel builds and theming soon. I can do rom builds but we have enough devs for that at the moment with the rookie thread bringing in quite a few new devs. I have done things going on with my 4 daughters but as soon as I get that worked out ill be moving to kernels. Will be about a month before I have my first custom kernel released.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Request fulfilled, check out the development section.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
bps119 said:
Request fulfilled, check out the development section.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
If you are lazy http://forum.xda-developers.com/showthread.php?t=1949828

[request] aokp + cm + pa

Will it possible to to have a mix of Aokp, cm and paranoid android on our device? Hoping that it will be developed for our phone.
Sent from my MB865 using XDA Premium HD app
nikhJ said:
Will it possible to to have a mix of Aokp, cm and paranoid android on our device? Hoping that it will be developed for our phone.
Sent from my MB865 using XDA Premium HD app
Click to expand...
Click to collapse
Yea.. It's called PAC-man ROM. Already been built for our phone once, shared for a short time, then abandoned.
Sent from my MB865 using xda app-developers app
Anybody still have the pacman rom saved? If so plz share it with me. I would like to mess around with it.
alteredlikeness said:
Yea.. It's called PAC-man ROM. Already been built for our phone once, shared for a short time, then abandoned.
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
Why was I lt abandoned? I had an idea of porting stock aokp of Motorola RAZR to our cm10.1 when the kexec issue is solved. It would be great.
Sent from my MB865 using XDA Premium HD app
atrix2man said:
Anybody still have the pacman rom saved? If so plz share it with me. I would like to mess around with it.
Click to expand...
Click to collapse
I still have the old version I built somewhere - camera was completely broken if I recall. But I will look for the link..
Edit: pacman for edison: http://bit.ly/1196VZS
No camera.. and it has other bugs.
Need 4.1.2 gapps (I think).
BMM patch for cmpa should work with it (?!?)
But someone should rebuild it with new sources - it has been updated a lot since I built it.
nikhJ said:
Why was I lt abandoned? I had an idea of porting stock aokp of Motorola RAZR to our cm10.1 when the kexec issue is solved. It would be great.
Sent from my MB865 using XDA Premium HD app
Click to expand...
Click to collapse
I wanted to focus on the PA ROMs.
And why struggle with porting when we can build it ourselves?
Sent from my MB865 using xda app-developers app
Ill try to rebuild it. Ive tried b4 but couldnt get it to boot.
atrix2man said:
Ill try to rebuild it. Ive tried b4 but couldnt get it to boot.
Click to expand...
Click to collapse
Ok.. I guess the camera was an easy fix.. I just borrowed the libions from CMPA
Attached is the FIX.zip. (Not an ideal fix, but it works - actually, there should only be one libion_ti.so, and the libion.so symlinked to it)
Like I said, this should really be rebuilt from scratch from source.. Maybe I will get a chance to sync the repos again and rebuild it soon (planning on cleaning up and re-doing my virtual box on which I build in the near future - I don't have a lot of free space for these kind of projects there at the moment).
Maybe I will clean up the current pacman rom.zip and re-upload it.. not sure yet.
But, for those that want to use/try PAC-man for Edison:
ROM: http://bit.ly/1196VZS
BMM patch (if installing as system other than 1st): http://www.androidfilehost.com/?fid=9390362690511176203 (from CMPA)
Rotation/screenshot fix (will give slight UI tearing): http://www.androidfilehost.com/?fid=9390355257214631938 (from CMPA)
Camera fix: Attached below
Gapps: use 4.1.2 package
alteredlikeness said:
Ok.. I guess the camera was an easy fix.. I just borrowed the libions from CMPA
Attached is the FIX.zip. (Not an ideal fix, but it works - actually, there should only be one libion_ti.so, and the libion.so symlinked to it)
Like I said, this should really be rebuilt from scratch from source.. Maybe I will get a chance to sync the repos again and rebuild it soon (planning on cleaning up and re-doing my virtual box on which I build in the near future - I don't have a lot of free space for these kind of projects there at the moment).
Maybe I will clean up the current pacman rom.zip and re-upload it.. not sure yet.
But, for those that want to use/try PAC-man for Edison:
ROM: http://bit.ly/1196VZS
BMM patch (if installing as system other than 1st): http://www.androidfilehost.com/?fid=9390362690511176203 (from CMPA)
Rotation/screenshot fix (will give slight UI tearing): http://www.androidfilehost.com/?fid=9390355257214631938 (from CMPA)
Camera fix: Attached below
Gapps: use 4.1.2 package
Click to expand...
Click to collapse
The camera fix, what fixs exactly?
brianmoyano said:
The camera fix, what fixs exactly?
Click to expand...
Click to collapse
The camera. It didn't work at all. Now it works.. but not great.. like cmpa and other rom's cams - no front-facing video (no facelocks, snapchats, etc), bad flash sync probably..
Sent from my MB865 using xda app-developers app
Hopefully you will have a chance to rebuild it..maybe even a kexec version. But for now im focused on your PA rom. Hopeing for kexec soon.
Installed pacman rom. Tweaked it up. Fixed init.d..speedy v7 scripts. No lag. Used your rotation fix..screen rotation works. Screenshots are perfect. Oc at 12. Some of settings preferences dont work. Could i use the camera libs from your asosp to make this work?
atrix2man said:
Installed pacman rom. Tweaked it up. Fixed init.d..speedy v7 scripts. No lag. Used your rotation fix..screen rotation works. Screenshots are perfect. Oc at 12. Some of settings preferences dont work. Could i use the camera libs from your asosp to make this work?
Click to expand...
Click to collapse
Not all libs were created equal.. No, a lot of the libs from aospa will not work on pacman..
But you could take the media_profiles.xml from aospa and fix (kinda) front-facing video. I will re-make the existing zip into a little better functioning ROM in the next couple of days... but I think someone else has agreed to try to build it fresh from new sources - and I offered my assistance.
alteredlikeness said:
Not all libs were created equal.. No, a lot of the libs from aospa will not work on pacman..
But you could take the media_profiles.xml from aospa and fix (kinda) front-facing video. I will re-make the existing zip into a little better functioning ROM in the next couple of days... but I think someone else has agreed to try to build it fresh from new sources - and I offered my assistance.
Click to expand...
Click to collapse
Well maybe it will get rebuilt from fresh sources. This has been one of my favirite roms ever...Still confused on the whole building process.
Thanks for the information altered. Would be good to see someone starts working on the pacman roms.
Sent from my MB865 using XDA Premium HD app
Pacman is built on a cm base so I would look to cm to fix the camera. However like altered said there has been a lot of changes and it really needs a fresh build to bring it up to 4.2.2. My repo is synced to build pacman for mako. I'm extremely busy right now with 2 sons playing baseball but if I can find time I might annoy altered for some help to try and build it for Edison. I'm not real experienced especially for compiling for a bl locked device. Anyone wants to get to it first be my guest
mtnlion said:
Pacman is built on a cm base so I would look to cm to fix the camera. However like altered said there has been a lot of changes and it really needs a fresh build to bring it up to 4.2.2. My repo is synced to build pacman for mako. I'm extremely busy right now with 2 sons playing baseball but if I can find time I might annoy altered for some help to try and build it for Edison. I'm not real experienced especially for compiling for a bl locked device. Anyone wants to get to it first be my guest
Click to expand...
Click to collapse
Well, I am doing it.. so far so good.. matter of time before things start taking good shape..
Sent from my ME865 using Tapatalk 2
alteredlikeness said:
Not all libs were created equal.. No, a lot of the libs from aospa will not work on pacman..
But you could take the media_profiles.xml from aospa and fix (kinda) front-facing video. I will re-make the existing zip into a little better functioning ROM in the next couple of days... but I think someone else has agreed to try to build it fresh from new sources - and I offered my assistance.
Click to expand...
Click to collapse
i realy wish you can fix the AOSPA `s bugs ,especally "shifting/tearing of UI" , i just want to ask do you have any idea of this bug ?Could you fix this bug in next rom or in 3.20 ?
colourfuldays said:
i realy wish you can fix the AOSPA `s bugs ,especally "shifting/tearing of UI" , i just want to ask do you have any idea of this bug ?Could you fix this bug in next rom or in 3.20 ?
Click to expand...
Click to collapse
That makes two of us..
Yes, the tearing bug will not be fixed until I get it booting a new kernel with kexec - otherwise, I could possibly make it without the UI tearing but you will have the rotation and screenshot size glitch..
And, I have no idea about 3.20... Those are the PA Team's version numbers - and it's still at 3.15.
Sent from my MB865 using xda app-developers app
Ravikirancg said:
Well, I am doing it.. so far so good.. matter of time before things start taking good shape..
Sent from my ME865 using Tapatalk 2
Click to expand...
Click to collapse
Well thats great! :good:

Categories

Resources