[Q] Touchscreen drivers location? - Galaxy S 4 Q&A, Help & Troubleshooting

Hey guys,
Im trying to port a I9505 rom to my I9515 but one of the main problems is that the touchscreen doesn't work when you flash I9505 roms on the I9515. So I went looking for the touchscreen drivers in a stock rom but I just can't find them. So do you guys have any idea where the touchscreen drivers are located?
Thanks.

Not 100% but I think I they are in the kernel...broodplank created a high sensitivity touch app (glove mode)...he could help

Thanks for your reply!
I extracted the boot.img using kitchen and there is one folder containing some other folders and files wich I searched but I found nothing and theres the zImage. Could it be possible that the zImage contains the drivers?
According to a page I found with google it should be a file ending with .ko
Do you have any idea where the .ko files are located?
Thanks!

As far as I know, .ko files are modules so they will be in the zimage

DSA said:
As far as I know, .ko files are modules so they will be in the zimage
Click to expand...
Click to collapse
Do you know how to open the zImage? There isn't an option to do it in Kitchen.

There's some threads related to that in the Android/hacking section (or android/software development, I can't remember)

DSA said:
There's some threads related to that in the Android/hacking section (or android/software development, I can't remember)
Click to expand...
Click to collapse
Thanks! Will look for them!

Related

DZO NBH Update 02-02-10

Just noticed there was a new NBH put up today at DZO's Site.
Does anyone know if this has GPS5.0 and the Bluetooth stuff built in?
Electroz said:
Just noticed there was a new NBH put up today at DZO's Site.
Does anyone know if this has GPS5.0 and the Bluetooth stuff built in?
Click to expand...
Click to collapse
yes and yes
which file would i use with no rootfs to work with the new installer?
the ones that do not include the word rootfs in the file name; these have the new installer. choose the resolution you want.
nm - answered
PaceyWhitter said:
I would assume that the vogueimg-rootfs files are meant for vilords new no rootfs boot, correct?
Click to expand...
Click to collapse
incorrect. the ones that have rootfs in the name are meant to be used with the old rootfs. this was mentioned by dzo when he posted the second set of files. a quick way to find these things out is to find all post listed by a specific person - i.e. click on dzo's name and click find all posts; you'll know what he's been up to if he has documented it on the forum.
Nice seems to be working great far.
Electroz said:
Just noticed there was a new NBH put up today at DZO's Site.
Does anyone know if this has GPS5.0 and the Bluetooth stuff built in?
Click to expand...
Click to collapse
tatnai said:
yes and yes
Click to expand...
Click to collapse
i have to take this back. bluetooth works fine for me, however some GPS functions do not seem to work properly with the new files from dzo (navigation does not seem to get accuracy or direction anymore)

[Q] How update kernel

