[FAQ] >> RBAP for miniCM10 by nAa, nAa's kernel X10mini/X8/x10miniPRO .:08/07/2013:.

Search This thread

matmutant

Senior Member
Mar 17, 2011
3,395
4,743
~/
andrux-and-me.blogspot.com
Moto G
Moto E
[FAQ] >> RBAP for miniCM10 by nAa, nAa's kernel X10mini/X8/x10miniPRO .:08/07/2013:.

Read Before Asking Please

FAQ for MiniCM10, and nAa kernel
reading may answer to lots of your questions !
for X10mini, X8 & x10miniPRO



MiniCM10_logo_600x424.png


  • i decided to create a new thread dedicated to Q&A about miniCM10 ;)
  • this thread is the place of your questions, answers, tips about miniCM10 and nAa ics kernel
  • so please, as usual, read FAQ, use search option or anything else before asking commonly answered questions
  • the FAQ will be incremented when needed
  • the Q&A is written as Q are asked




Requirements:


Instructions:

  1. paste miniCM10-4.X.X on the root of your SDcard
  2. backup
  3. flash JB kernel
  4. get in recevery and format /system ; /data ; /cache
  5. flash rom
  6. flash gapps
  7. wait for the very long first boot
  8. enjoy

Please make sure you followed the above steps before reporting any issues, especially 'wipe data/factory reset'



something else that is useful to read before asking :

Here we (nearly all? XDA members, regardless of being devs or only users [like me], me at least ) don't care about your good/bad English ;) the important is trying to be understood and to understand the content of the threads :)


only ask things you can't find, or you don't understand, please if you don't understand something in any process tell us exactly where is your problem : it will optimize the answer ;)

sometime rephrasing things can make you understand better, feel free to help us for making the most understandable sentence for anybody :)

i'm always trying to use a proper English (not so easy for a non native English ^^)
but if there's something misunderstood because of my English your are welcome to correct me :)

BUT if you don't make the effort to read, I won't make the effort to answer :p (ok, you can't read everything... but read the minimum ;) )

that's it :)


miniCM website is now available (http://minicm.dyndns.org/site/Chat/ for chatroom)
clic on the red text above ;)

register, and then enjoy :)



________________________________
bug tracking template :
#BUG Report

DO
Reboot - Recovery

BUG
the screen stuck in rebooting dialog. It should just rebooting

ACTION
press home key (or any key maybe) to make it reboot
________________________________

we seek for you, TESTERS, go there for helping : [DEV] miniCM10 debug only thread (shakira, robyn and mimmi)
 
Last edited:

matmutant

Senior Member
Mar 17, 2011
3,395
4,743
~/
andrux-and-me.blogspot.com
Moto G
Moto E
2nd part of FAQ

FAQ :


for quick search, use ctrl+f and enter keyword, you should find an answer to your question :)



ok, let's start with some fun :

how to understand FAQ :

0/ question(which build(s) is(are) concerned with q/
answer to the question
old, wrong or obsolete answer
additionnal comments if needed



__________________________________________________


about nAa JB kernel :
Preface:
  • Read through [that] post. Don't rush into flashing. Be sure you understand the process before you start
  • This is a custom kernel developed for Android Jellybean
  • Do NOT try this kernel on other Android versions - you are totally unsupported
  • This kernel introduces custom mtd partitioning with larger /system partition to hold the extra JB calories. If you are moving from another custom kernel to this one, you MUST first format /system /data and /cache via the embedded CWM recovery



1/ any problem with display overridding?( ? ; ? )
in settings > development settings :
907cd8eb.png


_____________________

2/ wanna go back to a non jelly bean based rom?( all builds ; all devices )
go to CWM > mount&storage and format :
  • /system
  • /data
  • /cache
then flash the kernel you want, (press flash on flashtool, plug the phone to pc, force reboot by pressing home+power, press and hold back button)
==> you can now restore a backup of the old rom you were previously using or install another non JB based rom

_____________________

3/ hard/software keyboard isn't working properly??( ? ; mimmi )

Quick fix for the soft keyboard:

On the select input method screen turn the hardware keyboard to off like so:
8d69c679-37db-7acf.jpg


The software keyboard will now appear but the hardware keyboard still works.

Basically this needs to auto-switch when the hw keyboard opens and closes.

X10man

Sent from my U20i using xda premium


Power off, then remove sim card. Reboot and select language, change keyboard layout in advanced definitions (mimmiparts). Then put again sim.
:D

Sent from my U20i using Tapatalk 2


4/ why my wifi can't load? ( all builds ; all devices )

you may have that kind of logcat:
Code:
D/WifiService( 1694): setWifiEnabled: true pid=2095, uid=1000

E/WifiStateMachine( 1694): Failed to load driver!

E/WifiStateMachine( 1694): DriverFailedState

open terminal emulator :
Code:
lsmod
if it doesn't answer anything, maybe /system is out of space and kernel fails to copy wifi modules at boot (note that undervolt module wont work either)

try the following :
  1. open any file explorer that is root capable,
  2. go to /system/media/audio/ringtones
  3. delete some ringtones (at least to recover about 3 or 4 MB free, the more is safer) [1.5 MB seems to be enough though ]
  4. reboot
  5. try lsmod and see, if the kernel succeeded to copy modules at boot it's ok and and lsmod outputs what you are waiting for, if not reflash kernel and/or try to install a reduced miniCM10 zip (by deleting ringtones as for the previous way, but in a zip editor)

hoping it will solve your problem :)

5/ you have various problems with wifi ? ( all builds ; all devices )
refer to miniCM7 and miniCM9 miniFAQs !!!

6/ what are I/O schedulers ? ( all builds ; all devices )
a kind of answer here :)

7/ i updated from miniCM10-4.0.0 to 4.0.1 and after updating the gapps to 20120923 i've lost the camera ? (miniCM10-4.0.1 ; all devices)
  • go to mount&storage
  • format /system (NO data lost :) )
  • install miniCM4.0.1 again
  • install gapps 20120923
  • reboot&wait
all should be back to normal : fast and feature full ;)

8/ how can i set keyboard shortcuts on my hardware keyboard? (all builds ; mimmi)
just edit azerty.xml or qwerty.xml in system\usr\keyboard-config\layouts

