yashsingh1/xdaforums huggingface dataset:
[HTC Pico (Explorer)] Apex-Predator:
Then wat else left ...

He must have tried

But plz may I try again if it works then boom..........
[HTC Pico (Explorer)] BleedingIris:
If He could, He would have done it

cm9 htc a310e
[HTC Pico (Explorer)] Apex-Predator:
Ya I was telling that

If he by mistakly forgot some thing ...

.that would had caused Bluetooth to fail

---------- Post added at 09:20 AM ---------- Previous post was at 09:10 AM ----------

Can anyone tell me which devices supports broadcom bt chipset

It will make the work easier!!!
[HTC Pico (Explorer)] nithish_cbe:
HTC sensation, HTC Desire v
[HTC Pico (Explorer)] Apex-Predator:
Thanx I have started working on it

Porting from from sensation .......

Maybe I come up with a good news .......
[HTC Pico (Explorer)] Apex-Predator:
Now here is news

I ported sense 4 rom from HTC desire hd and guess wat it booted but everything went very wrong !!!!

U donno wat really derefas did to make his Rom work ...

Anyways ill try to fix bt in this Rom only !!!
[HTC Pico (Explorer)] deepsagarj:
Desire hd is an hdpi device so everything will surely go wrong. siddharth1102 and his friend ported sense 4.1 from it and had to do a lot of resizing and stuff to make it work but still its nowhere near useable

derefas ported this from desire c which is an mdpi device like ours so he didn't have all that problem
[HTC Pico (Explorer)] Apex-Predator:
Sorry guys nothin can be done ....

Wen op comes online I may ask for his help .....

We got such a good Rom and no DEV is gonna take a little look at it

Like kernel 3 if all DEVS come here together we surely gonna rock......

Again really sorry ......
[HTC Pico (Explorer)] Deathlike:
I have also been trying to fix bluetooth. No luck so far. I did try what cute_prince said, I "baksmalled" framework.jar and services.jar, messed with bluetooth smali files and all I get is a bootloop...

E/dalvikvm( 745): ERROR: couldn't find native method

E/dalvikvm( 745): Requested: Landroid/bluetooth/BluetoothSocket;setAmpPolicyNative: (I)V

E/JNIHelp ( 745): RegisterNatives failed for 'android/bluetooth/BluetoothSocket', aborting

F/libc ( 745): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
[HTC Pico (Explorer)] gnustomp:
It's not going to work how you're doing it. You need to decompile framework to be able to fix.
[HTC Pico (Explorer)] Araib93:
I don't know much about porting roms but can't you just use the bluetooth drivers from another ICS rom out there ? There is this Sense 4.1 or 2 rom which is having trouble in optimizing image but I think it's bluetooth works fine. Can't you use that ? Its just a thought :P
[HTC Pico (Explorer)] Apex-Predator:
I will try that soon

Let's give it a shot. !!!!!!!
[HTC Pico (Explorer)] gnustomp:
No, no, no, it's not a driver problem, or derefas would have fixed long, long ago. The problem is in the framework. You have to baksmali the .jar's relating to bluetooth and change stuff to make it work, the smali it.

It's not that easy.
[HTC Pico (Explorer)] Araib93:
Yeah ! :) Waiting for it to work ;) Best of luck :D

---------- Post added at 02:24 PM ---------- Previous post was at 02:17 PM ----------

You can be right but there are working roms so instead of rebuilding whats already working why not compare and look where the fault is ? Won't that solve the problem faster ? You can also check the framework. I know its not as easy as it sounds but lets give it a shot.
[HTC Pico (Explorer)] nachiketa.ramesh:
Try backsmaling. Then compare all Bluetooth related .smali files using winmerge.

---------- Post added at 02:33 PM ---------- Previous post was at 02:31 PM ----------

Remember to use notepad ++ for opening the .smali files before copying the text to winmerge
[HTC Pico (Explorer)] Apex-Predator:
wat if I take desire hd framework and look it for bluetooth settings