Hey everybody,
I'm cooking a WM6.5.x ROM for HTC Touch Pro / Fuze / Raphael (you call it how you like it). I'm using WM build 23699. Everything is fine, that's no problem But I have a question related to the kernel. I have not updated the kernel, so I only have slot 0 and 1. But are there much advances on updating my kernel to the 'native' one? And where can I find it? And how should I do it?
Thanks in advance!
MadMatt
The advantage to have a native 6.5 Kernel is that you will have a more smooth rom because you will not need to recmode any module thrn the standard for having a booting rom (Ntconfig.dll).
I dont know if it does exist for your phone but you must search for it in its thread,you need to search for Nk.exe.Once you will find it just replace it with the old one in OEMXIPKernel.
af974 said:
The advantage to have a native 6.5 Kernel is that you will have a more smooth rom because you will not need to recmode any module thrn the standard for having a booting rom (Ntconfig.dll).
I dont know if it does exist for your phone but you must search for it in its thread,you need to search for Nk.exe.Once you will find it just replace it with the old one in OEMXIPKernel.
Click to expand...
Click to collapse
The NK.exe is the only thing you need? And is it possible that it is the same as the one from the HTC Diamond? (as the only difference between those two is the keyboard)
Yes ,only nk.exe you need and i doubt that Nk.exe from another device should works.
_Madmatt said:
The NK.exe is the only thing you need? And is it possible that it is the same as the one from the HTC Diamond? (as the only difference between those two is the keyboard)
Click to expand...
Click to collapse
af974 said:
Yes ,only nk.exe you need and i doubt that Nk.exe from another device should works.
Click to expand...
Click to collapse
Okay, I'll search for the NK.exe. And OsKitchen will automatically detect that it is a newer kernel than?
If you will replace the old kernel then OsKitchen will does all the process automatically.
_Madmatt said:
Okay, I'll search for the NK.exe. And OsKitchen will automatically detect that it is a newer kernel than?
Click to expand...
Click to collapse
Good lord, update the kernel!!! There's one posted in the native kernel thread.
Here's the one I've been using. I think it's the latest. Just swap it into your xip folder and you'll be good to go. And quit recmodding!!!
Farmer Ted said:
Good lord, update the kernel!!! There's one posted in the native kernel thread.
Here's the one I've been using. I think it's the latest. Just swap it into your xip folder and you'll be good to go. And quit recmodding!!!
Click to expand...
Click to collapse
Thanks, will I need to update OEMDrivers too? Because I read that sometimes that is needed too And will I be able to un-RecMod everything after updating the kernel?
Look for one of Da_G's kitchens (23016 was the last full one). It has the oem. But the drivers are all the same. I use drivers from the Orange/20779 final raphael rom. Convert all the drivers to modules.
Farmer Ted said:
Look for one of Da_G's kitchens (23016 was the last full one). It has the oem. But the drivers are all the same. I use drivers from the Orange/20779 final raphael rom. Convert all the drivers to modules.
Click to expand...
Click to collapse
Didn't understand what you are saying here So I need all the OEM packages execpt the OEMDrivers? The OEM packages I have right now are those from the RUU_Raphael_HTC_WWE_5.05.405.1_R_Radio_Signed_Raphael_52.58.25.30_1.11.25.01_Ship.exe
Are that good ones too? Convert all drivers to modules? What do you mean by this? Convert the OEMDrivers in the OEM tab to EXT packages? (Using osKitchen)
Sorry, all you need is the 20779 or 20771 oem. But if you don't want to dump it yourself, get Da_G's kitchen, which is cleaned up a bit. The drivers aren't 6.5-specific. You should convert them all to modules, though.
Farmer Ted said:
Sorry, all you need is the 20779 or 20771 oem. But if you don't want to dump it yourself, get Da_G's kitchen, which is cleaned up a bit. The drivers aren't 6.5-specific. You should convert them all to modules, though.
Click to expand...
Click to collapse
Allright, if the drivers aren't 6.5 specific, then I can just convert my drivers I have now to EXT-packages?
_Madmatt said:
Allright, if the drivers aren't 6.5 specific, then I can just convert my drivers I have now to EXT-packages?
Click to expand...
Click to collapse
Why convert them to EXT's? Just leave them in your OEM Drivers folder. And convert them to modules.
Farmer Ted said:
Why convert them to EXT's? Just leave them in your OEM Drivers folder. And convert them to modules.
Click to expand...
Click to collapse
Okay. and how do I do that in osKitchen? This is my first kernel update
I don't use that kitchen, but if it doesn't have module creation built-in, get reversemod.exe and manually do the conversion by dragging and dropping the files onto the exe. You should do all the oem driver dll's (they get loaded at startup, anyway, and this will save some virtual memory).

[Q] How-TO enable adhoc wifi for MDJ FroYo Sense Clean v. 2.4

