[Kernel][JB] Beastmode Reloaded 3.5 | 09/01/13 | 4.2.2 COMPAT!

what do you want in this kernel

  • i want old school beastmode with cool installer

    Votes: 70 66.0%
  • eff that let me be in charge with an app

    Votes: 36 34.0%

  • Total voters
    106
Status
Not open for further replies.
Search This thread

Dog-G

Senior Member
Jul 29, 2011
93
9
THIS IS OLD NEWS



COMMON ERRORS AND FIXES!
Im on the new JB kernel and my WiFi Says ERROR... what do i do!?!?!

-please download attached prima_wlan.ko.zip unzip and place the prima_wlan.ko into /system/lib/modules/ and set permissions to 744





hi. am having the wifi error but cant seem to find the 'prima wlan.ko' download link.
 

Dog-G

Senior Member
Jul 29, 2011
93
9
hi. am having the wifi error but cant seem to find the 'prima wlan.ko' download link.

thats the log::


AROMA INSTALLER version 2.70B6
(c) 2013 by amarullz xda-developers

ROM Name : Beastmode RELOADED
ROM Version : 3.5
ROM Author : Zarboz
Device : HTC One XL
Start at : Mon Sep 2 00:42:52 2013


********************************************

Beastmode By Zarboz



********************************************
Mounting /system
about to run program [/sbin/busybox] with 3 args
Extracting files ...
Extract: /tmp/abootimg
Extract: /tmp/busybox
Extract: /tmp/cmdline.sh
Extract: /tmp/compatibility.sh
Extract: /tmp/edit_ramdisk.sh
Extract: /tmp/htcboot.img
Extract: /tmp/mkbootimg
Extract: /tmp/mkbootimg.sh
Extract: /tmp/modclean.sh
Extract: /tmp/modinstall.sh
Extract: /tmp/scheduler.sh
Extract: /tmp/sweep2wake.sh
Extract: /tmp/unpackbootimg
Extract: /tmp/zImage
Deleting Old Modules...
about to run program [/sbin/busybox] with 3 args
mount: mounting /dev/block/mmcblk0p33 on /system failed: Device or resource busy
run_program: child exited with status 255
about to run program [/tmp/modclean.sh] with 1 args
Starting From Scratch
about to run program [/sbin/busybox] with 4 args
BusyBox v1.20.1-cm9 bionic (2012-05-28 03:23 +0200) multi-call binary.
Usage: dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N]
[seek=N] [conv=notrunc|noerror|sync|fsync]
Copy a file with converting and formatting
if=FILE Read from FILE instead of stdin
of=FILE Write to FILE instead of stdout
bs=N Read and write N bytes at a time
ibs=N Read N bytes at a time
obs=N Write N bytes at a time
count=N Copy only N input blocks
skip=N Skip N input blocks
seek=N Skip N output blocks
conv=notrunc Don't truncate output file
conv=noerror Continue after read errors
conv=sync Pad blocks with zeros
conv=fsync Physically write data out before finishing
Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k (x1024),
MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)
run_program: child exited with status 1
Using layout for HTC One XL...
about to run program [/sbin/busybox] with 4 args
32768+0 records in
32768+0 records out
16777216 bytes (16.0MB) copied, 0.443827 seconds, 36.0MB/s
Extract boot.img...
about to run program [/tmp/unpackbootimg] with 5 args
run_program: child terminated by signal 11
Applying cmdline settings...
about to run program [/tmp/cmdline.sh] with 1 args
about to run program [/tmp/sweep2wake.sh] with 1 args
/tmp/sweep2wake.sh: line 22: sweep2wakeon: not found
Fixing your ramdisk...
removing governor overrides...
Looking for busybox...
adding init.d support (if not already supported)...
about to run program [/tmp/edit_ramdisk.sh] with 1 args
cp: can't stat '/tmp/boot.img-ramdisk.gz': No such file or directory
gunzip: /tmp/ramdisk/boot.img-ramdisk.gz does not exist -- skipping
find: /tmp/ramdisk/init.rc: No such file or directory
NO BUSYBOX NOT FOUND! init.d support will not work without busybox!
Setting busybox location to /system/xbin/busybox! (install it and init.d will work)
rm: can't remove '/tmp/ramdisk/boot.img-ramdisk.gz': No such file or directory
rm: can't remove '/tmp/boot.img-ramdisk.gz': No such file or directory
Renaming binaries...
/system/bin/thermald -> thermald_bck
/system/bin/mpdecision -> mpdecision_bck
about to run program [/tmp/compatibility.sh] with 1 args
about to run program [/tmp/mkbootimg.sh] with 1 args
/tmp/createnewboot.sh: line 3: syntax error: EOF in backquote substitution
run_program: child exited with status 2
Installing modules
Extract: /system/etc/firmware/wcnss.b00
Extract: /system/etc/firmware/wcnss.b01
Extract: /system/etc/firmware/wcnss.b02
Extract: /system/etc/firmware/wcnss.b04
Extract: /system/etc/firmware/wcnss.mdt
Extract: /system/etc/firmware/wlan/prima/WCNSS_cfg.dat
Extract: /system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini
Extract: /system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
Extract: /system/etc/init.d/56zram
Extract: /tmp/modules/ansi_cprng.ko
Extract: /tmp/modules/bluetooth-power.ko
Extract: /tmp/modules/dma_test.ko
Extract: /tmp/modules/evbug.ko
Extract: /tmp/modules/gspca_main.ko
Extract: /tmp/modules/lcd.ko
Extract: /tmp/modules/mmc_block_test.ko
Extract: /tmp/modules/msm-buspm-dev.ko
Extract: /tmp/modules/prima_wlan.ko
Extract: /tmp/modules/qce40.ko
Extract: /tmp/modules/qcedev.ko
Extract: /tmp/modules/qcrypto.ko
Extract: /tmp/modules/radio-iris-transport.ko
Extract: /tmp/modules/reset_modem.ko
Extract: /tmp/modules/scsi_wait_scan.ko
Extract: /tmp/modules/spidev.ko
Extract: /tmp/modules/test-iosched.ko
about to run program [/tmp/modinstall.sh] with 1 args
Flashing New boot.img...
Extract: /tmp/kernel/busybox
Extract: /tmp/kernel/flashboot
Extract: /tmp/kernel/flashboot.sh
Extract: /tmp/kernel/install_kernel.sh
about to run program [/tmp/kernel/install_kernel.sh] with 3 args
run_program: child exited with status 70
ERROR: Kernel Not Installed!
Wiping /cache
about to run program [/sbin/busybox] with 3 args
######################
# Kernel flashed, enjoy!
# -------------------------
# If you like my work,
# please consider a donation!
# -------------------------
#
######################
about to run program [/sbin/busybox] with 4 args
about to run program [/sbin/sleep] with 2 args
script result was [0]


