yashsingh1/xdaforums huggingface dataset:
[XPERIA X8 Android Development] sonty:
@zeduck, I followed this thread when I made my first zip: http://xdaforums.com/showthread.php?t=1721680. I had to adapt things a bit because I'm on linux and the guide is mainly for windows users. the most important thing in my opinion is to take care not to break end-of-line by using basic notepad or some other standard windows text editor that breaks linux text files.

since I've had trouble with copying zips to the sdcard I'll also mention another thing: from cwm unmount sdcard, mount storage, copy the file, unmount storage, mount sdcard. if you leave the sdcard mounted while it's also mounted as storage the resulting file won't work.

@drfr, don't thank me yet. if it works on more than one phone then we can afford being happy :).

so far all I've done is a bit of noise.

on an unrelated note I noticed that on the github link I gave in my previous post here one of the cm developers fixed the issue about preserving the network mode after reboot. hopefully nAa and all the other guys building on top of cm9 will take his patch.

later edit: the battery indicator is not broken. the phone went down to 5% without stopping. a short description of the screenshot: first big drop is yesterday's backgammon during lunch, the small drops are phone calls and some sudoku, the big vertical drop (from 41 to 32%) is a reboot, while the final drop are a backgammon game during a meeting at work and then a series of about 10 phone calls. the graph starts at 72%.

other stuff currently in my build.prop, but which didn't make a difference until I added usehcradio:

ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
ro.config.nocheckin=1
dalvik.vm.dexopt-flags=m=v,o=y
ro.mot.eri.losalert.delay=1000
persist.sys.ui.hw=1
persist.telephony.support.ipv6=1
persist.telephony.support.ipv4=1
ro.config.hw_fast_dormancy=1
ro.config.hw_power_saving=true
ro.config.vc_call_steps=20
ro.ril.enable.amr.wideband=1
persist.service.zram=0
ro.com.google.locationfeatures=0
ro.com.google.networklocation=0
persist.sys.use_16bpp_alpha=0
persist.sys.use_dithering=0
ro.telephony.default_network=2
[XPERIA X8 Android Development] drfr:
Yeah, of course, just wanted to show my appreciation for your patience with reading through the lines of code - which is sadly well beyond the scope of my capabilities.

Another thing:

ro.config.hw_fast_dormancy=1

- some people say to set it to 0 because instead of what it´s supposed to do

it causes wakelocks paradoxically - depends on cell network

- do we have fast dormancy capability at all?

@zeduck: in windows use notepad++
[XPERIA X8 Android Development] drfr:
This is how it looks since "usehcradio" was added to build.prop

Not bad, actually it is as good as it gets, I think. But it was nearly the same with qcomuiccstack only, at least for me ofc.

I used the phone very little, just a couple of short calls, the only one longer came right before the end, you can see big drop there. Battery was at 52 before that call and started at 92. So it was 40% in 49 hours, that`s 0,8 per hour.
[XPERIA X8 Android Development] VinceMetalHeart:
¿Could put your BUILD, prop to add your configuration please? is that if we did not clarify

is to copy it to put :/
[XPERIA X8 Android Development] matmutant:
just to say ;)

battery life of miniCM9-3.0.3 :
[XPERIA X8 Android Development] 2010matej:
I don't understand something. Today come new release and you have use it for 1 day? Are you miniCM9 tester and nAa send you link before we get?:confused::good:
[XPERIA X8 Android Development] channaq4:
Yea. I think so also i think new dev am I correct
[XPERIA X8 Android Development] kkkhattak:
Yes matmutant is his partner.

---------- Post added at 10:19 PM ---------- Previous post was at 09:52 PM ----------

Anything added in build.prop or not.
[XPERIA X8 Android Development] matmutant:
not partner, and surely not a dev :p

to be precise :

dev : nAa

themer/helper : D_d

test/helper : me

added qcomuiccstack (that is now by default for 3.0.3+)

:)
[XPERIA X8 Android Development] Empty2k12:
After i activated this i very often get red rectangles round my screen and my phone has very much random reboots. What to do here?

:D:confused::D
[XPERIA X8 Android Development] Dzol Cp:
Settings>Developer options>USER INTERFACE>Strict mode enable <--untick this
[XPERIA X8 Android Development] drfr:
Battery state after first night with 3.0.3:

Went to sleep at 98%, woke up with 96%. Can´t believe my eyes, absolutely amazing! Need to test for couple of days of course but it looks like M@ needs to think of new reason for this thread`s existence :) /it was battery drain originally - for those who came later/.
[XPERIA X8 Android Development] 2010matej:
I'll add qcomuiccstack but not now. I'm testing battery without qcomuiccstack. In 11h lost 3% !
[XPERIA X8 Android Development] drfr:
If you use 3.0.3 the qcomuiccstack is already there! It was 3.0.2 where you had to add it manually.
[XPERIA X8 Android Development] 2010matej:
Aha,ok!
[XPERIA X8 Android Development] splitvox:
insane battery drain...

