[MOD]10 point multitouch on galaxy tab (kernel included) - Galaxy Tab Android Development

As it was announced we have the same touch screen sensor like the galaxy s thus same drivers limited to 5 point multitouch so can any one try this mod to enable the 10 point multitouch
change:
Code:
5277: //#define MAX_NUM_FINGER 10 // Maximum possible fingering
5278: #define MAX_USING_FINGER_NUM 5
to
Code:
#define MAX_USING_FINGER_NUM 10
And in the android source at:
Code:
froyo/services/java/com/android/server/InputDevice.java
Set max_pointers to 10.
I have taken it from this http://forum.xda-developers.com/showthread.php?p=10144815#post10144815 but i don't know how to try it myself so is any one interested ?
update :
1. on galaxy s forum they say that to get it work you should use moded kernel and firmware as samsung firmware dosn't support it but cm7 dos support it
2. data sheet of the touch sensor claims up to 10 points multitouch http://www.atmel.com/dyn/resources/prod_documents/9530S.pdf
3. galaxy tab teardown showing the the touch screen sensor type http://www.ifixit.com/Teardown/Samsung-Galaxy-Tab-Teardown/4103/2
4. Patch included in this kernel http://forum.xda-developers.com/showpost.php?p=14248227&postcount=9 thanks to (koxudaxi) for his greatest work and interest

Two questions:
1) Are there actually applications except maybe some games(don't know any) where it is a advantage to have 10 simultaneous touch points?
2) Are there disadvantages to enable 10 in stead of 5 points? Although the hardware seems to support it, there must be a reason why Samsung disabled this by default.

YoMarK said:
Two questions:
1) Are there actually applications except maybe some games(don't know any) where it is a advantage to have 10 simultaneous touch points?
2) Are there disadvantages to enable 10 in stead of 5 points? Although the hardware seems to support it, there must be a reason why Samsung disabled this by default.
Click to expand...
Click to collapse
As of yet, Other then the Notepad, there's really nothing that would require the use of more then 5 touchpoints.
Cons: Only one i could think of is screwing up the screen calibration points. Eventually leading to degradation of the screens ability to accurately track touch points.

YoMarK said:
Two questions:
1) Are there actually applications except maybe some games(don't know any) where it is a advantage to have 10 simultaneous touch points?
2) Are there disadvantages to enable 10 in stead of 5 points? Although the hardware seems to support it, there must be a reason why Samsung disabled this by default.
Click to expand...
Click to collapse
About the first question only the multitouch apps and may. Be piano as i remimber
Second no disadvantsges i think ,the htc flyer ,evo and incredible have them enabled with no problems ,and there isn't always problems behind deactivating somethings ,all oems deactivate some things for no technical reason take example (multitouch was disabled in x10 and nexus one and was enabled later, hd2 had wifi Ndraft and was disabled, fm radio in both nexus models ,micro sd card slot on motorolla xoom ,etc )
Sent from my HTC Incredible S using XDA App

Is such a mod going to use up more memory?
Sent from my GT-P1000 using XDA Premium App

hoss_n2 said:
About the first question only the multitouch apps and may. Be piano as i remimber
Second no disadvantsges i think ,the htc flyer ,evo and incredible have them enabled with no problems ,and there isn't always problems behind deactivating somethings ,all oems deactivate some things for no technical reason take example (multitouch was disabled in x10 and nexus one and was enabled later, hd2 had wifi Ndraft and was disabled, fm radio in both nexus models ,micro sd card slot on motorolla xoom ,etc )
Click to expand...
Click to collapse
True. Those are good examples where the manufacturer actually disabled working hardware, like the FM radio on my Nexus One.

ssserpentine said:
Is such a mod going to use up more memory?
Sent from my GT-P1000 using XDA Premium App
Click to expand...
Click to collapse
I don't think so the touch sensor has its own processing unit and memory
Sent from my HTC Incredible S using XDA App

you also need to patch the kernel for this to work, but whats the point, I could tell you exactly what
This will not cause damage to the hardware, and will not rape your cat, kill your mother or anything like that, that is just being paranoid. the hardware is capable and it is just not enabled in the driver, presumably because there is no need for it

this kernel is gift for you
i applied 10 point multitouch patch which i made.
EURO for froyo:zImage_euro_2_9_7
patch : http://koxudaxi.sakura.ne.jp/android/patch/50-10point-multitouch.patch
2_9_7 = ( 2_9_4 + 10 point multitouch support)
Code:
diff -ur a/drivers/input/touchscreen/qt602240.c b/drivers/input/touchscreen/qt602240.c
--- a/drivers/input/touchscreen/qt602240.c 2010-11-19 11:38:49.000000000 +0900
+++ b/drivers/input/touchscreen/qt602240.c 2011-05-29 22:57:21.983901316 +0900
@@ -571,7 +571,7 @@
#else
touchscreen_config.movfilter = 0x0b; // Filter Limit[6:4] , Adapt threshold [3:0]
#endif
- touchscreen_config.numtouch= 0x05;
+ touchscreen_config.numtouch= 0x0a;
touchscreen_config.tchdi = 0x02;
touchscreen_config.mrghyst = 0x5; // Merge hysteresis
touchscreen_config.mrgthr = 0x5;//0xa // Merge threshold
diff -ur a/drivers/input/touchscreen/qt602240.h b/drivers/input/touchscreen/qt602240.h
--- a/drivers/input/touchscreen/qt602240.h 2010-09-15 12:53:48.000000000 +0900
+++ b/drivers/input/touchscreen/qt602240.h 2011-05-29 22:56:56.199901253 +0900
@@ -36,7 +36,7 @@
#define IRQ_TOUCH_INT IRQ_EINT_GROUP(18, 5) // group 18 : J0
#endif
-#define MAX_USING_FINGER_NUM 5
+#define MAX_USING_FINGER_NUM 10
#define I2C_M_WR 0 /* for i2c */
#define I2C_MAX_SEND_LENGTH 300

koxudaxi said:
this kernel is gift for you
i applied 10 point multitouch patch which i made.
EURO for froyo:zImage_euro_2_9_7
patch : http://koxudaxi.sakura.ne.jp/android/patch/50-10point-multitouch.patch
2_9_7 = ( 2_9_4 + 10 point multitouch support)
Code:
diff -ur a/drivers/input/touchscreen/qt602240.c b/drivers/input/touchscreen/qt602240.c
--- a/drivers/input/touchscreen/qt602240.c 2010-11-19 11:38:49.000000000 +0900
+++ b/drivers/input/touchscreen/qt602240.c 2011-05-29 22:57:21.983901316 +0900
@@ -571,7 +571,7 @@
#else
touchscreen_config.movfilter = 0x0b; // Filter Limit[6:4] , Adapt threshold [3:0]
#endif
- touchscreen_config.numtouch= 0x05;
+ touchscreen_config.numtouch= 0x0a;
touchscreen_config.tchdi = 0x02;
touchscreen_config.mrghyst = 0x5; // Merge hysteresis
touchscreen_config.mrgthr = 0x5;//0xa // Merge threshold
diff -ur a/drivers/input/touchscreen/qt602240.h b/drivers/input/touchscreen/qt602240.h
--- a/drivers/input/touchscreen/qt602240.h 2010-09-15 12:53:48.000000000 +0900
+++ b/drivers/input/touchscreen/qt602240.h 2011-05-29 22:56:56.199901253 +0900
@@ -36,7 +36,7 @@
#define IRQ_TOUCH_INT IRQ_EINT_GROUP(18, 5) // group 18 : J0
#endif
-#define MAX_USING_FINGER_NUM 5
+#define MAX_USING_FINGER_NUM 10
#define I2C_M_WR 0 /* for i2c */
#define I2C_MAX_SEND_LENGTH 300
Click to expand...
Click to collapse
Thanks allot for your patch but Do you have the 1o points working with you know and does it work on stock firmware

hoss_n2 said:
Thanks allot for your patch but Do you have the 1o points working with you know and does it work on stock firmware
Click to expand...
Click to collapse
hi, i would like to try 10 point touch , as i have a game that allows 8.
BUT...........
i need it on kernel....
zimage_euro_3.0.2.
3.0.2 is the only one from my understatnding that has 600mhz scaling and works with smartass and gingerbread.
any help?

ssserpentine said:
hi, i would like to try 10 point touch , as i have a game that allows 8.
BUT...........
i need it on kernel....
zimage_euro_3.0.2.
3.0.2 is the only one from my understatnding that has 600mhz scaling and works with smartass and gingerbread.
any help?
Click to expand...
Click to collapse
I really don't know about kernel editing,etc that's why I asked for developers help

What game are you playing that needs 8 touches? How would you even get 8 fingers on the tab, and still see what you are doing

natious said:
What game are you playing that needs 8 touches? How would you even get 8 fingers on the tab, and still see what you are doing
Click to expand...
Click to collapse
Glad you asked!!!!
the game i am porting has ALOT of onsceen options, and gameplay gets really intence

hoss_n2 said:
I really don't know about kernel editing,etc that's why I asked for developers help
Click to expand...
Click to collapse
yeah, koxudaxi seems the best one at this stuff.
he is seriously backlogged with requests tho...

ssserpentine said:
Glad you asked!!!!
the game i am porting has ALOT of onsceen options, and gameplay gets really intence
Click to expand...
Click to collapse
So, if you are holding your tab. You only have 2 thumbs to work with. I don't know how 2 thumbs are going to register 8 touchs
swyped from a galaxy far far away...

natious said:
So, if you are holding your tab. You only have 2 thumbs to work with. I don't know how 2 thumbs are going to register 8 touchs
swyped from a galaxy far far away...
Click to expand...
Click to collapse
Grrrrrrrrrrrrrrrr

ssserpentine said:
Grrrrrrrrrrrrrrrr
Click to expand...
Click to collapse
Sounds like vaporware to me ......
And no growling at Natious as its a good point. So you either would need to have the tab supported by something else to enable multiple finger play.. and seriously is there even the realestate on a 7" screen for what your trying to achieve??
From what I have read the 10 is wicked and there are some music apps and such that will use it.
Now everyone bow in awe to the kernel king and his neverending work of wonderfulness. You sir are a very talanted individual .. thank you.
Sent from my GT-P1000

10 point MT still needs a patch to the framework to allow it

lilstevie said:
10 point MT still needs a patch to the framework to allow it
Click to expand...
Click to collapse
I read in the galaxy s forum that it works on cm7 out of box only need kernel support
Sent from my HTC Incredible S using XDA App

Related

[DEV] GPU+ for Sense Roms

