[Galaxy S II Android Development] Saber:
Troubleshooting

For general help, please use the Q&A thread

http://xdaforums.com/galaxy-s2/help/qa-dorimanx-lp-5-x-x-t3161661

Q: Why flash your kernel? - For new users of DorimanX kernel

DorimanX kernel is an aftermarket kernel (or custom kernel) that is designed to allow users to tweak their phone at the kernel or near-hardware level side of things. In other words, users get more fine-grained control over their phone, this includes overclocking, underclocking, changing behavior of CPU/GPU etc. Adjusting such settings isn't for the faint-hearted since there is many things to understand, but you aren't required to understand all of the settings. Ultimately, if you want to improve your phone experience, try DorimanX kernel! :)

Q:How do I flash your kernel?

A: You flash kernels like flashing ROMs, except you don't have to factory reset your phone. However, if you are official CM12.1 nightly, you will have to flash the kernel differently (if you want to flash my old unsigned builds).

Method A: If you get signature verification errors, you need to sign the zip with a program like Sign-em or Sign+.

Method B: To flash this kernel on official CM12.1 nightly, you first need to flash Philz recovery on your phone via ODIN. Here is the link to the for philz recovery: Philz Touch Recovery After that, you can flash the kernel like normal.

Method C: Another way is to create a kernel .tar file by extracting the zimage file located in /boot folder of the kernel zip then create a .tar archive. Then flash it in ODIN. Here is the guide to create your own kernel tar file: http://xdaforums.com/galaxy-s2/development-derivatives/convert-kernel-zip-to-tar-t2994381 For your convenience, I've create a tar file of build b002 in the guide linked.

Q: Which kernel version build should I flash?

A: Flash the latest stable version if you want the most stable experience. Beta builds will always have the latest features and should be fine to use as a daily driver. Stable builds have been thoroughly tested for issues, but are usually older than current builds. Either way, it's up to you which one you want to flash. Read the changelog for any important changes that might have occurred in a particular build.

Q: Which app should I use to tweak the kernel?

You should only use stweaks to tune DorimanX kernel.

Q: Can I use isorec recovery on DorimanX kernel?

A: Yes you can. All important information was covered in the OP already!

Q: Why should I flash your builds when the last 'real' unofficial build was v008?

A: If you don't want to enjoy awesome features that improve the experience of dorimanx kernel, then it doesn't worry me. Real or not, I don't build kernels to have bad battery life, bad stability and etc. This is my personal build of dorimanx kernel!

Q: Wifi doesn't work after I flash this kernel

A: There are several possible causes to this issue, there could be a problem with your:

- Partitions OR

- Permissions OR

- Gapps OR

- ROM OR

- Compatibility with your wifi hardware

Don't use a pit with modded preload! It will just cause issues with ROMs and Kernels. Use stock pit or use a pit with unmodded preload. Sometimes, the gapps package you flash somehow breaks compatibility with the kernel. You can fix this by flashing a different gapps (making sure to clean cache and dalvik). If you have permissions problem, you can fix this by repartitioning your internal sd card or by reflashing back to stock rom. Sometimes, the ROM doesn't fully support the wireless drivers in the kernel, this can be solved by flashing a different ROM or different kernel. But if your wifi hardware is not compatible (a way to tell this is when you have tried everything and failed), there is nothing you can do but reflash the rom or flash a different kernel.

Q: I came from a different custom kernel that used Stweaks, now the app has issues

A: Every time you come from a different custom kernel with stweaks support, make sure to wipe cache and dalvik cache after install dorimanx kernel

Q: My battery life sucks after flashing this kernel!

A: Download and install Betterbatterystats and see what is the culprit to your problem. If it is kernel related, have you made sure you have wipe cache and dalvik and reset stweaks settings? If yes, it would be nice if you posted a logcat.

Q: How do I get a logcat for the kernel?

A: In stweaks, go to BUG-REPORT and tap on KERNEL-BUG.

Q: Why do I get bootloops with this kernel?

A: If you were on a working version on dorimanx before, there is probably something wrong with the installation. Sometimes, bootloops can occur due to corruption of the kernel zip file (usually from bad download) or from corrupted partitions.

Q: What do all of the settings mean? They are all confusing!

A: Please note that DorimanX kernel isn't for users who have just rooted their device. Before jumping into the custom kernel world, try playing around with other kernels first. Once you think you have some experience, read the stweaks beginners guide I made and then attempt to tweak the kernel using stweaks.

Q: How do I trim my partitions?

BEWARE: Make sure you have read all of the precautions before attempting to trim your partitions!

Q: My device is (hard) bricked after flashing your kernel!

A: Have you read all of the precautions before installing the kernel? You made the decision to flash the kernel and now you've stuffed up your phone.

Q: I get constant FCs after flashing your kernel!

A: Have you wiped your cache partition, dalvik cache and reset stweaks settings? If you've done all of these already, a logcat would be nice :)

Q: How do I use dual boot?

A: There are many guides on how to dual boot roms using dorimanx kernel. Just use the search function on XDA or GOOGLE it!

Q: What's a good combination for CPU governor and I/O scheduler?

A: Have a look at the default settings, they are optimised for our phone :)

However, here are some settings I recommend:

CPU Governor: HYPER/zzmoove/Darkness

I/O Scheduler: CFQ/BFQ/ZEN/Deadline/SIO

Q: Why does the screen turn blank after the dorimanx logo appears during the boot process?

A: If your kernel doesn't bootloop, but the screen remains blank, there is a good chance that the ROM that you've used uses an older version of GPU drivers (Mali). This kernel only support ROMs with Maliv3 support. If you flash this kernel on MaliV2 or MaliV1 only roms, you will get a blank screen after flashing. To fix this, flash to the kernel the corresponds to your mali driver version and you should get your display back.

Q: What is a TCP algorithm?

A: Congestion control strategies (or algorithms) are used by TCP, the data transmission protocol used by many Internet applications. The main goal of a TCP algorithm is to avoid sending more data than the network is capable of transmitting, that is, to avoid causing network congestion.

Q: What is a toolchain?

Q: What is UBER?

Q: What is Linaro?