Hello All.
i've asked in this thread http://forum.xda-developers.com/showthread.php?t=780525
but no body answered.
how can i add support for adhoc wifi in this rom?
thanks
ataomega said:
Hello All.
i've asked in this thread http://forum.xda-developers.com/showthread.php?t=780525
but no body answered.
how can i add support for adhoc wifi in this rom?
thanks
Click to expand...
Click to collapse
I think you can use the patch of wpa_supplicant file from my build.. check out Jaws-MIUI-rc1 build..
use HD2ONE Build
or just replace the file as mentioned above.
I asked also on how to enable Ad-Hoc on my sense (when i was using it), but none of the methods worked for me (supplicant, .so modules, ecc). At the end i used the Connectify program on Windows 7 and this worked.
(Connectify is a Windows 7 software, that if you have a compatible wifi module, it will make it work as an AP instead of adhoc, and HD2 connects with no patches as it sees it as normal wifi and not adhoc)
very interesting post!!! I was looking for something like that but running MCCMjoon's Desire HD V2 and or V3.4. What files or what combination will work? Do not really want to flash to any other ROM at the moment
Thanks guys.
tnx
thanks for all replies.
so which patch i should use?
patch
lesjaw said:
I think you can use the patch of wpa_supplicant file from my build.. check out Jaws-MIUI-rc1 build..
Click to expand...
Click to collapse
could you please attach that file?
tnx a lot
This is the one that comes with HD2ONE 0.3.4
system\etc\wifi\
do NOT forget to save a copy from the original file..!
Hope this will solve ur problem ..
__
btw , connectivity is a great alternative in case u don't want to replace files ..
tnx
mo0ody said:
This is the one that comes with HD2ONE 0.3.4
system\etc\wifi\
do NOT forget to save a copy from the original file..!
Hope this will solve ur problem ..
__
btw , connectivity is a great alternative in case u don't want to replace files ..
Click to expand...
Click to collapse
tnx. i will try and tell here
Thread moved to Q&A Forum.
Mark.
ataomega said:
tnx. i will try and tell here
Click to expand...
Click to collapse
Does it work?
Nevermind, I just switch to Darkstone RAM version and it works.
Thanks
mcbyte_it said:
I asked also on how to enable Ad-Hoc on my sense (when i was using it), but none of the methods worked for me (supplicant, .so modules, ecc). At the end i used the Connectify program on Windows 7 and this worked.
(Connectify is a Windows 7 software, that if you have a compatible wifi module, it will make it work as an AP instead of adhoc, and HD2 connects with no patches as it sees it as normal wifi and not adhoc)
Click to expand...
Click to collapse
really? then how is it that whenever i find connectify's network it says "nameofnetwork (AD-HOC)"?
Itried to replace the file wpa_supplicant, but accidently i deleted the file from system/etc/wifi , i have a backup one but i cant copy it to the directory, i´m using astro file manager, when i try to put the file into that directory it gives an error.. some help would be nice, thanks..
Somebody, please please give me download link for this build! I tried to navigate to the corresponding thread, but due to some problem couldn't read! Please, give me the link. I just love this build!
yugoport said:
Itried to replace the file wpa_supplicant, but accidently i deleted the file from system/etc/wifi , i have a backup one but i cant copy it to the directory, i´m using astro file manager, when i try to put the file into that directory it gives an error.. some help would be nice, thanks..
Click to expand...
Click to collapse
Of course, Astro has no permissions to write in system folders! You need to use Root Explorer! I know it's paid, no warez here. PM me for further assistance.

[GUIDE] How to port ROMS