two days ago ive installed CM6.1 and first thing i noticed when i tested some games the GPU performance was better
to give an example, angry birds runs liquid smooth without any of the previous judder it actually runs like iphone4, while asphalt 5 performs much better with much less frame drops
i tried ask around what makes cynogenmod runs games better with no help and i'm pissed we don't have the same performance with sense roms even though with richard's kernel the cpu performace is amazing, it was clearly not related to OC, so i kept trying different sense roms until i tried AuraxTsense 7.9 and i finally i got the same results, i'm getting 31.9fps on neocore and angry birds running 60fps without judder, asphalt 5 performing a lot better too, by the way this results at the default 998mhz on demand
the new addition to auraxTsense
New Kernel UVOC 2.6.32.15-piranha _ [email protected] #16 ---- @1113mhz Default - Max @1300mhz - BFS.HAVS.UV.OC.GPU+ (thanks to FloHimself)
Click to expand...
Click to collapse
GPU: Added writecombine flag & enabled shadow writes on kgsl
Click to expand...
Click to collapse
http://forum.xda-developers.com/wiki/index.php?title=AuraxTSense
[UPDATE 1] Snq provided the following code and applied it to the leedroid 2.2e kernel http://dl.dropbox.com/u/13432479/leedroid_kernel/kernel-leedroid_2.2e-gpuplus.zip
setting L_PTE_MT_BUFFERABLE on vmalloc'd memory in gsl_ioctl_sharedmem_from_vmalloc() and re-enabling shadow writes on context switching
Code:
diff -urN bravo-2.6.32-gd96f2c0.orightc/drivers/video/msm/gpu/kgsl/kgsl.c bravo-2.6.32-gd96f2c0.snq/drivers/video/msm/gpu/kgsl/kgsl.c
--- bravo-2.6.32-gd96f2c0.orightc/drivers/video/msm/gpu/kgsl/kgsl.c 2010-09-28 14:03:29.000000000 +0200
+++ bravo-2.6.32-gd96f2c0.snq/drivers/video/msm/gpu/kgsl/kgsl.c 2010-11-01 14:22:23.000000000 +0100
@@ -713,7 +713,7 @@
* overwrite this memory */
dmac_flush_range(vmalloc_area, vmalloc_area + len);
KGSL_MEM_INFO("Caching for memory allocation turned off\n");
- vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+ vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
} else {
KGSL_MEM_INFO("Caching for memory allocation turned on\n");
}
diff -urN bravo-2.6.32-gd96f2c0.orightc/drivers/video/msm/gpu/kgsl/kgsl_drawctxt.c bravo-2.6.32-gd96f2c0.snq/drivers/video/msm/gpu/kgsl/kgsl_drawctxt.c
--- bravo-2.6.32-gd96f2c0.orightc/drivers/video/msm/gpu/kgsl/kgsl_drawctxt.c 2010-09-28 14:03:29.000000000 +0200
+++ bravo-2.6.32-gd96f2c0.snq/drivers/video/msm/gpu/kgsl/kgsl_drawctxt.c 2010-11-01 14:22:29.000000000 +0100
@@ -28,7 +28,6 @@
#include "kgsl_pm4types.h"
#include "kgsl_cmdstream.h"
-#define DISABLE_SHADOW_WRITES
/*
*
* Memory Map for Register, Constant & Instruction Shadow, and Command Buffers
Click to expand...
Click to collapse
i flashed it on teppic's stock froyo rom and the results are the same as CM6.1 and AuraxTsense 7.9, angry birds liquid smooth, asphalt 5 much more stable
31.3/31.5FPS Neocore stock 998mhz ondemand, before the patch it was around 28.7
as always backup first
[UPDATE 2] users are reporting similar results in both leedroid and richardTrip kernel threads
bcoz said:
Tested and approved !
No glitch and measurable improvement of fluidity !
Click to expand...
Click to collapse
chipstx said:
Thanks hamdir and snq a definite improvement with asphalt 5.
Click to expand...
Click to collapse
vnvman said:
Same here
Tho i've noticed running 2d+3d sections only on quadrant advance with both roms, CM6 is still getting better scores...not a big deal anyway: like 139 vs 184, and it seems that CM is doing better mostly the 2d part of the bench (tho idk about the "stock" CM, cause on mine i'm running the vorkKernel 7.1).
This said i would never have expected such a great improvement on a sense rom, thanks for raising the question man, somebody had to do that sooner or later.
Thanks to you and to snq-'s great job now gaming performances aren't for aosp/cm roms only
Click to expand...
Click to collapse
BlueHawk said:
Yup. Seems to work for me too. Nice speed up for games. Will keep testing to see if there are other side-effects - like more battery consumption or overheating due to blazing graphics.
Click to expand...
Click to collapse
s_piccand said:
@snq
Without GPU+ :
2D quadrant average: 268.25
3D quadrant average: 326.75
With GPU+ :
2D quadrant average: 277.25 +4%
3D quadrant average: 396.50 +21%
+21% 3D performance ... just one word ... WWWOOOOOWWWW
Click to expand...
Click to collapse
[UPDATE 3] richardTrip added the patch to his sense kernel http://forum.xda-developers.com/showthread.php?t=801435
[UPDATE 4]
I've tested various games and apps at stock 998mhz interactive
Quadrant
2D: 265 vs 276
3D: 326 vs 383
angry brids the best game to benefit, very smooth frame rate, very enjoyable
asphalt 3.1.8 runs better and smoother
asphalt 3.2.1 runs at an even higher fps best version
asphalt 3.3.2 runs the same as 3.1.8
reckless racing inconsistent frame rate but less severe frames drop when facing other cars
assassin creed, hero of sparta better frame rate
need for speed shift very smooth it was good before but now its even more smooth, very impressive
backbreaker higher fps a little unstable
the mod seems to uncap higher frame rate and removes judder (something like VSYNC unlock in pc games) however in some games this seem to cause inconsistency in frame rate between very high and drops
either way its a very impressive upgrade and makes a lot of games more enjoyable especially 2D games, i think this the best we can achieve without having to switch to Cyanogen based Roms
hamdir said:
Seems no one on this forum bringing this issue up
two days ago ive installed CM6.1 and first thing i noticed when i tested some games the GPU performance was better
to give an example, angry birds runs very smooth without any of the previous judder it actually runs like iphone4, while asphalt 5 performs much better with much less frame drops
i tried ask around what makes cynogenmod runs games better with no help and i'm pissed we don't have the same performance with sense roms even though with richard's kernel the cpu performace is amazing, it was clearly not related to OC
so i kept trying different sense roms until i tried AuraxTsense 7.9 and i finally i got the same results, i'm getting 31.9fps on neocore and angry birds running 60fps without judder, asphalt 5 performing a lot better too, by the way this results at the default 998mhz on demand
the new addition to auraxTsense
http://forum.xda-developers.com/wiki/index.php?title=AuraxTSense
many people asked NeoPhyTe_x360 to help on this issue but i didn't see any response
can someone please release this kernel patch for other sense ROMs so we can add it to kernels like richards', we shouldn't be forced to use a specific ROM for such an impressive patch
Click to expand...
Click to collapse
Well i'd like to get that little boost a lot too, but if the developer doesn't want to release it there's not much we can do about it, it's his own choice and maybe he wants it to be his special "trade mark" lol...unless somebody here is able to reproduce something similar we don't stand a chance i'm afraid :/
why not? the improvements to the kernel should be open source under GPL and i'm talking specifically about the GPU patch
i think richardTrip can add it to his kernel
Code:
diff -urN bravo-2.6.32-gd96f2c0.orightc/drivers/video/msm/gpu/kgsl/kgsl.c bravo-2.6.32-gd96f2c0.snq/drivers/video/msm/gpu/kgsl/kgsl.c
--- bravo-2.6.32-gd96f2c0.orightc/drivers/video/msm/gpu/kgsl/kgsl.c 2010-09-28 14:03:29.000000000 +0200
+++ bravo-2.6.32-gd96f2c0.snq/drivers/video/msm/gpu/kgsl/kgsl.c 2010-11-01 14:22:23.000000000 +0100
@@ -713,7 +713,7 @@
* overwrite this memory */
dmac_flush_range(vmalloc_area, vmalloc_area + len);
KGSL_MEM_INFO("Caching for memory allocation turned off\n");
- vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
+ vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
} else {
KGSL_MEM_INFO("Caching for memory allocation turned on\n");
}
diff -urN bravo-2.6.32-gd96f2c0.orightc/drivers/video/msm/gpu/kgsl/kgsl_drawctxt.c bravo-2.6.32-gd96f2c0.snq/drivers/video/msm/gpu/kgsl/kgsl_drawctxt.c
--- bravo-2.6.32-gd96f2c0.orightc/drivers/video/msm/gpu/kgsl/kgsl_drawctxt.c 2010-09-28 14:03:29.000000000 +0200
+++ bravo-2.6.32-gd96f2c0.snq/drivers/video/msm/gpu/kgsl/kgsl_drawctxt.c 2010-11-01 14:22:29.000000000 +0100
@@ -28,7 +28,6 @@
#include "kgsl_pm4types.h"
#include "kgsl_cmdstream.h"
-#define DISABLE_SHADOW_WRITES
/*
*
* Memory Map for Register, Constant & Instruction Shadow, and Command Buffers
THANK YOU snq, ill pass it on to richard
snq is this it? thats all the GPU+ patch?
So if a want a serious boost in games I must flash neophyte ROM?
sent from the future
mattiadj said:
So if a want a serious boost in games I must flash neophyte ROM?
sent from the future
Click to expand...
Click to collapse
well no, it should be added to a kernel we use on all sense ROMs or release the kernel standalone, as far as i can tell the code is also there in Cyangenmod 6.1
by the way the auraxTsense kernel still lacks the SD fix
so our best bet is adding this to richardTrip's now essential kernel
Indeed, I couldn't find the source of the modified kernel (by Flohimself) in AuraxTSense v7.9 thread.
So I think it breaks the GPL2 license by not releasing the source.
Fightspit said:
Indeed, I couldn't find the source of the modified kernel (by Flohimself) in AuraxTSense v7.9 thread.
So I think it breaks the GPL2 license by not releasing the source.
Click to expand...
Click to collapse
hm yeah, true..i totally forgot about this aspect
Moved to Q&A as not development.
rolfd said:
Moved to Q&A as not development.
Click to expand...
Click to collapse
thanks now in Q&A this thread will die
although snq- did contribute and the idea from this thread was to initiate the addition of this patch to the other available kernels
Good thread man, I really hope Richard updates his Kernel with the patch.
snq- Just added it to the leedroid 2.2e kernel
i'm restoring my original stock rom to try it now, will post the results
if anyone like to experiment with it
mr.r9 said:
Good thread man, I really hope Richard updates his Kernel with the patch.
Click to expand...
Click to collapse
yeah indeed, very very interested in it man!!
hamdir said:
snq- Just added it to the leedroid 2.2e kernel
i'm restoring my original stock rom to try it now, will post the results
if anyone like to experiment with it
Click to expand...
Click to collapse
Does leedroid 2.2e rom comes with this kernel? or i need to flash this on my 2.2e?
felix1318 said:
Does leedroid 2.2e rom comes with this kernel? or i need to flash this on my 2.2e?
Click to expand...
Click to collapse
Flash it over your Leedroid, its the same kernel with added GPU patch
nandroid backup first, its still experimental
Nobody asked me by MP, A lot of times don't see my thread, because I'm not all day at the pc. It's exactly that snq- said in his post.
Originally provided by kingxklick (FloHimself found it on king kernel)
The patch is good for fps and stability, but it makes a little cpu slower (that i have seen at the mo)
I didn't see any CPU losses yet, but eitherway its worth it since our CPU is quite good already and can be OCed while the GPU is lacking and a little depraved in the gaming department
hamdir said:
I didn't see any CPU losses yet, but eitherway its worth it since our CPU is quite good already and can be OCed while the GPU is lacking and a little depraved in the gaming department
Click to expand...
Click to collapse
Is an inperceptive cpu loss, only noticeable with quadrant, about 1-30 point less, but that you say, with overclock don't matter, better for gaming because is not noticeable 20 30 points.
Guess that would be amazing for HD ROM's as u get about 200 points more on quadrant anyway, now imagine with this fix, HD ROM, SD fix and now GPU these dev' are just amazing

[MOD]Disable CPU rendering/Full GPU rendering/Improve the performance of your GPU

Introduction:
The UI of android keeps improving as updates from the android team keep flowing in. There has been a massive improvement in the aesthetics and looks of the system UI from the ancient Eclair till Jelly Bean. With improving UI and better graphics the system keeps becoming an resource hog. All android smartphones these days come with a separate GPU to satisfy the graphics rendering needs of the apps these days. However the GPU doesn’t exactly help in rendering of the system UI that means the load falls of the CPU to render the system UI and other system framework.
so here is a Mod that will disable CPU rendering and enable full GPU rendering,which will let you enjoy the true power of your adreno200!
Improvements:
-Improved performance.
-Blazing speed.
-Better sound quality.
-Improved responsiveness.
-Smoother UI experience.
-Some apps(bloatware) that earlier ran slow like Facebook will turn snappy.
-Free up CPU for other tasks.
requirements:
-Rooted device
-CWM installed 4 or 5!
How to install:
1-Download the file.
2-boot to recovery mod.
3-Make a nandroid backup just in case.
4-install zip from sdcard.
5-choose Zip from sdcard and choose the file.
6-Reboot your device!
Credit:
-leolawliet
-devilpera64
reserved 1
reserved 2
ty man for this awesome mod
Looks too good to be true, but i'll have to test it then ...
EDIT: Does it work on CM9 aswell?
Will it work on adreno 205 with cwm 6??
Sent from my WT19i using xda app-developers app
Jyrx said:
Looks too good to be true, but i'll have to test it then ...
EDIT: Does it work on CM9 aswell?
Click to expand...
Click to collapse
Yes,but with a little improve since android4.0 has already GPU accelerated!
Jeanbassil said:
Will it work on adreno 205 with cwm 6??
Sent from my WT19i using xda app-developers app
Click to expand...
Click to collapse
yes you can test it but before that you will need to edit the egl.cfg config:
from 0 1 adreno200
to 0 1 adreno205
notice that:CWM 4/5/6 doesn't matter!
How can't we be sure it was flashed correctly? My phone feels faster and I see an improvement but I just want to be sure
Sent from my HTC-PG762 using xda app-developers app
icu64 said:
How can't we be sure it was flashed correctly? My phone feels faster and I see an improvement but I just want to be sure
Sent from my HTC-PG762 using xda app-developers app
Click to expand...
Click to collapse
egl.cfg in /system/lib/egl should be 0 1 adreno200!
Hello,
Marcin from MaclawStudio here. I have to say something as someone who know something about Android source code.
This tweak won't improve performance, battery life and anything other. It does nothing because Android always tries to use h/w accelerated EGL libs, and if something goes wrong, then it falls back to software libs (b2r2)
After applying this tweak, android will select h/w accelerated libs, it's true... But before applying it, Android also was selecting h/w libs. The only thing that would change after applying is the software renderer used as fallback will be broken, and your device will crash in some rare cases when it's necessary.
I don't recommend using it. If someone don't believe me, go and study android source code, especially libsurfaceflinger.
BTW. I lol'd after reading that it will improve sound quality... EGL has nothing to do with sound. NOTHING.
BTW2. If the "tweak" really works, tell me why Google - creator of Android, who know everything about Android, why they don't use this tweak on Nexus devices?
Don't get me wrong, I don't want to offend anyone, I'm only telling you my opinion.
Cheers.
Omg...booot looop...
marcin1147 said:
Hello,
Marcin from MaclawStudio here. I have to say something as someone who know something about Android source code.
This tweak won't improve performance, battery life and anything other. It does nothing because Android always tries to use h/w accelerated EGL libs, and if something goes wrong, then it falls back to software libs (b2r2)
After applying this tweak, android will select h/w accelerated libs, it's true... But before applying it, Android also was selecting h/w libs. The only thing that would change after applying is the software renderer used as fallback will be broken, and your device will crash in some rare cases when it's necessary.
I don't recommend using it. If someone don't believe me, go and study android source code, especially libsurfaceflinger.
BTW. I lol'd after reading that it will improve sound quality... EGL has nothing to do with sound. NOTHING.
BTW2. If the "tweak" really works, tell me why Google - creator of Android, who know everything about Android, why they don't use this tweak on Nexus devices?
Don't get me wrong, I don't want to offend anyone, I'm only telling you my opinion.
Cheers.
Click to expand...
Click to collapse
-about effects of this tweak go and see people's reports with this patch on other devices forum which has adreno200 as a GPU,and before applying this patch android was using software libs before with a higher propriety than H/W accelerated ones!
-Google doesn't use a lot of optimizations on their nexus devices not even this one(you want an example,with the galaxy nexus they use GPU at @308Mhz instead of 384Mhz which is the default one on Ti-Omap 4460 chips).
-"I lol'd after reading that it will improve sound quality... EGL has nothing to do with sound. NOTHING.",improving sound quality is already reported by thousands of people using this patch with their adreno200 powered devices(they are a lot of devices with adreno200).
-This tweak is used in all versions of the legendary ROM:Android Revolution HD by mike1986. for many HTC devices!
http://en.wikipedia.org/wiki/Placebo
I know everything about Adreno 200, I'm the guy who ported ICS to Galaxy Gio and Ace.
If you want to prove me your right, show me the fragment of Android source code confirming your theory. I can show you fragment confirming my.
somewone tell me wy did my phone got boot lop after instaling this script...for wath is this..cm?gb? or wath??
i was on stoc and aftel instal my phone was in black screean after restart...???some answers?plz
marcin1147 said:
http://en.wikipedia.org/wiki/Placebo
I know everything about Adreno 200, I'm the guy who ported ICS to Galaxy Gio and Ace.
If you want to prove me your right, show me the fragment of Android source code confirming your theory. I can show you fragment confirming my.
Click to expand...
Click to collapse
I don't need to show you anything,and I know you very well and I don't want someone like you that presume having previous problems with me to came here and starts complaining,If you don't see any effect with this patch this is your opinions and I think you should keep it for yourself !
You have proven my right with your last post xD
As I said before, I have written my post to share my opinion, not to offend anyone.
Nice mod dude ...
Keep work and create awsome mod ...
respect for your work
god job and thanks
I'm just posting fragment of code confirming my theory...
FILE* cfg = fopen("/system/lib/egl/egl.cfg", "r");
if (cfg == NULL) {
// default config
ALOGD("egl.cfg not found, using default config");
mDriverTag.setTo("android");
} else {
while (fgets(line, 256, cfg)) {
int dpy, impl;
if (sscanf(line, "%u %u %s", &dpy, &impl, tag) == 3) {
//ALOGD(">>> %u %u %s", dpy, impl, tag);
// We only load the h/w accelerated implementation
if (tag != String8("android")) {
mDriverTag = tag;
}
}
}
fclose(cfg);
}
Click to expand...
Click to collapse

[ROM][4.4.2] OmniMetal [02-22-2014] (Linaro Omni rom)

Presenting OmniMetal rom for the Galaxy nexus where speed is king
This will be a semi nightly build and a work in progress
OmniMetal
Standard disclaimer-
Code:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
Credits and thanks to-
Mwisbest for all his source with linaro fixes
MBQ_ for help with github
Amperific for his awesome ASKP kernel
Linaro for thier optimizated toolchains and code
Sabermod also for their optimized toolchains and code
Omni Rom for the awesome base
Vanir Aosp for all their code fixes and enhancements
And of course thanks to everyone that downloads and uses my roms
Current Modifications by me
-O3 optimizations
Switch to linaro 4.8 toolchain
Added a little more gcc optimizations
Change animation scale in developer settings to .5 (helps with graphics some and gives an overall snappier feel)
Various tweaks and modifications for performance
Switch to ASKP kernel
To-do List
Suggestions?
Downloads
OmniMetal-toroplus
Suggested PA gapps
*Suggested BaNkS gapps (please use these if you plan to use ART runtime)*
Other BaNkS gapps packages
Suggested kernels-
Mpokang_kernel-v10_1080p
Mpokang_kernel-v10_CM-4.4
Mpokang_kernel-v10_SuperRAM-4.4
Installation
Use only the latest cwm (6.0.4.3) or latest TWRP (2.6.3.1)
Backup current rom in recovery
Wipe cache and data (I suggest wiping system as well but its optional)
Flash rom
Flash Gapps
Reboot
Enjoy someOMNI goodness
Known Issues
Data may not work (trying to fix now, logcats appreciated)
I am focusing on OmniMetal now but for those that prefer cMetal 11 there will be one cm 11 build per week and builds can be found here
Deprecated cMetal 11.0 Rom
Like my rom or work?
Donate to me​
XDA:DevDB Information
OmniMetal, a ROM for the Samsung Galaxy Nexus
Contributors
metalspring
ROM OS Version: 4.4.x KitKat
Based On: Omni Rom
Version Information
Status: Alpha
Created 2013-11-30
Last Updated 2014-02-23
User Input and Issues or Bug Reports
User Input-
Although my coding knowledge is limited I am still open to try to add in any feature suggested here
However, please try to limit it to features found in other kitkat roms since it's most likely beyond my ability to forward port things lol
If you have any other feature requests please post them in the thread or at this link
Issues/ Bug reports-
If you have any issues with this rom, please provide details so I can troubleshoot them
details should include-
version of the rom you are using
kernel you are using (if not stock kernel)
any modifications you are using (ART, supersu, etc)
what the issue was and what were you doing when it happened
And also logcats/dmesg/last_kmesg logs are appreciated (even with known issues)
I will do my best to fix any issues that might arise to the best of my ability
Suggested Apps, Settings and Various Other Goodies
My personal settings for maximum performance
Mpokang v10 superram kernel (link in op)
TCP Congestion Control: Westwood
Read Ahead Buffer Size: 2048
I/O Scheduler: SioPlus
Frequencies-
192000 Min
1536000 Max
729600 Max Screen Off
384000 Min Screen on
Governor: Interactive
Dynamic Fsync: On (Please turn this off while adjusting settings to avoid issues if these settings dont work with your phone)
Temperature Limit: 80
GPU OC: 512 MHz
ZRam: Off
SmartReflex: Core, IVA MPU All On
Optimal Display Settings-
Content Adaptive Brightness- Off
Contrast: -14
Gamma Adjustment: 6
Gamma Offsets-
Red: - 6
Green: 0
Blue: 8
Color Multipliers-
Red: 200
Green: 200
Blue: 265
Other Settings for Performance-
Force GPU Rendering: On
ART Runtime
16 Bit Transparency: On
Allow Purging of Assets: On
Window Animation Scale: .5
Transition Animation Scale: .5
Animator Duration Scale: .5
NEPHILIMS CUSTOM KERNEL SETTINGS (For balance of performance and battery life)
Useful Apps/Addons
SuperSU
Xposed Framework (Not compatible with ART runtime)
For Music Lovers- VIPER4Android (Please follow instructions in thread op and use SuperSu)
Google Dialer with nearby places and search
Photosphere Addon
Anything you think should be here? Just tell me and it will be added
Thank you for the new rom!.. Going to give this a go in a bit
how do I download this ROM? I don't see a link.
Same.. Been waiting on the link but nothing as of yet. Is this just a placeholder??
Sent from my Galaxy Nexus using xda app-developers app
Sorry about that, had issues with uploading and then had to go to a Thanksgiving party with family lol
Uploading now, should be 25-30 minutes
Finally got it uploaded
A couple known issues-
Texts appear as being sent twice (dont worry they are really only sent once, you can blame koush for making a bad merge on this one lol)
I HIGHLY advise using the banks gapps listed in the op if you plan on using ART, PA gapps tend to cause waves of force closes when used with ART
This includes a cherry pick that is supposed to help with data issues on the toro, however I do not know if it will help toroplus or even break mobile data completely, if so then I'll get right on doing a build without it to see if that helps
This also has lots of cherry picks from other roms aimed at increasing performance and market restore should also work
I don't see the link still. maybe I'm missing something.
I See the link now. THanks!
apeh2000 said:
I don't see the link still. maybe I'm missing something.
Click to expand...
Click to collapse
Its in the op now under downloads for those on tapatalk
or under the downloads tab at the very top if you are on the desktop version of xda since its a DevDB type thread so I can keep track of downloads, have separate tabs for reviews, bug reports, and feature requests, etc
Great ROM. I've had it up and running for about an hour now. Still setting things up the way I like it, but so far very smooth and definitely a daily driver. Great work!
Doors going from 4.3 to 4.4 Chang the file system like going from 4.1 to 4.2 did?
Sent from my Galaxy Nexus using xda app-developers app
bigblue4life said:
Doors going from 4.3 to 4.4 Chang the file system like going from 4.1 to 4.2 did?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Nope
Sent from my XT1056 using Tapatalk
Nope, the only issues are the stock browser might lag slightly compared to everything else (due to outdated drivers on the gnex)
For the most part the browser lag is extremely slight, you might only notice when trying to fling through a webpage with tons of pictures and videos
Also the new optional ART runtime isnt compatible with a few different apps and is temperamental when it comes to gapps packages (please use the ones in op that say to use with ART if you plan on testing it out)
Other than that, everything should work fine
metalspring said:
Nope, the only issues are the stock browser might lag slightly compared to everything else (due to outdated drivers on the gnex)
For the most part the browser lag is extremely slight, you might only notice when trying to fling through a webpage with tons of pictures and videos
Also the new optional ART runtime isnt compatible with a few different apps and is temperamental when it comes to gapps packages (please use the ones in op that say to use with ART if you plan on testing it out)
Other than that, everything should work fine
Click to expand...
Click to collapse
Is it possible for you to use a different sight for your upload? Download is showing an hour.. From PC and from phone... just curious
deucedimetexas said:
Is it possible for you to use a different sight for your upload? Download is showing an hour.. From PC and from phone... just curious
Click to expand...
Click to collapse
Odd, it shows it would take less than 5 minutes for me, maybe there is an issue with your data connection?
metalspring said:
Odd, it shows it would take less than 5 minutes for me, maybe there is an issue with your data connection?
Click to expand...
Click to collapse
Checked that.. just downloaded 174 MB MBQ ROM in less than a minute. Is anyone else experiencing long download times?
Downloaded mine in 2 min on LTE.
Sent from my Galaxy Nexus using xda app-developers app
deucedimetexas said:
Is it possible for you to use a different sight for your upload? Download is showing an hour.. From PC and from phone... just curious
Click to expand...
Click to collapse
If you still need a mirror, here is one
http://www.mediafire.com/download/kbrn8lyju7ysou3/cMetal-11-20131130-Linaro-toroplus.zip
metalspring said:
If you still need a mirror, here is one
http://www.mediafire.com/download/kbrn8lyju7ysou3/cMetal-11-20131130-Linaro-toroplus.zip
Click to expand...
Click to collapse
thank you.. worked like a charm w/ mirror

[Discontinued]

[Discontinued]
---
----
First and can't wait. Will let you know.
Sent from my SM-N9005 using XDA Premium 4 mobile app
I can't seem to find it in the OP, is this for AOSP or TW?
tw
It's in the changelog. Based on N900T NB4 source.
Sent from my SM-N900T using XDA Premium 4 mobile app
Works like a charm. Thanks for the quick release.
@Wootever .. Damn ur pretty quick only a few hours since i posted in your other thread about source dropping.. Awesome work woot
update works great here! thanks!
Amazing downloading now; D
Sent from my SM-N900T using Tapatalk
Any recommended settings? for best battery?
@vibrantliker
my recommended settings (these are also kernel default settings):
CPU: 2265mhz - 300mhz; interactive; 2 (always active cores on touch)
GPU: 450mhz - 200mhz; msm-adreno-tz
Storage: fiops; 512kb (for both)
These settings are optional:
Display: Black level: 1,56% (max); White: FF F0 FF (for a warmer white point)
Wootever said:
@vibrantliker
my recommended settings (these are also kernel default settings):
CPU: 2265mhz - 300mhz; interactive; 2 (always active cores on touch)
GPU: 450mhz - 200mhz; msm-adreno-tz
Storage: fiops; 512kb (for both)
These settings are optional:
Display: Black level: 1,56% (max); White: FF F0 FF (for a warmer white point)
Click to expand...
Click to collapse
What is your basis for screen adjustments? Did you use any tools? Just curious.
@themichael
About the problems with smearing and black crush (and why it can be useful to increase the black level) i would like to quote two explanations:
Slimer777 said:
[...]One thing about the S4 is that the Samsung color profiles will crush everything below 1.5% or someone would call 1.5IRE.
Click to expand...
Click to collapse
This happens to black level and causes the black crush effect: check here, the first 8 steps are not distinguishable, with the small increase above 1.5% you can almost recognize the first step.
From AndreiLux:
i950X devices have an issue with the AMOLED controller in which, if individial pixels get power-gated for true black, they occur a latency delay when getting powered on again, resulting in a visible smearing effect.
Acts on the black RGB channel filters of the mDNIe engine to elevate pure black to a deep grey. Acts as single control; it acts as a luminosity addend to all greyscale colours in 0.39% steps.
A value of 3 or 4 should be satisfactory to remove the smearing.
Click to expand...
Click to collapse
Everything else like the white point is only inaccurate measured without proper calibration tools, so this is more or less a personal taste rather than a correct calibration.
Wootever said:
@vibrantliker
my recommended settings (these are also kernel default settings):
CPU: 2265mhz - 300mhz; interactive; 2 (always active cores on touch)
GPU: 450mhz - 200mhz; msm-adreno-tz
Storage: fiops; 512kb (for both)
These settings are optional:
Display: Black level: 1,56% (max); White: FF F0 FF (for a warmer white point)
Click to expand...
Click to collapse
When I flash kernel, these above will set by default?
Otherwise I don't see where to adjust these:
2 (always active cores on touch)
GPU: 450mhz - 200mhz; msm-adreno-tz
Storage: fiops; 512kb (for both)
Link not working
Sent from my SM-N900T using XDA Premium 4 mobile app
jpeps said:
Link not working
Sent from my SM-N900T using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It worked for me just now.
Sent from my SM-N9005 using Tapatalk
Thanks Woot for getting us a working kernel, very important to all us tmo low life's..lol.....without you, this could not be possible....from the Ax....greatly appreciated...for sure...great work!!:good::good::good:
Installation process and X-Note Compatibility
Hello gentlemen,
I'm definitely excited & THANKFUL to see a kk kernel finally pop up for Tmo but i'm a little uncertain on the process of installing this kernel. What recovery do i need to flash this kernel. I'm currently running the stock rom wit root access knox is at 0x0 but i just got this Note replaced 4 days ago and i dont want CWM to ruin my phone again . I dont care if i trip knox as long as my phone actually works. The 4.3 to 4.4 jump scares me a bit because of the whole update the bootloader thing.
Long story short. i want to get from this factory stock 4.3 rooted rom over to X-Note 11 (requires 4.4.2) and flash this kernel to complete the system
I'm familiar with Odin tools and zip flashing but not with ADB or scripts/commands. I RARELY post for help lol but always do some heavy research before modding any new phone i get. I have been happily flashing and following devs since 2010!
If anyone can help break down this process for me i'd greatly appreciate it.
i asked for help as well in the Xnote 11 Q&A forum ---> http://forum.xda-developers.com/showthread.php?t=2666280&page=15
Actual Rom ---> http://forum.xda-developers.com/showthread.php?t=2472301

[SOURCE | MINNOW] Kitkat Kernel Source for Moto 360

Hey folks,
as everyone knows, due to the GPL every company who creates android images is forced to release the kernel source!
I started digging around in the internet and found the sources at Googles git server.
The kernel is based on top of linux kernel version 3.10.x, so here we go:
https://android.googlesource.com/kernel/omap/+/android-omap-minnow-3.10-kitkat-wear
After i found and ordered a nice usb connector for my Moto 360 which i got last thursday,
i will start creating custom kernels and port over a modded version of cm
(which may takes a while as i have to create a few interface layouts first! ofcourse whishes and ideas are welcome).
Best regards,
OldDroid
Good luck man!
Oh fun. Huh turns out they lowered the standard fps to 45, and in ambient mode its capped down to 30. For battery I guess.
Thanks OMAPa!
Metallice said:
Oh fun. Huh turns out they lowered the standard fps to 45, and in ambient mode its capped down to 30. For battery I guess.
Thanks OMAPa!
Click to expand...
Click to collapse
Hm, why would you need 30fps in the dimmed mode (No seconds had there anyway)?
Or are we talking about the normal screen on state with ambient enabled?
Would lowering this further enhance the battery effiency significantly?
Diamondback said:
Hm, why would you need 30fps in the dimmed mode (No seconds had there anyway)?
Or are we talking about the normal screen on state with ambient enabled?
Would lowering this further enhance the battery effiency significantly?
Click to expand...
Click to collapse
I think he means the normal screen rate is 30fps with ambient enabled...
I wouldn't mind upping the rate to 60fps because the watch last me a full day with plenty battery left over ... This way we can at least have a smoother experience
Sent from my HTC One using Tapatalk
thesparky007 said:
I think he means the normal screen rate is 30fps with ambient enabled...
I wouldn't mind upping the rate to 60fps because the watch last me a full day with plenty battery left over ... This way we can at least have a smoother experience
Sent from my HTC One using Tapatalk
Click to expand...
Click to collapse
Yep the panel can definitely do 60fps. According to the source that was what it was originally set to. Wouldn't be too tricky to revert the relevant changes.
Edit: there actually is a time when the panel runs at 60fps... On the charger :/
Metallice said:
Yep the panel can definitely do 60fps. According to the source that was what it was originally set to. Wouldn't be too tricky to revert the relevant changes.
Edit: there actually is a time when the panel runs at 60fps... On the charger :/
Click to expand...
Click to collapse
Haha, yea that totally makes sense :victory: Did you spot yet which cpu governor we are running on by default?
Userspace. Its probably set in the ramdisk on boot like all the other nexuses. Based on older commits it is probably interactive but you'd have to look at the init files to be sure.
There are a lot of interesting things to tweak here not just frame rate. Gestures and sensitivity, frequencies/scaling/voltages, screen/misc timeouts, lots and lots of stuff can be tweaked with ambient mode - the timeouts, the max brightness for the ULP display state, and so on. Looks like we could even go revert back to "normal" ambient mode for those that want it.
there can be made various battery related changes
maybe i gonna try to implement blx (battery life extender) at the weekend, but we will see
i think some governor tweaks can be done aswell ... (don't know if touch boost interface has been implemented by motorola, will check later)
OldDroid said:
there can be made various battery related changes
maybe i gonna try to implement blx (battery life extender) at the weekend, but we will see
i think some governor tweaks can be done aswell ... (don't know if touch boost interface has been implemented by motorola, will check later)
Click to expand...
Click to collapse
If you are referring to caf CPU boost then no it is not in this kernel.
MikeC84 said:
If you are referring to caf CPU boost then no it is not in this kernel.
Click to expand...
Click to collapse
thx for looking it up!
Diamondback said:
Haha, yea that totally makes sense :victory: Did you spot yet which cpu governor we are running on by default?
Click to expand...
Click to collapse
yep, it's interactive:
Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
it's set in init.minnow.rc
Sweet thanks for the link. As for features, can't think of much that isn't already handled via setting proc settings (screen off on charge etc), perhaps add an App that can make these configurable via a GUI?
This probably needs messing around with /system, but my biggest annoyance is probably the fact that cards always cover up my analog faces unless I mute, which still adds the mute logo so not the best solution.
What USB connector did you order?
Sent from my HTC One_M8 using XDA Free mobile app
blacklistedcard said:
What USB connector did you order?
Sent from my HTC One_M8 using XDA Free mobile app
Click to expand...
Click to collapse
I am curious, too, as I do not want to make my own, but want to BL unlock and root.
r3pwn said:
I am curious, too, as I do not want to make my own, but want to BL unlock and root.
Click to expand...
Click to collapse
Me too.. Coz I want to participate with this project without messing with home made cables. Mind to share it?
Sent from my XT1033 using XDA Free mobile app
I want to build a custom kernel for this guy. There are a lot of cool things I could do with CPU scaling, voltages, and ambient mode settings.
Unfortunately I reeeaally don't want to try to hack together my own cable. Hopefully someone will sell one but it seems unlikely.
Metallice said:
I want to build a custom kernel for this guy. There are a lot of cool things I could do with CPU scaling, voltages, and ambient mode settings.
Unfortunately I reeeaally don't want to try to hack together my own cable. Hopefully someone will sell one but it seems unlikely.
Click to expand...
Click to collapse
Yeah, newer toolchain and some optimizations would really help that old processing in the Moto 360. I just wish we did not have you use a custom cable.
Will it ever be possible root over adb? Or through the NFC charger plugged into a PC?
Sent from my XT1097 using XDA Free mobile app

Categories

Resources