And follow same in our sense 4 framework.... .:o:o:o
[HTC Pico (Explorer)] Araib93:
That sounds like a plan :p
[HTC Pico (Explorer)] nithish_cbe:
Hai

anyone check the com.HTC.android.Bluetooth.jar for bt fix :mad:
[HTC Pico (Explorer)] nachiketa.ramesh:
That should work since we have the same chip
[HTC Pico (Explorer)] Apex-Predator:
Means
[HTC Pico (Explorer)] nachiketa.ramesh:
But I would first smal the framework.jar and compare Bluetooth files anyway cuz there might be differences in sense 4 and 4.0a. But replacing all Bluetooth related .smali files should work
[HTC Pico (Explorer)] Apex-Predator:
I can't something going wrong

I can't baksmali...

Java gives error
[HTC Pico (Explorer)] nachiketa.ramesh:
What tool are you using? Miui has one on their dev webpage which solves all problems but you have to use original to smal
[HTC Pico (Explorer)] Deathlike:
I already did that. It boot loops... I replaced all bluetooth smali files in framework.jar and also replaced this smali file in services.jar: BrcmBtServiceLoader.smali. I also placed an entire broadcom folder with smali files in com.htc.android.bluetooth.jar (our rom didn't have this broadcom folder).

If I only replace the smali file on the services.jar, the phone boots fine but it doesn't turn on the bluetooth, it says invalid argument. If I replace all the bluetooth smali files in the framework.jar it bootloops with this:

E/dalvikvm( 745): ERROR: couldn't find native method

E/dalvikvm( 745): Requested: Landroid/bluetooth/BluetoothSocket;setAmpPolicyNative: (I)V

E/JNIHelp ( 745): RegisterNatives failed for 'android/bluetooth/BluetoothSocket', aborting

F/libc ( 745): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

I looked around and there's this BluetoothSocket$AmpPolicyHelper.smali in our rom, whereas in Desire HD and HTC Sensation there isn't. The problem is that even if I delete it I still get that error above...
[HTC Pico (Explorer)] nachiketa.ramesh:
Does the desire c have that file
[HTC Pico (Explorer)] Hpsgill:
Guys here is services and framework.jar of vipers rom of sensation

http://billionuploads.com/n0qspn1nayuw

We need to replace bt smali from this to our sense 4 service and framework
[HTC Pico (Explorer)] Deathlike:
I downloaded Desire C' rom and yes it has that file...
[HTC Pico (Explorer)] nachiketa.ramesh:
What you have to do is open the files with notepad ++ and copy the text with winmerge. ONLY replace what you think is crucial to the desire C from our stock and copy back
[HTC Pico (Explorer)] Deathlike:
Are the smali files signed?
[HTC Pico (Explorer)] nachiketa.ramesh:
No jar file is signed. Only apks are

---------- Post added at 10:11 PM ---------- Previous post was at 10:09 PM ----------

Smali files are plain text. Someone correct me if I'm going wrong.
[HTC Pico (Explorer)] Deathlike:
Our rom also misses this BrcmBluetoothServices.apk. Both desire hd and sensation sense roms have it. I don't know if we need it or not.

Desire C doesn't have the apk aswell.
[HTC Pico (Explorer)] nachiketa.ramesh:
Add it in one but not in another.
[HTC Pico (Explorer)] Apex-Predator:
I need many time to do

Coz I need to fix java error first

Plz anyone can try..

Download htc desire V

Stock ruu and do smali thing

It will surely help....
[HTC Pico (Explorer)] Deathlike:
Are you sure Desire V uses a broadcom chip? I think it uses a TI one.
[HTC Pico (Explorer)] nachiketa.ramesh:
So desire v has same broadcom chip? It's worth a shot.

---------- Post added at 10:20 PM ---------- Previous post was at 10:18 PM ----------

@kunal_tatya

I feel for you bro. I really do. Java and Smali.jar are crappy pieces of poop that work on some PCs but not on others for no particular reason
[HTC Pico (Explorer)] Apex-Predator:
So guys check it ( if m wrong )

I think u guys try from desire hd
[HTC Pico (Explorer)] nachiketa.ramesh:
The desire v has a Bluetooth 4 ti chip as far as I know. It won't work
[HTC Pico (Explorer)] Apex-Predator:
K then do it from desire HD
[HTC Pico (Explorer)] Hpsgill:
Hey bro sensation uses broadcom chip

I also uploaded sensation service.jar and framework few pages back!!
[HTC Pico (Explorer)] Apex-Predator:
K thanx for helping

---------- Post added at 11:17 PM ---------- Previous post was at 11:13 PM ----------

Can anyone bring any one of DEV to this thread
[HTC Pico (Explorer)] subh98:
Derefas not going to come. He, Sakindia and cute Prince fried their nand storage and bricked their phones. Even flashing ruu didn't work. They have to go to service centre perhaps
[HTC Pico (Explorer)] DanceOff:
Hey kunaal I'm back my ban lift, you can now PM me the stuff no need to whatsapp

People Kunal and me are working to fix Bluetooth if you want to help us please do! Join us

---------- Post added at 11:43 PM ---------- Previous post was at 11:41 PM ----------

Let me try will report if works!

Ps-

Results tomorrow evening
[HTC Pico (Explorer)] Araib93:
Really excited :D:D:D:D:D Hope you guys fix it cause I am really sick of trying roms that have bugs :p This rom might be... THE ONE :D:D:D
[HTC Pico (Explorer)] Apex-Predator:
Wooa here comes a DEV

""Dance off""

Come people join us and let's take a oath for making bluetooth work in this rom....
[HTC Pico (Explorer)] DanceOff:
We'll try out best

---------- Post added at 11:50 PM ---------- Previous post was at 11:49 PM ----------

And usb too...:)
[HTC Pico (Explorer)] Apex-Predator:
Usb fixed !!!!