i got insane battery drain last night.... i charged it to 100%..calibrated it...and left it alone for around 10h....it dropped to 54%..WTF???

my setttings smartassv2,122-600,undervolt, zram 18%,swap file enabled 256mb,ksm on,ad2sd.. every useless app frozen or disabled

micicm9 3.0.3.....WTF???
[XPERIA X8 Android Development] drfr:
KSM is quite heavy on battery, but not saying it´s the only reason.
[XPERIA X8 Android Development] matmutant:
we now work on performance if everyone think we no need anymore to work on battery life :)
[XPERIA X8 Android Development] splitvox:
same settings

if u look in this thread there are lots of people with that settings on and they dont have any problems....
[XPERIA X8 Android Development] kkkhattak:
Yeah now performance turn.
[XPERIA X8 Android Development] XepA:
I will get on vacations soon so I was planning to jump on ICS again tomorrow and help you guys with some battery tests, but seems there's no need :P

Congrats to everyone who helped with this :D

Anyways I can help with other tests, performance and stuff.

Cheers ;)
[XPERIA X8 Android Development] drfr:
You´re kidding, battery life is awesome and performance is near perfect too, big thanks to the team. If there´s something we can help with just say so.
[XPERIA X8 Android Development] brendow96:
I went back to 2.1. But soon after decided to go MiniCM9, but the phone never leaves the screen NAA (The screen turns off and the phone restarts). What to do?
[XPERIA X8 Android Development] matmutant:
next

you can now look at /system/etc/adreno_config.txt and play with it :)

i might set up a protocol or clues how to test it and post, if it worths, but i don't really know what to try in order to tweak this :p
[XPERIA X8 Android Development] splitvox:
reflash stock kernel/then naa

youre using ics kernel on stock so it doenst works...you better flash stock kernel agaian and then flash this http://xdaforums.com/showthread.php?t=1576002