9/ how can i fix my azerty/qwerty/qwertz... HardWare keyboard? (miniCM10-4.0.2+ ; mimmi)
first flash this : from here
and then the zip corresponding to your specific language : look here

/!\ choose "default input method" so that the KB works correctly, if you don't it will behaves strangely
/!\ do not modify keyboard_layouts and keyprints in any way if you want the above to work, edit: seems you can edit the xml finally
/!\ do not modify advanced>mimmiperts, make sure you have not touched it before processing the installs. it is recommended to start from a "fresh build" i.e. to wipe all user data, and so on.
defauld input and sym button should be back ;)

/!\here is another way to fix it : follow allesand's instructions

10/ i wanna use a2sd, what is it and how to make it work? (all builds ; all devices)
refer to that short tuto & infos here by drfr


11/ my LED is not blinking properly :( is there any way to change that? (all builds ; all devices)
You must delete /system/lib/hw/lights.msm7x27.so with rootexplorer or any other file manager that allows you to explore and modify root files
handcent led settings does not work properly with lights.robyn.so :)
of course, you need to reboot your phone after that.

REDELETE AFTER EACH UPDATE if you have the same problem SINCE THE FILE IS REWRITTEN;)

12/ why flastool doesn't flash the kernel i choose? (any version)
  1. when there are lots of kernel builds in flashtool firmware folder, flashed kernel might not be the right one,
  2. to void this, create a folder in it, cut/paste all your previous kernel there
  3. and only keep the one you want to flash in the firmware folder
  4. then, start flastool and process flashing operations



13/ i'have some problem for sending mms (all builds until miniCM10-4.0.2+ ; all devices)
--> with CM7/9/10 you just CANT send mms without data enabled
if you can't even with data enabled:
I think that this is a common issue with CM7 and not just MiniCM7 (I experienced it on my DHD too).
Here is a small workaround for now:
Before sending the mms, disable data traffic, then enable it again and then send your mms.
You have to do it every time, before an mms but it is working for me.

Regards, D_d
--> seems now, mms can be sent without enabling data or anything, just need to have correct APN set up :)


14/ CM file manager doesn't work well for no (not at all in fact) (all builds? ; all devices?)
see details here.


15/concerning brightness on MiniCM10-4.0.2 nightly 20130119 and higher, (MiniCM10-4.0.2-nightlies ; shakira, robyn, mimmi?
to get compatibility with .32 kernel, nAa needed to change some things related to brightness monitoring
and that's why some issues appeared with .29 kernel, and then were fixed, but with the drawback of light being at max for a short time before dimming when turning the screen on.

using .32 kernel solves this issue ;)
with old .29 kernel, use MiniCM10-4.0.2-stable or nightlies until 20130114
for newer nightlies (especially 20130207+) prefer .32 kernel :)



16/ concerning Undervolting and newer .32 kernels : (MiniCM10-4.0.2+ and nAa .32-03+ ; all devices)
NobodyAtall said:
VDD levels

From 03 onwards, I've ported the vddlevels functionality from msm7x30
so that we can variably change the voltage level of the frequency we
want without the need for external modules.
The current voltage information is available at:
Code:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

E.g. the defaults after flashing the kernel should be:
Code:
 root@android:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
   122880:        3
   245760:        4
   320000:        5
   480000:        6
   604800:        7
   614400:        7
   633600:        7
   652800:        7
   672000:        7
   691200:        7
   710400:        7
   729600:        7
   748800:        7
   768000:        7
   787200:        7
   806400:        7
   825600:        7
   844800:        7
   864000:        7

To change for example the voltage level of the 122880 frequency, you could do:

Code:
 echo '122880 0' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

If you cat this file again, you should see that the voltage level is
picked up. The new voltage level is picked up when the CPU will scale
to the particular frequency level.

The undervolting tickbox in the 'Performance Settings' of the latest
MiniCM10 nightlies already uses the new interface. The values that are
set there are the same ones as those passed by the old undervolting
module:

Code:
root@android:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
   122880:        0
   245760:        2
   320000:        3
   480000:        5
   604800:        6
   614400:        7
   633600:        7
   652800:        7
   672000:        7
   691200:        7
   710400:        7
   729600:        7
   748800:        7
   768000:        7
   787200:        7
   806400:        7
   825600:        7
   844800:        7
   864000:        7

Do I need undervolting?
You dont NEED undervolting. It can save though hours of some battery
life during the day.

Overvolting?
Even though the interface allows you to overvolt, I don't suggest
doing so. It will result to instabilities or crashes and is totally
unsupported.

Performance?
Undervolting decreases the performance results - this is to be expected.

17/ why can't i connect my device to USB on PC ? (MiniCM10-4.1.0+ & nAa05+ ; all devices)
That's because MTP (Media Transfer Protocol) is default now, so it gets connected as a media device. If you want Mass Storage, go into Settings-Storage on your ROM and press the menu-button, you can select USB-storage from there.

18/ where is my dualtouch?? (MiniCM10-4.1.0+ &nAa05+ ; all devices)
this is a copy of kernel OP, that you should have read before ;)
Dualtouch (for synaptics):
By default dual touch is disabled for improved touch accuracy and avoidance of the 'ghost touch' side-effect.
  • If you want to enable the fake DT by andrej456, you have to insert the following line in the /system/etc/hw_config.sh file:
    Code:
    echo "1" > /sys/module/synaptics_i2c_rmi4/parameters/cfg_dt
  • If you want to enable the fake DT by dx, you have to insert the following line in the /system/etc/hw_config.sh file:
    Code:
    insmod /system/lib/modules/synaptics_i2c_rmi4_dt.ko
Dualtouch (for cypress):
Cypress supports dualtouch, so this is enabled by default

19/ why do i get a kernel version error (installation abort, status 7) while installing MiniCM10? (MiniCM10-4.1.0 up to 20130518-NIGHTLY &nAa06 ; all devices)
change in rom zip to *.61 for kernel version if you want the installation to complete (in META-INF/com/google/android/updater-script) :)
 
Last edited:

matmutant

Senior Member
Mar 17, 2011
3,395
4,743
~/
andrux-and-me.blogspot.com
Moto G
Moto E
usefull links and performance tricks

useful links :

[DEV] miniCM10 debug only thread (shakira, robyn and mimmi)
what CPU governors, and how do they work?