only bluetooth left

Kernel 3 fixed usb issue

Unfortunately didn't fixed bluetooth..

---------- Post added at 11:56 PM ---------- Previous post was at 11:55 PM ----------

Can anyone get a framework.jar from sensation or desire Hd...

This might help really a lot....
[HTC Pico (Explorer)] DanceOff:
Does HTC sensation has same Bluetooth too?
[HTC Pico (Explorer)] Deathlike:
If I'm not mistaken HTC Explorer's bluetooth chip is BCM4330, HTC Sensation is BCM4329.
[HTC Pico (Explorer)] Apex-Predator:
So only option left is desire HD
[HTC Pico (Explorer)] derefas:
It's not big diff between 4329 and 4330, u can use 4329 framework
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Ohh kk ill try it as soon as I get time...

---------- Post added at 12:38 AM ---------- Previous post was at 12:34 AM ----------

Derefas only framework-res needs to be modified or all file related to bluetooth..... ?????

---------- Post added at 12:47 AM ---------- Previous post was at 12:38 AM ----------

Hey can some post a bluetooth LOGCAT .

It will help us to understand more

Might jus solve the problem :o:o:o:o
[HTC Pico (Explorer)] Deathlike:
And after messing a little more I still get this...

D/BluetoothEventLoop( 1166): Starting Event Loop thread

E/BluetoothEventLoop.cpp( 1166): register_agent: Can't register agent!

E/BluetoothEventLoop.cpp( 1166): register_agent: D-Bus error: org.bluez.Error.InvalidArguments (Invalid arguments in method call)

E/BluetoothEventLoop.cpp( 1166): failure setting up Event Loop!
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

You with us?

Can you give me sensation Rom required stuff I can't download whole Rom :D at slow speed
[HTC Pico (Explorer)] Deathlike:
Here are the jars from the sensation rom. I also included BrcmBluetoothServices.apk. I don't know if it's needed or not but our rom doesn't have it, while both the sensation and desire hd do.

I either get the bootloop I described before (if I replace all the bluetooth smali files), or if I replace every smali except bluetooth socket related it boots but I get that error, invalid argument. I think there's more to it than just simply replace these files...
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

****ing java

Its not gonna let me do baksmali...

Plz anyone take out framework.jar from both roms

Then open that with winrar

Pull out classes.dex file from both framework-framework.jar

