New Yank555.lu kernels source??

Feel free to post whatever you want in here, or let others know who you are etc.
Please always be nice with each other, I don't want to see any ranting on this forum ;)

Re: New Yank555.lu kernels source??

Postby Perka » 06 Apr 2013, 16:53

yank555 wrote:
Perka wrote:Ok so I need to revert and start over :p or maybe reset my local source to update 38?


Depends if you went up step be step or in one big step ;)

But in some way, you'd need to return to 3.0.38.
JP.


I will do it a bit dirty I guess, I reverted to 38 and I guess I have to force push

Thx for your help :)
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby yank555 » 06 Apr 2013, 17:06

Anytime ;)
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: New Yank555.lu kernels source??

Postby Perka » 06 Apr 2013, 17:12

still the same :(

mm/memory.c: In function '__replace_cma_page':
mm/memory.c:1603: error: implicit declaration of function 'migrate_replace_cma_page' [-Wimplicit-function-declaration]
make[1]: *** [mm/memory.o] Error 1
make: *** [mm] Error 2
make: *** Waiting for unfinished jobs....

well time to go to work, will try more tomorrow.
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby Perka » 06 Apr 2013, 17:15

I will start over from a clean repo :) must be something I did wrong :)

EDIT: I did a diff with your migrate.h and mine and I made a mistake when I patched my source, now it builds fine :D
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby Perka » 07 Apr 2013, 14:55

Hi its me again ;)
How can I set zRam as an option to be activated by a init.d script?

Again thx :)
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby yank555 » 07 Apr 2013, 15:09

You need to place a file containing this in init.d :

Code: Select all
#!/system/bin/sh
# - zRam activation - 500Mb
if [ -e /sys/block/zram0/disksize ] ; then
  swapoff /dev/block/zram0
  echo 1 > /sys/block/zram0/reset
  echo 524288000 > /sys/block/zram0/disksize
  echo 1 > /sys/block/zram0/initstate
  swapon /dev/block/zram0
fi


NB: Change size to your liking.

But be careful, you need to use the Android optimized in defconfig and you may want to disable autoactivation in init.rc :

Code: Select all
# Init Compcache by taejin5.park
    chmod 0664 /sys/class/lmk/lowmemorykiller/lmk_state
    chown system system /sys/class/lmk/lowmemorykiller/lmk_state
    chmod 0664 /sys/block/zram0/disksize
    chown system system /sys/block/zram0/disksize
    write /sys/block/zram0/disksize 209715200
    chmod 0664 /sys/block/zram0/initstate
    chown system system /sys/block/zram0/initstate
#
# Disabled by Yank555.lu - Prepare zram for swap but don't activate it yet
#
#   write /sys/block/zram0/initstate 1


When using Android optimized zram, writing 1 to initstate directly activates zram, so it is in fact auto activated from init.rc on boot.

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: New Yank555.lu kernels source??

Postby Perka » 14 Apr 2013, 19:52

Did I do something worng again lol Now I have 839mb RAM o.O did you also get more RAM after patching to 3.0.72?

EDIT: Might have to do with some debug function, as when I build with stock config, RAM is back to 832.

EDIT2: I just love the idea with yankasusq :) you mind post your updates that are not in bitbucket for yankasusq?
Last edited by Perka on 15 Apr 2013, 10:51, edited 1 time in total.
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby yank555 » 15 Apr 2013, 08:58

Just checked, I have 833 on my CM10.1 kernel at 3.0.73 ;)

Have too look what I changed after bitbucket, but won't get to it today, work now and I'm on the go after work for rather late... :(

Remind me tomorrow ;)

JP.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

Re: New Yank555.lu kernels source??

Postby Perka » 17 Apr 2013, 13:53

Where did you get the zzmove 0.4? Can you share it? :)

Again thx for helping an opensource user :)
Perka
 
Posts: 33
Joined: 21 Mar 2013, 13:10
Has thanked: 17 times
Been thanked: 4 times

Re: New Yank555.lu kernels source??

Postby yank555 » 17 Apr 2013, 14:54

Perka wrote:Where did you get the zzmove 0.4? Can you share it? :)

Again thx for helping an opensource user :)


Got it from the author, Zanezam, you'd have to ask him to be "fair" ;)

JP.

PS: He's also an xda user, look in the Boeffla kernel thread.
Nexus 5 (aka. Hammerhead) 32Gb
Note 3 SM-N9005 32Gb Proudly eFused
SGS3 GT-I9300 32Gb
HTC Sensation XE
HTC HD2
TF300TG 32Gb

Image
Credits FAdrums !
User avatar
yank555
-----------
 
Posts: 3520
Joined: 11 Mar 2013, 20:51
Has thanked: 924 times
Been thanked: 4608 times

PreviousNext

Return to Offtopic - General Chat Room

Who is online

Users browsing this forum: No registered users and 17 guests

cron