$find other useful link in miniCM7/9 miniFAQs ;) $


Perfomance :

recomended settings :
perf related :
  • CPU: keep default, but enable UnderVolting (and set on boot if you don't OverClock) (settings>performance>CPU)
  • RAM : to optimize RAM usage, use KSM, zram (18%, default) and allow purging of assets (settings>performance>memory managment)
  • I/O : keep NOOP, this is the default and the best for flash memory
other :
in settings>developer options
  • enable USB debugging,
  • debug notification,
  • set all animations to 0.5 (electron beam CRT animation will happen no more)
  • enable "kill with back button"
________________

for whose who feel the system slow and laggy, just try the SWAP ;) (SDcard class6+ recommended)

SWAP, there is two "kind" of swap : using a partition on the SDcard, or using a swap file
both are good, but some SDcard/phones react better with the one or the other

let us start with the partition way : it is more complicated than the file method, but as some advantages ;)

pros: once it is set up, no need to care about it anymore, the SDcard can be mounted to PC easily without latency
cons: a little complicated to set up, and once it's done, it is as complicated to revert as to set up; to change swap size, you need to repeat the process (formating and partitioning SDcard)

needs a clean install of miniCM10:
  • flash JB kernel
  • in CWM, go to mount&storage :
  • then, format /system, /data and /cache (so that kernel can use the new partitions size) any data on phone memory will be lost
  • set up your swap:
  • ==> go to /advanced/Partition SD Card
  • if you don't want to use a2sd, then choose the minimal size for ext, and the size you want for SWAP
    it will FORMAT your SDcard ! any data on SDcard will be LOST
  • and install the rom :)

swap partition should work :)
what doesn't work is the swap info menu

to revert : format SDcard in phone settings : it will FORMAT your SDcard ! any data on SDcard will be LOST

____________________

now, the swap file way : it is really simpler than the swap partition, works great but has some drawbacks

pros: easy to set up, easy to revert, and the size can be choosen at wish at anytime (in settings>performance>memory>Swap settings)
cons: high latency when mounting SDcard to pc, it can take forever (really quicker to use CWM mount and storage capability to use the SD on the PC, than using android way)

you must perform a clean install of miniCM10 (by formating /system, /data and /cache) any data on phone memory will be lost
install the rom zip, the gapps, and boot up your phone
set it up
once your rom is ready to use,

  • go to settings>performance>memory>Swap settings
  • choose "enabled"
  • choose the size
  • allow system to get SU permissions
  • wait for the pop up "swap enabled"
enjoy, it is simple and can be disabled on wish


for both :
to see if your swap works, open terminal, and type the following :
Code:
free

to see the swapiness :
To check in terminal:
Code:
cat /proc/sys/vm/swappiness

Default value is 30 if you have zram and swap enabled, or 60 if only swap without zram.

To change it TILL NEXT REBOOT:
Code:
echo X > /proc/sys/vm/swappiness
where X is your desired value

To change it PERMANENTLY:
add the above line to the end of your hw_config.sh (you can find it in /sýstem/etc)

Note: it is always way easier to type those things on PC keyboard, so you´d better do it in adb shell.



__________________

some usefull lines of commands for any user wanting to know what's going on :

  • in terminal, just type the lines,
  • in ADB, add "adb" before the commands
  • if you want not to siplay the output in terminal, specify the path :
    Code:
    command > /where_you_want_your_output_to_be_stored/name_you_want_for_the_log

to know how much swap there is (total and free are what you want to know), use the following command since the way using menu is broken :
Code:
free

to know if KSM is really turned on :
Code:
cat /sys/kernel/mm/ksm/run

to know what modules are running :
Code:
lsmod

install an app from terminal :
Code:
pm install /sdcard/app1.apk
from adb :
Code:
adb pm install /home/user/app1.apk

your kernel crashed?
Code:
cat /proc/last_kmsg
ex : from adb, and stored in /home/user/last_kmsg1
Code:
adb cat /proc/last_kmsg > /home/user/last_kmsg1

an app crashed, you want to know why?
Code:
logcat
ex : from adb and stored in /home/user/myfirstlogever
Code:
adb logcat > /home/user/myfirstlogever

don't have an USB cable ?or adb "other the air" :
connect to your home wifi network (both device and pc)
in settings/dev options/ enable adb on TCP/IP
Code:
adb connect xxx.xxx.xxx.xxx:5555
(the IP is the one displayed in the option you choose previously :)
and then, since it is connected, catch the log :
Code:
adb logcat > /home/user/myfirstlogever
 
Last edited:

matmutant

Senior Member
Mar 17, 2011
3,395
4,743
~/
andrux-and-me.blogspot.com
Moto G
Moto E
Benchmarks, screenshots and thklist

to start with, some screenshots :)
MiniCM10 theme:
eeecadf5.png
9dac22fa.png


58d3d051.png
e5fe51f8.png


9d531de8.png


MiniCM10 Crystal2:
A95XiyECcAA2qNO.png:large
BAqkYHgCYAABNYP.png:large

BA1E_3kCQAAB2aI.png


benchmarks :

MiniCM10-4.0.2-nightly, using .32 kernel :
all has been done at 729MHz, on robyn

on .32-02:
antutu :
fps2D:​
BCctuElCIAA1AVd.png:large
BCcuQjMCEAETPNP.png:large
Screenshot_2013-02-04-18-53-42_zpse6d8ad6c.png



I/O performance on miniCM10-4.0.2-20130120/nAaJB03 (2.6.29.6) :


conclude what you want :)

NOOP:- The NOOP scheduler inserts all incoming I/O requests into a simple, unordered FIFO queue and implements request merging.

The scheduler assumes I/O performance optimization will be handled at some other layer of the I/O hierarchy; e.g., at the block device; by an intelligent HBA such as a Serial Attached SCSI (SAS) RAID controller or by an externally attached controller such as a storage subsystem accessed through a switched Storage Area Network.​


ANTICIPATORY:- Anticipatory scheduling is an algorithm for scheduling hard disk input/output.
It seeks to increase the efficiency of disk utilization by "anticipating" synchronous read operations.​

CFQ:-CFQ, also known as "Completely Fair Queuing", is an I/O scheduler for the
Linux kernel which was written in 2003 by Jens Axboe.