Baksmali it and post the classes.dexfolder here.....
[HTC Pico (Explorer)] racerronny:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

I can do all the things except that backsmali ****

So should i upload it?
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Baksmali is the main game stage! !!

U upload other things
[HTC Pico (Explorer)] racerronny:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

I hav only pico's rom

Havent downloaded the other rom
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Then wait do nothin. !!

Ill com up with something.. ..

Anyone plz provide baksmali of classes.dex
[HTC Pico (Explorer)] nithish_cbe:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Smali me

the best and easy app for decompile the classes.dex file here the link

http://www.wrapcode.com/android/baksmali-smali-dex-files/
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Ill give it a try! !!!!!
[HTC Pico (Explorer)] nithish_cbe:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Hai anybody check the USB tethering its working on ubuntu 12.10 but in Windows is not working for me
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Hey its not gonna work the baksmali tool

Again java giving errors.....

I really cannot baksmali

@dance off u try it and plz upload that classes.dex folder from both the roms and give me the link.........
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Explain step wise what do you want! My pc doesn't show java not recognized as external or internal command so I can do it!
[HTC Pico (Explorer)] nithish_cbe:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Hai wait iam in my office I went my home and upload the explorer and sensation smali's :thumbup:
[HTC Pico (Explorer)] gnustomp:
You're doing it wrong.
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Waiting :rolleyes:
[HTC Pico (Explorer)] mmtrt:
guys here I patched jar files. add apk to \sd-ext\app_s and three jar files to rom from this post.

hope if bt is fix or not and don't forget to post log.
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Nah doesn't work either
[HTC Pico (Explorer)] Apex-Predator:
steps

hey look download this

link download this

unpack

there will be two folders two different frameworks

open both

take out framework.jar from both folders ( framework folder of both devices )

decompile and take out classes.dex

baksmali the classes.dex and upload it here ...

further information after studying the classes.dex of both the framework

---------- Post added at 06:15 PM ---------- Previous post was at 06:13 PM ----------

then post the correct procedure....:cyclops::cyclops::cyclops::cyclops::cyclops:
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

What do youchave in the zip maybe I already have it?
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

The zip consists of desire hd framework and xplorer framework-framework folders....
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Oh thanks :D

Wait I have to download this then java then apkmanager then baksmali disassembler then add PATH variable to my pc and set-up everything :p

