yashsingh1/xdaforums huggingface dataset:
[Galaxy Y GT-S5360 General] SpaceCaker:
maybe he didnt copy the smali into his systwmuiproperly.

currently i self have almost no time :/

so i also didnt had the timw to rewrite and restart all the code,

also withhelp i cant do a lot due to time issues.

moststuff is indeed described in logcat and with that info there are ways to google and find it :)
[Galaxy Y GT-S5360 General] pritish sahoo:
thanks sir......

i have did all as u said but its not working :)

Any way public ids was better for me :p

No worries sir currently i m using lidroid toogles.... he he

& must see this sir me & our team made a universal s5 rom inspired by ur team's Touchwiz-Resurection rom :P

http://xdaforums.com/android/development/rom-invincible-s5-returns-sc6820-sc8810-t2907725/
[Galaxy Y GT-S5360 General] ocoot:
[MENTION=3862405]SpaceCaker[/MENTION] hi sir, just one question. how to change 4 grid toggles to 3 grid? trying change

.line 69
const/4 v1, 0x4

iput v1, p0, Lcom/spacey/xperiatabs/toggles/TogglesView;->mWidgetsPerRow:I

to

.line 69
const/4 v1, 0x3

iput v1, p0, Lcom/spacey/xperiatabs/toggles/TogglesView;->mWidgetsPerRow:I

on TogglesView.smali but doesn't work :eek:
[Galaxy Y GT-S5360 General] SpaceCaker:
i have no idea insmali for this sorry :(

i know it in java though

try to find mor data with that 0x4 or mwidgetsperrow

i have not had the time to rebuild the codes

so an update wont come soon sorry

to busy with work

lost all codes now so it will take muvh more time to rebuild all
[Galaxy Y GT-S5360 General] ocoot:
i'm didn't have any experience with java coding :eek: but thankyou for answer my question :fingers-crossed:
[Galaxy Y GT-S5360 General] pritish sahoo:
well what was error u got after changing.......? it gave FC or what? :eek:
[Galaxy Y GT-S5360 General] ocoot:
no errors happened ;)
[Galaxy Y GT-S5360 General] MPKMRS:
hi special thanks in advance who helped me

this mode is working perfectly to me but only problem 3 toggles are not working

1.TROLL

2.REBOOT

3.WEATHER

any one can tell me how to fix those 3 bugs asap / remove these 3 toggles from the panel and one more small issue when i decrease brightness to low its small error like to low and locking screen and then when we wake up the lock its unlocking and same locking again

Required -- add screen timeout toggle it will help us

again am thanking u guys a nice work done
[Galaxy Y GT-S5360 General] SpaceCaker:
you can remove those 3 i think from the arrays.xml

in both settings app as in systemui

ithink

dunno for sure
[Galaxy Y GT-S5360 General] MPKMRS:
K thanks for reply I'll try and inform u back

There is no fix for those
[Galaxy Y GT-S5360 General] MPKMRS:
nned help

one more doubt after making this mod working on my ui one small error occurred in camera that is unable to connect camera

k then i signed my ui and pushed back to device then camera working fine after that i did factory reset of my device again same problem facing how to fix it permanently thanks again:(
[Galaxy Y GT-S5360 General] MPKMRS:
Goodd guide

I hopee xda need too provide more thank buttons

Every thing working perfect speciall thanks to guide maker cause he replyed with in time nd am reamoved sum toogles asas hee said with arrays and ii reamoved conroller tooo ii addedd arrays in myy required order totall creditss goes too guidede maker

:D :angel:
[Galaxy Y GT-S5360 General] MPKMRS:
Thanks its worked now i have with out bugs i removed arrays and arranged toggles from their and same thing did in droid:fingers-crossed::fingers-crossed: settings .apk also ummm thanks buddy :laugh::laugh::laugh:
[Galaxy Y GT-S5360 General] Sad_face:
Thanks to Mr.Spacecaker

It works on my old device but 4 or 5 toggle is not working... I hope you can fix to all device... and 1 more thing in my device shutdown can't straight to the shutdown but go to EPM command if you know what i mean... sorry for my bad english... but Thankyou for this Guide and your project about toggle for all device... I hope in the future you can update this guide...Thanks Mr.SpaceCaker...
[Galaxy Y GT-S5360 General] f120ltn:
Thank you

hi special thanks in advance who helped me

this mode is working perfectly to me but only problem 3 toggles are not working

1.TROLL

2.REBOOT

3.WEATHER (working when install GenieWidget.apk)

but reset then FC
[Galaxy Y GT-S5360 General] xenreon:
Data, vibrate, reboot and clear ram toggles are not working for me
[Galaxy Y GT-S5360 General] agushack:
sir [MENTION=3862405]SpaceCaker[/MENTION] this mod is not show in my device,from where i must open the togle or where i should put this code ??

<com.spacey.xperiatabs.toggles.TogglesView android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" />

in my statusbar_expanded, statusbar_expanded_header or in spomc_toggle_button.xml or spomc_toggle_button_two.xml

sorry bad english :)
[Galaxy Y GT-S5360 General] SpaceCaker:
Statusbar expanded
[Galaxy Y GT-S5360 General] Mrinal Roy:
Great Job! Can you give a material look if possible?
[Galaxy Y GT-S5360 General] xenreon:
What you mean by material design :s
[Galaxy Y GT-S5360 General] Mrinal Roy:
Material design like of lollipop! :)
[Galaxy Y GT-S5360 General] xenreon:
You can bring that by yourself, changing pngs and editing a few xml that's all
[Galaxy Y GT-S5360 General] smart anas king:
.

HI SIR AWESOME GUIDE:laugh:

BUT DATA AND REBOOT TOGGLE NOT WORKING PLEASE HELP SIR

AND HOW TO REMOVE SOME TOGGLES PERMANENTLY:confused:
[Galaxy Y GT-S5360 General] xenreon:
Well you can remove any toggles from arrays.xml
[Galaxy Y GT-S5360 General] smart anas king:
i removed toggle from array.xml but toggle is showing in my systemui
[Sprint HTC One (M7)] ahmedj31:
Hi all ...

how are you , I have problem with my sprint M7 it keeps in restarting every 2 minutes

the problem it happend cos i dont have IMEI and baseband on my device that some how i lost

anybody can help to restore my IMEI and the baseband

thx in advanced

p.s : dont mind my english pls
[One (M8) Q&A, Help & Troubleshooting] rrageshnair:
Hi Friends

My HTC M8 have some strange icon like a head phone and when that icon is active no sound from the phone speakers.

But there is no head phones connected. Please help me to rectify this.

Thanks in advance
[One (M8) Q&A, Help & Troubleshooting] 5m4r7ph0n36uru:
Weird it's the icon that appears and points out that a headphone is connected, as boomsound (icon on the left of headphone icon) is enabled as well.

So somehow your phone or better the software get's a signal that a headset is connected, even if it isn't. Could be some problem with the 3'' socket, but as well with the ROM that you are running.

So we have to dig a little bit deeper. To have a start which FW and ROM are you using?
[One (M8) Q&A, Help & Troubleshooting] BenPope:
I had this and installed some app for manually switching it on and off... Anyway, after trying it, it started working fine, so I uninstalled the app and no problems since.

Also, check your headphone socket for crap, insert headphones and remove a few times with gravity on your side.
[8525, TyTN, MDA Vario II, JasJam General] adisor19:
Hellow all, as noticed in the thread

http://xdaforums.com/showthread.php?t=284329

we have pledged to ghather some 500$ and give it to some developer/hacker that is willing to port for us the latest version of the Widcomm stack for the Hermes. The reason for this is basically that the MS one simply has way too many bugs and lacks a lot of functionality.

I have contacted mikelspikel from aximsite and he agreed to try and help us. This will be the thread where we will discuss the porting efforts.

I will begin by posting mikelspikel's message :

"Hi!

I'd be delighted if I could help you but it's very difficult without having a device to test. I can give you some guidelines for you to test. You'll need a registry editor such as Resco Explorer registry add-in.

The package we built is completely oriented to the X50 / X51, but maybe it can be adapted to work with other devices easily, so I'd start installing our package. But be careful! Do it only if you don't mind having to hard-reset your device! You'll probaly need to.

The first thing we must make work is the communication between the main processor and the BT chip. This is done through a serial port. In the Axim, this port in COM5 and it's referenced in the registry in [HKLM\Drivers\BuitIn\BTUart]. This driver can be different in other devices, but usually it isn't difficult to figure it out from a [HKLM\Drivers\BuitIn\] branch registry dump (you can send me a dump of this branch if you want me to have it a look). Once we have the correct COM port, we have to modify [HKLM\Software\Widcomm\BTConfig\SerialTransport]. In Axim, as the BT port is COM5, we have to set Device=COM and Port=5.

The BT chip of our device defaults to a baudrate of 115200 bps, so we set BaudRate=115200. With ShiftSpeed and ShiftCommand we increase the port speed after connecting at 115200. In order to test safely in your device, i'd delete or rename these two keys and i'd keep BaudRate at 115200.

These two settings (COM port and BaudRate) are the two that use to make the stack startup fail with the out of memory message.

Other keys key I'd change at the beginning of the test process are, in [HKLM\Software\Widcomm\BTConfig\General], I'd delete or rename RadioInitLibrary and RadioInitPostLoadScript.

It's important to know that there's a log where we can find sometimes useful information about what's going on. This log is located in registry too, in [HKLM\Software\Widcomm\BTConfig\Debug\Log].

I think this is enough to start the tests. Let me know your results or any question you have. I'll try to do my best to help you. You can use my email if you prefer (*******@gmail.com).

Greetings,

Mikel"

I edited the e-mail as i rahter we post all our findings in this thread in order to avoid spamming him :)

So whoever feels brave enough to do some testing, go right ahead. I'm unfortunetly still busy these days but i'll be dropping by from time to time to hopfully post my findings.

Once again a BIG BIG thank you to mikelspikel for helping us and let the testing BEGIN!

Adi
[8525, TyTN, MDA Vario II, JasJam General] superdave:
I'm making some pretty good progress here.

I have the existing stack disabled and the widcomm stack enabled and discovery works fine.

I have the following profiles tested so far.

A2DP - works very good, much better then the ms stack.

Active Sync - works good.

File Transfer- works good.

Serial - works good.

These are just the ones I have tested so far, others probably work fine too. The main issue right now is the headset profile is not working. That is what I am focusing on. Once that is done I will just have to put a cab together.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] adisor19:
Cool, what version of the stack are you testing ?

Also, you can download the Widcomm for Win CE (aka mobile) SDK and tools at http://www.broadcom.com/products/bluetooth_sdk.php for free.(registration required)

Adi
[8525, TyTN, MDA Vario II, JasJam General] jasjamming:
Let the hacking begin...... mwuahahahahahahahahahahahaaaa.

Ok, im getting ahead of myself now but this is good news thus far.
[8525, TyTN, MDA Vario II, JasJam General] superdave:
I am using 1.7, the same as the axim version.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] Arktronic:
Good? I'd say it's great! And I don't even have a TyTN yet.
[8525, TyTN, MDA Vario II, JasJam General] El_Mar1ach1:
Is it possible to enable and disable Wdcomm bluetooth from commManager?

And it supports PAN profile, doesn't it?
[8525, TyTN, MDA Vario II, JasJam General] luminus:
great, looking forward in the progress of this hack.
[8525, TyTN, MDA Vario II, JasJam General] mikelspikel:
Hi!

Glad of the progress so far! Superdave, are you interested in sharing your settings/progress?

In the Axim, one of the most difficult tasks was making HFP and HSP work. They need some vendor specific HCI commands to be sent to the BT chip (Texas Instruments BRF6150 in the Axim). Does anybody know which is the BT chip in the Hermes? Maybe we can get some info about HSP/HFP from the documentation of that chip.

BTW, Dave, have you tested BT and WiFi toghether? Does it work? That was another problem we found in the Axim. It requires some vendor specific commands too.
[8525, TyTN, MDA Vario II, JasJam General] Sleuth255:
The Hermes uses the same BRF6150 chip.
[8525, TyTN, MDA Vario II, JasJam General] Menneisyys:
Cool! Nice you see you here mikelspikel :)
[8525, TyTN, MDA Vario II, JasJam General] mikelspikel:
I meet you everywhere! How is this possible? :D
[8525, TyTN, MDA Vario II, JasJam General] mikelspikel:
That's very good! In Aximsite we got the proper HCI commands to enable WiFi and BT coexistence and audio routing to enable HFP/HSP in the BRF6150. If Superdave posts information about the state of his development, maybe we can use some of these commands to make HFP/HSP work.

Moreover, I developed a bts (Bluetooth Script) parser that can be used to get the responses from the BRF6150 when initialization commands are sent. For the Axim, we built a file called MkSpk100.bts that enables both coexistence and audio routing. Maybe this file can be used directly or slightly modified in the Hermes.

Superdave, did you start working with the Aximsite package or did you start from scratch? If the first is the case, could you please post what modifications you did to the original package?
[8525, TyTN, MDA Vario II, JasJam General] superdave:
Yeah, I started with the Axim package. Your script and dll mods do connect the HS but audio is not routing. The only mods needed to get the axim package installing is to remove the ms stack and change the com port to 7 the baud to 921600 and flow to 0, I also removed the shifts. Also the stack uses com 7/8 by default for the serial ports, that needs to be changed to com0/8.

Im intersted in your bts parser and the mods you made. I see the mods you made in the dll, MOV R0, #0x79 to MOV, R0 #0x75 before the IO CTL, but, not sure exactly what your doing there yet.

Thanks,

Dave
[8525, TyTN, MDA Vario II, JasJam General] Menneisyys:
Quickly tested the stack & the hack instructions on the Universal; no success so far, no matter how I teaked the parameters. I will also test this on my HTC Wizard.

Anyone with these devices?
[8525, TyTN, MDA Vario II, JasJam General] jompao:
Awesome dude!! :)
[8525, TyTN, MDA Vario II, JasJam General] jasjamming:
this sounds great guys so far. I wish I could contribute but my knowledge on software is fairly limited.

I myself am an electrical/electronics engineer with a PhD where I specialize in 3G-4G basaband hardware (microelectroncis). Soon we will see UWB (ultra wideband) communications on PDA's where we can stream HD video to our LCD TV's etc as well HD music to our digital receivers. Also, I have a student working on gyro's for PDA's where it will enable you to, for e.g., dial a number by just writing the number in thin air with the PDA (there are more benefits besides this) :)

Its good to see a device like the hermes offering so much, but from I know about bluetooth (having designed baseband components for bluetooth 1.1 back in the day (in 2001) ), I know it "shouldn't" operate the way M$ configures it to via its firmware/software.

So the progress made so far sounds excellent. Once all the profiles work and reg hacks made etc.... will this be made available in a CAB or EXE for us software "lay" people to install with ease?

Cheers and great work.
[8525, TyTN, MDA Vario II, JasJam General] mikelspikel:
Good! It's curious the BT chip works by default at 921600.

Well, the MkSpk_PCM_Routing.dll is, as you noticed, a modified version of the original HTC_PCM_Routing.dll. We were working with several versions of the files, some from an Axim X50 WM2003 and some from an iPaq hx4700.

In the X50 version, the file TIBinaryParser.dll has a function called SetAudioRouting. This function basically has a call to a DeviceIoControl of device WAV1. Running such a IOCTL from a C++ program mutes or activates the integrated audio of the Axim.

In the iPaq, the SetAudioRouting function is located in HTC_PCM_Routing.dll instead of in TIBinaryParser.dll. Moreover, the IOCTL has a different parameter (0x79 instead of 0x75), so we patched the original HTC_PCM_Routing.dll to be compatible with the IOCTL that works in the Axim. Have you tried with the original HTC_PCM_Routing.dll? You have to reference it in [HKLM\Software\WIDCOMM\Plugin\HandsFree\AudioSetupDll].

You should also check if the default audio device of the Hermes is called WAV1 too. If it isn't, the IOCTL won't work.

Maybe we can figure out the correct IOCTL building a C++ program. The code I used is:

HANDLE l_File;
char l_cmd[]={0,0,0,0,0x75,0,0,0,0,0,0,0,0/*1*/,0,0,0,0,0,0,0};
char l_cmd3[]={0,0,0,0,0x74,0,0,0,0,0,0,0,0/*1*/,0,0,0,0,0,0,0};
char l_cmd2[20];
DWORD l_br;
long l_res;
int i;
for (i=0;i<20;i++)
{
l_cmd2[i]=0;
}
l_File=CreateFile(_T("WAV1:"),GENERIC_READ | GENERIC_WRITE, 3, NULL,3,0,0);
if (l_File==0)
{
MessageBox(_T("Error opening WAV1:"));
return;
}
l_res=DeviceIoControl(l_File,0x1D000C,l_cmd,20,l_cmd2,20,&l_br,0);
if (l_res==0)
{
MessageBox(_T("IOCTL1 Error"));
return;
}
/*	l_res=DeviceIoControl(l_File,0x1D000C,l_cmd3,20,l_cmd2,20,&l_br,0);
if (l_res==0)
{
MessageBox(_T("IOCTL2 Error"));
return;
}*/

If I remember OK, in the Axim, l_cmd mutes internal Audio and l_cmd3 enables it. The parameters we changed in the DLL were the 0x75 and 0x74 of these two buffers.

Find attached the BTS parser eVC++ 4 source code. It's a too quickly developed app to send bts files to the BT chip and trace the responses. You'll need to change some code, at least the comport the chip is connected to. Let me know if you need some help about it. The code is properly uncommented :D but it's very simple.
[8525, TyTN, MDA Vario II, JasJam General] jasjamming:
Hey Mikelspikel,

Thanks for your input to this project. It is greatly appreciated. I look forward to the progress made to a complete widcomm solution to the hermes..
[8525, TyTN, MDA Vario II, JasJam General] research12:
great that you guys are working on this. the ms bluetooth is one of the largest fun killers with the hermes. thumbs up! and good luck for the patch...
[8525, TyTN, MDA Vario II, JasJam General] superdave:
Sorry, been tied up with work. Im hoping to get some time with this soon. It is tuff without the DK or at least some DK documentation. Someone must have something from it.

