Tired of unresponsive and lack of screen sensitivity? - Galaxy S II Android Development

Tired of unresponsive and lack of screen sensitivity?
Hello guys, if you guys don't know me already, I'm gsstudios and I'm currently working on providing kernels for our device.
Now it has come to a point where some people want more screen sensitivity, because all of the tuning that is currently available in kernels are not adequate enough for some users. It has been believed that the stock values found on kernels are buggy since stock ICS, and most kernels today still have these stock values.
Now, I present you the very first build (in current XDA) of DorimanX kernel with tuned screen values (0 for touch move sensitivity) by default.
Note to kernel developers/potential kernel builders:
The fix isn't really important to most users on XDA, but if there is a time where it is required to increase sensitivity, follow this guide: http://forum.xda-developers.com/showpost.php?p=43461109. but make sure that ALL of the /* MOVHYSTI */ values are changed to a lower value (some people like 0). A similar effect can be done by tweaking other values, but doesn't achieve the same results as people would wish for. The original fix from vitalji is for older kernels (still applies, but was in a different location) still based on older samsung source code, newer kernels will have to use the guide provided above to adjust values.
Downloads
Link to dorimanX unofficial builds with screen tweak
http://forum.xda-developers.com/showpost.php?p=63543949&postcount=361
Please also note that this thread isn't intended to revive the old posts/topics mentioned. It is just to announce to users who wanted a better touch screen experience in current times
thanks to vitalij for the original fix here

How can you test?
If you are interested in knowing how responsive your screen is, download the Touch Move app from the play store, and follow the onscreen instructions. The app will tell you how many pixels are required to move between different points of the screen. Make sure to swipe your screen slowly (important), so that the test is as accurate as possible.
App link
How a kernel with properly tuned parameters should look like:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Image source: My own thread
How a kernel without properly tuned parameters should look like:
Image source: Google play store
Now the first image shows what a kernel with the touch move sensitive value set to 0 would look like. Whereas the second image shows what a kernel with a touch move sensitivity set to 5-6. Most kernels have a value of 10 or even 15! Making it hard to make fine and precise movements on the screen.

wrong section !!

Related

[Q] CWM Recovery v6.0.3.6 screen offsets

All versions of CWM recovery I've tried and built for the HTC Desire SV (dual sim) has this strange behaviour: when scrolling down through the menu, the screen jumps some characters for every odd menu item, and is correctly displayed for every even menu item.
This is with CWM Recovery 6.0.3.6.
Is this a bug, or any way to configure my source files to correct this?
picture
Here's a picture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
jheller said:
Here's a picture:
Click to expand...
Click to collapse
Happens also on 6.0.1.2. More obervations: the first 50 pixels or so are missing in the rendering of the page (can be seen in the bottom left corner: a black row of pixels, under "Warning"). Having a look at ui.c, miniui.c, seems to be a bug when flipping pages.
Fixed by disabling page flipping
Fixed it by changing some code in bootable/recovery/minui/graphics/c ....
This is where it goes wrong:
vi.yoffset = n * vi.yres;
Somehow, this also introduces an x-offset, at least on my device.
Although exact root-cause is yet unclear, I made a non-page flipping CWM recovery. Let me know if anyone's interested.
The quick fix can be downloaded from this thread: http://forum.xda-developers.com/showthread.php?t=2487211. Will probably commit this fix upstream on github ad well, once I figured out how.
I still wonder if this bug is device related, please post a reply and let me know if you also experience it, which device, which ROM, etc.
jheller said:
The quick fix can be downloaded from this thread: http://forum.xda-developers.com/showthread.php?t=2487211. Will probably commit this fix upstream on github ad well, once I figured out how.
I still wonder if this bug is device related, please post a reply and let me know if you also experience it, which device, which ROM, etc.
Click to expand...
Click to collapse
I also get the exact same issue on my device.
HTC Desire 300
Stock android 4.1.2
CWM = Philz-cmw6-v5.15.9_base_6.0.3.7_by_SPaWn

Guide developers custom kernel with ROM

-Optimization custom kernel and android system
-Remove changes in build.prop and init.d scripts folder will not only serve Encourage the device
-Note: roms covers this does not bring this optimization must modify please cook ROM -
Code:
-Requirements:
-Apk manager
-Java install pc
-Framework-res.apk
-Decompile and compile knowledge framework-res.apk
-Notepad++
-Just a little patience
-now have to decompile the framework-res.apk and wait Aque finished extracting the files
-locate the next file in the framework-res.apk
Code:
framework-res.apk/res/xml/power_profile.xml
( here you'll find related signal, wifi, radio frequencies and codes Processor )
( to add missing values ​​use this <value> </ value> )
example capture:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Faq
this is for those who have unlocked bootloader and the ability to use a custom kernel remember that when porting the rom there are certain modifications that must be done carefully so that the xperia performs to a good performance otherwise the kernel can have cpu frequency however the file I mention power_profile.xml frequencies may not be on the well known lag this causes problems and delays when executing common tasks on your smart phone
this is an example:
custom kernel:
cpu frequency 100, 200, 400, 800, 1000
power_profile:
cpu frequency 200,500,700,1000
as can usually observe the roms covers do not match the code of the rom that's why there are problems in the terminal I hope you can understand the objective of the subject
-Here we verify that the value of the frequencies of all matching kernel with this file so that the entire operating system to work as it should be fast without lag
-Now compile the framework-res.apk and flash in your terminal and check optimization.
Good guide mate. :good:
But i am a bit confused. Can you please give some more intro and purpose about the thread?
Thanks!
aggregate information :good:
best kernel
where i find the best kernel for custom roms?:crying:

[GUIDE] Play Pokémon Go without lag

Hey guys, Pokémon Go should be literally unplayable on this device (stock ROM runs Android 4.2.2). I'm here to explain what ROM to use in case that you want to play Pokémon Go without lag on this device.
If the device explodes in your hands, and your face gets in fire because of your device's overheating, just don't blame me for the error you made for following my steps, I'm not a developer nor a computer.
Click to expand...
Click to collapse
Requirements:
You need to flash one of these ROMs: CM11 by pollos (leaving XDA, Spanish webiste, but I hope you all know how to translate it or just pick the link from the entire thread) or CM13 by EdwinMoq.
GLTools (no warez: GLTools [root] (gfx optimizer), if you want to use warez version, remember RAM memory, you'll just take advantage of it lately, remember)
Fix graphics lag:
Procedure:
Tick the three checkboxes and then, hit Install.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Put the red highlighted areas to the same value as the image shows.
That's all, reboot your device just to make sure that everything is saved successfully, and open PGO .
Side-effects:
Graphics errors, such as black areas or totally blank video data from some things (generally the map and the Pokédex).
Video feels blurry and sometimes distorted (when the graphic to show is too complex to render).
Fix GPS issues:
Procedure:
Download and install Artas182x's L9 GPS Fixer
Open L9 GPS Fixer and click those buttons:
1 - The device will cache an update.zip to the recovery, and a script. Then it'll reboot and flash the GPS drivers.
2 - Will ask for LTO pathfiles, those are going to help the GPS to connect with speed and accuracy.​
The main problem that i found with Pokemon GO on P768 is GPS and not lags, the character is not walking correctly. This app GLTools fix this?
marciofornari said:
The main problem that i found with Pokemon GO on P768 is GPS and not lags, the character is not walking correctly. This app GLTools fix this?
Click to expand...
Click to collapse
Thanks for letting me know about that other issue. I forget to put it in the post.
Please check my latest edit.

[SHARED][Kernel][OSS-AOSP][12][MAGISK]MARISA KERNEL[27-11-2021]

Read First.
I do not own or made this kernel. The owner/developer is @Laulan56, all the credits, copyright are belong to the original owner.
Warning:
It's your choice to use it or not.
I do not responsible for what happened to you.
If you messed it up and you point your finger at me, i will laugh so hard at you.
Marisa OSS Kernel was build for toward performance, efficiency, while also maintaining battery backup.
Please Note:
The Marisa kernel is only work on OSS AOSP Android 12.
Changelogs of R3:
-Import Anti flicker(DC dimming) Support(NEED TEST)
-Use efficient CPU frequencies and busy costs
-Some more that idk...
[Check more on GitHub for details]
Instructions:
•Enter recovery mode, install Magisk first as it required, then find the file you downloaded in storage and install it.
•Clean "Davik-ART" and "Cache" after done and before reboot (Optional).
Bugs:
•Weird or corrupt color when the brightness is set to low enough. Avoid set the brightness to lowest or your device screen will become total black, if you are stuck, then reboot.
•You may experience minor lags of animation in some apps.
•Slow charging? Go to system/vendor/etc and remove all the files with name "thermal-xxx", "thermald-devices" and reboot (It's recommend you to take backup before remove them), if the system is blocked you from delete it, then boot to recovery mode and go to file manager or something like that, if it not, then reboot few more time until it's working.
•It's the only fix i did found so far, and on't worry about overheating, kernel or the ROM (maybe) have msm or caf thermal. When it reach 45°-46°, the charging will slow down.
•However, don't run any heavy app like 3D Games, Video Editor or Benchmark during charging, or your device will get huge lags, freeze and the fast charging will stopped working until you reboot it.
Also don't use or uninstall any Magisk modules that affect charging.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FKM profile will not be available, due to problem while trying to saving profile in app.
That's all of it.
Leave some thanks if it work for you.
thank you very much!!!
Really appreciate the work
could you update it to the latest revision
Naveen Narendra said:
Really appreciate the work
could you update it to the latest revision
Click to expand...
Click to collapse
dude I'm not a dev, ask @laulan

Seeking user documentation

Greetings.
Despairing that Sailfish OS will never have a decent browser and that it's actually losing ground in areas like support for ProtonMail and VPNs, I started looking for an alternative OS for the Sony XperiaX I got . . . to run Sailfish OS. A Lineage OS rom with the MicroG modifications would be fine -- if there were one already canned for the XperiaX. Likewise /e/. Best I can tell, there are not (please correct me if I'm wrong, bearing in mind that flashing a phone is like setting a broken leg to me -- I'll do it if I have to, but it's not something I'm good at). So I flashed away Sailfish 4.4.0.68 and installed OTA 23 of what's apparently the stable branch of Ubuntu Touch. It's pleasingly smooth in many ways, but . . .
-- There is NO documentation I can find. Nor can I find any forum or mailing list. It seems to be developers only, which is fine if you don't have or plan to have users. Does anyone know of any support forum or mailing list that helps mere users try out the OS?
-- There is no attention (yet, at least) paid to security, as witness the OS's inability to read an OVPN file so a VPN can be used. There is a document (https://ubports.com/blog/ubports-news-1/post/using-vpn-in-ubuntu-touch-3065) that describes how one might strip the necessary information from an OVPN file, but c'mon.
-- It is apparently possible to manipulate the left-side frequently-used-applications bar (or whatever it's called; again, there seems to be no user documentation even establishing names for these things), because I've seen different apps in that bar in different screenshots. But nowhere can I find anything describing how this is done. (I learned that you need to open the app store to delete an app entirely by accident.)
The hits just keep on coming, but I'll stop there. Does anyone know of any user support site/forum/listserv where we can sort these things out? I'd really like for it to succeed, and even more to be able to use it, but there are a few minimum requirements (VPN especially), that I need to be able to implement. Otherwise I'll have to go back to Sailfish and the world's worst non-Konqueror browser.
Never mind, I guess. I said hell with it and flashed the Lineage OS for MicroG image. Ubuntu Touch is prettier and smoother, but I need an operating system, not a puzzle game, and absent user documentation it's more the latter than the former. It's kind of like Linux in 1997, but without the newsgroup support.
Same thing here, couldn't even get beyond their installer. I guess UB touch is as bull**** as ubuntu itself...
for pointing it out! I thought already it was me but no, it's ubuntu...
@ubuntu:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

Categories

Resources