yashsingh1/xdaforums huggingface dataset:
[Xperia Arc Q&A, Help & Troubleshooting] nao87:
Hi everyone,

I have a problem with my Xperia Arc s, i want to develop a soft which transform my laptop in a Handsfree. I start to write a script in python and i can pass somme command to the phone in order to call someone, but when i want to store the data which i receive i got a problem. It seems that the phone doesn't send evry audio packet through the sco connection. When i want to play the audio data with audacity (16bits 8000Hz) some samples are missing and so the flow of audio is too speed. This is the script in python, i execute it on debian :

#!/usr/bin/python

import bluetooth
from bluetooth import *
from select import *
import os
import sys
import struct
import bluetooth._bluetooth as bt
import binascii
import time

fichier = open("testaudio2.cvsd", "w")

#bluetooth adres of the device
bt_addr = "90:C1:15:01:91:05" #tdr

channel = 10

#socket connection for bluetooth

sock = bluetooth.BluetoothSocket(bluetooth.RFCOMM)
sock.connect((bt_addr, channel))
print "connected"

#send of some command

sock.send('AT+BRSF=0\r')
data = sock.recv(1024)
print "BRSF"
print data
print "*********************"

sock.send('AT+CMER=3,0,0,1\r')
data = sock.recv(1024)
print "CMER"
print data

sock.send('AT+VGS=6\r')
data = sock.recv(1024)
print "VGS"
print data

sock.send('AT+VGM=5\r')
data = sock.recv(1024)
print "VGM"
print data

sock.send('AT+BAC=1\r')
data = sock.recv(1024)
print "BAC"
print data

#send call command
sock.send('ATD660;\r')

data = sock.recv(1024)
print "ATD"
print data

#Connexion SCO

#check voice settings. switch to S16 LE mono 8kHz CVSD if needed
hci_sock=bt.hci_open_dev()
response = bt.hci_send_req(hci_sock, bt.OGF_HOST_CTL,
bt.OCF_READ_VOICE_SETTING, bt.EVT_CMD_COMPLETE, 3, "")
status, voice_setting = struct.unpack("<BH", response)
if voice_setting != 0x60:
new_vs = struct.pack("<H", 0x60)
bt.hci_send_req(hci_sock, bt.OGF_HOST_CTL,
bt.OCF_WRITE_VOICE_SETTING, bt.EVT_CMD_COMPLETE, 1, new_vs)

#determine the maximum packet size
response = bt.hci_send_req(hci_sock, bt.OGF_INFO_PARAM,
bt.OCF_READ_BUFFER_SIZE, bt.EVT_CMD_COMPLETE, 8)
status, acl_mtu, sco_mtu, acl_nbufs, sco_nbufs = \
struct.unpack("<BHBHH", response)
raw_input("Press ENTER to continue")

sock2=BluetoothSocket(SCO)
sock2.connect((bt_addr,))
print sock2

# receive 1 second's worth of audio (data is 16-bit mono 8 kHz audio)

data = ""

while len(data) < 160000:
temp = sock2.recv(48)
data = data + temp

fichier.write(data)

sock2.close()

#send command to terminate call
sock.send('AT+CHUP\r')
data = sock.recv(1024)
print "CHUP"
print data

data = sock.recv(1024)
print "CIEV CHUP"
print data

sock.close()

This script is working for iphone, htc hd2, blackberry , galaxy s2 but not for my Arc S . I must record a ten second sample and i have a 17 second sample that make me thinking that the phone doesn't send all sco packet.

PLease help me ...
[Xperia Arc Q&A, Help & Troubleshooting] nao87:
anyone have an idea ? sorry for my english , i you have any question and if the problem is not clear , ask me ...
[HTC Desire S] shavenlunatic:
Hi,

I will prefix this (as there are a few people around with this problem who can get into recovery mode) with the fact that holding down Vol- on boot is not getting me to the recovery / bootloader screen.

I have a rooted HTC Desire S (rooted it nearly a year ago, so info about the hboot etc is a distant memory).

Anyhoo, I decided to have a play about with one of the ICS roms but it was a bit buggy and the camera drivers still aren't working for video so I decided to go back to Endymion V3.4 - http://xdaforums.com/showthread.php?t=1310845

I did a full wipe, installed base rom, installed optional addons and then upgraded to 3.4 - booted fine into the OS so set about getting my system set up the way I like it.

I noticed that endy came with a theme installer so clicked on one of them to have a look, it asked for root, said it was installed and would need to reboot to take effect...

SO

the problem is, it now won't boot and is stuck on the white HTC boot screen.

Holding vol+/- and power buttons reset it but it just ends up back hanging on the boot screen.

Have tried pulling battery and trying again.

Holding Volume Down when powering up is no longer doing anything :(

So, I either need a saviour to point me in the direction of a fix.. or a kindly sould to break it to me gently when they tell me my phone has gone to the USB Dock in the sky..

Any help will be greatly appreciated.

Thanks
[HTC Desire S] shavenlunatic:
update:

After pulling battery again, pulling out sim and sd cards, booting with vol- held down, i got into recovery. Am going to try and flash a different rom after doing a full wipe, I'll update once it's done but any insights in the meanwhile will still be appreciated :)
[HTC Desire S] shavenlunatic:
Sorted, cleared the thing out, stuck reaper CM rom on it, rebooted and everything is peachy for now.

Thanks me :)

Curious if anyone knows why this might have happened?
[HTC Desire S] djisgod:
because you didnt flash the addon zip which was released alongside endymon and then tried to use the addons,it does say on the screen do not use these unless you have installed the addons
[Xperia Arc Q&A, Help & Troubleshooting] curejko:
Finally, i got mine Ics for arc s yesterday.

After that i root mine phone.

Everything work just fine.

Mine question is how to install cwm on that rooted official Ics, and how to activate link2sd coz i dont have more internal memory, and bigest apps dont work with app2sd.

Ty for answering ;)
[Xperia Arc Q&A, Help & Troubleshooting] Retrosid:
make a partition first and then you will be able to use link2sd
[Xperia Arc Q&A, Help & Troubleshooting] danahue:
Make sure u already created ext partition on SD card then re-mounted the SD!
[Galaxy S II General] jeantje:
I9100XWLP7 Download

Base Firmware: I9100XWLP7 (4.0.3) [Custom CSC]

Region Netherlands

Carrier: NA (Unbranded)

Build Date: 2th April 2012

Modem: XXLPS

Kernel: XWLP7

CSC: XENLP3

Change List: 340913

I9100XWLP8 Download

Base Firmware: I9100XWLP8 (4.0.3) [Custom CSC]

Region Netherlands

Carrier: NA (Unbranded)

Build Date: 6th April 2012

Modem: XXLPS

Kernel: XWLP8

CSC: XENLP3

Change List: 356487

I9100XWLP9 Download

(Warning! Sleep of Death Problem, It's better to use DXLP9)

Base Firmware: I9100XWLP9 (4.0.3) [Custom CSC]

Region Netherlands

Carrier: NA (Unbranded)

Build Date: 11th April 2012

Modem: XXLPS

Kernel: XWLP9

CSC: XENLP3

Change List: 378442

I9100DXLP9 Download

(Warning! No Dutch Language!)

Base Firmware: I9100DXLP9 (4.0.3) [Custom CSC]

Region Netherlands

Carrier: NA (Unbranded)

Build Date: 20th April 2012

Modem: DXLP9

Kernel: DXLP9

CSC: XENLP3

Change List: 431438
[Galaxy S II General] Nyssa1104:
Thanks you

Thanks you saw this last night but to tired to reply.

Goint to try this over the coming weekend..:)
[Galaxy S II General] jeantje:
No problem man, I will keep this page up to date :)

Also, I do requests :) but not to much :p
[Galaxy S II General] jeantje:
Anybody tested one?
[Galaxy S II General] Brotuck:
Tested them all.

All of them have good performance, LP9 does have issues with the stock-kernel.

So if you flash LP9 and flash a custom kernel it works fine. I use speedmod myself.

KPN has pulled LP9, so i guess another update will come soon.
[Galaxy S II General] havocnl:
Guys, any idea how i can change my CSC to XEN??

Also see this question thread i just made

http://xdaforums.com/showthread.php?p=25399136
[Galaxy S II General] JorritJ:
I got i9100XWLP7

FYI:

I have a Telfort Phone (roaming on KPN network) and on may 4 2012 Kies updated my phone to i9100XWLP7.

I am not experiencing any of the problems some other users reported on ICS/4.0.3

I hope this of any use to users who are not sure to update their phone yet.
[Galaxy S II General] Brotuck:
DXLP9 modem is killing my battery. LPS modem performs very well.
[Galaxy S II General] Kronkels:
confused

You call this topic ..... dutch firmware and than place firmware that isn't dutch at all???????????????

Because off the name of the topic I downloaded the last firmware and ended up with no dutch at all, lookt in to it an than I saw te warning.

Just wondering why do you put that download on this topic

Zit ik verdikkie met engels en wat vreemde aziatische talen :confused:

I9100DXLP9 geen woord nederlands in te vinden lol
[Galaxy S II General] jeantje:
Actually if you can read, you should have read that there was no dutch in the DXLP9 version :)

Als je nou goed had gelezen, dan zou je gelezen hebben dat er geen nederlands in de DXLP9 versie zit :)
[Galaxy S II General] jeantje:
Post can be closed because I have no Galaxy S2 anymore.

[For any questions PM me]
[Android Q&A, Help & Troubleshooting] iUNWiReD:
Hi Guys!! I'm looking for solution to make a recovery and create a custom ROM for HTC Wildfire Bee? I'm new to Android and ROM developing but I have plenty of time to work on it right now just show me the right direction. I know there are two RUUs available for the Bee right now, Alltel and C Spire. Maybe we can make our recovery and custom ROM off these two RUUs?

Another question is, my phone is from Cox. Can I used the custom ROM -once we successfully created a ROM from Alltel or C Spire to my phone?

Thank you so much!!
[Android Q&A, Help & Troubleshooting] 4aklun:
Hello! I found the firmware on the phone to Android 2.2 HTC Wildfire A315c (HTC Bee) that the description is identical to the HTC Wildfire 6225 / ADR6225 (HTC Bee) but the flash does not work because it did not fit the phone ID. Can anything be done about it?

Sorry for translate.google.com :)
[Android Q&A, Help & Troubleshooting] heavy_metal_man:
i have made a custom recovery here for the bee, hopefully rom to come ;)
[Android Q&A, Help & Troubleshooting] maplewang2012:
Dear sir:

I have a A315c cdma mobile which is updated by htcdev, its hboot version is 1.41 and is unlocked but with S-ON, how can I use a CM recovery?

thanks.

I can not update PD06IMG.zip, it tells me wrong zip file or image.

in fact my A315c file is PD0611000_Bee_CT_hboot_1.41.0000.exe.
[Android Q&A, Help & Troubleshooting] heavy_metal_man:
If you have the upgraded hboot that says locked then just skip the pd06img.zip and continue to unlock the bootloader from htcdev. then you can use fastboot to flash clockworkmod recovery.
[General Questions and Answers] rudeguy:
If we all start rating pre installed apps "1's", wouldn't the app devs start taking notice?

I know why the carriers do it... just trying to find a why to get the software companies to see their errors. If their app is getting thousands of negative reviews a day, wouldn't they maybe start to rethink things?
[General Questions and Answers] Dark lord me:
Canadians have started doing that
[General Questions and Answers] VikoAlucard:
carriers want their say!

They shouldn't always have their say !

Carriers want to control NFC payments too, that's why you still can't pay with your phone in most countries... How lame is that ?
[GT540 Optimus General] DEVSlv:
I bricked my Gt540 by downgrading by KDZ file, can it be fixed? And how?
[GT540 Optimus General] Moster2:
Can you maybe still boot into recovery or fastboot mode?
[GT540 Optimus General] -Grift-:
Wrong section....
[GT540 Optimus General] Lukasspires:
I did the same

I was doing the [GUIDE] How to easily re-partition your phone to increase your Data Storage(http://xdaforums.com/showthread.php?t=1070895) an error occurred in step 4, some people have similar problems but I can`t post in dev forum (noob) and their solutions don`t work for me :( ...so I turned my phone into a paperweight...
[Verizon Droid Incredible 2] miguel11691:
im getting the phone and i going to hack asap today but im wondering about overclocking... whats the best option?
[Verizon Droid Incredible 2] xHoLyx:
Overclocking over 1.2(more favorable)/1.3 is meaningless as it drains too much if you go higher and wouldn't see that much of "faster/smoother" whichever you like to call it.

If you want to undervolt w/ oc, -50 across the frequency would do fine. But every phone has different frequencies they can handle so testing yourself out is the best option

Sent from my Incredible 2
[Verizon Droid Incredible 2] Macguyver:
I think it depends on the rom/kernel too, I'm running Incredible HD 1.1 and the sweet spot seems to be 1.3, but there is a noticable difference in battery life too. I would just start playing with it once you settle on a rom.
[Verizon Droid Incredible 2] sjpritch25:
Yeah, I still get almost 2 days with o/c 1.3 on ICS cm9. Anything higher will give it a day or slightly more. It all depends on usage.
[Xperia Arc Q&A, Help & Troubleshooting] iceofhavik:
I am having a problem trying to decompile systemui.apk from arconium ics, I get this log

--------------------------------------------------------------------------

|Wed 04/25/2012 -- 10:15:39.29|

--------------------------------------------------------------------------

java version "1.6.0_31"

Java(TM) SE Runtime Environment (build 1.6.0_31-b05)

Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)

--------------------------------------------------------------------------

|Wed 04/25/2012 -- 10:16:26.78|

--------------------------------------------------------------------------

java version "1.6.0_31"

Java(TM) SE Runtime Environment (build 1.6.0_31-b05)

Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)

Could Not Find C:\Users\Havik\Documents\Arc\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk

Could Not Find C:\Users\Havik\Documents\Arc\Apk_Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk

I: Baksmaling...

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)

at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)

at brut.androlib.Androlib.getResTable(Androlib.java:44)

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)

at brut.apktool.Main.cmdDecode(Main.java:120)

at brut.apktool.Main.main(Main.java:57)

Any help would be great :)
[AT&T, Rogers HTC One X, Telstra One XL] kobaturtle_can:
Hi everyone,

According to XL Rogers specs, I might have 1 gig RAM but I only have 671 Mg.

Is it some king of Rogers limitation?

Can someone having a Rogers One XL release can confirm that?

Annoying because even with a few application in process, Sense is randomly restarting because, I think, of a lack of memory. It often happen right after using a browser for few minutes

Thanks!
[AT&T, Rogers HTC One X, Telstra One XL] david_ag:
I noticed that when looking at ATT One X

Would like to know as well. WTF..
[AT&T, Rogers HTC One X, Telstra One XL] chaosjh:
i could be wrong but i think it's because the memory is shared with the gpu.
[AT&T, Rogers HTC One X, Telstra One XL] kobaturtle_can:
Weird because it shows 1Gig in parameters/hardware Info.

But still 671 in memory management and benchmark utilities...
[AT&T, Rogers HTC One X, Telstra One XL] tsekh501:
That is normal. Some parts of the memory are reserved (for OS, GPU etc.) and are not accessible for all apps. For example, my Galaxy Nexus has 1GB RAM, but only "693 MB" is displayed under "about phone". That has always been the case for all Android phones, although how much of the memory is reserved differs between phones/ROMs.
[AT&T, Rogers HTC One X, Telstra One XL] Squeak22:
I wonder why this always comes up when a new phone is released. When people buy a computer with 6 gigs of ram, do they get mad when Windows or OSX uses 2 of it?

It's the same concept here, but this always comes up.
[AT&T, Rogers HTC One X, Telstra One XL] zivan56:
If you run:

cat /proc/meminfo

That should give you all the physical memory available to Android.
[AT&T, Rogers HTC One X, Telstra One XL] tsekh501:
It's not really the same concept, as that has to do with the 32-bit limitation. And yes, people did complaining a lot a few years ago when 4GB RAM started to become really affordable. People rarely complained about that these days, not because they finally understood the issue, but rather most computers are shipped with 64-bit OS now.
[AT&T, Rogers HTC One X, Telstra One XL] Squeak22:
/facepalm

When you load up task manager in windows, it shows how much free memory you have. The amount of free memory is NEVER what your total physical memory is. There is always about a third used for cached data, OS processes, and stupid widgets that you have running on the desktop.

Nowhere did I mention the 32bit limitation, that would be a valid issue.
[AT&T, Rogers HTC One X, Telstra One XL] danada:
There's no need to be so rash. He does have a valid point.

cat /proc/meminfo returns the following:

Whereas the task manager displays 672MB total memory (used+free):
[AT&T, Rogers HTC One X, Telstra One XL] Squeak22:
150ish meg for ramdisk and another 150ish meg for GPU. Explained away.

This is common on every phone that's ever come out for the last year + with 1 gigs of ram.
[AT&T, Rogers HTC One X, Telstra One XL] tsekh501:
That's free memory that you are talking about. Its total physical memory and I and OP were saying. My Windows 7 task manager always shows the actual total physical memory, and that wasn't the case with winxp before either sp2 or sp3 and tons of people whined about that on a daily basis.

The OP's question, however, concerns Android and it doesnt show the correct amount of physical memory on the phone. He is not saying "free memory", which is of course changing all the time depending on running apps.
[AT&T, Rogers HTC One X, Telstra One XL] balto:
I am seeing a total of 970ish MB's on my international htc one x. Currently 709MB used and 267MB free.

I believe some of the RAM is reserved for the GPU and since there are different GPU's in the two models it is probably what makes up the difference in available RAM.
[Xperia Arc Q&A, Help & Troubleshooting] Rolandh:
I've been running the Stock Sony Xperia Arc S ICS update for a while and wondered if there is a mod or app to enable the ICS Software Buttons. I'm running on a locked boot loader and un-rooted. I'm not to bothered about unlocking the boot loader or rooting. I'd even go for a mod that forces the Hardware Buttons to work like the Software Buttons.

I think that it's really silly of Sony to not have included emulation of the Software Buttons by the Hardware Buttons, and let the apps run the menu button like in all ICS ROMs on phones that have vibrating on screen buttons buttons or no buttons.

Roland
[Xperia Arc Q&A, Help & Troubleshooting] soldiers33:
if you want the buttons then you must root your phone. If you post the framework-res.apk then ill change it for you. But there are links already available and you do not need to unlock bootloader just root.
[Xperia Arc Q&A, Help & Troubleshooting] Rolandh:
Ok thanks, I'll have to look into rooting then.

Roland
[Xperia Arc Q&A, Help & Troubleshooting] Rolandh:
I've attached my framework-res.apk as I can't seem to find links to add Software buttons. I'll also need instructions on what to do with the modified apk.

Thanks in advance

Roland
[Xperia Arc Q&A, Help & Troubleshooting] petrutms:
I want this mod also!!!
[Xperia Arc Q&A, Help & Troubleshooting] natural4862:
Here is the tutorial

Sorry for giving a Chinese tutorial but this is the only one I found:p May be using Google Translate to translate the whole page would help
[Xperia Arc Q&A, Help & Troubleshooting] Rolandh:
That tutorial is really hard to follow, & I couldn't really work out the instructions. How do you open the apk to modify it?

Roland
[Xperia Arc Q&A, Help & Troubleshooting] Crenshaw-PCGH:
Here is a really easy tutorial :)

http://www.redmondpie.com/how-to-en...-any-android-ice-cream-sandwich-rom-tutorial/
[Xperia Arc Q&A, Help & Troubleshooting] Rolandh:
The Tutorial is really easy, unfortunately I couldn't work out how to get APK Tool working on my Windows 7 Ultimate x64 Laptop.

Roland
[Xperia Arc Q&A, Help & Troubleshooting] Crenshaw-PCGH:
You have to put the apk tool files anywhere and open cmd there.

Its almost like fastboot. put:

apktool c etc etc in cmd and it will work :)
[Xperia Arc Q&A, Help & Troubleshooting] Rolandh:
I've just tried that and cmd says 'java' is not recognized as as internal or external command, operable program or batch file.

What am I missing to get it working the apktool website doesn't go into much detail on how to setup apktool.

Roland
[Xperia Arc Q&A, Help & Troubleshooting] Crenshaw-PCGH:
Maybe this will help you?

http://code.google.com/p/android-apktool/
[Motorola Droid RAZR] rimad:
Hey guys,

My Razr was FULLY charged and in the morning I think I tried switching SIM card and it just died. I thought that volume down + power button would reset it but NOTHING. I tried anything I can think of and any solution on google I could find but phone is completely dead. If i plug it into computer with USB cable, there is a solid light on the phone but computer does not recognize it at all. If I plug the charger, there is nothing, not even light. Phone does not start up in any case.

Any idea? I already sent it back but I am curious if anyone else had the same problem.
[Motorola Droid RAZR] nameite:
Dont have that problem...but it sure as hell dont give us a lot of confidence in the build quality of this phone....hope it never happens to mind coz I dont have warranty for the phone.

can you give more details on "how" you swapped sims?
[LG Optimus 3D] gamesz2:
can someone make a customkeymap for the powerbutton

replace the 3d button so i can use the 3d button to unlock the screen......

..

my power button is broken please help

thx guys :D
[LG Optimus 3D] Stunningkun:
key mapping wont help you as after deep sleep only power key would wake it. You need to stop from fone going into deep sleep. you may use no lock app on market and then add wake to volumekeys
[LG Optimus 3D] gamesz2:
yeh i have made it by myself XD i found how it works but its not working...

thx :D

but then drains my battery so very fast :(
[LG Optimus 3D] Stunningkun:
i think cm7 has an option to wake on volume keys from deep sleep. this will save you battery but your 3d would be limited.
[LG Optimus 3D] gamesz2:
REALY :O

i gonna try :O

idont give a F*ck about 3D XDXD
[LG Optimus 3D] stobias_ah:
Edit the omap.keypad.kl in /system/usr/keylayout from

key 249 3D-MODE

to

key 249 POWER WAKE

I think it should do the trick
[LG Optimus 3D] gamesz2:
i have try't that but when it is in deep sleep it is not working anymore
[LG Optimus 3D] stobias_ah:
sorry, didn´t understood the deepsleep thing

do you mean deepsleep = phone complety shut off ?
[LG Optimus 3D] gamesz2:
no when it is a couple of minutes on lockscreen then the customkeymap dont work anymore
[LG Optimus 3D] stobias_ah:
then it should work when its

249 POWER WAKE

or

249 POWER WAKE_DROPPED

WAKE #Completes the action without waking the screen
WAKE_DROPPED #Wakes the phone to complete the action
[LG Optimus 3D] gamesz2:
I will try this tommorow :)

Thx cyanogenmod was not working for me so i try this tommorow and i hope it works

Thx :)
[LG Optimus 3D] Stunningkun:
sorry to disappoint but this wake thing is not gonna work. Were you not able to install cm7?? or could not find the option?
[LG Optimus 3D] gamesz2:
I have done what you say but also its not working :s