,Dave
[8525, TyTN, MDA Vario II, JasJam General] sammie123:
Don't Give up

Oh please don't be fed up now!

I'm hopefully waiting for a stable patch to finally end using the MS crappy stack once and for all.

And it looks like you can do that!

Good luck to you all
[8525, TyTN, MDA Vario II, JasJam General] RemE:
I thought I'd ask, is it the crappy MS BT Stack that is killing my new Philips Vox360 headset? The headset is a neck lanyard with a bluetooth pendant that bonds with the phone with Hands Free and Stereo Phones profiles thru earbuds. Seems very well made.

I can answer calls and listen to stereo apps, however, the stereo "skips" with a muted pause about every 15 seconds. Other times the headset just won't connect. Also it looks like my video apps like TCPMP seem to slow way down with this active, and last but not least, WiFi use seems to kill the link as well.

For now, it's not useable.
[8525, TyTN, MDA Vario II, JasJam General] daedalia:
Try sleuths skip fix, there's a link to it on his signature in this thread.

On another note there is a ROM upgrade coming at the end of the month which is rumored to have AKU 3+, which greatly improves the Bluetooth high quality audio implementation. May be worth waiting to see if this is true before spending more time developing this.

http://xdaforums.com/showthread.php?t=289790
[8525, TyTN, MDA Vario II, JasJam General] Menneisyys:
Use the forum search engine and/or keep an eye on my articles cross-posted to the General forum:

http://xdaforums.com/showthread.php?t=280454
[8525, TyTN, MDA Vario II, JasJam General] Menneisyys:
AKU3 is equally bad, sound quality-wise, as AKU2. I've tested this on several AKU3 devices.
[8525, TyTN, MDA Vario II, JasJam General] Sleuth255:
@menneisyys:

I find the sound quality on my AKU 2.x device to be very good to excellent provided the correct registry settings are used. The only issue is a slight background hissing sound..
[8525, TyTN, MDA Vario II, JasJam General] Menneisyys:
Yup, this problem is music type- and, to a certain degree, headphone model-dependent. For example, with singing / speaking, the distortion is really audible and annoying on my high-end Plantronics 590A.
[8525, TyTN, MDA Vario II, JasJam General] RemE:
Love you! I had applied the reg tweaks from the "Hermes_Registry Settings" thread that suggested bitpool setting of 48. I changed it to 24 and maxBitpool to 30 (that was the default). I tested with TCPMP and not only did the skips stop, but the player is no longer sluggish.

Thanks!
[8525, TyTN, MDA Vario II, JasJam General] daedalia:
Menneisyys; I've always heard the AKU 3 resolves the bad audio issues, what devices & headset configurations did you test with?

Sleuth; Is the audio you get through stereo? I get good quality mono output by default, but using the fit4cat tweaker to set audio quality to excellent gives me painfully (no exaggeration) scratchy stereo audio. Any high frequencies become seriously attenuated which result in a high pitched background whine. I get no skipping whatsoever though. My ears bleed.
[8525, TyTN, MDA Vario II, JasJam General] Sleuth255:
We're veering somewhat off topic here but....

UseJointStereo = 0

BitPool = 58

MaxSupportedBitPool = 60

These are the values that work best with my Nokia's and my ears. YMMV but the point is that these must be tweaked for your own headset/ears. Fit4Cat is a poor tool for this optimization IMHO.

The WidComm stack is no better here either. The default registry settings caused a lot of high end distortion on my Nokia and HP headsets. The fact is that the A2DP sound experience is personal and must be properly tweaked to personal tastes. Headset hardware plays a role here too. They're like the speakers in a good sound system in that they add a lot of their own "color" to the reproduction. The AKU3 changes were designed to lower overall processor utilization and balance the needs of A2DP against the needs of the handheld from a prioritization standpoint.

There's no panacea here is what I'm trying to say...
[8525, TyTN, MDA Vario II, JasJam General] daedalia:
I knew it'd never be perfect, but I didn't think there would be so much scope for improvement by tweaking the reg though. So far I have found Widcomm to be superior but you seem like a man with healthy un-bloodied ears so I'll see what happens when I tweak the MS stack. Thank you for your time & response and thank you Menneisyys for your article on the matter.

## Edit: Fit4cat set the same reg settings as you have specified, results are still terrible, same quality no matter what i change. I have an iTech R35 which I have read has these issues with the Hermes, seen your posts on the matter also. Thanks anyway. ##