CFQ works by placing synchronous requests submitted by processes into a number of per-process queues and then allocating timeslices for each of the queues to access the disk. The length of the time slice and the number of requests a queue is allowed to submit depends on the IO priority of the given process. Asynchronous requests for all processes are batched together in fewer queues, one per priority.​

BFQ:- BFQ is a proportional share disk scheduling algorithm based on the slice-by-slice service scheme of CFQ. But BFQ assigns budgets, measured in number of sectors, to tasks instead of time slices. The disk is not granted to the active task for a given time slice, but until it has exahusted its assigned budget. This change from the time to the service domain allows BFQ to distribute the disk bandwidth among tasks as desired, without any distortion due to ZBR, workload fluctuations or other factors. BFQ uses an ad hoc internal scheduler, called B-WF2Q , to schedule tasks according to their budgets. Thanks to this accurate scheduler, BFQ can afford to assign high budgets to disk-bound non-seeky tasks (to boost the throughput), and yet guarantee low latencies to interactive and soft real-time applications.​

I/O performances on MiniCM10-4.1.0 /w 2.6.32.60 nAa-JB-05 :
here is a chart showing scheduler specific results,
the benchmarks were based on Antutu, regarding IO and SDcard R/W

my settings are :
122~729MHz
smartassH3
undervolted
KSM
zram 18%
swap file 128MB​

all i can say for now, is that SIO is the more balanced scheduler, and CFQ/VR are the worst ;)


here are the results

BFv-zTzCEAAn7Ye.png


what does the chart shows us?

SIO is the more balanced scheduler, it has a good IO, and a good read/write
Anticipatory has the best IO, but a bad SDwrite
Deadline has the best SDwrite, but is quite average for IO and SDread
NOOP, CFQ and VR are a bit behind

for people using swap, i would say that they should use SIO or deadline, for others, Anticipatory or BFQ might be better

i ran the benchmark 4 times for each scheduler.​

source

Benchmarks history since stock rom here
MORE BENCHMARKS HERE


thanks to Heronger and some others helping to build this FAQ :)
 
Last edited:

sandropiras

Member
Apr 27, 2011
22
0
I have questions/suggestion request about minicm 10 for xperia x8, i have a very little space to store applications, any suggestions? With GB I can use a lot of apps moving its in SD but with MiniCM 10 also moving apps I can install all the apps that I use before.
Use an ext partition for example it would be useful?
Another thing is the automatic conversion trom SMS to MMS when it exceeds a page in length. Only using another app for messages it wont be this way but i thing it would be great if we can use the stock app that I think is great!
 

X8invisible

Senior Member
Oct 22, 2011
2,659
470
Internal Storage
Google Pixel 7 Pro
A q aswell(actually I'm not sure of something)
nAa said it will repartition our space and said to uninstall we need to flash using seus or flashtool so that means to go back to stock partition we need to flash good ol eclair or any other kernel(eg. nAa gb) will get back our partition?

Sent from my heart™ using Xperia X8
 

sandropiras

Member
Apr 27, 2011
22
0
A q aswell(actually I'm not sure of something)
nAa said it will repartition our space and said to uninstall we need to flash using seus or flashtool so that means to go back to stock partition we need to flash good ol eclair or any other kernel(eg. nAa gb) will get back our partition?

Sent from my heart™ using Xperia X8

I think he means that if we want move to another kernel we have to use seus or flashtool the way we always flash new kernel, for example flashing again naa-13 over jb kernel using flashtool without going back to eclair first.
 

sandropiras

Member
Apr 27, 2011
22
0
I tried to make an ext partition in my sd card with CWM, now I have more memory to store my apps and system is so fast! This rom is great!
I only have sometimes random reboots and sometimes the screen crashes but now this is my daily rom!
 

StardustGeass

Senior Member
Jan 7, 2012
771
140
Jakarta
Does swap partition works in MiniCM10 ?
I still don't quite understand about the meaning of clearing data, cache, etc...
Currently, I'm still at MiniCM 2.2, with a swap partition, EXT 4 partition, and FAT partition...

What is the correct sequence to run JB for the first time ?
Do I have to :

1. Reformat my MMC first + deleting the partition, go to recovery, format data, cache, etc, then make new partition (Swap, EXT4, and FAT)

OR

2. Format data, cache, etc, then reformat my MMC (as Swap partition gets changed to EXT3 automatically when doing factory reset), then make new partition.

Can somebody help ? Thank you in advance :)
 

matmutant

Senior Member
Mar 17, 2011
3,395
4,743
~/
andrux-and-me.blogspot.com
Moto G
Moto E
Does swap partition works in MiniCM10 ?
I still don't quite understand about the meaning of clearing data, cache, etc...
Currently, I'm still at MiniCM 2.2, with a swap partition, EXT 4 partition, and FAT partition...

What is the correct sequence to run JB for the first time ?
Do I have to :

1. Reformat my MMC first + deleting the partition, go to recovery, format data, cache, etc, then make new partition (Swap, EXT4, and FAT)

OR

2. Format data, cache, etc, then reformat my MMC (as Swap partition gets changed to EXT3 automatically when doing factory reset), then make new partition.

Can somebody help ? Thank you in advance :)

flash JB kernel
in CWM, go to mount&storage :
then, format /system, /data and /cache (so that kernel can use the new partitions size)
then set up your swap
and install the rom :)

swap partition should work :)
what doesn't work is the swap info menu





_______________________


benchmark of the day :
cb4e96d6.png
4d78b50f.png
 
Last edited:

kkkhattak

Senior Member
Dec 3, 2011
958
176
Peshawar
Google Pixel 6 Pro
flash JB kernel
in CWM, go to mount&storage :
then, format /system, /data and /cache (so that kernel can use the new partitions size)
then set up your swap
and install the rom :)

swap partition should work :)
what doesn't work is the swap info menu





_______________________


benchmark of the day :
cb4e96d6.png
4d78b50f.png

Please show your settings.MATMUTANT

Sent from my U20i using xda premium
 

zenesis

Senior Member
Jan 13, 2012
548
151
Xiaomi Mi Mix 3
benchmark :

cb4e96d6.png
4d78b50f.png
[/QUOTE]

