• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [Kernel] rbheromax rb3 Kernel

rbheromax

Android Expert
Sep 22, 2012
1,919
440
Columbia, South Carolina
rbheromax rb3 Kernel:


Linaro info:
Code:
rbheromax@agerthorn:~/kernels/kernel_raybst$ "$CROSS_COMPILE"gcc -v
Using built-in specs.
COLLECT_GCC=/home/rbheromax/toolchains/arm-eabi-linaro-4.7.3/bin/arm-eabi-gcc
COLLECT_LTO_WRAPPER=/home/rbheromax/toolchains/arm-eabi-linaro-4.7.3/bin/../libexec/gcc/arm-eabi/4.7.3/lto-wrapper
Target: arm-eabi
Configured with: /mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.11/build/objdir/temp-src/gcc-linaro-4.7-2012.11/configure --prefix=/tmp/andr
oid-toolchain-eabi --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/mnt/jenkins/works
pace/linaro-android_toolchain-4.7-2012.11/build/objdir/temp-install --with-mpfr=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.11/build/objd
ir/temp-install --with-mpc=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.11/build/objdir/temp-install --with-cloog=/mnt/jenkins/workspace/l
inaro-android_toolchain-4.7-2012.11/build/objdir/temp-install --with-ppl=/mnt/jenkins/workspace/linaro-android_toolchain-4.7-2012.11/build/objdir/temp
-install --disable-ppl-version-check --disable-cloog-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstd
c++,-Bdynamic -lm' --disable-libssp --disable-nls --disable-libmudflap --disable-shared --disable-sjlj-exceptions --disable-libquadmath --disable-libi
tm --disable-libatomic --with-float=soft --with-fpu=vfp --with-arch=armv5te --enable-target-optspace --prefix=/tmp/android-toolchain-eabi --disable-do
cs --disable-nls --with-gcc-version=linaro-4.7-2012.11 --with-binutils-version=current --with-gmp-version=5.0.5 --with-mpfr-version=3.1.1 --with-mpc-v
ersion=1.0 --target=arm-eabi --enable-threads --enable-tls --disable-libgomp --disable-libstdc__-v3 --disable-libitm --disable-libatomic
Thread model: single
gcc version 4.7.3 20121106 (prerelease) (Linaro GCC 4.7-2012.11)


v6.0.1
http://dev.dtalley11.com/rbheromax/archive/rb3/ring/rb3-6.0.1-t1.zip

v5.1 full
http://dev.dtalley11.com/rbheromax/archive/rb3/ring/rb3-v5.1-full.zip


v5 preview:
http://dev.dtalley11.com/rbheromax/archive/rb3/ring/rb3-v5-prev.zip
(until i add the last 2 things to make the real v5 full

v4:
http://dev.dtalley11.com/rbheromax/archive/rb3/ring/rb3-v4-tiny.zip



Kernel underclocked (max 1.2 GHz for battery life):
http://dev.dtalley11.com/rbheromax/samsung/sph-m840/rb3-ring-uc.tar
http://dev.dtalley11.com/rbheromax/samsung/sph-m840/rb3-ring-cwm.zip

Stock kernel (in case you want to flash back):
http://dev.dtalley11.com/rbheromax/samsung/sph-m840/ring-stock-kernel.tar
http://dev.dtalley11.com/rbheromax/samsung/sph-m840/ring-stock-kernel.zip

Odin (flash tool):
http://s463927618.onlinehome.us/android/tools/Odin3-v3.04.zip

Samsung USB Drivers:
http://forum.xda-developers.com/showthread.php?t=961956

Instructions:
1. Put your device in download mode.
2. You should see a yellow rectangle with COM:xx and saying ready. It means that your device is ready to be flashed!
3. Go into the PDA section and select the .tar file.
4. When you're done with this, ensure that the file you have is for your device.
5. Ensure that re-partition at the left is UNCHECKED!!
6. Press the flash button
7. When it's finished, it should say that it's done with a green box and your device should reboot by itself
8. Hit my thanks button ;) :thumbsup: :cool: :D