Installer Sucessfull (Status 0)


End at : Mon Sep 2 00:42:59 2013

EDIT: Sorted it out
 
Last edited:

screwloose

Member
Jun 13, 2005
19
4
Melbourne
Anyone else have no camera and some graphics switching down the bottom right hand corner in the apps menu?

Other then that loving this kernel
 

Heisenberg

Retired Forum Moderator
Jun 29, 2011
27,180
18,633
Knocking on your door
OnePlus 9 Pro
Viper. It was working before i flashed the kernel. I went straight to 3.5 maybe that was the problem.

tryed 3.0 and 2 they didn't have the camera working either. I just put the stock kernel back on and camera works. Strange...

This kernel is optimised for 4.2 ROMs, as far as I know Viper is still a 4.1 ROM.

Sent from my Evita

---------- Post added at 09:20 PM ---------- Previous post was at 09:19 PM ----------

Great work guys but i think u must add some more battery tweaks to make the battery long lasting

Sent from my HTC One XL using xda premium

How long have you been running the ROM/kernel? Did you flash them together or did you flash the kernel later?

Sent from my Evita
 

Heisenberg

Retired Forum Moderator
Jun 29, 2011
27,180
18,633
Knocking on your door
OnePlus 9 Pro
I flashed the kernel later and in aroma installer i choosed default settings

Sent from my HTC One XL using xda premium

How long has it been since you flashed? Did you do a couple of initial charge cycles?

Sent from my Evita

---------- Post added at 11:20 PM ---------- Previous post was at 11:18 PM ----------

For those getting long battery life, what are your settings when you Flash 3.5?

Governor: intellidemand
Scheduler: cfq
Touch boost disabled

Sent from my Evita
 
  • Like
Reactions: XNine

XNine

Senior Member
Dec 28, 2010
638
282
Denver
HTC 10
OnePlus 6
How long has it been since you flashed? Did you do a couple of initial charge cycles?

Sent from my Evita

---------- Post added at 11:20 PM ---------- Previous post was at 11:18 PM ----------



Governor: intellidemand
Scheduler: cfq
Touch boost disabled

Sent from my Evita

Awesome, thank you.

So, I flashed 3.5 (made sure it was 3.5) over Sun_dream's S2 ROM. Wifi no worky. Gets an Error. I'll find a fix in this thread, just thought I'd let others know. Since it's currently the most up-to-date Sense 5 4.2 ROM available, I had to try. Worked fine with just the ROM, but I wanted Beastmode goodness. Wifi broke. Again, I'll fix it, just an FYI.
 

Heisenberg

Retired Forum Moderator
Jun 29, 2011
27,180
18,633
Knocking on your door
OnePlus 9 Pro
Ok sir can u plz tell what should i choose in custom settings for better battery and overall performance

Sent from my HTC One XL using xda premium

Battery savings and performance don't really go together, it's generally one or the other. But if you use the following settings in the installer you can tweak the kernel using something like Trickster Mod or Kernel Tuner once you're booted.

Minimum CPU: 192mhz
Maximum CPU: 1728mhz
Max 3D GPU clock: 266mhz
Max 2D GPU clock: 200mhz