SERIOUSLY. I haven't had a high score on my mimmi with my MiniCM7 with most of apps I need and apps for UI improvements(themes/widgets/etc). I also use v6 SuperCharger of zepplinerox. I only had a 1853 score. but this score is higher. does this have potential to overthrow the speed and performance of MiniCM7?
 

matmutant

Senior Member
Mar 17, 2011
3,395
4,743
~/
andrux-and-me.blogspot.com
Moto G
Moto E
minicm10 doesn't have as much features as minicm7 or 9 but is much smoother and more powerful right now .


my settings are simple:
ksm on, disable hardware override on, swap file 128 , uv on, else: default
note that this screen shot was taken on a private nightly of the next release :
 
Last edited:
  • Like
Reactions: fifo171

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    [FAQ] >> RBAP for miniCM10 by nAa, nAa's kernel X10mini/X8/x10miniPRO .:08/07/2013:.

    Read Before Asking Please

    FAQ for MiniCM10, and nAa kernel
    reading may answer to lots of your questions !
    for X10mini, X8 & x10miniPRO



    MiniCM10_logo_600x424.png


    • i decided to create a new thread dedicated to Q&A about miniCM10 ;)
    • this thread is the place of your questions, answers, tips about miniCM10 and nAa ics kernel
    • so please, as usual, read FAQ, use search option or anything else before asking commonly answered questions
    • the FAQ will be incremented when needed
    • the Q&A is written as Q are asked




    Requirements:


    Instructions:

    1. paste miniCM10-4.X.X on the root of your SDcard
    2. backup
    3. flash JB kernel
    4. get in recevery and format /system ; /data ; /cache
    5. flash rom
    6. flash gapps
    7. wait for the very long first boot
    8. enjoy

    Please make sure you followed the above steps before reporting any issues, especially 'wipe data/factory reset'



    something else that is useful to read before asking :

    Here we (nearly all? XDA members, regardless of being devs or only users [like me], me at least ) don't care about your good/bad English ;) the important is trying to be understood and to understand the content of the threads :)


    only ask things you can't find, or you don't understand, please if you don't understand something in any process tell us exactly where is your problem : it will optimize the answer ;)

    sometime rephrasing things can make you understand better, feel free to help us for making the most understandable sentence for anybody :)

    i'm always trying to use a proper English (not so easy for a non native English ^^)
    but if there's something misunderstood because of my English your are welcome to correct me :)

    BUT if you don't make the effort to read, I won't make the effort to answer :p (ok, you can't read everything... but read the minimum ;) )

    that's it :)


    miniCM website is now available (http://minicm.dyndns.org/site/Chat/ for chatroom)
    clic on the red text above ;)

    register, and then enjoy :)



    ________________________________
    bug tracking template :
    #BUG Report

    DO
    Reboot - Recovery

    BUG
    the screen stuck in rebooting dialog. It should just rebooting

    ACTION
    press home key (or any key maybe) to make it reboot
    ________________________________

    we seek for you, TESTERS, go there for helping : [DEV] miniCM10 debug only thread (shakira, robyn and mimmi)
    20
    2nd part of FAQ

    FAQ :


    for quick search, use ctrl+f and enter keyword, you should find an answer to your question :)



    ok, let's start with some fun :

    how to understand FAQ :

    0/ question(which build(s) is(are) concerned with q/
    answer to the question
    old, wrong or obsolete answer
    additionnal comments if needed



    __________________________________________________


    about nAa JB kernel :
    Preface:
    • Read through [that] post. Don't rush into flashing. Be sure you understand the process before you start
    • This is a custom kernel developed for Android Jellybean
    • Do NOT try this kernel on other Android versions - you are totally unsupported
    • This kernel introduces custom mtd partitioning with larger /system partition to hold the extra JB calories. If you are moving from another custom kernel to this one, you MUST first format /system /data and /cache via the embedded CWM recovery



    1/ any problem with display overridding?( ? ; ? )
    in settings > development settings :
    907cd8eb.png


    _____________________

    2/ wanna go back to a non jelly bean based rom?( all builds ; all devices )
    go to CWM > mount&storage and format :
    • /system
    • /data
    • /cache
    then flash the kernel you want, (press flash on flashtool, plug the phone to pc, force reboot by pressing home+power, press and hold back button)
    ==> you can now restore a backup of the old rom you were previously using or install another non JB based rom

    _____________________

    3/ hard/software keyboard isn't working properly??( ? ; mimmi )

    Quick fix for the soft keyboard:

    On the select input method screen turn the hardware keyboard to off like so:
    8d69c679-37db-7acf.jpg


    The software keyboard will now appear but the hardware keyboard still works.

    Basically this needs to auto-switch when the hw keyboard opens and closes.

    X10man

    Sent from my U20i using xda premium


    Power off, then remove sim card. Reboot and select language, change keyboard layout in advanced definitions (mimmiparts). Then put again sim.
    :D

    Sent from my U20i using Tapatalk 2


    4/ why my wifi can't load? ( all builds ; all devices )

    you may have that kind of logcat:
    Code:
    D/WifiService( 1694): setWifiEnabled: true pid=2095, uid=1000
    
    E/WifiStateMachine( 1694): Failed to load driver!
    
    E/WifiStateMachine( 1694): DriverFailedState

    open terminal emulator :
    Code:
    lsmod
    if it doesn't answer anything, maybe /system is out of space and kernel fails to copy wifi modules at boot (note that undervolt module wont work either)

    try the following :
    1. open any file explorer that is root capable,
    2. go to /system/media/audio/ringtones
    3. delete some ringtones (at least to recover about 3 or 4 MB free, the more is safer) [1.5 MB seems to be enough though ]
    4. reboot
    5. try lsmod and see, if the kernel succeeded to copy modules at boot it's ok and and lsmod outputs what you are waiting for, if not reflash kernel and/or try to install a reduced miniCM10 zip (by deleting ringtones as for the previous way, but in a zip editor)

    hoping it will solve your problem :)

    5/ you have various problems with wifi ? ( all builds ; all devices )
    refer to miniCM7 and miniCM9 miniFAQs !!!

    6/ what are I/O schedulers ? ( all builds ; all devices )
    a kind of answer here :)

    7/ i updated from miniCM10-4.0.0 to 4.0.1 and after updating the gapps to 20120923 i've lost the camera ? (miniCM10-4.0.1 ; all devices)
    • go to mount&storage
    • format /system (NO data lost :) )
    • install miniCM4.0.1 again
    • install gapps 20120923
    • reboot&wait
    all should be back to normal : fast and feature full ;)

    8/ how can i set keyboard shortcuts on my hardware keyboard? (all builds ; mimmi)
    just edit azerty.xml or qwerty.xml in system\usr\keyboard-config\layouts

    9/ how can i fix my azerty/qwerty/qwertz... HardWare keyboard? (miniCM10-4.0.2+ ; mimmi)
    first flash this : from here
    and then the zip corresponding to your specific language : look here

    /!\ choose "default input method" so that the KB works correctly, if you don't it will behaves strangely
    /!\ do not modify keyboard_layouts and keyprints in any way if you want the above to work, edit: seems you can edit the xml finally
    /!\ do not modify advanced>mimmiperts, make sure you have not touched it before processing the installs. it is recommended to start from a "fresh build" i.e. to wipe all user data, and so on.
    defauld input and sym button should be back ;)

    /!\here is another way to fix it : follow allesand's instructions

    10/ i wanna use a2sd, what is it and how to make it work? (all builds ; all devices)
    refer to that short tuto & infos here by drfr


    11/ my LED is not blinking properly :( is there any way to change that? (all builds ; all devices)
    You must delete /system/lib/hw/lights.msm7x27.so with rootexplorer or any other file manager that allows you to explore and modify root files
    handcent led settings does not work properly with lights.robyn.so :)
    of course, you need to reboot your phone after that.

    REDELETE AFTER EACH UPDATE if you have the same problem SINCE THE FILE IS REWRITTEN;)

    12/ why flastool doesn't flash the kernel i choose? (any version)
    1. when there are lots of kernel builds in flashtool firmware folder, flashed kernel might not be the right one,
    2. to void this, create a folder in it, cut/paste all your previous kernel there
    3. and only keep the one you want to flash in the firmware folder
    4. then, start flastool and process flashing operations



    13/ i'have some problem for sending mms (all builds until miniCM10-4.0.2+ ; all devices)
    --> with CM7/9/10 you just CANT send mms without data enabled
    if you can't even with data enabled:
    I think that this is a common issue with CM7 and not just MiniCM7 (I experienced it on my DHD too).
    Here is a small workaround for now:
    Before sending the mms, disable data traffic, then enable it again and then send your mms.
    You have to do it every time, before an mms but it is working for me.

    Regards, D_d
    --> seems now, mms can be sent without enabling data or anything, just need to have correct APN set up :)


    14/ CM file manager doesn't work well for no (not at all in fact) (all builds? ; all devices?)
    see details here.


    15/concerning brightness on MiniCM10-4.0.2 nightly 20130119 and higher, (MiniCM10-4.0.2-nightlies ; shakira, robyn, mimmi?
    to get compatibility with .32 kernel, nAa needed to change some things related to brightness monitoring
    and that's why some issues appeared with .29 kernel, and then were fixed, but with the drawback of light being at max for a short time before dimming when turning the screen on.

    using .32 kernel solves this issue ;)
    with old .29 kernel, use MiniCM10-4.0.2-stable or nightlies until 20130114
    for newer nightlies (especially 20130207+) prefer .32 kernel :)



    16/ concerning Undervolting and newer .32 kernels : (MiniCM10-4.0.2+ and nAa .32-03+ ; all devices)
    NobodyAtall said:
    VDD levels

    From 03 onwards, I've ported the vddlevels functionality from msm7x30
    so that we can variably change the voltage level of the frequency we
    want without the need for external modules.
    The current voltage information is available at:
    Code:
    /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

    E.g. the defaults after flashing the kernel should be:
    Code:
     root@android:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
       122880:        3
       245760:        4
       320000:        5
       480000:        6
       604800:        7
       614400:        7
       633600:        7
       652800:        7
       672000:        7
       691200:        7
       710400:        7
       729600:        7
       748800:        7
       768000:        7
       787200:        7
       806400:        7
       825600:        7
       844800:        7
       864000:        7

    To change for example the voltage level of the 122880 frequency, you could do:

    Code:
     echo '122880 0' > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels

    If you cat this file again, you should see that the voltage level is
    picked up. The new voltage level is picked up when the CPU will scale
    to the particular frequency level.

    The undervolting tickbox in the 'Performance Settings' of the latest
    MiniCM10 nightlies already uses the new interface. The values that are
    set there are the same ones as those passed by the old undervolting
    module:

    Code:
    root@android:/ # cat /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
       122880:        0
       245760:        2
       320000:        3
       480000:        5
       604800:        6
       614400:        7
       633600:        7
       652800:        7
       672000:        7
       691200:        7
       710400:        7
       729600:        7
       748800:        7
       768000:        7
       787200:        7
       806400:        7
       825600:        7
       844800:        7
       864000:        7

    Do I need undervolting?
    You dont NEED undervolting. It can save though hours of some battery
    life during the day.

    Overvolting?
    Even though the interface allows you to overvolt, I don't suggest
    doing so. It will result to instabilities or crashes and is totally
    unsupported.

    Performance?
    Undervolting decreases the performance results - this is to be expected.

    17/ why can't i connect my device to USB on PC ? (MiniCM10-4.1.0+ & nAa05+ ; all devices)
    That's because MTP (Media Transfer Protocol) is default now, so it gets connected as a media device. If you want Mass Storage, go into Settings-Storage on your ROM and press the menu-button, you can select USB-storage from there.

    18/ where is my dualtouch?? (MiniCM10-4.1.0+ &nAa05+ ; all devices)
    this is a copy of kernel OP, that you should have read before ;)
    Dualtouch (for synaptics):
    By default dual touch is disabled for improved touch accuracy and avoidance of the 'ghost touch' side-effect.
    • If you want to enable the fake DT by andrej456, you have to insert the following line in the /system/etc/hw_config.sh file:
      Code:
      echo "1" > /sys/module/synaptics_i2c_rmi4/parameters/cfg_dt
    • If you want to enable the fake DT by dx, you have to insert the following line in the /system/etc/hw_config.sh file:
      Code:
      insmod /system/lib/modules/synaptics_i2c_rmi4_dt.ko
    Dualtouch (for cypress):
    Cypress supports dualtouch, so this is enabled by default

    19/ why do i get a kernel version error (installation abort, status 7) while installing MiniCM10? (MiniCM10-4.1.0 up to 20130518-NIGHTLY &nAa06 ; all devices)
    change in rom zip to *.61 for kernel version if you want the installation to complete (in META-INF/com/google/android/updater-script) :)
    18
    usefull links and performance tricks

    useful links :

    [DEV] miniCM10 debug only thread (shakira, robyn and mimmi)
    what CPU governors, and how do they work?


    $find other useful link in miniCM7/9 miniFAQs ;) $


    Perfomance :

    recomended settings :
    perf related :
    • CPU: keep default, but enable UnderVolting (and set on boot if you don't OverClock) (settings>performance>CPU)
    • RAM : to optimize RAM usage, use KSM, zram (18%, default) and allow purging of assets (settings>performance>memory managment)
    • I/O : keep NOOP, this is the default and the best for flash memory
    other :
    in settings>developer options
    • enable USB debugging,
    • debug notification,
    • set all animations to 0.5 (electron beam CRT animation will happen no more)
    • enable "kill with back button"
    ________________

    for whose who feel the system slow and laggy, just try the SWAP ;) (SDcard class6+ recommended)

    SWAP, there is two "kind" of swap : using a partition on the SDcard, or using a swap file
    both are good, but some SDcard/phones react better with the one or the other

    let us start with the partition way : it is more complicated than the file method, but as some advantages ;)

    pros: once it is set up, no need to care about it anymore, the SDcard can be mounted to PC easily without latency
    cons: a little complicated to set up, and once it's done, it is as complicated to revert as to set up; to change swap size, you need to repeat the process (formating and partitioning SDcard)

    needs a clean install of miniCM10:
    • flash JB kernel
    • in CWM, go to mount&storage :
    • then, format /system, /data and /cache (so that kernel can use the new partitions size) any data on phone memory will be lost
    • set up your swap:
    • ==> go to /advanced/Partition SD Card
    • if you don't want to use a2sd, then choose the minimal size for ext, and the size you want for SWAP
      it will FORMAT your SDcard ! any data on SDcard will be LOST
    • and install the rom :)

    swap partition should work :)
    what doesn't work is the swap info menu

    to revert : format SDcard in phone settings : it will FORMAT your SDcard ! any data on SDcard will be LOST

    ____________________

    now, the swap file way : it is really simpler than the swap partition, works great but has some drawbacks

    pros: easy to set up, easy to revert, and the size can be choosen at wish at anytime (in settings>performance>memory>Swap settings)
    cons: high latency when mounting SDcard to pc, it can take forever (really quicker to use CWM mount and storage capability to use the SD on the PC, than using android way)

    you must perform a clean install of miniCM10 (by formating /system, /data and /cache) any data on phone memory will be lost
    install the rom zip, the gapps, and boot up your phone
    set it up
    once your rom is ready to use,

    • go to settings>performance>memory>Swap settings
    • choose "enabled"
    • choose the size
    • allow system to get SU permissions
    • wait for the pop up "swap enabled"
    enjoy, it is simple and can be disabled on wish


    for both :
    to see if your swap works, open terminal, and type the following :
    Code:
    free

    to see the swapiness :
    To check in terminal:
    Code:
    cat /proc/sys/vm/swappiness

    Default value is 30 if you have zram and swap enabled, or 60 if only swap without zram.

    To change it TILL NEXT REBOOT:
    Code:
    echo X > /proc/sys/vm/swappiness
    where X is your desired value

    To change it PERMANENTLY:
    add the above line to the end of your hw_config.sh (you can find it in /sýstem/etc)

    Note: it is always way easier to type those things on PC keyboard, so you´d better do it in adb shell.



    __________________

    some usefull lines of commands for any user wanting to know what's going on :

    • in terminal, just type the lines,
    • in ADB, add "adb" before the commands
    • if you want not to siplay the output in terminal, specify the path :
      Code:
      command > /where_you_want_your_output_to_be_stored/name_you_want_for_the_log

    to know how much swap there is (total and free are what you want to know), use the following command since the way using menu is broken :
    Code:
    free

    to know if KSM is really turned on :
    Code:
    cat /sys/kernel/mm/ksm/run

    to know what modules are running :
    Code:
    lsmod

    install an app from terminal :
    Code:
    pm install /sdcard/app1.apk
    from adb :
    Code:
    adb pm install /home/user/app1.apk

    your kernel crashed?
    Code:
    cat /proc/last_kmsg
    ex : from adb, and stored in /home/user/last_kmsg1
    Code:
    adb cat /proc/last_kmsg > /home/user/last_kmsg1

    an app crashed, you want to know why?
    Code:
    logcat
    ex : from adb and stored in /home/user/myfirstlogever
    Code:
    adb logcat > /home/user/myfirstlogever

    don't have an USB cable ?or adb "other the air" :
    connect to your home wifi network (both device and pc)
    in settings/dev options/ enable adb on TCP/IP
    Code:
    adb connect xxx.xxx.xxx.xxx:5555
    (the IP is the one displayed in the option you choose previously :)
    and then, since it is connected, catch the log :
    Code:
    adb logcat > /home/user/myfirstlogever
    17
    Benchmarks, screenshots and thklist

    to start with, some screenshots :)
    MiniCM10 theme:
    eeecadf5.png
    9dac22fa.png


    58d3d051.png
    e5fe51f8.png


    9d531de8.png


    MiniCM10 Crystal2:
    A95XiyECcAA2qNO.png:large
    BAqkYHgCYAABNYP.png:large

    BA1E_3kCQAAB2aI.png


    benchmarks :

    MiniCM10-4.0.2-nightly, using .32 kernel :
    all has been done at 729MHz, on robyn

    on .32-02:
    antutu :
    fps2D:​
    BCctuElCIAA1AVd.png:large
    BCcuQjMCEAETPNP.png:large
    Screenshot_2013-02-04-18-53-42_zpse6d8ad6c.png



    I/O performance on miniCM10-4.0.2-20130120/nAaJB03 (2.6.29.6) :


    conclude what you want :)

    NOOP:- The NOOP scheduler inserts all incoming I/O requests into a simple, unordered FIFO queue and implements request merging.

    The scheduler assumes I/O performance optimization will be handled at some other layer of the I/O hierarchy; e.g., at the block device; by an intelligent HBA such as a Serial Attached SCSI (SAS) RAID controller or by an externally attached controller such as a storage subsystem accessed through a switched Storage Area Network.​


    ANTICIPATORY:- Anticipatory scheduling is an algorithm for scheduling hard disk input/output.
    It seeks to increase the efficiency of disk utilization by "anticipating" synchronous read operations.​

    CFQ:-CFQ, also known as "Completely Fair Queuing", is an I/O scheduler for the
    Linux kernel which was written in 2003 by Jens Axboe.

    CFQ works by placing synchronous requests submitted by processes into a number of per-process queues and then allocating timeslices for each of the queues to access the disk. The length of the time slice and the number of requests a queue is allowed to submit depends on the IO priority of the given process. Asynchronous requests for all processes are batched together in fewer queues, one per priority.​

    BFQ:- BFQ is a proportional share disk scheduling algorithm based on the slice-by-slice service scheme of CFQ. But BFQ assigns budgets, measured in number of sectors, to tasks instead of time slices. The disk is not granted to the active task for a given time slice, but until it has exahusted its assigned budget. This change from the time to the service domain allows BFQ to distribute the disk bandwidth among tasks as desired, without any distortion due to ZBR, workload fluctuations or other factors. BFQ uses an ad hoc internal scheduler, called B-WF2Q , to schedule tasks according to their budgets. Thanks to this accurate scheduler, BFQ can afford to assign high budgets to disk-bound non-seeky tasks (to boost the throughput), and yet guarantee low latencies to interactive and soft real-time applications.​

    I/O performances on MiniCM10-4.1.0 /w 2.6.32.60 nAa-JB-05 :
    here is a chart showing scheduler specific results,
    the benchmarks were based on Antutu, regarding IO and SDcard R/W

    my settings are :
    122~729MHz
    smartassH3
    undervolted
    KSM
    zram 18%
    swap file 128MB​

    all i can say for now, is that SIO is the more balanced scheduler, and CFQ/VR are the worst ;)


    here are the results

    BFv-zTzCEAAn7Ye.png


    what does the chart shows us?

    SIO is the more balanced scheduler, it has a good IO, and a good read/write
    Anticipatory has the best IO, but a bad SDwrite
    Deadline has the best SDwrite, but is quite average for IO and SDread
    NOOP, CFQ and VR are a bit behind

    for people using swap, i would say that they should use SIO or deadline, for others, Anticipatory or BFQ might be better

    i ran the benchmark 4 times for each scheduler.​

    source

    Benchmarks history since stock rom here
    MORE BENCHMARKS HERE


    thanks to Heronger and some others helping to build this FAQ :)
    6
    Hey guys,

    people keep asking about how to use a2sd and/or other ways to move your apps or data to an external storage /SD/, so Mat asked me to try to put down some little tutorial about the topic. Here I am, surely not the biggest expert on this, but let me give it a shot. First thing to say is - if you plan to install only a couple of basic apps, you probably don´t need this at all. But our internal memories are hopelessly small, so the chance is big that many of us will encounter the problem.

    Basically, you can choose between these options:

    A. use in-built capabilities of this ROM
    OR
    B. install some additional app

    Also you can

    1. use your SD with only one FAT partition left untouched, as it came with your phone
    OR
    2. partition your SD card to create ext (2,3 or 4)

    Not going to elaborate here on how to partition SD and what are the differences between filesystems, trying to keep this short. Maybe just one thing - the easiest way to prepare your SD for option 2. is to go to CWM and look for - advanced/Partition SD card. /Just one last thing - you will see the option to setup the swap there- but it is a COMPLETELY different story, skip it for now. If you´re still interested, there is a tutorial about it in this thread too/

    A.1. Native app2sd. Android from times of Froyo has an in-built capability to move your apps to SD.
    Pros: simple to use
    Cons: if you connect your phone to PC, SD gets unmounted and every running app will crash. Many apps are not moveable by default.
    A.2. ap2sd script. It sits in your phone already, but to use it, it needs additional steps.
    Here they are:
    a/ run Terminal Emulator and do:
    Code:
            su
            a2sd install
    Script is going to ask you, if you want to move dalvik-cache too, after Y or N the phone auto-reboots, and that´s it. To check if it worked type in terminal
    Code:
    mount
    and look for /dev/block/mmcblk0p2/ /sd-ext ext4 (or 3)
    If you want to see all the options this script gives you, run just
    Code:
    a2sd
    without any argument and it will show you a complete list.
    b/ do the same in adb shell
    Pros: not so hard to do either, uses ext3 or 4 /NOT ext2/, you can mount your device to PC freely, persists wipes /except for sd-ext formatting of course/
    Cons: maybe not for complete newbs, you can only move all the apps at once, you can´t move them back, because with
    Code:
    a2sd remove
    option it only removes flags, so next installed app goes to internal and older ones stay on ext.
    Note: from my experience I don´t advice to move dalvik or data, it slows the system down, even with my class 10 SD. Edit: it is true only with dalvik. Now I have my data on ext and it works smoothly.
    Further reading from the original author of the script: http://xdaforums.com/showpost.php?p=21222591&postcount=1375

    B.1 Titanium Backup /and other apps, but TiB is widely known and used/. This is basically the same as A.1.
    B.2 Links2app. An app from Store.
    Pros: gives you much more freedom in choosing which app to move or not, you can always revert the process, and many other possibilities
    Cons: some say it´s hard to use, some say many other things - especially in comparison with a2sd there is a huge debate on the net with 50% of users swearing by one and 50% by the other. Try to google and you´ll have hours worth of endless reading.
    Note: you can´t use ext2 with this rom. Note2: Link2sd uses symlinks, a2sd uses bind-mounting. So what? Try to google.
    Further reading from an official web: http://www.link2sd.info/description

    I know this is too simplistic, especially regarding pros and cons, experts would forgive and newbs hopefully would have starting point for their own reading, thinking, trying a reading again.

    Now, Mat, if you like it, you can do your colourin´ and formattin´ magic and put it to your FAQ. :D And feel free to add anything you consider important enough. :cowboy: