Jump to content


Photo

[Kernel] 308 Kernel for official ICS roms, Updated 07/02/2013


  • Please log in to reply
185 replies to this topic

#141
cazad

cazad

    Newbie

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Poland
  • Devices:Huawei Ascend G300

You need to enable and set it up with a script. It will not be enabled just because it is in the kernel.

Could you provide a working script, because I can't get zRam enabled on #11 with mine ?

  • 0

#142
PaulMilbank

PaulMilbank

    Regular

  • Members
  • PipPip
  • 146 posts
What have you tried?

  • 0

#143
cazad

cazad

    Newbie

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Poland
  • Devices:Huawei Ascend G300

#!/system/bin/sh

DISK_SIZE=128

echo 1 > /sys/block/zram0/reset

echo$(($DISK_SIZE*1024*1024)) > /sys/block/zram0/disksize

mknod /dev/zram0 b 253 0
mkswap /dev/zram0

swapon /dev/zram0

exit 0


and

echo 104857600 > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0


Edited by cazad, 26 January 2013 - 11:07 PM.

  • 0

#144
PaulMilbank

PaulMilbank

    Regular

  • Members
  • PipPip
  • 146 posts
OK, #13 kernel is up now. Try out the same scripts as above. The scripts seem to be enabling a swap area compressed in ram (zram) and that side would have worked. I had not enabled swap though so it would not have enabled the kernel to make use of the swap area. I have enabled swap now as well as a couple of other small tweaks. Hopefully that should do it.

  • 1

#145
Pain_Deluxe

Pain_Deluxe

    Addict

  • Members
  • PipPipPipPipPip
  • 603 posts
  • Gender:Male
  • Location:Germany
  • Interests:skating,hardware,cars
  • Devices:Huawei G300 [email protected]
Testing it out now on b944 infusion

  • 0

#146
cazad

cazad

    Newbie

  • Members
  • Pip
  • 34 posts
  • Gender:Male
  • Location:Poland
  • Devices:Huawei Ascend G300
It works now, thanks!

  • 0

#147
PaulMilbank

PaulMilbank

    Regular

  • Members
  • PipPip
  • 146 posts
Cheers man, glad to finally have it sorted. @pain_deluxe, let me know how you get on with b944 based infusion b06.

  • 0

#148
Pain_Deluxe

Pain_Deluxe

    Addict

  • Members
  • PipPipPipPipPip
  • 603 posts
  • Gender:Male
  • Location:Germany
  • Interests:skating,hardware,cars
  • Devices:Huawei G300 [email protected]
Must test again...

the most annoying on stock roms are stucking on games sometimes.(with your old kernel)

  • 0

#149
Pain_Deluxe

Pain_Deluxe

    Addict

  • Members
  • PipPipPipPipPip
  • 603 posts
  • Gender:Male
  • Location:Germany
  • Interests:skating,hardware,cars
  • Devices:Huawei G300 [email protected]

Cheers man, glad to finally have it sorted. @pain_deluxe, let me know how you get on with b944 based infusion b06.


PaulM #13(@1,19Ghz) Kernel and Supremacy Trilogy Script.
Games now runs smooth as before. But now its lagfree (Got with old kernel and NO scripts hard lags sometimes (e.g Tempelrun 1+2)
On Batterylife i have no idea.But i mean no difference.

  • 0

#150
Combat Gerbil

Combat Gerbil

    Regular

  • Members
  • PipPip
  • 76 posts
  • Gender:Male
  • Devices:Huawei Ascend G510
Release 19 seems the quickest on My phone, can't get a stable overclock out of any of them.. Antutu 3684+- on 19...and only 2965+- on newer releases. Quite a difference there..

  • 0

#151
kyan31

kyan31

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 3,868 posts
  • Gender:Male

Release 19 seems the quickest on My phone, can't get a stable overclock out of any of them.. Antutu 3684+- on 19...and only 2965+- on newer releases. Quite a difference there..


I agree, when using lightning ROM, release #19 keeps the phone running smooth. The newer releases made the phone actually lag quite alot, for example in the launcher.

To be honest, release #19 works so well, so I don't really need any updates.

  • 0

e2199c4dbb.png823c51b6b0.pngc3f6e04cdb.pngbc36a18046.pngead60d1912.pnge46a22ae54.png

 

Phones: Samsung Galaxy S4 Qualcomm & Huawei Ascend G300

PC: AMD FX 8350 8 CORE 4.2Ghz CPU, 16GB 1600Mhz Kingston HyperX RAM, Gigabyte R9 270X Winforce Edition GPU

Like my work? Hit that +1 button as a thank you! Want to support me? You could consider donating!  :)

Subscribe to my YT Channel: https://www.youtube.com/user/thekyan31


#152
PaulMilbank

