/etc/audio_policy.conf from Stock ROM - Sony Xperia ZR

in cm11/fxp according to /etc/audio_policy.conf
Code:
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE
default_output_device AUDIO_DEVICE_OUT_SPEAKER
[B] attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_VOICE_CALL[/B]
}
shouldn't there be a "2nd mic" entry?????
anyone with stock cm can check and tell? thx in advance!!!!!!!!!

nostupidthing said:
in cm11/fxp according to /etc/audio_policy.conf
Code:
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE
default_output_device AUDIO_DEVICE_OUT_SPEAKER
[B] attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_VOICE_CALL[/B]
}
shouldn't there be a "2nd mic" entry?????
anyone with stock cm can check and tell? thx in advance!!!!!!!!!
Click to expand...
Click to collapse
just flashed CM11 20140507. The file in cm contains exactly the same part as you quoted.

stock rom???

nostupidthing said:
stock rom???
Click to expand...
Click to collapse
Hi
In Stock Rom .101 have the same

asked over xperia z, same content...
Code:
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE
default_output_device AUDIO_DEVICE_OUT_SPEAKER
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_VOICE_CALL
}
Reference: http://forum.xda-developers.com/xperia-z/help/audiopolicy-conf-t2745800
edit: there seems to be a "2nd mic" or "back mic" issue for some xperia devices...

compare between different /etc/audio_policy.conf
Nexus 4 / mako (same CPU)
https://github.com/CyanogenMod/android_device_lge_mako/blob/cm-11.0/audio_policy.conf
Xperia Z / yuga
https://github.com/CyanogenMod/andr.../cm-10.2/rootdir/system/etc/audio_policy.conf
Xperia ZR / dogo
https://github.com/CyanogenMod/andr.../cm-10.2/rootdir/system/etc/audio_policy.conf
where is our back/2nd mic???

strange, just checked Z1 (honami)'s config, same... but obviously there's a 2nd mic...
BAFFLING!!!!!!!!!!!!!!!!!!!!!!
p.s. reason why i keep asking is that, when revert to stock (forgot which version), video record has normal volume, but in cm/fxp, it's not!!!!!!!!!!!!!!!!!!!!
:laugh:

Related

File Commands

Hi, how would u go about incoporating file commands such as delete into and android app in eclipse which i am using ?
Thanks
For manipulating files, you should look at java.io.File
i.e.
File file = new File("path");
file.delete();
Hey, thanks for that i tried it..it works for files but for deleting folders that are not empty it doesnt work ? ne way to work around that ?
Thanks Again For Your Quick Reply
I used this in my Audio Hack app and it worked nicely
Code:
Process process = null;
try {
process = Runtime.getRuntime().exec("su");
} catch (IOException e1) {
e1.printStackTrace();
}
DataOutputStream os = new DataOutputStream(process.getOutputStream());
try {
os.writeBytes("busybox rm -r blah/blah/blah \n");
} catch (IOException e) {
e.printStackTrace();
}
try {
os.writeBytes("exit\n");
} catch (IOException e) {
e.printStackTrace();
}
try {
os.flush();
} catch (IOException e) {
e.printStackTrace();
}
this just runs any busybox command as root so you can do whatever you want.
it seems to only work for me with busybox at the start though, meaning anyone using it must have busybox.
hope this answers your question
Hmmm....nice script u have there...so im tryin to make a script for my app where it would go into a directory..get the filenames....n substitute that into the filename.delete() command....can neone help ?
Also on most command prompt/shells....when u do delete folder/*.* it deletes everything in tht folder...no substitute for android ?
You need to use caution when using that approach since;
1) it requires root (at least his example does),
*2*) it is dependent on what commands are available on the particular system. You can't rely on anything here.
The workaround for deleting non-empty directories is to first delete the contents in order to MAKE them empty.
It is fairly simple to write a recursive delete function;
void recursiveDelete(String path){
File file = new File(path);
if (!file.delete() && file.isDirectory()){
String[] filelist = file.list();
for (int i=0; i<filelist.length; i++) recursiveDelete(filelist);
file.delete();
}
}
I don't know what the paths that are returned by file.list() look like... there is another function "isAbsolute()" to check if it is a relative or absolute path returned... if it is a relative path, then you want to do your recursiveDelete on path+"/"+filelist.
Note: you could also take this approach, which is probably a little more clean;
void recursiveDelete(File file){
if (!file.delete() && file.isDirectory()){
File[] filelist = file.listFiles();
for (int i=0; i<filelist.length; i++) recursiveDelete(filelist);
file.delete();
}
}
This approach solves the whole absolute/relative path question. You just have to remember to
recursiveDelete(new File("path"));
Instead of:
recursiveDelete("path");
Daneshm90 said:
Hmmm....nice script u have there...so im tryin to make a script for my app where it would go into a directory..get the filenames....n substitute that into the filename.delete() command....can neone help ?
Also on most command prompt/shells....when u do delete folder/*.* it deletes everything in tht folder...no substitute for android ?
Click to expand...
Click to collapse
Actually, what he is doing is not at all scripted... he is running a SHELL COMMAND.

Wireless (Miracast) mirroring not working (HDCP error. Sony Bravia TV with NFC)

Guys I'm really sad.
I bought a supernice Bravia TV (KDL42W805) with everything on it. I choose that one expecially for NFC activated mirroring on Xperia Z.
Results:
NOTHING WORKS!!!!!!!!!!!!!
I tried 2 different routers, tried to reset phone, removed root, updated TV, tried with direct Wi-Fi... Tried EVERYTHING!!!
Always the same error: YOUR TV DOES NOT SUPPORT HDCP, you can use only walkman and movie applications:crying: (as a normal DLNA).
I'm so depressed, the two things should work perfectly!! And the weirdest thing is that I cannot find anything on internet, looks I'm the only one on earth with Xperia Z phone and Bravia TV with wireless mirroring not working.
Help appreciated, thanks!
I Had the same on my Samsung Smart Tv, it's the Tv itself which doesn't support HDCP.
I didn't figured out how to fix it, but on my friends Tv(Sony bravia, don't know which one) it works.
Sent from my Dualbooted XZ
Ciapa1 said:
I Had the same on my Samsung Smart Tv, it's the Tv itself which doesn't support HDCP.
I didn't figured out how to fix it, but on my friends Tv(Sony bravia, don't know which one) it works.
Sent from my Dualbooted XZ
Click to expand...
Click to collapse
But that TV is specially made for that! You see in the picture on the site the screen of the xperia Z mirrored!!
Today I tried the mirroring in a shop on 2 different TV's.
One was the same I got and the other was a 905.
Same problem.
HDCP error. :crying:
theskig said:
Today I tried the mirroring in a shop on 2 different TV's.
One was the same I got and the other was a 905.
Same problem.
HDCP error. :crying:
Click to expand...
Click to collapse
Have this same issue with the XTZ too. Disappointing to say the least.
i have also problem to Xperia Z C6602 ScreenMirror With Sony W670a and same error "HDCP error" Anyone rply please
for me till yesterday it used to work my phone xperia z c6602, tv 32w670a...but now i unlocked my bootloader relocked it installed stock rom again and tried it doest work says ur display doesnt support hdcp..i think we should not unlock our phone will remove the keys required to contact with the tv
---------- Post added at 06:55 AM ---------- Previous post was at 06:51 AM ----------
i will try and update my tv software check if it fixes.../
Finally things are clear.
If you unlock the bootloader this will happen.
And seems that even if you relock it and un-root and flash original firm it won't work
sviswas7 said:
for me till yesterday it used to work my phone xperia z c6602, tv 32w670a...but now i unlocked my bootloader relocked it installed stock rom again and tried it doest work says ur display doesnt support hdcp..i think we should not unlock our phone will remove the keys required to contact with the tv
---------- Post added at 06:55 AM ---------- Previous post was at 06:51 AM ----------
i will try and update my tv software check if it fixes.../
Click to expand...
Click to collapse
Finally I found the solution . just install cm 10.2 which is android 4.3 and voila screen mirroring works like miracle!.... Cm10 .2 is awesome than stock 4.2.2 and one more thing there official cm 10.2 on the site install that version only!
---------- Post added at 04:26 PM ---------- Previous post was at 04:25 PM ----------
sviswas7 said:
Finally I found the solution . just install cm 10.2 which is android 4.3 and voila screen mirroring works like miracle!.... Cm10 .2 is awesome than stock 4.2.2 and one more thing there official cm 10.2 on the site install that version only!
Click to expand...
Click to collapse
Hit thanks if my post helps1
My Xperia ZL has this too. Will CM 10.2 only work? Which ROM are you using that solves this problem?
And is there an possibility to renew partition for 10.4.B.0.569 (4.3) Journalism version!?
EDIT: CM 10.2 and CM 11 is nothing like the beautiful 4.3. Journalism firmware!
Tried both!
Is there a way to add HDCP checking option in Developer Options?! And or build.prop!!
tracins said:
My Xperia ZL has this too. Will CM 10.2 only work? Which ROM are you using that solves this problem?
And is there an possibility to renew partition for 10.4.B.0.569 (4.3) Journalism version!?
EDIT: CM 10.2 and CM 11 is nothing like the beautiful 4.3. Journalism firmware!
Tried both!
Is there a way to add HDCP checking option in Developer Options?! And or build.prop!!
Click to expand...
Click to collapse
same problem before its working great when i unlocked the bootloader its not working now error IS (COULD NOT TURN ON SCREEN MIRRORING. THE OUTPUT DEVICE IS NOT READY OR DOSENT SUPPORT HDCP)
i tried to flash 4.2.2 or 4.3 PLEASE SONY HELP US TO FIX THAT PROBLEM ........
The problem is HDCP. DRM Check!
In Stock there are no fixes. In Custom Roms (some) there are option in Developer options. Have DRM Check (Or something like that, don't remember). .
Im using Stock ROM 4.3 (Xperia ZL). (Journalism version) - This version doesn't have this option! Haven't find option for STOCK ROMS!
tracins said:
The problem is HDCP. DRM Check!
In Stock there are no fixes. In Custom Roms (some) there are option in Developer options. Have DRM Check (Or something like that, don't remember). .
Im using Stock ROM 4.3 (Xperia ZL). (Journalism version) - This version doesn't have this option! Haven't find option for STOCK ROMS!
Click to expand...
Click to collapse
Finally i found the solution but you have to install CUSTOM ROM i install CM 11 which have cast screen under Display setting now screen mirroring is working :victory: but audio is not transfering i hope someone will fix this problem SOON:good::highfive:
mtayabkk said:
Finally i found the solution but you have to install CUSTOM ROM i install CM 11 which have cast screen under Display setting now screen mirroring is working :victory: but audio is not transfering i hope someone will fix this problem SOON:good::highfive:
Click to expand...
Click to collapse
Same Problem here Stock ROM 4.3 (Xperia Z). (Journalism version) with brava TV, I dont really want to reflash again just to fix this...
no one use MIRACAST no one here to help us :crying:
mtayabkk said:
Finally i found the solution but you have to install CUSTOM ROM i install CM 11 which have cast screen under Display setting now screen mirroring is working :victory: but audio is not transfering i hope someone will fix this problem SOON:good::highfive:
Click to expand...
Click to collapse
Could you show me your CM11 device's audio_policy.conf ?
Code:
$ adb shell cat /etc/audio_policy.conf
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER
default_output_device AUDIO_DEVICE_OUT_SPEAKER
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
audio_hw_modules {
primary {
// ...
}
a2dp {
// ...
}
usb {
// ...
}
r_submix {
outputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
}
}
inputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
}
}
}
CONFIRM THIS
global_configuration has a AUDIO_DEVICE_IN_REMOTE_SUBMIX?
r_submix { } section exists?
if no, edit audio_policy.conf
Code:
$ adb pull /etc/audio_policy.conf
// add AUDIO_DEVICE_IN_REMOTE_SUBMIX, r_submix { } section using text editor
$ adb root
$ adb remount
$ adb push audio_policy.conf /etc/
$ adb shell chmod 644 /etc/audio_policy.conf
$ adb shell cat /etc/audio_policy.conf
$ adb reboot
s107ken said:
Could you show me your CM11 device's audio_policy.conf ?
Code:
$ adb shell cat /etc/audio_policy.conf
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER
default_output_device AUDIO_DEVICE_OUT_SPEAKER
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_BACK_MIC|AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
audio_hw_modules {
primary {
// ...
}
a2dp {
// ...
}
usb {
// ...
}
r_submix {
outputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
}
}
inputs {
submix {
sampling_rates 48000
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
}
}
}
CONFIRM THIS
global_configuration has a AUDIO_DEVICE_IN_REMOTE_SUBMIX?
r_submix { } section exists?
if no, edit audio_policy.conf
Code:
$ adb pull /etc/audio_policy.conf
// add AUDIO_DEVICE_IN_REMOTE_SUBMIX, r_submix { } section using text editor
$ adb root
$ adb remount
$ adb push audio_policy.conf /etc/
$ adb shell chmod 644 /etc/audio_policy.conf
$ adb shell cat /etc/audio_policy.conf
$ adb reboot
Click to expand...
Click to collapse
Here's the audio policy bro!
}
voip_tx {
sampling_rates 8000|16000|44100|48000
channel_masks AUDIO_CHANNEL_IN_MONO|AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT|AUDIO_FORMAT_AMR_NB|AUDIO_FORMAT_AMR_WB|AUDIO_FORMAT_QCELP|AUDIO_FORMAT_EVRC|AUDIO_FORMAT_EVRCB|AUDIO_FORMAT_EVRCWB
devices AUDIO_DEVICE_IN_COMMUNICATION
}
}
}
r_submix {
outputs {
submix {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_REMOTE_SUBMIX
}
}
inputs {
submix {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_IN_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_IN_REMOTE_SUBMIX
}
}
}
}
Will u edit mine audio policy so I can easily past it
I see, your pasted audio policy is incomplete maybe.
scroll up adb prompt window to find "global configuration".
Sent from my GT-I9100 using xda app-developers app
s107ken said:
I see, your pasted audio policy is incomplete maybe.
scroll up adb prompt window to find "global configuration".
Sent from my GT-I9100 using xda app-developers app
Click to expand...
Click to collapse
# Global configuration section: lists input and output devices always present on the device
# as well as the output device selected by default.
# Devices are designated by a string that corresponds to the enum in audio.h
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE
default_output_device AUDIO_DEVICE_OUT_SPEAKER
attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_VOICE_CALL
}
# audio hardware module section: contains descriptors for all audio hw modules present on the
# device. Each hw module node is named after the corresponding hw module library base name.
# For instance, "primary" corresponds to audio.primary.<device>.so.
# The "primary" module is mandatory and must include at least one output with
# AUDIO_OUTPUT_FLAG_PRIMARY flag.
# Each module descriptor contains one or more output profile descriptors and zero or more
# input profile descriptors. Each profile lists all the parameters supported by a given output
# or input stream category.
# The "channel_masks", "formats", "devices" and "flags" are specified using strings corresponding
# to enums in audio.h and audio_policy.h. They are concatenated by use of "|" without space or "\n".
audio_hw_modules {
primary {
outputs {
hdmi {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
channel_masks dynamic
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_AUX_DIGITAL
flags AUDIO_OUTPUT_FLAG_DIRECT
}
primary {
sampling_rates 44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_FM|AUDIO_DEVICE_OUT_FM_TX|AUDIO_DEVICE_OUT_ALL_A2DP|AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_ALL_USB
flags AUDIO_OUTPUT_FLAG_PRIMARY
}
lpa {
sampling_rates 8000|11025|12000|16000|22050|24000|32000|44100|48000
channel_masks AUDIO_CHANNEL_OUT_STEREO|AUDIO_CHANNEL_OUT_MONO
formats AUDIO_FORMAT_PCM_16_BIT
devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE|AUDIO_DEVICE_OUT_WIRED_HEADSET|AUDIO_DEVICE_OUT_WIRED_HEADPHONE|AUDIO_DEVICE_OUT_ALL_SCO|AUDIO_DEVICE_OUT_ALL_A2DP|AUDIO_DEVICE_OUT_AUX_DIGITAL|AUDIO_DEVICE_OUT_PROXY|AUDIO_DEVICE_OUT_ANLG_DOCK_HEADSET|AUDIO_DEVICE_OUT_ALL_USB
flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_LPA
}
voip_rx {
sampling_rates 8000|16000
channel_masks AUDIO_CHANNEL_OUT_MONO
formats
uploaded for Xperia' s audio_policy.conf with appended miracast audio settings.
this file is a really complete one? i don't know...
OR anyone Xperia's users attached your audio_policy.conf to this thread, it's a complete one.
rename attached audio_policy.txt to audio_policy.conf, send file to device.
Code:
// root setting
$ adb root
$ adb remount
// send file and change permission
$ adb push audio_policy.conf /etc/
$ adb shell chmod 644 /etc/audio_policy.conf
// confirm content
$ adb shell cat /etc/audio_policy.conf
// maybe reboot required
$ adb reboot

[Guide] Use "Xperia Z" stock based ROMS on Xperia ZR

Required:
1. Download Xperia Z ROM(Stock based) that need to be flashed on our Xperia ZR. Can be found here http://forum.xda-developers.com/xperia-z/development Note: Only download stock based ROM
2. Rooted:silly: & Recovery installed
3. Patience and a little brain :fingers-crossed:
How to:
Step 1: Flash your Xperia ZR mobile with 67 or 244 firmware.
Step 2: Copy /System/Vendor folder of your phone to your PC.
Step 3: Extract the required Xperia Z stocked based ROM in you PC some where you can remember.
Step 4: Navigate the extracted folder, the move to system folder and open build.prop via you text editor(Preferably Notepad++)
Step 5: Then change Check for the following line and change it as below
ro.sf.lcd_density=480
Click to expand...
Click to collapse
to
ro.sf.lcd_density=320
Click to expand...
Click to collapse
Step 6: Optionally you can change the following (or Something similar)
ro.build.product=C6603
ro.build.description=C6603-user 4.2.2 10.3.1.A.0.244 C_93rg test-keys
ro.product.name=C6603_1270-4986
ro.product.device=C6603
ro.build.fingerprint=Sony/C6603_1270-4986/C6603:4.2.2/10.3.1.A.0.244/C_93rg:user/release-keys
ro.semc.product.model=C6603
ro.semc.product.name=Xperia Z
ro.semc.product.device=C66
ro.product.model=C6603
Click to expand...
Click to collapse
to
ro.build.product=C5502
ro.build.description=C5502-user 4.2.2 10.3.1.A.0.244 C_93rg test-keys
ro.product.name=C5502_1270-4986
ro.product.device=C5502
ro.build.fingerprint=Sony/C5502_1270-4986/C5502:4.2.2/10.3.1.A.0.244/C_93rg:user/release-keys
ro.semc.product.model=C5502
ro.semc.product.name=Xperia ZR
ro.semc.product.device=C55
ro.product.model=C5502
Click to expand...
Click to collapse
Step 7: Delete the vendor folder found in the Xperia Z Rom and replace it with the vendor folder copied from your Xperia ZR Mobile.
Step 8: Make the modified folder as a flashable zip.
Step 9: Copy the modified zip into your Phone's SDCard and boot into recovery.
Step 10: Wipe data in CWM and then flash the modified ROM zip file.
Flashing zip will take some time and then reboot the Phone. 1st boot will take long time. Be patient until it reaches home screen.
You have customized ROM in your Xperia ZR
Sorry for My bad English
I AM NOT RESPONSIBLE FOR ANY DAMAGES THAT MAY CAUSE YOUR DEVICE. If any thing goes wrong, it means you didn't follow the instructions correctly.
If phone doesn't boot flash your Xperia ZR firmware using flashtools
Screenshots:
Check: http://forum.xda-developers.com/showpost.php?p=46871967&postcount=22
Also Check the ROM thread for more screenshots.
Bugs:
All the issue/bugs found in the ROM will exists when flashed in Xperia ZR
To fix Rotation / Auto rotate issue:
Navigate to \system\etc\sensors.conf and verify that the following value matches with your sensors.conf file, if not change it to the given value.
you can edit this file while creating the flashable zip or even after flashing the ROM
# Setup accelerometer axis
bma250input_axis_x = 0
bma250input_axis_y = 1
bma250input_axis_z = 2
bma250input_neg_x = 1
bma250input_neg_y = 0
bma250input_neg_z = 1
# Setup AKM8963 axis
ak896xmagnetic_layout = 0,0,1,0,1,0,-1,0,0
# Setup accelerometer calibration threshold and axis
accel_threshold_first = 300
accel_threshold_second = 50
accel_axis_x = 0
accel_axis_y = 0
accel_axis_z = -1
Click to expand...
Click to collapse
Always make backup before playing with ROM:fingers-crossed:
To fix illumination bar light.
Copy all the files from the Xperia ZR ROM to the Xperia Z ROM to make the illumination bar to Work in Album, Walkman etc...
\system\app\SemcIllumination.apk
\system\bin\illumination_service
\system\etc\permissions\com.sonyericsson.illumination.xml
\system\etc\permissions\com.sonymobile.settings.illumination.xml
\system\framework\com.sonyericsson.illumination.jar
\system\framework\com.sonymobile.settings.illumination.jar
Click to expand...
Click to collapse
Thanks to
@a546109781
@xenius9
for giving a work around to fix the illumination bar issue.
Are Camera and Rotation Mode working well?
I tried to flash ROM eXistenZ and ROM monxDIFIED before, almost functions worked, but Camera didn't and Rotation Mode was in a contrary direction.
ilovebrazil said:
Are Camera and Rotation Mode working well?
I tried to flash ROM eXistenZ and ROM monxDIFIED before, almost functions worked, but Camera didn't and Rotation Mode was in a contrary direction.
Click to expand...
Click to collapse
For me too it didn't worked initially. So only I told to replace Xperia ZR vendor folder into the ROM folder. This will fix the camera issue.
And for Rotation issue, I forgot to update in OP.
I will update the OP soon to fix the Rotation issue
Switch songs, photos in walkman and Albums, is the prompts flashes?
a546109781 said:
Switch songs, photos in walkman and Albums, is the prompts flashes?
Click to expand...
Click to collapse
Can you please explain more. Couldn't get you bro
Sent from my C5502 using XDA Premium 4 mobile app
anthonythangaraj said:
Can you please explain more. Couldn't get you bro
Sent from my C5502 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I have some changes for this :
Step 7: Delete the vendor folder found in the Xperia Z Rom and replace it with the vendor folder copied from your Xperia ZR Mobile.
(only need the vendor/camera folder to fix camera)
and copy ZR system/app/SemcIllumination.apk of your phone to XZ rom system/app to fix light.
and it works on .569 JB4.3
What's the point of using this Rom on ZR??.. What new features you gonna get which isn't already present in stock ZR Rom?.
Sent from my C5502 using xda app-developers app
a546109781 said:
Oh...my english is so bad
I mean, The stock rom on the ZR,When you click on next song in walkman(or photo in Album), Indicator will be blink with the background color.
in this guide ,It works fine or not?
Click to expand...
Click to collapse
Yes, this issue exists. Still checking to fix it:'(
Sent from my C5502 using XDA Premium 4 mobile app
ralf_waldo said:
What's the point of using this Rom on ZR??.. What new features you gonna get which isn't already present in stock ZR Rom?.
Sent from my C5502 using xda app-developers app
Click to expand...
Click to collapse
Actually there is no customized ROM like honami/z1 or modified or tweaked ROM for our Xperia ZR. So using this guide we can use the customized Xperia Z ROM in our mobile.
Sent from my C5502 using XDA Premium 4 mobile app
anthonythangaraj said:
Actually there is no customized ROM like honami/z1 or modified or tweaked ROM for our Xperia ZR. So using this guide we can use the customized Xperia Z ROM in our mobile.
Sent from my C5502 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
We're suppose to swap the kernel too right?. I'm on locked bootloader.
I've found another bug , I use eXistenZ_Ultra_Edition V3.1 Rom everything work ok , but in the call screen, layout didn't fit my screen >> lost end call button
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Can someone fix this , thank you so much!
For call issue, download the call screen of Xperia z which is readily available in the existence ROM thread.
Sent from my C5502 using XDA Premium 4 mobile app
ralf_waldo said:
We're suppose to swap the kernel too right?. I'm on locked bootloader.
Click to expand...
Click to collapse
Yes. Me to on locked boot loader only. But for the stock based ROM we need not necessary to port kernel cause Xperia Z and ZR both has same firmware so can flash it without changing kernel.
Note: if you are in android 4.1.2, don't flash 4.2.2 ROM of Xperia Z cause you will end up with boot loop.
Sent from my C5502 using XDA Premium 4 mobile app
Is there any way to multiboot xperia ZR? Like the one which has for Xperia ZL and Z by flashing DooMKernel.....
khuongduy20116126 said:
I've found another bug , I use eXistenZ_Ultra_Edition V3.1 Rom everything work ok , but in the call screen, layout didn't fit my screen >> lost end call button
Can someone fix this , thank you so much!
Click to expand...
Click to collapse
try this:
http://pan.baidu.com/s/1BXTFQ
system/app,rwrr
Mahesh124 said:
Is there any way to multiboot xperia ZR? Like the one which has for Xperia ZL and Z by flashing DooMKernel.....
Click to expand...
Click to collapse
I guess No. cause there is no DooMKernal development for our Xperia ZR till now.
Screenshots of eXistenZ v3 rom on xperia ZR?
Can someone post screenshots of eXistenZ v3 rom on xperia ZR?.
ralf_waldo said:
Can someone post screenshots of eXistenZ v3 rom on xperia ZR?.
Click to expand...
Click to collapse
Will post when I sit on my PC
Sent from my WT19i using XDA Premium 4 mobile app

[Q] who to moderate back key press in WP8.1

Hi every one
In WP8 we could use
Protected Override Void OnbackKeyPress(....e)
{
}
Now I didn't find such thing in windows Phone 8.1 ! Can anyone help me with this ?
and my other Q is : where is the messagebox.show ? and also Isolated Storage ?!
Now I think get an absolutely Noooob again
ngame said:
Hi every one
In WP8 we could use
Protected Override Void OnbackKeyPress(....e)
{
}
Now I didn't find such thing in windows Phone 8.1 ! Can anyone help me with this ?
and my other Q is : where is the messagebox.show ? and also Isolated Storage ?!
Now I think get an absolutely Noooob again
Click to expand...
Click to collapse
Hi,
instead of overriding OnbackKeyPress you have to register the event
...
Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed;
...
void HardwareButtons_BackPressed(object sender, Windows.Phone.UI.Input.BackPressedEventArgs e)
{
// your code
e.Handled = true; // if you wanna prevent that the "standard"-eventhandler is called and your app getting closed
}
Best,
ElStoney said:
Hi,
instead of overriding OnbackKeyPress you have to register the event
...
Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed;
...
void HardwareButtons_BackPressed(object sender, Windows.Phone.UI.Input.BackPressedEventArgs e)
{
// your code
e.Handled = true; // if you wanna prevent that the "standard"-eventhandler is called and your app getting closed
}
Best,
Click to expand...
Click to collapse
Thanks.
And what about isolated storage?
I can't use them any more and power tools ran out
Look for StorageFile and StorageFolder:
http://msdn.microsoft.com/de-de/library/windows/apps/windows.storage.aspx
And here is a Storage Helper class from Jerry Nixon that is useful: http://codepaste.net/gtu5mq

[Q] noise suppression for phone calls

why i don't seem to see this on zr??
http://review.cyanogenmod.org/#/c/55075/
according to /etc/audio_policy.conf
Code:
global_configuration {
attached_output_devices AUDIO_DEVICE_OUT_SPEAKER|AUDIO_DEVICE_OUT_EARPIECE
default_output_device AUDIO_DEVICE_OUT_SPEAKER
[B]attached_input_devices AUDIO_DEVICE_IN_BUILTIN_MIC|AUDIO_DEVICE_IN_VOICE_CALL[/B]
}
shouldn't there be a "2nd mic" entry?????
btw, it's a cm11 nightie
anyone with stock cm can check and tell? thx in advance
is noise suppression option in call on stock rom?? thx!!!

Categories

Resources