[ROM][AOSP][ION BUILDS] CarbonRom KitKat [ RAY ][21-09-2014]

vishal_android freak

Inactive Recognized Developer / Recognized Contrib
Dec 30, 2012
1,898
5,637
0
Mumbai
Hushhhhh!!!! I am done finally with exams. Today. So let's update you guys with some latest changes so far.

-Kernel upgraded to 3.4.92
-Increased RAM by 2-3mb
-enabled 720p recording with no compromise on RAM. Thanks to @miniuser123 for base for it :)
-Many other changes that i don't remember now. You can have a look for everything here

These are tentative changes and not final. Updates will come soon. Stay tuned :)

Sent from my Nexus 5 using Tapatalk
 

Andrev01

Senior Member
Nov 1, 2012
845
59
0
Gliwice
Hushhhhh!!!! I am done finally with exams. Today. So let's update you guys with some latest changes so far.

-Kernel upgraded to 3.4.92
-Increased RAM by 2-3mb
-enabled 720p recording with no compromise on RAM. Thanks to @miniuser123 for base for it :)
-Many other changes that i don't remember now. You can have a look for everything here

These are tentative changes and not final. Updates will come soon. Stay tuned :)

Sent from my Nexus 5 using Tapatalk
Thanks vishal! :) A shy question here.. is it.. 4.4.3 now? :eek:
 

GaMeR77

Senior Member
Oct 9, 2013
124
11
0
Hushhhhh!!!! I am done finally with exams. Today. So let's update you guys with some latest changes so far.

-Kernel upgraded to 3.4.92
-Increased RAM by 2-3mb
-enabled 720p recording with no compromise on RAM. Thanks to @miniuser123 for base for it :)
-Many other changes that i don't remember now. You can have a look for everything here

These are tentative changes and not final. Updates will come soon. Stay tuned :)

Sent from my Nexus 5 using Tapatalk
How was your exam? and is this rom more stable or similar stability like 4.4.2? Because 4.4.2 was very stable...



Sent from my Xperia Ray using XDA Premium 4 mobile app
 
Last edited:
  • Like
Reactions: Gabrech

z75h

Senior Member
Apr 4, 2009
54
18
0
After 3 days' search, try and failure, I ask for help here.
I want to build kernel from https://github.com/CarbonRom/msm7x30-3.4.x-nAa ,

I notice this guide: http://forum.xda-developers.com/showthread.php?t=2543328, but I don't want to repo a full system source code of Kitkat since lack of HDD space.
So I follow this guide: http://forum.xda-developers.com/showthread.php?p=45653260#post45653260

Code:
git clone https://github.com/CarbonRom/msm7x30-3.4.x-nAa -b cm-11.0
export ARCH=arm CROSS_COMPILE=~/android_prebuilt_toolchains/arm-eabi-linaro-4.6.2/bin/arm-eabi-
make nAa_urushi_defconfig
make
but it ended up with swapfile.o or display**.o compile error.

Code:
  CC      mm/swapfile.o
mm/swapfile.c: In function 'scan_swap_map':
mm/swapfile.c:381:17: error: 'struct swap_info_struct' has no member named 'lock'
mm/swapfile.c:396:17: error: 'struct swap_info_struct' has no member named 'lock'
make[1]: *** [mm/swapfile.o] Error 1
make: *** [mm] Error 2

I had also tried:
all failed with various error.

I had succeed to build LegacyXperia's kernel with toolchains above, no error occured.

OS: Fedora 17 32bit in VM VirtualBox

Question 1:
Wrong version of toolchains? How to build CarbonRom's kernel?


Thanks~

Sorry for my bad english.

--------------------------------------------------------------------------
I have fixed it.


mm/swapfile.c line 373 to 404
Code:
scan:
	spin_unlock(&swap_lock);
	while (++offset <= si->highest_bit) {
		if (!si->swap_map[offset]) {
			spin_lock(&swap_lock);
			goto checks;
		}
		if (si->swap_map[offset] == SWAP_HAS_CACHE) {
			spin_lock(&si->lock);
			goto checks;
		}
		if (unlikely(--latency_ration < 0)) {
			cond_resched();
			latency_ration = LATENCY_LIMIT;
		}
	}
	offset = si->lowest_bit;
	while (++offset < scan_base) {
		if (!si->swap_map[offset]) {
			spin_lock(&swap_lock);
			goto checks;
		}
		if (si->swap_map[offset] == SWAP_HAS_CACHE) {
			spin_lock(&si->lock);
			goto checks;
		}
		if (unlikely(--latency_ration < 0)) {
			cond_resched();
			latency_ration = LATENCY_LIMIT;
		}
	}
	spin_lock(&swap_lock);
Change "&si->lock" to "&swap_lock" Fix it.

---------------------------
Question 2:
IF I want to build a boot.img which includ zImage and ramdisk directly, without repo a full android system source code, what source code shall I download and what steps shall I follow? Can anybody give me a guide link?
 
Last edited:

vishal_android freak

Inactive Recognized Developer / Recognized Contrib
Dec 30, 2012
1,898
5,637
0
Mumbai
Sorry for a biggggggg delay. But I am back :p

Nightly #13:
-Kernel updated to 3.4.95
-720p video recording enabled
-added an extra 1-2 MB of RAM
-System UI FC should now be fixed
-Fixed Video Recording Delay on start up.
-Sources updated to 4.4.4
-For whole list of Carbon changes go here

If 720p recording gives camera FC, install Google Camera from playstore and both camera should work fine then. Found bugs? Please attach a logcat and let me know .

Enjoy :D