and when when the NAa logo appears start pessing back or/and up and down volume bottons...you`ll see cwm recovery and can flash rom.
[XPERIA X8 Android Development] StardustGeass:
I know that we're going to focus on performance things right now, but I found "usehcradio" is quite interesting... My phone dropped not even a percent after an - 8 hours of sleep... I'll have to check this feature a lot more and if I find this one really helps us a lot, I'll post it here...
[XPERIA X8 Android Development] VinceMetalHeart:
Help

¿On its configuration which is in ROM?

¿And what version of ROM?

¿As has its build.prop?

¿Has enabled the background processes and whether you have as you put it?

Sorry for so many questions but I am interested in the duration :laugh:
[XPERIA X8 Android Development] 2010matej:
Great battery time
[XPERIA X8 Android Development] XepA:
Yeah we should try it, i'm gonna make some tests with and without usehcradio and then i post the results.
[XPERIA X8 Android Development] androidnerd2:
Sorry delete this..

:)
[XPERIA X8 Android Development] StardustGeass:
Err... Bad news... Usehcradio doesn't work as it seen...

Battery draining still there, and bring no differences after calibrating the battery...
[XPERIA X8 Android Development] drfr:
Can you please try this procedure and report back?:

Connect to PC, power off, wait till kernel boots, then long press power button till recovery menu shows and choose reboot system, wait till ROM boots fully and only then disconnect from PC. Note that you don´t have to do the full charge or stats wipe or anything else.
[XPERIA X8 Android Development] kkkhattak:
BUGREPORT

Here is the bug report by pressing the volume up+down+power button.

X10 MINI PRO
[XPERIA X8 Android Development] matmutant:
:)

hum, thank you :)

could you please explain what happened?

that bug report is about to be useless if you don't explain :

what kind of bug (panic, lag, freeze, FC, ...)

what were you doing (app, action, ...)

how to replicate (the way to make it happen again)

good evening :)
[XPERIA X8 Android Development] andrewx9103:
Guys last night when my gf call me the phone app just keep force closing and sometimes the apex launcher will also give me fc:confused: is it just me?
[XPERIA X8 Android Development] channaq4:
Yes i face the same issue.most of the time take long time to respond app ( freez)

And when in call if i press volumn up it low the volumn and press down ( lowes) its get very heigh ithink call volum in very high an very low states

No supercharge,ram manager,no mods install about 37 apps root explorer ,titaniumbackup
[XPERIA X8 Android Development] matmutant:
performance improvements (GPU)

we are now going to try to change adreno config's properties i order to get more fps, more smootheness, and the best user experience ever :)​

see post #4 for explanation
[XPERIA X8 Android Development] drfr:
Already did some research about that, first thing I would recommend /haven´t tested myself so far, but planning to/ is:

MSAASmoothing=High

forceMSAAMode=1

MSAAMode=2

You can also try to google for some other tweaks, but there´s not much on the topic on the web, we have to try for ourselves.

So get yourself a pack of chilled beer or whatever and off to work! /this is for those of us from Europe who suffer a killing heatwave./

Edit: what´s the best benchmarking app in your opinion? I only used antutu time ago before I quit worrying about benchmarking results, because real life experience is what counts.
[XPERIA X8 Android Development] matmutant:
anti-aliasing will slow down perf but might increase quality (note that on this little screen it won't be really better imho)

benchmarks :

neocore for 3D

fps2D for 2D

:)
[XPERIA X8 Android Development] aloy99:
I think the main issue is our lack of RAM. I've had the keyboard, browser and Pulse simply exit on me without giving an app crash dialogue. Perhaps the system is grabbing ram for core system services?
[XPERIA X8 Android Development] matmutant:
yes, system can kill non prior processes if it needs RAM to stay alive :)
[XPERIA X8 Android Development] fabiosilva:
Where in the menu should I login my Google Account?
[XPERIA X8 Android Development] XepA:
Dude, this thread is only for dev proposes, not Q&A. But i'll awnser to you this time.

Menu -> Settings -> Accounts & sync -> and click in ADD ACCOUNT on the bottom.

@others: So, there's no need for me to test the "usehcradio"? I can jump right now on GPU tests?
[XPERIA X8 Android Development] drfr:
Well, it´s always polite to comply with what original poster wants, so yes, now we should focus on GPU tweaks. But at the same time, if you look at the OP, you can still see these lines there:

to improve miniCM9, you could :

post results after following protocols,

help me to set up test new protocols,

give advices about them

suggest things to investigate IF you can prove it worths to

What I do myself is searching on the net for tips for better adreno_config.txt settings and then plan to test them, but I ´ve got still usehcradio in my build.prop and watch how´s battery life in idle state at the same time.
[XPERIA X8 Android Development] Trichelieu:
Test on MSAA

Yop.

I ran a little test on the adreno_config file. I don't know much about android dev but I know for sure AA drains performance. Here is how I tweaked it:

MSAASmoothing=Normal

MSAABufferAllocation=never

forceMSAAMode=1

MSAAMode=0 (no antialiasing)

This is what i had with the original adreno_config:

+ 36.8 FPS on neocore

After modification I had that:

+ 45.6 FPS on neocore.

I'm surprised of the huge difference, i'm not sure this is reliable. There are too many parametres that changed: apps running in the background, phone rebooted between the two configurations... Anyway, maybe someone can test this configuration and tell if it really changes that much, enjoy ^^.

Trich'
[XPERIA X8 Android Development] XepA:
Hey again, i did some tests:

Without any changes on adreno file i got this:

Neocore: 46.5 FPS

Then i modified this lines:

facenessCulling=off
enableOptimizedTextureUpdates=0
forceAutoTextureCompression=1
triJuice=3
textureTiling=0
MSAABufferAllocation=never
2D.HwBlt=1
2D.eglSwapMode=idle

Here's the results:

Neocore: 46.8 FPS

After this i saw Trichelieu's post and added the "forceMSAAMode=1", since i already had the others lines there.

And i got this:

Neocore: 46.3 FPS

It's clear that all of those changes don't have any impact on performance, the values are slightly different from each other.

Also, I think the major performance problem it's the RAM, I experience a lot of waiting for app to load. For example, if i'm on messages, then go to settings, when i come back to the launcher (apex launcher btw) I have to wait and it's like its opening for the 1st time, it's like gets closed for the rest of apps can get any memory, also i'm always with like 12MB of free ram. And i Deleted a bunch of apps that i don't use, like DSPmanager.
[XPERIA X8 Android Development] drfr:
To be frank, I don´t expect much difference in user´s experience after tweaking the GPU settings, unless for gamers or benchmarking probably. Yeah, lack of RAM is the culprit for performance problems, it´s been said many times before.

My experience is that with fast SD /they say class 6 at least, I´ve got 10/ and swap partition or file and swappiness set to 100 /at least 60/, multitasking is no problem.
[XPERIA X8 Android Development] StardustGeass:
I'm using a class-10 SD card.. The problem is, can't build swap more than 32 MB... More than that, the settings will going in a "not responding mode" for several times.. After a reboot, still sees a-32 MB swap when checking...
[XPERIA X8 Android Development] kkkhattak:
My results without changes in the adreno_config.txt.

and neocore results:-46.5FPS:good::good::highfive:

THESE RESULTS WERE TAKEN BY MY X10 MINI PRO.:highfive::highfive:
[XPERIA X8 Android Development] Trichelieu:
I'm actually starting thinking like drfr. Improving GPU performances seems useless in everyday use of our phone.

Still, taking the most of what we can from our phone is fun :D. I mean we all installed mini CM9 3.0.1 which was really really slow just to have ICS. Now tell me one thing that ICS does better than gingebread, seriously? We lost flash lol. It's all about the lulz.
[XPERIA X8 Android Development] XepA:
Yeah i was thinking about creating a swap partition to see if it solves the problem, I need a new card mine has 2GB and it's so old that don't have class number :D

I was also thinking about increasing the zram but i'm afraid it will eat up battery.

Indeed, for everyday use GPU works awesome imo, also playing games with our tinny screen is not much fun.

Offtopic: I was playing around with Antutu Benchmark and i found this:

Is this the Linaro like on this video?

http://www.youtube.com/watch?v=mrQRYmYip6Q
[XPERIA X8 Android Development] kkkhattak:
Tip for minicm9 change your governor too interactiveX and you can overclock up to 806MHz.

I AM USING X10 MINI PRO.
[XPERIA X8 Android Development] XepA:
I created a 128MB partition SWAP (Maybe it's to much ahah) and it's a lot faster... It lags a little bit only, but nothing that a bit of OC (692Mhz maybe) won't solve :)

I strongly recommend every one to get a SWAP Partition ;) The difference is huge! :D
[XPERIA X8 Android Development] drfr:
Can confirm, yes. Also you can try to set swappiness to 100. Search shakira thread for my post about how.
[XPERIA X8 Android Development] XepA:
That's nice too but maybe not a good idea for me since my card is not very fast, and swapping "everything" would increase response latency.

But i'll try it, and maybe i'll get a new bigger and faster card so that i can swap all the way :D

Thanks man ;)
[XPERIA X8 Android Development] drfr:
By any means, give it a try. AFTER I bought class 10 SD I tried to put back my original stock class 2 SD and set up swap partition on it - and you know what? - performance was great too, actually I felt no difference.
[XPERIA X8 Android Development] XepA:
There's no need, my SD card got all messed up, i had to replace it because it was crashing my phone. I bet it was SWAP, but also the card was really old, like 5 or 6 years.

One thing that i noticed is, even after disabling SWAP and get another card, if i run the "free" command, SWAP is not on zeros, is it normal?

Anyways, time to go shopping for a new card :D
[XPERIA X8 Android Development] matmutant:
disable zram and retry,

i'm not sure at all, but since zram is virtual swap, it might be considered as some swap
[XPERIA X8 Android Development] XepA:
Worked, well now i can conclude that the problem is definitely my SD Card.

Thanks both :)

Also I wanna make clear that, it might be the swap that damaged my card, but that doesn't mean that will happen to you guys, my card was really old and maybe a intense usage was what it takes for him to pass out.

EDIT: I revived the card!

Also, i see ".MiniCM9.swp" on my sd card (i enabled swap again to check). I always thought swap to sd card was using a linux swap partition. Guess i created the partition for nothing :)
[XPERIA X8 Android Development] drfr:
Either you create a swap partition on the SD beforehand and let the kernel to recognize it by itself or you don´t have swap partition and let the ROM create a swap FILE on a FAT32 partition. Many were confused by this, nevermind.
[XPERIA X8 Android Development] mrahmanda:
for post #4 about GPU , can you make a flashable zip ?

i dont understand what that mean :(
[XPERIA X8 Android Development] matmutant:
why would i make a flashable zip ? :confused:

this is not a ready to flash tweak, this is a debug thread.

that means i don't provide tweaks, i provide knowledge and tips to find new way of performance improvements, that's you guys that, by your tests and suggestions, provide me clues about tweaks for next builds :p

you are meant to try different configurations and find if one of them improves really anything :) and it will be merded in miniCM

if you don't test, or don't find anything, that way about GPU will be abandonned
[XPERIA X8 Android Development] kkkhattak:
Please can somebody tell me how to set up swampiness in swap.
[XPERIA X8 Android Development] drfr:
Add this line:

echo 100 > /proc/sys/vm/swappiness

to

/system/etc/hw_config.sh

and reboot. If you wanna check if it worked type in terminal or adb shell:

cat /proc/sys/vm/swappiness

Edit:

no offence - you created most wonderful typo of this week: swampiness :-)))
[XPERIA X8 Android Development] channaq4:
In mine in sd alrady have sawp part sd it automaticaly mounted i just chage swapness now its fine thank you
[XPERIA X8 Android Development] drfr:
Alright, just test it for yourself, I am happy with swappiness set to 100 but you may want to try anything between 20 to 100. If you wanna test more values one at a time, you don´t need to make the permanent change like described above which requires rebooting everytime. If you only want to make a temporal change, go to terminal or adb shell and do:

echo X > /proc/sys/vm/swappiness

where X is your desired value. Again, check with:

cat /proc/sys/vm/swappiness

Edit: if you´re interested, here´s my other post on swappiness and nAa´s reaction on that:

http://xdaforums.com/showpost.php?p=26552886&postcount=2538
[XPERIA X8 Android Development] matmutant:
some bechmarks, just to say ;)

benchmarks of the day :

antutu

fps2D

PS: Q14 of miniCM9 miniFAQ has been updated with XepA/drfr tips :)
[XPERIA X8 Android Development] kkkhattak:
Do. The antutu benchmark without sd and see what score do you get.
[XPERIA X8 Android Development] matmutant:
just subtract the sd write and read scores, and you'll get it.
[XPERIA X8 Android Development] kkkhattak:
You get 1635:good::good::good::good::good::good::fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
[XPERIA X8 Android Development] :
My antutu scores with modified adreno_config.txt :D

http://www.4shared.com/office/i3U8GKHW/adreno_config.html
[XPERIA X8 Android Development] matmutant:
with which modifications?
[XPERIA X8 Android Development] :
u can see the modifications in the uploaded adreno_config.txt
[XPERIA X8 Android Development] kkkhattak:
Which device and awesome.:thumbup::thumbup::thumbup::thumbup::thumbup::thumbup:
[XPERIA X8 Android Development] matmutant:
giving external link is not really the best way,

for fast improvement and better share with each other, you should give us the line you changed using the code box way :) (refer to post #4)

your config is not meant to be pasted directly, but to be tried in addition to our own tests and mixed with each other ;)

thank you :)
[XPERIA X8 Android Development] :
i don't remember much bt my modifications are :-

facenessCulling=on

vboDataAlignment=dword

forceAutoTextureCompression=1

and the most important i think that improved 2d performance is -

2D.HwBlt=1

:victory:
[XPERIA X8 Android Development] matmutant:
2D.HwBlt=1

ok, seems a good thing (refering to internet)

will try it
[XPERIA X8 Android Development] :
x10 mini pro :D

Press :good: button if i helped

---------- Post added at 05:46 PM ---------- Previous post was at 04:48 PM ----------

I also have these edited or new lines in my build.prop :-

debug.composition.type=gpu

debug.egl.hw=1

ro.min_pointer_dur=1

ro.config.hw_fast_dormancy=1

ro.config.disable_hw_accel=false
[XPERIA X8 Android Development] channaq4:
Shoun't we test the result with out overclocking ?
[XPERIA X8 Android Development] matmutant:
ok, to quote myself :

using 245-768MHz, smartassV2

2D.HwBlt=1

default, fps2D score : 71fps

using force GPU rendering, fps2D : 51fps*

2D.HwBlt=0

default, fps2D : 72fps

force GPU rendering, fps2D : 50fps*

--> cannot see real improvement with this property (used alone)

* as we can see, fps2D uses preferentially CPU to render, and GPU is less efficient than CPU to render.

--> this property has no visible impact on performance, neither on CPU (which is normal: control) nor on GPU (which was the tested part)

need more testers, and more combination to prove it works ;)

and people should try this too : (in build.prop) [i've no time to try it out, and will only try what at least 3 people say it really improves perf :) ]

debug.composition.type=gpu
debug.egl.hw=1
ro.min_pointer_dur=1
ro.config.hw_fast_dormancy=1
ro.config.disable_hw_accel=false
[XPERIA X8 Android Development] kkkhattak:
Add these line to build.prop for image quality enhancement.

#Raise photo and video recording quality

ro.media.enc.jpeg.quality=100

ro.media.dec.jpeg.memcap=8000000

ro.media.enc.hprof.vid.bps=8000000
[XPERIA X8 Android Development] kkkhattak:
In my build.prop i add these lines which makes the phone really smooth.

debug.composition.type=gpu

debug.egl.hw=1

ro.min_pointer_dur=1

ro.config.hw_fast_dormancy=1

ro.config.disable_hw_accel=false

debug.sf.hw=1

video.accelerate.hw=1

debug.performance.tuning=1

#Raise photo and video recording quality

ro.media.enc.jpeg.quality=100

ro.media.dec.jpeg.memcap=8000000

ro.media.enc.hprof.vid.bps=8000000

#Render UI with GPU

debug.sf.hw=1
[XPERIA X8 Android Development] xsyrhies17:
I think those lines are already in build.prop.
[XPERIA X8 Android Development] kkkhattak:
Sorry:angel::angel::angel::angel: