[Q] Android SDK Drivers for IS - HTC Incredible S

hello..
anyone knows what should we add to "android_winusb.inf" in order to be seen by a win7 pc? a specific program requires it and all I keep finding is some lines like
Code:
;HTC Incredible
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C9E&MI_01
Find the section [Google.NTamd64]. At the end of that section, add the following lines.
but for the old Incredible..
anyone knows about the IS?
thank you

Code:
;
;HTC Incredible S
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CAC
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0CAC&MI_01
It is quite easy to find out if you use the device manager, pick hardware id and vendor id of the phone and change the numbers and *tada* it works.

Thank you! Worked just find with myphoneexplorer..
Sent from my HTC Incredible S using XDA App

Related

TwoLineListItem with icon

Hello!
I would like to ask you for help. I do not know how to create an custom adapter for TwoLineListItem with icon. I know how to set text using ListArray with HashMap. But how to add image (as @android:id/icon)?
Code:
String[][] ss = new String[][]{
{"string 1", "string 2"}
{"string 3", "string 4"}
{"string 5", "string 6"}};
List<HashMap<String,String>> list = new ArrayList<HashMap<String,String>>();
for(int i=0; i<ss.length;i++) {
HashMap<String,String> item = new HashMap<String,String>();
item.put("text1", ss[i][0]);
item.put("text2", ss[i][1]);
list.add(item);
}
ListAdapter adapter = new SimpleAdapter(this,
list,
R.layout.list_position_layout,
new String[] {"text1","text2"},
new int[] {android.R.id.text1, android.R.id.text2 });
setListAdapter(adapter);
I suppose that solution is very easy... But I do not know how to do it.

how can i rebuild 'libhtcgeneric-ril.so'?

previous i posted about korean sms.. but no response.
So i can find a way rebuild '.so' file. but i couldnt..
i must add this code in libhtcgeneric-ril.so
msg = new String( inData, "KSC5601" );
'----------------------------------------------------------
void decode_cdma_sms(char *pdu, char *from, char *message, int *is_vm,int *msg_len) {
unsigned int i=1;
int code,length;
strcpy(from,"000000"); // in case something fails
strcpy(message,"UNKNOWN");
if (is_vm)
*is_vm = 0;
while(i*2<strlen(pdu)) {
get_code_and_length(pdu+i*2,&code,&length);
if(code==2) // from
decode_number(pdu+i*2+4,length,from);
if(code==8) // bearer_data
// probably code add. msg = new String( inData, "KSC5601" );
decode_bearer_data(pdu+i*2+4,length,message,is_vm,msg_len); i+=length+2;
}
}
please.. help me.
You need to have an Android source tree to rebuild any components. The xdandroid guide would be the quickest:
http://xdandroid.com/wiki/Getting_the_Source
Any rebuilds of the RIL need to be placed in /lib/froyo/ of the rootfs rather than /system/lib where Android puts it.
BTW htcgeneric-ril.so is C, while the line you want to add is Java. Are you sure thats the right place to patch it?
Thanks Tremere.
Tremere said:
You need to have an Android source tree to rebuild any components. The xdandroid guide would be the quickest:
http://xdandroid.com/wiki/Getting_the_Source
Any rebuilds of the RIL need to be placed in /lib/froyo/ of the rootfs rather than /system/lib where Android puts it.
BTW htcgeneric-ril.so is C, while the line you want to add is Java. Are you sure thats the right place to patch it?
Click to expand...
Click to collapse
i am newbie in C and java.
So i can not figure out this code is wrong.
i am sure that postion of code is right.
but just android source is download and make then compile is complete ?
must compile whole android source but only 'libhtcgeneric-ril.so' ?
that's too difficult to me. i am newbie at linux, C .
Sorry i am totally wrong.
thas is too difficult.
mmmmm......
I am give up..

Development team V2