Makes too much to download on 60 kbps :( overnight :rolleyes:
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

K do as fast as u can....

After Downloading dont delete both the framework folders

They will be in need afterward
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Damn my nets so slow after I finished ma 15 GB -_-

Hey someone already posted baksmali 'ed classes.dex shouldnt we work on it and same guy again helps us for compiling? It will take me long to download :confused:
[HTC Pico (Explorer)] Hpsgill:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Why htc desire???

Y don't u use sensation jars

As derefas said!
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Ok give me! I also want sensation but he said desire has same chip but since derefas said I am more interested in sensation jars
[HTC Pico (Explorer)] Hpsgill:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Already did
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Oh thanks now I remember you already gave it :rolleyes:

Thanks :D

Will fix it tomorrow
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Kkk so is there any good progress

My java ****ed up
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Did you add path variable in your pc As I told ya?
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

I downloaded latest java and installed

I can decompile but can't baksmali...
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Ok

Go to my computer properties click advanced settings click the bottom most button at right side stating some environment variable then click add type "PATH" in its title and give directly c:/program files... /Java/bin

Then try again to baksmali
[HTC Pico (Explorer)] Deathlike:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

As I said before I doubt we`ll fix it just by replacing the bluetooth smali files. If I replace every smali from sensation`s ROM I get that bootloop regarding amppolicy. Something else in the ROM/kernel is calling that function, right?
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Did u try with kernel 3 or old kernel

And one thing

We r forgetting the services.jar
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Maybe we need to mod the something in kernel source then :confused:
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Kernel bluetooth want cause any problem dance off

We forgetting services.jar
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

That's what I think because according to cats Bluetooth stops at final stage coz it's unsupported by the service framework but I'm not sure of anything until I do it try by my own tomorrow when everything is downloaded
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

K

But I doubt something in the framework is going wrong

I need to study classes.dex until I baksmali I can't tell surely wats goin wrong! !!!

Will try to fix ****ing java first or gonna format my pc
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Did you try what I told you again third time :rolleyes:
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Their should be minor thing stoping the bluetooth to turn on.... .

I ll first try on kernel 2.xx.xx then will experiment will kernel 3
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Work with kernel 2.6 as we don't know in kernel 3 it may be both kernel + Rom problem making it confusing for us as or kernel 3 for sense 4 Bluetooth in kernel part is unverified
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Kk ill work with default kernel! !!!

If my java fixed ill surely come up with good news guys..... :p:p:p
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Follow what I told you
[HTC Pico (Explorer)] Deathlike:
I tried with both kernels, the errors are the same...

If you take a look in the smali files from our rom, inside the framework.jar android/bluetooth you can find this file: BluetoothSocket$AmpPolicyHelper.smali. There's also one called: BluetoothSocket.smali. Now if you open the BluetoothSocket.smali with notepad you can see this:

# annotations

.annotation system Ldalvik/annotation/MemberClasses;

value = {

Landroid/bluetooth/BluetoothSocket$AmpPolicyHelper;,

Landroid/bluetooth/BluetoothSocket$SdpHelper;,

Landroid/bluetooth/BluetoothSocket$SocketState;

And there are a couple more lines refering to the AmpPolicyHelper. If you take a look in the frameworks from both the Desire HD and Sensation, none of them have the BluetoothSocket$AmpPolicyHelper.smali. Also, inside the BluetoothSocket.smali we can see this:

# annotations

.annotation system Ldalvik/annotation/MemberClasses;

value = {

Landroid/bluetooth/BluetoothSocket$SdpHelper;,

Landroid/bluetooth/BluetoothSocket$SocketState;

So if we replace every smali from sensation or desire hd with our smali files, even though I can see nothing "calling" AmpPolicyHelper, it boot loops saying this in the logcat:

E/dalvikvm( 745): ERROR: couldn't find native method

E/dalvikvm( 745): Requested: Landroid/bluetooth/BluetoothSocket;setAmpPolicyNative: (I)V

E/JNIHelp ( 745): RegisterNatives failed for 'android/bluetooth/BluetoothSocket', aborting

F/libc ( 745): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)

Now, if there's no reference to the amppolicy anywhere in the new framework already compiled with the smali files from the desire hd/sensation framework, there is something elsewhere calling that function (if it is indeed a function).
[HTC Pico (Explorer)] mmk.dr:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

If that is the case, wouldn't it be something in the kernel that's calling in the function?

​
[HTC Pico (Explorer)] nithish_cbe:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

hai herer the baksmali files sensation and explorer

http://db.tt/B0WAC3un
[HTC Pico (Explorer)] Hpsgill:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

I think we need to copy bt services method from bt main smali and replace with our one

Or maybe I was wrong

Kernal side bt is OK as derefas said

Anyone please post log of bt

When turning it on

Edit: tried sensation jar and some smali

Rom boots but got error on bt

I think something was wrong in bmkblabla.ko( moudle)
[HTC Pico (Explorer)] Apex-Predator:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

@deathlike did u find anything different in services.jar

Means like the lines referring to bluetooth is missing or changed ...

If yes try replacing and add missing lines......

That would help
[HTC Pico (Explorer)] AmalD:
try copyng the module file of bt and other bt related lib files and the files in etc folder from sensation to this port !

also try replacng the jar file instead of playing with smaliis .....

am sure that wont fix :P

u can send pms to the members who hve ported sense roms for other device ( check in other forms like wildfire , desire series , ......... )

ask for help , they can guide u ;)
[HTC Pico (Explorer)] DanceOff:
Re: [DEV][WIP][PORT][ROM][ICS][4.0.3][IML74K] HTC Sense 4.0A Build #2 {10/11/2012}

Yeah try to put that module from sensation Rom

Also give that module to me also :rolleyes: