[Q] How to update/flash/dump touchscreen firmware - Hardware Hacking General

Hi all,
I got problem with touch screen on my china phone - it happens when i flashed newer official ROM - after flash everything works nicely ... but as i am working with phone it freezes, vibrates and reboots and after that the touch is completely screwed up. From my perspective it looks like something suddenly changed Calibration or firmware of touch screen (the flash of backup/another ROMs didn't help)
only thing i found on this topic is here but it is for specific tablets:
modaco.com/topic/355021-most-touchscreen-issue%E2%80%99s-explained-and-the-reason-some-touchscreens-are-dying-on-p10an01%E2%80%99s-advent-vega-viewsonic-10s-point-of-view-mobii-ect/
From android i floked up for files but they didn't contain any calibration for screen so i am assuming these data are saved in touch firmware.
source.android.com/devices/input/touch-devices.html
in *.idc i got
qwerty.idc
touch.deviceType = touchScreen
touch.orientationAware = 1
keyboard.layout = qwerty
keyboard.characterMap = qwerty
keyboard.orientationAware = 1
keyboard.builtIn = 1
cursor.mode = navigation
cursor.orientationAware = 1
needrom.com/download/star-n9002-mt6582 -This is my phone and ROMs i FLashed
Did anybody encounter touch issues ?
Any ideas or suggestions ?
Is there any possibility to calibrate it in android ?
Thanks, any idea or suggestion will be deeply appreciated

Related

GPS Issues

I am currently trying to get the GPS working on my phone with no luck. I have spent a long time reading different fixes and things on how to get it to work first so I don't waste your time. I am hoping if I post the steps I took maybe someone will catch a mistake or something I overlooked.
Pre-History:
I'm not sure if this matters but I figured I should include it in case. The first modification I made was to install the leaked Verizon 6.1 update a while back. Then later I unlocked the phone with 2.3.coke and tried to flash the new 6.5 NFSFAN ROM but it didn't work correctly. So then I flashed back to the official Verizon 6.1 update. Then I flashed the latest bell ROM followed by OMJ's latest 6.1 ROM. I had no luck with GPS at this point but left it this way for a little while.
Recent Steps:
I just went back and flashed it again using the Verizon 6.1 official ROM again without letting customizations run. Then I followed it by flashing NFSFAN's new ROM again. This worked fine this time so I tried to set up the GPS. I followed this article http://forum.ppcgeeks.com/showthread.php?t=36377&highlight=shadow-tech+agps and made sure everything was set up. Still nothing.
Thoughts:
I'm not sure if I missed something or put in wrong info somewhere but I still never get a fix. What are the current Verizon aGPS settings? Is there anything else I should try?
Registry Settings:
EnableAGPS = 1
EnableGPSSmartMode = 1
EnablePDEIPFromNV = 1
GPSMode = 2
NumberFixes = 999999999
QoSAccuracy = 50
QosPerformance = 89
ServerIP = 66.174.95.132
ServerPort = 8888
TimeBetweenFixes = 1
Other Settings:
GPS program port = COM4
GPS hardware port = (None)
Baud rate = 4800
Manage GPS automatically is on
Location Setting is ON

[32A-CYANO] G-sensor calibration

Hello everybody, I'm new here.
I've done a search before posting but I didn't found any solution to my problem.
Monday I got my phone back from RMA (bad radio flashing) and as sometimes happens I got it with the G-sensor defective / not calibrated.
With some tools from the market I was able to read the values from the sensor.
Orientation, compass and temp give right values. G sensor is off by this values: x = + 3 (on average), y = - 26/27, z = -26/27.
I did as stated in cyano wiki, wiped, cleaned and thousand other methods (even by terminal emulation, erasing the akmd file and killing the process), but nope.
Now is there a way to manually calibrate the sensor, for example by editing the akmd_set.txt file? How can I copy the akmd txt file from the nand to the sd?
thanks for the help

HD2 WP 7.8 Proximity Sensor Issue Resolved

Good Evening Friends,
After a lot of research and reading various sites I seem to have found a solution to the proximity sensor issue with HD2 while using Windows 7 or 7.8.
Changing the dword from 0 to 1 did not work cos restarting the phone reset it back to 0 enabling the proximity sensor and turning screen off during calls without being able to get it back without restarting.
However by following the steps below one can restore the screen back during a call without disconnecting and waking up the screen for using the options onscreen and thus solve it once and for all cos restarting does not reset these values.
1. Install Lang HD2 Pdaimatejam Rom Wp7.8 OS 7.10.8858.136 RMT v8.6. Its a good rom and internet works on it unlike RMT8.7 wherein many are facing issues with internet. Moreover this rom is stable as i have myself tested it for 2 days now.
2. Install WP7 root tools from the following link http://www.wp7roottools.com/index.php/downloads
3. Grant/Enable root access in the root manager software which comes preinstalled as part of the rom.
4. Open WP7Root Tools and Click on HKEY LOCAL MACHINE
5. Click on Drivers---> Built In---> Proximity
6. Rename senscmdd.dll to senscmdd.dll2 by adding a 2 at the end.
7. Rename sensorpdd_htc.dll to sensorpdd_htc.dll2 by adding a 2 at the end.
8. Change ScreenOffThreshold valuedata by selecting it to 1000000
9. Now after saving the above exit wp7 root tools and reboot.
10. Once you have rebooted during a call you can press the red end call button without disconnecting the call and get the onscreen options without any trouble.
Hope this helps. Valuable feedback is welcome. You could thank me if this worked for you.
CHEERS...

[MOD] Add Extra Keys To Your Nav Bar In Android O style

This should be in the development section but I don't have the required amount of posts so I put it here, no worries...
Disclaimer
Your phone your responsability!!!
Please make sure you read everything, especially the "IMPORTANT" chapter, I won't reply to question(s) whose answer(s) is/are here!!!
I made a SystemUI navigation bar mod for me and I thought that some people may like it so I share it here with you guys.
It enables you to add extra keys (left/right/up/down arrows for text correction or navigation on pages, volume up/down, music panel) directly from the navbar tuner settings.
I have seen on XDA news that you can achieve the same result by editing the settings_secure file but it's not very practical because every time you have to reboot before the new key appears.
REQUIREMENTS
A Nexus 6 (obviously):cyclops:
TWRP
Android Nougat 7.0
IT WON'T WORK ON 7.1!!!
FOR 7.1 SEE BELOW.
IMPORTANT!!! DO NOT SKIP!!!
I made this mod for my ROM that I built from source based on Pure Nexus 7.0, so I can't guarantee that it'll work on a different ROM brand.
If you come from another ROM than Pure Nexus feel free to try and report here, I made a rescue zip to get you back to your original configuration in case it doesn't work so you don't need to worry.
But back up anyway, just in case.
Now we may a problem, that is application signature.
As said above I'm on a home built ROM, and I have signed it with my signature, signature that is unique to my ROM and that will prevent installations on a different ROM.
What I did to have it to work for you guys is that I signed the apps that I put here with the Pure Nexus 7.0 original signature, that should be OK if you are on Pure Nexus 7.0.
If you are on a different ROM, or if you are on Pure Nexus 7.0 but for some reasons it doesn't work, you'll have to do as follows:
- extract your SystemUI.apk in /system/priv-app and put it on your internal storage or computer,
- open it with 7zip or something similar,
- inside you'll see a META-INF folder and AndroidMAnifest.xml, extract them,
- open my modded SystemUI,
- delete the META-INF folder and AndroidMAnifest.xml inside of it and replace them with the ones you extracted from your SystemUI,
- close everything,
- zipalign my modded SystemUI (optional but better for optimization, zipaligning has been lost since the signature has been replaced),
- now my SystemUI has your signature so you can flash the zip.
If it still doesn't work then you're out of luck, to have it to work would mean to have your ROM's source and do the edits there but sorry, I won't do it because it's too much work (downloading 20 GBs of data for the source, compiling a whole ROM etc...).
In that case upload your SystemUI.apk and your framework-res.apk here and I'll try to do it, but no guarantees...
7.1
Why am I not on 7.1?
I tried it but there wasn't any interesting new features for me so there was no point to switch to it and go again through the lenghty process of downloading the source, compiling it, editing/theming/etc-ing all the apps, no, I sticked to my good old 7.0.
INSTALLATION
There are 3 zips.
1 - The green theme is the one I use on my phone but it may look weird on yours since the green theming needs other apps to be complete. Give it a try though, it looks nice to my opinion!
Tell me if you want the full green theme, I'll upload here the other files.
2 - The stock theme is the regular Nougat white theme.
3 - A rescue zip to get back to your original SystemUI in case something goes wrong.
Backup your ROM (probably not needed, but just in case)
Choose which flashable zip you want, put it on your phone, flash it in recovery, reboot.
You may have to resize the keys if you want to have many of them on the nav bar, as for me I have 9, check the below screenshot to see what's the ideal size to have all of them to fit.
OTHER KEYS
If you want to try other keys do as follows:
- find the key code number for key you want to add, here are some examples (not tested so not sure they all work):
CALL = 5
ENDCALL = 6
DPAD_CENTER = 23
CAMERA = 27
* Used to launch a browser application:
EXPLORER = 64
* Used to launch a mail application:
ENVELOPE = 65
NOTIFICATION = 83
SEARCH
MEDIA_REWIND = 89
MEDIA_FAST_FORWARD = 90
MUTE = 91
PAGE_UP = 92
PAGE_DOWN = 93
MEDIA_RECORD = 130
CONTACTS = 207
CALENDAR = 208
MUSIC = 209
CALCULATOR = 210
CUT = 277
COPY = 278
PASTE = 279
- open settings_secure (it's in /data/system/users/0),
- edit the sysui_nav_bar field, here's an example if you want to add a camera icon:
key(27:file:///storage/emulated/0/camera.png)
27 is the key code for the camera, camera.png is a camera icon that you'll have to put on your internal storage,
- reboot,
- please report here if it works or not.
The new keys can be used in conjunction with tasker (see XDA news for the related tutorials) to only appear when certain apps are opened but if you want I can add them to the list of available keys in the nav bar tuner, let me know.
TO DO (NO ETA)
I'd like to add a custom key to launch the applications drawer but I didn't look into it yet and I don't know if I'll manage to do it anytime soon, I'm pretty busy at the moment.
That's all, enjoy!!!:good:
XDA:DevDB Information
Additional Keys on Nav Bar, Device Specific App for the Nexus 6
Contributors
PakDe888
Version Information
Status: Testing
Created 2017-04-25
Last Updated 2017-04-25
reserved, in case...
you can do the same with last stock 7.1.1 firmware without having to root, or install twrp or unlock the bootloader or whatever...
you just have yo use this app :
https://play.google.com/store/apps/details?id=xyz.paphonb.systemuituner
it needs a special permission but changes take effect immediately, no need to reboot
my settings for exemple :
left button switches off the screen and right button launches Google app.
Yeah well you know, there are different kind of people on this forum.
Some of them don't want to bother and understand how things work so they rely on apps to do customizations, theming etc. (and sometimes complain that their phone becomes unresponsive, lags and stuff, yep, too many apps), you seem to be in that category.
Other people don't understand how things work but they are willy to learn and they may be interested by this mod because they will learn something in the process. It's for them that I took the time to make the zips, register on XDA, write the OP and upload the files, and that I offered to try to make it work on 7.1.
That said today I added the assist key in the nav bar, but since nobody seems to be interested I won't waste time to upload the new apps here.
Farewell guys!!!!
take it easy man !
I like to know how things work, I understand what I'm doing and I'm not complaining about anything !
My Nexus 6 runs like a charm.
I wasn't saying that your post isn't interesting but just giving the information that there's a simplest way to personalise nav bar that works with stock 7.1.1 firmware.
?
PakDe888 said:
....
That said today I added the assist key in the nav bar, but since nobody seems to be interested I won't waste time to upload the new apps here.
Farewell guys!!!!
Click to expand...
Click to collapse
Hope I'm not to late. I'd like to know could you post or pm it to me. I haven't had the time to play around with this type of stuff but hopefully I can this weekend and this sounds like a good mod to start with. Thanks op!

[ Solved ]Bluetooth share stop on CATS60 rooted

Hi guys,
My device is cat s60 ,Its on Android 6.0, last week I trying to root this device with magisk very easy and fast , everything is good ,as always Im going to installed root apps and play with aps, I install automate and download some scrips , finally I want to wrote my own script and it's about location and airplane mode , after some on and off airplane mode my Bluetooth share stop working and story was began ,my Bluetooth doesn't work yet and it's stop working , here list of works I do for fixing but no chance:
* Clear data and cache of Bluetooth
*Going to data/misc/bluedroid/ no file is here !!!! Like bt_config.xlm and ...
*Installed some apps that fix Bluetooth but no chance ,
any one have the same issue that can help me ,
I can't clear cache and wipe data ,Im trying to find some ways to fix this.
Thanks ,sry for my bad English
so after some searches i figure out my bt_config.conf , witch located in data/misc/bluedroid/ is gone , so i start to install from beginning my stock rom and then go to root files and see my config , thats the config of bt_config.conf i think when somebody have this problem can find his btMAC address on adb
adb shell settings get secure bluetooth_address
Click to expand...
Click to collapse
and then edit this file and Bluetooth error should gone .
[Adapter]
Address = your mac address
LE_LOCAL_KEY_IRK = 08a24df17b24b171021247948e3e2980
LE_LOCAL_KEY_IR = df2ca4f10c634bfa312ace86ec588864
LE_LOCAL_KEY_DHK = d234027d21a40e96302b60a1114be78a
LE_LOCAL_KEY_ER = 05502a73411b9d652e16fa6d189b1b9d
ScanMode = 1
DiscoveryTimeout = 120
[AutoPairBlacklist]
AddressBlacklist = 00:02:C7,00:16:FE,00:19:C1,00:1B:FB,00:1E:3D,00:21:4F,00:23:06,00:24:33,00:A0:79,00:0E:6D,00:13:E0,00:21:E8,00:60:57,00:0E:9F,00:12:1C,00:18:91,00:18:96,00:13:04,00:16:FD,00:22:A0,00:0B:4C,00:60:6F,00:23:3D,00:C0:59,00:0A:30,00:1E:AE,00:1C7,00:80:F0,00:12:8A,00:09:93,00:80:37,00:26:7E,00:26:e8
ExactNameBlacklist = Motorola IHF1000,i.TechBlueBAND,X5 Stereo v1.3,KML_CAN
FixedPinZerosKeyboardBlacklist = 00:0F:F6
PartialNameBlacklist = BMW,Audi,Parrot,Car
Click to expand...
Click to collapse

Categories

Resources