Hello everyone,
I want to start again with a development team. After miroslav decided to finish the project on his own, I want to try it again. But this time with a real team Only with people who want to participate, and not just type make. Who wants to join?
miroslav_mm said:
So, I opened your eyes and showed real face our "superstar"!?
Ok! Let's stop this stupid discussion and continuous develop ROM.
At this moment I have main part:
Torchscreen +
BT (BT-calling) +
WiFi (need to test) +
Sensor +
GSM (Waiting call) +
Mobile Data +
Audio +
Vibrate +
HW + 3D ??? (need new kernel or port new 3D kernel driver (kgsl) (in progress))
usb storage ??? (only with special app (native in progress))
Camera ??? (in progress)
Video codec ??? (in progress)
Anyone doing something? Maybe fix some stuff?
Click to expand...
Click to collapse
He just want to clean his topic. Send him a PM.
I understand that but there is still no team. He just made his project open for patches. And I think, personally, a team could help the speed on development of a ROM So please join
Sent from my GT540 using Tapatalk
So join his team , and start patching?
wwenigma said:
So join his team , and start patching?
Click to expand...
Click to collapse
Since when does he have a team? What I know about it, is that he just made some kind of open-source project where you can add your own updates and where he gets no credit.
Sent from my GT540 using Tapatalk
I can help you with Java stuff!
I think miroslav_mm wants to release ICS under name of SWIFT-TEAM, with developer names in credits.... may you ask him about it?
Do not split guys...
Miroslav said that it's only him on the team...so i don't see any team there..if we are more than 1 guy in a team we can get faster a daily ROM for our Phones
rexes13 said:
Miroslav said that it's only him on the team
Click to expand...
Click to collapse
Jep, because PCF+MGP join then leave and jasper580 cant make neccessary steps... ask him. All two, ask him about it.
wwenigma said:
Jep, because PCF+MGP join then leave and jasper580 cant make neccessary steps... ask him. All two, ask him about it.
Click to expand...
Click to collapse
I can make nesseccary steps if I want, but I don't want to. I want to start cleaned up. That's why I created this topic. So:
If you want to join: welcome.
If you don't want to: stop spamming
@rexes13 Welcome to the team!
Sent from my GT540 using Tapatalk
Good news.
Yesterday I successfully ported 3d kernel driver (kgsl) from 35, so now we have full functionality kernel with OpenGL ES-CM 1.1.
So HW, 3D and other stuff with support OpenGL working, not excellent but working, need improve source code Surfaceflinger and HardwareDisplay.
Maybe next weak I will make new thread and publish first public test version, but all development moments we can discus here.
Before I need redownload all sources CM9 again. Yesterday I had the same error like in wwenigma and aaa801
Code:
target thumb C: libhardware_legacy <= hardware/libhardware_legacy/power/power.c
arm-linux-androideabi-gcc: ": No such file or directory
<command-line>: warning: missing terminating " character
and I dont know WTF, so delete all source tree. Maybe today will try download again and build again.
hell yeah! im just another non-dev member LOL sry
Need help!
Look on code:
Code:
//static int32_t msm_tscal_scaler = 65536;
static int32_t msm_tscal_xscale = 70046;
static int32_t msm_tscal_xoffset = -4191987;
static int32_t msm_tscal_yscale = 71735;
static int32_t msm_tscal_yoffset = -3004437;
this pointers for torch 320*240. So when I using that I need tap on 2mm high on icon for open something. This pointer need for screen calibration. Need find right pointer.
I can't find a logic in this numbers.
miroslav_mm said:
Need help!
Look on code:
Code:
//static int32_t msm_tscal_scaler = 65536;
static int32_t msm_tscal_xscale = 70046;
static int32_t msm_tscal_xoffset = -4191987;
static int32_t msm_tscal_yscale = 71735;
static int32_t msm_tscal_yoffset = -3004437;
this pointers for torch 320*240. So when I using that I need tap on 2mm high on icon for open something. This pointer need for screen calibration. Need find right pointer.
I can't find a logic in this numbers.
Click to expand...
Click to collapse
The offsets appear to have a ~4:3 ratio. It doesn't make sense though why it's x:y=4:3, and not the other way around, since the screen is usually 3:4(e.g. 320x480 or 240x320). Also, considering our screen is 320x480, which is a ratio of 1,5 and not 1,(3), I think those would be totally wrong for our phone. Maybe try to modify one of the two to match 1,5 ratio. E.g. make xoffset=-4506655. I don't know. :/
Please discuss development on your page. I want to make a dev team here
Sent from my GT540 using Tapatalk
deleted
10 character
This numbers working with this java code together:
]
Code:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
// Read current values
final int xoffset = (readValue("xoffset")*240+480)/960;
final int yoffset = (readValue("yoffset")*320+460)/920;
final int xscale = readValue("xscale");
final int yscale = readValue("yscale");
view = new View(this) {
private int step = 1;
private int rawx1;
private int rawy1;
private int rawx2;
private int rawy2;
private void writeValue(String parameter, int value) {
try {
FileOutputStream fos = new FileOutputStream(new File("/sys/module/msm_touch/parameters/tscal_" + parameter));
fos.write(String.valueOf(value).getBytes());
fos.flush();
fos.getFD().sync();
fos.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
@Override
public boolean onTouchEvent(MotionEvent ev) {
if (ev.getAction() != MotionEvent.ACTION_UP)
return true;
if(step==1) {
rawx1 = ((int)ev.getRawX()*65536-xoffset+32768)/xscale;
rawy1 = ((int)ev.getRawY()*65536-yoffset+32768)/yscale;
if(rawx1<100 && rawy1<100)
step = 2;
} else if(step==2) {
rawx2 = ((int)ev.getRawX()*65536-xoffset+32768)/xscale;
rawy2 = ((int)ev.getRawY()*65536-yoffset+32768)/yscale;
if(rawx2>140 && rawy2>220)
step = 3;
} else {
int distx = rawx2 - rawx1;
int new_xscale = (140*65536 + distx/2)/distx;
int disty = rawy2 - rawy1;
int new_yscale = (220*65536 + disty/2)/disty;
int new_xoffset = 1;
new_xoffset += 50*65536-rawx1*new_xscale;
new_xoffset += 190*65536-rawx2*new_xscale;
new_xoffset /= 2;
new_xoffset = (new_xoffset*960+120)/240;
int new_yoffset = 1;
new_yoffset += 50*65536-rawy1*new_yscale;
new_yoffset += 270*65536-rawy2*new_yscale;
new_yoffset /= 2;
new_yoffset = (new_yoffset*920+160)/320;
// Pass new calibration to kernel
writeValue("xoffset", new_xoffset);
writeValue("yoffset", new_yoffset);
writeValue("xscale", new_xscale);
writeValue("yscale", new_yscale);
// Save calibraiton data to /data/system/pointercal
StringBuilder sb = new StringBuilder();
sb.append(new_xscale);
sb.append(" ");
sb.append(0);
sb.append(" ");
sb.append(new_xoffset);
sb.append(" ");
sb.append(0);
sb.append(" ");
sb.append(new_yscale);
sb.append(" ");
sb.append(new_yoffset);
sb.append(" ");
sb.append(65536);
App + ui input framework + kernel working together.
App - creation poinercal
ui input framework - reading pointercal send correct info to kernel
kernel touch driver - doing move.
Öhm, the touchscreen driver use a virtual square (320*320) to detect touch, stretched to a rectangle(320*480)?
mod: about calibration, http://code.google.com/p/openeve/issues/detail?id=91
jasper580 said:
Please discuss development on your page. I want to make a dev team here
Click to expand...
Click to collapse
I cant understand you! What do you mean? Do you wanna make new dev team? Working on my sources but without me?
I exactly want to ask that. Maybe he start from scratch, his github is near empty.

[INPUT NEEDED] !IMEIme IMEI Generator

04/11/13 Updated / Corrected devices.dat file uploaded
I am currently revamping my IMEI Generator program and need user input. To populate device information for build.prop edits I need help in gathering device information.
I have removed the build.fingerprint... it has been shown to have been placebo effect, as I have never altered the fingerprint and have not had market issues.
I do ask to prevent non-confirmed device information and that you provide legitimate information.
The information I need from actual device manufacture's build.props is:
device manufacturer (usually ro.product.manufacturer)
device model (usually ro.product.model)
device (usually ro.product.device)
if you can paste the information from the actual buildprop of devices known working with Google's Play Store, I can get a decent list of devices added to the device list to select a device to immitate for that.
PLEASE... do not provide this information from a device running a custom ROM... since they generally have this information from the ROM and not the manufacturer.
The end goal is to include enough choices from a device list in the new GUI for the IMEI Generator.
Also, before posting a new device... please check the information in post 2 first... I will update that post as I add devices.
To use the devices.zip file attached here:
unzip devices.zip into your IMEI Generator folder, overwriting the devices.dat file that is already there.
Reserved for devices added.
Code:
[Devices]
0 = NookColor Stock
1 = DizzyDen's Settings
2 = Samsung GalaxyS
3 = Samsung GalaxyS3
4 = Samsung Galaxy Tab
5 = Kindle Fire
6 = Ainol Novo
8 = Asus Nexus 7
8 = HTC Evo
9 = Motorola Droid 3
A = Motorola Droid Bionic
B = Motorola Razr
C = Samsung Nexus S
D = Samsung Galaxy Nexus S
E = Samsung Galaxy
F = Samsung GT for GL
[NookColor Stock]
Device_Manufacturer = BarnesAndNoble
Manufacturer_Device = zoom2
Device_Model = BNRV200
Device_Type = tablet
[DizzyDen's Settings]
Device_Manufacturer = Samsung
Manufacturer_Device = GalaxyS
Device_Model = NC_CM
Device_Type = tablet
[Samsung GalaxyS]
Device_Manufacturer = Samsung
Manufacturer_Device = SCH-I500
Device_Model = SCH-I500
Device_Type = phone
[Samsung GalaxyS3]
Device_Manufacturer = Samsung
Manufacturer_Device = SCH-R530U
Device_Model = SCH-R530U
Device_Type = Phone
[Samsung Galaxy Tab]
Device_Manufacturer = Samsung
Manufacturer_Device = SPH-P100
Device_Model = SPH-P100
Device_Type = tablet
[Kindle Fire]
Device_Manufacturer = TI
Manufacturer_Device = Blaze
Device_Model = Full Android on Blaze or SDP
Device_Type = tablet
[Ainol Novo]
Device_Manufacturer = ainol
Manufacturer_Device = npm701
Device_Model = Novo7Basic
Device_Type = tablet
[Samsung GT for GL]
Device_Manufacturer = Samsung
Manufacturer_Device = GT-P1000
Device_Model = GT-P1000
Device_Type = tablet
[Motorola Droid 3]
Device_Manufacturer = motorola
Manufacturer_Device = cdma_solana
Device_Model = DROID3
[Motorola Droid Bionic]
Device_Manufacturer = motorola
Device_Model = = DROID BIONIC
Manufacturer_Device = cdma_targa
[Motorola Razr]
Device_Manufacturer = motorola
Manufacturer_Device = cdma_spyder
Device_Model = DROID RAZR
[Samsung Nexus S]
Device_Manufacturer = samsung
Manufacturer_Device = Nexus S
Device_Model = Nexus S
[Samsung Galaxy Nexus S]
Device_Manufacturer = samsung
Manufacturer_Device = maguro
Device_Model = Galaxy Nexus
[Samsung Galaxy]
Device_Manufacturer = samsung
Device_Model = Galaxy Nexus
Device_Device = toro
[HTC Evo]
Device_Manufacturer = HTC
Manufacturer_Device = shooter
Device_Model = PG86100
[Asus Nexus 7]
Device_Manufacturer = asus
Device_Model = Nexus 7
Manufacturer_Device = grouper
Device_Type = tablet
NOTES:
Custom Settings are the settings I am currently using
Samsung GalaxyS information taken directly from my personal US Cellular GalaxyS phone.
Samsung GalaxyS3 information taken directly from my personal US Cellular GalaxyS phone.
Samsung Galaxy Tab information is a compilation of Gallahad2000's information and what I believe would be stock.
Kindle Fire is a compilation of MaxRabbit's information and CM7's build.fingerprint.
Ainol Novo ICS is taken directly from their update package for their ICS tablet
Samsung GT for GL is based from information from adm1jtg and wiki information... it is intended to improve Gameloft compatability

[HELP] Create a Magisk module to activate 60 fps on Fortnite Mobile

Hey friends, can you help me to create a Magisk module that works to edit scripts named "GameUserSettings.ini" on Fortnite Mobile?
This script is located in this folder:
data / data / com.epicgames.fortnite / files / UE4Game / FortniteGame / FortniteGame / Saved / Config / Android
in the folder there are words that must be changed from : UnlockConsoleFPS = False
bShowGrass = True
MobileFPSMode = Mode_30Fps
bUseVSync = True
To :
UnlockConsoleFPS = True
bShowGrass = False
MobileFPSMode = Mode_60Fps
bUseVSync = False
Please help me
maybe you can edit it with editors such as RootExplorer?
tiinktoonk said:
Hey friends, can you help me to create a Magisk module that works to edit scripts named "GameUserSettings.ini" on Fortnite Mobile?
This script is located in this folder:
data / data / com.epicgames.fortnite / files / UE4Game / FortniteGame / FortniteGame / Saved / Config / Android
in the folder there are words that must be changed from : UnlockConsoleFPS = False
bShowGrass = True
MobileFPSMode = Mode_30Fps
bUseVSync = True
To :
UnlockConsoleFPS = True
bShowGrass = False
MobileFPSMode = Mode_60Fps
bUseVSync = False
Please help me
Click to expand...
Click to collapse
hey i actually did this and saw this thread later but here it is https://forum.xda-developers.com/apps/magisk/module-fortnitetweaks-t4096881

Categories

Resources