I know that there are actually LOTS of "How to port ROMS" in this forum now.. but I would like to share a certain source I found that is actually fool proof
Here it goes!
find a ROM that is designed for the same CPU type and the same phone manufacturer. Any stock Gingerbread, ICS, or CyanogenMod 7/9 ROM should work, but you’ll have to make sure your phone can handle the ROM – no ICS for an HTC Hero, for example. Also, your Port ROM's original Phone should have the same RESOLUTION with that of your phone's.
You will need:
**Notepad++
**a compression program (WinZip or 7zip and etc)
**the ROM you want to port to your phone (let’s call it the "Port ROM")
**a ROM designed for your phone (let’s call it"Base ROM")
Click to expand...
Click to collapse
This guide may mention some files or directories that aren’t present in your particular ROM; don’t worry, just carry on.
On your PC, extract the .ZIP files containing the two ROMs, and navigate to /system/app in your extracted Port ROM and copy stk.apk, vpnservices.apk, camera.apk, and bluetooth.apk into a temporary directory somewhere else on your PC.
Click to expand...
Click to collapse
Now, delete the following folders from your Port ROM and replace them with the ones from your Base ROM: /data, /system/app, /system/framework, /system/fonts and /system/media.
Click to expand...
Click to collapse
From your Base ROM, copy /system/lib/libandroid_runtime.so to the system/lib/ directory of your Port ROM, overwriting the file.
Click to expand...
Click to collapse
Next up, move the .APKs you copied earlier back into the /system/app directory of your Port ROM.
Click to expand...
Click to collapse
Open up /system/lib in your Port ROM and copy all the files and folders. Paste them into the Base’s /system/lib directory, replacing all. Then go back to the Port ROM and delete the /system/lib folder, and replace it with the /system/lib folder from the Base ROM.
Click to expand...
Click to collapse
Next, navigate to the /system/etc/init.d folder in the Port ROM and do the same copy-from-Port, paste-to-Base, delete-from-Port, copy-from-Base, paste-to-Port shuffle as before.
Click to expand...
Click to collapse
Navigate to /system/etc/permissions and do that same copy-paste dance one more time.
Click to expand...
Click to collapse
open system/build.prop from both the port and the base ROM in Notepad++. Update the Base build.prop to match the values for “ro.build.description=” and “ro.build.fingerprint=” from your Port. Now save the Base build.prop, exit Notepad++, and copy the Base build.prop into the Port ROM, overwriting the Port build.prop.
Click to expand...
Click to collapse
In Notepad++, open \META-INF\com\google\android\updater-script from both your base and port ROMs. Edit the Port’s script to be like the Base’s updater-script: specifically, change, edit, or add the sections for permissions, ui_prints, asserts, run_programs, and installing the kernel. Don’t change any of the symlinks. In the Port script, make sure that the ‘format’ values are appropriate for your device (compare them to the Base script).
Click to expand...
Click to collapse
Finally, make sure that your kernel is specifically for your device.
Click to expand...
Click to collapse
Now, if you desire, you can update any apps you require, or add any tools like BusyBox or SuperSU.
And that’s it! Your base ROM is now ready to be zipped and installed on your device via Clockwork Mod!
SOURCE: http://apcmag.com/port-roms-to-your-android-device.htm
ADDITIONAL INFORMATION:
CUSTOM ROM FOLDERS EXPLAINED
List of Resolution for Smartphones
How to change Kernel of ROM Before installation in its zip file.
[GUIDE][How to Make CWM Recovery Flashable Zip file without Computer]
copy - paste, easy made. nice guide, thanks
30adi said:
copy - paste, easy made. nice guide, thanks
Click to expand...
Click to collapse
Yes but i found the source highly confusing i just "cleaned it up"
Sent from my GT-I9300 using xda premium
Very good job, thank you.
ADDED:
[GUIDE][How to Make CWM Recovery Flashable Zip file without Computer]
I port a ROM but I am getting unknown baseband no imei please tell me how to fix
khan_frd2002 said:
I port a ROM but I am getting unknown baseband no imei please tell me how to fix
Click to expand...
Click to collapse
go to build.prop in /system and edit rild.libpath=
rild.libargs=
to match your device and that should fix it
your guide was just copied by a person from One V forums without giving proper credits.
see here: here
1ceb0x said:
your guide was just copied by a person from One V forums without giving proper credits.
see here: here
Click to expand...
Click to collapse
I see.. he should've given proper credits to the website
Sent from my GT-I9300 using xda premium
changing lib path in buildprob
not work
erm hello, can you put the other guides in your OP? some are in your other posts and it would not be easy for others to see..
nice guide and gonna try this when i got time
:good:
kemaro30 said:
erm hello, can you put the other guides in your OP? some are in your other posts and it would not be easy for others to see..
nice guide and gonna try this when i got time
:good:
Click to expand...
Click to collapse
What "other" guides do you mean?
Sent from my GT-I9300 using xda premium
Hello I Wanted to port Cm7 On a New cpu named as - MediaTek 6573 ! it is an armv6 one ... any suggestions from where to start ....etc ?
I will definitely give this a try.
Great guide. Subscribed!!
ChummyDays said:
Okay, question: what is the point of porting a ROM made for a device with the same CPU and same manufacturer?? there is VERY few phones that are made by the same company and the same cpu!
Click to expand...
Click to collapse
Well that is to ensure "safety" when porting a ROM.. the guide i posted was a beginner's guide on how to port.. as you can see, almost 80% of the procedure is just basically copy&paste..
however, if you have a good background now in codes and porting things, i believe you may not follow step-by-step the procedures i stated above.
Sent from my GT-I9300 using xda premium
mandeep1 said:
Hello I Wanted to port Cm7 On a New cpu named as - MediaTek 6573 ! it is an armv6 one ... any suggestions from where to start ....etc ?
Click to expand...
Click to collapse
Search for other phones with similar cpu
Sent from my GT-I9300 using xda premium
What about dual Sim ph?
Does anyone have any idea what would cause a "Modem Crashed Forced Upload Mode" on a port for SGS3?
I can't seem to pinpoint what causes that (I think it's a kernel panic but I could be wrong)
Looks like this would work on International Note 2 and Tmobile Note 2. They have the exact same hardware and everything. I was wondering about the last statement about kernel. Can't I just copy the boot.img from tmobile note 2 to international note 2 ? would that work ? I am not familiar with kernels and stuff. Need advice.
Thanks