Sent from my Evita
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 43

    banner4o.png

    10dtqms.png

    https://github.com/zarboz/Evita_UL_422-JB

    What is a Kernel?
    A kernel is the lowest level of easily replaceable software that interfaces with the hardware in your computer. It is responsible for interfacing all of your applications that are running in “user mode” down to the physical hardware, and allowing processes, known as servers, to get information from each other using inter-process communication (IPC).
    Android-system-architecture.jpg


    What is Sweep2wake?Does it keep my phone awake?



    Short answer: No.
    Long answer:
    Sweep2wake works with IRQs (Interrupts).
    An interrupt can be best imagined as you doing something, like shopping at the local super market, when someone jumps in front of you and punches you into your family jewels. You will most certainly not just continue shopping.
    In technical terms: An Interrupt interrupts the normal operation of a program and executes "special" code instead.

    So if you touch your screen, an interrupt is send on which the touch driver reacts. That's it.
    Since we have a capacitive touchscreen you also do not need to worry about any pressure onto the screen.

    If you want to disable sweep2wake execute this command on your phone (adb shell or directly), you can also add it to an init.d script.
    Code:
    echo "0" > /sys/android_touch/sweep2wake
    It Allows you to make a Sweeping action along the bottom of your screen to wake or sleep the screen (mimics action of the power button)
    What is msm_mpdecision?
    show-p1984 said:
    What is msm_mpdecision?

    100% kernel based multi core decision! (should cpu1/2/3 be online or not?)
    This replaces your /system/bin/mpdecision binary which is renamed by the installer to mpdecision_bck.

    Check /sys/kernel/msm_mpdecision/conf/ for the configuration.

    startdelay = time until mpdecision starts doing it's magic (20000)
    delay = time between checks (70)
    pause = if something else plugs in the cpu, fall asleep for 10000ms (10 secs)
    scroff_single_core = if the screen is off, don't plug in cpu1/2/3. Additionally: Unplug all cpus except cpu0 when screen is turned off (1)
    enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
    min_cpus = min cpus to be online, cannot be < 1. Default: 1
    max_cpus = max cpus to be online, cannot be > 4. (if you set it to 2 and min_cpus to 1 you will basically have a dualcore) Default: 4
    idle_freq = a value against that will be checked if a core +/- is requested. (486000)
    If cpu0 is below that value and a core up of another cpu is requested, nothing will happen.
    If any other cpu is above that value and a core down of that cpu is requested, nothing will happen. (otherwise it would now put down that cpu even though it is still working, which isn't what we want)


    Hot plug thresholds (aka now it gets 'complicated')
    This small formula calculates which value will be used: (number_of_cpus_online - 1) * 2
    The result of this formula will be the nwns_threshold where a new cpu is hotplugged.
    The result of this formula + 1 will be the nwns_threshold where a cpu is unplugged.

    nwns_threshold_x = runqueue threshold, if this is reached cpuX will be hot/unplugged
    twts_threshold_x = time threshold, this amount of time must have passed for the related action to be taken (hot/unplug)

    Example:
    One cpu is online.
    (1 - 1) * 2 = 0 ergo:
    nwns_threshold_0 = cpu1 will be hotplugged at this value
    ((1 - 1) * 2) + 1 = 1
    nwns_threshold_1 = cpu0 will be unplugged at this value
    Since we can't unplug cpu0 this is '0'.

    Two cpus are online.
    (2 - 1) * 2 = 2 ergo:
    nwns_threshold_2 = cpu2 will be hotplugged at this value
    ((2 - 1) * 2) + 1 = 3
    nwns_threshold_3 = cpu1 will be unplugged at this value

    etc...

    The default values are:
    NwNs_Threshold: 12, 0, 25, 20, 32, 28, 0, 35
    TwTs_Threshold: 140, 0, 140, 190, 140, 190, 0, 190
    Where the position and function of the number equals the result of the above explained formula.

    (all times are in ms)
    If you want to see the mpdecision magic happening:
    Code:
    adb shell
    cat /proc/kmsg | grep 'MPDEC'
    mpdecision's input event boost, aka project butter :p
    This will boost your min cpu speed if you touch the screen or press a button and gives you full control.
    In those events the min cpu freq will be risen to a predefined value (look below) on every online cpu. This boosts overall reaction times and smoothness a lot. (works similar to the qcom mpdecision binary)
    Configuration files:
    root@android:/sys/kernel/msm_mpdecision/conf # ls
    boost_enabled
    boost_freqs
    boost_time

    All of them work like the usual sysfs files, except one special case:
    boost_freqs will list all frequencies from cpu 0 to cpu x. Cpu 3 and any following cpu will share one frequency.
    To change those frequencies echo the cpu number + the frequency in khz. To change the boost freq of cpu3 (and 4,5,6,7,8, etc) the echo would look as follows:
    Code:
    echo "3 1026000" > /sys/kernel/msm_mpdecision/conf/boost_freqs
    for cpu0:
    Code:
    echo "0 1026000" > /sys/kernel/msm_mpdecision/conf/boost_freqs
    Defaults:
    Code:
    cat /sys/kernel/msm_mpdecision/conf/boost_freqs
    918000
    918000
    702000
    594000



    What is msm_thermald?
    show-p1984 said:
    Kernel based 3-phase thermal control!
    This replaces your /system/bin/thermald binary which is renamed by the installer to thermald_bck.
    It will throttle your cpu speed to keep it cool and unleash it if the cpu has cooled down enough. (3 phases: low, mid and high)

    Check /sys/kernel/msm_thermal/conf/ for the thermal configuration

    allowed_max_high = highest threshold (phase 3)
    allowed_max_low = remove the throttling if we cooled down to this (clr_thrshold)
    allowed_max_freq = max frequency if throttled (limit)

    [...]mid[...] = same as above, just for phase 2
    [...]low[...] = Lowest threshold (phase 1)

    check_interval_ms = how often shall we check? (sampling rate)
    Default: 100ms (=0.1sec)

    shutdown_temp = if we reach this shut down the device!
    Default: 80°C

    If you want to see msm_thermal doing it's job:
    Code:
    adb shell
    cat /proc/kmsg | grep 'thermal'


    HUGE THANKS TO: @show-p1984 @Venomtester @imagioX @faux123 and all the others who have helped me out
    25
    I fell a sleep last night my bad guys

    Update incoming with this added:
    Fixed p sensor
    Fixed autofocus
    Fixed flash led on cam
    Added oc up to 1.7ghz
    Added uc down to 162mhz
    Added governors
    Added schedulers

    Sent from my SCH-R970 using XDA Premium 4 mobile app
    19
    Changlog
    Please track all bugs and issues here



    The proper format for reporting is on the google code page but please attach the following to your bugreport post:
    Adb logcat dump of event
    kmesg dump of event < dont know what that is ?? here is a easy way to get it
    after you have the problem promptly reboot your phone
    Code:
    adb pull /proc/last_kmsg ./last_kmsg.txt
    this will spawn a .txt file in the directory your shell is in upload this file this will suffice for a stacktrace
    CHANGE LOG

    Beastmode RELOADED 3.5
    -Updated aroma installer binaries
    -Fixed module installation

    Beastmode Reloaded 3.0
    -Added Cmdline control
    -Removed Whitelist OTG
    -Enabled Ofast compile flag
    -Aroma installer so you can setup everything

    Beastmode Reloaded 2.0
    -Added Mpdecision
    -Added OC up to 1.7ghz
    -Added UC down to 162mhz
    -Added Thermald
    -Added light GPU oc
    -Added Governors
    -Added Schedulers
    -Fixed Psensor
    -Fixed autofocus on cam
    -Disabled OC on SLOW chips due to voltages issues (UC is still there tho)
    -Disabled system WP flag


    Beastmode Reloaded

    -Based of GPE M7 Google phone Sources with latest 4.2.2 kgsl/mdp drivers
    -Updated sound firmware and audio drivers to 24 bit
    -Sweep2wake
    -Blinking Button Backlight Notification
    -Linaro optimized
    -Prima Wlan built from source


    ------------------------------
    Beastmode Evita Plus RC1.2
    -Updated User VDD control
    -Updated s2w algo a little bit
    -Tuned up some loose ends
    -Built with -O3
    -updated to 3.4.11

    Beastmode Evita Plus RC1.0
    -Jelly Bean 3.4.10 Source
    -Msm_mpdecision added most upstream version
    -Msm_thermald added most upstream version
    -Sweep2wake with programmable start/end key
    -Userspace UV controle
    -3D Gpu overclock up to 512mhz
    -2D Gpu overclock up to 325mhz
    -CPU OC avail up to 1.9ghz
    -L2 Cache Boosted
    -FSB bus increased
    -LOTS of scheduler mods to increase performance
    -ARM Topology updated
    -Intellidemand, Lionheart and Badass governors added
    -FIOPS, ROW, SIO schedulers
    -Userspace FSYNC Toggle in /sys
    -Fsync tweaks
    -WP switch toggled so system is r/w
    -Init.d Support
    -Cmdline interfacing
    -Zram ported from 3.6 linux kernel and enabled
    -Enabled Faster PVS bin

    19
    uploading new version with updated camera drivers and fixed p sensor

    if anyone else notices funky stuff lmk
    16