PaulMilbank

    Regular

  • Members
  • PipPip
  • 146 posts
Yeah, I think I am going to remove wheatley governor from the next one. I had to enable an include in the defconfig and it works great with wheatley but every other governor seems to suffer a lack of smoothness.

  • 1

#153
Pain_Deluxe

Pain_Deluxe

    Addict

  • Members
  • PipPipPipPipPip
  • 603 posts
  • Gender:Male
  • Location:Germany
  • Interests:skating,hardware,cars
  • Devices:Huawei G300 [email protected]
Have no lag with smartass on launcher.

wtf is wheathley :D ( found it)

Yeah you should remove it. On smartassV2 and stock Clock everthing is sloppery (Lagging scrolling and launcher)

But @ 300-1,19Ghz everything is fine.

and wtf? 300-600mhz(smartassv2= no lags @ homescreen and scrolling ?`only if i select stock clocks it lags.

ony wheathley the stock clocks lag , too.

Edited by Pain_Deluxe, 03 February 2013 - 08:09 PM.

  • 0

#154
PaulMilbank

PaulMilbank

    Regular

  • Members
  • PipPip
  • 146 posts
OOPS:
Yeah, wheatley was an oops. #14 is up with wheatley removed and cpu idle commented back out of the defconfig. Smoothness is back.

Wheatley explanation from the dev:
http://forum.xda-dev...52&postcount=56
and Wheatley explanation:
http://www.alliance-...nors-explained/

So with the new highly-flexible Wheatley governor one can have the best of both worlds.
This governor is only available on multi-core devices.


No wonder it messed things up on our single core phone!.

  • 0

#155
Pain_Deluxe

Pain_Deluxe

    Addict

  • Members
  • PipPipPipPipPip
  • 603 posts
  • Gender:Male
  • Location:Germany
  • Interests:skating,hardware,cars
  • Devices:Huawei G300 [email protected]
hm, standard gov. lagfree?


damn i restored CM9 Kernel . 3G works but rom was lagging:D

  • 0

#156
Pain_Deluxe

Pain_Deluxe

    Addict

  • Members
  • PipPipPipPipPip
  • 603 posts
  • Gender:Male
  • Location:Germany
  • Interests:skating,hardware,cars
  • Devices:Huawei G300 [email protected]
hm 14 is a bit laggy to on scrolling.

just reinstall infusion with your kernel. lets see....

Lagfree governor

'lagfree' - this driver is rather similar to the 'ondemand'
governor both in its source code and its purpose, the difference is
its optimization for better suitability in a battery powered
environment. The frequency is gracefully increased and decreased
rather than jumping to 100% when speed is required.

So its good with battery too?

Edited by Pain_Deluxe, 04 February 2013 - 03:19 PM.

  • 0

#157
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Could've been worse; it might've been Governor Wheatley. Arnie was quite weird enough a choice...

I got my G300 back recently, so I'm going to start having a play again. What weirdness did the init I gave you cause?

Edited by unaszplodrmann, 04 February 2013 - 08:25 PM.

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#158
PaulMilbank

PaulMilbank

    Regular

  • Members
  • PipPip
  • 146 posts
Once I changed to MTP, I could not get mass storage mode back. Also It mixed my sdcards up if I remember correctly. Would you mind giving a tutorial of how you made it? Would be keen to see what changes you made and see how you made it.

  • 0

#159
unaszplodrmann

unaszplodrmann

    Diehard

  • Members
  • PipPipPipPip
  • 400 posts
  • Gender:Male
  • Devices:Huawei G300
Ah, really? Thats interesting because it sheds some light onto the modifications Huawei have made to the CAF source. The ROM I'm working on is based on B952 but has most of their flakey, semi-functional "value added" features removed; it just provides an AOSP-like user environment (and will eventually include LVM, hopefully)... Hence I didn't come across those issues... Huawei's dodgy feature hacks are unfixable without even uglier kludges, so I disabled/removed them instead.

Unfortunately, it sounds like fixing persisent MTP for stock ROMsin general would be a faff. Working with the sources from CAF, you'd need to replicate the behaviour of Huawei's init in order to support their hacked up vold... I just added a few property/id combinations to the property_perms array in system/core/init/property_service.c to get bluetooth working, like so:

{ "service.brcm.bt.", AID_BLUETOOTH, 0 },
{ "service.brcm.bt.", AID_SYSTEM, 0 },
{ "persist.service.brcm.bt.", AID_BLUETOOTH, 0 },

  • 0
Kill the bee... and ultimately... you'll have nothing to spread on your toast — John Shuttleworth

#160
PaulMilbank

PaulMilbank

    Regular

  • Members
  • PipPip
  • 146 posts
Great job man. Would love a rom that is closer to aosp source. Hope you manage to get all of Huawei's kludges fixed.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users