[Q] A noobie question about porting?

Dear developers, I'm sorry for the noobie question, but I'm kinda trying to port apps myself, and I'm confused when it comes to which library is an app using (*.so files)....When I decompile an app, I noticed that if it is using a library, in the smiles somewhere in the code there is something like that "LoadLibrary(string***)" but there is no name of the lib written.....how do you figure out which is the lib that its using? And second, where do you get this lib from......because as I looked through some ported apps by You, dear developers, (like SyncHub from Xperia Z3 and Portrait Retouch from Xperia C3), You had included some libs in the apks, but I cant find those libs anywhere in the firmware itself.......So do You create those libs yourself, or....?
VladoBENZ said:
Dear developers, I'm sorry for the noobie question, but I'm kinda trying to port apps myself, and I'm confused when it comes to which library is an app using (*.so files)....When I decompile an app, I noticed that if it is using a library, in the smiles somewhere in the code there is something like that "LoadLibrary(string***)" but there is no name of the lib written.....how do you figure out which is the lib that its using? And second, where do you get this lib from......because as I looked through some ported apps by You, dear developers, (like SyncHub from Xperia Z3 and Portrait Retouch from Xperia C3), You had included some libs in the apks, but I cant find those libs anywhere in the firmware itself.......So do You create those libs yourself, or....?
Click to expand...
Click to collapse
The library files will be in /system/lib/
anagramgenius said:
The library files will be in /system/lib/
Click to expand...
Click to collapse
Well thats the problem, that they are not there....Both the examples, ported SyncHub and Portrait Retouch, has libs in them, that I cant find in system/lib.....and I wonder where the developers got them from
VladoBENZ said:
Well thats the problem, that they are not there....Both the examples, ported SyncHub and Portrait Retouch, has libs in them, that I cant find in system/lib.....and I wonder where the developers got them from
Click to expand...
Click to collapse
Did you really search those lib files in Z3 or C3? Because I found the lib file of SyncHub, i.e. libxt.so in /system/lib/
anagramgenius said:
In what firmware of Z3 you searched for those library files?
Click to expand...
Click to collapse
I checked several firmwares, not just one......if its easier, lets talk for one file in particular......in order SyncHub to work, it obviously needs libxt.so......which a developer included inside his ported apk......so the original apk is absolutely the same, as his, except that there is no libxt.so file in it......so i tried to look for it in all folders of the firmware......and there is no such file......there are libxt_native.so........but its like 1 mb, whereas the file from the ported apk is like 10 mb
VladoBENZ said:
I checked several firmwares, not just one......if its easier, lets talk for one file in particular......in order SyncHub to work, it obviously needs libxt.so......which a developer included inside his ported apk......so the original apk is absolutely the same, as his, except that there is no libxt.so file in it......so i tried to look for it in all folders of the firmware......and there is no such file......there are libxt_native.so........but its like 1 mb, whereas the file from the ported apk is like 10 mb
Click to expand...
Click to collapse
I even found the lib file of textinput-tng.apk i.e. libswiftkeysdk-java.so in /system/lib/
anagramgenius said:
I even found the lib file of textinput-tng.apk i.e. libswiftkeysdk-java.so in /system/lib/
Click to expand...
Click to collapse
Yes, it is there , but all the lib files that are in these ported apps, i cant find....and im wondering if the developers that port apps, are making them themselves
VladoBENZ said:
Yes, it is there , but all the lib files that are in these ported apps, i cant find....and im wondering if the developers that port apps, are making them themselves
Click to expand...
Click to collapse
AFAIK, they don't make the library files. It will be in the firmware itself.

Categories

Resources