61858d1379799221-kernel-oc-rbheromax-rb3-kernel-v5-2-1-updated-1379799216208.jpg

^^^Screenshot^^^​
v0.1 Screenshot:
19800107164738_1.png
Source: https://github.com/rbheromax/kernel_raybst
(Had to fix source to complie with newer linaro toolchain :D )
 
  • Like
Reactions: wolfemcbane
Changelog

v6.0.1
row sched and set to default
intellidemand cpu gov added
interactive cpu gov default
few code fixes (really kangs because I cant even write the Hello World example in C)
exfat fs module added
finally got rid of -xxxxxdirty tag on kernel info!!!!
tweaked freqs a bit (62mhz-1.4ghz)

v5.1
its the preview &:
removed ondemand and powersave gov
made interactive gov default
max 1.4 ghz like stock
removed even more unneeded drivers

v5 preview:
updated staging driver to latest CAF 3.4
removed sec_debug from staging
updated qualcomm crypto engine
enabled swap
added sio I/O sched and made default
enabled interactive cpu gov
revert to max 1.2 ghz

v4:
qualcomm crypto+twofish encryption at kernel level
scrapped most of unneeded filesystems (ext2,3,yaffs/2)
took out alot of other things
enabled wiimote+accessories and tivo slide remote bt drivers (okay guys i know u may not use them but i find these devices very usuable)
deadline sched. default (will change to noop next release, i just want to move away from cfq)
some extra goodies :)

(20130901):
v0.3 rb3
* powersave and ondemand govs removed
* "-dirty" tag removed from kernel info (displays as 3.4.0-rb3-mod)
Link removed, bootlooped

(20130831):
v0.2 rb3
*avs enabled
*max 1.2 ghz clock (no lag)
http://dev.dtalley11.com/rbheromax/samsung/sph-m840/rb3-ring.tar

(20130819):
v0.1
*linaro built (nothing extra added)
https://www.dropbox.com/s/1fyjxn3o3ao1hkk/rbheromax-kernel.tar




FAQ:
Q. What is AVS?
A. Dynamic voltage scaling to increase voltage is known as overvolting; dynamic voltage scaling to decrease voltage is known as undervolting. Undervolting is done in order to conserve power, particularly in laptops and other mobile devices, where energy comes from a battery and thus is limited.
xcumulative_energy.jpg.pagespeed.ic.jGRW8BjjEp.jpg
Q. What is "linaro built" mean?
A. Linaro focuses on optimized open-source support of the ARM v7A architecture and ARM v8 Architecture, for example SoCs that contain ARM Cortex-A9, Cortex-A15, Cortex-A53 and Cortex-A57 processor(s). I used their toolchain to compile this kernel and make it super-efficient.
Q. Why build kernel if CWM doesn't work yet?
A. Well...development has to start somewhere :p
 
Upvote 0
It'll work just fine. I had the old prevail too but could never get in on the dev scene there. I thought maybe I could do some things here. All we could get here was Koumajutsu which is more than enough. Up and coming devs such as myself, joemossjr, and Orthuvas are trying to have CM10.2 built for our phones. I think our little development community will thrive, even with limited man-power.
 
Upvote 0
I think you and the others are doing a great job, I wish I could help, but never have been able to write code, my brain just doesn't work that way, I can test as long as I have good instructions and I don't brick my phone, very expensive to replace, for an old guy I love this stuff, always have. I have lots of questions, just don't want to be a pain and bug people for answers to simple questions, I read all the posts first to look for an answer before I ask. I'm going to do MH5, your kernel, external2internal and wifi tether I hope tonight, I'll post what I get when done.Thanks
 
Upvote 0
Well I'm fairly new to this (I started about this time last year). If you have any questions, I should be able to answer them, I don't mind silly questions because well...I was there at one point too (I still ask stupid questions). If you have any trouble installing all the things you just posted about, PM me and I should be able to help you out.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones